/* =========================================================
   Focus Rehabilitation — Design System
   Inspired by zingage.com: Inter + Manrope, warm off-white,
   hairline cards, soft shadows, flat modern SaaS layout.
   ========================================================= */

:root {
  /* Surfaces */
  --bg:          #fefdfb;   /* warm off-white page */
  --surface:     #ffffff;
  --surface-2:   #f7f6f2;   /* subtle section tint */
  --line:        #e8e8e8;   /* hairline border */
  --line-2:      #efede8;

  /* Text */
  --ink:         #181d27;   /* headings / near-black */
  --ink-soft:    #515a68;   /* body */
  --muted:       #717680;   /* captions */

  /* Brand primary (V1 = green). Overridden per-version. */
  --forest:      #006b5f;
  --forest-700:  #005044;
  --forest-300:  #0f8f9e;
  --sage:        #cde9e4;
  --sage-soft:   #edf7f5;

  /* Accent (signature orange, shared) */
  --terra:       #f5821f;
  --terra-700:   #d96d11;
  --gold:        #f7ce45;

  /* legacy aliases kept so inner pages keep rendering */
  --cream:       var(--bg);
  --cream-card:  var(--surface);

  /* Type */
  --display: "Manrope", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-btn: 12px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --shadow-md: 0 10px 30px rgba(16,24,40,.08);
  --shadow-lg: 0 30px 70px rgba(16,24,40,.12);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink-soft);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h3 { font-size: clamp(1.08rem, 1.4vw, 1.22rem); font-weight: 600; letter-spacing: -.01em; }
p  { margin: 0 0 1.05em; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 6vw, 88px) 0; }
.center { text-align: center; }

/* Pill label (zingage-style eyebrow) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--body); font-weight: 600; font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--forest);
  margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }
.lede { font-size: clamp(1rem, 1.1vw, 1.15rem); color: var(--muted); max-width: 58ch; line-height: 1.6; font-weight: 400; }
.tag { display: inline-block; background: var(--terra); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }

/* ---------- Buttons (flat, rounded) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: .94rem;
  padding: 13px 22px; border-radius: var(--r-btn);
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-700); box-shadow: var(--shadow-md); }
.btn-grad, .btn-accent { background: var(--terra); color: #fff; box-shadow: 0 8px 22px rgba(255,107,2,.28); }
.btn-grad:hover, .btn-accent:hover { background: var(--terra-700); box-shadow: 0 12px 28px rgba(255,107,2,.38); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }
.btn-arrow::after { content: "\2192"; transition: transform .2s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(0,40,34,.36), rgba(0,40,34,.10) 72%, transparent);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; color: #fff; flex: none; }
.site-header .brand {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  padding: 3px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.site-footer .brand {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 5px 9px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  display: inline-flex;
}
.brand > span:last-child { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; white-space: nowrap; font-size: 1.08rem; letter-spacing: -.02em; }
.brand .mark { width: 40px; height: 40px; border-radius: 11px; flex: none; background: var(--forest); display: grid; place-items: center; color: #fff; font-size: 1.05rem; }
.brand-logo { width: 196px; height: 64px; object-fit: contain; display: block; filter: drop-shadow(0 8px 18px rgba(0,0,0,.14)); }
.site-header:not(.scrolled) .brand-logo { filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.brand small { display: block; font-family: var(--body); font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); font-weight: 600; margin-top: 3px; }
.site-header .container.nav { max-width: 1400px; }
.nav-links { display: flex; align-items: center; gap: 1px; list-style: none; margin: 0 auto 0 20px; padding: 0; }
.nav-links a { position: relative; font-size: .92rem; font-weight: 700; color: rgba(255,255,255,.94); padding: 9px 10px; border-radius: 9px; transition: color .2s; white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.28); }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--terra); font-weight: 700; }
.nav-links a.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--terra); }
.nav-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.site-header .btn { padding: 11px 18px; font-size: .92rem; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: .98rem; letter-spacing: .01em; color: #fff; background: var(--terra); border: 0; padding: 12px 20px; border-radius: var(--r-btn); white-space: nowrap; box-shadow: 0 8px 22px rgba(255,107,2,.30); transition: background .2s, transform .2s, box-shadow .2s; }
.nav-phone:hover { color: #fff; background: var(--terra-700); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,107,2,.40); }
.nav-phone .np-ico { font-size: 1.05rem; line-height: 1; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c6cbd3; padding: 80px 0 32px; }
.site-footer h4 { color: #fff; font-family: var(--body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer a { color: #aeb4be; transition: .2s; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links li { line-height: 1.55; }
.footer-contact li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.footer-ico { width: 24px; min-height: 24px; display: grid; place-items: center; color: var(--terra); font-size: 1rem; line-height: 1; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-logo { width: 172px; height: 62px; filter: none; }
.footer-brand .brand .mark { background: var(--surface); color: var(--ink); }
.footer-brand .brand small { color: #8b919c; }
.footer-brand p { color: #9aa1ac; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #858b96; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card .ico { font-size: 1.8rem; margin-bottom: 14px; display: block; }

.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); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-sm); }

/* Icon tile */
.tile { width: 52px; height: 52px; border-radius: 13px; background: var(--sage-soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.35rem; color: var(--forest); line-height: 1; }
.tile:empty::before,
.ico:empty::before,
.pin:empty::before,
.ic:empty::before { content: "\2713"; }
.ico, .pin, .ic { color: var(--forest); line-height: 1; font-weight: 700; }
.info-list .ic { color: #fff; }
.socials a:empty::before { content: "IG"; font-size: .86rem; font-weight: 800; letter-spacing: .03em; }

/* ---------- Inner page banner ---------- */
.page-hero { min-height: 430px; display:flex; align-items:flex-end; padding: 150px 0 clamp(54px, 7vw, 86px) !important; position: relative; background: var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; color:#fff; isolation:isolate; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-2; background: var(--hero-image, linear-gradient(135deg, var(--forest), var(--forest-700))) center/cover no-repeat; transform:scale(1.03); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(0,54,46,.70) 0%, rgba(0,54,46,.42) 42%, rgba(0,54,46,.08) 100%), linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.04) 38%, rgba(0,0,0,.26)); }
.page-hero.page-about::before { background: url("rehab-home-6.jpg") center 42%/cover no-repeat; }
.page-hero.page-treat::before { background: url("rehab-home-1.jpg") center 40%/cover no-repeat; }
.page-hero.page-serve::before { background: url("rehab-home-2.jpg") center 45%/cover no-repeat; }
.page-hero.page-insurance::before { background: url("rehab-home-4.jpg") center 42%/cover no-repeat; }
.page-hero.page-eligibility::before { background: url("rehab-home-6.jpg") center 46%/cover no-repeat; }
.page-hero.page-contact::before { background: url("rehab-home-6.jpg") center 42%/cover no-repeat; }
/* Condition pages use real per-condition photos - keep them clearly visible:
   scrim mainly the bottom-left (where the text sits) and leave the rest of the photo open. */
.page-hero.page-condition::before { background: var(--hero-image, linear-gradient(135deg, var(--forest), var(--forest-700))) center/cover no-repeat; }
.page-hero.page-condition::after {
  background:
    linear-gradient(180deg, rgba(6,28,24,0) 24%, rgba(6,28,24,.42) 66%, rgba(6,28,24,.80) 100%),
    linear-gradient(90deg, rgba(6,28,24,.62) 0%, rgba(6,28,24,.24) 40%, rgba(6,28,24,0) 66%);
}
.page-hero.page-condition h1, .page-hero.page-condition .lede { text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .lede { margin-top: 4px; }
.page-hero h1, .page-hero .lede { color:#fff; text-shadow: 0 2px 18px rgba(0,0,0,.22); }
.page-hero .eyebrow { background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.28); color:#fff; box-shadow:none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.78); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: #fff; font-weight: 700; }

/* ---------- Banded CTA ---------- */
.cta-band { background: var(--forest); border-radius: var(--r-xl); padding: clamp(44px, 6vw, 76px); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,2,.30), transparent 70%); top: -150px; right: -90px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 52ch; margin-inline: auto; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; box-shadow: var(--shadow-sm); }
.step .num { width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(135deg, var(--terra), var(--forest)); color: #fff; font-family: var(--display); font-size: 1.4rem; font-weight: 800; display: grid; place-items: center; border: 1px solid rgba(245,130,31,.24); box-shadow: 0 10px 24px rgba(245,130,31,.20); }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: 1.05rem; color: var(--ink); }
.checklist li::before { content: "\2713"; width: 28px; height: 28px; border-radius: 8px; background: var(--terra); color: #fff; display: grid; place-items: center; font-weight: 800; border: 1px solid rgba(245,130,31,.28); box-shadow: 0 8px 18px rgba(245,130,31,.16); }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field textarea, .field select { font-family: var(--body); font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); transition: border .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--forest-300); box-shadow: 0 0 0 4px var(--sage-soft); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Stats ---------- */
.stat { text-align: center; padding: 8px; }
.stat b { font-family: var(--display); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; color: var(--terra); display: block; line-height: 1; letter-spacing: -.02em; text-shadow: 0 8px 22px rgba(245,130,31,.18); }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; gap: 14px; }
.quote .stars { color: #f5a623; letter-spacing: 2px; font-size: .95rem; }
.quote p { font-size: 1.02rem; color: var(--ink); margin: 0; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.quote .who .pic { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); flex: none; display: grid; place-items: center; font-weight: 700; color: var(--forest); font-family: var(--display); }
.quote .who b { color: var(--ink); display: block; font-size: .95rem; }
.quote .who span { color: var(--muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 24px; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--forest-300); }
.faq summary { cursor: pointer; padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--forest); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Lead form ---------- */
.lead-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.lead-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.lead-points li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; color: var(--ink-soft); }
.lead-points li::before { content: "\2713"; width: 26px; height: 26px; border-radius: 8px; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; font-weight: 800; border: 1px solid var(--line); }
.lead-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-md); }

/* ---------- Premium motion ---------- */
/* scroll-reveal animation disabled - content shows instantly (no fade-in on scroll) */
.reveal { opacity: 1; transform: none; transition: none; }
.reveal.in { opacity: 1; transform: none; }

/* Header condenses on scroll */
.site-header { transition: background .3s, box-shadow .3s, border-color .3s; }
.site-header.scrolled { background: rgba(254,253,251,.96); box-shadow: 0 6px 24px rgba(16,24,40,.07); border-color: var(--line); }
.site-header.scrolled .brand { background: transparent; border-color: transparent; padding-inline: 0; box-shadow: none; }
.site-header.scrolled .brand { color: var(--ink); }
.site-header.scrolled .brand small { color: var(--muted); }
.site-header.scrolled .nav-links a { color: var(--ink-soft); text-shadow: none; }
.site-header.scrolled .nav-links a:hover { color: var(--forest); }
.site-header.scrolled .nav-links a.active { color: var(--terra); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- What We Treat mega menu ---------- */
.has-mega { position: static; }
.mega-trigger { display: inline-flex; align-items: center; }
.mega-toggle { background: none; border: 0; cursor: pointer; padding: 8px 6px; margin-left: -4px; color: rgba(255,255,255,.94); line-height: 1; display: inline-flex; align-items: center; }
.site-header.scrolled .mega-toggle { color: var(--ink-soft); }
.mega-toggle .caret { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.has-mega:hover .mega-toggle .caret, .has-mega:focus-within .mega-toggle .caret, .has-mega.sub-open .mega-toggle .caret { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 99;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { padding: 30px 24px 30px; }
.mega-cols { display: flex; gap: 30px; align-items: flex-start; }
.mega-col { flex: 1 1 0; min-width: 0; }
.mega-col.two { flex: 2.4 1 0; }
.mega-col h5 { font-family: var(--display); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--forest); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mega-col.two ul { grid-template-columns: 1fr 1fr; gap: 1px 14px; }
.mega-col a { display: block; padding: 6px 9px; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-soft); text-shadow: none; transition: background .18s, color .18s; white-space: nowrap; }
.mega-col a:hover { background: var(--surface-2); color: var(--forest); }
.mega-col a.active { color: var(--terra); font-weight: 700; }
.mega-promo { margin-top: 22px; background: linear-gradient(120deg, var(--forest), var(--forest-700)); color: #fff; border-radius: var(--r-md); padding: 18px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.mega-promo h4 { color: #fff; font-size: 1.05rem; margin: 0 0 2px; }
.mega-promo p { color: rgba(255,255,255,.85); font-size: .88rem; margin: 0; }
.mega-promo .btn { flex: none; }
@media (max-width: 1180px) {
  /* mega becomes a tap-to-expand accordion inside the mobile menu */
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: 0; }
  .has-mega.sub-open .mega { display: block; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; margin: 2px 0 8px; }
  .mega-inner { padding: 6px 12px 12px; }
  .mega-cols { flex-direction: column; gap: 2px; }
  .mega-col { flex: none; }
  .mega-col h5 { margin: 12px 0 4px; padding-bottom: 6px; font-size: .68rem; }
  .mega-col ul, .mega-col.two ul { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .mega-col a { color: var(--ink-soft); font-size: .88rem; padding: 7px 8px; white-space: normal; }
  .mega-promo { display: none; }
  /* main heading row: title + arrow on one line, submenu below */
  .nav-links.open .has-mega { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-links.open .has-mega .mega-trigger { flex: 1; }
  .nav-links.open .has-mega .mega-toggle { padding: 12px 8px; color: var(--ink-soft); }
  .nav-links.open .has-mega .mega { flex-basis: 100%; }
}

/* Floating hero chips */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float { animation: floaty 5.5s ease-in-out infinite; }
.float.b { animation-delay: -2.6s; }

/* Image zoom on hover */
.hero-photo, .hero-photo2, .about-photo, .feat2-img, .gphoto { transition: transform .7s var(--ease), box-shadow .4s; will-change: transform; }
.hero-photo:hover, .hero-photo2:hover, .about-photo:hover, .feat2-img:hover, .gphoto:hover { transform: scale(1.025); }

/* Photo helper for galleries */
.gphoto { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); background-size: cover; background-position: center; overflow: hidden; }
.gphoto .cap { position: absolute; left: 14px; bottom: 14px; right: 14px; color: #fff; font-weight: 600; font-size: .95rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); display: flex; align-items: center; gap: 8px; }
.gphoto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,20,15,.55)); }
.gphoto .cap { z-index: 1; }

/* ===== Reusable animated photo with floating medical icons =====
   Drop-in: <div class="fx-photo reveal" style="--fx-img:url('assets/x.png')"> + layer markup */
.fx-photo { position: relative; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--shadow-md); border: 1px solid var(--line); background: var(--sage-soft); }
.fx-photo .ab-img { position: absolute; inset: -6%; background-image: var(--fx-img); background-position: var(--fx-pos, center); background-size: cover; will-change: transform; animation: kenBurns 18s ease-in-out infinite alternate; }
.fx-photo .ab-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 62%); background-size: 250% 100%; animation: sheen 7s ease-in-out infinite; }
.fx-photo .ab-orbit { position: absolute; right: 2%; top: 6%; width: 34%; height: 88%; pointer-events: none; overflow: visible; z-index: 1; }
.fx-photo .ab-orbit path { fill: none; stroke: var(--terra); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 9 11; animation: flow 5s linear infinite; opacity: .7; }
.fx-photo .ab-orbit circle { fill: var(--forest-300); opacity: .45; }
.fx-photo .ab-ic { position: absolute; right: 7%; width: clamp(46px, 11%, 64px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.20); z-index: 2; }
.fx-photo .ab-ic svg { width: 54%; height: 54%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-photo .ic1 { top: 16%; background: var(--sage); color: var(--forest); animation: popIn .5s ease-out .1s both, floatY 4.2s ease-in-out 1s infinite; }
.fx-photo .ic2 { top: 42%; background: var(--sage-soft); color: var(--forest); animation: popIn .5s ease-out .25s both, floatY 4.2s ease-in-out 1.6s infinite; }
.fx-photo .ic3 { top: 68%; background: var(--forest); color: #fff; animation: popIn .5s ease-out .4s both, floatY 4.2s ease-in-out 2.2s infinite; }
.fx-photo .ic2 svg { animation: heartbeat 1.8s ease-in-out infinite; transform-origin: center; }
/* Wide/banner variant: spread icons along the bottom instead of stacking on the right */
.fx-photo.fx-wide .ab-orbit { right: auto; left: 4%; top: auto; bottom: 4%; width: 92%; height: 34%; }
.fx-photo.fx-wide .ab-ic { right: auto; top: auto; bottom: 14%; }
.fx-photo.fx-wide .ic1 { left: 7%; }
.fx-photo.fx-wide .ic2 { left: 50%; margin-left: -28px; }
.fx-photo.fx-wide .ic3 { right: 7%; }
/* On the short banner, move the caption to the top so it never collides with the bottom icons */
.fx-photo.fx-wide .cap { top: 16px; bottom: auto; }
.fx-photo.fx-wide::after { background: linear-gradient(180deg, rgba(8,20,15,.6), transparent 42%, transparent 66%, rgba(8,20,15,.5)); }
@media (max-width: 600px) {
  .fx-photo.fx-wide { aspect-ratio: 16 / 9 !important; }
  .fx-photo.fx-wide .ab-ic { width: 38px; }
  .fx-photo.fx-wide .ic2 { margin-left: -19px; }
  .fx-photo.fx-wide .cap { font-size: .82rem; }
}
@keyframes kenBurns { 0% { transform: scale(1) translate(0,0); } 100% { transform: scale(1.12) translate(-2%,-1.5%); } }
@keyframes sheen { 0% { background-position: 120% 0; } 55%,100% { background-position: -40% 0; } }
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.4) translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes heartbeat { 0%,100% { transform: scale(1); } 14% { transform: scale(1.18); } 28% { transform: scale(1); } 42% { transform: scale(1.12); } 56% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .fx-photo .ab-img, .fx-photo .ab-sheen, .fx-photo .ab-orbit path, .fx-photo .ab-ic, .fx-photo .ic2 svg { animation: none; opacity: 1; transform: none; }
}

/* Animated gradient headline highlight */
@keyframes shimmer { to { background-position: 200% center; } }
.hl { background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }

/* Moving trust marquee */
.trust { overflow: hidden; }
.trust .marquee { display: flex; }
.trust .marquee-track { display: flex; flex: none; align-items: center; gap: 16px 34px; padding: 20px 17px; white-space: nowrap; animation: scrollx 32s linear infinite; }
.trust:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Buttons get a soft sheen sweep */
.btn-accent { position: relative; overflow: hidden; }
.btn-accent::before { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); transition: left .6s var(--ease); }
.btn-accent:hover::before { left: 130%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hl { color: var(--forest) !important; -webkit-text-fill-color: currentColor; }
}

/* ============================================================
   PREMIUM POLISH LAYER
   ============================================================ */

/* Scroll progress bar (injected by main.js) */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--forest), var(--terra)); box-shadow: 0 0 10px rgba(255,107,2,.4); transition: width .12s linear; }

/* Fine grain texture for depth */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Premium cards — gradient accent line + glow on hover */
.card { position: relative; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, var(--forest), var(--terra)); opacity: 0; transition: opacity .35s var(--ease);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; }
.card:hover { box-shadow: 0 20px 50px rgba(16,24,40,.12); }
.card:hover::before { opacity: .55; }

/* Icon tiles react on card hover */
.tile { transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.card:hover .tile, .feat:hover .tile { transform: translateY(-3px) scale(1.06); box-shadow: 0 10px 22px rgba(17,100,63,.18); }

/* Pulsing eyebrow dot */
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,107,2,.5); } 50% { box-shadow: 0 0 0 5px rgba(255,107,2,0); } }
.eyebrow::before { animation: pulse 2.6s ease-in-out infinite; }

/* Gradient accent under section headings */
.sec-head h2 { position: relative; display: block; }
.sec-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--forest), var(--terra)); }
.sec-head.left h2::after { margin-left: 0; }

/* Primary button subtle gradient depth */
.btn-primary { background-image: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.06)); }

/* Polished focus states */
a:focus-visible, .btn:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

/* Selection */
::selection { background: var(--sage); color: var(--forest-700); }

/* Animated drift for ambient hero glows */
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-18px, 14px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1150px) { .nav-phone { display: none; } }
@media (max-width: 1180px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; margin: 0; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 16px; gap: 2px; box-shadow: var(--shadow-md); max-height: calc(100vh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-links.open a { padding: 13px 14px; font-size: 1rem; }
  .nav-links.open a { color: var(--ink-soft); text-shadow: none; }
  .nav-links.open a:hover { color: var(--forest); background: transparent; }
  .nav-links.open a.active { color: var(--terra); background: transparent; }
  .nav-links.open a.active::after { display: none; }
  .nav-links.open .mega-col a.active { color: var(--terra); font-weight: 700; }
}
@media (max-width: 880px) { .lead-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band, .lead-card { padding: 28px 22px; }
}

/* ---------- Image banner homepage ---------- */
.hero, .hero2 {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 150px 0 86px !important;
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,54,46,.60), rgba(0,54,46,.32) 44%, rgba(0,54,46,.00) 100%),
    url("banner-r.jpg") center 38%/cover no-repeat !important;
}
.hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(0,54,46,.88), rgba(0,54,46,.56) 48%, rgba(0,54,46,.12)), url("rehab-home-6.jpg") center/cover no-repeat !important;
}
.hero::after, .hero2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 1 !important;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.00) 44%, rgba(0,0,0,.18)) !important;
  -webkit-mask: none !important;
  mask: none !important;
}
.hero h1, .hero2 h1,
.hero .lede, .hero2 .lede,
.hero-meta, .hero2-note { color: #fff !important; text-shadow: 0 2px 18px rgba(0,0,0,.24); }
.hero-meta .av { display: none !important; }
.hero .eyebrow, .hero2 .eyebrow {
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.28);
  box-shadow: none;
}
.hero .hl, .hero2 .hl {
  background-image: linear-gradient(100deg, #fff, #f5821f, #fff) !important;
}
.hero-media, .hero-media2 { display: none !important; }
.hero-grid { grid-template-columns: minmax(0, 720px) !important; }
.hero-media .float, .hero-media2 .float { background: rgba(255,255,255,.94); }
.hero .btn-ghost, .hero2 .btn-ghost { background: rgba(255,255,255,.92); }
.cta-band { background: linear-gradient(145deg, var(--forest), var(--forest-700)); }

@media (min-width: 1280px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(0,54,46,.58), rgba(0,54,46,.30) 44%, rgba(0,54,46,.00) 100%),
      url("banner-r.jpg") center 34%/cover no-repeat !important;
  }
}

@media (max-width: 640px) {
  .brand-logo { width: 164px; height: 54px; }
  .nav { height: 72px; }
  .nav-links.open { top: 72px; }
  .site-header .btn { display: none; }
  .hero, .hero2 { min-height: 660px; padding-top: 120px !important; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(0,54,46,.66), rgba(0,54,46,.42) 58%, rgba(0,54,46,.12) 100%),
      url("banner-r.jpg") 42% center/cover no-repeat !important;
  }
  .page-hero { min-height: 360px; padding-top: 122px !important; }
}

.mobile-bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 150;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px 6px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 44px rgba(16,24,40,.18);
  backdrop-filter: blur(14px);
}
.mobile-bottom-nav a {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 7px 2px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.05;
}
.mobile-bottom-nav a span {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--forest);
}
.mobile-bottom-nav a small {
  font-size: .58rem;
  line-height: 1.05;
  text-align: center;
}
.mobile-bottom-nav a.active {
  background: var(--sage-soft);
  color: var(--forest);
}
@media (max-width: 760px) {
  body { padding-bottom: 74px; }
  .mobile-bottom-nav { display: grid; }
}

/* ---------- Insurance / accepted-payer badges ---------- */
.payer-strip { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.payer-strip.center { justify-content: center; }
.payer { display: inline-flex; flex-direction: column; justify-content: center; gap: 3px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 24px;
  box-shadow: var(--shadow-sm); min-width: 150px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.payer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.payer small { font-family: var(--body); font-weight: 600; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.payer b { font-family: var(--display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; color: #0b2a5b; line-height: 1.1; }
.payer.uhc b { color: #0a5ca8; }
.payer.adv b { color: var(--forest); }
.payer.most b { color: var(--terra); }
.ins-accept { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px,4vw,44px); }
.ins-accept .lede { margin-bottom: 24px; }
