/* Chhabra's Dental Clinic: "Brighter smile, explained"
   Porcelain ground, ink vitrines, emerald where the visitor acts. */

@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/syne-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Karla";
  src: url("../assets/fonts/karla-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Anek Devanagari";
  src: url("../assets/fonts/anek-devanagari-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0900-097F, U+200C-200D, U+0964-0965;
}

:root {
  --porcelain: #FAFAF7;
  --paper: #FFFFFF;
  --ink: #101418;
  --ink-2: #1A2027;
  --ink-3: #252D35;
  --line: #E2E1DA;
  --line-strong: #C9C8C0;
  --line-dark: #2E3740;
  --text: #101418;
  --text-2: #4A5058;
  --text-on-ink: #F4F5F2;
  --text-on-ink-2: #B9C0C7;
  --emerald: #0F9D58;
  --emerald-ink: #0B7A44;
  --emerald-bright: #34C987;
  --emerald-wash: #E6F4EC;
  --danger: #B3261E;
  --tooth: #B98F55;
  --stain: 1;
  --gloss: 0;

  --font-display: "Syne", "Karla", system-ui, sans-serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hi: "Anek Devanagari", "Karla", sans-serif;

  --r-vitrine: 28px;
  --r-print: 14px;
  --r-tag: 6px;
  --r-control: 12px;

  --shadow-print: 0 1px 2px rgba(16, 20, 24, .06), 0 10px 28px -12px rgba(16, 20, 24, .22);
  --shadow-lift: 0 2px 4px rgba(16, 20, 24, .08), 0 22px 44px -18px rgba(16, 20, 24, .32);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: 16px;
  --section: clamp(64px, 9vw, 120px);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--emerald); color: var(--ink); }
a { color: var(--emerald-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #075E33; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: inherit; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; margin: 0; }
p { margin: 0 0 1em; }
[lang="hi"] { font-family: var(--font-hi); letter-spacing: 0; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
.muted { color: var(--text-2); }
.small { font-size: .9rem; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.skip-link:hover { color: #fff; }
.honey { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }
html { scrollbar-color: var(--line-strong) var(--porcelain); }

/* ---------- buttons ---------- */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; text-decoration: none;
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s;
  cursor: pointer; border: 0;
}
.btn-primary { background: var(--emerald); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -10px rgba(15, 157, 88, .7); }
.btn-primary:hover { color: var(--ink); background: #12B064; transform: translateY(-1px); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--porcelain); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.link-wa { color: var(--emerald-bright); font-weight: 600; }
.link-wa:hover { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand img { width: 150px; height: auto; }
@media (min-width: 992px) { .brand img { width: 176px; } }
.open-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; white-space: nowrap; color: var(--text-2);
}
.open-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.open-pill.is-open { color: var(--emerald-ink); }
.open-pill.is-open .open-pill__dot { background: var(--emerald); box-shadow: 0 0 0 3px rgba(15,157,88,.18); }
.open-pill.is-closed .open-pill__dot { background: #9AA0A6; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .97rem; }
.main-nav a:hover { background: var(--paper); color: var(--ink); }
.main-nav__book { display: none; }
.btn-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--ink); color: var(--porcelain); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap;
}
.btn-call:hover { color: #fff; background: var(--ink-3); }
.menu-toggle { display: none; }

@media (max-width: 1099px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--porcelain); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(16,20,24,.35);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .main-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav__book { display: block; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
    background: transparent; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; content: ""; transition: transform .2s var(--ease-out);
  }
  .menu-toggle__bars::before { position: absolute; top: -6px; }
  .menu-toggle__bars::after { position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .btn-call { margin-left: auto; }
  .btn-call + .menu-toggle { margin-left: 0; }
}
@media (max-width: 599px) {
  .btn-call span { display: none; }
  .btn-call { width: 44px; padding: 0; justify-content: center; }
  .open-pill { font-size: .78rem; padding: 4px 10px; }
  .header-row { gap: 10px; min-height: 60px; }
  .brand img { width: 128px; }
}
@media (max-width: 380px) { .open-pill [data-open-text] { max-width: 132px; overflow: hidden; text-overflow: ellipsis; } }

/* ---------- hero ---------- */
.hero { padding: clamp(20px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 5fr 7fr; gap: 48px; } }
.hero h1 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.35rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 18px; }
.hero-lead { font-weight: 700; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); margin-bottom: 8px; max-width: 40ch; }
.hero-sub { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: var(--text-2); max-width: 46ch; margin-bottom: 8px; }
.hero-hi { color: var(--text-2); font-size: 1.05rem; margin-bottom: 20px; }
.hero-facts { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-facts li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--r-tag); font-size: .92rem; background: var(--paper); }
.hero-facts strong { font-family: var(--font-display); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 767px) {
  .hero { padding-top: 16px; }
  .hero h1 { font-size: 1.85rem; margin-bottom: 8px; }
  .hero-lead { font-size: .98rem; margin-bottom: 4px; }
  .hero-sub { font-size: .98rem; line-height: 1.5; margin-bottom: 4px; }
  .hero-hi { font-size: .95rem; margin-bottom: 12px; }
  .hero-facts { margin-bottom: 14px; gap: 6px; }
  .hero-facts li { font-size: .82rem; padding: 4px 9px; }
  .hero-facts li:nth-child(n+2) { display: none; }
  .hero-sub { display: none; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { min-height: 48px; padding: 0 18px; font-size: .95rem; flex: 1 1 auto; }
  .hero-grid { gap: 20px; }
}

/* the vitrine */
.vitrine {
  position: relative;
  background-color: var(--ink);
  background-image: radial-gradient(52% 38% at 50% 24%, rgba(255, 252, 240, .17), rgba(255, 252, 240, .05) 55%, rgba(255, 252, 240, 0) 80%);
  color: var(--text-on-ink);
  border-radius: var(--r-vitrine);
  padding: clamp(18px, 2.4vw, 32px);
  box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(255,255,255,.07);
  display: grid; gap: 18px;
}
@media (min-width: 1100px) {
  .vitrine { gap: 12px; }
  .shade-card { grid-template-columns: 1fr 1fr; column-gap: 22px; row-gap: 8px; padding: 18px 20px; }
  .shade-card__title, .shade-card__lead { grid-column: 1; }
  .shade-card__facts { grid-column: 2; grid-row: 1 / span 3; }
  .shade-card__facts div:first-child { border-top: 0; padding-top: 0; }
  .shade-card__actions { grid-column: 1; align-self: end; }
  .shade-card__facts dd, .shade-card__lead { font-size: .95rem; line-height: 1.5; }
}
.smile-stage { position: relative; }
.smile-stage .smile { max-width: 470px; margin: 0 auto; }
@media (max-width: 1099px) { .smile-stage .smile { max-width: 560px; } }
.smile-stage { margin: 0; }
.smile { width: 100%; height: auto; display: block; }
.smile .lip { fill: #A8565C; }
.smile .lip--lower { fill: #94464D; }
.smile .mouth { fill: #2A0E13; }
.smile .gum { fill: #C25E69; }
.smile .teeth rect { fill: var(--tooth); transition: fill .55s var(--ease-out); }
.smile .teeth--lower rect { filter: brightness(.9); }
.smile .stain { fill: #5E3F1C; opacity: calc(var(--stain) * .75); transition: opacity .55s var(--ease-out); }
.smile .stain .stain-wash { fill: #8A6230; opacity: .55; }
.smile .gloss { fill: #fff; opacity: calc(var(--gloss) * .55); transition: opacity .55s var(--ease-out); }
.label-tag { display: inline-block; font-size: .8rem; line-height: 1.4; padding: 4px 10px; border-radius: var(--r-tag); border: 1px solid var(--line-strong); color: var(--text-2); background: var(--paper); }
.label-tag--dark { border-color: var(--line-dark); color: var(--text-on-ink-2); background: var(--ink-2); }
.smile-note { display: table; margin: 8px auto 0; }
.print-label { margin: 10px 2px 2px; }
.faq-figure { margin: 24px 0 0; max-width: 440px; }
.faq-figure .faq-photo { margin-top: 0; }

.shade-control { display: grid; gap: 10px; }
.shade-label { font-weight: 700; font-size: .95rem; color: var(--text-on-ink); }
.shade-track { position: relative; }
.shade-range {
  -webkit-appearance: none; appearance: none; width: calc(80% + 34px); margin-left: calc(10% - 17px) !important; height: 44px; margin: 0; background: transparent; cursor: pointer;
  position: relative; z-index: 2;
}
.shade-range::-webkit-slider-runnable-track {
  height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, #B98F55 0 20%, #D6BE8A 20% 40%, #E8DCBC 40% 60%, #F2EEE2 60% 80%, #FCFCF8 80% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.shade-range::-moz-range-track {
  height: 14px; border-radius: 999px;
  background: linear-gradient(90deg, #B98F55 0 20%, #D6BE8A 20% 40%, #E8DCBC 40% 60%, #F2EEE2 60% 80%, #FCFCF8 80% 100%);
}
.shade-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 34px; height: 34px; margin-top: -10px; border-radius: 50%;
  background: var(--tooth); border: 4px solid var(--emerald); box-shadow: 0 0 0 4px rgba(16,20,24,.9), 0 6px 14px rgba(0,0,0,.45);
  transition: transform .2s var(--ease-out);
}
.shade-range::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--tooth); border: 4px solid var(--emerald); box-shadow: 0 0 0 4px rgba(16,20,24,.9);
}
.shade-range:active::-webkit-slider-thumb { transform: scale(1.1); }
.shade-range:focus-visible { outline: none; }
.shade-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--ink), 0 0 0 7px var(--emerald-bright); }
.shade-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--ink), 0 0 0 7px var(--emerald-bright); }
.shade-tabs { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.shade-tabs button {
  width: 100%; min-height: 44px; display: grid; justify-items: center; gap: 4px; padding: 0;
  background: transparent; border: 0; color: var(--text-on-ink-2); font: 600 .8rem/1.2 var(--font-body); cursor: pointer;
}
.shade-tabs button::before {
  content: ""; width: 30px; height: 42px; border-radius: 14px 14px 11px 11px; background: var(--tab);
  box-shadow: inset 0 -6px 8px rgba(0,0,0,.12); transition: transform .2s var(--ease-out);
}
.shade-tabs button:hover { color: #fff; }
.shade-tabs button.is-active { color: var(--emerald-bright); }
.shade-tabs button.is-active::before { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--emerald-bright); }

.shade-card {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 16px; padding: 20px;
  display: grid; align-content: start; gap: 12px;
}
.shade-card__title { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); font-weight: 700; color: #fff; }
.shade-card__lead { color: var(--text-on-ink); margin: 0; }
.shade-card__facts { margin: 0; display: grid; gap: 10px; }
.shade-card__facts div { border-top: 1px solid var(--line-dark); padding-top: 10px; }
.shade-card__facts dt { font-size: .85rem; font-weight: 700; color: var(--emerald-bright); margin-bottom: 2px; }
.shade-card__facts div + div dt { color: #fff; }
.shade-card__facts dd { margin: 0; color: var(--text-on-ink-2); font-size: .98rem; }
.shade-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }

@media (max-width: 767px) {
  .vitrine { padding: 14px 14px 18px; gap: 10px; border-radius: 22px; }
  .smile-note { font-size: .74rem; margin-top: 2px; }
  .shade-card { padding: 16px; }
}

/* ---------- proof ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-grid { display: grid; gap: 20px; padding-top: 28px; padding-bottom: 28px; align-items: center; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr auto; gap: 40px; } }
.proof-rating { margin: 0; font-size: 1.02rem; color: var(--text); }
.proof-rating strong { font-family: var(--font-display); }
.proof-quote { margin: 0; padding-left: 18px; position: relative; }
.proof-quote::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line-strong); }
.proof-quote p { line-height: 1.22; font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.proof-quote footer { font-size: .9rem; color: var(--text-2); }

/* ---------- section heads ---------- */
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 1.08rem; margin: 0; }
.section-head--dark p { color: var(--text-on-ink-2); }

/* ---------- options gallery ---------- */
.options { padding: var(--section) 0; }
.gallery { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery .print { grid-column: span 3; }
  .gallery .print--wide { grid-column: span 6; }
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(12, 1fr); }
  .gallery .print { grid-column: span 4; }
  .gallery .print--wide { grid-column: span 7; }
  .gallery .print--wide + .print { grid-column: span 5; }
}
.print {
  margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-print);
  padding: 10px; box-shadow: var(--shadow-print); display: flex; flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.print img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--line); }
.gallery .print--wide img { aspect-ratio: 16 / 9; }
@media (min-width: 1100px) {
  .gallery .print--wide img, .gallery .print--wide + .print img { aspect-ratio: auto; height: 360px; }
}
.gallery .print img[src*="whitening"] { object-position: 50% 62%; }
.gallery .print img[src*="veneers"] { object-position: 50% 58%; }
.tag { padding: 16px 8px 8px; display: grid; gap: 8px; align-content: start; }
.tag h3, .tag h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 2px; }
.tag p { margin: 0; color: var(--text-2); font-size: 1rem; }
.tag__can, .tag__cant { display: flex; gap: 10px; align-items: baseline; color: var(--text) !important; }
.tag__can span, .tag__cant span {
  flex: none; display: inline-block; min-width: 52px; text-align: center; padding: 1px 8px; border-radius: var(--r-tag);
  font-size: .78rem; font-weight: 700;
}
.tag__can span { background: var(--emerald-wash); color: var(--emerald-ink); }
.tag__cant span { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text-2); }
.tag__meta { font-size: .9rem !important; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px !important; }

.everyday { margin-top: clamp(40px, 5vw, 64px); }
.everyday__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.everyday__grid { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 900px) { .everyday__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 600px) {
  .print--row { flex-direction: row; gap: 4px; }
  .print--row img { width: 44%; aspect-ratio: auto; height: 100%; min-height: 220px; }
  .print--row .tag { flex: 1; padding: 8px 12px; }
}
.link-ask { font-weight: 700; color: var(--emerald-ink); }
.stock-note { margin: 24px 0 0; font-size: .9rem; color: var(--text-2); }

/* ---------- compare ---------- */
.compare { background: var(--ink); color: var(--text-on-ink); padding: var(--section) 0; }
.goal-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--ink-2);
  color: var(--text-on-ink); font: 600 .98rem var(--font-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--text-on-ink-2); }
.chip[aria-pressed="true"] { background: var(--emerald); color: var(--ink); border-color: var(--emerald); }
.table-wrap { border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; color: var(--text-on-ink); font-variant-numeric: tabular-nums; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.compare-table thead th { font-size: .85rem; color: var(--text-on-ink-2); font-weight: 700; background: var(--ink-2); }
.compare-table tbody th { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: #fff; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody tr { transition: opacity .35s var(--ease-out), background-color .35s var(--ease-out); }
.compare-table.has-pick tbody tr { opacity: .32; }
.compare-table.has-pick tbody tr.is-pick { opacity: 1; background: var(--ink-3); }
.compare-table tbody tr.is-pick th::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--emerald-bright); margin-right: 10px; vertical-align: 1px; }
.compare-answer { margin-top: 20px; padding: 20px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-dark); }
.compare-answer p { margin: 0 0 14px; font-size: 1.08rem; max-width: 70ch; }
.compare-answer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
@media (max-width: 767px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line-dark); }
  .compare-table tbody tr:last-child { border-bottom: 0; }
  .compare-table th, .compare-table td { padding: 2px 0; border: 0; }
  .compare-table td { color: var(--text-on-ink-2); font-size: .95rem; }
  .compare-table td:nth-of-type(2)::before { content: "Tooth trimmed: "; color: var(--text-on-ink); font-weight: 600; }
  .compare-table td:nth-of-type(3)::before { content: "Visits: "; color: var(--text-on-ink); font-weight: 600; }
}

/* ---------- doctors ---------- */
.doctors { padding: var(--section) 0 calc(var(--section) * .6); }
.doctors-grid { display: grid; gap: 8px; }
@media (min-width: 992px) { .doctors-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.doctor-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 600px) { .doctor-list { grid-template-columns: 1fr 1fr; } }
.doctor { display: flex; gap: 16px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-print); box-shadow: var(--shadow-print); }
.doctor__mono {
  flex: none; width: 64px; height: 84px; border-radius: 32px 32px 26px 26px; background: var(--ink); color: var(--porcelain);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
}
.doctor h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.doctor p { color: var(--text-2); font-size: .95rem; margin-bottom: 8px; }
.doctor a { font-weight: 700; }

/* ---------- booking ---------- */
.book { padding: calc(var(--section) * .6) 0 var(--section); }
.book-grid { display: grid; gap: 28px; }
@media (min-width: 992px) { .book-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.book-intro h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.book-intro p { color: var(--text-2); font-size: 1.08rem; }
.book-hi { font-size: 1.05rem; }
.book-contacts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.book-contacts a { font-weight: 700; font-size: 1.1rem; }
.book-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-print); display: grid; gap: 18px;
}
@media (min-width: 700px) {
  .book-form { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .book-form .field:first-of-type, .btn-submit, .form-status, .form-fine { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 700; font-size: .98rem; }
.optional { font-weight: 400; color: var(--text-2); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-control);
  background: var(--porcelain); font: 500 1.02rem var(--font-body); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23101418' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(15,157,88,.22); }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179,38,30,.14); }
.phone-input { display: flex; align-items: stretch; }
.phone-input span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line-strong); border-right: 0; border-radius: var(--r-control) 0 0 var(--r-control); background: var(--line); font-weight: 600; }
.phone-input input { border-radius: 0 var(--r-control) var(--r-control) 0; }
.field-hint { margin: 0; font-size: .85rem; color: var(--text-2); }
.field-error { margin: 0; font-size: .9rem; color: var(--danger); font-weight: 600; }
.btn-submit { width: 100%; min-height: 56px; font-size: 1.08rem; }
.btn-submit[disabled] { opacity: .75; cursor: progress; }
.btn-submit.is-loading [data-submit-label]::after { content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status:empty { display: none; }
.form-status { padding: 14px 16px; border-radius: var(--r-control); font-weight: 600; }
.form-status.is-success { background: var(--emerald-wash); color: #0A5E35; }
.form-status.is-error { background: #FBEAE8; color: var(--danger); }
.form-fine { margin: 0; font-size: .88rem; color: var(--text-2); }

/* ---------- visit ---------- */
.visit { background: var(--paper); border-top: 1px solid var(--line); padding: var(--section) 0; }
.visit-grid { display: grid; gap: 32px; }
@media (min-width: 992px) { .visit-grid { grid-template-columns: 5fr 7fr; gap: 48px; } }
.visit h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 18px; }
.visit address { font-style: normal; font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.visit-hi { color: var(--text-2); }
.visit-landmark { color: var(--text-2); max-width: 52ch; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 32px; }
.hours-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.hours th, .hours td { padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours th { font-weight: 600; }
.hours td { text-align: right; }
.hours tr.is-today { background: var(--emerald-wash); }
.hours tr.is-today th::after { content: " (today)"; color: var(--emerald-ink); font-weight: 700; }
.visit-map { display: grid; gap: 16px; align-content: start; }
@media (min-width: 700px) { .visit-map { grid-template-columns: 1fr 1.4fr; } .map-fallback { grid-column: 1 / -1; } }
.print--map img { aspect-ratio: 3 / 4; object-position: 50% 70%; height: 100%; }
.map-frame { position: relative; border-radius: var(--r-print); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--line); }
@media (min-width: 992px) { .map-frame, .map-frame iframe { min-height: 480px !important; } }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map-fallback { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--porcelain); }
.map-fallback p { margin: 0; }
.map-fallback a { font-weight: 700; }

/* ---------- faq ---------- */
.faq { padding: var(--section) 0; }
.faq-grid { display: grid; gap: 8px; }
@media (min-width: 992px) { .faq-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.faq-photo { margin-top: 24px; border-radius: var(--r-print); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; max-width: 440px; box-shadow: var(--shadow-print); }
@media (max-width: 991px) { .faq-photo { max-height: 220px; } }
.accordion { --bs-accordion-bg: var(--paper); --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(15,157,88,.3); --bs-accordion-active-bg: var(--paper); --bs-accordion-active-color: var(--ink); --bs-accordion-border-radius: 16px; --bs-accordion-inner-border-radius: 16px; }
.accordion-button { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); padding: 20px 22px; letter-spacing: -0.01em; }
.accordion-button:not(.collapsed) { box-shadow: inset 0 -1px 0 var(--line); }
.accordion-body { color: var(--text-2); padding: 18px 22px 22px; font-size: 1.02rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--text-on-ink-2); padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1.2fr 1fr 1fr; } }
.site-footer img { width: 190px; height: auto; margin-bottom: 14px; }
.footer-h { font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: 0; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--text-on-ink); }
.site-footer a:hover { color: var(--emerald-bright); }
.footer-tagline { color: var(--text-on-ink); }
.muted-dark { color: var(--text-on-ink-2); font-size: .9rem; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: grid; gap: 8px; font-size: .88rem; }
@media (min-width: 768px) { .footer-base { grid-template-columns: 1fr auto; gap: 24px; } }

/* ---------- thumb bar ---------- */
.thumb-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 72px; }
  .thumb-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(16,20,24,.96); border-top: 1px solid var(--line-dark);
  }
  .thumb-bar a { display: grid; place-items: center; min-height: 48px; border-radius: 12px; color: var(--text-on-ink); font-weight: 700; text-decoration: none; background: var(--ink-3); }
  .thumb-bar a.thumb-bar__book { background: var(--emerald); color: var(--ink); }
}

/* ---------- simple pages ---------- */
.page { padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.page h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.page h2 { font-size: 1.4rem; font-weight: 700; margin: 32px 0 10px; }
.page p, .page li { max-width: 68ch; color: var(--text-2); }
.page .lede { font-size: 1.15rem; color: var(--text); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 699px) { .print--map img { aspect-ratio: 16 / 10; object-position: 50% 60%; } }

.thumb-bar a:hover { color: #fff; }
.thumb-bar a.thumb-bar__book:hover { color: var(--ink); }
.compare a:not(.btn-primary):hover, .vitrine a:not(.btn-primary):hover { color: #fff; }

.map-frame iframe { position: relative; z-index: 1; }
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 24px;
  color: var(--text-2);
  background-color: #ECEBE4;
}
.map-placeholder svg { color: var(--emerald-ink); }
.map-placeholder p { margin: 0; color: var(--text); background: rgba(250,250,247,.92); padding: 4px 10px; border-radius: var(--r-tag); }
.map-placeholder .map-placeholder__hint { font-size: .85rem; color: var(--text-2); }
