/* =========================================================
   NextGen Dental (DEMO) — "clinical calm"
   Cobalt on white, soft 32px panels, one photograph doing the
   heavy lifting and everything else drawn. Type: Plus Jakarta Sans.
   ========================================================= */

:root {
  --blue:      #0b5cff;
  --blue-600:  #0a4fe0;
  --blue-700:  #0940b5;
  --blue-900:  #06214f;
  --tint:      #eef3ff;   /* palest wash behind sections   */
  --tint-2:    #dfe8ff;   /* card hover / rule on tint     */

  --ink:       #0b1b33;
  --muted:     #5b6b87;
  --muted-on:  rgba(255, 255, 255, .78);  /* body text on blue */
  --line:      #e4e9f2;
  --line-on:   rgba(255, 255, 255, .22);
  --paper:     #fff;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 56px);
  --sect: clamp(64px, 8vw, 116px);

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;

  --shadow-s: 0 1px 2px rgba(11, 27, 51, .06), 0 6px 16px -10px rgba(11, 27, 51, .3);
  --shadow-m: 0 24px 60px -34px rgba(11, 27, 51, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --f: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  font-family: var(--f);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.section { padding-top: var(--sect); }
.section:last-of-type { padding-bottom: var(--sect); }

.skip {
  position: fixed; top: -100px; left: 16px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 16px; }

/* Demo badge — same convention as the other Built by Boot demos */
.demobadge {
  position: fixed; right: 14px; bottom: 14px; z-index: 90;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .02em; padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow-m); opacity: .82; transition: opacity .2s;
}
.demobadge:hover { opacity: 1; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
h3, h4 { letter-spacing: -.02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--blue);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.eyebrow--light { color: #fff; }

.sechead {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px clamp(32px, 6vw, 88px);
  align-items: end; margin-bottom: clamp(32px, 4vw, 52px);
}
.sechead__title { font-size: clamp(34px, 4.6vw, 62px); margin-top: 14px; }
.sechead__aside p { color: var(--muted); font-size: 17px; max-width: 46ch; }
.sechead__note { margin-top: 12px; font-size: 15px !important; }
.sechead--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sechead--center .sechead__title { max-width: 16ch; }
.sechead__sub { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 15px; font-weight: 700; letter-spacing: -.01em; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s, box-shadow .18s, color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { box-shadow: 0 10px 24px -14px var(--blue); }
.btn--primary:hover { --btn-bg: var(--blue-600); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--blue); }
.btn--white:hover { --btn-bg: var(--tint); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.14); --btn-bd: rgba(255,255,255,.75); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15px; color: var(--blue);
}
.link span { transition: transform .18s var(--ease); }
.link:hover span { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
}
.pill--onphoto { color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.34); backdrop-filter: blur(6px); }

.stars { font-style: normal; color: #ffb400; letter-spacing: .06em; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; padding: 14px var(--gut) 0; }
.nav__pill {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(14px, 3vw, 40px);
  padding: 11px 12px 11px 22px; border-radius: 999px;
  background: rgba(255,255,255,.9); border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: box-shadow .25s var(--ease), background .25s;
}
.nav.is-stuck .nav__pill { box-shadow: var(--shadow-s); background: rgba(255,255,255,.96); }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); }
.brand__mark { color: var(--blue); display: grid; place-items: center; }
.brand__name { display: flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -.035em; }
.brand__est { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; }

.nav__links { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav__links a {
  position: relative; font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 4px 0; transition: color .18s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav__links a:hover { color: var(--blue); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--blue); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__tel { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.nav__tel:hover { color: var(--blue); }

.nav__burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; cursor: pointer; position: relative;
}
.nav__burger span {
  position: absolute; left: 12px; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .22s var(--ease), opacity .18s;
}
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.nav__sheet {
  max-width: var(--wrap); margin: 10px auto 0; padding: 14px;
  display: grid; gap: 4px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-m);
}
.nav__sheet[hidden] { display: none; }
.nav__sheet a { padding: 11px 12px; border-radius: 12px; font-weight: 600; }
.nav__sheet a:hover { background: var(--tint); }
.nav__sheet .btn { margin-top: 6px; }
.nav__sheet-tel { text-align: center; color: var(--muted); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { padding: clamp(14px, 2vw, 22px) var(--gut) 0; }
.hero__frame {
  position: relative; max-width: var(--wrap); margin-inline: auto;
  border-radius: var(--r-xl); overflow: hidden;
  min-height: clamp(540px, 74vh, 760px); display: flex; align-items: flex-end;
  background: var(--blue-900);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 58% 42%;
  transform: scale(1.06); animation: heroIn 1.6s var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
/* Two scrims: a cobalt wash from the left for the headline, and a deeper
   bottom fade so the CTA row and proof pill stay legible over the chair. */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(98deg, rgba(6,33,79,.94) 0%, rgba(9,53,150,.72) 30%, rgba(10,64,180,.28) 56%, rgba(10,64,180,.02) 78%),
    linear-gradient(0deg, rgba(5,27,66,.72) 0%, rgba(5,27,66,.18) 32%, rgba(5,27,66,0) 58%);
}
.hero__body { position: relative; padding: clamp(28px, 4vw, 58px); max-width: 720px; color: #fff; }
.hero__title { font-size: clamp(44px, 6.6vw, 92px); line-height: .98; margin: 20px 0 0; }
.hero__lead { margin-top: 20px; max-width: 44ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.86); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.proof {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 38px;
  padding: 9px 22px 9px 10px; border-radius: 999px;
  background: rgba(6,33,79,.42); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(8px);
}
.proof__faces { display: flex; }
.proof__faces span {
  position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: -.02em;
  color: var(--blue-900); background: #cfe0ff; border: 2px solid var(--blue-900);
}
/* stack front-to-back so each initial stays readable under the next disc */
.proof__faces span:nth-child(1) { z-index: 4; }
.proof__faces span:nth-child(2) { z-index: 3; }
.proof__faces span:nth-child(3) { z-index: 2; }
.proof__faces span:nth-child(4) { z-index: 1; }
.proof__faces span:nth-child(2) { background: #a9c8ff; margin-left: -12px; }
.proof__faces span:nth-child(3) { background: #86b0ff; margin-left: -12px; }
.proof__faces span:nth-child(4) { background: #dfe9ff; margin-left: -12px; }
.proof__text { display: grid; gap: 2px; }
.proof__text b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.proof__text span { font-size: 13px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 7px; }

/* Availability card */
.slots {
  position: absolute; right: clamp(16px, 3vw, 34px); bottom: clamp(16px, 3vw, 34px);
  width: min(300px, 72vw); padding: 18px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-m);
}
.slots__head { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--muted); text-transform: uppercase; }
.slots__list { list-style: none; display: grid; gap: 6px; margin-top: 12px; }
.slot {
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  cursor: pointer; text-align: left; transition: border-color .18s, background .18s, transform .18s var(--ease);
}
.slot b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.slot span { font-size: 13px; color: var(--muted); }
.slot:hover { border-color: var(--blue); background: var(--tint); transform: translateX(2px); }
.slots__note { margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.is-open { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.dot.is-shut { background: #f0913a; box-shadow: 0 0 0 4px rgba(240,145,58,.16); }

/* ---------- Trust strip ---------- */
.strip { margin-top: clamp(18px, 2.4vw, 28px); border-block: 1px solid var(--line); }
.strip__list {
  list-style: none; width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 10px clamp(20px, 4vw, 52px);
  padding: 18px 0; font-size: 14.5px; font-weight: 600; color: var(--muted);
}
.strip__list li { display: flex; align-items: center; gap: 10px; }
.strip__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

/* ---------- Blue panels ---------- */
.panel {
  border-radius: var(--r-xl); padding: clamp(28px, 4.4vw, 68px);
}
.panel--blue {
  background: linear-gradient(160deg, var(--blue) 0%, #0a52e8 58%, #0847c9 100%);
  color: #fff;
}
.panel--blue .sechead__title { color: #fff; }

#clinic .panel { display: grid; grid-template-columns: minmax(160px, .5fr) 2fr; gap: clamp(20px, 3vw, 56px); }
.statement { font-size: clamp(21px, 2.3vw, 33px); font-weight: 600; letter-spacing: -.025em; line-height: 1.24; max-width: 44ch; }

.benefits { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(24px, 3vw, 40px); margin: clamp(36px, 4vw, 56px) 0 40px; }
.benefits__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(255,255,255,.16); color: #fff;
}
.benefits__icon svg { width: 24px; height: 24px; }
.benefits h3 { font-size: 20px; margin: 16px 0 8px; }
.benefits p { font-size: 15px; line-height: 1.5; color: var(--muted-on); }

/* ---------- Treatment cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 20px; align-items: start; }

.card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  overflow: hidden; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--tint-2); box-shadow: var(--shadow-m); transform: translateY(-3px); }
.card[open] { border-color: var(--blue); box-shadow: var(--shadow-m); }

.card__top { list-style: none; cursor: pointer; display: block; }
.card__top::-webkit-details-marker { display: none; }

.card__photo { display: block; overflow: hidden; background: var(--tint); }
.card__photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__photo img { transform: scale(1.04); }

.card__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.card__label { display: block; }
.card__n { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
/* min-heights keep the price rows on one line across the row of cards,
   whether the title runs to one line or two */
.card__title { font-size: 22px; margin-top: 6px; min-height: 46px; }
.card__open {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  transition: transform .3s var(--ease), background .2s;
}
.card__open svg { width: 17px; height: 17px; }
.card[open] .card__open { transform: rotate(135deg); background: var(--blue-700); }

.card__blurb { display: block; padding: 12px 20px 0; font-size: 15px; line-height: 1.55; color: var(--muted); min-height: 4.6em; }
.card__meta {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 16px 20px 18px; padding-top: 13px;
  border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 700; letter-spacing: -.01em;
}
.card__meta span:first-child { color: var(--blue); }
.card__meta span:last-child { color: var(--muted); }

/* Expanding detail: animated with a grid row so it slides rather than snaps */
.card__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.card[open] .card__more { grid-template-rows: 1fr; }
.card__moreinner { overflow: hidden; }
.card__moreinner > * { margin: 16px 20px 0; }
.card__moreinner > *:last-child { margin-bottom: 22px; }
.card__moreinner p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.ticks { list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.ticks li { position: relative; padding-left: 26px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5cff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- First visit ---------- */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.visit__fig { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--tint); }
.visit__fig img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.visit__fig figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 700; letter-spacing: -.01em;
}
.visit .sechead__title { font-size: clamp(30px, 3.6vw, 46px); max-width: 20ch; }

.steps { list-style: none; display: grid; gap: 22px; margin: clamp(28px, 3vw, 40px) 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 18px; align-items: baseline; }
.steps__n {
  grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--blue); font-weight: 800; font-size: 15px;
}
.steps h3 { font-size: 19px; }
.steps p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }

.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stats span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- Dentists ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.doc {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .2s;
}
.doc:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); border-color: var(--tint-2); }
.doc__portrait { position: relative; aspect-ratio: 4 / 5; background: var(--tint); overflow: hidden; }
.doc__portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
/* Monogram sits behind the portrait, so a practice that hasn't sent photos yet
   gets a designed card rather than a broken image. Without a photo the band
   shortens — a tall empty panel reads as a mistake, a short one reads as a choice. */
.doc__portrait::before {
  content: attr(data-monogram);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 30px; font-weight: 800; letter-spacing: -.03em;
  color: var(--blue);
}
.doc__portrait::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px;
  transform: translate(-50%, -50%); border-radius: 50%; background: #fff;
  box-shadow: 0 8px 22px -12px rgba(11, 27, 51, .5);
}
.doc__portrait::before { z-index: 1; }   /* letters above the disc */
.doc__portrait.is-empty {
  aspect-ratio: 5 / 2;
  background: radial-gradient(120% 140% at 50% 0%, #fff 0%, var(--tint) 55%, var(--tint-2) 100%);
  border-bottom: 1px solid var(--line);
}
.doc__body { padding: 20px; }
.doc__body h3 { font-size: 22px; }
.doc__role { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--blue); }
.doc__bio { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.doc__facts { margin: 16px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 14px; }
.doc__facts > div { display: flex; gap: 14px; }
.doc__facts dt { flex: none; width: 62px; color: var(--muted); }
.doc__facts dd { font-weight: 600; }

/* ---------- Reviews ---------- */
.panel--reviews { padding-inline: clamp(20px, 3vw, 48px); }
.revhead { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(28px, 3vw, 44px); }
.revhead .sechead__title { font-size: clamp(32px, 4.2vw, 56px); margin-top: 14px; }

.marquee {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  height: clamp(420px, 52vw, 540px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__col { overflow: hidden; }
.marquee__track { display: grid; gap: 18px; will-change: transform; }
.marquee.is-running .marquee__track { animation: scrollUp var(--dur, 40s) linear infinite; }
.marquee__col:nth-child(2) .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes scrollUp { to { transform: translateY(-50%); } }

.quote {
  background: rgba(255,255,255,.12); border: 1px solid var(--line-on); border-radius: 20px; padding: 20px;
  backdrop-filter: blur(2px);
}
.quote header { display: flex; align-items: center; gap: 12px; }
.quote__av {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255,255,255,.9); color: var(--blue-700); font-size: 13px; font-weight: 800; letter-spacing: -.02em;
}
.quote header b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.quote header .stars { font-size: 12px; }
.quote blockquote { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-on); font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.9); }

.revfoot { margin-top: clamp(24px, 3vw, 36px); text-align: center; font-size: 15px; color: var(--muted-on); }
.revfoot b { font-size: 17px; color: #fff; }
.revfoot a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
.faq .sechead__title { font-size: clamp(30px, 3.8vw, 50px); margin-top: 14px; }
.faq__help { margin-top: 20px; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 34ch; }
.faq__help a { color: var(--blue); font-weight: 700; }

.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px;
  padding: 20px 0; font-size: clamp(17px, 1.7vw, 21px); font-weight: 700; letter-spacing: -.025em;
  transition: color .18s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa__mark { flex: none; margin-left: auto; width: 26px; height: 26px; position: relative; }
.qa__mark::before, .qa__mark::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--blue); border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform .25s var(--ease), opacity .2s;
}
.qa__mark::before { width: 14px; height: 2px; }
.qa__mark::after { width: 2px; height: 14px; }
.qa[open] .qa__mark::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.qa__a { padding-bottom: 22px; max-width: 62ch; }
.qa__a p { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- Booking ---------- */
.book { display: grid; grid-template-columns: minmax(300px, .85fr) 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.bookform { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 15px; color: var(--ink); }
.bookform__head { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 700; }
.field__opt { font-weight: 500; color: var(--muted); }
.field input, .field select {
  min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; font-size: 15px; transition: border-color .18s, box-shadow .18s;
}
.field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,92,255,.14); }
.field input.err, .field select.err { border-color: #e0483a; box-shadow: 0 0 0 4px rgba(224,72,58,.12); }
.bookform__note { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }

.bookok { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.bookok__tick {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: var(--blue); font-size: 22px; font-weight: 800;
}
.bookok h3 { font-size: 22px; }
.bookok p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.bookok__demo { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

.book__side .sechead__title { font-size: clamp(28px, 3.4vw, 46px); margin-top: 16px; max-width: 20ch; }
.book__lead { margin-top: 18px; max-width: 46ch; font-size: 16px; color: var(--muted-on); }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 16px;
  border: 1px solid var(--line-on); border-radius: 999px; font-size: 13.5px; font-weight: 700;
}
.clinics {
  list-style: none; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-on);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 28px;
}
.clinics li { display: grid; gap: 3px; font-size: 14px; color: var(--muted-on); line-height: 1.45; }
.clinics b { font-size: 16px; color: #fff; letter-spacing: -.02em; }
.clinics__note { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.contact { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-on); display: grid; gap: 14px; font-size: 16px; }
.contact > div { display: flex; gap: 16px; }
.contact dt { flex: none; width: 96px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.72); padding-top: 3px; }
.contact a { border-bottom: 1px solid rgba(255,255,255,.4); }
.contact a:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.footer { margin-top: var(--sect); padding-top: clamp(40px, 5vw, 64px); background: var(--tint); }
.footer__inner { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px clamp(24px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 48px); }
.footer__brand p { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 34ch; }
.brand--footer .brand__name { font-size: 18px; }
.footer__col h4 { font-size: 14px; letter-spacing: .02em; }
.footer__col ul { list-style: none; margin-top: 14px; display: grid; gap: 9px; font-size: 15px; color: var(--muted); }
.footer__col a:hover { color: var(--blue); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding: 20px 0 26px; border-top: 1px solid var(--tint-2); font-size: 13px; color: var(--muted);
}
.footer__bottom a { font-weight: 700; color: var(--blue); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sechead { grid-template-columns: 1fr; align-items: start; }
  .visit, .faq, .book { grid-template-columns: 1fr; }
  .visit__fig img { aspect-ratio: 16 / 10; }
  #clinic .panel { grid-template-columns: 1fr; }
  .marquee { grid-template-columns: repeat(2, 1fr); height: 460px; }
  .marquee__col:last-child { display: none; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 88px; }
  .nav__links, .nav__tel { display: none; }
  .nav__burger { display: block; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  /* The frame stops being a flex row here so the availability card can drop
     out of the photo and sit under the hero copy instead. */
  .hero__frame { display: block; min-height: 0; }
  .hero__body { max-width: none; padding-bottom: clamp(20px, 3vw, 32px); }
  .slots { position: static; width: auto; margin: 0 clamp(16px, 4vw, 28px) clamp(16px, 4vw, 28px); }
}

@media (max-width: 620px) {
  .hero__title { font-size: 40px; }
  .brand__est { display: none; }
  .brand__name { font-size: 17px; white-space: nowrap; }
  .nav__pill { padding-left: 16px; }
  .hero__cta .btn { flex: 1; }
  .proof { display: flex; width: 100%; padding: 8px 16px 8px 8px; }
  .proof__faces span { width: 30px; height: 30px; font-size: 11px; }
  .proof__text b { font-size: 15px; }
  .proof__text span { font-size: 12px; }
  .card__title, .card__blurb { min-height: 0; }
  .marquee { grid-template-columns: 1fr; height: 420px; }
  .marquee__col:nth-child(2) { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .contact > div { flex-direction: column; gap: 2px; }
  .contact dt { width: auto; }
  .demobadge { font-size: 11px; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__img { transform: none; }
}
