/* Aarogyam — Smile Studio
   White and #F6F8FB grounds, navy ink, electric blue for every action, lilac as the second field.
   Bento tiles snap to whole grid cells. Radius by hierarchy: 36 frames · 24 tiles · 14 inputs · pill controls. */

:root {
  --ground: #f6f8fb;
  --card: #ffffff;
  --ink: #0c1a3d;
  --ink-2: #4a5878;
  --line: #dce3ee;
  --blue: #1d4ff2;
  --blue-deep: #1238c4;
  --blue-tint: #e6edff;
  --lilac: #d9ccff;
  --lilac-soft: #ece6ff;
  --lilac-ink: #5b3fc4;
  --open: #0b7d52;
  --soon: #9a5b00;

  --f-display: "Sora", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hindi: "Noto Sans Devanagari", "Figtree", sans-serif;

  --r-frame: 36px;
  --r-tile: 24px;
  --r-input: 14px;

  --shadow-1: 0 1px 2px rgba(12, 26, 61, .06), 0 4px 12px -4px rgba(12, 26, 61, .08);
  --shadow-2: 0 2px 4px rgba(12, 26, 61, .05), 0 14px 32px -12px rgba(12, 26, 61, .18);
  --shadow-3: 0 4px 10px rgba(12, 26, 61, .06), 0 28px 60px -20px rgba(12, 26, 61, .28);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  --sec-gap: clamp(72px, 9vw, 120px);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
}
::selection { background: var(--lilac); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[lang="hi"] { font-family: var(--f-hindi); font-weight: 500; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--star { fill: currentColor; stroke: none; color: #f2a516; }
.ico--big { width: 32px; height: 32px; color: var(--blue); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip-link:focus, .skip-link:hover { top: 12px; color: #fff; }

.container-xxl { padding-inline: clamp(16px, 4vw, 40px); }

/* ---------- Buttons ---------- */
.btn-blue, .btn-line, .btn-white, .btn-ghost-light {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(29, 79, 242, .3), 0 8px 18px -8px rgba(29, 79, 242, .55); }
.btn-blue:hover { background: var(--blue-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(29, 79, 242, .3), 0 14px 26px -10px rgba(29, 79, 242, .6); }
.btn-line { background: var(--card); color: var(--ink); border-color: #c3cde0; }
.btn-line:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-1); }
.btn-white { background: #fff; color: var(--blue-deep); }
.btn-white:hover { color: var(--ink); transform: translateY(-1px); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-blue:active, .btn-line:active, .btn-white:active, .btn-ghost-light:active { transform: scale(.98); }
.btn-blue[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9375rem; }

/* ---------- Header (glass) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(246, 248, 251, .76);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: rgba(220, 227, 238, .9); box-shadow: 0 6px 24px -18px rgba(12, 26, 61, .5); }
.site-header .navbar { min-height: var(--header-h); padding: 10px 0; }
.site-header .container-xxl { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__logo { height: 36px; width: auto; }
.brand__sub { font-size: .8125rem; font-weight: 600; color: var(--ink-2); line-height: 1.2; max-width: 9.5em; padding-left: 12px; border-left: 1px solid var(--line); }

.open-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.open-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa6bd; }
.open-pill.is-open { color: var(--open); }
.open-pill.is-open .open-pill__dot { background: #14b075; box-shadow: 0 0 0 4px rgba(20, 176, 117, .18); }
.open-pill.is-soon { color: var(--soon); }
.open-pill.is-soon .open-pill__dot { background: #e79a1c; }

.site-header .nav-link { color: var(--ink); font-weight: 600; font-size: .975rem; padding: 8px 14px !important; border-radius: 999px; }
.site-header .nav-link:hover { color: var(--blue); background: var(--blue-tint); }

.menu-btn { border: 0; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0; background: var(--card); box-shadow: var(--shadow-1); }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-btn:focus { box-shadow: var(--shadow-1); }

@media (min-width: 992px) {
  .open-pill { order: 2; }
  .navbar-collapse { order: 3; flex-grow: 0; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 64px; }
  .brand__logo { height: 30px; }
  .brand__sub { display: none; }
  .open-pill { order: 3; width: 100%; justify-content: center; display: none; }
  .navbar-collapse { flex-basis: 100%; }
  .navbar-collapse .navbar-nav { padding: 8px 0; }
  .navbar-collapse .btn-blue { margin: 4px 0 12px; width: 100%; }
}
@media (min-width: 576px) and (max-width: 991.98px) { .open-pill { display: inline-flex; order: 0; width: auto; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(64px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.75rem); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; margin: 0 0 20px; max-width: 11ch; }
.hero__lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 36ch; margin: 0 0 8px; }
.hero__hi { color: var(--lilac-ink); margin: 0 0 28px; font-size: 1.0625rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chip-fact { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .9375rem; color: var(--ink-2); box-shadow: 0 1px 2px rgba(12, 26, 61, .04); }
.chip-fact strong { color: var(--ink); }
.chip-fact .ico { color: var(--blue); }
.chip-fact.is-open { border-color: rgba(11, 125, 82, .35); }
.chip-fact.is-open .ico { color: var(--open); }

.hero__visual { position: relative; padding: 0 0 clamp(150px, 13vw, 190px) 0; }
.hero__visual::before { content: ""; position: absolute; inset: 8% -2% 9% 34%; background: var(--lilac); border-radius: var(--r-frame); }
.smile-frame { position: relative; margin: 0 0 0 16%; height: min(540px, calc(100svh - 330px)); min-height: 380px; border-radius: var(--r-frame); overflow: hidden; box-shadow: var(--shadow-3); background: var(--lilac-soft); }
.smile-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; }

.quick-book {
  position: absolute; left: 0; bottom: 0; width: min(372px, 78%);
  padding: 20px; border-radius: var(--r-tile);
  background: rgba(255, 255, 255, .64);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-3);
}
.quick-book__title { font: 700 1.1875rem/1.2 var(--f-display); margin: 0 0 14px; letter-spacing: -.01em; }
.quick-book__set { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.quick-book__label { display: block; float: none; width: auto; font-size: .875rem; font-weight: 600; color: var(--ink-2); margin: 0 0 8px; padding: 0; }
.quick-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qchip { min-height: 38px; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .875rem/1.2 var(--f-body); cursor: pointer; transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease-out); }
.qchip:hover { border-color: var(--blue); color: var(--blue); }
.qchip:active { transform: scale(.97); }
.qchip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.quick-book__row { margin-bottom: 14px; }
.quick-book__select, .field select, .field input {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-input);
  border: 1.5px solid #c9d2e3; background-color: #fff; color: var(--ink);
  font: 500 1rem/1.3 var(--f-body);
  transition: border-color .18s, box-shadow .18s;
}
select.quick-book__select, .field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ff2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.quick-book__select:focus, .field select:focus, .field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 79, 242, .18); }
.quick-book__go { width: 100%; }

/* one authored load moment: the smile frame opens, the booking card settles onto it */
@media (prefers-reduced-motion: no-preference) {
  .smile-frame { animation: frameOpen 1s var(--ease-out) both; }
  .quick-book { animation: cardSettle .8s .35s var(--ease-out) both; }
}
@keyframes frameOpen { from { clip-path: inset(5% 5% 5% 5% round 48px); } to { clip-path: inset(0 0 0 0 round var(--r-frame)); } }
@keyframes cardSettle { from { transform: translateY(22px); } to { transform: none; } }

@media (max-width: 991.98px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 14ch; }
  .smile-frame { height: clamp(260px, 56vw, 480px); min-height: 0; margin-left: 10%; }
  .smile-frame img { object-position: 50% 58%; }
  .hero__visual { padding-bottom: 0; }
  .hero__visual::before { inset: 10% -2% 8% 4%; }
  .quick-book { position: relative; width: auto; margin: -56px 0 0; left: auto; bottom: auto; }
}
@media (max-width: 575.98px) {
  .hero { padding-top: 16px; }
  .hero__title { font-size: clamp(2.35rem, 11vw, 2.75rem); margin-bottom: 12px; }
  .hero__lede { font-size: 1rem; }
  .hero__hi { margin-bottom: 14px; font-size: .9375rem; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
  .hero__actions .btn-lg { min-height: 52px; padding: 12px 14px; font-size: 1rem; }
  .chips { gap: 6px; }
  .chip-fact { padding: 6px 11px; font-size: .875rem; }
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero__copy { display: contents; }
  .hero__visual { order: 5; margin: 4px 0 20px; }
  .chips { order: 7; }
  .smile-frame { height: 210px; margin-left: 0; border-radius: 28px; }
  .smile-frame img { object-position: 50% 64%; }
  .hero__visual::before { display: none; }
  .quick-book { margin-top: -44px; margin-inline: 10px; padding: 16px; }
}

/* ---------- Section heads ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: start; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-title { font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; margin: 0 0 12px; }
.sec-head .sec-title { margin: 0; }
.sec-lede { color: var(--ink-2); font-size: 1.125rem; max-width: 46ch; margin: 0; }
.sec-head .sec-lede { padding-top: .6em; }
.fine { font-size: .875rem; color: var(--ink-2); margin: 16px 0 0; }
.source { font-size: .875rem; color: var(--ink-2); margin: 16px 0 0; }
@media (max-width: 767.98px) { .sec-head { grid-template-columns: 1fr; } }

section { scroll-margin-top: calc(var(--header-h) + 8px); }
.compare, .journey, .treatments, .doctors, .reviews, .booking, .visit, .faq { padding-top: var(--sec-gap); }

/* ---------- Braces vs aligners ---------- */
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: var(--lilac-soft); margin-bottom: 20px; box-shadow: inset 0 1px 2px rgba(12, 26, 61, .08); }
.switch__opt { position: relative; z-index: 1; min-width: 150px; min-height: 48px; padding: 10px 24px; border: 0; background: none; border-radius: 999px; font: 700 1.0625rem/1 var(--f-display); color: var(--lilac-ink); cursor: pointer; transition: color .3s; }
.switch__opt[aria-selected="true"] { color: #fff; }
.switch__opt:focus-visible { outline-offset: -3px; outline-color: var(--ink); }
.switch__thumb { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--blue); box-shadow: 0 6px 16px -6px rgba(29, 79, 242, .7); transition: transform .45s var(--ease-out); }
.switch[data-on="aligners"] .switch__thumb { transform: translateX(100%); }

.cmp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "photo facts" "photo foot"; gap: 16px; }
.cmp__photo { grid-area: photo; position: relative; margin: 0; border-radius: var(--r-frame); overflow: hidden; min-height: 460px; background: var(--lilac); }
.cmp__img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); border-radius: var(--r-tile); object-fit: cover; box-shadow: var(--shadow-2); opacity: 0; transform: scale(1.03); transition: opacity .5s var(--ease-out), transform .8s var(--ease-out); }
.cmp__img.is-on { opacity: 1; transform: none; }
.cmp__img[data-cmp-img="braces"] { object-position: 50% 30%; }
.cmp__facts { grid-area: facts; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.cmp__row { background: var(--card); border-radius: var(--r-tile); padding: 20px 22px; box-shadow: var(--shadow-1); }
.cmp__row dt { font: 700 .9375rem/1.2 var(--f-display); color: var(--blue); margin-bottom: 8px; }
.cmp__row dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.cmp__foot { grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: var(--r-tile); background: var(--lilac-soft); }
.cmp__foot p { margin: 0; max-width: 34ch; font-weight: 500; }
.cmp.is-swapping .cmp__row dd { animation: rowIn .45s var(--ease-out); }
@keyframes rowIn { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cmp.is-swapping .cmp__row dd { animation: none; } .cmp__img, .switch__thumb { transition: none; } }
@media (max-width: 991.98px) {
  .cmp { grid-template-columns: 1fr; grid-template-areas: "photo" "facts" "foot"; }
  .cmp__photo { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 575.98px) {
  .switch { display: grid; width: 100%; }
  .switch__opt { min-width: 0; padding: 10px 12px; }
  .cmp__facts { grid-template-columns: 1fr; gap: 10px; }
  .cmp__row { padding: 16px 18px; }
  .cmp__foot .btn-blue { width: 100%; }
}

/* ---------- Smile journey ---------- */
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 0 8px; margin: 0; border-radius: var(--r-frame) var(--r-frame) 0 0; background: var(--lilac-soft); }
.track__line { position: absolute; left: 12.5%; right: 12.5%; top: 56px; height: 4px; border-radius: 4px; background: #fff; }
.track__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: var(--blue); transition: width .55s var(--ease-out); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 8px 14px; border: 0; background: none; color: var(--ink); cursor: pointer; font-family: var(--f-body); }
.step__dot { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--blue); margin-bottom: 8px; box-shadow: var(--shadow-1); transition: background-color .3s, color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.step__dot .ico { width: 26px; height: 26px; }
.step__name { font: 700 1.0625rem/1.2 var(--f-display); text-align: center; }
.step:hover .step__dot { transform: translateY(-2px); }
.step.is-done .step__dot { background: var(--blue-tint); }
.step[aria-selected="true"] .step__dot { background: var(--blue); color: #fff; transform: scale(1.06); box-shadow: 0 4px 8px rgba(29, 79, 242, .25), 0 14px 26px -10px rgba(29, 79, 242, .6); }
.step:focus-visible { outline: none; }
.step:focus-visible .step__dot { outline: 3px solid var(--ink); outline-offset: 3px; }
.step-panel { background: var(--lilac-soft); border-radius: 0 0 var(--r-frame) var(--r-frame); padding: 12px clamp(16px, 4vw, 40px) clamp(28px, 4vw, 44px); border-top: 1px solid rgba(91, 63, 196, .14); }
.step-panel > * { max-width: 680px; margin-inline: auto; text-align: center; }
.step-panel__title { font: 700 clamp(1.25rem, 2.2vw, 1.625rem)/1.3 var(--f-display); letter-spacing: -.015em; margin: 16px auto 8px; }
.step-panel__text { margin: 0 auto; color: var(--ink-2); }
.step-panel.is-swapping > * { animation: rowIn .4s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .track__fill { transition: none; } .step-panel.is-swapping > * { animation: none; } }
@media (max-width: 575.98px) {
  .track { padding-top: 20px; }
  .track__line { top: 42px; }
  .step { padding: 0 2px 12px; }
  .step__dot { width: 46px; height: 46px; }
  .step__dot .ico { width: 21px; height: 21px; }
  .step__name { font-size: .8125rem; white-space: nowrap; }
}

/* ---------- Treatments bento (whole cells only) ---------- */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 272px;
  grid-template-areas:
    "braces braces rct    rct"
    "braces braces kids   clean"
    "wisdom crown  kids   implant"
    "mouth  mouth  unsure unsure";
}
.tile--braces { grid-area: braces; } .tile--rct { grid-area: rct; } .tile--kids { grid-area: kids; } .tile--clean { grid-area: clean; }
.tile--wisdom { grid-area: wisdom; } .tile--crown { grid-area: crown; } .tile--implant { grid-area: implant; } .tile--mouth { grid-area: mouth; } .tile--unsure { grid-area: unsure; }

.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--r-tile); overflow: hidden; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); isolation: isolate; }
a.tile:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-3); }
a.tile:active { transform: translateY(-1px) scale(.995); }
a.tile:focus-visible { outline-offset: 4px; border-radius: var(--r-tile); }
.tile__img { position: absolute; inset: 0 0 2px; z-index: -1; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
a.tile:hover .tile__img img { transform: scale(1.04); }
.tile__body { position: relative; display: block; margin-bottom: -1px; padding: 14px 18px 17px; background: #fff; border-radius: 0 0 var(--r-tile) var(--r-tile); }
.tile__name { display: block; font: 700 1.0625rem/1.25 var(--f-display); letter-spacing: -.01em; margin: 0 0 4px; }
.tile__text { display: block; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); margin: 0; }
.tile--braces .tile__body { padding: 20px 24px 22px; }
.tile--braces .tile__name { font-size: 1.5rem; }
.tile--braces .tile__text { font-size: 1rem; }
.tile__img img[src*="tooth-cross"] { object-position: 50% 30%; }
.tile__img img[src*="child-brushing"] { object-position: 50% 20%; }
.tile__img img[src*="bright-smile"] { object-position: 50% 40%; }
.tile__img img[src*="crown-implant"] { object-position: 50% 15%; }

.tile--unsure { justify-content: center; padding: clamp(22px, 3vw, 32px); background: var(--blue); color: #fff; box-shadow: var(--shadow-2); }
.tile--unsure .tile__name { color: #fff; font-size: clamp(1.375rem, 2vw, 1.75rem); margin-bottom: 8px; }
.tile--unsure .tile__text { color: #e3e9ff; font-size: 1rem; max-width: 44ch; margin-bottom: 18px; }
.tile__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 991.98px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
    grid-template-areas:
      "braces  braces"
      "braces  braces"
      "rct     rct"
      "kids    clean"
      "kids    wisdom"
      "crown   implant"
      "mouth   mouth"
      "unsure  unsure";
  }
}
@media (max-width: 575.98px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px;
    grid-template-areas: "braces braces" "rct kids" "clean wisdom" "crown implant" "mouth mouth" "unsure unsure"; }
  .tile { background: var(--card); justify-content: flex-start; border-radius: 20px; }
  .tile__img { position: relative; inset: auto; height: 128px; z-index: 0; }
  .tile--braces .tile__img, .tile--mouth .tile__img { height: 190px; }
  .tile__body, .tile--braces .tile__body { padding: 12px 14px 14px; background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tile__name { font-size: .9375rem; }
  .tile--braces .tile__name { font-size: 1.25rem; }
  .tile__text { font-size: .8125rem; }
  .tile--braces .tile__text, .tile--mouth .tile__text { font-size: .9375rem; }
  .tile__img img[src*="child-brushing"] { object-position: 50% 45%; }
  .tile--unsure { background: var(--blue); }
}

/* ---------- Doctors ---------- */
.docs { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.doc { border-radius: var(--r-tile); padding: clamp(24px, 3vw, 36px); background: var(--card); box-shadow: var(--shadow-2); }
.doc--second { background: var(--lilac-soft); box-shadow: none; align-self: start; }
.doc__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.doc__avatar { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 50%; background: var(--blue); box-shadow: 0 8px 18px -8px rgba(29, 79, 242, .7); }
.doc__avatar--lilac { background: var(--lilac); box-shadow: none; }
.doc__avatar img { width: 38px; height: 38px; }
.doc__name { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 2px; }
.doc__role { margin: 0; color: var(--ink-2); font-weight: 500; }
.doc__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; }
.doc__facts > div { padding: 14px 0; border-top: 1px solid var(--line); }
.doc__facts dt { font-size: .8125rem; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.doc__facts dd { margin: 0; font-size: .9375rem; line-height: 1.45; }
.doc__text { margin: 0; }
@media (max-width: 991.98px) { .docs { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .doc__facts { grid-template-columns: 1fr; } .doc__avatar { width: 56px; height: 56px; } .doc__avatar img { width: 30px; height: 30px; } }

/* ---------- Reviews: quote wall ---------- */
.reviews .sec-title { margin-bottom: clamp(28px, 4vw, 44px); }
.wall { display: grid; gap: 16px; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); grid-template-areas: "score wide wide" "score q2 q3"; }
.wall__score { grid-area: score; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-tile); background: var(--ink); color: #fff; box-shadow: var(--shadow-2); }
.wall__num { font: 700 clamp(4rem, 8vw, 6rem)/1 var(--f-display); letter-spacing: -.04em; margin: 0 0 10px; }
.wall__stars { display: flex; gap: 4px; margin: 0 0 12px; color: #f2b632; }
.wall__stars .ico { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.wall__meta { color: #c9d3ea; margin: 0 0 16px; }
.wall__link { color: #fff; font-weight: 600; }
.wall__link:hover { color: var(--lilac); }
.quote { margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-tile); background: var(--card); box-shadow: var(--shadow-1); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote--wide { grid-area: wide; }
.quote:nth-of-type(2) { grid-area: q2; }
.quote--lilac { grid-area: q3; background: var(--lilac); box-shadow: none; }
.quote--lilac footer { color: var(--ink); }
.quote p { font: 600 clamp(1.125rem, 1.6vw, 1.3125rem)/1.4 var(--f-display); letter-spacing: -.01em; margin: 0; }
.quote--wide p { font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.3; }
.quote p::before { content: "\201C"; } .quote p::after { content: "\201D"; }
.quote footer { font-weight: 600; color: var(--ink-2); }
.quote footer::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--blue); }
@media (max-width: 991.98px) { .wall { grid-template-columns: 1fr 1fr; grid-template-areas: "score score" "wide wide" "q2 q3"; } }
@media (max-width: 575.98px) { .wall { grid-template-columns: 1fr; grid-template-areas: "score" "wide" "q2" "q3"; } }

/* ---------- Booking ---------- */
.booking__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.booking__direct { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 16px; }
.booking__now { font-weight: 600; color: var(--ink); margin: 0; padding: 12px 16px; border-radius: 16px; background: var(--blue-tint); display: inline-block; }
.booking__photo { margin: 24px 0 0; border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-2); }
.booking__photo img { width: 100%; height: 100%; object-fit: cover; }
.booking__photo { position: relative; }
.booking__photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .8125rem; color: var(--ink-2); }
@media (max-width: 991.98px) { .booking__photo { display: none; } }
.book { background: var(--card); border-radius: var(--r-frame); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow-3); }
.book__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field input::placeholder { color: #6a7792; }
.field input.is-invalid { border-color: #c62f3f; background-color: #fff7f8; }
.field input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(198, 47, 63, .18); }
.field__error { margin: 6px 0 0; min-height: 0; font-size: .875rem; font-weight: 600; color: #b3202f; }
.field__error:empty { display: none; }
.field__hint { margin: 6px 0 0; font-size: .875rem; color: var(--lilac-ink); font-weight: 600; }
.field__hint:empty { display: none; }
.book__submit { width: 100%; margin-top: 8px; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.book__status { margin: 14px 0 0; font-weight: 600; }
.book__status:empty { display: none; }
.book__status.is-ok { padding: 14px 16px; border-radius: 14px; background: #e3f6ee; color: #075c3c; }
.book__status.is-err { padding: 14px 16px; border-radius: 14px; background: #fdecee; color: #9b1a28; }
.book__small { font-size: .875rem; color: var(--ink-2); margin: 14px 0 0; }
.book.is-flash { animation: flash 1.2s var(--ease-out); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(29, 79, 242, .45), var(--shadow-3); } 100% { box-shadow: 0 0 0 18px rgba(29, 79, 242, 0), var(--shadow-3); } }
@media (max-width: 991.98px) { .booking__grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .book__pair { grid-template-columns: 1fr; } .book { border-radius: var(--r-tile); } }

/* ---------- Visit ---------- */
.visit .sec-title { margin-bottom: clamp(28px, 4vw, 44px); }
.visit__grid { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "map map addr hours" "map map addr hours"; }
.map-tile { grid-area: map; position: relative; min-height: 460px; border-radius: var(--r-tile); overflow: hidden; background: linear-gradient(100deg, #e9eef6 30%, #f4f7fb 50%, #e9eef6 70%) 0 0 / 300% 100%; box-shadow: var(--shadow-1); }
.map-tile:not(.is-loaded) { animation: shimmer 1.6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .map-tile:not(.is-loaded) { animation: none; } }
@keyframes shimmer { to { background-position: -300% 0; } }
.map-tile__fallback { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-2); }
.map-tile__fallback p { margin: 0 0 12px; }
.map-tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.addr-tile, .hours-tile { border-radius: var(--r-tile); padding: 24px; background: var(--card); box-shadow: var(--shadow-1); }
.addr-tile { grid-area: addr; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.addr-tile__addr { font: 600 1.125rem/1.45 var(--f-display); margin: 0; }
.addr-tile__tip { margin: 0; color: var(--ink-2); }
.addr-tile .btn-line { margin-top: auto; }
.hours-tile { grid-area: hours; background: var(--lilac-soft); box-shadow: none; }
.hours-tile__title { font: 700 1.125rem/1.2 var(--f-display); margin: 0 0 12px; }
.hours { width: 100%; border-collapse: separate; border-spacing: 0 2px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 7px 10px; font-size: .9375rem; }
.hours th { font-weight: 600; }
.hours td { text-align: right; color: var(--ink-2); }
.hours tr:last-child td { color: var(--lilac-ink); font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--blue); color: #fff; }
.hours tr.is-today th { border-radius: 10px 0 0 10px; }
.hours tr.is-today td { border-radius: 0 10px 10px 0; }
.hours-tile__hi { margin: 14px 0 0; font-size: .9375rem; color: var(--lilac-ink); }
@media (max-width: 1199.98px) { .visit__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "map map" "addr hours"; } .map-tile { min-height: 400px; } }
@media (max-width: 575.98px) { .visit__grid { grid-template-columns: 1fr; grid-template-areas: "map" "addr" "hours"; } .map-tile { min-height: 340px; } }

/* ---------- FAQ ---------- */
.faq { padding-bottom: var(--sec-gap); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(24px, 4vw, 56px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 18px; background: var(--card); box-shadow: var(--shadow-1); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font: 600 1.0625rem/1.35 var(--f-display); border-radius: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ff2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease-out), background-color .3s; }
.qa[open] summary::after { transform: rotate(45deg); background-color: var(--lilac); }
.qa summary:hover { color: var(--blue); }
.qa p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); max-width: 64ch; }
@media (max-width: 767.98px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d3ea; padding: 56px 0 40px; font-size: .9375rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--lilac); }
.footer__grid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; }
.footer__logo img { height: 40px; width: auto; }
.footer__hi { color: #fff; }
.footer__fine { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid rgba(201, 211, 234, .2); font-size: .8125rem; }
@media (max-width: 767.98px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Phone dock ---------- */
.dock { display: none; }
@media (max-width: 991.98px) {
  .dock {
    position: fixed; z-index: 1020; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(220, 227, 238, .9); box-shadow: var(--shadow-3);
  }
  .dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--ink); text-decoration: none; }
  .dock__btn:active { transform: scale(.97); }
  .dock__btn--main { background: var(--blue); color: #fff; }
  .dock__btn--main:hover { color: #fff; }
  .dock__btn .ico { color: var(--blue); }
  .site-footer { padding-bottom: 104px; }
}

/* ---------- Secondary pages ---------- */
.page { padding: clamp(40px, 7vw, 88px) 0 var(--sec-gap); }
.page .container-xxl > * { max-width: 760px; }
.page h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 20px; }
.page h2 { font-size: 1.375rem; font-weight: 700; margin: 32px 0 8px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.simple-header .container-xxl { justify-content: space-between; }
