/* CMed Regen — R2 (blue) design system
   Source of truth: Figma "CMed Regen — Website Redesign", page "R2 · 02 Core + Money Pages (blue)".
   Desktop frames are 1440 wide (1120 content column), mobile frames are 390 wide (350 column). */

:root {
  --ink: #222;
  --body: #585853;
  --muted: #6b6b66;
  --brand: #3d647d;
  --navy: #1f2636;
  --paper: #fafaf9;
  --white: #fff;
  --stone: #f0f0eb;
  --line: #d9ddd9;
  --mist: #e8eef2;
  --mist-2: #dde6ec;
  --footer-label: #9fbdd0;
  --on-dark-line: rgba(255, 255, 255, 0.1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;

  --content: 1120px;
  --content-wide: 1200px;
  --gutter: 40px;
  --section-y: 104px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: #fff; color: var(--ink); padding: 12px 16px; border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--content-wide) + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--stone { background: var(--stone); }
.section--brand { background: var(--brand); color: #fff; }

.stack { display: flex; flex-direction: column; align-items: flex-start; }
.stack--fill { align-items: stretch; }
/* Section-level vertical rhythm: desktop value, mobile value set in the 767px block. */
.gap-48 { gap: 48px; }
.gap-40 { gap: 40px; }
.gap-28 { gap: 28px; }

/* Two-column split used by "Our approach", "About", "Doctor" etc. */
.split { display: flex; align-items: center; gap: 80px; }
.split > * { min-width: 0; }
.split--top { align-items: flex-start; }

/* ---------- Typography ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px; width: 100%;
  color: var(--brand);
  font-size: 13px; font-weight: 600; line-height: 1.3;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; flex: 0 0 24px; height: 1px; background: currentColor;
}
.eyebrow--light { color: var(--mist-2); }

.h1 { font-size: 56px; font-weight: 500; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
.h2 { font-size: 40px; font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.h3 { font-size: 30px; font-weight: 500; line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); }
.h4 { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); }
.lead { font-size: 20px; line-height: 1.55; color: var(--body); }
.body-lg { font-size: 18px; line-height: 1.65; color: var(--body); }
.body-sm { font-size: 15px; line-height: 1.55; color: var(--body); }
.on-dark .h2, .on-dark .h1 { color: #fff; }
.on-dark .body-lg { color: var(--mist); }

.text-link {
  font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--brand);
  white-space: nowrap;
}
.text-link--muted { font-weight: 400; color: var(--muted); }

/* ---------- Buttons (R2 / Button / *) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding-inline: 28px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #335569; }
.btn--secondary { border-color: var(--ink); color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--on-dark { background: #fff; color: var(--ink); }
.btn--on-dark:hover { background: var(--mist); }
.btn--ghost-dark { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost-dark:hover { border-color: #fff; }
.btn--small { height: 44px; padding-inline: 20px; font-size: 14px; background: #fff; color: var(--navy); }
.btn--small:hover { background: var(--mist); }

.cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Cropped images ----------
   Figma places some photos inside a clipped frame at an offset. --w/--h/--x/--y reproduce that crop
   (as % of the frame) on desktop; --mw/--mh/--mx/--my do the same for the mobile frame. */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--mist);
}
.media > img,
.media > picture > img {
  position: absolute;
  width: var(--w, 100%); height: var(--h, 100%);
  left: var(--x, 0); top: var(--y, 0);
  max-width: none; object-fit: cover;
}

/* ---------- Header (R2 / Header / Desktop + Mobile) ---------- */
.site-header { position: relative; z-index: 50; background: var(--navy); color: #fff; }

.utility-bar { background: var(--brand); color: var(--mist-2); font-size: 13px; font-weight: 500; line-height: 1.4; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 8px; }
.utility-bar__links { display: flex; gap: 20px; white-space: nowrap; }

.main-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.logo { display: block; flex: 0 0 auto; }
.logo img { width: 270px; height: 20px; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > li > a,
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding-block: 10px; font-size: 15px; font-weight: 500; line-height: 1.4; color: #fff; white-space: nowrap;
}
.nav-trigger img { width: 12px; height: 12px; transition: transform 0.15s ease; }
.nav-trigger[aria-expanded="true"] img { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { font-size: 15px; font-weight: 600; line-height: 1.4; white-space: nowrap; }

.mobile-actions { display: none; align-items: center; gap: 8px; }
.call-btn {
  display: inline-flex; align-items: center; height: 44px; padding-inline: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius);
  font-size: 14px; font-weight: 600; line-height: 1.4;
}
.menu-btn { width: 44px; height: 44px; border-radius: 50%; }
.menu-btn img { width: 44px; height: 44px; }

/* Mega menu (Nav state / Desktop / Services + Patient Education open) */
.mega-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.mega-menu[hidden] { display: none; }
.mega-menu .container { display: flex; align-items: flex-start; gap: 64px; padding-top: 32px; padding-bottom: 40px; }
.mega-col { display: flex; flex-direction: column; gap: 10px; width: 260px; }
.mega-col__label { font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--brand); text-transform: uppercase; }
.mega-col__sub { font-size: 13px; line-height: 1.4; color: var(--muted); }
.mega-col ul { display: flex; flex-direction: column; gap: 2px; }
.mega-col li a { display: block; padding-block: 8px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.mega-cta {
  display: flex; flex-direction: column; gap: 12px; width: 348px; padding: 24px;
  background: var(--stone); border-radius: var(--radius);
}
.mega-cta__title { font-size: 18px; font-weight: 600; line-height: 1.4; }
.mega-cta p:not(.mega-cta__title) { font-size: 14px; line-height: 1.4; color: var(--body); }
.mega-cta a { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--brand); }

/* Mobile menu (Nav state / Mobile / Menu open) */
.mobile-menu { background: var(--brand); color: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .container { display: flex; flex-direction: column; gap: 22px; padding-top: 16px; padding-bottom: 32px; }
.mobile-menu__label { font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--mist-2); text-transform: uppercase; }
.mobile-menu__group li a {
  display: block; padding-block: 12px; border-bottom: 1px solid var(--on-dark-line);
  font-size: 17px; font-weight: 500; line-height: 1.4;
}
.mobile-menu__group--plain li a { border-bottom: 0; font-weight: 600; }
.mobile-menu .btn { width: 100%; }
.mobile-menu__meta { font-size: 14px; line-height: 1.4; color: var(--mist-2); }

/* ---------- Footer (R2 / Footer / Desktop + Mobile) ---------- */
.site-footer { background: var(--navy); color: #fff; padding-top: 80px; padding-bottom: 40px; }
.site-footer .container { display: flex; flex-direction: column; gap: 56px; }
.footer-top { display: flex; align-items: flex-start; gap: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; width: 340px; flex: 0 0 auto; }
.footer-brand .logo img { width: 270px; height: 20px; }
.footer-brand__blurb { font-size: 15px; line-height: 1.55; color: var(--mist); }
.footer-brand__address { font-size: 15px; font-weight: 500; line-height: 1.5; }
.footer-brand__phone { font-size: 20px; font-weight: 500; line-height: 1.4; }
.footer-brand__hours { font-size: 14px; line-height: 1.4; color: var(--mist-2); }
.footer-cols { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; width: 209px; }
.footer-col__label {
  font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--footer-label);
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--mist); }
.footer-rule { height: 1px; background: rgba(255, 255, 255, 0.12); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-size: 13px; }
.footer-bottom p { max-width: 760px; line-height: 1.55; color: var(--mist-2); }
.footer-social { display: flex; gap: 18px; font-weight: 600; line-height: 1.4; color: var(--mist); white-space: nowrap; }

/* ---------- Shared sections ---------- */

/* Hero */
.hero { padding-top: 72px; padding-bottom: 80px; background: var(--paper); }
.hero__layout { display: flex; align-items: center; gap: 64px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; flex: 0 1 640px; min-width: 0; }
.hero__copy .lead { max-width: 620px; }
.hero__figure { position: relative; flex: 0 0 416px; }
.hero__figure .media { aspect-ratio: 416 / 478; }
.hero__caption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px;
  background: rgba(31, 38, 54, 0.9); border-radius: var(--radius);
}
.hero__caption strong { font-size: 15px; font-weight: 600; line-height: 1.55; color: #fff; }
.hero__caption span { font-size: 13px; line-height: 1.4; color: var(--mist); }

/* Breadcrumb (service pages) */
.breadcrumb { font-size: 13px; line-height: 1.4; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; padding-inline: 0.55em; }
.breadcrumb a { text-decoration: underline; }

/* Two-column lead + detail ("What are joint injections?") */
.two-col { display: flex; align-items: flex-start; gap: 96px; }
.two-col__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 0 1 400px; min-width: 0; }
.two-col__lead .cta-row { padding-top: 8px; }
.two-col__detail { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 0 1 624px; }
.two-col__detail--offset { padding-top: 8px; }

/* Related guide box (condition pages) */
.related { padding-block: 72px; }
.related__box {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 28px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.related__copy { display: flex; flex-direction: column; gap: 6px; max-width: 680px; }
.related__title { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); }
.related__copy .body-sm { color: var(--body); }

/* Bullet list */
.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets li { display: flex; align-items: flex-start; gap: 14px; font-size: 18px; line-height: 1.65; color: var(--body); }
.bullets strong { font-weight: 600; }
.bullets li::before {
  content: ""; flex: 0 0 7px; height: 19px;
  background: url("../img/bullet.svg") no-repeat 0 0 / 7px 19px;
}

/* Breakpoint visibility helpers */
.only-mobile { display: none !important; }

/* Proof strip */
.proof { background: var(--brand); color: #fff; }
.proof__list { display: grid; grid-template-columns: repeat(4, 1fr); line-height: 1.4; }
.proof__item { display: flex; flex-direction: column; gap: 2px; padding: 22px 22px 22px 24px; border-left: 1px solid var(--on-dark-line); }
.proof__item:first-child { padding-left: 0; border-left: 0; }
.proof__title { font-size: 19px; font-weight: 500; }
.proof__sub { font-size: 13px; color: var(--mist-2); }

/* Split copy column */
.split__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.split__copy .cta-row { padding-top: 8px; }

/* Section head */
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-head--row { flex-direction: row; align-items: flex-end; gap: 96px; max-width: none; }
.section-head--row > :first-child { display: flex; flex-direction: column; gap: 14px; flex: 0 1 560px; }
.section-head--row > :last-child { flex: 0 1 464px; }
.section-head--between { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; max-width: none; }
.section-head--between > :first-child { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }

/* Numbered hairline grid ("What can we help you with?") */
.hairline-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.hairline-item { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.hairline-item__head { display: flex; align-items: center; gap: 14px; }
.index-num { font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--brand); }

/* Service index rows */
.index-rows { border-bottom: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 48px minmax(0, 360fr) minmax(0, 396fr) 220px;
  align-items: center; gap: 32px; padding-block: 28px; border-top: 1px solid var(--line);
}
.index-row__title { font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; }
.index-row__desc { font-size: 15px; line-height: 1.55; color: var(--muted); }
.index-row__links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.index-row__current { font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--brand); white-space: nowrap; }

/* Payment band */
.payment { padding-block: 72px; }
.payment__layout { display: flex; align-items: center; gap: 64px; }
.payment__copy { display: flex; flex-direction: column; gap: 12px; flex: 0 1 513px; }
.payment__badge { width: 237px; height: 77px; flex: 0 0 auto; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 1.55; white-space: nowrap;
}

/* Doctor */
.doctor__portrait { flex: 0 0 440px; aspect-ratio: 440 / 595; }
.doctor__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 0 1 600px; }
.doctor__name { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--brand); }
.credentials { display: flex; align-items: center; gap: 16px; padding-block: 6px; }
.credentials__seal { width: 222px; height: 130px; object-fit: cover; }
.credentials__ifm { width: 240px; height: 57px; object-fit: contain; background: #fff; }

/* Visit */
.visit__details { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; flex: 0 1 440px; }
.visit__address { font-size: 18px; font-weight: 600; line-height: 1.65; color: var(--ink); }
.hours { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.55; color: var(--body); }
.hours dt { font-weight: 600; color: var(--muted); }
.visit__phone { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--brand); }
.map {
  position: relative; flex: 0 1 600px; height: 420px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--mist); border-radius: var(--radius);
  font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--ink);
}
.map img { width: 18px; height: 18px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { display: flex; align-items: flex-start; gap: 96px; }
.faq__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 0 0 380px; }
.faq__lead .cta-row { padding-top: 8px; }
.faq__list { flex: 1 1 644px; min-width: 0; border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); padding-block: 24px; }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  font-size: 19px; font-weight: 500; line-height: 1.4; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: 0 0 24px; text-align: right;
  font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--brand);
}
.faq__item[open] summary::after { content: "–"; }
.faq__item .body-lg { max-width: 604px; margin-top: 10px; }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.post-card { display: flex; flex-direction: column; gap: 16px; }
.post-card__img { aspect-ratio: 352 / 198; border-radius: var(--radius); object-fit: cover; width: 100%; }
.post-card__copy { display: flex; flex-direction: column; gap: 8px; }
.post-card__date { font-size: 13px; line-height: 1.4; color: var(--muted); }
.post-card__copy h3 { font: inherit; }
.post-card__title { display: block; font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--ink); }

/* CTA band */
.cta-band { padding-block: 88px; }
.cta-band__layout { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band__copy { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cta-band__call { font-size: 15px; line-height: 1.55; color: var(--mist-2); white-space: nowrap; }

/* ---------- Page heroes on About / Contact ---------- */
.hero--stone { background: var(--stone); padding-top: 64px; padding-bottom: 40px; }
.hero__figure--portrait { flex-basis: 436px; }
.hero__figure--portrait .media { aspect-ratio: 436 / 523; }
.hero__figure--ebo2 { flex-basis: 396px; }
.hero__figure--ebo2 .media { aspect-ratio: 396 / 495; }
.hero__copy--620 { flex-basis: 620px; }
.hero__copy--660 { flex-basis: 660px; }
.hero__note { font-size: 15px; line-height: 1.55; color: var(--muted); }
.hero__note strong { font-weight: 600; }

/* Stats list (About) */
.stats { border-bottom: 1px solid var(--line); }
.stat { display: flex; align-items: center; gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); }
.stat__value { flex: 0 0 220px; font-size: 30px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }

/* Cards (EBO2) */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card-title { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); }
.label-caps { font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }

.check-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.check-col { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.check-col__bar { height: 4px; border-radius: var(--radius); background: var(--brand); }
.check-col--stop .check-col__bar { background: #b3261e; }
.check-col--stop .bullets li::before { background-image: url("../img/bullet-red.svg"); }
.after-check { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.after-check p { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 282px; }
.step__num {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.55;
}
.note-strong { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tier { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px 26px; }
.tier--featured { border: 2px solid var(--brand); }
.tier__price { font-size: 30px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.tier__member { font-size: 15px; line-height: 1.55; color: var(--muted); }
.tier .btn { width: 100%; margin-top: auto; }
.tier__cta { width: 100%; padding-top: 6px; margin-top: auto; }

.membership { display: flex; flex-direction: column; gap: 20px; padding: 36px; background: var(--stone); border-radius: var(--radius); }
.membership__title { font-size: 26px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); }
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.level { display: flex; flex-direction: column; gap: 8px; padding: 22px; }
.level__name { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.level__price { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--brand); }
.bullets--tight { gap: 6px; }

.prep { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.prep__item { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }

.limits { padding-top: 16px; border-top: 1px solid var(--line); }
.limits li { color: var(--ink); }

.inline-link { color: var(--brand); text-decoration: underline; }

/* Request form band (EBO2) */
.request { display: flex; align-items: flex-start; gap: 72px; }
.request__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 0 1 440px; }
.request__lead .bullets li { color: #fff; }
.request__lead .bullets li::before { background-image: url("../img/bullet-light.svg"); }
.request__lead .inline-link { color: var(--mist-2); }
.request__lead > p:last-child { font-size: 18px; line-height: 1.65; color: var(--mist); }

/* Forms (Contact + EBO2 request) */
.form { display: flex; flex-direction: column; gap: 16px; background: #fff; border-radius: var(--radius); color: var(--ink); }
.form--contact { flex: 0 1 620px; padding: 36px; border: 1px solid var(--line); }
.form--request { flex: 0 1 608px; padding: 32px; }
.form__title { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; }
.form__intro { font-size: 15px; line-height: 1.55; color: var(--body); }
.form__intro--muted { color: var(--muted); }
/* Embedded GoHighLevel form: the iframe brings its own heading and padding. form_embed.js keeps the iframe hidden
   (absolutely positioned off-screen) until the form loads, so reserve its height to avoid a layout jump
   and show a loading state in that space. */
.form--ghl { position: relative; display: block; padding: 0; overflow: hidden; }
.form--ghl:has(iframe[style*="visibility: hidden"]) { min-height: 1200px; }
.form--ghl iframe { display: block; }
.form--ghl:has(iframe[style*="visibility: hidden"])::before,
.calendar:has(iframe[style*="visibility: hidden"])::before {
  content: ""; position: absolute; top: 120px; left: calc(50% - 14px); width: 28px; height: 28px;
  border: 3px solid var(--mist-2); border-top-color: var(--brand); border-radius: 50%;
  animation: ghl-spin 0.8s linear infinite;
}
.form--ghl:has(iframe[style*="visibility: hidden"])::after,
.calendar:has(iframe[style*="visibility: hidden"])::after {
  content: "Loading form…"; position: absolute; top: 164px; left: 0; right: 0;
  font-size: 15px; line-height: 1.55; text-align: center; color: var(--muted);
}
.calendar:has(iframe[style*="visibility: hidden"])::after { content: "Loading calendar…"; }
@keyframes ghl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .form--ghl::before, .calendar::before { animation-duration: 3s; } }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--ink); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 15px; line-height: 1.55; color: var(--ink);
}
.field textarea { height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

.choice-group { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: block; padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 1.55; color: var(--ink);
}
.choice input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.safety { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--stone); border-radius: var(--radius); }
.safety__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.safety__q legend { float: left; max-width: 362px; font-size: 15px; font-weight: 500; line-height: 1.55; color: var(--ink); }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.4; color: var(--body); }
.consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--brand); }
.submit-row { display: flex; flex-direction: column; gap: 10px; }
.submit-row .btn { width: 100%; }
.submit-row p { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* Contact details */
.contact { display: flex; align-items: flex-start; gap: 80px; }
.contact__details { display: flex; flex-direction: column; gap: 18px; flex: 0 1 420px; }
.contact__item { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact__item p:not(.label-caps), .contact__item address { font-size: 18px; font-weight: 500; line-height: 1.65; color: var(--ink); font-style: normal; }
.contact__item a { color: var(--brand); text-decoration: underline; }

.calendar { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px; }
/* Booking widget: form_embed.js keeps the iframe hidden off-screen while it loads; hold its space so the page does not jump. */
.calendar:has(iframe[style*="visibility: hidden"]) { min-height: 800px; }
.calendar iframe { display: block; }

.disclaimer { padding-block: 28px; background: var(--paper); }
.disclaimer p { max-width: 900px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ---------- Pillar guides (Figma: R2 · 03 Pillar Guides) ---------- */
.guide-hero { padding-top: 64px; padding-bottom: 40px; background: var(--paper); }
.guide-hero .container { display: flex; flex-direction: column; gap: 40px; }
.guide-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.guide-h1 { font-size: 46px; font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
.guide-hero__image, .guide-figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.guide-hero__image img, .guide-figure img { width: 100%; height: 100%; object-fit: cover; }

.related--guide { background: var(--paper); }

.guide-article { padding-top: 24px; padding-bottom: 88px; background: var(--paper); }
.guide-article__layout { display: flex; align-items: flex-start; gap: 72px; }
.guide-toc { flex: 0 0 308px; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 10px; }
.guide-toc__label {
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand);
}
.guide-toc ol { display: flex; flex-direction: column; gap: 10px; }
.guide-toc a { display: block; font-size: 15px; line-height: 1.55; color: var(--body); }
.guide-toc a:hover { color: var(--brand); }

.guide-body { flex: 1 1 740px; min-width: 0; max-width: 740px; display: flex; flex-direction: column; gap: 18px; }
.guide-h2 { padding-top: 28px; font-size: 30px; font-weight: 500; line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: 24px; }
.guide-body > .guide-h2:first-child { padding-top: 0; }
.guide-h3 { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); }
.guide-p, .guide-list li { font-size: 18px; line-height: 1.65; color: var(--body); }
.guide-p strong, .guide-list strong { font-weight: 600; }

/* ---------- Blog posts (Figma: R2 · 04 Blog Posts) ---------- */
.post-meta { font-size: 15px; line-height: 1.55; color: var(--muted); }
.guide-h4 { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.guide-note { font-size: 15px; line-height: 1.55; color: var(--body); }
.guide-ol { display: flex; flex-direction: column; gap: 10px; counter-reset: step; }
.guide-ol li { display: flex; gap: 14px; font-size: 18px; line-height: 1.65; color: var(--body); counter-increment: step; }
.guide-ol li::before { content: counter(step) "."; flex: 0 0 24px; font-weight: 600; color: var(--brand); }
.guide-ol strong { font-weight: 600; }
.guide-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.guide-table th, .guide-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-table tr > :last-child { border-right: 0; }
.guide-table tbody tr:last-child > * { border-bottom: 0; }
.guide-table th { background: var(--stone); font-weight: 600; color: var(--ink); }
.guide-table td { background: #fff; color: var(--body); }
.guide-table tbody tr:nth-child(even) td { background: var(--paper); }

.preferred-source { padding-bottom: 24px; background: var(--paper); }
.preferred-source__link {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--ink);
}
.author-section { padding-bottom: 72px; background: var(--paper); }
.author-box { display: flex; align-items: flex-start; gap: 28px; padding: 32px; background: var(--stone); border-radius: var(--radius); }
.author-box__photo { flex: 0 0 120px; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.author-box__copy { display: flex; flex-direction: column; gap: 8px; }
.author-box__name { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; color: var(--ink); }
.related--post { padding-top: 24px; background: var(--paper); }

/* ---------- Blog archives (Figma: R2 · 05 Archives) ---------- */
.archive-hero .lead { max-width: 620px; }
.post-list { padding-top: 24px; padding-bottom: 104px; background: var(--paper); }
.author-section--archive { padding-top: 0; }
.featured-post { display: flex; align-items: center; gap: 48px; }
.featured-post__img { flex: 0 1 620px; min-width: 0; aspect-ratio: 620 / 349; object-fit: cover; border-radius: var(--radius); }
.featured-post__copy { flex: 0 1 452px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.featured-post__copy h2 { font: inherit; }
.featured-post__title { display: block; font-size: 30px; font-weight: 500; line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); }
.post-grid--archive { gap: 48px 32px; }
.post-grid--archive .post-card { gap: 14px; }
.post-card__copy h2 { font: inherit; }
.post-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--body); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination__item {
  padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--ink);
}
.pagination__item.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination__item:hover { text-decoration: none; border-color: var(--brand); }

/* ---------- 404 page (no Figma frame; built from existing components) ---------- */
.not-found .hero__copy { max-width: 720px; }
.not-found__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 64px; }
.not-found__col { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.not-found__col ul { display: flex; flex-direction: column; gap: 10px; }
.not-found__col a { font-size: 18px; line-height: 1.5; color: var(--ink); }
.not-found__col a:hover { color: var(--brand); }

/* ---------- Scroll reveal (set up in main.js; only active when html.js-reveal is present) ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; will-change: auto; }
/* Photos settle with a slow, slight zoom-out inside their (clipped) frames. */
.js-reveal .media[data-reveal] img,
.js-reveal .doctor__portrait[data-reveal] img,
.js-reveal .guide-figure[data-reveal] img {
  transform: scale(1.06);
  transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms);
}
.js-reveal [data-reveal].is-revealed img { transform: none; }
/* head.php already skips .js-reveal for reduced motion; this also covers a preference changed mid-visit. */
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal], .js-reveal [data-reveal] img { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Tablet (between the 1440 and 390 frames) ---------- */
@media (max-width: 1199px) {
  .primary-nav, .header-actions, .utility-bar { display: none; }
  .mobile-actions { display: flex; }
  .mega-menu { display: none !important; } /* desktop-only state */
  .main-bar .container { padding-block: 14px; }

  .footer-top { flex-wrap: wrap; }
  .footer-cols { flex-wrap: wrap; }
}

@media (max-width: 1099px) {
  .split, .hero__layout { gap: 48px; }
  .faq { gap: 48px; }
  .faq__lead { flex-basis: 300px; }
  .index-row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) 180px; gap: 24px; }
  .two-col { gap: 48px; }
  /* Tablet hero: the fixed-width desktop figure would squeeze the copy column, so it shares the row. */
  .hero__figure { flex: 0 1 40%; }
  .hero__copy { flex: 1 1 0; }
  .h1 { font-size: 44px; }
  .lead { font-size: 18px; }
  .doctor__portrait { flex-basis: 40%; }
  .credentials { flex-wrap: wrap; }
  .stat__value { flex-basis: 45%; }
  .steps, .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request, .contact { gap: 40px; }
  .guide-article__layout { gap: 40px; }
  .guide-toc { flex-basis: 240px; }
}

@media (max-width: 1023px) {
  /* Four proof items are too cramped below 1024px: 2 x 2. */
  .proof__list { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof__item:nth-child(n + 3) { border-top: 1px solid var(--on-dark-line); }
}

/* ---------- Mobile (390 frame) ---------- */
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 64px; }

  .logo img { width: 200px; height: 14.815px; }

  .eyebrow { font-size: 12px; }
  .h1 { font-size: 36px; line-height: 1.1; }
  .h2 { font-size: 28px; line-height: 1.18; }
  .h3 { font-size: 24px; line-height: 1.22; letter-spacing: -0.005em; }
  .h4 { font-size: 20px; letter-spacing: -0.003em; }
  .lead { font-size: 18px; }
  .body-lg { font-size: 17px; }

  .media > img,
  .media > picture > img {
    width: var(--mw, var(--w, 100%)); height: var(--mh, var(--h, 100%));
    left: var(--mx, var(--x, 0)); top: var(--my, var(--y, 0));
  }

  .split, .hero__layout, .payment__layout, .faq, .cta-band__layout,
  .section-head--row, .section-head--between { flex-direction: column; align-items: stretch; }
  .split { gap: 28px; }
  .split > * { flex-basis: auto !important; }
  .split--media-last > .media:first-child { order: 2; }

  /* Hero */
  .hero { padding-top: 40px; padding-bottom: 48px; }
  .hero__layout { gap: 28px; }
  .hero__copy { gap: 16px; flex-basis: auto; }
  .hero__copy .cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__figure { flex-basis: auto; }
  .hero__figure .media { aspect-ratio: 350 / 298; }

  /* Proof strip */
  .proof__list { grid-template-columns: 1fr; }
  .proof__item, .proof__item:first-child { padding: 14px 0; border-left: 0; border-top: 1px solid var(--on-dark-line); }
  .proof__item:first-child { border-top: 0; }
  .proof__title { font-size: 17px; font-weight: 600; }

  .split__copy { gap: 14px; }
  .split__media { aspect-ratio: 350 / 263 !important; }

  .section-head { gap: 16px; }
  .section-head--row { gap: 14px; }
  .section-head--between { gap: 0; }
  .section-head--row > :first-child, .section-head--row > :last-child { flex-basis: auto; }

  .hairline-grid { grid-template-columns: 1fr; gap: 0; }
  .hairline-item { padding-block: 20px; }

  .index-row { grid-template-columns: 1fr; gap: 8px; padding-block: 20px; }
  .index-row .index-num { display: none; }
  .index-row__title { font-size: 21px; letter-spacing: -0.003em; }
  .index-row__links { flex-direction: row; align-items: flex-start; gap: 18px; text-align: left; }

  .gap-48 { gap: 28px; }
  .gap-40 { gap: 24px; }
  .gap-28 { gap: 20px; }

  .only-mobile { display: revert !important; }
  .only-desktop { display: none !important; }
  .cta-row.only-mobile { display: flex !important; }

  /* Mobile frames show some section pairs in reverse order (e.g. Visit before FAQ on service pages). */
  .m-swap { display: flex; flex-direction: column-reverse; }

  .two-col { flex-direction: column; gap: 24px; }
  .two-col__lead, .two-col__detail { flex-basis: auto; padding-top: 0; }
  .two-col__detail { gap: 24px; }
  .bullets { gap: 8px; }
  .bullets li { font-size: 17px; }
  .two-col__detail { gap: 12px; }

  /* Stacked columns: per-instance desktop flex-basis widths must not become heights. */
  .two-col > *, .hero__layout > * { flex-basis: auto !important; }

  .hero--stone { padding-top: 40px; padding-bottom: 28px; }
  .step { padding: 20px; min-height: 0; }
  .tier { padding: 20px; }
  .tier:not(.tier--featured) .tier__cta { display: none; }

  /* EBO2 mobile type scale (Figma 35:8956) */
  .label-caps { font-size: 12px; letter-spacing: 0.12em; }
  .tier__price { font-size: 24px; letter-spacing: -0.005em; line-height: 1.12; }
  .note-strong, .after-check p, .level__name { font-size: 17px; }
  .membership__title { font-size: 21px; }
  .level__price, .form__title { font-size: 20px; }
  .request__lead > p:last-child { font-size: 17px; }
  .hero__figure--portrait .media, .hero__figure--ebo2 .media { aspect-ratio: 350 / 385; }
  .two-col { align-items: stretch; }
  .stat__value { flex-basis: 150px; font-size: 24px; line-height: 1.12; letter-spacing: -0.005em; }

  .check-cols, .steps, .tiers, .levels, .prep { grid-template-columns: 1fr; }
  .check-cols { gap: 16px; }
  .steps { gap: 12px; }
  .tiers, .levels { gap: 14px; }
  .prep { gap: 0; }
  .prep__item { padding-bottom: 18px; }
  .check-col { padding: 20px; }
  .membership { padding: 20px; }
  .card-title { font-size: 20px; }

  .request, .contact { flex-direction: column; align-items: stretch; gap: 28px; }
  .request__lead, .contact__details, .form--contact, .form--request { flex-basis: auto; }
  .contact { gap: 32px; }
  .contact__item p:not(.label-caps), .contact__item address { font-size: 17px; }
  .form--contact, .form--request { padding: 20px; }
  .form--ghl { padding: 0; }
  .form--ghl:has(iframe[style*="visibility: hidden"]) { min-height: 1500px; }
  .field-row { grid-template-columns: 1fr; }
  .safety__q { flex-direction: column; align-items: flex-start; gap: 8px; }
  .calendar { padding: 20px; }
  .calendar:has(iframe[style*="visibility: hidden"]) { min-height: 1000px; }
  .contact-stack { gap: 32px; }
  .form--contact { padding-bottom: 24px; }

  /* Pillar guides (Figma 35:10293) */
  .guide-hero { padding-top: 40px; padding-bottom: 28px; }
  .guide-hero .container { gap: 24px; }
  .guide-hero__copy { gap: 16px; }
  .guide-h1 { font-size: 32px; line-height: 1.12; }
  .related--guide { padding-top: 16px !important; }
  .related--guide .related__copy { padding-top: 0; }
  .guide-article { padding-top: 8px; padding-bottom: 56px; }
  .guide-article__layout { flex-direction: column; align-items: stretch; gap: 24px; }
  .guide-toc { position: static; flex-basis: auto; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
  .guide-toc__label { font-size: 12px; letter-spacing: 0.12em; }
  .guide-body { gap: 14px; flex-basis: auto; }
  .guide-h2 { padding-top: 20px; font-size: 24px; line-height: 1.22; letter-spacing: -0.005em; }
  .guide-h3 { font-size: 20px; letter-spacing: -0.003em; }
  .guide-p, .guide-list li { font-size: 17px; }

  /* Blog posts + archives (Figma mobile frames 36:20500, 36:21681) */
  .guide-ol li { font-size: 17px; }
  .author-section { padding-bottom: 48px; }
  .author-box { flex-direction: column; gap: 16px; padding: 20px; }
  .author-box__photo { flex-basis: auto; width: 96px; height: 96px; }
  .author-box__name { font-size: 20px; }
  .featured-post { flex-direction: column; align-items: stretch; gap: 16px; }
  .featured-post__img, .featured-post__copy { flex-basis: auto; }
  .featured-post__title { font-size: 24px; line-height: 1.22; letter-spacing: -0.005em; }
  .post-list { padding-top: 8px; padding-bottom: 64px; }
  .post-grid--archive { gap: 24px; }
  .post-grid--archive .post-card__img { width: 112px; height: 84px; flex-basis: 112px; }
  .post-card__excerpt { display: none; }

  .not-found__links { grid-template-columns: 1fr; gap: 28px; }
  .not-found__col a { font-size: 17px; }

  .related { padding-block: 48px; }
  .related__copy { padding-top: 24px; }
  .related__box { flex-direction: column; align-items: flex-start; gap: 20px; padding: 20px; }
  .related__title { font-size: 20px; letter-spacing: -0.003em; }

  .focus { gap: 20px !important; }
  .focus__cta { flex-direction: column; align-items: flex-start; gap: 16px !important; }

  .payment { padding-block: 48px; }
  .payment__copy { flex-basis: auto; }
  .payment__badge { display: none; }

  .doctor__portrait { aspect-ratio: 350 / 402; }
  .doctor__name { font-size: 17px; }
  .credentials { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 0; }
  .credentials__seal { width: 152px; height: 89px; }
  .credentials__ifm { width: 200px; height: 47px; margin-block: 6px; }

  .visit__address { font-size: 17px; }
  .visit__phone { font-size: 20px; letter-spacing: -0.003em; }
  .map { flex-basis: auto; height: 260px; }

  .faq { gap: 24px; }
  .faq__lead { flex-basis: auto; }
  .faq__lead .cta-row { display: none; }
  .faq__item { padding-block: 18px; }
  .faq__item summary { font-size: 17px; font-weight: 600; }
  .faq__item summary::after { font-size: 20px; }
  .faq__item .body-lg { max-width: 310px; }

  .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-card { flex-direction: row; align-items: flex-start; gap: 14px; }
  .post-card__img { width: 120px; height: 90px; flex: 0 0 120px; aspect-ratio: auto; }
  .post-card__title { font-size: 16px; font-weight: 600; }

  .cta-band { padding-block: 56px; }
  .cta-band__layout { gap: 20px; }
  .cta-band__actions { align-items: flex-start; }
  .cta-band__actions .btn { width: 100%; }

  /* Footer */
  .site-footer { padding-top: 48px; padding-bottom: 32px; }
  .site-footer .container { gap: 36px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-brand { width: 100%; }
  .footer-brand .logo img { width: 220px; height: 16.296px; }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-col { width: 100%; }
  .footer-col ul { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .footer-col li a {
    display: inline-block; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius); font-size: 14px; line-height: 1.4; white-space: nowrap;
  }
  .footer-bottom { flex-direction: column; gap: 16px; }
}
