/* ── 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-400: #34d399;
  --emerald-300: #6ee7b7;
  --emerald-200: #a7f3d0;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;
  --cream:       #f5f5f0;
  --cream-light: #fafaf7;
  --cream-dark:  #e8e8e2;
  --stone-900:   #1a1a18;
  --stone-700:   #3a3a36;
  --stone-500:   #6b6b64;
  --stone-400:   #9a9a92;
  --stone-300:   #c4c4bc;
  --stone-200:   #e0e0da;
  --stone-100:   #f0f0ea;
  --white:       #ffffff;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--stone-700);
  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: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

/* ── Typography ───────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--stone-900);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.9375rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-800);
  color: var(--white);
  border: 1.5px solid var(--emerald-800);
}
.btn-primary:hover {
  background: var(--emerald-900);
  border-color: var(--emerald-900);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--stone-700);
  border: 1.5px solid var(--stone-300);
}
.btn-outline:hover {
  border-color: var(--emerald-700);
  color: var(--emerald-800);
}

.btn-white {
  background: var(--white);
  color: var(--emerald-900);
  border: 1.5px solid var(--white);
  font-weight: 500;
}
.btn-white:hover {
  background: var(--emerald-50);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--emerald-100);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  border-color: var(--emerald-400);
  color: var(--emerald-300);
}

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

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 245, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-200);
  transition: var(--transition);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--stone-900);
}

.logo-light { color: var(--white); }
.logo-light svg rect { fill: var(--emerald-400); }
.logo-light svg path { stroke: var(--emerald-900); }

/* ── Navigation ───────────────────────────────────── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--stone-700);
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--emerald-800);
  background: var(--emerald-50);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--stone-700);
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    var(--emerald-950) 0%,
    var(--emerald-800) 30%,
    var(--emerald-700) 55%,
    var(--emerald-600) 80%,
    var(--emerald-500) 100%
  );
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(4, 47, 35, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(52, 211, 153, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-300);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-trust span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* ── Services ─────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--cream);
}

.services .container { text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--emerald-300);
  box-shadow: 0 8px 32px rgba(6, 95, 70, 0.08);
  transform: translateY(-2px);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-50);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--stone-900);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--stone-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--emerald-700);
  transition: var(--transition);
}

.service-link:hover { gap: 10px; color: var(--emerald-800); }

/* ── About ────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--cream-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-title { margin-bottom: 20px; }

.about-content p {
  font-size: 1rem;
  color: var(--stone-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--stone-200);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--emerald-800);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--stone-500);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--stone-200);
}

/* ── How It Works ─────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: var(--cream);
}

.how-it-works .container { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.step {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  text-align: left;
  position: relative;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--emerald-200);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1875rem;
  color: var(--stone-900);
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9375rem;
  color: var(--stone-500);
  line-height: 1.7;
}

/* ── Testimonials ─────────────────────────────────── */
.testimonials {
  padding: 100px 0;
  background: var(--emerald-900);
}

.testimonials .section-label { color: var(--emerald-400); }
.testimonials .section-title { color: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
}

.testimonial:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.testimonial p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial footer {
  font-size: 0.8125rem;
  color: var(--emerald-400);
  font-style: normal;
  font-weight: 400;
}

/* ── FAQ ──────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: var(--cream-light);
}

.faq-header { text-align: center; margin-bottom: 48px; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--stone-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--stone-900);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover { color: var(--emerald-800); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--stone-400);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--emerald-700);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
  padding-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--stone-500);
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ── CTA ──────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  background: linear-gradient(
    145deg,
    var(--emerald-800) 0%,
    var(--emerald-700) 100%
  );
}

.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-300);
  margin-bottom: 16px;
}

.cta-headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Contact ──────────────────────────────────────── */
.contact {
  padding: 100px 0 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p {
  font-size: 1rem;
  color: var(--stone-500);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item svg { flex-shrink: 0; margin-top: 2px; }

.contact-item strong {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--stone-900);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.contact-item span,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--stone-500);
  line-height: 1.6;
}

.contact-item a:hover { color: var(--emerald-700); }

/* ── Form ─────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--stone-700);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--stone-900);
  background: var(--cream-light);
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-400);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  border-radius: var(--radius);
  margin-top: 16px;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--emerald-800);
}

/* ── Map ──────────────────────────────────────────── */
.map-wrap {
  border-top: 1px solid var(--stone-200);
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  filter: saturate(0.6) brightness(1.05);
}

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--stone-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--emerald-400); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

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

/* Default visible for no-JS */
.reveal { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(245, 245, 240, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--stone-200);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu a {
    padding: 12px 16px;
    width: 100%;
  }

  .nav-toggle { display: flex; }

  .hero { min-height: 85vh; }
  .hero-content { padding: 100px 20px 60px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

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

  .about-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }

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

  .contact-form-wrap { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
