/*
Theme Name: Patel Shoulder
Description: Custom theme for Dr. Midhat Patel — orthopedic shoulder & sports medicine surgeon, Banner Health / University of Arizona. Built by CLKDIT.
Author: CLKDIT
Version: 0.4.0
Text Domain: patel-shoulder
*/

:root {
  --color-navy: #16324b;
  --color-navy-dark: #0b141b;
  --color-accent: #3d6fa8;
  --color-accent-light: #6fa0cc;
  --color-electric: #2f6fee;
  --color-electric-dark: #1f5ad1;
  --color-pale: #e8eef4;
  --color-panel: #eef2f6;
  --color-gray-bg: #eaeef1;
  --color-card: #fafbfc;
  --color-white: #ffffff;
  --color-gray-100: #f1f4f7;
  --color-border: rgba(15, 27, 36, 0.08);
  --color-border-soft: rgba(15, 27, 36, 0.06);
  --color-text: #0f1b24;
  --color-text-muted: #5a6b78;
  --color-text-faint: #7a8894;
  --color-label: #9aa6b1;

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container-width: min(1600px, 94vw);
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --radius-pill: 99px;
  --shadow-sm: 0 6px 18px -10px rgba(15, 27, 36, 0.18);
  --shadow-md: 0 18px 44px -26px rgba(15, 27, 36, 0.28);
  --shadow-lg: 0 30px 70px -26px rgba(15, 27, 36, 0.4);
}

* { box-sizing: border-box; }

/* Global safety net, added 2026-08-28 after finding the same "page
   overflows horizontally on mobile" symptom multiple times in different
   sections, each from a different specific root cause (a flex child's
   default min-width, a flex column's default cross-axis sizing, etc.).
   Rather than keep hunting each new instance one at a time, this stops any
   element anywhere on the page from ever forcing horizontal scroll, full
   stop. Doesn't affect the marquee's own animation (a CSS transform inside
   an already-clipped container, not real page scrolling) or any
   position:fixed element (chat-fab, sticky-mobile-cta, chat-panel), which
   size from the viewport, not from body/html. */
html { overflow-x: hidden; }
html, body { margin: 0; padding: 0; max-width: 100%; }

body {
  background: var(--color-gray-bg);
  font-family: var(--font-body);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--color-navy); text-decoration: none; }
a:hover { color: var(--color-accent); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  color: var(--color-text);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.15;
}
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

/* Eyebrow / badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-pale);
  border-radius: var(--radius-pill);
  padding: 8px 15px 8px 8px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-navy); color: var(--color-white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent); color: var(--color-white); }
.btn-accent { background: var(--color-accent-light); color: var(--color-navy-dark); }
.btn-accent:hover { background: var(--color-white); color: var(--color-navy); }
.btn-outline { background: var(--color-white); color: var(--color-navy); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-outline-invert { background: transparent; color: var(--color-white); border-color: rgba(255, 255, 255, 0.28); }
.btn-outline-invert:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-white); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-electric {
  background: var(--color-electric); color: var(--color-white);
  text-transform: uppercase; letter-spacing: 0.03em; font-weight: 800; font-size: 0.82rem;
  box-shadow: 0 14px 30px -12px rgba(47, 111, 238, 0.6);
}
.btn-electric:hover { background: var(--color-electric-dark); color: var(--color-white); }
.btn-outline-electric { background: transparent; color: var(--color-white); border-color: rgba(255, 255, 255, 0.3); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 800; font-size: 0.82rem; }
.btn-outline-electric:hover { border-color: var(--color-white); color: var(--color-white); }
.btn-outline-electric-dark { background: var(--color-white); color: var(--color-navy); border-color: var(--color-border); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 800; font-size: 0.82rem; }
.btn-outline-electric-dark:hover { border-color: var(--color-electric); color: var(--color-electric); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-white);
  border-bottom: 2px solid var(--color-navy);
  box-shadow: 0 6px 28px -10px rgba(15, 27, 36, 0.14);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 40px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.site-branding { flex-shrink: 0; }
.site-branding img { height: 34px; width: auto; mix-blend-mode: multiply; }
.primary-nav { flex: 1; min-width: 0; }
.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav .current-menu-item a {
  color: var(--color-navy);
  background: var(--color-pale);
}
.site-header__phone {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.js-nav-toggle {
  display: none;
}
.site-header__mobile-actions { display: none; gap: 8px; flex-shrink: 0; margin-left: auto; }
.icon-circle-btn {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-white); border: 1px solid var(--color-border); color: var(--color-navy);
  cursor: pointer;
}
.icon-circle-btn--dark { background: var(--color-navy); border-color: var(--color-navy); color: var(--color-white); }

/* Persistent mobile booking bar — hidden on desktop */
.sticky-mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(250, 251, 252, 0.98), rgba(250, 251, 252, 0.75));
  gap: 10px;
}
.sticky-mobile-cta__phone {
  flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--color-white);
  border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center;
  color: var(--color-navy); box-shadow: var(--shadow-sm);
}
.sticky-mobile-cta__book {
  flex: 1; font-weight: 700; font-size: 0.95rem; background: var(--color-navy); color: var(--color-white);
  height: 52px; border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: 52px 0 26px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}
.site-footer__mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  flex-shrink: 0;
}
.site-footer__mark img { width: 100%; height: 100%; object-fit: cover; }
.site-footer__brand-name { font-weight: 700; font-size: 1.05rem; color: var(--color-white); }
.site-footer p { color: rgba(255, 255, 255, 0.55); max-width: 300px; font-size: 0.9rem; }
.site-footer__phone { color: var(--color-accent-light); font-weight: 700; font-size: 1rem; display: block; margin-bottom: 8px; }
.site-footer h4 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  font-weight: 700;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer__links a { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; font-weight: 500; }
.site-footer__links a:hover { color: var(--color-accent-light); }
.site-footer__location { margin-bottom: 14px; }
.site-footer__location-name { color: var(--color-white); font-weight: 600; font-size: 0.9rem; }
.site-footer__location-addr { color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.site-footer__social { display: flex; gap: 18px; }
.site-footer__social a { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; font-weight: 500; }
.site-footer__social a:hover { color: var(--color-accent-light); }

/* Sections shared */
.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-muted { background: var(--color-white); }
.section-intro { color: var(--color-text-muted); max-width: 620px; font-size: 1.05rem; }

/* Hero (home) — dark navy gradient per v2 design */
.hero {
  position: relative;
  padding: 64px 40px;
  overflow: hidden;
  background: linear-gradient(155deg, #0f2438, #16324b 60%, #1b3a56);
}
.hero::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  right: -160px; top: -180px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(111, 160, 204, 0.16), transparent 68%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: min(1260px, 94vw);
  margin: 0 auto;
}
.hero__eyebrow {
  font-weight: 800; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent-light); margin-bottom: 20px;
}
.hero h1 { color: var(--color-white); font-size: clamp(2.1rem, 1.4rem + 3vw, 3.3rem); margin-bottom: 0.35em; }
.hero__intro { max-width: 520px; font-size: 1.05rem; color: rgba(255, 255, 255, 0.72); font-weight: 500; }
.hero__actions { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.hero__ask-ai {
  background: none; border: none; padding: 0; font-weight: 600; font-size: 0.82rem;
  color: var(--color-accent-light); text-decoration: underline; cursor: pointer; margin-bottom: 14px; display: inline-block;
}
.hero__trust-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.82rem; color: #b7c7d4; }
.hero__trust-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.hero__trust-stars { color: #f0a93b; letter-spacing: 1px; }
.hero__fine-print { font-weight: 600; font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); margin: 0; }
.hero__quote-box {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px;
  padding: 14px 16px; margin-top: 20px; max-width: 460px;
}
.hero__quote-box p { font-weight: 500; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); margin: 0; }
.hero__media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -26px rgba(0, 0, 0, 0.5); aspect-ratio: 3 / 4; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; }
.hero__intro--short { display: none; }
.hero__photo-overlay { display: none; }
.hero__photo-overlay-title { font-weight: 800; font-size: 0.85rem; color: var(--color-navy); }
.hero__photo-overlay-title--accent { color: var(--color-electric-dark); }
.hero__photo-overlay-sub { font-weight: 600; font-size: 0.72rem; color: var(--color-label); }

/* Trust strip below hero */
.trust-strip { background: var(--color-panel); padding: 28px 40px; }
.trust-strip__grid { max-width: min(1260px, 94vw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-strip__item { display: flex; align-items: center; gap: 14px; }
.trust-strip__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #dce6f0; color: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
}
.trust-strip__title { font-weight: 700; font-size: 0.92rem; color: var(--color-text); }
.trust-strip__sub { font-weight: 500; font-size: 0.8rem; color: var(--color-text-faint); }

/* Team logos marquee */
.marquee-panel {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: 22px;
  padding: 24px 0;
}
.marquee-panel__label {
  font-weight: 700; font-size: 0.78rem; color: var(--color-electric);
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; padding: 0 28px;
}
.marquee-panel__heading { font-size: 1.35rem; margin: 0 0 18px; padding: 0 28px; }
.marquee-mask { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: patel-marquee 28s linear infinite; align-items: center; padding: 0 28px; }
/* Uniform height + object-fit:contain for every logo regardless of its native
   aspect ratio — matches patelshoulder.com's marquee exactly (checked
   2026-08-28: height:80px, object-fit:contain, gap:80px there). Previously
   each logo had its own hand-picked pixel height, which is why they looked
   mismatched in size next to each other. */
.marquee-track img { flex-shrink: 0; opacity: 0.75; height: 40px; width: auto; object-fit: contain; }
@keyframes patel-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* At-a-glance grid */
.glance__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; }
.glance__card {
  background: var(--color-card); border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg); padding: 34px;
}
.glance__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.glance__label {
  font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-label); margin-bottom: 14px;
}
.glance__value { font-weight: 600; font-size: 0.95rem; color: var(--color-text); }
.glance__list { display: flex; flex-direction: column; gap: 9px; }
.glance__full { grid-column: span 2; padding-top: 24px; border-top: 1px solid var(--color-border-soft); }
.glance__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-weight: 600; font-size: 0.82rem; color: var(--color-navy); background: var(--color-gray-100);
  padding: 10px 15px; border-radius: var(--radius-pill); display: inline-block;
}
.glance__dark {
  background: var(--color-navy); border-radius: var(--radius-lg); padding: 34px;
  display: flex; flex-direction: column; gap: 18px; justify-content: center; color: var(--color-white);
}
.glance__dark-item + .glance__dark-item { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; }
.glance__dark-label {
  font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #c9dcec; margin-bottom: 8px;
}
.glance__dark-value { font-weight: 600; font-size: 0.88rem; }

/* At-a-glance icon cards (v2) */
.glance-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
/* Treatments page's 4-step process — a real class (not an inline style) so
   it collapses at the same breakpoints as .glance-cards below. An inline
   grid-template-columns would have beaten those media queries on
   specificity and kept 4 columns on mobile, causing exactly the kind of
   horizontal overflow already fixed elsewhere on the site. */
.process-steps { grid-template-columns: repeat(4, 1fr); }
.glance-card { background: var(--color-card); border: 1px solid var(--color-border-soft); border-radius: 22px; padding: 30px; }
.glance-card__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--color-navy); color: var(--color-white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.glance-card__title { font-weight: 800; font-size: 1rem; color: var(--color-text); margin-bottom: 12px; }
.glance-card__list { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 0.88rem; color: var(--color-text-muted); }

.location-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.location-mini-card { background: var(--color-card); border: 1px solid var(--color-border-soft); border-radius: 18px; padding: 22px; }
.location-mini-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.location-mini-card__head svg { flex-shrink: 0; color: var(--color-accent); }
.location-mini-card__name { font-weight: 700; font-size: 0.95rem; color: var(--color-text); }
.location-mini-card__addr { font-weight: 500; font-size: 0.85rem; color: var(--color-text-muted); }

.finder-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.research-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 44px; background: var(--color-navy); border-radius: var(--radius-lg); color: var(--color-white); }
.marquee-panel--labeled { display: flex; align-items: center; gap: 26px; padding: 24px 28px; }
.marquee-panel--labeled__label {
  font-weight: 600; font-size: 0.72rem; color: var(--color-label); letter-spacing: 0.05em; text-transform: uppercase;
  max-width: 150px; flex-shrink: 0;
}
/* min-width:0 is required here — a flex item's default min-width is "auto"
   (its content's natural size), which lets this track's wide marquee content
   (e.g. the Milwaukee Brewers/Toronto Blue Jays text logos) force the whole
   .marquee-panel--labeled row wider than its container instead of respecting
   overflow:hidden, breaking out of the page width between ~721px and full
   desktop (the breakpoint below switches this to a column layout, which
   sidesteps the issue, but everything above it was still exposed). Found
   2026-08-28 — this is specific to the Research page's labeled-track
   layout; Home's plain .marquee-panel isn't a flex row so it never had it. */
.marquee-panel--labeled__track { flex: 1; min-width: 0; overflow: hidden; }

/* Condition finder */
.finder-panel {
  background: var(--color-card); border: 1px solid var(--color-border-soft);
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-md);
}
.finder-panel__head { padding: 36px 44px 0; }
.finder-panel__eyebrow { font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 8px; }
.finder-panel__title { font-weight: 600; font-size: 0.95rem; color: var(--color-text); margin-bottom: 26px; }
.finder-form { padding: 0 44px 40px; }
.finder-form__label { font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-label); margin-bottom: 16px; }
.finder-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.finder-option {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm); cursor: pointer;
  font-weight: 600; font-size: 0.92rem; color: var(--color-text); background: var(--color-white);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.finder-option:hover { border-color: var(--color-accent); }
.finder-option.is-selected { border-color: var(--color-accent); background: var(--color-pale); }
.finder-option__radio {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--color-border); flex-shrink: 0;
}
.finder-option.is-selected .finder-option__radio { border-color: var(--color-accent); background: var(--color-accent); }
.finder-result { background: var(--color-gray-100); border-radius: 20px; padding: 28px 30px; margin-top: 22px; }
.finder-result__label { font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 14px; }
.finder-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.finder-tag { font-weight: 600; font-size: 0.82rem; color: var(--color-navy); background: var(--color-white); padding: 10px 15px; border-radius: var(--radius-pill); border: 1px solid var(--color-border); }
.finder-result__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.finder-result__step { font-weight: 600; font-size: 0.92rem; color: var(--color-text); }
.finder-result__disclaimer { font-weight: 500; font-size: 0.75rem; color: var(--color-label); margin: 0; }

.finder-checklist { display: flex; flex-direction: column; gap: 14px; }
.finder-checklist__item { display: flex; align-items: center; gap: 12px; }
.finder-checklist__icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--color-white);
  border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-electric);
}
.finder-checklist__label { font-weight: 600; font-size: 0.9rem; color: var(--color-text); }

.finder-progress { height: 4px; background: #e2e7eb; }
.finder-progress__bar { height: 100%; background: var(--color-electric); width: 0; transition: width 0.25s ease; }
.finder-nav {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 24px;
  border-top: 1px solid var(--color-border-soft); background: var(--color-card);
}
.finder-nav button {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.82rem;
  color: var(--color-text-muted); background: none; border: none; cursor: pointer;
}
.finder-nav button:hover { color: var(--color-electric); }

.finder-callout {
  background: var(--color-white); border: 1.5px dashed rgba(47, 111, 238, 0.35); border-radius: 22px;
  padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-top: 24px;
}
.finder-callout__title { font-weight: 700; font-size: 1rem; color: var(--color-text); margin-bottom: 4px; }
.finder-callout__sub { font-weight: 500; font-size: 0.88rem; color: var(--color-text-muted); }

/* AI assistant section (Home) — decorative preview only, not wired to a real
   assistant. See BUILD-NOTES.md before launch. */
.ai-section { text-align: center; }
.ai-section__badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-pill); padding: 9px 18px; margin-bottom: 22px;
}
.ai-section__badge span { font-weight: 700; font-size: 0.78rem; color: var(--color-navy); }
.ai-chat-card {
  max-width: 660px; margin: 0 auto; background: var(--color-white); border: 1px solid var(--color-border-soft);
  border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(15, 27, 36, 0.3); text-align: left;
}
.ai-chat-card__head { background: var(--color-navy); padding: 18px 22px; display: flex; align-items: center; gap: 12px; }
.ai-chat-card__head-icon {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: var(--color-white);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ai-chat-card__head-title { font-weight: 700; font-size: 0.92rem; color: var(--color-white); }
.ai-chat-card__head-sub { font-weight: 500; font-size: 0.75rem; color: #b7c7d4; }
.ai-chat-card__body { padding: 22px; }
.ai-chat-card__messages { max-height: 320px; overflow-y: auto; }
.ai-chat-card__bubble { background: var(--color-gray-100); border-radius: 14px; padding: 16px 18px; font-weight: 500; font-size: 0.88rem; color: #3a4750; margin-bottom: 16px; }
.ai-chat-card__bubble--user { background: var(--color-navy); color: var(--color-white); margin-left: 40px; }
.ai-chat-card__bubble a { color: var(--color-electric); font-weight: 700; }
.ai-chat-card__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.ai-chat-card__quick button {
  text-align: left; font-weight: 600; font-size: 0.82rem; color: var(--color-navy); background: var(--color-white);
  border: 1px solid var(--color-border); padding: 13px 15px; border-radius: 12px; cursor: pointer;
}
.ai-chat-card__quick button:hover { border-color: var(--color-electric); color: var(--color-electric); }
.ai-chat-card__input-row { display: flex; gap: 10px; }
.ai-chat-card__input-row input {
  flex: 1; font-weight: 500; font-size: 0.88rem; padding: 14px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-border); background: #f7f8f9; color: var(--color-text); font-family: inherit;
}
.ai-chat-card__send {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--color-navy); color: var(--color-white);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ai-chat-card__disclaimer { text-align: center; font-weight: 500; font-size: 0.72rem; color: var(--color-label); margin-top: 14px; }
.ai-chat-card__notice { display: none; background: var(--color-pale); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 0.82rem; color: #1f3a52; margin-top: 12px; }
.ai-chat-card__notice.is-visible { display: block; }

/* Floating chat FAB + panel — static informational content only */
.chat-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 450;
  display: inline-flex; align-items: center; gap: 8px; background: var(--color-navy); color: var(--color-white);
  border: none; border-radius: var(--radius-pill); padding: 14px 20px; box-shadow: var(--shadow-lg); cursor: pointer;
}
.chat-fab:hover { background: var(--color-electric); }
.chat-panel {
  position: fixed; right: 24px; bottom: 90px; z-index: 500; width: min(340px, calc(100vw - 48px));
  background: var(--color-white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  display: none;
}
.chat-panel.is-open { display: block; }
.chat-panel__head { background: var(--color-navy); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.chat-panel__head-title { font-weight: 700; font-size: 0.9rem; color: var(--color-white); }
.chat-panel__close { background: none; border: none; color: rgba(255, 255, 255, 0.7); font-size: 1.1rem; cursor: pointer; }
.chat-panel__body { padding: 16px 18px; background: var(--color-gray-100); }
.chat-panel__messages { max-height: 260px; overflow-y: auto; margin-bottom: 4px; }
.chat-panel__bubble { background: var(--color-white); border-radius: 12px; padding: 12px 14px; font-weight: 500; font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 10px; }
.chat-panel__bubble--user { background: var(--color-navy); color: var(--color-white); margin-left: 30px; }
.chat-panel__warning { background: var(--color-pale); border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 0.78rem; color: #1f3a52; margin-bottom: 12px; }
.chat-panel__input-row { display: flex; gap: 8px; }
.chat-panel__input-row input {
  flex: 1; font-weight: 500; font-size: 0.85rem; padding: 10px 14px; border-radius: 99px;
  border: 1px solid var(--color-border); background: var(--color-white); color: var(--color-text);
}
.chat-panel__send {
  flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--color-navy); color: var(--color-white);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* Services / conditions bento (home) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bento__wide { grid-column: span 2; }
.bento-card {
  background: var(--color-card); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); padding: 30px;
}
.bento-card__icon {
  width: 44px; height: 44px; border-radius: 13px; background: var(--color-pale);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.bento-card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0 0 16px; }
.bento-card__tag { font-weight: 700; font-size: 0.78rem; color: var(--color-accent); }
.bento-card--dark {
  background: var(--color-navy); color: var(--color-white); position: relative; overflow: hidden;
  display: flex; align-items: flex-end; gap: 34px; min-height: 220px;
}
.bento-card--dark::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 160, 204, 0.3), transparent 70%);
}
.bento-card--dark h3 { color: var(--color-white); position: relative; }
.bento-card--dark p { color: rgba(255, 255, 255, 0.68); position: relative; }
.bento-card--dark .bento-card__icon { background: rgba(111, 160, 204, 0.18); position: relative; }
.bento-card--dark-stat {
  flex-shrink: 0; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px; padding: 18px 20px; position: relative;
}
.bento-card--dark-stat-num { font-weight: 800; font-size: 1.5rem; color: var(--color-accent-light); margin-bottom: 6px; }
.bento-card--dark-stat-label { font-weight: 500; font-size: 0.78rem; color: rgba(255, 255, 255, 0.62); max-width: 110px; }
.bento-card--pale { background: var(--color-pale); display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.bento-card--pale h3 { color: #1f3a52; }
.bento-card--pale p { color: #3f6b8a; margin-bottom: 0; }

/* Video CTA (home) */
.video-cta {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-navy-dark);
  aspect-ratio: 21 / 9; width: 100%;
}
/* min-height only above the width where 21:9 already clears it on its own —
   combining aspect-ratio with an unconditional min-height on a narrow
   container makes the browser stretch WIDTH to satisfy the ratio instead,
   blowing the box out past the viewport. */
@media (min-width: 620px) {
  .video-cta { min-height: 260px; }
}
.video-cta img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0.5; }
.video-cta__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 20, 27, 0.9), rgba(11, 20, 27, 0.2)); }
.video-cta__content {
  position: absolute; left: 44px; right: 44px; bottom: 40px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.video-cta__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); border-radius: var(--radius-pill); padding: 7px 14px; margin-bottom: 16px; }
.video-cta__quote { font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem); color: var(--color-white); max-width: 520px; letter-spacing: -0.02em; }
.video-cta__play {
  flex-shrink: 0; width: 74px; height: 74px; border-radius: 50%; background: var(--color-accent-light);
  border: none; color: #1f3a52; font-size: 1.4rem; cursor: pointer;
}
.video-cta__note { color: rgba(255,255,255,.5); font-size: 0.75rem; margin-top: 10px; }
.video-cta__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }

/* Reviews */
.reviews-section { background: var(--color-gray-100); padding: 52px 0; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; flex-wrap: wrap; }
.reviews-nav { display: flex; gap: 9px; }
.reviews-nav button {
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-white); border: 1px solid var(--color-border);
  color: var(--color-navy); font-size: 1rem; cursor: pointer;
}
.reviews-nav button:hover { background: var(--color-navy); color: var(--color-white); }
.reviews__track-wrap { position: relative; }
.reviews__track-wrap::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 4px; width: 64px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--color-gray-100));
}
.reviews__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__card {
  scroll-snap-align: start; flex: 0 0 min(340px, 85vw);
  background: var(--color-white); border: 1px solid var(--color-border-soft); border-radius: 24px; padding: 30px;
  display: flex; flex-direction: column; box-shadow: 0 12px 30px -22px rgba(15, 27, 36, 0.2);
}
.reviews__stars { color: #f0a93b; font-size: 0.9rem; letter-spacing: 0.12em; margin-bottom: 18px; }
.reviews__quote { font-weight: 600; font-size: 1.02rem; color: var(--color-text); margin: 0 0 24px; letter-spacing: -0.01em; }
.reviews__meta { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--color-border-soft); }
.reviews__initial {
  width: 38px; height: 38px; border-radius: 50%; background: var(--color-pale); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 0.85rem; color: var(--color-accent); flex-shrink: 0;
}
.reviews__name { font-weight: 700; font-size: 0.85rem; color: var(--color-text); }
.reviews__submeta { font-weight: 500; font-size: 0.78rem; color: var(--color-text-faint); margin-top: 2px; }

/* Checklist */
.checklist-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: start; }
.checklist-summary {
  background: var(--color-card); border: 1px solid var(--color-border-soft); border-radius: var(--radius-md);
  padding: 20px 22px; display: flex; align-items: center; gap: 16px;
}
.checklist-summary__count {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--color-pale);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; color: var(--color-accent);
}
.checklist-summary__title { font-weight: 700; font-size: 0.92rem; color: var(--color-text); }
.checklist-summary__sub { font-weight: 500; font-size: 0.82rem; color: var(--color-text-faint); margin-top: 3px; }
.checklist-items { display: flex; flex-direction: column; gap: 10px; }
.checklist-item {
  width: 100%; display: flex; gap: 15px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius-md);
  cursor: pointer; text-align: left; background: var(--color-white); border: 1px solid var(--color-border-soft);
  transition: all 0.18s ease; font: inherit;
}
.checklist-item.is-checked { background: #e4f5f2; border-color: rgba(61, 111, 168, 0.28); }
.checklist-item__box {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-top: 1px; font-weight: 700; font-size: 0.75rem; background: var(--color-gray-100); border: 1.5px solid var(--color-border);
}
.checklist-item.is-checked .checklist-item__box { background: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.checklist-item__label { font-weight: 700; font-size: 0.95rem; color: var(--color-text); }
.checklist-item__hint { display: block; font-weight: 500; font-size: 0.82rem; color: var(--color-text-faint); margin-top: 4px; }

/* Final CTA band */
.cta-band { position: relative; background: var(--color-navy); border-radius: var(--radius-lg); padding: 64px 44px; text-align: center; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: -200px; transform: translateX(-50%); width: 640px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 160, 204, 0.3), transparent 68%);
}
.cta-band__inner { position: relative; }
.cta-band h2 { color: var(--color-white); max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(255, 255, 255, 0.7); max-width: 470px; margin: 0 auto 30px; font-size: 1.02rem; }
.cta-band__actions { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }

/* Inner-page hero */
.page-hero { position: relative; padding: 76px 40px 44px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -160px; top: -180px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 160, 204, 0.24), transparent 68%); pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 700px; margin: 0 auto 0 0; }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 18px; }
.page-hero p { color: var(--color-text-muted); font-size: 1.05rem; }
.page-hero .container { max-width: var(--container-width); }
.page-hero--split .page-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; max-width: var(--container-width); margin: 0 auto; position: relative; }
.page-hero--split .page-hero__inner { max-width: none; margin: 0; }
.page-hero__photo { border-radius: 32px; overflow: hidden; background: linear-gradient(165deg, var(--color-pale), var(--color-gray-bg)); aspect-ratio: 3 / 4; }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }

.page-editor-content { padding: 32px 0; }

/* Content-pending (facts we genuinely don't have yet) */
.content-pending {
  border: 1px dashed rgba(15, 27, 36, 0.25);
  border-radius: var(--radius-sm);
  background: var(--color-gray-100);
  padding: 16px 18px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.content-pending__label {
  display: block; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.68rem; font-weight: 700;
  color: var(--color-label); margin-bottom: 4px;
}

/* Conditions accordion (Services/Conditions page) */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.filter-chip {
  font-weight: 700; font-size: 0.82rem; padding: 9px 15px; border-radius: var(--radius-pill); cursor: pointer;
  white-space: nowrap; background: var(--color-white); color: var(--color-text-muted); border: 1px solid var(--color-border);
}
.filter-chip.is-active { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }

.conditions-panel { background: var(--color-gray-100); padding: 32px 0 8px; border-top: 1px solid var(--color-border-soft); border-bottom: 1px solid var(--color-border-soft); }

/* Conditions grouped card grid (design update, 2026-08-28) — one section per
   category with its own icon-per-card grid; a flex-order trick on
   .condition-card__head reflows icon+title+sign from "icon/sign row, title
   below" on desktop to a single icon+title+sign row on mobile, matching the
   design's separate desktop/mobile card headers without duplicating markup. */
.condition-group { margin-bottom: 34px; }
.condition-group:last-child { margin-bottom: 0; }
.condition-group__label { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 14px; }
.condition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.condition-card {
  background: var(--color-white); border: 1px solid var(--color-border-soft); border-radius: 22px; overflow: hidden;
  transition: all 0.2s ease; height: fit-content; box-shadow: 0 6px 18px -14px rgba(15, 27, 36, 0.18);
}
.condition-card:hover { border-color: rgba(61, 111, 168, 0.22); box-shadow: 0 14px 28px -18px rgba(15, 27, 36, 0.3); }
.condition-card.is-open { border-color: rgba(61, 111, 168, 0.35); box-shadow: var(--shadow-md); grid-column: 1 / -1; }
.condition-card__head {
  width: 100%; display: flex; flex-wrap: wrap; align-items: flex-start; padding: 24px;
  background: transparent; border: none; cursor: pointer; text-align: left; font: inherit;
}
.condition-card__icon {
  order: 1; flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--color-panel); color: var(--color-accent); transition: all 0.2s ease;
}
.condition-card.is-open .condition-card__icon { background: var(--color-accent); color: var(--color-white); }
.condition-card__sign {
  order: 2; margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; background: var(--color-gray-100); color: var(--color-text-muted); transition: all 0.2s ease;
}
.condition-card.is-open .condition-card__sign { background: #e4f5f2; color: var(--color-accent); }
.condition-card__title {
  order: 3; flex-basis: 100%; margin-top: 14px; font-weight: 700; font-size: 1.05rem; line-height: 1.32; letter-spacing: -0.015em; color: var(--color-text);
}
.condition-card__body { display: none; padding: 0 24px 24px; }
.condition-card__summary { color: var(--color-text-muted); font-size: 0.92rem; margin: 0 0 14px; }
.condition-item__signs-label { font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-label); margin-bottom: 10px; }

/* Treatments grid + philosophy (Conditions page) */
.treatments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.treatment-card { background: var(--color-white); border-radius: var(--radius-md); padding: 24px; border: 1px solid var(--color-border-soft); }
.treatment-card__icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--color-panel); color: var(--color-accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.treatment-card__title { font-weight: 700; font-size: 0.95rem; color: var(--color-text); margin-bottom: 8px; }
.treatment-card__desc { font-weight: 500; font-size: 0.85rem; color: var(--color-text-faint); }
.philosophy-card { background: var(--color-navy); border-radius: 22px; padding: 34px 36px; color: var(--color-white); }
.philosophy-card__label { font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #c9dcec; margin-bottom: 14px; }
.philosophy-card h3 { color: var(--color-white); font-size: 1.4rem; margin-bottom: 12px; }
.philosophy-card p { color: rgba(255, 255, 255, 0.75); margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.about-photo-pending {
  aspect-ratio: 3 / 4; background: var(--color-gray-100); border: 1px dashed rgba(15, 27, 36, 0.25);
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--color-text-faint);
  text-align: center; padding: 20px; font-size: 0.85rem; max-width: 300px;
}

/* Protocols */
.protocol-groups { display: flex; flex-direction: column; gap: 16px; }
.protocol-group__label { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 8px; }
.protocols-panel { background: var(--color-card); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.protocol-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.protocol-row__icon {
  flex-shrink: 0; width: 30px; height: 36px; border-radius: 7px; background: var(--color-pale);
  display: flex; align-items: center; justify-content: center; color: var(--color-accent);
}
.protocol-row__title { font-weight: 600; font-size: 0.86rem; line-height: 1.35; color: var(--color-text); }
.patient-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.patient-info-card { background: var(--color-white); border: 1px solid var(--color-border-soft); border-radius: 22px; padding: 26px; }
.patient-info-card__icon {
  width: 40px; height: 40px; border-radius: 11px; background: var(--color-panel); color: var(--color-accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.patient-info-card h3 { font-size: 1.05rem; margin-bottom: 9px; }
.patient-info-card p { color: var(--color-text-muted); font-size: 0.92rem; margin: 0 0 14px; }
.insurance-note { background: var(--color-navy); border-radius: var(--radius-lg); padding: 32px; color: var(--color-white); }
.insurance-note__label { font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #c9dcec; margin-bottom: 20px; }
.insurance-note p { color: rgba(255, 255, 255, 0.75); margin: 0; }
.insurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.insurance-grid__item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.86rem; color: rgba(255, 255, 255, 0.85); }
.insurance-grid__icon {
  flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
}

.faq-list { display: flex; flex-direction: column; gap: 9px; }
.faq-cat-label { font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin: 24px 0 10px; }
.faq-cat-label:first-child { margin-top: 0; }
.faq-item { background: var(--color-white); border: 1px solid var(--color-border-soft); border-radius: 18px; overflow: hidden; }
.faq-item__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px;
  background: transparent; border: none; cursor: pointer; text-align: left; font: inherit;
}
.faq-item__q { font-weight: 700; font-size: 0.92rem; color: var(--color-text); }
.faq-item__sign { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; background: var(--color-gray-100); color: var(--color-text-muted); }
.faq-item.is-open .faq-item__sign { background: #f7e7de; color: var(--color-accent); }
.faq-item__body { display: none; padding: 0 20px 20px; color: var(--color-text-muted); font-size: 0.9rem; }

/* Contact */
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 40px; }
.contact-info-card { background: var(--color-white); border: 1px solid var(--color-border-soft); border-radius: 22px; padding: 26px; }
.contact-info-card__label { font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-label); margin-bottom: 12px; }
.contact-info-card__value { font-weight: 800; font-size: 1.3rem; color: var(--color-text); display: block; margin-bottom: 6px; }
.contact-info-card__sub { font-weight: 500; font-size: 0.85rem; color: var(--color-text-muted); }
.contact-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.location-card { background: var(--color-white); border: 1px solid var(--color-border-soft); border-radius: 22px; padding: 26px 28px; margin-bottom: 12px; }
.location-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.location-card__addr { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 10px; }
.location-card__link { font-weight: 700; font-size: 0.82rem; color: var(--color-accent); }
.location-card--dark { background: var(--color-navy); color: var(--color-white); }
.location-card--dark .contact-info-card__label,
.location-card--dark div:first-child { color: #c9dcec; }
.location-card--dark a { color: var(--color-white); font-weight: 800; font-size: 1.4rem; }
.contact-form-card { background: var(--color-white); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); padding: 34px; }
.contact-form-card h2 { font-size: 1.4rem; margin-bottom: 20px; }
.form-field {
  width: 100%; font-weight: 500; font-size: 0.95rem; padding: 15px 16px; border: 1px solid var(--color-border);
  border-radius: 14px; background: var(--color-gray-100); color: var(--color-text); font-family: inherit; margin-bottom: 12px;
}
.form-field:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
textarea.form-field { resize: vertical; }
.form-note { font-weight: 500; font-size: 0.78rem; color: var(--color-label); margin-top: 14px; }
.form-status { border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px; font-weight: 600; font-size: 0.92rem; }
.form-status--success { background: #e4f5f2; color: #1a6e5f; }
.form-status--error { background: #fbe6e6; color: #a3312c; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Medical-legal */
.legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.legal-card { background: var(--color-white); border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); padding: 28px; }
.legal-card h3 { font-size: 1.05rem; margin-bottom: 9px; }
.legal-card p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }
.legal-notice { background: var(--color-pale); border-radius: 20px; padding: 26px 30px; color: #1f3a52; font-size: 0.92rem; }
.draft-banner {
  background: #fbe6e6; color: #a3312c; border: 1px solid #f0b8b6; border-radius: var(--radius-sm);
  padding: 14px 18px; font-weight: 600; font-size: 0.88rem; margin-bottom: 24px;
}

/* Privacy */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-size: 1.35rem; margin-top: 1.4em; }
.legal-doc h2:first-of-type { margin-top: 0.5em; }
.legal-doc p { color: var(--color-text-muted); font-size: 0.98rem; line-height: 1.75; }
.legal-doc__updated { font-weight: 500; font-size: 0.85rem; color: var(--color-label); margin-bottom: 36px; }
.legal-doc__callout { background: var(--color-pale); border-radius: 16px; padding: 22px 24px; margin-bottom: 26px; color: #1f3a52; font-size: 0.95rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid,
  .glance__grid,
  .checklist-grid,
  .condition-item__body-grid,
  .contact-columns,
  .finder-layout,
  .research-split,
  .site-footer__grid,
  .page-hero--split .page-hero__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .treatments-grid { grid-template-columns: 1fr 1fr; }
  .glance__cols { grid-template-columns: 1fr; }
  .glance__full { grid-column: span 1; }
  .trust-strip__grid, .glance-cards, .process-steps, .location-mini-grid { grid-template-columns: 1fr 1fr; }
  .condition-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container, .site-header__inner, .hero, .page-hero { padding-left: 20px; padding-right: 20px; }
  .primary-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white);
    border-bottom: 1px solid var(--color-border); padding: 12px 20px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; }
  .js-nav-toggle { display: inline-flex; }
  .site-header__inner { position: relative; gap: 10px; }
  .site-header__phone { display: none; }
  .site-header__inner > .btn-electric { display: none; }
  .site-header__mobile-actions { display: flex; }
  .bento, .protocols-panel, .patient-info-grid, .contact-info-grid, .treatments-grid, .legal-grid { grid-template-columns: 1fr; }
  .bento__wide { grid-column: span 1; }
  .bento-card--dark { flex-direction: column; align-items: flex-start; }
  /* align-items:flex-start (needed so the label doesn't stretch full-width
     and center its text oddly) has a side effect: flex items in a column
     no longer stretch to the container's width by default, they shrink to
     fit their own content instead. .marquee-panel--labeled__track's content
     (.marquee-track, width:max-content, ~18 logos wide) has no width limit
     of its own — so on mobile the track box itself grew to match that huge
     content width instead of staying at the panel's actual width, and
     overflow:hidden clipped nothing because there was nothing left to clip
     against. That's what pushed logos outside the frame and unlocked the
     viewport. Found 2026-08-28. Explicit width:100% forces it back to the
     panel's real width so overflow:hidden has something to actually clip. */
  .marquee-panel--labeled { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee-panel--labeled__label { max-width: none; }
  .marquee-panel--labeled__track { width: 100%; }
  .section, .reviews-section { padding: 40px 0; }
  .trust-strip__grid, .glance-cards, .process-steps, .location-mini-grid, .ai-chat-card__quick { grid-template-columns: 1fr; }
  .chat-fab span { display: none; }

  /* Condition cards: single column, and the header reflows to one row
     (icon + title + sign) instead of desktop's icon/sign row + title below. */
  .condition-grid { grid-template-columns: 1fr; }
  /* Icon(1) / title(2) / sign(3) on mobile — desktop has sign at order:2 (next
     to the icon, title wraps below), so the order must flip here or the sign
     circle renders before the title text instead of pushed to the far right. */
  /* flex-wrap: nowrap is the key fix — the desktop rule wraps to a new flex
     line, so on a long title (e.g. "Shoulder Instability & Dislocations")
     the sign circle was overflowing onto its own row below instead of
     staying put while the title's own text wraps internally. align-items:
     flex-start keeps icon + sign pinned to the top regardless of how many
     lines the title takes, so every card lines up the same way. */
  .condition-card__head { flex-wrap: nowrap; align-items: flex-start; padding: 18px; }
  .condition-card__icon { width: 34px; height: 34px; border-radius: 10px; }
  .condition-card__title { order: 2; flex-basis: auto; flex: 1 1 auto; margin-top: 0; margin-left: 12px; font-size: 0.95rem; }
  .condition-card__sign { order: 3; margin-top: 3px; }
  .condition-card__body { padding: 0 18px 18px; }

  .insurance-grid { grid-template-columns: 1fr; gap: 16px; }
  .protocol-row { border-bottom: 1px solid rgba(15, 27, 36, 0.05); }
  .protocol-row:last-child { border-bottom: none; }
  .chat-fab { bottom: 100px; }

  /* Persistent bottom booking bar replaces the header's Book button on mobile */
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 92px; }

  /* Hero: condensed intro copy + photo-overlay info bar (matches the design's dedicated mobile layout).
     The design's mobile hero drops the secondary CTAs, the AI-assistant text link, the quote box, and
     the "most patients seen this week" line — booking now lives in the persistent bottom bar instead,
     so keeping all of the desktop hero's elements too just crowds the screen. */
  .hero__intro--full { display: none; }
  .hero__intro--short { display: block; }
  .hero__actions, .hero__ask-ai, .hero__fine-print, .hero__quote-box, .hero__trust-item--wait { display: none; }
  .hero__photo-overlay {
    display: flex; position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
    justify-content: space-between; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-radius: 16px; padding: 12px 14px;
  }
}
