/* ==========================================================
   Neuro Trauma Institute — Design System
   ========================================================== */
:root {
  --navy: #0B192C;
  --navy-2: #12243B;
  --navy-3: #1B3150;
  --teal: #218B9C;
  --teal-dark: #1A7180;
  --teal-light: #5FB7C4;
  --platinum: #E7EDF3;
  --platinum-2: #F4F7FA;
  --white: #FFFFFF;
  --ink: #0B192C;
  --text: #33445A;
  --muted: #64748B;
  --line: #D5DEE8;
  --line-dark: rgba(255,255,255,.12);
  --radius: 3px;
  --container: 1280px;
  --font-head: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --header-h: 84px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.2em; padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem; letter-spacing: .01em;
  padding: 15px 26px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
  white-space: nowrap; line-height: 1.2;
}
.btn i { font-size: .8em; transition: transform .25s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .85rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 8px; }
.text-link i { font-size: .75em; transition: transform .25s var(--ease); }
.text-link:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.7); font-size: .8rem; border-bottom: 1px solid var(--line-dark); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a { color: rgba(255,255,255,.78); margin-left: 26px; font-weight: 500; }
.topbar a:hover, .topbar a.active { color: #fff; }
.topbar-tag { letter-spacing: .04em; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 30px rgba(11,25,44,.08); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 18px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); flex-shrink: 0; }
.logo img { width: 44px; height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; }
.logo-text span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; margin-top: 4px; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px; padding: 10px 9px; font-family: var(--font-head);
  font-weight: 600; font-size: .88rem; color: var(--navy); background: none; border: 0; cursor: pointer; height: var(--header-h);
}
.nav-link i { font-size: .62rem; opacity: .6; transition: transform .2s; }
.nav-link:hover, .nav-link.active { color: var(--teal-dark); }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--teal); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 340px;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--teal);
  box-shadow: 0 24px 60px rgba(11,25,44,.14); padding: 14px; opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dropdown.wide { min-width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.nav-item:hover .dropdown, .nav-item.open .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-label { grid-column: 1 / -1; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 6px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 2px; color: var(--navy); }
.dropdown a strong { display: block; font-family: var(--font-head); font-size: .9rem; font-weight: 700; }
.dropdown a span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.dropdown a:hover { background: var(--platinum-2); }
.dropdown a:hover strong { color: var(--teal-dark); }
.dropdown .dropdown-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--teal-dark); }
.header-actions { display: flex; gap: 8px; flex-shrink: 0; }
.header-actions .btn-sm { padding: 11px 15px; font-size: .82rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); width: 46px; height: 46px; border-radius: var(--radius); cursor: pointer; color: var(--navy); font-size: 1.1rem; margin-left: auto; }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--navy); color: #fff; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-nav.open { transform: none; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line-dark); }
.mobile-nav-head .logo { color: #fff; }
.mobile-close { background: none; border: 1px solid var(--line-dark); color: #fff; width: 44px; height: 44px; border-radius: var(--radius); font-size: 1.1rem; cursor: pointer; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 24px; }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav a, .mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary i { transform: rotate(180deg); }
.mobile-nav details ul { padding: 0 0 12px 12px; }
.mobile-nav details li { border: 0; }
.mobile-nav details a { font-size: .95rem; padding: 9px 0; color: rgba(255,255,255,.75); font-weight: 500; }
.mobile-nav-actions { padding: 24px; display: grid; gap: 12px; margin-top: auto; }
body.nav-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-gray { background: var(--platinum-2); }
.section-platinum { background: var(--platinum); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.76); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark a:not(.btn) { color: var(--teal-light); }
.neural-bg::before { content: ""; position: absolute; inset: 0; background: url("../images/neural-pattern.svg") repeat; background-size: 420px; opacity: .35; pointer-events: none; }
.neural-bg > * { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--teal-light); }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--text); }
.section-dark .lead { color: rgba(255,255,255,.8); }
.section-head { max-width: 780px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.section-head-row .section-head { margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-60 { grid-template-columns: 1.15fr .85fr; }
.split-40 { grid-template-columns: .85fr 1.15fr; }
.align-start { align-items: start; }

.media { position: relative; overflow: hidden; background: var(--platinum); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-tall { aspect-ratio: 4 / 5; }
.media-wide { aspect-ratio: 3 / 2; }
.media-frame { position: relative; }
.media-frame::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 45%; height: 45%; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); pointer-events: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; min-height: calc(100vh - var(--header-h) - 40px); min-height: 720px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,25,44,.96) 0%, rgba(11,25,44,.82) 40%, rgba(11,25,44,.2) 75%, rgba(11,25,44,.1) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 100px; padding-bottom: 120px; }
.hero-content { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--teal-light); }
.hero-sub { font-size: 1.25rem; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 600px; margin-bottom: 44px; }
.hero-meta { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; border-top: 1px solid var(--line-dark); }
.hero-meta .container { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 32px; }
.hero-meta div { padding: 22px 0; font-family: var(--font-head); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); display: flex; align-items: center; gap: 12px; }
.hero-meta div i { color: var(--teal-light); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; }
.page-hero-content { padding: 90px 64px 90px 0; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-bottom: 24px; }
.page-hero .lead { color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 600px; }
.page-hero-media { position: relative; margin-right: calc((100vw - min(100vw, var(--container))) / -2 - 32px); }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,25,44,0) 30%); z-index: 1; }
.page-hero.simple .page-hero-content { padding: 100px 0 90px; max-width: 860px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 28px; list-style: none; padding: 0; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }

/* ---------- Specialty cards ---------- */
.specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.specialty { background: #fff; display: flex; flex-direction: column; color: var(--text); transition: background .3s; }
.specialty .media { aspect-ratio: 16 / 10; }
.specialty .media img { transition: transform .8s var(--ease); }
.specialty:hover .media img { transform: scale(1.04); }
.specialty-body { padding: 34px 34px 38px; display: flex; flex-direction: column; flex: 1; }
.specialty-num { font-family: var(--font-head); font-size: .78rem; font-weight: 700; color: var(--teal); letter-spacing: .14em; margin-bottom: 14px; }
.specialty h3 { font-size: 1.32rem; margin-bottom: 12px; transition: color .2s; }
.specialty p { font-size: .97rem; flex: 1; }
.specialty:hover h3 { color: var(--teal-dark); }

/* ---------- Symptoms ---------- */
.symptom-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.symptom { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; background: #fff; transition: background .25s; }
.symptom:hover { background: var(--platinum-2); }
.symptom i { color: var(--teal); font-size: 1.05rem; margin-top: 4px; width: 22px; text-align: center; flex-shrink: 0; }
.symptom span { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1rem; line-height: 1.4; }
.symptom-cta { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 36px 40px; background: var(--navy); color: rgba(255,255,255,.8); }
.symptom-cta h3 { color: #fff; margin-bottom: 6px; }
.symptom-cta p { margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.process-step { padding: 0 32px 0 0; position: relative; }
.process-step .step-num { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.2px var(--teal); line-height: 1; margin-bottom: 26px; display: block; }
.process-step::before { content: ""; position: absolute; top: 28px; left: 96px; right: 24px; height: 1px; background: var(--line); }
.section-dark .process-step::before { background: var(--line-dark); }
.process-step:last-child::before { display: none; }
.process-step h3 { font-size: 1.2rem; }
.process-step p { font-size: .97rem; margin: 0; }
.process.vertical { grid-template-columns: 1fr; gap: 0; }
.process.vertical .process-step { display: grid; grid-template-columns: 90px 1fr; padding: 28px 0; border-top: 1px solid var(--line); }
.process.vertical .process-step::before { display: none; }
.process.vertical .step-num { font-size: 2.2rem; margin: 0; }

/* ---------- Integrated care diagram ---------- */
.care-model { position: relative; aspect-ratio: 1; max-width: 540px; margin: 0 auto; width: 100%; }
.care-model svg.links { position: absolute; inset: 0; width: 100%; height: 100%; }
.care-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--teal); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 12px; box-shadow: 0 0 0 14px rgba(33,139,156,.14), 0 0 0 30px rgba(33,139,156,.06); }
.care-core strong { font-family: var(--font-head); font-size: 1.02rem; line-height: 1.25; }
.care-core span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-top: 6px; }
.care-node { position: absolute; transform: translate(-50%,-50%); background: var(--navy-2); border: 1px solid rgba(95,183,196,.4); color: #fff; padding: 12px 16px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-align: center; width: 31%; line-height: 1.3; }
.care-node i { display: block; color: var(--teal-light); margin-bottom: 6px; font-size: 1rem; }
.integration-list { list-style: none; padding: 0; margin: 32px 0 0; }
.integration-list li { padding: 18px 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.integration-list li strong { color: #fff; font-family: var(--font-head); display: block; margin-bottom: 2px; }
.integration-list li i { color: var(--teal-light); margin-top: 6px; }
.integration-list li span { font-size: .95rem; }

/* ---------- Checklists & features ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 11px; color: var(--teal); font-size: .85rem; }
.section-dark .checklist li { border-color: var(--line-dark); }
.checklist.two-col { columns: 2; column-gap: 40px; }
.checklist.two-col li { break-inside: avoid; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 36px 32px 36px 0; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.feature:not(:nth-child(3n+1)) { padding-left: 32px; }
.feature i { color: var(--teal); font-size: 1.3rem; margin-bottom: 18px; display: block; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; margin: 0; }
.section-dark .feature { border-color: var(--line-dark) !important; }

.info-card { background: #fff; border: 1px solid var(--line); padding: 36px; height: 100%; }
.info-card h3 { font-size: 1.18rem; }
.info-card .icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--platinum); color: var(--teal-dark); margin-bottom: 22px; font-size: 1.1rem; }
.info-card p:last-child, .info-card ul:last-child { margin-bottom: 0; }
.info-card ul { padding-left: 1.1em; font-size: .97rem; }

/* ---------- Service page body ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; align-items: start; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { font-size: 1.04rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy); color: rgba(255,255,255,.78); padding: 34px; }
.aside-card h3 { color: #fff; font-size: 1.15rem; }
.aside-card dl { margin: 0 0 26px; }
.aside-card dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); font-weight: 700; margin-top: 16px; }
.aside-card dd { margin: 4px 0 0; font-size: .95rem; color: #fff; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tag-list li { border: 1px solid var(--line); background: #fff; padding: 10px 16px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.tag-list a { color: inherit; }
.tag-list li:hover { border-color: var(--teal); }

.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--teal); line-height: 1.2; }
.steps-list h3 { margin: 0 0 6px; font-size: 1.15rem; }
.steps-list p { margin: 0; font-size: 1rem; }

.note { border-left: 3px solid var(--teal); background: var(--platinum-2); padding: 24px 28px; font-size: .95rem; margin: 32px 0; }
.note strong { color: var(--navy); font-family: var(--font-head); display: block; margin-bottom: 6px; }
.note p:last-child { margin-bottom: 0; }
.section-dark .note { background: var(--navy-2); color: rgba(255,255,255,.8); }
.section-dark .note strong { color: #fff; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.1rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--teal); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--teal-dark); }
.faq .faq-body { padding: 0 50px 26px 0; }
.faq .faq-body p:last-child { margin: 0; }

/* Related cards */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { display: block; border: 1px solid var(--line); padding: 30px; background: #fff; color: var(--text); transition: border-color .25s, transform .3s var(--ease); }
.related-card:hover { border-color: var(--teal); transform: translateY(-3px); color: var(--text); }
.related-card .label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); font-weight: 700; }
.related-card h3 { font-size: 1.12rem; margin: 10px 0 8px; }
.related-card p { font-size: .92rem; margin: 0 0 14px; }

/* Index list (hub pages) */
.hub-list { border-top: 1px solid var(--line); }
.hub-item { display: grid; grid-template-columns: 280px 1fr auto; gap: 48px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.hub-item .media { aspect-ratio: 3/2; }
.hub-item h3 { font-size: 1.5rem; margin-bottom: 10px; }
.hub-item p { margin: 0; max-width: 640px; }
.hub-item .arrow { width: 54px; height: 54px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: all .25s; }
.hub-item:hover .arrow { background: var(--teal); border-color: var(--teal); color: #fff; }
.hub-item:hover h3 { color: var(--teal-dark); }
.hub-item.no-media { grid-template-columns: 70px 1fr auto; }
.hub-item .hub-num { font-family: var(--font-head); font-weight: 800; color: var(--teal); font-size: 1.2rem; }

/* Referral section */
.referral-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: rgba(255,255,255,.78); }
.referral-panel .media { min-height: 100%; }
.referral-panel-body { padding: 80px 72px; }
.referral-panel h2 { color: #fff; }

/* CTA band */
.cta-band { position: relative; background: var(--navy); color: rgba(255,255,255,.8); overflow: hidden; padding: 120px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../images/neural-pattern.svg") repeat; background-size: 420px; opacity: .3; }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(33,139,156,.28), transparent); }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; }
.cta-band h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); margin-bottom: 18px; }
.cta-band p { font-size: 1.15rem; margin: 0; max-width: 560px; }
.cta-band .btn-group { justify-content: flex-end; }
.cta-band .tagline { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-light); font-weight: 700; font-family: var(--font-head); margin-bottom: 20px; display: block; }

/* Provider bios */
.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.provider-card { border: 1px solid var(--line); background: #fff; }
.provider-photo { aspect-ratio: 4/5; background: var(--platinum); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.provider-photo img { width: 100%; height: 100%; object-fit: cover; }
.provider-photo .placeholder-mark { width: 84px; opacity: .5; }
.provider-body { padding: 28px; }
.provider-body .role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); font-weight: 700; }
.provider-body h3 { margin: 8px 0 10px; font-size: 1.2rem; }
.provider-body p { font-size: .94rem; margin: 0; }
.provider-empty { border: 1px dashed var(--line); padding: 48px; text-align: center; background: #fff; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); padding: 48px; box-shadow: 0 30px 80px rgba(11,25,44,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: var(--teal-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink); padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--platinum-2); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(33,139,156,.15); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; display: block; }
.field.invalid input, .field.invalid select { border-color: #B4413A; }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; line-height: 1.55; }
.check-field input { margin-top: 4px; accent-color: var(--teal); width: 17px; height: 17px; flex-shrink: 0; }
.form-notice { display: flex; gap: 14px; background: var(--platinum-2); border-left: 3px solid var(--teal); padding: 18px 20px; font-size: .88rem; margin-bottom: 28px; line-height: 1.55; }
.form-notice i { color: var(--teal-dark); margin-top: 3px; }
.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-status { margin-top: 20px; padding: 16px 20px; font-size: .94rem; display: none; }
.form-status.success { display: block; background: #E6F4F1; border-left: 3px solid var(--teal); color: var(--navy); }
.form-status.error { display: block; background: #FBECEB; border-left: 3px solid #B4413A; color: #6E2520; }
.portal-box { border: 1px solid var(--line-dark); background: var(--navy-2); padding: 36px; color: rgba(255,255,255,.78); }
.portal-box h3 { color: #fff; }
.portal-box .status-pill { display: inline-flex; gap: 8px; align-items: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--teal-light); border: 1px solid rgba(95,183,196,.4); padding: 6px 12px; margin-bottom: 18px; }

.btn.is-disabled { opacity: .55; pointer-events: none; }
[hidden] { display: none !important; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list i { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--platinum); color: var(--teal-dark); }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--navy); }

/* Legal */
.legal h2 { font-size: 1.6rem; margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }

/* Tabs for resources nav */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 18px 16px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--teal-dark); border-color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: #07111F; color: rgba(255,255,255,.62); font-size: .92rem; }
.footer-top { padding: 90px 0 60px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 24px; }
.footer-brand p { max-width: 320px; }
.footer-tagline { font-family: var(--font-head); color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.4; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.62); }
.site-footer a:hover { color: #fff; }
.footer-disclaimer { border-top: 1px solid var(--line-dark); padding: 28px 0; font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.48); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .8rem; }
.footer-bottom nav a { margin-left: 22px; }
.emergency-bar { background: var(--teal-dark); color: #fff; font-size: .86rem; padding: 12px 0; text-align: center; }
.emergency-bar strong { font-family: var(--font-head); }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; } .reveal-delay-2 { transition-delay: .2s; } .reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .section { padding: 90px 0; }
  .split, .split-60, .split-40 { grid-template-columns: 1fr; gap: 56px; }
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .process-step:nth-child(2)::before { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .related-grid, .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature { padding: 32px 24px !important; border-right: 0 !important; }
  .content-grid { grid-template-columns: 1fr; gap: 56px; }
  .aside-card { position: static; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { margin: 0 -32px; min-height: 320px; order: -1; }
  .page-hero-media::before { background: linear-gradient(0deg, var(--navy) 0%, rgba(11,25,44,0) 45%); }
  .page-hero-content { padding: 40px 0 80px; }
  .referral-panel { grid-template-columns: 1fr; }
  .referral-panel .media { aspect-ratio: 16/9; }
  .referral-panel-body { padding: 60px 40px; }
  .cta-band .container { grid-template-columns: 1fr; align-items: start; }
  .cta-band .btn-group { justify-content: flex-start; }
  .hero-meta .container { grid-template-columns: repeat(2, 1fr); }
  .hub-item { grid-template-columns: 200px 1fr auto; gap: 28px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .topbar-links { display: none; }
  .topbar .container { justify-content: center; }
  :root { --header-h: 72px; }
  .logo img { width: 38px; height: 38px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero .container { padding-top: 72px; padding-bottom: 56px; }
  .hero-meta { position: relative; z-index: 1; }
  .hero-meta .container { padding-top: 0; padding-bottom: 0; }
  .hero-bg img { object-position: 78% center; opacity: .65; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(11,25,44,.6) 0%, rgba(11,25,44,.92) 70%); }
  .hero-sub { font-size: 1.08rem; }
  .hero-meta div { padding: 14px 0; font-size: .7rem; }
  .btn-group .btn { flex: 1 1 100%; }
  .specialty-grid, .symptom-grid, .grid-2, .grid-3, .grid-4, .related-grid, .provider-grid, .feature-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 40px; }
  .process-step::before { display: none; }
  .symptom-cta { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .checklist.two-col { columns: 1; }
  .hub-item, .hub-item.no-media { grid-template-columns: 1fr; gap: 18px; }
  .hub-item .arrow { display: none; }
  .referral-panel-body { padding: 48px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom nav a { margin: 0 18px 0 0; }
  .page-hero-media { margin: 0 -22px; min-height: 240px; }
  .page-hero.simple .page-hero-content { padding: 72px 0 64px; }
  .media-frame::after { display: none; }
  .care-node { font-size: .7rem; padding: 8px; }
  .care-node i { display: none; }
  .care-core strong { font-size: .8rem; }
  .care-core span { display: none; }
  .steps-list li { grid-template-columns: 48px 1fr; }
  .cta-band { padding: 80px 0; }
}
