/* ==========================================================================
   Glacier Point Chiropractic Clinic — shared stylesheet
   ========================================================================== */

:root {
  /* Palette (sampled from Figma homepage) */
  --navy: #0e2433;
  --navy-2: #163447;
  --charcoal: #1f2123;
  --orange: #f2a93b;
  --orange-hover: #e59a26;
  --teal: #1f8f87;
  --teal-soft: #dcefed;
  --mist: #e3eef1;
  --frost: #f4f8f9;
  --cream: #fff6e7;
  --white: #ffffff;
  --ink: #0e2433;
  --text: #526974;
  --text-light: #c9d5dd;
  --line: #dbe5ea;

  /* Type */
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 36, 51, .06), 0 8px 24px rgba(14, 36, 51, .06);
  --section-y: clamp(64px, 8vw, 96px);
  --header-h: 83px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.25rem, 1.2rem + 3.8vw, 4.0625rem); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); font-weight: 800; line-height: 1.08; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--orange); color: var(--navy); padding: 10px 16px;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--white); }
.section--mist { background: var(--mist); }
.section--frost { background: var(--frost); }
.section--navy { background: var(--navy); color: var(--text-light); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 18px;
  margin-bottom: 20px;
}
.split .eyebrow { margin-bottom: 24px; }
.section p { margin-bottom: 24px; }
.section p:last-child { margin-bottom: 0; }
.section--navy .eyebrow, .cta-band .eyebrow { color: var(--text-light); }

.lead { max-width: 560px; }
.split h2 { max-width: 510px; }

.split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--top { align-items: start; }
}
/* Figma column widths at full desktop width */
@media (min-width: 1248px) {
  .split { grid-template-columns: 588px 588px; column-gap: 24px; justify-content: space-between; }
  .split--after { grid-template-columns: 588px 554px; column-gap: 58px; }
  .split--why { grid-template-columns: 588px 540px; column-gap: 72px; }
  .split--injuries { grid-template-columns: 588px 486px; align-items: start; }
}
.split--after p { max-width: 510px; }
.split--why p, .split .lead { max-width: 530px; }
@media (min-width: 900px) {
  .media.media--why { aspect-ratio: 588 / 460; }
  .media.media--map { aspect-ratio: 7 / 5; }
  .split--injuries .media:first-child { aspect-ratio: 486 / 310; }
  .split--injuries .media:last-child { aspect-ratio: 486 / 325; }
}
.header-cta { gap: 10px; }
@media (min-width: 900px) { .hero .trust-row { flex-wrap: nowrap; max-width: none; width: max-content; } }
.cta-band .cta-band__details { grid-template-columns: repeat(2, max-content); justify-content: start; }
.cta-band__details p { max-width: none; margin: 0; line-height: 20px; }
@media (max-width: 720px) { .cta-band .cta-band__details { grid-template-columns: 1fr; } }

.media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 12px 20px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--charcoal);
  color: var(--white);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex: none; }
.brand img { width: auto; height: 56px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: Georgia, "Times New Roman", serif; }
.brand__name { font-size: 1.0625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand__sub { font-size: .75rem; letter-spacing: .06em; margin-top: 5px; color: #d7dde2; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 24px; list-style: none; }
.nav__list a {
  font-size: .875rem; text-decoration: none; color: var(--white);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: var(--orange); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; border: 0; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.header-cta { flex: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--charcoal);
    padding: 8px var(--gutter) 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .08); color: var(--orange); }
  .header-cta { display: none; }
  .nav .btn { margin-top: 20px; }
}
@media (min-width: 1081px) {
  .nav .nav__cta { display: none; }
}
@media (max-width: 480px) {
  :root { --header-h: 72px; }
  .brand img { width: auto; height: 46px; }
  .brand__name { font-size: .9375rem; }
  .brand__sub { font-size: .6875rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--white);
  min-height: 674px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(14, 36, 51, 1) 0%, rgba(14, 36, 51, .55) 30%, rgba(14, 36, 51, 0) 60%),
    linear-gradient(90deg, rgba(14, 36, 51, .72) 0%, rgba(14, 36, 51, .6) 35%, rgba(14, 36, 51, .15) 60%, rgba(14, 36, 51, 0) 72%);
}
.hero__inner { padding-top: 72px; padding-bottom: 29px; }
.hero__content { max-width: 560px; }
.hero .eyebrow { color: #d8e2e8; }
.hero h1 { color: var(--white); margin-bottom: 28px; }
.hero__text { color: #dfe6eb; max-width: 450px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  list-style: none;
  margin-top: 92px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  max-width: 732px;
  font-size: .875rem; color: #dfe6eb;
}
.trust-row li { display: inline-flex; align-items: center; gap: 10px; line-height: 1.6; }
.trust-row svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

/* Tablet / mobile: content stays on top of the image, with a stronger overlay for legibility */
@media (max-width: 899px) {
  .hero { min-height: 560px; justify-content: center; }
  .hero::before {
    display: block;
    background: linear-gradient(180deg, rgba(14, 36, 51, .72) 0%, rgba(14, 36, 51, .8) 50%, rgba(14, 36, 51, .92) 100%);
  }
  .hero__bg img { object-position: 75% 30%; }
  .hero__inner { padding-top: 56px; padding-bottom: 48px; }
}
@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; }
}

/* ---------- Cards / steps ---------- */
.section-head { max-width: 800px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 20px; }
.section-head > p { max-width: 530px; }
.card-grid { display: grid; gap: 24px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 2px rgba(14, 36, 51, .03);
}
.card h3 { margin-bottom: 18px; letter-spacing: 0; }
.card__icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 32px; height: 32px; }
.card .card__icon { background: #e7f4f5; border: 1px solid #d3e6e8; color: #1f8f87; }
.card__icon .cut { fill: #e7f4f5; }
.card .card__icon--fig { background: none; border: 0; }
.card__icon--fig svg { width: 72px; height: 72px; }
.media--plain { background: none; }
.split > div > p:not(.callout) { max-width: 530px; }
.split.split--after > div > p { max-width: 510px; }
.card__icon .cut-s { stroke: #e7f4f5; }
.card__step {
  display: block; font-family: var(--font-body); font-size: .75rem; line-height: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px;
}
.card__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-body); font-weight: 700; font-size: 1.25rem;
  margin-bottom: 24px;
}
.card:has(.card__num) { padding: 28px; }
.card:has(.card__num) h3 { margin-bottom: 24px;
}

/* ---------- Lists, callouts, chips ---------- */
.check-list { list-style: none; display: grid; gap: 14px; margin: 24px 0; line-height: 26px; color: var(--ink); }
.check-list li { position: relative; padding-left: 22px; }
.check-list li::before {
  content: ""; position: absolute; left: 1.5px; top: 9px;
  width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg);
}
.callout {
  background: var(--cream);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 38px 20px 20px;
}
.stack { display: grid; gap: 24px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 20px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; line-height: 1.4; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: .875rem;
}
.chips svg { width: 14px; height: 14px; color: var(--text); }
.fine-print { font-size: .875rem; color: #5b6a75; }

.rule { width: 48px; height: 2px; background: var(--teal); border: 0; margin: 0 0 24px; }
.tagline { color: var(--white); font-weight: 500; }

/* ---------- Media aspect helpers ---------- */
.media--landscape { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 3; }
.media--focus-right img { object-position: 68% center; }
.media--focus-left img { object-position: 32% center; }
@media (min-width: 900px) {
  .media--tall { aspect-ratio: 33 / 32; }
  .media--landscape { aspect-ratio: 6 / 5; }
  .media--portrait { aspect-ratio: 9 / 11; max-width: 486px; width: 100%; justify-self: start; }
  .media--portrait-full { aspect-ratio: 7 / 9; max-width: none; }
  .split > .media--portrait:last-child { justify-self: end; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--text-light);
  padding: clamp(56px, 7vw, 80px) 0;
}
.cta-band__lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: rgba(255, 255, 255, .05); }
.cta-band h2 { color: var(--white); margin-bottom: 20px; }
.cta-band__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band__copy { max-width: 860px; }
.cta-band__copy p { max-width: 530px; }
.cta-band__details {
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, max-content)); column-gap: 64px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .8125rem; column-gap: 80px;
}
.cta-band__details strong { display: block; color: var(--white); font-size: .875rem; line-height: 17px; font-weight: 600; margin-bottom: 6px; }
.cta-band__details a { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #c3c9ce; font-size: .875rem; padding: 40px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-logo img { width: 156px; height: auto; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; }
.footer-nav a { color: var(--white); text-decoration: none; font-size: .8125rem; }
.footer-nav a:hover { color: var(--orange); }
.footer-contact { margin-top: 16px; text-align: right; }
.footer-contact a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .75rem; color: #a7b0b7;
}
@media (max-width: 720px) {
  .footer-top { flex-direction: column; }
  .footer-contact { text-align: left; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Services dropdown ---------- */
.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
@media (min-width: 1081px) {
  .nav__list { align-items: center; }
  .nav__list > li > a { display: inline-block; line-height: 1.4; }
}
.subnav-toggle {
  display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0;
  border: 0; background: none; color: var(--white); cursor: pointer; border-radius: 4px;
}
.subnav-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.subnav {
  position: absolute; top: 100%; left: -16px; z-index: 10;
  min-width: 270px; padding: 14px 8px 8px; list-style: none;
  background: var(--charcoal); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
  display: none;
}
.nav__list .subnav a { display: block; padding: 10px 12px; border-bottom: 0; border-radius: 6px; }
.nav__list .subnav a:hover, .nav__list .subnav a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: var(--orange); }
@media (min-width: 1081px) {
  .has-sub:hover .subnav, .has-sub.sub-open .subnav { display: block; }
  .has-sub.sub-open .subnav-toggle svg { transform: rotate(180deg); }
}
@media (max-width: 1080px) {
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .subnav-toggle { display: none; }
  .subnav { position: static; display: block; width: 100%; min-width: 0; padding: 0 0 0 16px; box-shadow: none; background: none; }
  .nav__list .subnav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; font-size: .9375rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.hero--page { min-height: 520px; justify-content: center; }
.hero--page .hero__inner { padding-top: 64px; padding-bottom: 64px; }
.hero--page .hero__text { max-width: 470px; }
.hero--flip .hero__bg img { transform: scaleX(-1); }
@media (max-width: 899px) {
  .hero--page { min-height: 0; }
  .hero--page .hero__inner { padding-top: 12px; padding-bottom: 44px; }
}

/* ---------- Section heading variants ---------- */
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center h2 { margin-left: auto; margin-right: auto; }
.section-note { margin-top: 28px; max-width: 760px; font-size: .9375rem; }

/* ---------- Condition cards ---------- */
.condition-grid { display: grid; gap: 24px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .condition-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .condition-grid { grid-template-columns: repeat(3, 1fr); } }
.condition-card {
  display: flex; flex-direction: column;
  background: var(--frost); border: 1px solid var(--orange); border-radius: var(--radius);
  overflow: hidden; text-align: center;
}
.condition-card__img { aspect-ratio: 36 / 23; background: var(--navy); }
.condition-card__img img { width: 100%; height: 100%; object-fit: cover; }
.condition-card h3 {
  position: relative; margin: -30px 0 0; padding: 16px 12px;
  background: var(--white); border-radius: var(--radius) var(--radius) 0 0;
  font-size: 1.375rem; font-weight: 600;
}
.condition-card__body { padding: 12px 22px 24px; display: flex; flex-direction: column; flex: 1; font-size: .9375rem; }
.condition-card__body .btn { margin-top: auto; align-self: center; min-height: 40px; padding: 8px 20px; }
.condition-card__body p:last-of-type { margin-bottom: 22px; }

/* ---------- Icon feature cards ---------- */
.icon-grid { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 560px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .icon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .icon-grid--5 { grid-template-columns: repeat(5, 1fr); } }
.icon-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; font-size: .9375rem; color: var(--text); }
.icon-card .card__icon { margin-bottom: 20px; }

/* ---------- Bulleted lists ---------- */
.dot-list { list-style: none; display: grid; gap: 10px; margin: 18px 0 22px; }
.dot-list li { position: relative; padding-left: 20px; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.section--navy .dot-list li { color: var(--text-light); }

/* ---------- Feature (orange) card ---------- */
.feature-card {
  margin: 0 auto; text-align: center;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 72px);
  border-radius: 20px; color: #4a3210;
  background: linear-gradient(120deg, #f7b85a 0%, #f2a93b 45%, #f4b968 70%, #f2a93b 100%);
  box-shadow: var(--shadow);
}
.feature-card h2 { margin: 0 auto 18px; }
.feature-card p { max-width: 780px; margin-left: auto; margin-right: auto; color: var(--white); font-weight: 500; text-shadow: 0 1px 2px rgba(120, 70, 0, .35); }

/* ---------- Data table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
.data-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0 10px; font-size: .9375rem; }
.data-table thead th {
  background: var(--orange); color: var(--navy); text-align: left;
  font-family: var(--font-head); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: 12px 18px;
}
.data-table thead th:first-child { border-radius: 8px 0 0 8px; }
.data-table thead th:last-child { border-radius: 0 8px 8px 0; }
.data-table tbody th, .data-table tbody td { background: var(--frost); padding: 18px; vertical-align: top; text-align: left; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-table tbody th { font-family: var(--font-head); color: var(--ink); font-weight: 700; border-left: 1px solid var(--line); border-radius: 8px 0 0 8px; width: 22%; }
.data-table tbody td:last-child { border-right: 1px solid var(--line); border-radius: 0 8px 8px 0; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 18px; }
.faq-item { border: 1px solid #f3c98c; border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 1px 2px rgba(14, 36, 51, .04); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: var(--white);
  font-size: 1rem; line-height: 1; font-weight: 700;
}
.faq-item[open] { background: var(--orange); border-color: var(--orange); }
.faq-item[open] summary { color: var(--navy); border-bottom: 1px solid rgba(14, 36, 51, .25); margin: 0 20px; padding: 18px 0; }
.faq-item[open] summary::after { content: "\2212"; background: var(--navy); color: var(--orange); }
.faq-item__answer { padding: 14px 20px 20px; color: var(--navy); font-size: .9375rem; }
.faq-item__answer p { margin-bottom: .75em; }
.faq-item__answer a { color: var(--navy); font-weight: 700; }

/* ---------- Blog ---------- */
.blog-tabs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.blog-tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px;
  border: 1px solid var(--orange); border-radius: 6px; background: var(--white); color: var(--ink);
  font: 500 .9375rem var(--font-body); cursor: pointer;
}
.blog-tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.blog-tab[aria-pressed="true"] { background: var(--orange); color: var(--navy); }
.blog-tab[aria-pressed="true"]::before { background: var(--navy); }
.post-grid { display: grid; gap: 22px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
.post-card {
  position: relative;
  display: grid; grid-template-columns: 1fr 42%; gap: 16px; align-items: stretch;
  padding: 14px; border: 1px solid #8b8f94; border-radius: var(--radius); background: var(--white);
}
.post-card[hidden] { display: none; }
.post-card__body { display: flex; flex-direction: column; padding: 4px 0 4px 2px; }
.post-card .card__icon { width: 40px; height: 40px; border-radius: 8px; background: var(--orange); color: var(--navy); margin-bottom: 18px; }
.post-card .card__icon svg { width: 20px; height: 20px; }
.post-card__cat { font-family: var(--font-head); font-size: .625rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.post-card h3 { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.25; margin-bottom: 18px; }
.post-card h3 a { text-decoration: none; color: inherit; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card__more { margin-top: auto; font-size: .8125rem; font-weight: 600; color: #a5650a; display: inline-flex; align-items: center; gap: 6px; }
.post-card__soon { margin-top: auto; font-size: .8125rem; color: #5b6a75; }
.post-card__img { border: 1px solid var(--orange); border-radius: 10px; overflow: hidden; aspect-ratio: 2 / 3; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .blog-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .blog-tab { padding: 10px 12px; font-size: .8125rem; line-height: 1.25; text-align: left; }
}
@media (max-width: 480px) { .post-card { grid-template-columns: 1fr; } .post-card__img { aspect-ratio: 16 / 10; order: -1; } }

/* ---------- Article ---------- */
.breadcrumb { font-size: .8125rem; color: #dfe6eb; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--white); }
.article-meta { font-size: .8125rem; color: #dfe6eb; margin-top: 14px; }
.prose { max-width: none; margin: 0; font-size: 1.0625rem; color: #3d4c57; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--teal); font-weight: 600; }
.prose .btn--primary { color: var(--navy); }
.prose .btn--navy { color: var(--white); }
.prose .faq-list { max-width: none; gap: 20px; margin: 1.2em 0 2em; }
.prose .faq-item { border: 1px solid var(--orange); border-radius: 12px; box-shadow: none; }
.prose .faq-item summary { padding: 20px 22px; font: 600 1.125rem/26px var(--font-head); color: var(--navy); text-transform: capitalize; }
.prose .faq-item summary::after { width: 22px; height: 22px; background: var(--orange); color: var(--navy); font-size: 1rem; }
.prose .faq-item[open] summary { color: var(--white); margin: 0 22px; padding: 20px 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .75); }
.prose .faq-item[open] summary::after { background: var(--white); color: var(--orange); }
.prose .faq-item__answer { padding: 10px 22px 20px; color: var(--white); font-size: .9375rem; line-height: 25px; }
.prose .faq-item__answer p { margin: 0; }
.prose .faq-item__answer a { color: var(--white); text-decoration: underline; }
@media (max-width: 640px) {
  .prose .faq-item summary { font-size: 1rem; line-height: 23px; padding: 15px 16px; }
  .prose .faq-item[open] summary { margin: 0 16px; padding: 15px 0 11px; }
  .prose .faq-item__answer { padding: 9px 16px 16px; }
}
.prose .callout { margin: 1.6em 0; }

/* ---------- Contact / booking ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 32px; } }
.contact-list { list-style: none; display: grid; gap: 18px; margin: 28px 0 36px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.125rem; color: var(--ink); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--teal); }
.icon-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; flex: none; }
.icon-dot svg { width: 20px; height: 20px; }
.map-link { display: block; border: 1px solid var(--orange); border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.map-link img { width: 100%; }

.form-card { position: relative; border: 1px solid var(--orange); border-radius: 20px; padding: clamp(22px, 4vw, 36px); background: var(--white); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label.field__label, .field legend { display: block; font-family: var(--font-head); font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.field .req { color: #b42318; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  font: 400 .9375rem var(--font-body); color: var(--ink);
  border: 1px solid #c9d3da; border-radius: 8px; background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(242, 169, 59, .45); border-color: var(--orange); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.choice-grid--1 { grid-template-columns: 1fr; }
.choice { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--text); cursor: pointer; min-height: 28px; }
.choice input { width: 18px; height: 18px; accent-color: var(--orange); flex: none; margin: 0; }
.field-error { display: none; color: #b42318; font-size: .8125rem; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.field.invalid .field-error { display: block; }
.form-note { font-size: .8125rem; color: #5b6a75; margin: 12px 0; }
.form-card .btn--primary { width: 100%; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Simple centered pages (thank-you / 404) ---------- */
.center-page { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.center-page h1 { margin-bottom: 18px; }
.center-page p { max-width: 560px; margin: 0 auto 1em; }
.center-page .btn-row { justify-content: center; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Figma inner-page alignment (About, Conditions) + CTA background
   ========================================================================== */
.cta-band { background: var(--navy) url("/images/cta-background.webp") center / cover no-repeat; }
.cta-band__lines { display: none; }

/* Page heroes: 541px, content sits 20px below centre (Figma) */
.hero--page { min-height: 541px; justify-content: center; }
.hero--page .hero__inner { padding-top: 104px; padding-bottom: 64px; }
.hero--page .hero__text { max-width: 480px; }

/* Outline call button on light sections */
.btn--outline { background: transparent; color: var(--navy); border-color: #c9d5dd; }
.btn--outline:hover { border-color: var(--navy); }

/* About: What is in the office */
.section--office { padding-top: 50px; }
.section--office .section-head { margin-bottom: 47px; }
.section--office .icon-grid { gap: 25px; }
.section--office .icon-card { padding: 24px; font-size: 1.25rem; line-height: 1.5; }
.card__icon--lg { width: 72px; height: 72px; margin-bottom: 18px; background: #e7f4f5; border: 1px solid #d5e2e7; color: #1f8f87; }
.card__icon--lg svg { width: 32px; height: 32px; }

/* About: Where we are */
.section--where { padding: 50px 0; }
.section--where .btn-row { margin-top: 24px; }

/* Conditions grid (Figma: 3 x 392px cards, 20px gap) */
.container--wide { max-width: calc(1215px + var(--gutter) * 2); }
.section--conditions { padding: 77px 0 85px; }
.section--conditions .section-head { max-width: none; margin-bottom: 50px; }
.section--conditions .section-head h2 { margin-bottom: 10px; }
.section--conditions .section-head > p { max-width: none; }
.section--conditions .condition-grid { gap: 20px; }
.section--conditions .condition-card { position: relative; background: transparent; border: 0; container-type: inline-size; }
/* Figma: orange outline wraps only the title + text, not the image */
.section--conditions .condition-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(100cqw * 310 / 392 - 62px);
  border: 1px solid var(--orange); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); pointer-events: none;
}
.section--conditions .condition-card__img { aspect-ratio: 392 / 310; overflow: hidden; }
.section--conditions .condition-card h3 { margin-top: -62px; padding: 12px; font-size: 1.75rem; line-height: 38px; font-weight: 500; }
.section--conditions .condition-card__body { padding: 12px 10px 26px; font-size: 1.0625rem; line-height: 28px; }
.section--conditions .condition-card__body p { margin-bottom: 28px; }
.section--conditions .condition-card__body p:last-of-type { margin-bottom: 24px; }
.section--conditions .condition-card__body .btn { min-height: 37px; padding: 8px 20px; border-radius: 4px; }
.icon-card .card__icon--office { width: 72px; height: 72px; margin-bottom: 18px; background: none; border: 0; }
@media (min-width: 900px) {
  .hero--baked::before { display: none; }
  .hero--baked .hero__bg img { object-position: center; }
}

/* ---------- Services (Car Accident Chiropractor) — Figma ---------- */
.hero--svc .hero__inner { padding-top: 48px; padding-bottom: 40px; }
.hero--svc .hero__content { max-width: 600px; }
.hero--svc .hero__text { max-width: 600px; }
.split.split--wide-text > div > p { max-width: 530px; }
@media (min-width: 900px) { .media.media--exam { aspect-ratio: 588 / 428; } }
.section--treatment { padding-bottom: 80px; }
.section--treatment .section-head { max-width: none; }
.section--treatment .section-head > p { max-width: none; }
.section--treatment .section-note { max-width: none; margin-top: 50px; font-size: 1.0625rem; }
.section--timeline { padding: 50px 0; }
@media (min-width: 1248px) { .split--timeline { align-items: center; } }
@media (min-width: 900px) { .split--timeline .media.media--timeline { aspect-ratio: 486 / 592; max-width: 486px; } }
.section--timeline .check-list li { padding-left: 24px; }
.section--records { padding: 76px 0 75px; }
.hero--page ~ .cta-band .cta-band__copy p { max-width: none; }
.section--records .feature-card {
  max-width: 1132px; padding: 43px 40px;
  background: #f2a93b url("/images/records-card-bg.webp") center / cover no-repeat;
  border-radius: 28px; box-shadow: none;
}
.section--records .feature-card h2 { color: var(--navy); margin-bottom: 30px; }
.section--records .feature-card p { max-width: 740px; font-weight: 400; line-height: 26px; margin-bottom: 26px; text-shadow: none; }
.section--records .feature-card p:last-child { margin-bottom: 0; }

/* ---------- Auto Accident Injury Treatment — Figma ---------- */
.hero--auto .hero__inner { padding-top: 72px; padding-bottom: 64px; }
.hero--auto .hero__text { max-width: 530px; }

/* Injury table: orange pill header, each row its own card */
.section--injury-table { padding: 50px 0 76px; }
.section--injury-table .section-head { margin-bottom: 16px; }
.section--injury-table .table-wrap { overflow-x: auto; border-radius: 0; }
.section--injury-table .data-table { border-spacing: 0 16px; font-size: 1.0625rem; }
.section--injury-table .data-table thead th {
  background: var(--orange); color: var(--white); padding: 21px 24px;
  font-family: var(--font-body); font-size: .875rem; font-weight: 700; letter-spacing: .08em; line-height: 18px;
}
.section--injury-table .data-table thead th:first-child { border-radius: 16px 0 0 16px; }
.section--injury-table .data-table thead th:last-child { border-radius: 0 16px 16px 0; }
.section--injury-table .data-table tbody th,
.section--injury-table .data-table tbody td { background: var(--frost); padding: 32px 24px 24px; line-height: 28px; border-color: var(--line); }
.section--injury-table .data-table tbody th { width: 244px; font-family: var(--font-head); font-size: 1.375rem; font-weight: 600; line-height: 28px; border-radius: 16px 0 0 16px; }
.section--injury-table .data-table tbody td:last-child { border-radius: 0 16px 16px 0; }
.section--injury-table .data-table tbody td:nth-child(2) { padding-right: 0; }
.section--injury-table .data-table tbody td:nth-child(2) { width: 344px; }
.section--injury-table .section-note { max-width: none; margin-top: 16px; font-size: 1.0625rem; }

/* How injury care gets paid: one continuous block, inline bullets */
@media (min-width: 900px) { .media.media--paid { aspect-ratio: 588 / 756; } }
.section--paid .split > div > p { margin: 0; }
.section--paid .split h2 { margin-bottom: 24px; }
.section--paid .dot-list { max-width: 530px; }
.section--paid .dot-list, .section--keep .dot-list { display: block; margin: 0; }
.section--paid .dot-list li, .section--keep .dot-list li { padding-left: 0; }
.section--paid .dot-list li::before, .section--keep .dot-list li::before {
  content: "\2022\00a0"; position: static; display: inline; width: auto; height: auto; background: none; border-radius: 0;
}

/* Keep your own record */
.section--keep { padding: 50px 0; }
.section--keep .split h2 { margin-bottom: 24px; max-width: none; }
.section--keep .split > div > p { margin: 0; line-height: 40px; }
.section--keep .dot-list li { line-height: 40px; color: var(--text); }

/* ---------- Blog — Figma ---------- */
.hero--blog .hero__inner { padding-top: 80px; padding-bottom: 64px; }
.hero--blog .hero__text { max-width: 500px; }
.section--blog { padding: 105px 0 99px; }
.section--blog .blog-tabs { margin-bottom: 86px; }
.section--blog .blog-tab {
  min-height: 54px; padding: 12px 24px; gap: 12px; border-radius: 3px;
  font: 500 1.125rem var(--font-body); color: var(--navy);
}
.section--blog .blog-tab[aria-pressed="true"] { color: var(--white); }
.section--blog .blog-tab[aria-pressed="true"]::before { background: var(--white); }
.section--blog .post-grid { gap: 24px; }
.section--blog .post-card {
  grid-template-columns: minmax(0, 1fr) 241px; gap: 16px; min-height: 400px;
  padding: 24px; border: 1px solid #1e2b36; border-radius: 20px;
}
.section--blog .post-card__body { padding: 16px 0 9px; }
.post-card__badge { display: block; width: 56px; height: 56px; margin-bottom: 26px; }
.post-card__badge svg { width: 56px; height: 56px; }
.section--blog .post-card__cat { font: 500 .75rem/1.4 var(--font-body); letter-spacing: 0; margin-bottom: 22px; }
.section--blog .post-card h3 { font-size: 1.75rem; font-weight: 800; line-height: 39px; letter-spacing: -0.02em; margin-bottom: 24px; }
.section--blog .post-card__more, .section--blog .post-card__soon { font: 600 .875rem var(--font-body); color: var(--orange); gap: 14px; }
.section--blog .post-card__img { position: relative; border: 2px solid var(--orange); border-radius: 12px; aspect-ratio: auto; }
.section--blog .post-card__img img { position: absolute; inset: 0; }
@media (max-width: 640px) {
  .section--blog { padding: 64px 0; }
  .section--blog .blog-tabs { margin-bottom: 40px; }
  .section--blog .blog-tab { font-size: .875rem; min-height: 48px; padding: 10px 12px; }
}
@media (max-width: 480px) {
  .section--blog .post-card { grid-template-columns: 1fr; min-height: 0; }
  .section--blog .post-card__img { aspect-ratio: 16 / 10; }
}

/* ---------- FAQs — Figma ---------- */
.section--faq { padding: 68px 0 100px; }
.section--faq .section-head { max-width: none; margin-bottom: 49px; }
.section--faq .section-head h1 { margin-bottom: 0; }
.section--faq .faq-list { max-width: 1128px; gap: 35px; }
.section--faq .faq-item { border: 1px solid var(--orange); border-radius: 12px; box-shadow: none; }
.section--faq .faq-item summary {
  padding: 23px 24px; font: 600 1.375rem/28px var(--font-head); color: var(--navy); text-transform: capitalize;
}
.section--faq .faq-item summary::after {
  width: 26px; height: 26px; background: var(--orange); color: var(--navy); font-size: 1.125rem;
}
.section--faq .faq-item[open] summary {
  color: var(--white); margin: 0 24px; padding: 24px 0 15px; border-bottom: 1px solid rgba(255, 255, 255, .75);
}
.section--faq .faq-item[open] summary::after { background: var(--white); color: var(--orange); }
.section--faq .faq-item__answer { padding: 9px 24px 24px; color: var(--white); font-size: 1.0625rem; line-height: 27px; }
.section--faq .faq-item__answer a { color: var(--white); }
@media (max-width: 640px) {
  .section--faq .faq-item summary { font-size: 1.0625rem; line-height: 24px; padding: 16px; }
  .section--faq .faq-item[open] summary { margin: 0 16px; padding: 16px 0 12px; }
  .section--faq .faq-item__answer { padding: 9px 16px 18px; font-size: 1rem; }
}

/* ---------- Contact / booking — Figma ---------- */
.section--contact { padding: 77px 0 76px; }
@media (min-width: 1248px) { .section--contact .contact-grid { grid-template-columns: 540px 648px; justify-content: space-between; gap: 0; } }
.section--contact h1 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); line-height: 57px; margin-bottom: 20px; }
.section--contact .contact-grid > div > p { max-width: 450px; margin-bottom: 25px; }
.section--contact .contact-list { gap: 30px; margin: 0 0 25px; }
.section--contact .contact-list li { gap: 10px; font-size: 1.375rem; line-height: 28px; }
.section--contact .icon-dot { width: 44px; height: 44px; }
.section--contact .icon-dot svg { width: 22px; height: 22px; }
.section--contact h2 { font-size: 2.25rem; line-height: 40px; margin-bottom: 20px; }
.section--contact .map-link { max-width: 516px; aspect-ratio: 516 / 228; margin-top: 0; }
.section--contact .map-link img { width: 100%; height: 100%; object-fit: cover; }
.section--contact .form-card { padding: 58px 58px 56px; border-radius: 24px; }
.section--contact .form-grid { gap: 20px; }
.section--contact .field label.field__label, .section--contact .field legend { font-size: .875rem; line-height: 17px; margin-bottom: 5px; white-space: nowrap; }
.section--contact .field input[type="text"], .section--contact .field input[type="email"],
.section--contact .field input[type="tel"], .section--contact .field input[type="date"] { min-height: 44px; border-color: #dbe1e6; }
.section--contact .field textarea { display: block; border-color: #dbe1e6; }
.section--contact .choice { min-height: 30px; font-size: .9375rem; color: var(--navy); }
.section--contact .choice-grid { gap: 0 16px; }
.section--contact .form-card .btn--primary { min-height: 48px; border-radius: 6px; color: var(--white); font-weight: 600; }
.section--contact .form-note { font-size: .875rem; line-height: 18px; color: var(--navy); margin: 20px 0; }
.section--contact .form-grid .field:has(fieldset) { margin-bottom: -6px; }
.section--contact .form-grid > * { min-width: 0; }
.section--contact .full .field .choice { min-height: 18px; }
@media (max-width: 640px) { .section--contact .field legend { white-space: normal; } }
@media (min-width: 900px) { .section--blog .post-card__cat { white-space: nowrap; } }

/* Mobile hero: same overlay layout on every page (overrides the per-page desktop paddings above) */
@media (max-width: 899px) {
  .hero.hero--page { min-height: 480px; }
  .hero.hero--page .hero__inner { padding-top: 56px; padding-bottom: 48px; }
}

/* ==========================================================================
   Responsive pass: headings max 3 lines, section spacing, contact form
   ========================================================================== */

/* Blog cards: two columns only when there is room for the 241px image + text */
@media (max-width: 1247px) {
  .section--blog .post-grid { grid-template-columns: 1fr; }
  .section--blog .post-card h3 { font-size: 1.625rem; line-height: 1.3; }
}
@media (max-width: 640px) {
  .section--blog .post-card { grid-template-columns: 1fr; min-height: 0; padding: 16px; }
  .section--blog .post-card__img { order: -1; aspect-ratio: 16 / 10; }
  .section--blog .post-card__body { padding: 4px 0 0; }
  .section--blog .post-card h3 { font-size: 1.375rem; margin-bottom: 16px; }
  .section--blog .post-card__badge { margin-bottom: 16px; }
  .section--blog .post-card__cat { margin-bottom: 12px; }
}

/* Small phones: smaller headings so none run past three lines */
@media (max-width: 480px) {
  h1 { font-size: clamp(1.75rem, 0.9rem + 4.4vw, 2.25rem); }
  h2 { font-size: clamp(1.625rem, 1rem + 3vw, 1.875rem); }
  .section--contact h1 { line-height: 1.12; }
  .section--faq .faq-item summary { font-size: .9375rem; line-height: 22px; padding: 14px; }
  .section--faq .faq-item[open] summary { margin: 0 14px; padding: 14px 0 10px; }
}

/* Space between sections: ~50px on tablet, ~36px on mobile */
@media (max-width: 1024px) {
  main .section, main .cta-band { padding-top: 50px; padding-bottom: 50px; }
}
@media (max-width: 640px) {
  main .section, main .cta-band { padding-top: 36px; padding-bottom: 36px; }
}

/* Contact form on tablet / mobile */
@media (max-width: 1024px) {
  .section--contact .form-card { padding: 32px; }
}
@media (max-width: 959px) {
  .section--contact .contact-grid { gap: 36px; }
}
@media (max-width: 640px) {
  .section--contact .form-card { padding: 24px 18px; border-radius: 16px; }
  .section--contact .contact-list li { font-size: 1.125rem; line-height: 1.45; }
  .section--contact .icon-dot { width: 40px; height: 40px; }
  .section--contact h2 { font-size: 1.75rem; line-height: 1.2; }
  .section--contact .choice-grid { gap: 0 12px; }
  .section--contact .choice { align-items: flex-start; line-height: 1.35; padding: 4px 0; min-height: 0; }
  .section--contact .choice input { margin-top: 1px; }
  .section--contact .form-grid .field:has(fieldset) { margin-bottom: 0; }
}
@media (max-width: 1247px) { .section--contact .field legend { white-space: normal; } }
@media (max-width: 480px) { .section--blog .post-card h3 { font-size: 1.1875rem; } }
@media (max-width: 360px) { .section--faq .faq-item summary { font-size: .875rem; line-height: 20px; } }
@media (max-width: 340px) {
  .section--blog .post-card h3 { font-size: 1.0625rem; }
  .section--faq .faq-item summary { font-size: .8125rem; line-height: 19px; }
}

/* Tablet / mobile: single-column sections use the full container width (no empty space on the right) */
@media (max-width: 899px) {
  main section:not(.hero) .split h2,
  main section:not(.hero) .split p,
  main section:not(.hero) .split .dot-list,
  main section:not(.hero) .split .check-list,
  .section--contact .contact-grid > div > p { max-width: none !important; }
  /* hero: keep the four trust points on one line where they fit */
  .hero .trust-row { gap: 12px 24px; max-width: none; }
}
@media (max-width: 680px) {
  .hero .trust-row { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Tablet / mobile: in image + text sections the text always comes first, image after */
@media (max-width: 899px) {
  .split > .media, .split > .stack { order: 2; }
}

/* Blog tabs: below the width where all four fit on one row, use an even 2 x 2 grid */
@media (max-width: 1179px) {
  .section--blog .blog-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .section--blog .blog-tab { justify-content: flex-start; text-align: left; }
}

/* Tablet / mobile alignment: centre short, stand-alone blocks; long reading text, lists, tables and forms stay left */
@media (max-width: 899px) {
  /* banners */
  .hero__content { margin-left: auto; margin-right: auto; text-align: center; }
  .hero__content .hero__text { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .hero .trust-row { justify-content: center; margin-left: auto; margin-right: auto; }

  /* section intros above card grids */
  .section-head { margin-left: auto; margin-right: auto; text-align: center; }
  .section-head > p { margin-left: auto; margin-right: auto; }

  /* step, number and icon cards */
  .card, .icon-card { text-align: center; }
  .card__icon, .card__num { margin-left: auto; margin-right: auto; }

  /* call-to-action band */
  .cta-band__top { flex-direction: column; align-items: center; text-align: center; }
  .cta-band__copy p { margin-left: auto; margin-right: auto; }
  .cta-band .cta-band__details { justify-content: center; justify-items: center; text-align: center; }
}

/* Tablet / mobile: image + text sections centre their heading and paragraphs; bullet lists and note boxes stay left */
@media (max-width: 899px) {
  .split > div:not(.media):not(.stack) { text-align: center; }
  .split .check-list, .split .dot-list, .split .callout { text-align: left; }
  .split .btn-row, .split .chips { justify-content: center; }
  .split .rule { margin-left: auto; margin-right: auto; }
}

/* Tablet / mobile banners: content uses the full container width (no empty side gaps) */
@media (max-width: 899px) {
  .hero .hero__content, .hero .hero__content .hero__text { max-width: none; }
}

/* Wide screens: banners grow with the screen width (same proportions as the 1440px design), so the image is not cropped */
@media (min-width: 1441px) {
  .hero { min-height: calc(100vw * 674 / 1440); justify-content: center; }
  .hero.hero--page { min-height: calc(100vw * 541 / 1440); }
  .hero.hero--article { min-height: calc(100vw * 615 / 1440); }
}

/* Tablet / mobile fixes from the responsive pass */
@media (max-width: 899px) {
  /* CTA band: address and hours stacked (two columns overflow below ~900px) */
  .cta-band .cta-band__details { grid-template-columns: 1fr; }
  /* comfortable tap height for the condition card buttons */
  .section--conditions .condition-card__body .btn { min-height: 44px; }
}

/* Tablet / mobile: text blocks that contain a bullet list stay fully left-aligned (heading, intro and list read as one block) */
@media (max-width: 899px) {
  .split > div:not(.media):not(.stack):has(.check-list, .dot-list) { text-align: left; }
  .split > div:not(.media):not(.stack):has(.check-list, .dot-list) .btn-row { justify-content: flex-start; }
}

/* Phones: the injury table becomes one card per injury (no sideways scrolling) */
@media (max-width: 767px) {
  .section--injury-table .table-wrap { overflow: visible; }
  .section--injury-table .data-table,
  .section--injury-table .data-table tbody,
  .section--injury-table .data-table tr,
  .section--injury-table .data-table th,
  .section--injury-table .data-table td { display: block; width: auto; min-width: 0; }
  .section--injury-table .data-table thead { display: none; }
  .section--injury-table .data-table tbody { display: grid; gap: 16px; }
  .section--injury-table .data-table tr {
    background: var(--frost); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  }
  .section--injury-table .data-table tbody th,
  .section--injury-table .data-table tbody td {
    background: none; border: 0; border-radius: 0; padding: 0;
  }
  .section--injury-table .data-table tbody th { width: auto; font-size: 1.25rem; margin-bottom: 14px; }
  .section--injury-table .data-table tbody td + td { margin-top: 14px; }
  .section--injury-table .data-table tbody td::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font: 700 .75rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal);
  }
  .section--injury-table .data-table tbody td:nth-child(2) { width: auto; padding-right: 0; }
}

/* Contact: live Google Map in place of the static image */
.map-embed { position: relative; background: var(--mist); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .section--contact .map-link.map-embed { aspect-ratio: auto; height: 280px; } }

/* Tablet / mobile typography: every paragraph and list item uses the same line height,
   and paragraphs / lists are separated by the same 16px gap. (!important because many
   page sections set their own desktop values with higher specificity.) */
@media (max-width: 899px) {
  main p,
  main .check-list li, main .dot-list li, main .prose li,
  main .icon-card, main .contact-list li { line-height: 1.65 !important; }

  main p:not(:last-child) { margin-bottom: 16px !important; }
  main .check-list, main .dot-list, main .prose ul { margin-top: 0 !important; margin-bottom: 16px !important; }
  main .check-list:last-child, main .dot-list:last-child, main .prose ul:last-child { margin-bottom: 0 !important; }
  main .check-list { gap: 10px; }
  main .dot-list li + li, main .prose li + li { margin-top: 10px; }
  main .cta-band .cta-band__details { row-gap: 16px; }
  main .cta-band__details p { margin-bottom: 0 !important; }
  main .chips { margin-top: 16px; margin-bottom: 16px; }
}

/* Footer: linked address, Google Business map, Powered By credit */
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--orange); }

/* Footer layout: logo | links | review button, then a full-width map */
.footer-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.footer-links { text-align: center; }
.footer-links .footer-nav ul { justify-content: center; }
.footer-links .footer-contact { text-align: center; }
.footer-review { margin: 0; }
.footer-review .btn { gap: 8px; }
.footer-map {
  width: 100%; height: 194px; margin-top: 28px;   /* 20px shorter than the old 380 x 214 map */
  border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); background: #2a2d30;
}
.footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; justify-items: start; gap: 24px; }
  .footer-links, .footer-links .footer-contact { text-align: left; }
  .footer-links .footer-nav ul { justify-content: flex-start; }
}

/* Contact form: reCAPTCHA v2 checkbox (Google's widget is a fixed 304 x 78px, so scale it down on narrow phones) */
.recaptcha-field .g-recaptcha { min-height: 78px; transform-origin: 0 0; }
@media (max-width: 420px) { .recaptcha-field .g-recaptcha { transform: scale(.9); height: 70px; min-height: 0; } }
@media (max-width: 370px) { .recaptcha-field .g-recaptcha { transform: scale(.8); height: 63px; } }
@media (max-width: 340px) { .recaptcha-field .g-recaptcha { transform: scale(.7); height: 55px; } }

/* On-site blog posts: in-article image, FAQ questions, inline CTA */
.prose::after { content: ""; display: table; clear: both; }
.prose h3 { font-size: 1.1875rem; line-height: 1.35; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 + p { margin-top: 0; }
.article-figure {
  float: right; width: 320px; margin: 4px 0 24px 36px;
  border: 2px solid var(--orange); border-radius: 14px; overflow: hidden; background: var(--mist);
}
.article-figure img { display: block; width: 100%; height: auto; }
.article-cta { margin: 32px 0 8px; }
.article-meta a { color: var(--white); }
@media (max-width: 767px) {
  .article-figure { float: none; width: 100%; margin: 0 0 20px; }
  .article-figure img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
  .article-cta .btn { flex: 1 1 100%; }
}