/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --emerald-950: #042f23;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #faf9f6;
  --cream-dark:  #f5f3ee;
  --sand:        #f0ece4;
  --blush:       #fdf2f0;
  --sage:        #f0f7f4;
  --text-dark:   #1a2e26;
  --text-mid:    #3d5a4e;
  --text-light:  #6b8f80;
  --white:       #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, sans-serif;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --shadow-sm:   0 1px 3px rgba(6,79,59,.06), 0 1px 2px rgba(6,79,59,.04);
  --shadow-md:   0 4px 16px rgba(6,79,59,.08), 0 2px 4px rgba(6,79,59,.04);
  --shadow-lg:   0 12px 40px rgba(6,79,59,.10), 0 4px 12px rgba(6,79,59,.05);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--emerald-800); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 200; font-weight: 500;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ─────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--emerald-900);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--white);
  color: var(--emerald-800);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--emerald-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

.btn--emerald {
  background: var(--emerald-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--emerald:hover {
  background: var(--emerald-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--full { width: 100%; justify-content: center; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,249,246,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6,79,59,.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--emerald-700);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald-900);
}

.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}
.main-nav a:hover { color: var(--emerald-700); background: var(--emerald-50); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--emerald-50); }
.hamburger {
  display: block;
  width: 20px; height: 14px;
  position: relative;
}
.hamburger::before,
.hamburger::after,
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--emerald-800);
  border-radius: 2px;
  position: absolute;
  transition: var(--transition);
}
.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 50%; transform: translateY(50%) rotate(-45deg);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #042f23 0%, #065f46 30%, #047857 55%, #059669 80%, #10b981 100%);
  padding: 120px 24px 80px;
}
.hero-gradient { position: absolute; inset: 0; overflow: hidden; }
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: float 12s ease-in-out infinite;
}
.gradient-orb--1 {
  width: 600px; height: 600px;
  background: #34d399;
  top: -10%; left: -10%;
  animation-delay: 0s;
}
.gradient-orb--2 {
  width: 500px; height: 500px;
  background: #6ee7b7;
  bottom: -15%; right: -5%;
  animation-delay: -4s;
}
.gradient-orb--3 {
  width: 300px; height: 300px;
  background: #a7f3d0;
  top: 40%; left: 60%;
  animation-delay: -8s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: #a7f3d0;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
.trust-item svg { width: 15px; height: 15px; opacity: .7; }

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ── Section Shared ─────────────────────────────────────────── */
.section { padding: 96px 0; }

/* ── Services ───────────────────────────────────────────────── */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(6,79,59,.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6,79,59,.12);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--emerald-700);
}
.service-icon svg { width: 28px; height: 28px; }
.service-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--emerald-900);
  margin-bottom: 10px;
}
.service-desc {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── About ──────────────────────────────────────────────────── */
.about { background: var(--cream-dark); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-accent {
  position: absolute;
  bottom: -32px; right: -24px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream-dark);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  top: -16px; left: -16px;
  width: 88px; height: 88px;
  background: var(--emerald-700);
  color: var(--white);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  box-shadow: var(--shadow-md);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.about-badge svg { width: 22px; height: 22px; }

.about-content .section-title { margin-bottom: 24px; }
.about-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-values { margin: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.value-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: start;
}
.value-label {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--emerald-700);
  padding-top: 2px;
}
.value-desc {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── Gallery ────────────────────────────────────────────────── */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.015); box-shadow: var(--shadow-md); }
.gallery-item--wide { grid-column: span 7; }
.gallery-item:not(.gallery-item--wide) { grid-column: span 5; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 3/2;
}
.gallery-item:not(.gallery-item--wide) img { aspect-ratio: 1/1; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials {
  background: linear-gradient(160deg, var(--emerald-900) 0%, var(--emerald-800) 100%);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(16,185,129,.12);
  border-radius: 50%;
  filter: blur(100px);
  top: -200px; right: -100px;
}
.testimonials .section-eyebrow { color: rgba(255,255,255,.5); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-header { position: relative; z-index: 1; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--emerald-400);
  opacity: .4;
  margin-bottom: -12px;
}
.testimonial-text {
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Contact ────────────────────────────────────────────────── */
.contact { background: var(--cream-dark); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-intro {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-detail { display: flex; flex-direction: column; gap: 4px; }
.contact-detail-label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--emerald-700);
}
.contact-detail a {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}
.contact-detail a:hover { color: var(--emerald-600); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(6,79,59,.06);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--emerald-900);
  margin-bottom: 6px;
}
.form-note {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--cream);
  border: 1.5px solid rgba(6,79,59,.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center;
  padding: 32px 20px;
}
.form-success svg {
  width: 48px; height: 48px;
  color: var(--emerald-600);
  margin: 0 auto 16px;
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--emerald-900);
  margin-bottom: 8px;
}
.form-success p {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--emerald-950);
  color: rgba(255,255,255,.6);
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-brand .logo-mark {
  width: 44px; height: 44px;
  font-size: 1.5rem;
}
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
}
.footer-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  padding: 6px 14px;
  border-radius: 50px;
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.footer-copy {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ── Back to Top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--emerald-700);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  pointer-events: none;
  z-index: 50;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--emerald-600); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ── Scroll Reveal (progressive enhancement) ────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
  .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(250,249,246,.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6,79,59,.06);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 16px; border-radius: var(--radius-sm); }
  .main-nav a:hover { background: var(--emerald-50); }

  .hero { min-height: auto; padding: 140px 24px 100px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { max-width: 480px; margin: 0 auto; }
  .about-img-accent { width: 60%; bottom: -24px; right: -12px; }
  .about-values { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item:not(.gallery-item--wide) { grid-column: span 1; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 1; max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 120px 16px 80px; }
  .hero-title { font-size: 2rem; }
  .hero-trust { flex-direction: column; align-items: center; gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .about-img-accent { width: 65%; right: -8px; bottom: -16px; }
  .about-badge { width: 72px; height: 72px; font-size: .65rem; top: -10px; left: -10px; }
  .about-badge svg { width: 18px; height: 18px; }
}
