/* Clearway Pain Solutions - design system
   Editorial healthcare: brand red + purple, generous whitespace, tactile tiles. */

:root {
  --red: #E63329;
  --red-hover: #C9231A;
  --red-light: #FFF0EF;
  --purple: #5B2D8E;
  --purple-hover: #472172;
  --purple-light: #F3EFFF;
  --ink: #1E2A3A;
  --charcoal: #2A3A52;
  --blue: #1F4E8C;
  --blue-light: #EAF2FC;
  --muted: #71717A;
  --bg: #FFFFFF;
  --bg-alt: #F4F8FD;
  --border: #E2E8F0;
  --radius-btn: 8px;
  --radius-card: 12px;
  --radius-tile: 16px;
  --shadow-soft: 0 1px 3px rgba(24,24,27,.06), 0 4px 14px rgba(24,24,27,.05);
  --shadow-lift: 0 8px 30px rgba(24,24,27,.10);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --container: 1240px;
  --bottombar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bottombar-h);
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; color: #3f3f46; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-hover); }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.over-label {
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--purple); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.over-label::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: var(--radius-btn); border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease-out), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
  text-decoration: none; line-height: 1; min-height: 44px; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary { background: var(--red); color: #fff !important; }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230,51,41,.28); }
.btn-secondary { background: #fff; color: var(--purple) !important; border-color: var(--purple); }
.btn-secondary:hover { background: var(--purple-light); transform: translateY(-2px); }
.btn-dark { background: var(--blue); color: #fff !important; }
.btn-dark:hover { background: #1a4278; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink) !important; border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Announcement + utility bar ---------- */
.announce {
  background: linear-gradient(90deg, var(--red), var(--purple));
  color: #fff; font-size: .8rem; text-align: center; padding: 7px 16px; position: relative;
}
.announce a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.announce .announce-dismiss {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; cursor: pointer; font-size: 1rem; padding: 2px 8px; opacity: .85;
}
.announce .announce-dismiss:hover { opacity: 1; }

.utility {
  background: var(--blue); color: #cfe0f4; font-size: .76rem;
}
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.utility a { color: #e6effb; font-weight: 500; padding: 4px 2px; white-space: nowrap; }
.utility a:hover { color: #fff; }
.utility-links a span { display: none; }
@media (min-width: 700px) { .utility-links a span { display: inline; } }
.utility a:hover { color: #fff; }
.utility-links { display: flex; gap: 20px; align-items: center; }
.utility-links a { display: inline-flex; align-items: center; gap: 6px; }
.utility-links a svg { width: 14px; height: 14px; }
.utility-note { display: none; }
@media (min-width: 900px) { .utility-note { display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; font-size: .72rem; text-transform: uppercase; color: #fff; white-space: nowrap; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.main-nav { display: none; align-items: center; gap: 2px; margin-left: 6px; flex: 1; }
@media (min-width: 1060px) { .main-nav { display: flex; } }

.nav-item { position: relative; }
/* Bridge the gap so the pointer can travel from trigger into the panel */
.nav-item::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1060px) {
  .nav-item:hover::after { display: block; }
  .nav-item:hover .dropdown { display: block; animation: dropIn .28s var(--ease-out); }
  .nav-item:hover > .nav-link { background: var(--purple-light); color: var(--purple); }
  .nav-item:hover > .nav-link .chev { transform: rotate(180deg); }
}
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink);
  padding: 10px 13px; border-radius: 8px; background: none; border: 0; cursor: pointer;
  transition: background-color .18s, color .18s; white-space: nowrap;
}
.nav-link:hover, .nav-item.open > .nav-link { background: var(--purple-light); color: var(--purple); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 560px;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lift);
  padding: 22px; display: none; z-index: 110;
}
.nav-item.open .dropdown { display: block; animation: dropIn .28s var(--ease-out); }
@keyframes dropIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dropdown.wide { min-width: 720px; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.dd-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.dd-tile {
  display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink);
  transition: background-color .15s;
}
.dd-tile:hover { background: var(--bg-alt); }
.dd-tile .dd-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: var(--purple-light); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
}
.dd-tile .dd-icon svg { width: 19px; height: 19px; }
.dd-tile strong { display: block; font-family: var(--font-head); font-size: .88rem; font-weight: 700; line-height: 1.25; }
.dd-tile span { display: block; font-size: .76rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.dd-footer { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dd-footer a { font-family: var(--font-head); font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dd-search { margin-bottom: 14px; }
.dd-search form { display: flex; gap: 8px; }
.dd-search input { flex: 1; min-width: 0; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-phone { display: none; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }
@media (min-width: 1200px) { .header-phone { display: inline-flex; } }
.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 10px 14px; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  cursor: pointer; color: var(--ink); margin-left: auto; white-space: nowrap;
}
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 1060px) { .menu-btn { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: #fff; display: none; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.open { display: flex; }
body.menu-open { overflow: hidden; }
.mm-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 2; }
.mm-head img { height: 38px; }
.mm-close { background: var(--bg-alt); border: 0; width: 44px; height: 44px; border-radius: 10px; font-size: 1.3rem; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.mm-actions { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 18px 20px 8px; }
.mm-actions .btn { padding: 14px 16px; font-size: .95rem; white-space: nowrap; }
.mm-group { border-bottom: 1px solid var(--border); }
.mm-group-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 17px 20px; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); text-align: left;
}
.mm-group-head .chev { width: 18px; height: 18px; max-width: 18px; max-height: 18px; flex-shrink: 0; transition: transform .25s var(--ease-out); color: var(--muted); }
.mm-group-head svg { width: 18px; height: 18px; max-width: 18px; max-height: 18px; flex-shrink: 0; }
.mm-group.open .mm-group-head .chev { transform: rotate(180deg); }
.mm-group-body { display: none; padding: 0 20px 16px; }
.mm-group.open .mm-group-body { display: block; }
.mm-group-body a { display: block; padding: 10px 4px; color: var(--ink); font-size: .95rem; font-weight: 500; border-radius: 8px; }
.mm-group-body a:hover { background: var(--purple-light); }
.mm-plain { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); border-bottom: 1px solid var(--border); }
.mm-foot { padding: 20px; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; background: var(--bg-alt); }
.mm-foot a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.mm-foot a svg { width: 17px; height: 17px; color: var(--purple); flex-shrink: 0; }

/* ---------- Hero (full-bleed banner) ---------- */
.hero-banner { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.hero-banner-bg { position: absolute; inset: 0; z-index: 0; }
.hero-banner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.hero-banner-bg.video-on img { display: none; }
.hero-banner-bg.video-on .hero-video { display: block; }
.hero-banner-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,42,58,.82) 0%, rgba(31,78,140,.62) 46%, rgba(31,78,140,.28) 100%); }
.hero-banner-inner { position: relative; z-index: 2; padding: 72px 20px 120px; }
@media (min-width: 768px) { .hero-banner-inner { padding: 84px 32px 130px; } }
.hero-banner-content { max-width: 640px; }
.hero-banner .hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px); border-radius: 999px; padding: 8px 16px; font-family: var(--font-head); font-weight: 700; font-size: .76rem;
  color: #fff; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.hero-banner h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.04; }
.hero-banner h1 .line { display: block; overflow: hidden; }
.hero-banner h1 .line > span { display: inline-block; transform: translateY(110%); }
.hero-banner h1 .accent { color: var(--red); }
.hero-banner .hero-sub { font-size: 1.08rem; max-width: 32rem; margin: 20px 0 30px; color: rgba(255,255,255,.92); }
.hero-search {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 7px 7px 7px 18px;
  box-shadow: 0 12px 34px rgba(20,32,50,.28); max-width: 520px;
}
.hero-search-icon { color: var(--blue); display: flex; flex-shrink: 0; }
.hero-search-icon svg { width: 19px; height: 19px; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-family: var(--font-body); font-size: .98rem; color: var(--ink); }
.hero-search input::placeholder { color: #9aa6b5; }
.hero-search-btn {
  flex-shrink: 0; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 13px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; cursor: pointer; transition: background-color .2s, transform .2s;
}
.hero-search-btn:hover { background: var(--red-hover); transform: scale(1.03); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; margin-bottom: 0; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(6px); color: #fff; border-radius: 999px; padding: 9px 17px; font-family: var(--font-head); font-weight: 600; font-size: .84rem;
  transition: background-color .2s, transform .2s;
}
.hero-chip:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); color: #fff; }
.hero-chip svg { width: 15px; height: 15px; }
.hero-banner-proof { position: relative; z-index: 2; background: var(--blue); border-top: 1px solid rgba(255,255,255,.14); }
.hero-proof-inner { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px 20px; padding-top: 20px; padding-bottom: 20px; }
@media (min-width: 640px) { .hero-proof-inner { grid-template-columns: repeat(4,1fr); } }
.hero-proof-inner .proof-item { text-align: center; padding: 8px 6px; }
.hero-proof-inner .proof-item strong { font-family: var(--font-head); font-size: clamp(1.5rem,2.4vw,2rem); font-weight: 800; color: #fff; display: block; line-height: 1; }
.hero-proof-inner .proof-item strong em { color: var(--red); font-style: normal; }
.hero-proof-inner .proof-item span { font-size: .74rem; color: rgba(255,255,255,.82); display: block; margin-top: 5px; }
@media (max-width: 999px) {
  .hero-banner-inner { padding: 72px 20px 150px; }
}
/* ---------- Marquee ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 15px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--red); font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
@media (min-width: 768px) { .section { padding: 110px 0; } }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .over-label { justify-content: center; }
.section-head .lede { font-size: 1.05rem; color: #52525b; margin-bottom: 0; }
.section-head h2 { margin-bottom: 12px; }

/* ---------- Tiles ---------- */
.tile-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 480px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.tile-grid.six { grid-template-columns: 1fr; }
@media (min-width: 640px) { .tile-grid.six { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tile-grid.six { grid-template-columns: repeat(3, 1fr); } }

.tile {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-tile);
  padding: 24px; color: var(--ink); min-height: 44px;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; color: var(--ink); }
.tile .tile-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--purple-light); color: var(--purple);
  display: flex; align-items: center; justify-content: center; transition: background-color .3s, color .3s; flex-shrink: 0;
}
.tile .tile-icon svg { width: 23px; height: 23px; }
.tile:hover .tile-icon { background: var(--red); color: #fff; }
.tile strong { font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.25; }
.tile span { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.tile .tile-arrow {
  position: absolute; top: 18px; right: 18px; width: 26px; height: 26px; border-radius: 8px;
  background: var(--bg-alt); color: var(--muted); display: flex; align-items: center; justify-content: center;
  transition: background-color .25s, color .25s, transform .25s var(--ease-out); flex-shrink: 0;
}
.tile:hover .tile-arrow { background: var(--red); color: #fff; transform: translate(2px, -2px); }
.tile .tile-arrow svg { width: 13px; height: 13px; }
.tile.action { flex-direction: row; align-items: center; padding: 20px 22px; }
.tile.action .tile-icon { flex-shrink: 0; }
.tile.action > span:not(.tile-icon):not(.tile-arrow) { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-right: 26px; }
.tile.action > span:not(.tile-icon):not(.tile-arrow) strong,
.tile.action > span:not(.tile-icon):not(.tile-arrow) span { display: block; }
.tile.red-accent .tile-icon { background: var(--red-light); color: var(--red); }
.tile.red-accent:hover .tile-icon { background: var(--red); color: #fff; }

/* ---------- Patient stories (Hear From Our Patients) ---------- */
.patient-stories .section-head h2 { color: var(--blue); }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .story-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.story-card {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4.2;
  background: var(--blue-light); box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease-out), box-shadow .35s; display: flex; align-items: flex-end;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.story-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.story-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,42,58,0) 42%, rgba(30,42,58,.82) 100%); }
.story-body {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 9px;
  padding: 14px; width: 100%;
}
.story-quote {
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .84rem; line-height: 1.32;
  text-shadow: 0 1px 4px rgba(0,0,0,.45); margin: 0;
}
.story-meta { display: flex; flex-direction: column; gap: 1px; }
.story-name { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .82rem; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.story-loc { color: rgba(255,255,255,.85); font-size: .68rem; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.story-play {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  background: #fff; color: var(--blue); border: 0; border-radius: 999px; padding: 8px 16px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: transform .25s var(--ease-bounce), background-color .2s;
}
.story-play:hover { transform: scale(1.06); background: var(--blue-light); }
.story-play svg { width: 12px; height: 12px; margin-left: 1px; }
.story-card.playing .story-play { background: var(--red); color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 26px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.office-card { display: flex; flex-direction: column; gap: 7px; }
.office-card .oc-type {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple); font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.office-card .oc-type::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.office-card h3 { font-size: 1.12rem; margin-bottom: 2px; line-height: 1.3; }
.office-card h3 a:hover { color: var(--purple); }
.office-card .oc-addr { font-size: .88rem; color: #52525b; margin-bottom: 0; }
.oc-addr-link { color: inherit; text-decoration: none; }
.oc-addr-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.office-card .oc-phone { font-weight: 700; font-size: .92rem; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; margin-top: 2px; }
.office-card .oc-phone svg { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; }
.office-card .oc-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }

/* ---------- Finder ---------- */
.finder { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lift); padding: 24px; }
@media (min-width: 768px) { .finder { padding: 28px; } }
.finder form.finder-form { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 700px) { .finder form.finder-form { flex-direction: row; align-items: stretch; } }
.input, select.input {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-btn);
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(91,45,142,.14); }
.input::placeholder { color: #a1a1aa; }
label.f-label { font-family: var(--font-head); font-weight: 700; font-size: .8rem; display: block; margin-bottom: 6px; color: var(--ink); }
.state-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--border); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  color: var(--ink); cursor: pointer; transition: all .2s; text-decoration: none; min-height: 40px; white-space: nowrap;
}
.chip:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-light); }
.chip.active { background: var(--purple); border-color: var(--purple); color: #fff; }
.chip svg { width: 14px; height: 14px; flex-shrink: 0; }

.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 30px; }
.result-count { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.office-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .office-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .office-grid.three { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Video ---------- */
.video-section { background: var(--blue); color: #fff; border-radius: 24px; overflow: hidden; position: relative; }
.video-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-poster {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(10,10,12,.35); border: 0; width: 100%; transition: background-color .3s;
}
.video-poster:hover { background: rgba(10,10,12,.2); }
.video-poster .play-btn {
  width: 88px; height: 88px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(230,51,41,.5);
  transition: transform .3s var(--ease-bounce);
}
.video-poster:hover .play-btn { transform: scale(1.1); }
.video-poster .play-btn svg { width: 32px; height: 32px; margin-left: 4px; }
.video-caption { padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.video-caption h3 { color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.video-caption p { color: #b9cfec; font-size: .85rem; margin: 0; }

/* ---------- Stats bento ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.bento-cell { min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-tile); padding: 22px 22px;
  position: relative; overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s;
}
.bento-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.bento-cell::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--purple)); }
.bento-cell .stat { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.35rem, 1.6vw, 1.8rem); color: var(--ink); line-height: 1; letter-spacing: -0.01em; }

.bento-cell .stat em { color: var(--red); font-style: normal; }
.bento-cell .stat-label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; margin-top: 10px; line-height: 1.3; }
.bento-cell .stat-detail { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* ---------- Layout with CTA rail ---------- */
.with-rail { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 1080px) { .with-rail { grid-template-columns: minmax(0,1fr) 320px; gap: 44px; } }
.cta-rail { position: static; }
@media (min-width: 1080px) { .cta-rail { position: sticky; top: 98px; } }
.cta-panel { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-soft); }
.cta-panel .over-label { margin-bottom: 10px; }
.cta-panel h3 { font-size: 1.25rem; margin-bottom: 8px; }
.cta-panel .cp-sub { font-size: .85rem; color: #52525b; margin-bottom: 22px; }
.cta-panel .cp-stack { display: flex; flex-direction: column; gap: 12px; }
.cta-panel .cp-call {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--border);
  border-radius: 12px; transition: border-color .2s, background-color .2s;
}
.cta-panel .cp-call:hover { border-color: var(--purple); background: var(--purple-light); }
.cta-panel .cp-call .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--red-light); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-panel .cp-call .ci svg { width: 19px; height: 19px; }
.cta-panel .cp-call strong { display: block; font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cta-panel .cp-call span { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.cta-panel .cp-links { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.cta-panel .cp-links a { font-size: .83rem; font-weight: 600; padding: 7px 2px; display: flex; align-items: center; gap: 8px; }
.cta-panel .cp-links a svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ---------- Mobile bottom CTA bar ---------- */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: #fff;
  border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(24,24,27,.10);
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .mobile-cta { display: none; } }
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 9px 4px; border-radius: 10px; font-family: var(--font-head); font-weight: 700; font-size: .68rem;
  color: var(--ink); min-height: 52px;
}
.mobile-cta a svg { width: 19px; height: 19px; }
.mobile-cta a.mcta-call { color: var(--ink); }
.mobile-cta a.mcta-loc { color: var(--ink); }
.mobile-cta a.mcta-appt { background: var(--red); color: #fff; }
@media (max-width: 899px) {
  :root { --bottombar-h: 76px; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .section { padding: 68px 0; }
  .page-hero { padding: 48px 0 44px; }
  .finder { padding: 22px; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(120deg, var(--blue) 0%, #2b3f7e 60%, var(--purple) 100%); color: #fff; padding: 26px 0 26px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,51,41,.35), transparent 70%);
}
.page-hero .over-label { color: #C9B8E8; margin-bottom: 10px; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 26ch; position: relative; z-index: 2; margin-bottom: .35em; }
.page-hero .lede { color: #d8e6f7; max-width: 44rem; font-size: .95rem; margin-bottom: 0; position: relative; z-index: 2; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .74rem; color: #b9cfec; margin-bottom: 16px; position: relative; z-index: 2; }
.breadcrumb a { color: #e6effb; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { opacity: .5; }

/* ---------- Content prose ---------- */
.prose h2 { font-size: 1.55rem; margin-top: 1.9em; margin-bottom: .55em; }
.prose h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose p { margin-bottom: 1.1em; }
.prose ul { margin: 0 0 1.3em; }
.prose li { color: #3f3f46; margin-bottom: .45em; }
.prose li::marker { color: var(--red); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .form-card { padding: 42px; } }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
textarea.input { min-height: 130px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 8px; margin-bottom: 0; }
.form-success {
  background: #F0FDF4; border: 1.5px solid #86EFAC; border-radius: 14px; padding: 28px; text-align: center;
}
.form-success h3 { color: #166534; }
.form-success p { color: #166534; margin-bottom: 0; }
.form-error-box { background: var(--red-light); border: 1.5px solid #FCA5A5; border-radius: 10px; padding: 14px 18px; color: #991B1B; font-size: .88rem; margin-bottom: 18px; }

/* ---------- Accessibility widget ---------- */
.a11y-fab {
  position: fixed; left: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 95;
  width: 52px; height: 52px; border-radius: 50%; background: var(--purple); color: #fff; border: 0;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(91,45,142,.4); transition: transform .25s var(--ease-bounce), background-color .2s;
}
.a11y-fab:hover { transform: scale(1.08); background: var(--purple-hover); }
.a11y-fab svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .a11y-fab { bottom: 24px; left: 24px; } }
.a11y-panel {
  position: fixed; left: 16px; bottom: calc(150px + env(safe-area-inset-bottom)); z-index: 96; width: min(340px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lift);
  display: none; max-height: min(70vh, 560px); overflow-y: auto;
}
@media (min-width: 900px) { .a11y-panel { left: 24px; bottom: 92px; } }
.a11y-panel.open { display: block; animation: dropIn .25s var(--ease-out); }
.a11y-panel .ap-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 1; }
.a11y-panel .ap-head strong { font-family: var(--font-head); font-size: .95rem; }
.a11y-panel .ap-close { background: var(--bg-alt); border: 0; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; font-size: 1rem; color: var(--ink); }
.a11y-panel .ap-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.a11y-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .84rem; color: var(--ink); transition: all .2s;
}
.a11y-toggle:hover { border-color: var(--purple); }
.a11y-toggle[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.a11y-toggle .sw { width: 34px; height: 19px; border-radius: 999px; background: var(--border); position: relative; flex-shrink: 0; transition: background-color .2s; }
.a11y-toggle .sw::after { content: ""; position: absolute; top: 2.5px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.a11y-toggle[aria-pressed="true"] .sw { background: var(--red); }
.a11y-toggle[aria-pressed="true"] .sw::after { transform: translateX(14px); }
.a11y-size-row { display: flex; gap: 8px; }
.a11y-size-row button { flex: 1; }
.a11y-panel .ap-link { display: block; text-align: center; margin-top: 8px; font-size: .8rem; font-weight: 700; }

/* Accessibility modes */
html.a11y-text-1 body { font-size: 17.6px; }
html.a11y-text-2 body { font-size: 19.2px; }
html.a11y-contrast body { filter: contrast(1.35); }
html.a11y-grayscale body { filter: grayscale(1); }
html.a11y-grayscale.a11y-contrast body { filter: grayscale(1) contrast(1.35); }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }
html.a11y-dyslexia body, html.a11y-dyslexia h1, html.a11y-dyslexia h2, html.a11y-dyslexia h3, html.a11y-dyslexia h4, html.a11y-dyslexia button {
  font-family: Verdana, Arial, sans-serif !important; letter-spacing: .04em; word-spacing: .1em;
}
html.a11y-motion * { animation: none !important; transition: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #d8e6f7; margin-top: 0; }
.footer-cta { background: linear-gradient(120deg, var(--red), var(--purple)); padding: 40px 0; text-align: center; color: #fff; }
.footer-cta h2 { color: #fff; font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.footer-cta p { color: rgba(255,255,255,.85); max-width: 34rem; margin: 0 auto 20px; font-size: .95rem; }
.footer-cta .hero-ctas { justify-content: center; }
.footer-cta .btn-secondary { background: #fff; border-color: #fff; }
.footer-main { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand img { height: 46px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { color: #b9cfec; font-size: .85rem; max-width: 30rem; margin-bottom: 0; }
.footer-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer-col a { display: block; color: #d8e6f7; font-size: .86rem; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 24px 0 calc(24px + var(--bottombar-h)); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: .78rem; color: #b9cfec; }
.footer-bottom a { color: #d8e6f7; }
.footer-bottom a:hover { color: #fff; }
.footer-credit a { color: #fff; white-space: nowrap; }
.footer-credit strong { font-weight: 800; color: #fff; }
.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; } .reveal.d6 { transition-delay: .48s; }
.reveal.d7 { transition-delay: .56s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Reviews / misc ---------- */
.review-card { display: flex; flex-direction: column; gap: 16px; }
.review-card .stars { color: #F59E0B; letter-spacing: 2px; font-size: .95rem; }
.review-card blockquote { margin: 0; font-size: .95rem; color: #3f3f46; line-height: 1.6; }
.review-card footer { font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--muted); }

.article-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.article-card img { width: 100%; height: 180px; object-fit: cover; }
.article-card .ac-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card .ac-tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.article-card h3 { font-size: 1.05rem; line-height: 1.3; margin: 0; }
.article-card p { font-size: .83rem; color: var(--muted); margin: 0; flex: 1; }
.article-card .ac-link { font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--purple); display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.article-card .ac-link svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .25s var(--ease-out); }
.article-card:hover .ac-link svg { transform: translateX(4px); }

.notice-box { background: var(--purple-light); border-left: 4px solid var(--purple); border-radius: 0 12px 12px 0; padding: 20px 24px; font-size: .9rem; color: #3f3f46; }

.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split .split-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lift); }
.split .split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-video-wrap { position: relative; aspect-ratio: 4/3; background: var(--blue); }
.about-video-wrap.yt-wrap { aspect-ratio: 16/9; }
.about-video-wrap.yt-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.about-video-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.about-video-wrap.video-on img { display: none; }
.about-video-wrap.video-on .about-video { display: block; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: #3f3f46; }
.check-list li svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 12px 20px; z-index: 300; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 4px; }

.empty-state { text-align: center; padding: 64px 24px; background: var(--bg-alt); border-radius: 20px; }
.empty-state svg { width: 44px; height: 44px; color: var(--muted); margin: 0 auto 16px; }
.empty-state h3 { margin-bottom: 8px; }


/* ---------- Homepage: improved content blocks ---------- */
/* Action band */
.action-band { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .action-band { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .action-band { grid-template-columns: repeat(4,1fr); gap: 18px; } }
.action-tile {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 24px 24px;
  background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; min-height: 168px;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.action-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }
.action-tile .at-ghost {
  position: absolute; right: -18px; bottom: -22px; width: 108px; height: 108px; color: var(--blue-light);
  transition: color .35s, transform .35s var(--ease-out); pointer-events: none;
}
.action-tile .at-ghost svg { width: 100%; height: 100%; }
.action-tile:hover .at-ghost { color: #DCE9F9; transform: scale(1.08) rotate(-6deg); }
.action-tile .at-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background-color .3s, transform .3s var(--ease-bounce); position: relative; z-index: 1;
}
.action-tile .at-icon svg { width: 24px; height: 24px; }
.action-tile:hover .at-icon { transform: scale(1.08); }
.action-tile .at-text { min-width: 0; position: relative; z-index: 1; }
.action-tile .at-text strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.06rem; line-height: 1.22; color: var(--ink); }
.action-tile .at-text span { display: block; font-size: .8rem; color: var(--muted); margin-top: 5px; line-height: 1.4; }
.action-tile .at-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--blue); position: relative; z-index: 1;
}
.action-tile .at-cta svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.action-tile:hover .at-cta svg { transform: translateX(5px); }
.action-tile.primary { background: linear-gradient(135deg, var(--red) 0%, #B91F17 100%); border-color: transparent; }
.action-tile.primary .at-ghost { color: rgba(255,255,255,.16); }
.action-tile.primary:hover .at-ghost { color: rgba(255,255,255,.24); }
.action-tile.primary .at-icon { background: rgba(255,255,255,.18); }
.action-tile.primary .at-text strong { color: #fff; }
.action-tile.primary .at-text span { color: rgba(255,255,255,.85); }
.action-tile.primary .at-cta { color: #fff; }

/* Stat panel */
.stat-panel { background: var(--blue); border-radius: 22px; padding: 34px 30px; position: relative; overflow: hidden; }
.stat-panel::after { content: ""; position: absolute; right: -70px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(230,51,41,.4), transparent 70%); }
.stat-panel::before { content: ""; position: absolute; left: -60px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%); }
.stat-panel-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2,1fr); gap: 22px 18px; }
@media (min-width: 640px) { .stat-panel-grid { grid-template-columns: repeat(2,1fr); } }
.stat-item { text-align: left; }
.stat-item .stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem,2.6vw,2.5rem); color: #fff; line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.stat-item .stat-num em { color: var(--red); font-style: normal; font-size: .7em; }
.stat-item .stat-lab { font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: #fff; margin-top: 9px; }
.stat-item .stat-sub { font-size: .74rem; color: rgba(255,255,255,.75); margin-top: 3px; line-height: 1.4; }

/* Condition cards (What Hurts) */
.condition-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .condition-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .condition-grid { grid-template-columns: repeat(4,1fr); gap: 16px; } }
.cond-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.cond-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }
.cond-card .cond-num {
  position: absolute; top: 12px; right: 16px; font-family: var(--font-head); font-weight: 800; font-size: 2.1rem;
  color: var(--blue-light); line-height: 1; transition: color .3s; z-index: 0;
}
.cond-card:hover .cond-num { color: rgba(230,51,41,.18); }
.cond-card .cond-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1;
  transition: background-color .3s, color .3s, transform .3s var(--ease-bounce);
}
.cond-card .cond-icon svg { width: 25px; height: 25px; }
.cond-card:hover .cond-icon { background: var(--blue); color: #fff; transform: rotate(-5deg) scale(1.05); }
.cond-card strong { font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.25; color: var(--ink); position: relative; z-index: 1; }
.cond-card > span.cond-blurb { font-size: .8rem; color: var(--muted); line-height: 1.45; position: relative; z-index: 1; flex: 1; }
.cond-card .cond-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--blue); margin-top: 4px; position: relative; z-index: 1; }
.cond-card .cond-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.cond-card:hover .cond-link svg { transform: translateX(4px); }

/* ---------- Our Brands ---------- */
.brand-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .brand-grid { grid-template-columns: repeat(3,1fr); gap: 20px; } }
.brand-card {
  display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; transition: transform .3s var(--ease-out), box-shadow .3s;
}
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.brand-logo { display: flex; align-items: center; justify-content: center; padding: 30px 26px; min-height: 120px; background: #fff; border-bottom: 1px solid var(--border); }
.brand-logo img { max-height: 54px; width: auto; }
.brand-logo .brand-mark { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--blue); letter-spacing: -0.02em; }
.brand-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.brand-body h3 { font-size: 1.15rem; margin: 0; }
.brand-body p { font-size: .87rem; color: #52525b; line-height: 1.55; margin: 0; flex: 1; }
.brand-body .brand-link { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--red); margin-top: 6px; }
.brand-body .brand-link svg { width: 15px; height: 15px; }
.brand-body .brand-link:hover { color: var(--red-hover); }


/* ---------- Finder section (balanced) ---------- */
.finder-split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 960px) { .finder-split { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.finder-split .finder { margin-top: 0; }
.finder-split .finder .state-chips { margin-top: 18px; }
.stat-panel { padding: 36px 34px; }
.stat-panel-grid { gap: 28px 26px; }
@media (min-width: 960px) {
  .stat-panel { display: flex; align-items: center; min-height: 300px; }
  .stat-panel-grid { width: 100%; }
}


/* ---------- Condition detail page (visual) ---------- */
.cond-hero-head { display: flex; align-items: center; gap: 18px; position: relative; z-index: 2; }
.cond-hero-head .over-label { margin-bottom: 6px; }
.cond-hero-head h1 { margin-bottom: 0; }
.cond-hero-icon {
  width: 62px; height: 62px; border-radius: 17px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cond-hero-icon svg { width: 31px; height: 31px; color: #fff; }
.cond-intro-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; margin-bottom: 34px; }
.cond-intro-card .over-label { margin-bottom: 10px; }
.cond-intro-card h2 { margin-top: 0; font-size: 1.45rem; }
.cond-intro-card p:last-child { margin-bottom: 0; }
.cond-section-label { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.cond-section-label .csl-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cond-section-label .csl-icon svg { width: 20px; height: 20px; }
.cond-section-label h2 { margin: 0; font-size: 1.35rem; }
.cond-chip-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 34px; }
@media (min-width: 620px) { .cond-chip-grid { grid-template-columns: 1fr 1fr; } }
.cond-chip {
  display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--border);
  border-radius: 13px; padding: 14px 16px; font-size: .9rem; color: #3f3f46; line-height: 1.45;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.cond-chip:hover { border-color: var(--blue); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.cond-chip .cc-icon { width: 26px; height: 26px; border-radius: 8px; background: var(--red-light); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.cond-chip .cc-icon svg { width: 14px; height: 14px; }
.cond-chip.blue .cc-icon { background: var(--blue-light); color: var(--blue); }
.cond-treat-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 34px; }
@media (min-width: 620px) { .cond-treat-grid { grid-template-columns: 1fr 1fr; } }
.cond-treat {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.cond-treat:hover { border-color: var(--blue); box-shadow: var(--shadow-soft); transform: translateY(-3px); color: var(--ink); }
.cond-treat .ct-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .25s, color .25s; }
.cond-treat .ct-icon svg { width: 21px; height: 21px; }
.cond-treat:hover .ct-icon { background: var(--blue); color: #fff; }
.cond-treat .ct-text { min-width: 0; flex: 1; }
.cond-treat .ct-text strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: .97rem; line-height: 1.25; }
.cond-treat .ct-text span { display: block; font-size: .79rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.cond-treat .ct-arrow { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-alt); color: var(--muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .25s, color .25s; }
.cond-treat:hover .ct-arrow { background: var(--blue); color: #fff; }
.cond-treat .ct-arrow svg { width: 13px; height: 13px; }


/* ---------- Treatment category cards ---------- */
.treat-cat-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .treat-cat-grid { grid-template-columns: 1fr 1fr; } }
.treat-cat-card {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 15px;
  padding: 17px 18px; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.treat-cat-card:hover { border-color: var(--blue); box-shadow: var(--shadow-soft); transform: translateY(-3px); color: var(--ink); }
.treat-cat-card .tc-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .25s, color .25s, transform .3s var(--ease-bounce); }
.treat-cat-card .tc-icon svg { width: 22px; height: 22px; }
.treat-cat-card:hover .tc-icon { background: var(--blue); color: #fff; transform: rotate(-5deg) scale(1.05); }
.treat-cat-card .tc-text { min-width: 0; flex: 1; }
.treat-cat-card .tc-text strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.treat-cat-card .tc-text span { display: block; font-size: .79rem; color: var(--muted); margin-top: 3px; }
.treat-cat-card .tc-arrow { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-alt); color: var(--muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .25s, color .25s; }
.treat-cat-card:hover .tc-arrow { background: var(--blue); color: #fff; }
.treat-cat-card .tc-arrow svg { width: 13px; height: 13px; }

/* Treatment detail visual blocks */
.treat-intro { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; margin-bottom: 32px; }
.treat-intro .over-label { margin-bottom: 10px; }
.treat-intro h2 { margin-top: 0; font-size: 1.45rem; }
.treat-intro p:last-child { margin-bottom: 0; }
.treat-step-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.treat-step { display: flex; gap: 15px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.treat-step .ts-num { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .95rem; }
.treat-step .ts-text strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: .98rem; margin-bottom: 3px; }
.treat-step .ts-text span { font-size: .88rem; color: #52525b; line-height: 1.5; }


/* ---------- Mobile hero CTAs + bottom bar ---------- */
.hero-cta-mobile { display: none; }
@media (max-width: 767px) {
  .hero-cta-mobile { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .hero-cta-mobile .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 16px 20px; }
  .hero-call-mobile {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
    background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(6px);
    color: #fff; border-radius: 999px; padding: 15px 20px; font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  }
  .hero-call-mobile svg { width: 19px; height: 19px; }
  .hero-call-mobile:hover { background: rgba(255,255,255,.26); color: #fff; }
}
@media (min-width: 768px) { .hero-cta-mobile { display: none; } }

/* Bottom mobile action bar (like reference) */
.mobile-cta {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 6px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.mobile-cta a { border-radius: 10px; min-height: 44px; font-size: .62rem; padding: 6px 4px; }
.mobile-cta a.mcta-call { background: var(--blue); color: #fff; }
.mobile-cta a.mcta-loc { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.mobile-cta a.mcta-appt { background: var(--red); color: #fff; }
.mobile-cta a svg { width: 17px; height: 17px; }

@media (max-width: 767px) {
  .hero-banner-inner { padding: 56px 18px 130px; }
  .hero-banner { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; }
  .hero-banner h1 { font-size: 2.5rem; }
  .hero-banner .hero-sub { font-size: 1rem; }
}


/* ---------- Mobile spacing fixes ---------- */
@media (max-width: 767px) {
  .utility .container { justify-content: center; padding-top: 8px; padding-bottom: 8px; }
  .utility-links { gap: 26px; }
  .utility-links a svg { width: 17px; height: 17px; }
}


/* ---------- Mobile layout fixes (v2) ---------- */
@media (max-width: 767px) {
  /* Accessibility button: dock above the bottom bar, not floating mid-content */
  .a11y-fab { left: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); width: 44px; height: 44px; box-shadow: 0 4px 14px rgba(91,45,142,.35); }
  .a11y-panel { left: 12px; bottom: calc(126px + env(safe-area-inset-bottom)); }
  /* Action tiles: tighter on mobile */
  .action-band { gap: 12px; }
  .action-tile { min-height: 0; padding: 18px 18px 16px; gap: 12px; border-radius: 16px; }
  .action-tile .at-icon { width: 44px; height: 44px; }
  .action-tile .at-icon svg { width: 21px; height: 21px; }
  .action-tile .at-ghost { width: 74px; height: 74px; right: -12px; bottom: -16px; }
  .action-tile .at-text strong { font-size: .98rem; }
  .action-tile .at-text span { font-size: .78rem; }
  /* Patient stories: give cards room and keep text readable */
  .story-grid { gap: 14px; }
  .story-card { aspect-ratio: 3/3.9; }
  .story-quote { font-size: .82rem; }
  .story-body { padding: 12px; gap: 7px; }
}


/* ---------- Condition category list cards ---------- */
.cond-list-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .cond-list-grid { grid-template-columns: 1fr 1fr; } }
.cond-list-card {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 15px;
  padding: 18px 20px; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.cond-list-card:hover { border-color: var(--blue); box-shadow: var(--shadow-soft); transform: translateY(-3px); color: var(--ink); }
.cond-list-card .cl-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .25s, color .25s, transform .3s var(--ease-bounce); }
.cond-list-card .cl-icon svg { width: 22px; height: 22px; }
.cond-list-card:hover .cl-icon { background: var(--blue); color: #fff; transform: rotate(-5deg) scale(1.05); }
.cond-list-card .cl-text { min-width: 0; flex: 1; }
.cond-list-card .cl-text strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.cond-list-card .cl-text span { display: block; font-size: .79rem; color: var(--muted); margin-top: 3px; }
.cond-list-card .cl-arrow { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-alt); color: var(--muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .25s, color .25s; }
.cond-list-card:hover .cl-arrow { background: var(--blue); color: #fff; }
.cond-list-card .cl-arrow svg { width: 13px; height: 13px; }

.footer-cta .over-label { margin-bottom: 12px; }


/* ---------- Mobile polish (v3) ---------- */
@media (max-width: 767px) {
  .a11y-fab { z-index: 60; }
  .a11y-panel { z-index: 61; }
  .story-quote {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    text-shadow: 0 1px 5px rgba(0,0,0,.55);
  }
  .story-meta .story-name, .story-meta .story-loc { text-shadow: 0 1px 4px rgba(0,0,0,.6); }
}


/* ---------- Mobile menu + nav sizing fixes ---------- */
/* Constrain ALL svgs in the mobile menu so chevrons/arrows can't blow up */
.mobile-menu svg { max-width: 20px; max-height: 20px; }
.mobile-menu .mm-plain svg { width: 17px; height: 17px; max-width: 17px; max-height: 17px; flex-shrink: 0; }
.mobile-menu .mm-foot a svg { width: 17px; height: 17px; max-width: 17px; max-height: 17px; flex-shrink: 0; }
.mobile-menu .btn svg { width: 16px; height: 16px; max-width: 16px; max-height: 16px; flex-shrink: 0; }
/* Mobile menu header: center logo + close button alignment */
.mm-head { padding: 16px 20px; gap: 14px; }
.mm-head img { height: 34px; }
.mm-actions { padding: 18px 20px 14px; }
.mm-actions .btn { width: 100%; min-width: 0; }
/* Slightly taller tap targets for groups */
.mm-group-head { padding: 18px 20px; }
.mm-plain { padding: 18px 20px; }


/* ---------- Hide announcement bar on mobile ---------- */
@media (max-width: 767px) {
  .announce { display: none; }
}


/* ---------- Mobile hero: push content up, tighten ---------- */
@media (max-width: 767px) {
  .hero-banner { min-height: 0; }
  .hero-banner-inner { padding: 34px 18px 120px; }
  .hero-banner .hero-badge { margin-bottom: 16px; }
  .hero-banner h1 { font-size: 2.35rem; line-height: 1.06; margin-bottom: 14px; }
  .hero-banner .hero-sub { font-size: .98rem; margin: 0 0 22px; }
  .hero-cta-mobile { margin-bottom: 16px; gap: 10px; }
}
