:root {
  --teal: #105057;
  --teal-dark: #0b3d42;
  --teal-soft: #e7f2f3;
  --bg-alt: #f9f9f9;
  --white: #ffffff;
  --text: #2c3436;
  --muted: #667275;
  --line: #e2e8e9;
  --font-display: "Eczar", serif;
  --font-body: "Source Sans 3", sans-serif;
  --header-h: 72px;
  --shadow: 0 16px 36px rgba(16, 80, 87, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section-intro {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--teal);
  font-weight: 700;
  line-height: 1.2;
}

.section-intro p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro.light h2,
.section-intro.light p {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 4px;
  padding: 0.85rem 1.5rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--teal);
}

.btn-light:hover {
  transform: translateY(-2px);
  background: var(--teal-soft);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(16, 80, 87, 0.12);
}

.header-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.site-header.scrolled .logo,
.site-header.scrolled .main-nav a {
  color: var(--teal);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  border-radius: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.site-header.scrolled .nav-toggle {
  border-color: rgba(16, 80, 87, 0.3);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
}

.site-header.scrolled .nav-toggle span {
  background: var(--teal);
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("https://files.cdn-files-a.com/uploads/9785331/2000_67004b7e346da.jpg") center/cover no-repeat,
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1800&q=80") center/cover no-repeat;
  transform: scale(1.05);
  animation: softZoom 16s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 34, 38, 0.45), rgba(8, 34, 38, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 90%);
  padding-top: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.92);
}

@keyframes softZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1);
  }
}

/* About */
.about {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg-alt);
}

.about-parallax {
  position: absolute;
  inset: -12% 0;
  background:
    linear-gradient(rgba(16, 80, 87, 0.55), rgba(16, 80, 87, 0.55)),
    url("https://files.cdn-files-a.com/uploads/9785331/2000_67005abfa266f.jpg") center/cover no-repeat;
  background-attachment: fixed;
}

.about-panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 8px;
  max-width: 760px;
  text-align: center;
  box-shadow: var(--shadow);
  margin: 4rem auto;
}

.about-panel h2 {
  font-family: var(--font-display);
  color: var(--teal);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.9rem;
}

.about-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Gallery */
.gallery-section {
  padding: 5rem 0 4rem;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-grid figure {
  overflow: hidden;
  border-radius: 6px;
  background: #dfe8e9;
  aspect-ratio: 1;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-extra {
  display: none;
}

.gallery-section.is-expanded .gallery-extra {
  display: block;
}

.gallery-actions {
  text-align: center;
  margin-top: 1.8rem;
}

/* Promo */
.promo {
  position: relative;
  min-height: 55vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.promo-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(16, 80, 87, 0.72), rgba(11, 61, 66, 0.82)),
    url("https://files.cdn-files-a.com/uploads/9785331/2000_67005ac14f29b.jpg") center/cover no-repeat;
  background-attachment: fixed;
}

.promo-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.promo h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}

.promo p {
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Services */
.services {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 80, 87, 0.08);
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.service-card h3 {
  font-family: var(--font-display);
  color: var(--teal);
  font-size: 1.2rem;
  padding: 1rem 1.1rem 0.4rem;
  line-height: 1.25;
}

.service-card p {
  color: var(--muted);
  padding: 0 1.1rem 1.25rem;
  font-size: 0.96rem;
  flex: 1;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--teal);
  color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-grid blockquote {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 1.6rem;
}

.testimonial-grid p {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.testimonial-grid cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-grid cite span {
  display: inline-block;
  margin-top: 0.2rem;
  font-weight: 400;
  opacity: 0.8;
  font-size: 0.88rem;
}

/* Contact */
.contact {
  padding: 5rem 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
}

.detail {
  background: var(--bg-alt);
  border-left: 4px solid var(--teal);
  padding: 1.1rem 1.2rem;
  border-radius: 0 8px 8px 0;
}

.detail h3 {
  font-family: var(--font-display);
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.detail p,
.detail a {
  color: var(--muted);
}

.hours {
  background: var(--teal-soft);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: 10px;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--teal);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: var(--white);
}

.form-note {
  color: var(--teal);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.86);
  padding: 2.8rem 0;
  text-align: center;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.domain-note {
  margin-top: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.03em;
}

.copy {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  opacity: 0.75;
}

/* Motion */
.reveal-ready .service-card,
.reveal-ready .gallery-grid figure,
.reveal-ready .testimonial-grid blockquote,
.reveal-ready .about-panel,
.reveal-ready .promo-content {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.2rem 1.3rem;
    gap: 0.8rem;
    display: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    color: var(--teal) !important;
  }

  .about-parallax,
  .promo-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .gallery-grid,
  .services-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
