/* ═══════════════════════════════════════════════════════════
   Anna Cleanings — styles.css
   Mobile-first. Fully interactive. CSS custom properties.
   ═══════════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ────────────────────────────────────── */
:root {
  --bg:           #FAF9F6;
  --surface:      #FFFFFF;
  --surface-alt:  #F0EDE6;
  --green:        #2C4A3E;
  --green-dk:     #1E3329;
  --green-lt:     #3D6355;
  --sage:         #8FA882;
  --sage-lt:      #E8EEE5;
  --gold:         #C9A96E;
  --text:         #1A1A1A;
  --muted:        #5C6B64;
  --line:         #DDD9D0;

  --radius:       12px;
  --radius-lg:    20px;
  --max:          1140px;

  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow-md:    0 8px 28px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.14);
  --shadow-xl:    0 24px 64px rgba(0,0,0,.18);

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  --ease-out:     cubic-bezier(.4, 0, .2, 1);
  --ease-spring:  cubic-bezier(.34, 1.56, .64, 1);
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
html, body { margin: 0; padding: 0 }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
ul { margin: 0; padding: 0; list-style: none }
h1, h2, h3 { margin: 0 }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 48px);
}
.section { padding: clamp(56px, 9vw, 112px) 0 }
.section-alt { background: var(--surface-alt) }

.section-header { margin-bottom: clamp(32px, 5vw, 56px) }

/* ── SCROLL PROGRESS BAR ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--sage), var(--gold));
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── KEYFRAME ANIMATIONS ─────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px) }
  to   { opacity: 1; transform: translateY(0) }
}
@keyframes fade-in {
  from { opacity: 0 }
  to   { opacity: 1 }
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1) }
  25%       { transform: translate(32px, -28px) scale(1.06) }
  50%       { transform: translate(-18px, 38px) scale(.94) }
  75%       { transform: translate(28px, 16px) scale(1.03) }
}
@keyframes orb-drift-r {
  0%, 100% { transform: translate(0, 0) scale(1) }
  33%       { transform: translate(-28px, 22px) scale(1.04) }
  66%       { transform: translate(22px, -32px) scale(.96) }
}
@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(0deg) }
  33%       { transform: translateY(-12px) rotate(.4deg) }
  66%       { transform: translateY(-6px) rotate(-.3deg) }
}
@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: .6 }
  50%       { transform: scale(1.08); opacity: .2 }
}
@keyframes border-flow {
  0%, 100% { background-position: 0% 50% }
  50%       { background-position: 100% 50% }
}
@keyframes shimmer {
  0%   { background-position: -200% center }
  100% { background-position:  200% center }
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 -4px 20px rgba(37,211,102,.3) }
  50%       { box-shadow: 0 -4px 32px rgba(37,211,102,.55) }
}

/* ── SCROLL REVEAL SYSTEM ────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
[data-reveal="left"]  { transform: translateX(-40px) }
[data-reveal="right"] { transform: translateX(40px) }
[data-reveal="scale"] { transform: scale(.93) }
[data-reveal].is-visible { opacity: 1; transform: none }

/* Stagger: direct children fade in sequentially */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
[data-stagger].is-visible > *:nth-child(1)  { opacity:1; transform:none; transition-delay:.00s }
[data-stagger].is-visible > *:nth-child(2)  { opacity:1; transform:none; transition-delay:.10s }
[data-stagger].is-visible > *:nth-child(3)  { opacity:1; transform:none; transition-delay:.20s }
[data-stagger].is-visible > *:nth-child(4)  { opacity:1; transform:none; transition-delay:.30s }
[data-stagger].is-visible > *:nth-child(5)  { opacity:1; transform:none; transition-delay:.40s }
[data-stagger].is-visible > *:nth-child(6)  { opacity:1; transform:none; transition-delay:.50s }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 8px;
}
h3 { color: var(--text) }

.section-label {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.section-intro {
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.small { font-size: .88rem; color: var(--muted) }

/* ── BUTTON SYSTEM ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .95rem; font-weight: 500;
  min-height: 48px;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: background .25s, transform .15s, box-shadow .25s;
  box-shadow: 0 4px 16px rgba(44,74,62,.3);
}
/* Shimmer sweep on hover */
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: -200% center;
  transition: background-position .5s ease;
}
.btn-primary:hover {
  background: var(--green-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(44,74,62,.36);
  opacity: 1;
}
.btn-primary:hover::after { background-position: 200% center }
.btn-primary:active { transform: translateY(0) }

/* WA button has its own green on top of base */
.btn-wa { background: #1a7a4a }
.btn-wa:hover { background: #1e8f56 }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent; color: var(--text);
  font-family: var(--font-sans);
  font-size: .95rem; font-weight: 500;
  min-height: 48px;
  transition: border-color .25s, background .25s, transform .15s;
}
.btn-ghost:hover {
  border-color: var(--green);
  background: var(--sage-lt);
  transform: translateY(-1px);
  opacity: 1;
}

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 999px;
  border: 1.5px solid var(--green);
  background: transparent; color: var(--green);
  font-family: var(--font-sans); font-size: .9rem; font-weight: 500;
  min-height: 44px;
  transition: background .25s, color .25s, transform .15s;
}
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-1px); opacity: 1 }

.btn-white {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px;
  background: #fff; color: var(--green);
  font-family: var(--font-sans); font-size: .95rem; font-weight: 600;
  min-height: 48px;
  transition: transform .15s, box-shadow .25s;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.22); opacity: 1 }

.btn-outline-white {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.45);
  background: transparent; color: #fff;
  font-family: var(--font-sans); font-size: .95rem; font-weight: 500;
  min-height: 48px;
  transition: border-color .25s, background .25s, transform .15s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.14); transform: translateY(-1px); opacity: 1 }

/* ── LEGACY BUTTONS (subpages) ───────────────────────────── */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 999px;
  background: var(--green); color: #fff;
  font-weight: 500; font-size: .9rem;
  min-height: 44px; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(44,74,62,.24);
  transition: background .2s, transform .15s;
}
.cta:hover { background: var(--green-lt); transform: translateY(-1px); opacity: 1 }
.ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--text);
  font-size: .9rem; min-height: 44px;
  transition: border-color .2s, background .2s;
}
.ghost:hover { border-color: var(--green); background: var(--sage-lt); opacity: 1 }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px }
.badge {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: var(--sage-lt); color: var(--green);
  font-size: .85rem; font-weight: 600;
  border: 1px solid rgba(143,168,130,.4);
}

/* ── FLOATING WHATSAPP (mobile only) ─────────────────────── */
.wa-float {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: #25D366; color: #fff;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600;
  align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 14px 20px;
  animation: wa-pulse 3s ease-in-out infinite;
  transition: background .2s;
}
.wa-float:hover { background: #1EBE5B; opacity: 1 }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  /* backdrop-filter moved to ::before — keeping it off the nav itself
     prevents nav from becoming the containing block for position:fixed children (the drawer) */
  transition: box-shadow .3s;
}
/* Frosted glass background lives on a pseudo-element */
.nav::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(250,249,246,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
  z-index: -1;
}
.nav.is-scrolled::before {
  background: rgba(250,249,246,.98);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; flex-shrink: 0 }
.brand strong, .brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600; color: var(--green); letter-spacing: .01em;
}
.brand span, .brand-sub {
  font-family: var(--font-mono);
  font-size: .7rem; color: var(--muted); letter-spacing: .05em;
}
.brand:hover { opacity: .85 }

/* Homepage nav links */
.nav-links { display: flex; align-items: center; gap: 2px }
.nav-links a {
  font-size: .88rem; font-weight: 400; color: var(--muted);
  padding: 7px 12px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--sage-lt); color: var(--green); opacity: 1 }
.nav-cta {
  background: var(--green) !important; color: #fff !important;
  font-weight: 500 !important; padding: 8px 18px !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 12px rgba(44,74,62,.22);
  margin-left: 6px !important;
}
.nav-cta:hover { background: var(--green-lt) !important; opacity: 1 !important }

/* Legacy .menu (subpages) */
.menu { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; align-items: center }
.menu a {
  font-size: .9rem; color: var(--muted); padding: 7px 11px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.menu a:hover { background: var(--sage-lt); color: var(--green) }
.menu a.cta {
  background: var(--green); color: #fff;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(44,74,62,.2);
}
.menu a.cta:hover { background: var(--green-lt); opacity: 1 }

/* Hamburger button */
.burger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: 1.5px solid var(--line);
  border-radius: 8px; cursor: pointer; padding: 0; flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.burger:hover { background: var(--sage-lt); border-color: var(--sage) }
.burger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .28s var(--ease-out), opacity .2s;
}
.burger.is-open { background: var(--sage-lt); border-color: var(--sage) }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.burger.is-open span:nth-child(2) { opacity: 0 }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* Drawer header (shown inside mobile nav panel only) */
.drawer-header {
  display: none;
}
.drawer-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 600; color: var(--green);
}
.nav-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--surface-alt); border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer; color: var(--text);
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.nav-close:hover { background: var(--sage-lt); border-color: var(--sage) }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(26,26,26,.5);
  backdrop-filter: blur(2px);
  z-index: 48;
}
.nav-overlay.is-open { display: block }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: clamp(480px, 85vh, 900px);
  display: flex; align-items: center;
  padding: clamp(40px, 8vw, 120px) 0 clamp(36px, 6vw, 96px);
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
  position: relative; overflow: hidden;
}

/* Animated background orbs */
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}
.hero-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--sage-lt) 0%, transparent 70%);
  top: -180px; right: -120px;
  opacity: .7;
  animation: orb-drift 14s ease-in-out infinite;
}
.hero-orb--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201,169,110,.22) 0%, transparent 70%);
  bottom: -80px; left: 5%;
  opacity: .9;
  animation: orb-drift-r 18s ease-in-out infinite;
}
.hero-orb--3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(143,168,130,.3) 0%, transparent 70%);
  top: 40%; right: 20%;
  animation: orb-drift 10s ease-in-out infinite 3s;
}

/* Hero layout (single column on mobile, two-column on desktop) */
.hero-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sage);
  margin: 0 0 20px;
  animation: fade-up .8s var(--ease-out) both .15s;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 8vw, 5.6rem);
  font-weight: 500; line-height: 1.07;
  color: var(--text); margin: 0 0 20px; letter-spacing: -.015em;
  animation: fade-up .9s var(--ease-out) both .3s;
}
.hero-title em {
  font-style: italic; color: var(--green); display: block;
}
.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.15rem); color: var(--muted);
  max-width: 50ch; margin: 0 0 28px; line-height: 1.75;
  animation: fade-up .8s var(--ease-out) both .5s;
}
.hero-pills {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 36px;
  animation: fade-up .8s var(--ease-out) both .65s;
}
.hero-pills span {
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .05em; color: var(--green);
  background: var(--sage-lt); border: 1px solid rgba(143,168,130,.4);
  padding: 6px 14px; border-radius: 999px;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  animation: fade-up .8s var(--ease-out) both .8s;
}

/* Floating testimonial card (desktop only) */
.hero-deco {
  display: none;
  position: relative;
}
.hero-deco-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(221,217,208,.9);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-xl);
  position: relative; z-index: 2;
  animation: float-card 7s ease-in-out infinite, fade-in 1.2s var(--ease-out) both 1s;
}
/* Large decorative quote mark */
.hero-deco-card::before {
  content: "\201C";
  position: absolute; top: -8px; left: 24px;
  font-family: var(--font-serif);
  font-size: 9rem; line-height: 1;
  color: var(--sage-lt); pointer-events: none;
}
.hero-deco-card > * { position: relative; z-index: 1 }

.deco-stars {
  color: #F5A623; font-size: 1rem; letter-spacing: 3px; margin-bottom: 16px;
}
.deco-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-style: italic; line-height: 1.55;
  color: var(--text); margin: 0 0 14px;
}
.deco-from {
  font-family: var(--font-mono); font-size: .73rem; color: var(--muted);
  letter-spacing: .05em; margin: 0;
}

/* Decorative rings behind the card */
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(143,168,130,.25);
  will-change: transform;
}
.hero-ring--1 {
  width: 340px; height: 340px; bottom: -80px; right: -60px;
  animation: ring-pulse 5s ease-in-out infinite;
}
.hero-ring--2 {
  width: 230px; height: 230px; bottom: -40px; right: -20px;
  animation: ring-pulse 5s ease-in-out infinite .8s;
}
.hero-ring--3 {
  width: 140px; height: 140px; bottom: -10px; right: 10px;
  animation: ring-pulse 5s ease-in-out infinite 1.4s;
}

/* ── STATS BAR ───────────────────────────────────────────── */
.stats-bar {
  background: var(--green);
  padding: clamp(32px, 5vw, 60px) 0;
  position: relative; overflow: hidden;
}
/* Subtle shimmer overlay */
.stats-bar::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.03) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: border-flow 6s ease infinite;
  pointer-events: none;
}
.stats-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 500;
  color: #fff; line-height: 1; letter-spacing: -.02em;
}
.stat-label {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ── SERVICE CARDS ───────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 22px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden; cursor: pointer;
  /* 3D tilt via CSS custom props (set by JS) */
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .15s ease, box-shadow .35s var(--ease-out), border-color .35s;
  will-change: transform;
}
/* The fill-from-bottom green panel */
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: var(--green);
  transform: translateY(102%);
  transition: transform .5s var(--ease-out);
  z-index: 0; will-change: transform;
}
.service-card:hover { border-color: var(--green); box-shadow: var(--shadow-lg) }
.service-card:hover::before { transform: translateY(0) }
.service-card:active::before { transform: translateY(0) }

/* Bring all content above the fill */
.service-num, .service-card h3, .service-card p, .service-arrow {
  position: relative; z-index: 1;
  transition: color .35s ease;
}
.service-num {
  font-family: var(--font-mono); font-size: .71rem; font-weight: 500;
  letter-spacing: .1em; color: var(--sage);
}
.service-card h3 {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500;
  color: var(--text); line-height: 1.2;
}
.service-card p {
  font-size: .93rem; color: var(--muted); line-height: 1.65; margin: 0; flex: 1;
}
.service-arrow {
  display: block; margin-top: 8px;
  color: var(--green); font-size: 1.1rem;
  transition: color .35s ease, transform .35s var(--ease-spring);
}
/* Colour changes when green fill covers the card */
.service-card:hover .service-num  { color: rgba(255,255,255,.35) }
.service-card:hover h3             { color: #fff }
.service-card:hover p              { color: rgba(255,255,255,.75) }
.service-card:hover .service-arrow { color: rgba(255,255,255,.9); transform: translateX(8px) }

/* ── LEGACY CARDS (subpages) ─────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, border-color .25s, transform .2s;
}
a.card:hover { box-shadow: var(--shadow-md); border-color: var(--green); transform: translateY(-2px); opacity: 1 }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--text); display: flex; align-items: center; gap: 8px }
.card h3::before { content:""; display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--green); flex-shrink:0 }
.card p { margin: 0; color: var(--muted); font-size: .9rem }

.grid3 { display: grid; grid-template-columns: 1fr; gap: 14px }
.split { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start }

.list { margin: 10px 0 0; padding: 0; list-style: none }
.list li {
  padding: 10px 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: .9rem;
  display: flex; align-items: flex-start; gap: 8px;
}
.list li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px }
.list li:last-child { border-bottom: 0 }

.kpis { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px }
.kpi {
  flex: 1 1 120px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--sage-lt);
}
.kpi strong { display: block; color: var(--text); font-size: .9rem }
.kpi span   { display: block; color: var(--muted); font-size: .82rem }

/* ── AREAS SECTION ───────────────────────────────────────── */
.areas-layout { display: flex; flex-direction: column; gap: 40px }
.areas-text { max-width: 52ch }
.areas-body { color: var(--muted); margin: 0 0 16px; font-size: .98rem; line-height: 1.75 }
.areas-body strong { color: var(--text) }

.areas-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 32px; box-shadow: var(--shadow-sm); flex: 1;
}
.areas-list { display: flex; flex-direction: column }
.areas-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: .94rem; line-height: 1.6;
}
.areas-list li:last-child { border-bottom: 0; padding-bottom: 0 }
.areas-list strong { color: var(--text); font-weight: 500 }

/* ── PRICING ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px;
}
.pricing-card {
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s var(--ease-out), box-shadow .25s;
  position: relative; z-index: 0;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); opacity: 1 }

/* Featured card: animated gradient border using ::before */
.pricing-card--featured {
  border-color: transparent;
}
.pricing-card--featured::before {
  content: ""; position: absolute; inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: linear-gradient(135deg, var(--green) 0%, var(--sage) 30%, var(--gold) 55%, var(--sage) 75%, var(--green) 100%);
  background-size: 300% 300%;
  animation: border-flow 4s ease infinite;
  z-index: -1;
}

.pricing-badge {
  font-family: var(--font-mono); font-size: .71rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin: 0;
}
.pricing-card h3 {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; color: var(--text);
}
.pricing-amount { display: flex; align-items: baseline; gap: 4px }
.price-from { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); margin-right: 2px }
.price-value {
  font-family: var(--font-serif); font-size: 2.8rem; font-weight: 500;
  color: var(--green); line-height: 1;
}
.price-value--sm { font-size: 2rem }
.price-unit { font-family: var(--font-mono); font-size: .8rem; color: var(--muted) }
.pricing-card p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1 }

.pricing-footer { margin-top: 8px }
.pricing-note { color: var(--muted); font-size: .88rem; margin: 0 0 20px; font-style: italic }
.pricing-cta { display: flex; gap: 12px; flex-wrap: wrap }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { margin-top: 16px }
.faq--narrow { max-width: 740px }

details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 10px; box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s;
  overflow: hidden;
}
details[open] { border-color: var(--green); box-shadow: 0 4px 20px rgba(44,74,62,.1) }
summary {
  cursor: pointer; font-weight: 500; font-size: .98rem; color: var(--text);
  padding: 20px 22px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  user-select: none;
  transition: background .2s;
}
summary:hover { background: var(--sage-lt) }
summary::-webkit-details-marker { display: none }
summary::after {
  content: "+"; color: var(--green);
  font-family: var(--font-mono); font-size: 1.3rem; font-weight: 400;
  flex-shrink: 0; line-height: 1;
  transition: transform .3s var(--ease-out), color .2s;
}
details[open] summary::after { transform: rotate(45deg); color: var(--green-lt) }

/* Smooth FAQ body — JS adds .faq-body wrapper and animates max-height */
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease-out);
}
.faq-body p {
  color: var(--muted); font-size: .93rem;
  padding: 2px 22px 22px; margin: 0; line-height: 1.75;
}

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: var(--green-dk);
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative; overflow: hidden;
}
.cta-orbs { position: absolute; inset: 0; pointer-events: none }
.cta-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); will-change: transform;
}
.cta-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(143,168,130,.18) 0%, transparent 70%);
  top: -140px; left: -80px;
  animation: orb-drift 12s ease-in-out infinite;
}
.cta-orb--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(201,169,110,.14) 0%, transparent 70%);
  bottom: -80px; right: -60px;
  animation: orb-drift-r 10s ease-in-out infinite;
}
.cta-block {
  text-align: center; position: relative; z-index: 1;
}
.cta-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 500;
  color: #fff; margin: 0 0 16px; line-height: 1.15;
}
.cta-block p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin: 0 0 40px }
.cta-block-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* Legacy cta-strip */
.cta-strip {
  background: var(--green); border-radius: var(--radius);
  padding: 32px 28px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 8px 28px rgba(44,74,62,.22);
}
.cta-strip h2 { color: #fff; margin: 0 0 4px; font-size: 1.35rem }
.cta-strip p  { color: rgba(255,255,255,.8); margin: 0; font-size: .9rem }
.cta-strip .cta { background: #fff; color: var(--green); box-shadow: 0 4px 14px rgba(0,0,0,.15) }
.cta-strip .cta:hover { background: #f0faf4 }
.cta-strip .ghost { border-color: rgba(255,255,255,.4); color: #fff }
.cta-strip .ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7) }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--text); color: rgba(255,255,255,.7); padding-top: 48px }
.footer-inner {
  display: flex; flex-direction: column; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 6px }
.footer-brand strong {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: #fff;
}
.footer-brand span {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .07em;
  color: rgba(255,255,255,.38);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px }
.footer-links a {
  color: rgba(255,255,255,.5); font-size: .86rem;
  padding: 7px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  transition: color .2s, border-color .2s, background .2s;
}
.footer-links a:hover { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); opacity: 1 }
.footer-bottom { padding: 18px 0 }
.footer-bottom p { font-size: .79rem; color: rgba(255,255,255,.3); margin: 0 }
.footer-bottom a { color: rgba(255,255,255,.3); transition: color .15s }
.footer-bottom a:hover { color: rgba(255,255,255,.65); opacity: 1 }

/* Legacy footer */
.footer .small { color: rgba(255,255,255,.5) }
.footer a { color: rgba(255,255,255,.6); text-decoration: underline }
.footer a:hover { color: #fff; opacity: 1 }
.footer strong { color: #fff }

/* ── BREADCRUMBS ─────────────────────────────────────────── */
.breadcrumbs { color: var(--muted); font-size: .85rem; margin: 14px 0 0 }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════ */

/* ── TABLET 600px+ ───────────────────────────────────────── */
@media (min-width: 600px) {
  .stats-grid     { grid-template-columns: repeat(4, 1fr) }
  .services-grid  { grid-template-columns: 1fr 1fr }
  .pricing-grid   { grid-template-columns: 1fr 1fr }
  .grid3          { grid-template-columns: 1fr 1fr }
  .split          { grid-template-columns: 1fr 1fr }
}

/* ── DESKTOP 900px+ ──────────────────────────────────────── */
@media (min-width: 900px) {
  .services-grid  { grid-template-columns: repeat(3, 1fr) }
  .pricing-grid   { grid-template-columns: repeat(4, 1fr) }
  .grid3          { grid-template-columns: repeat(3, 1fr) }

  /* Hero: two-column layout */
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 64px }
  .hero-deco   { display: block }

  /* Areas: side by side */
  .areas-layout { flex-direction: row; align-items: flex-start; gap: 64px }
  .areas-text   { flex: 0 0 42% }

  /* Footer */
  .footer-inner { flex-direction: row; align-items: flex-start; justify-content: space-between }
}

/* ── WIDE NAV (768px+) — desktop nav ────────────────────── */
@media (min-width: 768px) {
  .burger { display: none }
  .nav-links {
    display: flex; position: static; width: auto; background: none;
    flex-direction: row; padding: 0; box-shadow: none; overflow: visible;
  }
  .nav-links a { width: auto; font-size: .88rem; padding: 7px 12px; border-radius: 8px }
  .menu a:not(.cta) { display: flex }
  .wa-float { display: none !important }
}

/* ── MOBILE (<768px) ─────────────────────────────────────── */
@media (max-width: 767px) {
  .wa-float { display: flex }
  body { padding-bottom: 58px }

  .burger { display: flex }

  /* Slide-in nav drawer — z-index 51 puts it ABOVE the sticky nav (50) */
  .nav-links {
    display: none; position: fixed;
    top: 0; right: 0; bottom: 0; width: min(300px, 88vw);
    background: var(--surface);
    flex-direction: column; align-items: stretch;
    padding: 0 0 40px;
    box-shadow: -12px 0 48px rgba(0,0,0,.18);
    gap: 0; z-index: 51; overflow-y: auto;
  }
  .nav-links.is-open { display: flex }

  /* Drawer header */
  .drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px; flex-shrink: 0;
  }

  /* Nav links inside drawer */
  .nav-links > a {
    font-size: 1.05rem; font-weight: 400; color: var(--muted);
    padding: 14px 20px; border-radius: 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .nav-links > a:last-of-type { border-bottom: none }
  .nav-links > a:hover { background: var(--sage-lt); color: var(--green); opacity: 1 }

  .nav-cta {
    margin: 16px 20px 0 !important;
    width: calc(100% - 40px) !important;
    justify-content: center;
    border-radius: 999px !important;
  }

  /* Overlay stays at z-index 48 — below the nav stacking context (50) so drawer shows above it */

  .menu a:not(.cta) { display: none }
  .menu { justify-content: flex-end }

  /* Hero buttons: stack and go full-width */
  .hero-btns { flex-direction: column }
  .hero-btns a { width: 100%; justify-content: center }

  /* Hero pills: tighter gaps on small screens */
  .hero-pills { gap: 8px; margin-bottom: 28px }

  /* Reduce section padding on mobile */
  .section { padding: clamp(40px, 7vw, 112px) 0 }

  /* Reduce card padding on mobile */
  .pricing-card { padding: 22px 20px }
  .areas-card   { padding: 20px }

  /* CTA section buttons */
  .cta-block-actions { flex-direction: column; align-items: center }
  .cta-block-actions a { width: 100%; max-width: 340px; justify-content: center }
  .pricing-cta { flex-direction: column }
  .pricing-cta a { justify-content: center }
  .cta-strip { flex-direction: column; align-items: flex-start }
}
