/* Smile Care: clinical-premium. White, deep teal, soft mint. Sora for display, Atkinson Hyperlegible for text. */
:root {
  --ink: #0b3b3e;          /* deep teal base */
  --teal: #0f6e6b;         /* primary, AA on white */
  --mint: #9fe3c7;         /* accent, used on teal or as fills */
  --mint-soft: #e4f5ee;
  --paper: #ffffff;
  --sand: #f6f4ef;         /* warm neutral for alternate sections */
  --line: #dbe7e3;
  --text: #15302f;
  --muted: #4b6462;
  --danger: #b3261e;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --sh-1: 0 1px 2px rgba(11, 59, 62, .06), 0 4px 14px rgba(11, 59, 62, .06);
  --sh-2: 0 2px 6px rgba(11, 59, 62, .07), 0 18px 40px -12px rgba(11, 59, 62, .22);
  --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --f-text: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--f-text); color: var(--text); background: var(--paper); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.5rem + 5vw, 5.4rem); font-weight: 600; letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Photos: a soft shimmer shows while the photo loads, then the photo sharpens in (blur-up) */
.ph { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(110deg, #d4ebe4 30%, #eef7f4 50%, #d4ebe4 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
.ph.ok { animation: none; background: #d9ece6; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.js .ph:not(.hero-media) img { opacity: 0; filter: blur(14px); transform: scale(1.03); transition: opacity .6s var(--ease), filter .7s var(--ease), transform .9s var(--ease); }
.js .ph.ok:not(.hero-media) img { opacity: 1; filter: none; transform: none; }
@keyframes shimmer { to { background-position: -300% 0; } }
/* Background video sits over its photo and fades in once it is really playing */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.bg-video.on { opacity: 1; }
/* Section videos (video-kit.js, data-vk): shown only once really playing; a failed one is hidden so the photo shows */
.bg-video.vk-playing { opacity: 1; }
.bg-video.vk-failed { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.4em; border-radius: 999px; border: 1.5px solid transparent; font: 700 1rem/1 var(--f-text); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, color .18s, border-color .18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(11, 59, 62, .55); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-mint { background: var(--mint); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(159, 227, 199, .9); }
.btn-mint:hover { background: #b6ecd6; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--ink); }
.btn-line { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.btn-line:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-line-dk { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-line-dk:hover { border-color: var(--teal); }
.btn-sm { min-height: 44px; padding: 0 1.05em; font-size: .95rem; }
.btn-wide { width: 100%; }
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .18s, transform .18s var(--ease); }
.icon-btn:hover { border-color: var(--teal); }
.icon-btn:active { transform: scale(.94); }

/* Top bar: transparent on the hero, glassy white after scrolling */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s, transform .3s var(--ease); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 1.02rem/1.2 var(--f-display); letter-spacing: -.02em; min-width: 0; margin-right: auto; }
.brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--mint); color: var(--ink); flex: none; }
.topnav { display: none; gap: 26px; }
.topnav a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 700; font-size: .95rem; }
.topnav a:hover { color: #fff; }
.topbar .btn-sm { display: none; }
.topbar.on { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(11, 59, 62, .4); }
.topbar.on .brand { color: var(--ink); }
.topbar.on .topnav a { color: var(--muted); }
.topbar.on .topnav a:hover { color: var(--ink); }
.topbar.on .btn-sm { display: inline-flex; }
@media (min-width: 960px) { .topnav { display: flex; } .topbar .btn-sm { display: inline-flex; } }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; min-height: 100svh; display: flex; align-items: flex-end; padding: 96px 0 22px; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; border-radius: 0; z-index: -1; background: linear-gradient(160deg, #1b5d5c, var(--ink)); animation: none; }
.hero-media img { object-position: 55% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 6%, rgba(11, 59, 62, .9) 40%, rgba(11, 59, 62, .38) 72%, rgba(11, 59, 62, .55) 100%); }
.hero-grid { display: grid; gap: 18px; }
.hero-place { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: var(--mint); font-weight: 700; font-size: .9rem; margin-bottom: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero h1 { color: #fff; max-width: 12ch; margin-bottom: .28em; text-shadow: 0 2px 30px rgba(6, 34, 36, .35); }
.hero-lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: rgba(255, 255, 255, .9); max-width: 34ch; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-actions .btn { flex: 1 1 200px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.proof > span { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(6, 34, 36, .42); border: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.proof .stars { gap: 1px; color: #f3c14b; }
.proof .stars .ico { width: 15px; height: 15px; }
#proof-score { font: 600 .95rem var(--f-display); }
.proof-sub { color: rgba(255, 255, 255, .78); }
.proof-open i { width: 8px; height: 8px; border-radius: 50%; background: #9fb3b1; flex: none; }
.proof-open.is-open i { background: #5fe0a5; box-shadow: 0 0 0 0 rgba(95, 224, 165, .6); animation: live 2s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(95, 224, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 224, 165, 0); } }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.trust li { display: flex; align-items: center; gap: 7px; font-size: .9rem; color: rgba(255, 255, 255, .84); }
.trust .ico { color: var(--mint); width: 1.1em; height: 1.1em; }
@media (max-width: 420px) { .trust li:nth-child(n+3) { display: none !important; } .hero-lead { margin-bottom: 18px; } }
.slot-card { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--sh-2); max-width: 420px; }
.slot-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); flex: none; }
.slot-k { margin: 0; font-size: .85rem; color: var(--muted); }
.slot-v { margin: 0; font: 600 1.08rem/1.3 var(--f-display); letter-spacing: -.02em; }
.slot-go { margin-left: auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; flex: none; transition: transform .18s var(--ease), background-color .18s; }
.slot-go:hover { background: var(--ink); transform: translateX(2px); }
@media (min-width: 960px) {
  .hero { min-height: min(860px, 100svh); align-items: center; padding: 120px 0 56px; }
  .hero-media::after { background: linear-gradient(to right, rgba(11, 59, 62, .96) 0%, rgba(11, 59, 62, .82) 34%, rgba(11, 59, 62, .2) 68%, rgba(11, 59, 62, .05) 100%), linear-gradient(to top, rgba(11, 59, 62, .7), transparent 35%), linear-gradient(to bottom, rgba(11, 59, 62, .55), transparent 22%); }
  .hero-lead { margin-bottom: 28px; }
  .hero-actions { margin-bottom: 22px; }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; }
  .hero-actions .btn { flex: 0 0 auto; }
  .slot-card { justify-self: end; align-self: end; }
}

/* Emergency strip */
.emerg-strip { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; background: var(--sand); color: var(--text); font-size: .95rem; text-align: left; }
.emerg-strip .ico { color: var(--danger); }
.emerg-strip a { color: var(--danger); font-weight: 700; }

/* Sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--teal); font-size: .95rem; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--mint); box-shadow: 0 0 0 1px rgba(15, 110, 107, .15); }

/* Clinic */
.clinic-grid { display: grid; gap: 40px; align-items: center; }
.clinic-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.ph-a { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.ph-b { aspect-ratio: 1; }
.ph-c { aspect-ratio: 1; }
.notes { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.notes li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.notes .n-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); }
.notes h3 { margin-bottom: .2em; font-size: 1.08rem; }
.notes p { margin: 0; color: var(--muted); }
@media (min-width: 960px) {
  .clinic-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .clinic-photos { grid-template-columns: 1fr 1fr; }
  .ph-a { grid-column: 1 / -1; }
  .ph-c { margin-top: -64px; border: 6px solid #fff; }
}

/* Treatments: a price list */
.treat { background: var(--sand); }
.treat-grid { display: grid; gap: 36px; }
.treat-photo { aspect-ratio: 16 / 10; margin-top: 24px; box-shadow: var(--sh-2); }
.treat-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(6, 34, 36, .78), transparent); pointer-events: none; }
.treat-photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; color: #fff; font-size: .92rem; line-height: 1.4; }
.tlist { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.t-row { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 22px 20px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.t-row:last-child { border-bottom: 0; }
.t-row:hover { background: #fbfdfc; }
.t-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); grid-row: span 2; }
.t-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.t-top h3 { margin: 0; }
.t-price { font: 600 1.1rem/1.2 var(--f-display); color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.t-price small { font: 400 .82rem var(--f-text); color: var(--muted); letter-spacing: 0; margin-right: 4px; }
.t-body p { margin: 6px 0 10px; color: var(--muted); }
.t-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.t-time { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); }
.t-book { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; margin-left: -14px; border: 0; background: none; border-radius: 999px; font: 700 .95rem var(--f-text); color: var(--teal); cursor: pointer; transition: background-color .18s; }
.t-book:hover { background: var(--mint-soft); }
.t-book .ico { transition: transform .18s var(--ease); }
.t-book:hover .ico { transform: translateX(3px); }
@media (min-width: 960px) {
  .treat-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .treat-side { position: sticky; top: 100px; }
  .treat-photo { aspect-ratio: 4 / 3; }
  .t-row { padding: 24px 28px; }
}

/* Booking: the signature moment, built like a health app */
.book { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.book::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(159, 227, 199, .18), transparent 65%); pointer-events: none; }
.book h2 { color: #fff; max-width: 22ch; }
.book .eyebrow { color: var(--mint); }
.book-head { margin-bottom: 34px; position: relative; }
.app { position: relative; display: grid; gap: 16px; }
.app-main { background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 8px 18px; min-width: 0; }
.step { border: 0; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.step:last-child { border-bottom: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font: 600 1.05rem var(--f-display); color: var(--ink); letter-spacing: -.015em; margin-bottom: 14px; padding: 0; }
.step legend + * { clear: both; }
.step-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); font-size: .85rem; }
.scroll { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; margin: -4px -2px -6px; scrollbar-width: thin; }
.scroll > * { scroll-snap-align: start; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips.scroll { flex-wrap: nowrap; }
.chip { position: relative; cursor: pointer; }
.chip input, .day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .95rem; color: var(--text); white-space: nowrap; transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease); }
.chip:hover span { border-color: var(--teal); }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span, .day input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; border-style: dashed; }
.chip input:active + span { transform: scale(.96); }
.day { position: relative; cursor: pointer; }
.day span { width: 70px; min-height: 86px; display: grid; place-items: center; align-content: center; gap: 2px; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s; }
.day b { font: 600 1.5rem/1 var(--f-display); color: var(--ink); letter-spacing: -.03em; }
.day small { font-size: .78rem; color: var(--muted); font-weight: 700; }
.day:hover span { border-color: var(--teal); }
.day input:checked + span { background: var(--teal); border-color: var(--teal); box-shadow: 0 10px 22px -12px rgba(15, 110, 107, .9); }
.day input:checked + span b, .day input:checked + span small { color: #fff; }
.day input:active + span { transform: scale(.96); }
.day input:disabled + span { opacity: .45; cursor: not-allowed; border-style: dashed; }
.slot-group + .slot-group { margin-top: 14px; }
.slot-label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .9rem; color: var(--muted); font-weight: 700; }
.slot-none { margin: 0; color: var(--muted); }
.fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: 400 1rem var(--f-text); color: var(--text); background: #fbfdfc; transition: border-color .18s, box-shadow .18s; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff8f7; }
.f-msg { font-weight: 700; font-size: .86rem; color: var(--danger); min-height: 0; }
.f-msg:empty { display: none; }
.ask .f-msg { color: #ffb4ab; }
.ask .field [aria-invalid="true"] { border-color: #ffb4ab; background: rgba(255, 180, 171, .08); }
.sent { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--mint-soft); color: var(--ink); animation: pop .4s var(--ease); }
.sent p { margin: 0; font-size: .92rem; }
.sent .sent-h { font: 600 1rem/1.3 var(--f-display); margin-bottom: 2px; }
.sent a { font-weight: 700; color: var(--teal); }
.sent-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; flex: none; }
.sent-ico .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.ask .sent { margin-top: 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 110, 107, .14); background: #fff; }
.mini-k { margin: 18px 0 10px; font-weight: 700; font-size: .95rem; color: var(--ink); }
.summary { background: linear-gradient(180deg, #ffffff, #f3faf7); color: var(--text); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--sh-2); align-self: start; position: relative; }
.summary::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: var(--mint); }
.sum-k { margin: 0; font-size: .88rem; font-weight: 700; color: var(--teal); }
.sum-clinic { font: 600 1.2rem/1.25 var(--f-display); color: var(--ink); letter-spacing: -.02em; margin: 2px 0 16px; }
.sum-list { margin: 0 0 14px; padding: 0; display: grid; }
.sum-list div { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 0; border-top: 1px dashed #c9ddd7; }
.sum-list dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.sum-list dt .ico { color: var(--teal); }
.sum-list dd { margin: 0; text-align: right; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.sum-list dd.empty { color: #8aa09d; font-weight: 400; }
.sum-list dd.pop { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sum-price { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--mint-soft); font-size: .92rem; color: var(--ink); }
.sum-price:empty { display: none; }
.sum-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.err { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: var(--danger); font-weight: 700; font-size: .92rem; }
@media (min-width: 960px) {
  .app { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
  .app-main { padding: 12px 32px; }
  .summary { position: sticky; top: 96px; padding: 28px 26px; }
  .fields { grid-template-columns: 1fr 1fr; }
  .scroll, .chips.scroll { flex-wrap: wrap; overflow: visible; }
}

/* Doctors */
.docs-grid { display: grid; gap: 36px; align-items: center; }
.docs-photo { aspect-ratio: 4 / 3; }
.dlist { display: grid; gap: 14px; margin-top: 26px; }
.doc { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: box-shadow .2s, border-color .2s; }
.doc { transition: box-shadow .25s var(--ease), border-color .25s, transform .25s var(--ease); }
.doc:hover { box-shadow: var(--sh-2); border-color: #c5ddd6; transform: translateY(-3px); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font: 600 1.25rem var(--f-display); color: var(--ink); background: var(--mint-soft); box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--mint); }
.doc h3 { margin: 0; }
.doc .role { margin: 0 0 6px; color: var(--teal); font-weight: 700; font-size: .92rem; }
.doc p { margin: 0 0 4px; color: var(--muted); font-size: .95rem; }
.doc .t-time { margin: 6px 0 4px; }
.doc .t-book { margin-top: 2px; }
@media (min-width: 960px) { .docs-grid { grid-template-columns: 1fr 1fr; gap: 72px; } .docs-photo { aspect-ratio: 4 / 5; } }

/* Reviews */
.revs { background: var(--sand); }
.revs-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.revs-head h2 { margin: 0; }
.rev-nav { display: flex; gap: 10px; }
.revs-row { display: grid; gap: 18px; }
.smile { display: none; }
.rtrack { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 14px; scrollbar-width: thin; min-width: 0; }
.rev { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.rev:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.rev { flex: 0 0 min(86%, 360px); scroll-snap-align: start; margin: 0; padding: 26px 24px; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 3px; color: #e0a526; }
.stars .ico { width: 18px; height: 18px; fill: currentColor; stroke-width: 1.2; }
.rev blockquote { margin: 0; font: 400 1.12rem/1.5 var(--f-display); color: var(--ink); letter-spacing: -.01em; flex: 1; }
.rev figcaption { font-size: .9rem; color: var(--muted); }
.rev figcaption b, .rev figcaption span { display: block; }
.rev figcaption b { color: var(--ink); }
.rev figcaption .sample { display: inline-block; }
.rev .sample { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: #fff6e0; color: #6b4e00; font-size: .8rem; font-weight: 700; }
@media (min-width: 960px) {
  .revs-row { grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: stretch; }
  .smile { display: block; min-height: 360px; }
  .rev { flex-basis: calc(50% - 7px); }
}

/* FAQ */
.faq-grid { display: grid; gap: 28px; }
.faqlist { display: grid; gap: 10px; }
.qa { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: #bfdcd3; box-shadow: var(--sh-1); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; cursor: pointer; font: 600 1.05rem/1.35 var(--f-display); color: var(--ink); letter-spacing: -.015em; border-radius: var(--r-md); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { color: var(--teal); transition: transform .25s var(--ease); }
.qa[open] summary .ico { transform: rotate(45deg); }
.qa .ans { padding: 0 20px 18px; color: var(--muted); }
.qa .ans p { margin: 0; }
.qa[open] .ans { animation: pop .3s var(--ease); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; } }

/* Contact */
.contact-grid { display: grid; gap: 28px; }
.vline { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px; }
.vline .ico { color: var(--teal); margin-top: 3px; }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; margin: 22px 0 20px; }
.hours caption { text-align: left; font: 600 1.05rem var(--f-display); color: var(--ink); padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--teal); }
.visit-actions { margin-bottom: 18px; }
.emerg-box { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fdecea; color: var(--danger); margin: 0; }
.emerg-box a { color: var(--danger); font-weight: 700; }
.ask { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px 22px; display: grid; gap: 14px; align-self: start; box-shadow: var(--sh-2); }
.ask h3 { color: #fff; font-size: 1.4rem; margin: 0; }
.ask .muted { color: rgba(255, 255, 255, .75); margin: 0; }
.ask .field { color: #fff; }
.ask .field input, .ask .field textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.ask .field input:focus, .ask .field textarea:focus { background: rgba(255, 255, 255, .12); border-color: var(--mint); box-shadow: 0 0 0 4px rgba(159, 227, 199, .2); }
.ask .btn-teal { background: var(--mint); color: var(--ink); }
.ask .btn-teal:hover { background: #b6ecd6; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 440px; gap: 72px; } .ask { padding: 36px 32px; } }

/* Footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 44px 0 110px; }
.foot p { margin: 0 0 6px; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 600 1.1rem var(--f-display); margin-bottom: 14px !important; }
@media (min-width: 960px) { .foot { padding-bottom: 44px; } }

/* Mobile bottom bar: hidden over the hero and when the booking summary is on screen */
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.bottombar.on { transform: none; }
.bottombar .btn { min-height: 48px; }
@media (min-width: 960px) { .bottombar { display: none; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.slot-card { animation: rise .8s .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rtrack { scroll-behavior: auto; }
  .js .ph:not(.hero-media) img { opacity: 1; filter: none; transform: none; }
}

/* Times, dates and phone numbers read best in Sora (Atkinson's slashed zero is kept for body text) */
.btn, .chip span, .sum-list dd, .t-time, .hours td, .proof > span { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; }
.t-time, .hours td { font-weight: 400; }
