/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1a3a2a;
  background: #fdf8f0;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Tokens ───────────────────────────────────────── */
:root {
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-100: #fdf8f0;
  --cream-200: #f9f0e0;
  --cream-300: #f0e4cc;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --text-dark: #1a3a2a;
  --text-mid: #374151;
  --text-light: #6b7280;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(6,78,59,.08), 0 1px 2px rgba(6,78,59,.06);
  --shadow-md: 0 4px 16px rgba(6,78,59,.10), 0 2px 6px rgba(6,78,59,.06);
  --shadow-lg: 0 12px 40px rgba(6,78,59,.12), 0 4px 12px rgba(6,78,59,.08);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Typography ───────────────────────────────────── */
h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.lead { font-size: 1.1rem; color: var(--text-mid); line-height: 1.75; }

/* ── Layout ───────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--emerald-700); background: rgba(5,150,105,.08);
  border: 1px solid rgba(5,150,105,.18); border-radius: 100px;
  padding: .35rem .9rem; margin-bottom: 1rem;
}
.section-title { color: var(--text-dark); margin-bottom: .75rem; }
.section-desc { color: var(--text-mid); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; border-radius: var(--radius-lg);
  padding: .75rem 1.6rem; cursor: pointer; transition: all var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid var(--amber-600); outline-offset: 2px; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: .95rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-emerald { background: var(--emerald-700); color: #fff; border-color: var(--emerald-700); }
.btn-emerald:hover { background: var(--emerald-800); border-color: var(--emerald-800); }
.btn-cream { background: var(--cream-200); color: var(--emerald-900); border-color: var(--cream-200); }
.btn-cream:hover { background: var(--cream-300); border-color: var(--cream-300); }
.btn-outline-cream { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-cream:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ── NAV ──────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,248,240,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6,78,59,.08);
}
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-logo {
  display: flex; align-items: center; gap: .55rem;
  font-family: 'DM Serif Display', serif; font-size: 1.05rem;
  color: var(--emerald-800); font-weight: 400;
  padding: 1rem 0;
}
.nav-links a:not(.btn) {
  font-size: .9rem; font-weight: 500; color: var(--text-mid);
  position: relative; transition: color var(--transition);
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--emerald-600);
  transition: width var(--transition);
}
.nav-links a:not(.btn):hover { color: var(--emerald-700); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--emerald-800);
  border-radius: 2px; transition: all var(--transition);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-200) 100%);
  padding: 3rem 0 4rem;
  overflow: hidden;
}
.hero-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--emerald-700); background: rgba(5,150,105,.08);
  border: 1px solid rgba(5,150,105,.18); border-radius: 100px;
  padding: .35rem .9rem; margin-bottom: 1.25rem;
}
.hero-headline {
  color: var(--text-dark); margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero-headline .accent { color: var(--emerald-700); }
.hero-sub {
  font-size: 1.08rem; color: var(--text-mid); line-height: 1.75;
  margin-bottom: 2rem; max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.trust-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .85rem; font-weight: 500; color: var(--text-mid);
}
.trust-item svg { color: var(--emerald-600); flex-shrink: 0; }

.hero-image-wrap { position: relative; }
.hero-img-main {
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-sm) var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-float {
  position: absolute; bottom: -1.5rem; left: -2rem;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--cream-100);
}
.float-badge {
  position: absolute; bottom: .75rem; left: .75rem;
  display: flex; align-items: center; gap: .35rem;
  background: var(--emerald-700); color: #fff;
  font-size: .75rem; font-weight: 600; border-radius: 100px;
  padding: .3rem .7rem;
}

/* ── SERVICES CARDS ──────────────────────────────── */
.services { background: var(--cream-100); }
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem;
}
.card {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid rgba(6,78,59,.07); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(5,150,105,.15); }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon.emerald { background: rgba(5,150,105,.1); color: var(--emerald-700); }
.card-icon.amber { background: rgba(217,119,6,.1); color: var(--amber-600); }
.card h3 { color: var(--text-dark); margin-bottom: .6rem; }
.card p { color: var(--text-mid); font-size: .95rem; line-height: 1.7; }

/* ── ABOUT ────────────────────────────────────────── */
.about { background: var(--cream-200); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.about-img-group { position: relative; }
.about-img-main {
  border-radius: var(--radius-xl) var(--radius-sm) var(--radius-xl) var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-img-accent {
  position: absolute; bottom: -1.5rem; right: -1rem;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--cream-200);
  width: 55%;
}
.about-content .section-tag { margin-bottom: .75rem; }
.about-content .section-title { margin-bottom: 1.25rem; }
.about-content .lead { margin-bottom: 1rem; }
.about-content p { color: var(--text-mid); margin-bottom: 1rem; }
.about-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.about-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .95rem; color: var(--text-mid);
}
.about-list li svg { color: var(--emerald-600); flex-shrink: 0; margin-top: 2px; }

/* ── PROCESS ──────────────────────────────────────── */
.process { background: var(--cream-100); }
.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  counter-reset: step;
}
.step {
  text-align: center; padding: 2rem 1.5rem;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid rgba(6,78,59,.07); box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  counter-increment: step;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--emerald-700); color: #fff;
  font-family: 'DM Serif Display', serif; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.step h3 { color: var(--text-dark); margin-bottom: .6rem; }
.step p { color: var(--text-mid); font-size: .95rem; line-height: 1.7; }
.step a { color: var(--emerald-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.step a:hover { color: var(--emerald-900); }

/* ── TESTIMONIALS ─────────────────────────────────── */
.testimonials { background: var(--cream-200); }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem;
}
.testimonial-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid rgba(6,78,59,.07); box-shadow: var(--shadow-sm);
  position: relative; transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quote-mark { color: var(--emerald-500); opacity: .25; margin-bottom: .75rem; }
.testimonial-card p {
  color: var(--text-mid); font-size: .95rem; line-height: 1.75;
  margin-bottom: 1.5rem; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--emerald-100); color: var(--emerald-800);
  font-family: 'DM Serif Display', serif; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .9rem; color: var(--text-dark); }
.testimonial-author span { font-size: .8rem; color: var(--text-light); }

/* ── CTA BANNER ───────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 100%);
  padding: 4rem 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-text h2 { color: #fff; margin-bottom: .5rem; }
.cta-text p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── CONTACT ──────────────────────────────────────── */
.contact { background: var(--cream-100); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start;
}
.contact-info .section-tag { margin-bottom: .75rem; }
.contact-info .section-title { margin-bottom: 1rem; }
.contact-info .lead { margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon.emerald { background: rgba(5,150,105,.1); color: var(--emerald-700); }
.contact-icon.amber { background: rgba(217,119,6,.1); color: var(--amber-600); }
.contact-item strong { display: block; font-size: .85rem; color: var(--text-dark); margin-bottom: .15rem; }
.contact-item a, .contact-item span, .contact-item address {
  font-size: .95rem; color: var(--text-mid); line-height: 1.6;
}
.contact-item a:hover { color: var(--emerald-700); text-decoration: underline; }

.contact-form-wrap {
  background: #fff; border-radius: var(--radius-xl); padding: 2.5rem;
  border: 1px solid rgba(6,78,59,.07); box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: .35rem; }
.form-note { font-size: .85rem; color: var(--text-light); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: .35rem; letter-spacing: .02em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .7rem .9rem;
  border: 1.5px solid var(--cream-300); border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: .95rem; color: var(--text-dark);
  background: var(--cream-100); transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(5,150,105,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm);
  background: rgba(5,150,105,.08); color: var(--emerald-800);
  font-size: .9rem; font-weight: 500;
}
.form-success svg { color: var(--emerald-600); flex-shrink: 0; }

/* ── FOOTER ───────────────────────────────────────── */
.footer { background: var(--emerald-900); color: rgba(255,255,255,.7); padding: 3.5rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex; align-items: center; gap: .5rem;
  font-family: 'DM Serif Display', serif; font-size: 1rem;
  color: #fff; line-height: 1.4; margin-bottom: .75rem;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-links strong, .footer-contact strong {
  display: block; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}
.footer-links a {
  display: block; font-size: .9rem; color: rgba(255,255,255,.7);
  padding: .25rem 0; transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-contact a {
  display: block; font-size: .95rem; color: rgba(255,255,255,.8);
  font-weight: 500; margin-bottom: .35rem; transition: color var(--transition);
}
.footer-contact a:hover { color: #fff; }
.footer-contact span { font-size: .88rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0; text-align: center;
  font-size: .82rem; color: rgba(255,255,255,.4);
}

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

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrap { order: -1; max-width: 480px; margin: 0 auto; }
  .hero-img-float { left: -.5rem; bottom: -1rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-group { max-width: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
    background: var(--cream-100); flex-direction: column;
    padding: 5rem 2rem 2rem; gap: 1.25rem;
    box-shadow: -8px 0 30px rgba(0,0,0,.12);
    transform: translateX(100%); transition: transform var(--transition);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero-img-float { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .card-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
