/* ─── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  background: #FDF9F3;
  color: #064E3B;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ─── UTILITY ──────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--cream  { background: #FDF9F3; }
.section--emerald { background: #065F46; }
.section--emerald-light { background: #ECFDF5; }
.section--emerald-dark { background: #022C22; }

/* ─── BADGE ────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #065F46;
  background: #D1FAE5;
  border: 1px solid #A7F3D0;
  padding: .35em .9em;
  border-radius: 999px;
}
.badge--light {
  color: #065F46;
  background: #ECFDF5;
  border-color: #A7F3D0;
}

/* ─── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  border-radius: 999px;
  padding: .75rem 1.5rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: #059669;
  color: #fff;
  box-shadow: 0 4px 14px rgba(5,150,105,.35);
}
.btn-primary:hover { background: #047857; box-shadow: 0 6px 20px rgba(5,150,105,.45); }
.btn-secondary {
  background: transparent;
  color: #065F46;
  border: 1.5px solid #065F46;
}
.btn-secondary:hover { background: #ECFDF5; }
.btn-outline-light {
  background: transparent;
  color: #D1FAE5;
  border: 1.5px solid rgba(209,250,229,.5);
}
.btn-outline-light:hover { background: rgba(209,250,229,.1); }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }

/* ─── NAV ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,249,243,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(6,95,70,.08);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(6,78,59,.08); }
.nav .h-18 { height: 4.5rem; }
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #059669;
  border-radius: 2px;
  transition: width .2s;
}
.nav-link:hover::after { width: 100%; }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  padding-top: 5rem;
  padding-bottom: 0;
  background: #FDF9F3;
  overflow: hidden;
  position: relative;
}
.hero-img-wrap {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(6,78,59,.15);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.hero-img-wrap:hover .hero-img { transform: scale(1.02); }

/* Floating accent cards */
.hero-float {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: .85rem 1rem;
  box-shadow: 0 8px 30px rgba(6,78,59,.12);
  max-width: 200px;
  z-index: 2;
}
.hero-float--left {
  bottom: 15%;
  left: -1.5rem;
}
.hero-float--right {
  top: 12%;
  right: -1rem;
}

/* Wave divider */
.wave-divider {
  margin-top: -1px;
  line-height: 0;
  background: #ECFDF5;
}
.wave-divider svg { display: block; }

/* ─── ABOUT ────────────────────────────────────────── */
.about-img-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(6,78,59,.12);
}
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.about-img-wrap:hover .about-img { transform: scale(1.03); }

/* ─── STEP NUMBERS ─────────────────────────────────── */
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(6,95,70,.08);
  line-height: 1;
  margin-bottom: .5rem;
}
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: #ECFDF5;
  margin-bottom: .75rem;
}
.icon-wrap--green { background: #ECFDF5; }

/* ─── SERVICE CARDS ────────────────────────────────── */
.service-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(6,95,70,.07);
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(6,78,59,.1);
  transform: translateY(-4px);
}
.service-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: #ECFDF5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── TESTIMONIAL CARDS ────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(6,95,70,.07);
  transition: box-shadow .25s, transform .25s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(6,78,59,.1);
  transform: translateY(-4px);
}

/* ─── FAQ ──────────────────────────────────────────── */
.faq-btn { font-family: inherit; }
.faq-content {
  transition: height .3s ease, padding .3s ease;
}
.faq-item { background: transparent; }
.faq-content p { margin-top: .5rem; }

/* ─── FORM ─────────────────────────────────────────── */
.form-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(6,95,70,.07);
  box-shadow: 0 10px 40px rgba(6,78,59,.06);
}
.label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #065F46;
  margin-bottom: .35rem;
  letter-spacing: .02em;
}
.input {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid #D1FAE5;
  border-radius: .75rem;
  font-size: .9rem;
  font-family: inherit;
  color: #064E3B;
  background: #FDF9F3;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5,150,105,.12);
}
.input::placeholder { color: #94A3B8; }
.success-msg {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: .75rem;
  font-size: .85rem;
  color: #065F46;
  margin-top: .5rem;
}

/* ─── CONTACT INFO BLOCKS ──────────────────────────── */
.contact-info-block { transition: transform .15s; }
.contact-info-block:hover { transform: translateX(4px); }

/* ─── MAP ──────────────────────────────────────────── */
.map-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(6,78,59,.1);
}

/* ─── FOOTER ───────────────────────────────────────── */
.footer {
  background: #022C22;
  color: #D1FAE5;
}

/* ─── BACK TO TOP ──────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(5,150,105,.4);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 50;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: #047857; }

/* ─── REVEAL ANIMATIONS (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Fallback: always visible when reduced motion or no JS */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ─── MOBILE MENU ──────────────────────────────────── */
.mobile-link { display: block; }

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .hero { padding-top: 4rem; }
  .hero-float { display: none; }
  .hero-img-wrap { border-radius: 1.25rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-img-wrap { max-width: 480px; }
}
