/* =====================================================================
   TERRAPIN ABA — Design System
   Maryland in-home ABA therapy. Apple minimalism + Van Gogh / Rembrandt touch.
   Palette: logo green primary + clinical blue + muted gold; swirl textures.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --shell:        #4F8A4A;   /* terrapin green — primary (from the logo) */
  --shell-dark:   #3C6E39;   /* hover / pressed */
  --shell-deep:   #28522A;   /* deep forest green */
  --shell-light:  #E7F0E2;   /* soft green tint fill */
  --shell-glow:   #6FB257;   /* brighter green for gradients */

  --gold:         #C2922F;   /* muted ochre-gold accent */
  --gold-dark:    #9C7320;
  --gold-light:   #F4ECD6;

  --bay:          #2E6E9E;   /* clinical blue — from the wordmark */
  --bay-light:    #E4EEF6;

  /* Painterly accents — Van Gogh swirl + Rembrandt candlelight (the 20%) */
  --cobalt:       #285F97;   /* deep blue swirl */
  --cobalt-deep:  #1B416E;
  --chrome:       #E3AE37;   /* Van Gogh chrome yellow */
  --chrome-soft:  #EFC966;
  --umber:        #0E211C;   /* deep spruce night (dark bands) */
  --umber-2:      #16302A;
  --rembrandt:    #CBA24C;   /* candlelit gold */

  /* Neutrals — cool clinical paper */
  --ink:          #18231F;   /* headlines, body */
  --ink-soft:     #2C3A35;   /* secondary dark */
  --muted:        #586863;   /* sub-heads, captions */
  --faint:        #97A59F;   /* placeholders, meta */

  --paper:        #F9FAF7;   /* page background, cool off-white */
  --surface:      #FFFFFF;   /* cards */
  --surface-2:    #EEF2EA;   /* alt section / cool green-cream */
  --line:         #E5E9E0;   /* borders, dividers */
  --line-strong:  #D2D9CC;   /* hover borders, inputs */

  --night:        #0E211C;   /* dark sections / footer — deep spruce */
  --night-2:      #16302A;

  /* Effects */
  --shadow-soft:  0 1px 2px rgba(16,33,28,.04), 0 4px 12px rgba(16,33,28,.05);
  --shadow-card:  0 2px 6px rgba(16,33,28,.05), 0 16px 40px rgba(16,33,28,.08);
  --shadow-lift:  0 8px 20px rgba(16,33,28,.07), 0 30px 70px rgba(16,33,28,.12);
  --shadow-ring:  0 0 0 4px rgba(79,138,74,.20);

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --maxw: 1200px;
  --maxw-wide: 1320px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--shell-light); color: var(--shell-deep); }

/* Painterly canvas grain — a whisper of texture over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); font-weight: 700; }
.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.em-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--shell);
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--shell);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--gold); border-radius: 2px;
}
.eyebrow.center::before { display: none; }

/* ---------- 4. Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--maxw-wide); }
.section { padding: 72px 0; }
section[id], [id].section { scroll-margin-top: 96px; }
.section-sm { padding: 52px 0; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -0.025em;
}
.section-sub {
  margin-top: 20px; font-size: clamp(17px, 2vw, 20px);
  color: var(--muted); line-height: 1.55; letter-spacing: -0.01em;
}
.section-head.left { text-align: left; margin-left: 0; }
.bg-cream { background: var(--surface-2); }
.bg-white { background: var(--surface); }
.bg-shell { background: var(--shell-light); }
.center { text-align: center; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  padding: 15px 28px; border-radius: var(--r-pill);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--shell); color: #fff;
  box-shadow: 0 1px 2px rgba(7,59,54,.18), 0 8px 22px rgba(14,110,100,.22);
}
.btn-primary:hover { background: var(--shell-dark); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(7,59,54,.2), 0 16px 36px rgba(14,110,100,.32); }
.btn-secondary {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--shell-deep); box-shadow: var(--shadow-soft); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-ghost { color: var(--shell); padding: 8px 4px; }
.btn-ghost:hover { color: var(--shell-dark); }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- 6. Header / nav ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 24px;
  transition: padding .4s var(--ease);
}
.nav {
  max-width: var(--maxw-wide); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 11px 14px 11px 22px;
  background: rgba(251,250,247,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.header.scrolled .nav { box-shadow: var(--shadow-card); background: rgba(251,250,247,.86); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; display: block; }
.footer .brand-logo { height: 52px; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1;
}
.brand-name b { color: var(--shell); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 14px; border-radius: var(--r-pill); transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(14,110,100,.07); color: var(--shell); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--ink); padding: 9px 12px; border-radius: var(--r-pill); }
.nav-phone svg { width: 16px; height: 16px; color: var(--shell); }
.nav-phone:hover { background: rgba(14,110,100,.07); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(251,250,247,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 32px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-menu a { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border: none; }
.mobile-menu .btn { margin-top: 20px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; padding: 146px 0 64px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1100px 660px at 80% -10%, rgba(79,138,74,.20), transparent 60%),
    radial-gradient(840px 560px at 6% 4%, rgba(46,110,158,.16), transparent 58%),
    radial-gradient(820px 560px at 52% 118%, rgba(194,146,47,.12), transparent 60%),
    var(--paper);
}
/* faint swirling brushwork drifting through the hero — green into blue */
.hero-bg::after {
  content: ""; position: absolute; inset: -10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800' fill='none'%3E%3Cg stroke='%234F8A4A' stroke-width='2.4' stroke-linecap='round' opacity='0.55'%3E%3Cpath d='M120 230c70-60 150-30 150 40s-90 90-130 40 10-150 120-150 200 120 120 230'/%3E%3Cpath d='M980 140c-70 20-90 110-30 140s140-20 130-90-120-90-190-30'/%3E%3C/g%3E%3Cg stroke='%232E6E9E' stroke-width='2.2' stroke-linecap='round' opacity='0.5'%3E%3Cpath d='M1010 560c50-40 120-10 120 50s-80 70-110 30 0-110 90-120'/%3E%3Cpath d='M150 620c40 30 110 10 120-50'/%3E%3Cpath d='M250 150c60-30 120 0 120 60'/%3E%3C/g%3E%3Cg stroke='%23C2922F' stroke-width='1.8' stroke-linecap='round' opacity='0.4'%3E%3Cpath d='M880 600c40-30 100-10 110 40'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 1200px 800px; background-position: center; background-repeat: no-repeat;
  opacity: 0.18; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(42px, 6.4vw, 78px); line-height: 1.0; letter-spacing: -0.035em;
}
.hero .lead { margin-top: 26px; font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 520px; line-height: 1.55; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-trust .stars { display: inline-flex; gap: 2px; color: var(--gold); }
.hero-trust .stars svg { width: 16px; height: 16px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 8px 16px 8px 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft); box-shadow: var(--shadow-soft);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--shell); position: relative; }
.hero-badge .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(14,110,100,.3); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(160deg, var(--shell-glow), var(--shell-deep));
  box-shadow: var(--shadow-lift); aspect-ratio: 4/4.4;
}
.hero-card .shell-art { position: absolute; inset: 0; opacity: .9; }
.hero-card .hero-photo,
.hero-card picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-card .hero-photo { object-fit: cover; object-position: 50% 42%; }
.hero-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(to top, rgba(12,8,5,.78) 0%, rgba(12,8,5,.22) 26%, rgba(12,8,5,0) 50%);
  box-shadow: inset 0 0 90px rgba(12,8,5,.22);
}
.hero-card .hero-card-copy {
  position: absolute; left: 28px; right: 28px; bottom: 26px; color: #fff; z-index: 2;
}
.hero-card .hero-card-copy h3 { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -0.02em; }
.hero-card .hero-card-copy p { color: rgba(255,255,255,.82); font-size: 15px; margin-top: 6px; }
/* Floating stat sticker */
.hero-sticker {
  position: absolute; background: var(--surface); border-radius: var(--r-md);
  box-shadow: var(--shadow-lift); padding: 16px 18px; display: flex; align-items: center; gap: 13px;
  border: 1px solid var(--line);
}
.hero-sticker.one { top: 24px; left: -28px; }
.hero-sticker.two { bottom: 90px; right: -26px; }
.hero-sticker .ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-sticker .ic svg { width: 22px; height: 22px; }
.hero-sticker .big { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1; color: var(--ink); }
.hero-sticker .sm { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- 8. Trust bar ---------- */
.trustbar { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trustbar-inner { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; }
.trustbar .label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.trustbar .logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trustbar .logos span { font-weight: 700; font-size: 17px; color: var(--ink-soft); letter-spacing: -0.01em; opacity: .72; }

/* ---------- 9. Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.card-icon { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* icon color rotation */
.ic-shell { background: var(--shell-light); color: var(--shell); }
.ic-gold  { background: var(--gold-light); color: var(--gold-dark); }
.ic-bay   { background: var(--bay-light); color: var(--bay); }
.ic-deep  { background: rgba(14,110,100,.1); color: var(--shell-deep); }

/* ---------- 10. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  background: var(--shell); color: #fff; margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- 11. Feature rows (Apple alternating) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 72px; }
.feature-row.flip .feature-text { order: 2; }
.feature-text .eyebrow { margin-bottom: 18px; }
.feature-text h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; line-height: 1.08; }
.feature-text p { margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.feature-list { margin-top: 24px; display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.feature-list .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--shell-light); color: var(--shell); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.feature-list .tick svg { width: 14px; height: 14px; }
.feature-visual {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4.2;
  box-shadow: var(--shadow-card); position: relative;
}
.feature-visual picture { position: absolute; inset: 0; }
.feature-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* ---------- 12. Stats band ---------- */
.statband {
  color: #fff; border-radius: var(--r-xl); padding: 52px 48px; position: relative; overflow: hidden;
  background:
    radial-gradient(78% 120% at 14% 4%, rgba(227,174,55,.24), transparent 46%),
    linear-gradient(158deg, var(--shell) 0%, #2f7e7a 44%, var(--cobalt-deep) 100%);
}
.statband::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 -130px 150px rgba(2,18,16,.55), inset 80px 40px 160px rgba(2,18,16,.32);
  border-radius: inherit;
}
.statband .shell-watermark { position: absolute; right: -60px; top: -40px; width: 360px; opacity: .14; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; z-index: 2; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.stat .num .em-serif { color: var(--gold-light); }
.stat .lbl { margin-top: 10px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.45; }

/* ---------- 13. Testimonials ---------- */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; height: 100%; }
.quote-card .stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 16px; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 17px; line-height: 1.6; color: var(--ink-soft); flex: 1; letter-spacing: -0.01em; }
.quote-card .by { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--shell-light); color: var(--shell); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.quote-card .by .name { font-weight: 600; font-size: 15px; }
.quote-card .by .meta { font-size: 13px; color: var(--muted); }

/* ---------- 14. Insurance ---------- */
.ins-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.ins-logo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 18px; text-align: center; font-weight: 700; font-size: 16px; color: var(--ink-soft); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ins-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.ins-logo small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- 15. Coverage / zip checker ---------- */
.coverage {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 48px; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.zip-form { display: flex; gap: 10px; margin-top: 22px; }
.zip-form input {
  flex: 1; padding: 15px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong);
  font-family: inherit; font-size: 16px; color: var(--ink); background: var(--paper); transition: box-shadow .2s, border-color .2s;
}
.zip-form input:focus { outline: none; border-color: var(--shell); box-shadow: var(--shadow-ring); }
.county-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.county-pills span { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); padding: 7px 14px; border-radius: var(--r-pill); }

/* ---------- 16. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 24px 4px; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.faq-q .chev { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--shell-light); color: var(--shell); display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ease), background .25s; }
.faq-q .chev svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--shell); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ---------- 17. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 60px 48px; text-align: center;
  background:
    radial-gradient(70% 110% at 20% 6%, rgba(227,174,55,.30), transparent 48%),
    linear-gradient(158deg, var(--umber-2) 0%, var(--umber) 68%, #07140f 100%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 -120px 160px rgba(0,0,0,.5), inset -60px 30px 180px rgba(0,0,0,.4);
}
.cta-band .shell-watermark { position: absolute; opacity: .13; width: 420px; left: -90px; bottom: -120px; z-index: 1; }
.cta-band > h2, .cta-band > p, .cta-band > .hero-actions { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4.6vw, 50px); letter-spacing: -0.025em; position: relative; }
.cta-band .em-serif { color: var(--gold-light); }
.cta-band p { color: rgba(255,255,255,.78); font-size: 19px; margin: 20px auto 0; max-width: 560px; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- 18. Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.66); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name b { color: var(--gold-light); }
.footer-brand p { margin-top: 18px; font-size: 15px; line-height: 1.6; max-width: 300px; }
.footer-brand .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-brand .socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: background .25s, color .25s; }
.footer-brand .socials a:hover { background: var(--shell); color: #fff; }
.footer-brand .socials svg { width: 18px; height: 18px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 15px; color: rgba(255,255,255,.62); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 19. Sticky contact ---------- */
.sticky-buttons { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.sticky-btn { width: 54px; height: 54px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-card); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); border: 1px solid var(--line); }
.sticky-btn:hover { transform: scale(1.08) translateY(-2px); }
.sticky-btn svg { width: 24px; height: 24px; }
.sticky-btn.call { color: var(--shell); }
.sticky-btn.text { color: var(--bay); }
.sticky-btn.wa { color: #25923a; }

/* ---------- 20. Generic page hero (sub-pages) ---------- */
.page-hero { padding: 138px 0 44px; position: relative; overflow: hidden; }
.page-hero .hero-bg { position: absolute; }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.03em; line-height: 1.02; max-width: 860px; }
.page-hero .lead { margin-top: 22px; font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 620px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--shell); }

/* prose */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 30px; margin: 44px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 22px; margin: 32px 0 12px; }
.prose p { color: var(--ink-soft); margin-bottom: 18px; line-height: 1.7; }
.prose ul.bullets { margin: 0 0 18px; display: grid; gap: 10px; }
.prose ul.bullets li { display: flex; gap: 12px; color: var(--ink-soft); }
.prose ul.bullets .tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--shell-light); color: var(--shell); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.prose ul.bullets .tick svg { width: 13px; height: 13px; }

/* ---------- 21. Form ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 44px; box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong);
  font-family: inherit; font-size: 16px; color: var(--ink); background: var(--paper); transition: box-shadow .2s, border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--shell); box-shadow: var(--shadow-ring); }

/* ---------- 22. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- 23. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-sticker.one { left: 0; }
  .hero-sticker.two { right: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .feature-row, .feature-row.flip .feature-text { gap: 44px; }
  .coverage { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 52px 0; }
  .hero { padding: 120px 0 48px; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature-row.flip .feature-text { order: 0; }
  .feature-row.flip .feature-visual { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band, .statband { padding: 44px 26px; }
  .gs-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
  .form-card, .coverage { padding: 28px 22px; }
}

/* ---------- 24. Painterly section textures (Van Gogh swirl backgrounds) ---------- */
.section, .page-hero, .hero { position: relative; }
.section > .wrap, .page-hero > .wrap, .hero > .wrap, .hero > .wrap-wide { position: relative; z-index: 1; }
.section::before, .page-hero::before, .hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0.22;
}
.hero::before { background-image: url("../images/tex-5.webp"); opacity: 0.18; }
.page-hero::before { background-image: url("../images/tex-4.webp"); }
.section:nth-of-type(5n+1)::before { background-image: url("../images/tex-1.webp"); }
.section:nth-of-type(5n+2)::before { background-image: url("../images/tex-2.webp"); }
.section:nth-of-type(5n+3)::before { background-image: url("../images/tex-3.webp"); }
.section:nth-of-type(5n+4)::before { background-image: url("../images/tex-4.webp"); }
.section:nth-of-type(5n)::before   { background-image: url("../images/tex-5.webp"); }
