/* ==========================================================================
   DR. ELAF Dental Clinic — Design System
   One stylesheet for the whole public site. Logical properties keep RTL/LTR
   identical. Tokens first, then base, layout, components, sections, utilities.
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-017F, U+2013-2026, U+20AC, U+2122;
}

/* ---------- Tokens ---------- */
:root {
  --plum-950: #1C1229;
  --ink: #241B33;
  --plum-800: #2E1A4D;
  --plum-700: #39205E;
  --violet-600: #6540A6;
  --violet-500: #7B55C2;
  --violet-400: #9A7AD6;
  --violet-300: #B9A2E6;
  --lilac-200: #E7D9FA;
  --lavender-100: #F3EDFC;
  --pearl-50: #FAF7FE;
  --white: #FFFFFF;
  --muted: #70667E;
  --muted-2: #8E85A0;
  --line: #E4DAF3;
  --gold-500: #C39A45;
  --gold-300: #E9D29A;
  --gold-100: #FBF3DF;
  --success: #1E7A52;
  --success-bg: #E5F5EC;
  --warning: #8A5A00;
  --warning-bg: #FFF3D6;
  --danger: #B3261E;
  --danger-bg: #FCE8E6;
  --info-bg: #EEE7FB;

  --f-body: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, sans-serif;
  --f-display: "Fraunces", "Vazirmatn", Georgia, serif;
  --lh-body: 1.6;
  --lh-head: 1.15;
  --head-weight: 520;
  --head-tracking: -0.015em;

  --fs-xs: .78rem;
  --fs-sm: .875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.15rem, 1.05rem + .4vw, 1.35rem);
  --fs-2xl: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --fs-3xl: clamp(1.85rem, 1.35rem + 2vw, 2.9rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --gutter: 16px;
  --container: 1200px;
  --header-h: 72px;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --r-arch: 999px 999px var(--r-lg) var(--r-lg);

  --sh-1: 0 1px 2px rgba(57, 32, 94, .06), 0 2px 10px rgba(57, 32, 94, .05);
  --sh-2: 0 10px 30px -12px rgba(57, 32, 94, .28);
  --sh-3: 0 30px 70px -30px rgba(57, 32, 94, .45);
  --ring: 0 0 0 3px rgba(123, 85, 194, .35);

  --grad-hero: radial-gradient(1200px 600px at 85% -10%, #E2D1FA 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #EADFFB 0%, transparent 55%), linear-gradient(180deg, #F7F2FE 0%, #F1E8FC 100%);
  --grad-plum: radial-gradient(900px 500px at 90% 0%, rgba(155, 122, 214, .35), transparent 60%), linear-gradient(160deg, #3F2468 0%, #2A1747 60%, #22133A 100%);
  --grad-violet: linear-gradient(135deg, #7B55C2 0%, #6540A6 45%, #4E2D88 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[lang="ar"], html[lang="ckb"] {
  --f-display: "Vazirmatn", system-ui, sans-serif;
  --lh-body: 1.75;
  --lh-head: 1.35;
  --head-weight: 700;
  --head-tracking: 0;
}
html[lang^="zh"] {
  --f-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Vazirmatn", sans-serif;
  --f-display: "Fraunces", "PingFang SC", "Noto Serif SC", "Noto Sans SC", "Microsoft YaHei", serif;
  --lh-body: 1.8;
  --lh-head: 1.35;
  --head-weight: 600;
  --head-tracking: 0;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 80px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--pearl-50);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { border-style: none; }
a { color: var(--violet-600); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--plum-700); }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: var(--head-weight);
  line-height: var(--lh-head);
  letter-spacing: var(--head-tracking);
  color: var(--plum-700);
  margin: 0 0 var(--s-4);
  text-wrap: balance;
  font-variation-settings: "opsz" 72;
}
h1 { font-size: var(--fs-3xl); font-variation-settings: "opsz" 144; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); font-variation-settings: "opsz" 36; }
h4 { font-size: var(--fs-lg); font-family: var(--f-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--s-4); padding-inline-start: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }
small { font-size: var(--fs-sm); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }
::selection { background: var(--lilac-200); color: var(--plum-800); }
:focus-visible { outline: 3px solid var(--violet-500); outline-offset: 3px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
table { border-collapse: collapse; width: 100%; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1em; height: 1em; }
.icon--lg { width: 1.6em; height: 1.6em; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000; background: var(--plum-700); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.container--text { max-width: calc(720px + 2 * var(--gutter)); }
.section { padding-block: clamp(40px, 5vw, 72px); position: relative; }
.section--tint { background: var(--lavender-100); }
.section--white { background: var(--white); }
.section--plum { background: var(--grad-plum); color: #EDE5FA; }
.section--plum h2, .section--plum h3 { color: #fff; }
.section--plum a:not(.btn) { color: var(--gold-300); }
.section--tight { padding-block: clamp(28px, 3.5vw, 44px); }
.section-head { max-width: 680px; margin-bottom: var(--s-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-md); margin: 0; }
.section--plum .section-head p { color: #CFC2E8; }
.section-head .section-mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--violet-600); box-shadow: var(--sh-1); margin-bottom: var(--s-4); }
.section--plum .section-mark { background: rgba(255, 255, 255, .1); color: var(--gold-300); box-shadow: none; }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: var(--s-8); }
  .split--media-first > :first-child { order: 0; }
  .split--rev > :first-child { order: 2; }
}
.stack > * + * { margin-top: var(--s-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--violet-600); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 9px 20px; border-radius: var(--r-pill);
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none; white-space: nowrap; max-width: 100%;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn--primary { background: var(--grad-violet); }
.btn--primary:hover { background: linear-gradient(135deg, #8662CC, #6540A6 50%, #4A2A82); }
.btn--secondary { --btn-bg: var(--white); --btn-fg: var(--plum-700); --btn-bd: var(--lilac-200); }
.btn--secondary:hover { --btn-bd: var(--violet-300); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--violet-600); --btn-bd: transparent; padding-inline: 12px; }
.btn--ghost:hover { --btn-bg: var(--lavender-100); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--plum-700); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { --btn-bd: #fff; }
.btn--whatsapp { --btn-bg: #1F8F55; --btn-fg: #fff; }
.btn--danger { --btn-bg: var(--danger); }
.btn--sm { min-height: 38px; padding: 6px 16px; font-size: var(--fs-sm); }
.btn--lg { min-height: 50px; padding: 12px 26px; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 247, 254, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(57, 32, 94, .5); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum-700); flex: none; }
.brand img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: "Fraunces", Georgia, serif; font-weight: 640; font-size: 1.22rem; letter-spacing: .01em; font-variation-settings: "opsz" 48; }
.brand__sub { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.nav { display: none; margin-inline: auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__list li + li { margin: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem; }
.nav__link:hover { background: var(--lavender-100); color: var(--plum-700); }
.nav__link[aria-current="page"] { color: var(--violet-600); background: var(--lavender-100); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--plum-700); text-decoration: none; }
.icon-btn:hover { background: var(--lavender-100); color: var(--plum-700); }
.header-book { display: none; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header-actions { margin-inline-start: 0; }
  .menu-toggle { display: none; }
  .header-book { display: inline-flex; }
}
@media (min-width: 640px) and (max-width: 1099px) { .header-book { display: inline-flex; } }

/* Language switcher */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--plum-700); font-weight: 600; font-size: var(--fs-sm); }
.lang__btn:hover { border-color: var(--violet-300); }
.lang__flag { font-size: 1.05rem; line-height: 1; }
.lang__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-3); padding: 6px; list-style: none; margin: 0; z-index: 60; }
.lang__menu li + li { margin: 0; }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 600; }
.lang__menu a:hover { background: var(--lavender-100); }
.lang__menu a[aria-current="true"] { background: var(--lavender-100); color: var(--violet-600); }
.lang__menu .lang__en { margin-inline-start: auto; color: var(--muted-2); font-weight: 400; font-size: var(--fs-xs); }
@media (max-width: 479px) { .lang__label { display: none; } .lang__btn { padding: 0 10px; gap: 4px; } }
@media (max-width: 419px) {
  .site-header__inner { gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 38px; height: 38px; }
  .brand__sub { display: none; }
  .header-actions { gap: 2px; }
  .header-search { display: none; }
  .icon-btn { width: 42px; height: 42px; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(28, 18, 41, .45); animation: fade .2s ease; }
.drawer__panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(380px, 88vw); background: var(--pearl-50); display: flex; flex-direction: column; box-shadow: var(--sh-3); animation: slideIn .28s var(--ease); }
[dir="rtl"] .drawer__panel { animation-name: slideInRtl; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer__body { overflow-y: auto; padding: 12px 12px 24px; flex: 1; }
.drawer__group { margin-bottom: 18px; }
.drawer__title { font-size: var(--fs-xs); color: var(--muted); padding: 6px 12px; font-weight: 700; }
.drawer__link { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 600; }
.drawer__link .icon { color: var(--violet-600); width: 22px; height: 22px; }
.drawer__link:hover, .drawer__link[aria-current="page"] { background: var(--lavender-100); color: var(--plum-700); }
.drawer__foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; }
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideInRtl { from { transform: translateX(-100%); } }

/* Sticky mobile action bar */
.mobile-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-bar .btn { min-height: 50px; }
.mobile-bar .icon-btn { width: 50px; height: 50px; border: 1px solid var(--line); background: #fff; }
.mobile-bar .icon-btn--wa { color: #1F8F55; }
body.has-mobile-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .mobile-bar { display: none; } body.has-mobile-bar { padding-bottom: 0; } }

/* ---------- Breadcrumbs & page hero ---------- */
.breadcrumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-5); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--violet-600); text-decoration: underline; }
.breadcrumbs .icon { width: 14px; height: 14px; opacity: .6; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--violet-600); margin-bottom: var(--s-4); min-height: 44px; }

.page-hero { background: var(--grad-hero); padding-block: clamp(20px, 3vw, 36px) clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 1.1fr .9fr; } }
.page-hero h1 { margin-bottom: var(--s-4); }
.page-hero .lead { font-size: var(--fs-md); color: var(--muted); max-width: 60ch; }
.page-hero__icon { width: 64px; height: 64px; border-radius: 20px; background: #fff; color: var(--violet-600); display: grid; place-items: center; box-shadow: var(--sh-1); margin-bottom: var(--s-4); }
.page-hero__icon .icon { width: 32px; height: 32px; }

/* ---------- Signature: arch frame ---------- */
.arch { position: relative; border-radius: var(--r-arch); overflow: hidden; background: var(--lilac-200); isolation: isolate; box-shadow: var(--sh-3); }
.arch img, .arch video { width: 100%; height: 100%; object-fit: cover; }
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); pointer-events: none; }
.arch--outline { box-shadow: none; outline: 1px solid var(--violet-300); outline-offset: 10px; }
.frame { border-radius: var(--r-lg); overflow: hidden; background: var(--lilac-200); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--grad-hero); position: relative; overflow: hidden; padding-block: clamp(24px, 4vw, 48px) clamp(32px, 4vw, 56px); }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr .92fr; gap: var(--s-8); } }
.hero__place { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: var(--r-pill); background: #fff; color: var(--plum-700); font-weight: 600; font-size: var(--fs-sm); box-shadow: var(--sh-1); margin-bottom: var(--s-5); }
[dir="rtl"] .hero__place { padding: 6px 8px 6px 14px; }
.hero__place .crown { width: 28px; height: 28px; border-radius: 50%; background: var(--plum-700); color: var(--gold-300); display: grid; place-items: center; }
.hero__place .crown .icon { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(1.9rem, 1.25rem + 2.6vw, 3.25rem); margin-bottom: var(--s-4); }
.hero h1 .hero__line2 { display: block; color: var(--violet-600); }
.hero__lead { font-size: var(--fs-md); color: #4F4560; max-width: 52ch; margin-bottom: var(--s-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-5); }
.hero__account { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: var(--fs-sm); }
.hero__account a { font-weight: 700; }
.hero__media { position: relative; max-width: 440px; width: 100%; margin-inline: auto; }
.hero__arch { aspect-ratio: 4 / 5; }
.hero__ring { position: absolute; inset: -18px; border-radius: 999px 999px 40px 40px; border: 1px solid rgba(101, 64, 166, .25); pointer-events: none; }
.hero__card { position: absolute; inset-inline-start: -12px; bottom: 28px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--r-md); padding: 14px 16px; box-shadow: var(--sh-2); display: flex; gap: 12px; align-items: center; max-width: 280px; }
.hero__card .icon { color: var(--violet-600); width: 22px; height: 22px; }
.hero__card strong { display: block; color: var(--plum-700); font-size: var(--fs-sm); }
.hero__card span { color: var(--muted); font-size: var(--fs-xs); }
@media (max-width: 559px) { .hero__card { inset-inline-start: 8px; bottom: 16px; } }

.slides { position: relative; width: 100%; height: 100%; }
.slides__item { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slides__item.is-active { opacity: 1; }
.slides__item img { transform: scale(1.06); transition: transform 7s linear; }
.slides__item.is-active img { transform: scale(1); }
.slides__dots { position: absolute; bottom: 14px; inset-inline-end: 18px; display: flex; gap: 6px; z-index: 2; }
.slides__dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .6); }
.slides__dot.is-active { background: #fff; width: 22px; border-radius: 6px; }
.slides__dot:focus-visible { outline-color: #fff; }

/* Hero entrance — one orchestrated moment on page load (CSS only, no flash) */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.hero [data-enter] { animation: rise .75s var(--ease) both; }
.hero [data-enter="2"] { animation-delay: .08s; }
.hero [data-enter="3"] { animation-delay: .16s; }
.hero [data-enter="4"] { animation-delay: .24s; }
.hero [data-enter="5"] { animation-delay: .32s; }
.hero .hero__media[data-enter] { animation: settle 1s var(--ease) .1s both; }

/* ---------- Cards ---------- */
.card { background: #fff; border-radius: var(--r-md); padding: var(--s-5); box-shadow: var(--sh-1); border: 1px solid rgba(231, 217, 250, .7); }
.card--flat { box-shadow: none; }
.card--tint { background: var(--lavender-100); border-color: transparent; box-shadow: none; }
.card--pad-lg { padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); }
.card h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.card p:last-child { margin-bottom: 0; }

.tile-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--lavender-100); color: var(--violet-600); flex: none; }
.tile-icon .icon { width: 26px; height: 26px; }
.tile-icon--plum { background: var(--plum-700); color: var(--gold-300); }
.tile-icon--white { background: #fff; }

/* Services */
.services-feature { display: grid; gap: var(--s-5); margin-bottom: var(--s-5); }
@media (min-width: 800px) { .services-feature { grid-template-columns: 1fr 1fr; } }
.svc-feature { display: grid; grid-template-columns: 132px 1fr; gap: var(--s-5); align-items: center; background: #fff; border-radius: var(--r-lg); padding: 18px; text-decoration: none; color: inherit; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.svc-feature:hover { border-color: var(--violet-300); box-shadow: var(--sh-2); color: inherit; }
.svc-feature .arch { aspect-ratio: 3 / 4; box-shadow: none; }
.svc-feature h3 { margin-bottom: 6px; }
.svc-feature p { color: var(--muted); margin-bottom: 10px; font-size: var(--fs-sm); }
@media (min-width: 1024px) { .svc-feature { grid-template-columns: 170px 1fr; padding: 22px; } }
.svc-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, background-color .2s; min-height: 100%; }
.svc-item:hover { border-color: var(--violet-300); background: var(--pearl-50); color: inherit; }
.svc-item h3 { font-family: var(--f-body); font-size: var(--fs-md); font-weight: 700; letter-spacing: 0; color: var(--plum-700); margin: 2px 0 4px; }
.svc-item p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.svc-item .icon--dir { margin-inline-start: auto; color: var(--violet-300); align-self: center; }

/* Feature list */
.features { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 16px; }
.feature h3 { font-family: var(--f-body); font-size: var(--fs-md); font-weight: 700; letter-spacing: 0; margin: 4px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* Steps (real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { margin: 0; position: relative; padding: var(--s-5); background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--plum-700); color: var(--gold-300); font-weight: 800; margin-bottom: var(--s-4); font-family: var(--f-display); }
.steps h3 { font-family: var(--f-body); font-size: var(--fs-lg); font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery { columns: 2; column-gap: 12px; }
@media (min-width: 800px) { .gallery { columns: 4; column-gap: 16px; } }
.gallery__item { display: block; width: 100%; position: relative; border: 0; padding: 0; margin: 0 0 12px; background: var(--lilac-200); border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; break-inside: avoid; }
@media (min-width: 800px) { .gallery__item { margin-bottom: 16px; } }
.gallery__item img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item--tall { border-radius: 999px 999px var(--r-md) var(--r-md); }
.gallery__item--video .gallery__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, transparent 40%, rgba(28, 18, 41, .45)); }
.gallery__item--video .gallery__play .icon { width: 56px; height: 56px; }
.gallery__note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-4); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(28, 18, 41, .82); }
.lightbox img, .lightbox video { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--r-md); }
.lightbox__close { position: fixed; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--plum-700); display: grid; place-items: center; }
.lightbox__cap { color: #fff; text-align: center; margin-top: 10px; font-size: var(--fs-sm); }

/* Smile lab teaser cards */
.lab-cards { display: grid; gap: var(--s-5); }
@media (min-width: 860px) { .lab-cards { grid-template-columns: repeat(3, 1fr); } }
.lab-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); overflow: hidden; text-decoration: none; color: #EDE5FA; transition: background-color .2s, border-color .2s; }
.lab-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(233, 210, 154, .5); color: #fff; }
.lab-card__art { aspect-ratio: 16 / 10; background: linear-gradient(160deg, #F3EDFC, #DCCBF6); display: grid; place-items: center; }
.lab-card__art svg { width: 78%; height: auto; }
.lab-card__body { padding: var(--s-5); }
.lab-card h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: 6px; }
.lab-card p { color: #CFC2E8; font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.lab-card .link-arrow { color: var(--gold-300); }
.lab-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-6); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--lavender-100); color: var(--plum-700); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); border: 1px solid transparent; }
.chip:hover { border-color: var(--violet-300); color: var(--plum-700); }
.section--plum .chip { background: rgba(255, 255, 255, .08); color: #EDE5FA; }
.section--plum .chip:hover { border-color: rgba(233, 210, 154, .5); color: #fff; }

/* Member / offer */
.member { display: grid; gap: var(--s-6); align-items: center; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid var(--line); }
@media (min-width: 900px) { .member { grid-template-columns: 1fr 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.check-list .icon { color: var(--success); margin-top: .25em; }
.offer-banner { position: relative; border-radius: var(--r-lg); padding: var(--s-6); background: var(--grad-plum); color: #EDE5FA; overflow: hidden; }
.offer-banner__pct { font-family: "Fraunces", Georgia, serif; font-size: clamp(3.2rem, 2rem + 5vw, 5rem); line-height: 1; color: var(--gold-300); font-weight: 560; font-variation-settings: "opsz" 144; }
.offer-banner h3 { color: #fff; }
.offer-banner p { color: #CFC2E8; }
.offer-banner small { color: #B9A9D8; display: block; }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; justify-content: space-between; margin-bottom: var(--s-6); }
.rating-summary { display: flex; align-items: center; gap: 16px; }
.rating-summary__num { font-family: "Fraunces", Georgia, serif; font-size: 3.2rem; line-height: 1; color: var(--plum-700); font-weight: 560; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars .icon { width: 18px; height: 18px; }
.stars .is-off { color: var(--lilac-200); }
.review-grid { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border-radius: var(--r-md); padding: var(--s-5); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.review__head { display: flex; gap: 12px; align-items: center; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--lavender-100); color: var(--violet-600); display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: none; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__name { font-weight: 700; color: var(--plum-700); line-height: 1.3; }
.review__name a { color: inherit; text-decoration: none; }
.review__meta { font-size: var(--fs-xs); color: var(--muted); }
.review__text { margin: 0; color: #463D55; font-size: var(--fs-sm); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review__text.is-open { -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; border: 0; background: none; color: var(--violet-600); font-weight: 700; padding: 0; font-size: var(--fs-sm); }
.source-note { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-5); }
.source-note .icon { margin-top: 2px; }
.google-cta { display: grid; gap: var(--s-4); justify-items: start; padding: var(--s-6); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.skeleton { background: linear-gradient(90deg, var(--lavender-100), #fff, var(--lavender-100)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-md); min-height: 160px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Articles */
.article-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s; }
.article-card:hover { box-shadow: var(--sh-2); border-color: var(--violet-300); color: inherit; }
.article-card__art { aspect-ratio: 16 / 9; background: var(--lavender-100); overflow: hidden; }
.article-card__art img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card h3 { font-size: var(--fs-lg); margin: 0; }
.article-card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.article-card .link-arrow { margin-top: auto; padding-top: 8px; }
.prose { font-size: 1.075rem; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--s-7); }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--s-6); }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); border-inline-start: 4px solid var(--violet-300); background: var(--lavender-100); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
[dir="rtl"] .prose blockquote { border-radius: var(--r-sm) 0 0 var(--r-sm); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s; }
.faq details[open] { border-color: var(--violet-300); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 700; color: var(--plum-700); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { margin-inline-start: auto; transition: transform .25s var(--ease); color: var(--violet-500); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq__a { padding: 0 20px 18px; color: #4F4560; }
.faq .faq__a p:last-child { margin: 0; }

/* Map */
.map { display: grid; gap: var(--s-5); }
@media (min-width: 960px) { .map { grid-template-columns: .9fr 1.1fr; align-items: stretch; } }
.map__frame { position: relative; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; background: #E9E1F6 url("../img/map-pattern.svg") center / cover; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: var(--s-5); }
.map__pin { width: 64px; height: 64px; border-radius: 50%; background: var(--plum-700); color: var(--gold-300); display: grid; place-items: center; box-shadow: var(--sh-3); }
.map__pin .icon { width: 30px; height: 30px; }
.map__load small { color: var(--muted); max-width: 36ch; }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.contact-list strong { display: block; color: var(--plum-700); }
.contact-list a { text-decoration: none; }
.contact-list span { color: var(--muted); font-size: var(--fs-sm); }

/* CTA band */
.cta-band { border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); background: var(--grad-plum); color: #EDE5FA; display: grid; gap: var(--s-5); align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #CFC2E8; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band::after { content: ""; position: absolute; width: 340px; height: 340px; inset-inline-end: -120px; top: -160px; border-radius: 50%; border: 1px solid rgba(233, 210, 154, .25); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-950); color: #BDB0D6; padding-top: var(--s-8); font-size: var(--fs-sm); }
.site-footer a { color: #E2D8F3; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-6); padding-bottom: var(--s-7); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { max-width: 36ch; margin-top: var(--s-4); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__sub { color: #A99BC4; }
.site-footer h2 { font-family: var(--f-body); font-size: var(--fs-md); color: #fff; font-weight: 700; letter-spacing: 0; margin-bottom: var(--s-4); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
.footer-social { display: flex; gap: 8px; margin-top: var(--s-4); }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.footer-social a:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-langs a { padding: 6px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; color: #9587B1; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-4); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-5); }
.form-row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field > .label { font-weight: 700; color: var(--plum-700); font-size: var(--fs-sm); display: flex; gap: 6px; align-items: baseline; }
.field .optional { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: #A59CB4; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--violet-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--violet-500); box-shadow: var(--ring); }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236540A6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; padding-inline-end: 44px; }
[dir="rtl"] .select { background-position: left 14px center; }
input[type="tel"], input[type="email"] { direction: ltr; }
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { text-align: right; }
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: var(--fs-sm); display: flex; gap: 6px; align-items: center; }
.field__hint { color: var(--muted); font-size: var(--fs-xs); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--violet-600); flex: none; }
.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.password-wrap { position: relative; }
.password-wrap .input { padding-inline-end: 52px; }
.password-wrap button { position: absolute; inset-inline-end: 4px; top: 4px; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); border-radius: 50%; }

/* Choice tiles (big radios/checkboxes) */
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice > span { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font-weight: 600; color: var(--ink); transition: border-color .15s, background-color .15s, box-shadow .15s; line-height: 1.3; }
.choice > span .icon { color: var(--violet-500); }
.choice input:hover + span { border-color: var(--violet-300); }
.choice input:checked + span { border-color: var(--violet-600); background: var(--lavender-100); box-shadow: inset 0 0 0 1px var(--violet-600); color: var(--plum-700); }
.choice input:focus-visible + span { box-shadow: var(--ring); }
.choice--stack > span { flex-direction: column; align-items: center; text-align: center; padding: 14px 10px; }

/* Alerts */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--info-bg); color: var(--plum-800); font-size: var(--fs-sm); border: 1px solid transparent; }
.alert .icon { margin-top: 2px; }
.alert p:last-child { margin: 0; }
.alert--success { background: var(--success-bg); color: #13553A; }
.alert--warning { background: var(--warning-bg); color: #6B4500; }
.alert--error { background: var(--danger-bg); color: #8A1D17; }
.flashes { display: grid; gap: 10px; margin-block: var(--s-4); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; background: var(--lavender-100); color: var(--plum-700); white-space: nowrap; }
.badge--pending { background: var(--warning-bg); color: var(--warning); }
.badge--confirmed { background: var(--success-bg); color: var(--success); }
.badge--completed { background: #E7EEF9; color: #26467A; }
.badge--cancelled, .badge--no_show, .badge--rejected { background: var(--danger-bg); color: var(--danger); }
.badge--approved, .badge--applied { background: var(--success-bg); color: var(--success); }
.badge--requested { background: var(--warning-bg); color: var(--warning); }
.badge--gold { background: var(--gold-100); color: #7A5A12; }

/* ---------- Booking ---------- */
.booking { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1000px) { .booking { grid-template-columns: 1.35fr .65fr; } }
.booking-panel { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); box-shadow: var(--sh-1); }
.booking-aside { display: grid; gap: var(--s-4); }
@media (min-width: 1000px) { .booking-aside { position: sticky; top: calc(var(--header-h) + 16px); } }
.booking-note { display: flex; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--gold-100); color: #5E4511; font-size: var(--fs-sm); }
.booking-note .icon { color: var(--gold-500); margin-top: 2px; }
.form-section-title { display: flex; align-items: center; gap: 10px; font-family: var(--f-body); font-size: var(--fs-md); font-weight: 800; color: var(--plum-700); margin: 0; letter-spacing: 0; }
.form-section-title .num { width: 28px; height: 28px; border-radius: 50%; background: var(--plum-700); color: var(--gold-300); display: grid; place-items: center; font-size: .85rem; }
.time-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.time-range__sep { color: var(--muted); font-weight: 700; }
.time-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.time-presets button { min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: var(--fs-sm); color: var(--plum-700); }
.time-presets button:hover { border-color: var(--violet-300); }
.time-presets button.is-active { background: var(--lavender-100); border-color: var(--violet-600); }

/* Calendar */
.cal { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px; background: #fff; max-width: 420px; user-select: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__title { font-weight: 800; color: var(--plum-700); }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lavender-100); color: var(--plum-700); display: grid; place-items: center; }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; padding: 6px 0; }
.cal__day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 12px; background: transparent; font-weight: 600; color: var(--ink); font-size: .95rem; font-variant-numeric: tabular-nums; }
.cal__day:hover:not(:disabled) { background: var(--lavender-100); }
.cal__day:disabled { color: #C9C1D6; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(201, 193, 214, .6); }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--violet-300); }
.cal__day.is-selected { background: var(--violet-600); color: #fff; }
.cal__day.is-empty { visibility: hidden; }
.cal__selected { margin-top: 10px; font-size: var(--fs-sm); color: var(--plum-700); font-weight: 700; display: flex; gap: 8px; align-items: center; }
.date-native { max-width: 420px; }

.thanks { text-align: center; max-width: 640px; margin-inline: auto; }
.thanks__icon { width: 84px; height: 84px; margin: 0 auto var(--s-5); border-radius: 50%; display: grid; place-items: center; background: var(--success-bg); color: var(--success); }
.thanks__icon .icon { width: 42px; height: 42px; }
.summary { text-align: start; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: var(--s-5) 0; background: #fff; }
.summary div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); font-size: var(--fs-sm); }
.summary dd { margin: 0; font-weight: 700; color: var(--plum-700); }

/* ---------- Service page ---------- */
.svc-layout { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .svc-layout { grid-template-columns: 1fr 320px; align-items: start; } }
.svc-toc { display: none; }
@media (min-width: 1000px) { .svc-toc { display: block; position: sticky; top: calc(var(--header-h) + 16px); } }
.svc-toc nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.svc-toc ol { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; gap: 2px; }
.svc-toc li { margin: 0; }
.svc-toc a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: var(--fs-sm); }
.svc-toc a:hover { background: var(--lavender-100); }
.svc-block { padding-block: var(--s-6); border-bottom: 1px solid var(--line); }
.svc-block:first-child { padding-top: 0; }
.svc-block:last-child { border-bottom: 0; }
.svc-block h2 { font-size: var(--fs-xl); display: flex; align-items: center; gap: 12px; }
.svc-block h2 .tile-icon { width: 40px; height: 40px; border-radius: 12px; }
.svc-block h2 .tile-icon .icon { width: 20px; height: 20px; }
.bullets { list-style: none; padding: 0; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 12px; margin: 0; }
.bullets li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet-400); flex: none; margin-top: .7em; }
.bullets--warn li::before { background: var(--gold-500); }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: how; }
.how-steps li { margin: 0; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; counter-increment: how; }
.how-steps li::before { content: counter(how); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--lavender-100); color: var(--violet-600); font-weight: 800; }
.callout { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--lavender-100); }
.callout .icon { color: var(--violet-600); margin-top: 3px; }
.callout--gold { background: var(--gold-100); }
.callout--gold .icon { color: var(--gold-500); }
.svc-cta { position: sticky; bottom: 0; }

/* ---------- Smile Lab ---------- */
.lab-shell { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .lab-shell { grid-template-columns: 1fr 1fr; align-items: start; } .lab-shell__stage { position: sticky; top: calc(var(--header-h) + 16px); } }
.lab-stage { background: linear-gradient(170deg, #fff, var(--lavender-100)); border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(16px, 3vw, 28px); }
.lab-stage svg:not(.icon) { width: 100%; height: auto; }
.lab-panel { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.lab-q { margin: 0 0 var(--s-6); border: 0; padding: 0; min-width: 0; }
.lab-q > legend { padding: 0; }
.lab-q:last-of-type { margin-bottom: var(--s-5); }
.lab-q > .label { display: block; font-weight: 800; color: var(--plum-700); margin-bottom: 10px; }
.lab-progress { height: 6px; border-radius: 3px; background: var(--lavender-100); overflow: hidden; margin-bottom: var(--s-5); }
.lab-progress span { display: block; height: 100%; background: var(--grad-violet); border-radius: inherit; transition: width .3s var(--ease); }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s-5); padding: 14px 16px; border-radius: var(--r-sm); background: var(--gold-100); color: #5E4511; font-size: var(--fs-sm); line-height: 1.6; }
.disclaimer .icon { color: var(--gold-500); margin-top: 3px; }
.range { width: 100%; accent-color: var(--violet-600); height: 32px; }
.range-labels { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); }
.compare { position: relative; border-radius: var(--r-md); overflow: hidden; touch-action: pan-y; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
[dir="rtl"] .compare__after { clip-path: inset(0 var(--pos, 50%) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos, 50%); width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(57, 32, 94, .25); transform: translateX(-50%); pointer-events: none; }
[dir="rtl"] .compare__handle { transform: translateX(50%); }
.compare__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236540A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: var(--sh-2); }
.compare__labels { display: flex; justify-content: space-between; font-size: var(--fs-xs); font-weight: 700; color: var(--plum-700); margin-top: 8px; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.shade-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .shade-tiles { grid-template-columns: repeat(4, 1fr); } }
.shade-tiles .choice > span { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.shade-swatch { width: 54px; height: 40px; }
.shade-code { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }
.insights { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.insights li { margin: 0; display: flex; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--lavender-100); font-size: var(--fs-sm); }
.insights li .icon { color: var(--violet-600); margin-top: 3px; }
.insights li.is-warn { background: var(--gold-100); }
.insights li.is-warn .icon { color: var(--gold-500); }
.insights li.is-urgent { background: var(--danger-bg); color: #6E1712; }
.insights li.is-urgent .icon { color: var(--danger); }
.seg { display: inline-flex; padding: 4px; background: var(--lavender-100); border-radius: var(--r-pill); gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill); font-weight: 700; color: var(--plum-700); font-size: var(--fs-sm); }
.seg button[aria-pressed="true"] { background: #fff; box-shadow: var(--sh-1); color: var(--violet-600); }
.tool-grid { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }
.tool-card { display: flex; gap: 16px; align-items: flex-start; padding: var(--s-5); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.tool-card:hover { border-color: var(--violet-300); box-shadow: var(--sh-2); color: inherit; }
.tool-card h3 { font-family: var(--f-body); font-size: var(--fs-md); font-weight: 800; letter-spacing: 0; margin: 2px 0 6px; }
.tool-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.tool-card--feature { flex-direction: column; padding: 0; overflow: hidden; }
.tool-card--feature .lab-card__art { width: 100%; }
.tool-card--feature > div:last-child { padding: var(--s-5); }

.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 14px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th { background: var(--lavender-100); color: var(--plum-700); font-weight: 800; }
.cmp-table tbody th { color: var(--plum-700); font-weight: 700; width: 26%; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); }
.cmp-cards { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .cmp-cards { display: none; } }
@media (max-width: 899px) { .cmp-table-wrap { display: none; } }
.guide-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: var(--s-5); scrollbar-width: thin; }
.guide-tabs button { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--plum-700); }
.guide-tabs button[aria-selected="true"] { background: var(--plum-700); border-color: var(--plum-700); color: #fff; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding-inline-start: 34px; padding-bottom: var(--s-5); margin: 0; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 8px; top: 8px; bottom: -6px; width: 2px; background: var(--lilac-200); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; inset-inline-start: 2px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--violet-500); }
.timeline h3 { font-family: var(--f-body); font-size: var(--fs-md); font-weight: 800; letter-spacing: 0; margin-bottom: 6px; }
.planner { display: grid; gap: 6px; }
.planner__row { display: grid; grid-template-columns: minmax(110px, 1.3fr) repeat(7, minmax(34px, 1fr)); gap: 4px; align-items: center; }
.planner__row > span:first-child { font-size: var(--fs-sm); font-weight: 700; color: var(--plum-700); }
.planner__head span { font-size: var(--fs-xs); color: var(--muted); text-align: center; font-weight: 700; }
.planner__cell { aspect-ratio: 1; min-height: 34px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: transparent; padding: 0; }
.planner__cell[aria-pressed="true"] { background: var(--violet-600); border-color: var(--violet-600); color: #fff; }
.planner__cell .icon { width: 16px; height: 16px; }
.meter { height: 12px; border-radius: 6px; background: var(--lavender-100); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: var(--grad-violet); transition: width .4s var(--ease); }
.quiz-opt { display: block; width: 100%; text-align: start; min-height: 56px; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.quiz-opt:hover:not(:disabled) { border-color: var(--violet-300); }
.quiz-opt.is-right { border-color: var(--success); background: var(--success-bg); }
.quiz-opt.is-wrong { border-color: var(--danger); background: var(--danger-bg); }
.print-only { display: none; }

/* ---------- Account ---------- */
.auth-wrap { max-width: 480px; margin-inline: auto; }
.auth-card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(22px, 4vw, 36px); box-shadow: var(--sh-1); }
.auth-card h1 { font-size: var(--fs-2xl); text-align: center; }
.auth-card .lead { text-align: center; color: var(--muted); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: var(--fs-sm); margin: var(--s-5) 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gsi-wrap { display: flex; justify-content: center; min-height: 44px; }
.account-grid { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .account-grid { grid-template-columns: 260px 1fr; align-items: start; } }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; display: flex; gap: 4px; overflow-x: auto; }
@media (min-width: 1000px) { .account-nav { flex-direction: column; position: sticky; top: calc(var(--header-h) + 16px); } }
.account-nav a, .account-nav button { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; min-height: 46px; border: 0; background: none; font-size: var(--fs-sm); width: auto; text-align: start; }
@media (min-width: 1000px) { .account-nav a, .account-nav button { width: 100%; } }
.account-nav a:hover, .account-nav button:hover { background: var(--lavender-100); }
.account-nav .icon { color: var(--violet-600); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); margin-bottom: var(--s-5); scroll-margin-top: calc(var(--header-h) + 16px); }
.panel > h2 { font-size: var(--fs-xl); display: flex; align-items: center; gap: 10px; }
.panel > h2 .icon { color: var(--violet-600); }
.appt { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: grid; gap: 10px; }
.appt + .appt { margin-top: 12px; }
.appt__top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.appt__title { font-weight: 800; color: var(--plum-700); }
.appt__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: var(--fs-sm); }
.appt__meta span { display: inline-flex; gap: 6px; align-items: center; }
.appt details summary { cursor: pointer; color: var(--violet-600); font-weight: 700; font-size: var(--fs-sm); min-height: 40px; display: flex; align-items: center; }
.empty { text-align: center; padding: var(--s-6) var(--s-4); color: var(--muted); }
.empty .icon { width: 40px; height: 40px; margin: 0 auto var(--s-3); color: var(--violet-300); }
.kv { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 8px 16px; font-size: var(--fs-sm); }
.kv dt, .kv dd { overflow-wrap: anywhere; }
@media (max-width: 479px) { .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; } .kv dd { margin-bottom: 10px; } }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }

/* Search */
.search-form { display: flex; gap: 10px; max-width: 640px; }
.search-form .input { flex: 1; }
.search-results { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: 12px; }
.search-results li { margin: 0; }
.search-results a { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.search-results a:hover { border-color: var(--violet-300); }
.search-results strong { color: var(--plum-700); display: block; }
.search-results span { color: var(--muted); font-size: var(--fs-sm); }
mark { background: var(--gold-100); color: inherit; border-radius: 3px; padding: 0 2px; }

/* Doctor page */
.doctor-hero { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .doctor-hero { grid-template-columns: .85fr 1.15fr; } }
.doctor-hero .arch { aspect-ratio: 4 / 4.6; max-width: 440px; }
.values { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }

/* Utilities */
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: var(--s-4); } .mb-5 { margin-bottom: var(--s-5); } .mb-6 { margin-bottom: var(--s-6); }
.nowrap { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.w-full { width: 100%; }


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

@media print {
  .site-header, .site-footer, .mobile-bar, .drawer, .btn, .cta-band, .svc-toc, .guide-tabs { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  .print-only { display: block; }
  .section { padding-block: 16px; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Smile Lab illustrations ---------- */
.compare__before svg, .compare__after svg { display: block; width: 100%; height: auto; }
.compare__after { z-index: 1; }
.compare__handle { z-index: 2; }
.compare input[type="range"] { z-index: 3; }
.compare__labels span:nth-child(2) { color: var(--muted); font-weight: 400; }
.ortho-stage { border-radius: var(--r-md); overflow: hidden; background: #F3E7EF; }
.ortho-stage svg { display: block; width: 100%; height: auto; }
.guide-tabs button[aria-pressed="true"] { background: var(--plum-700); border-color: var(--plum-700); color: #fff; }
.wis-stage { border-radius: var(--r-md); overflow: hidden; }
.wis-stage svg { display: block; width: 100%; height: auto; }
.wis-tooth { transition: transform .8s var(--ease); transform: translate(420px, 150px) rotate(0deg); }
.pos-angled .wis-tooth { transform: translate(420px, 172px) rotate(-32deg); }
.pos-partial .wis-tooth { transform: translate(428px, 214px) rotate(-14deg); }
.pos-impacted .wis-tooth { transform: translate(438px, 268px) rotate(-78deg); }
.wis-flap, .wis-alert { transition: opacity .4s; }
.pos-partial .wis-flap { opacity: 1; }
.has-symptoms .wis-alert { opacity: 1; }
[data-results][hidden] { display: none; }

[data-wis-tabs] { flex-wrap: wrap; overflow: visible; }

/* Layout children may shrink below their content width (prevents horizontal scroll on small phones) */
.booking > *, .lab-shell > *, .grid > *, .member > *, .map > *, .hero__grid > *, .page-hero__grid > *,
.cta-band > *, .footer-grid > *, .services-feature > *, .svc-feature > *, .review-grid > *, .features > *,
.steps > *, .lab-cards > *, .svc-list > *, .form-row > *, .field, .card { min-width: 0; }
.hero__line1, .hero__line2, h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 559px) {
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding-inline: 18px; }
}
.cal__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal__day { min-height: 0; min-width: 0; padding: 0; }
@media (max-width: 400px) { .cal { padding: 10px; } .cal__grid { gap: 2px; } .cal__day { border-radius: 10px; font-size: .9rem; } }
@media (max-width: 520px) {
  .planner__row { grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 6px; }
  .planner__row > span:first-child { grid-column: 1 / -1; }
  .planner__head > span:first-child { display: none; }
  .planner__cell { min-height: 0; }
}
.wa-opening { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 var(--s-4); color: #1F8F55; font-weight: 700; }
.wa-opening .icon { animation: wa-pulse 1s ease-in-out infinite alternate; }
@keyframes wa-pulse { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wa-opening .icon { animation: none; } }
.summary div { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); align-items: center; }
.summary dd { min-width: 0; overflow-wrap: anywhere; }
.summary dd.ltr { direction: ltr; unicode-bidi: isolate; text-align: end; }
[dir="rtl"] .summary dd.ltr { text-align: right; }
.summary .badge { white-space: normal; max-width: 100%; }
@media (max-width: 419px) { .summary div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ===================== v2 layout ===================== */
@media (max-width: 959px) { .hero__media { max-width: 340px; } .hero__arch { aspect-ratio: 1 / 1; } .hero__ring { display: none; } }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: var(--fs-sm); }
.hero__facts li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.hero__facts .icon { color: var(--violet-500); }

.quickbar { background: #fff; border-bottom: 1px solid var(--line); padding-block: 18px 22px; position: relative; z-index: 2; }
.quickbar__title { font-family: var(--f-body); font-size: var(--fs-sm); font-weight: 700; color: var(--muted); letter-spacing: 0; margin: 0 0 12px; }
.quick-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .quick-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.quick { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--pearl-50); text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .15s, background-color .15s, transform .15s; }
.quick:hover { border-color: var(--violet-300); background: #fff; color: var(--ink); transform: translateY(-1px); }
.quick__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lavender-100); color: var(--violet-600); }
.quick__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.quick__text strong { font-size: var(--fs-sm); color: var(--plum-700); }
.quick__text small { font-size: var(--fs-xs); color: var(--muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.quick--primary .quick__icon { background: var(--grad-violet); color: #fff; }
.quick--wa .quick__icon { background: #1F8F55; color: #fff; }
.quick--gold { background: var(--gold-100); border-color: #F0E0B4; }
.quick--gold .quick__icon { background: var(--gold-500); color: #fff; }

.section-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: var(--s-5); }
.section-row .section-head { flex: 1 1 320px; }

.svc-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .svc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.svc-tile { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .15s, box-shadow .15s; }
.svc-tile:hover { border-color: var(--violet-300); box-shadow: var(--sh-1); color: var(--ink); }
.svc-tile .tile-icon { width: 40px; height: 40px; margin-bottom: 4px; }
.svc-tile strong { color: var(--plum-700); font-size: var(--fs-sm); line-height: 1.35; }
.svc-tile small { color: var(--muted); font-size: var(--fs-xs); line-height: 1.5; }
@media (max-width: 559px) { .svc-tile small { display: none; } .svc-tile { padding: 14px 12px; } }

.about-split { align-items: start; }
.doctor-chip { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; margin: var(--s-4) 0; }
.doctor-chip > div { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-sm); color: var(--muted); }
.doctor-chip strong { color: var(--plum-700); font-size: var(--fs-md); }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px 20px; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-list li { display: flex; gap: 10px; margin: 0; }
.why-list li > div { display: flex; flex-direction: column; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.why-list strong { color: var(--plum-700); }
.tile-icon--sm { width: 34px; height: 34px; border-radius: 10px; }
.tile-icon--sm .icon { width: 18px; height: 18px; }
.about-photos { position: relative; max-width: 440px; margin-inline: auto; width: 100%; padding-bottom: 40px; }
.about-photos .arch { aspect-ratio: 1 / 1.08; }
.about-photos__small { position: absolute; inset-inline-end: -8px; bottom: 0; width: 46%; border-radius: var(--r-md); overflow: hidden; border: 4px solid #fff; box-shadow: var(--sh-2); aspect-ratio: 4 / 3; }
.about-photos__small img { width: 100%; height: 100%; object-fit: cover; }

.lab-strip { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .lab-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lab-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.lab-tile { display: flex; flex-direction: column; gap: 6px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 10px 10px 14px; text-decoration: none; color: #EDE5FA; min-width: 0; transition: background-color .15s, border-color .15s; }
.lab-tile:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.lab-tile__art { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #120A1E; margin-bottom: 4px; }
.lab-tile__art svg { width: 100%; height: 100%; display: block; }
.lab-tile strong { color: #fff; font-size: var(--fs-sm); line-height: 1.35; }
.lab-tile small { color: #C9BCE3; font-size: var(--fs-xs); line-height: 1.5; }
@media (max-width: 559px) { .lab-tile small { display: none; } }
.game-banner { margin-top: var(--s-5); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, #E9D29A, #C39A45); color: #3A2A0B; text-decoration: none; }
.game-banner:hover { color: #3A2A0B; filter: brightness(1.04); }
.game-banner__pct { font-family: "Fraunces", Georgia, serif; font-size: 2.4rem; line-height: 1; font-weight: 600; color: #39205E; }
.game-banner__text { display: flex; flex-direction: column; flex: 1 1 220px; }
.game-banner__text small { color: #5E4511; }

.gallery--strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 36%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; columns: auto; }
@media (min-width: 900px) { .gallery--strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; } }
.gallery--strip .gallery__item { margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.gallery--strip .gallery__item img { width: 100%; height: 100%; object-fit: cover; }

.visit-grid { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 1000px) { .visit-grid { grid-template-columns: 1.1fr .9fr; } }
.steps--compact { gap: 12px; margin-bottom: 0; }
.steps--compact li { padding: 14px 16px; }
.steps--compact li::before { width: 30px; height: 30px; margin-bottom: 8px; font-size: .9rem; }
.steps--compact h3 { font-size: var(--fs-md); margin-bottom: 2px; }
.steps--compact p { font-size: var(--fs-sm); margin: 0; }
.map--stacked { grid-template-columns: 1fr !important; }

/* ==========================================================================
   v2 — Smile Lab simulators, report, game
   ========================================================================== */
.page-hero--compact { padding-block: clamp(16px, 2.4vw, 28px) clamp(20px, 3vw, 36px); }
.page-hero--compact h1 { font-size: var(--fs-2xl); margin-bottom: 8px; }
.page-hero--compact .lead { margin-bottom: 0; }
.lab-how { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-sm); color: var(--plum-700); font-weight: 600; }
.lab-how li { display: inline-flex; align-items: center; gap: 8px; }
.lab-how span { width: 24px; height: 24px; border-radius: 50%; background: var(--violet-600); color: #fff; display: grid; place-items: center; font-size: .75rem; flex: none; }
.count-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--gold-500); color: #fff; font-size: .72rem; font-weight: 800; display: inline-grid; place-items: center; margin-inline-start: 4px; }

/* Simulator cards (lab index) */
.sim-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.sim-card { display: flex; flex-direction: column; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.sim-card:hover { border-color: var(--violet-300); box-shadow: var(--sh-2); color: inherit; transform: translateY(-2px); }
.sim-card__art { display: block; aspect-ratio: 16 / 10; background: #120A1E; }
.sim-card__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sim-card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 16px; }
.sim-card__body strong { font-size: var(--fs-md); color: var(--plum-700); }
.sim-card__body small { color: var(--muted); font-size: var(--fs-xs); line-height: 1.55; }
.lab-tile__art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Simulator layout */
.sim-section { padding-block: clamp(20px, 3vw, 40px); }
.sim { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 960px) { .sim { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } .sim__stage { position: sticky; top: calc(var(--header-h) + 12px); } }
.sim__stage { min-width: 0; }
.sim__visual { position: relative; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 90% at 50% 20%, #3A2350 0%, #1A0F26 70%); aspect-ratio: 8 / 5; box-shadow: var(--sh-2); }
.sim__visual--opg, .sim__visual--section { background: #050507; }
.sim__visual--kids { background: radial-gradient(120% 90% at 50% 10%, #FFFFFF 0%, #F1E8FC 80%); }
.sim__visual svg:not(.icon) { width: 100%; height: 100%; display: block; }
.sim__visual > svg, .sim__visual .cmp { animation: simIn .35s var(--ease); }
@keyframes simIn { from { opacity: .4; } to { opacity: 1; } }
.sim__loading { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.5); }
.sim__inset { position: absolute; inset-inline-end: 10px; bottom: 10px; width: 34%; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255,255,255,.7); box-shadow: 0 8px 24px rgba(0,0,0,.4); background: #1A0F26; }
.sim__inset--sm { width: 28%; background: #050507; }
.sim__inset svg { display: block; width: 100%; height: auto !important; }
.sim__under { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 12px 4px 0; }
.sim__caption { margin: 0; font-size: var(--fs-sm); color: var(--plum-800); font-weight: 600; flex: 1 1 260px; }
.sim__legend { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: var(--fs-xs); color: var(--muted); }
.sim__disclaimer { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); margin: 10px 4px 0; line-height: 1.5; }
.sim__disclaimer .icon { flex: none; margin-top: 2px; color: var(--gold-500); }

.sim__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2.4vw, 24px); min-width: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.sim__controls { display: flex; flex-direction: column; gap: 14px; }
.ctl { border: 0; margin: 0; padding: 0; min-width: 0; }
.ctl > legend, .ctl__head label { font-weight: 700; color: var(--plum-700); font-size: var(--fs-sm); padding: 0; margin-bottom: 8px; }
.ctl > legend small { font-weight: 500; color: var(--muted-2); }
.ctl__head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ctl__head output { font-size: var(--fs-xs); font-weight: 700; color: var(--violet-600); background: var(--lavender-100); padding: 2px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.ctl__row { display: flex; align-items: center; gap: 12px; }
.ctl__play { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--grad-violet); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(101,64,166,.7); }
.ctl__play .icon { width: 18px; height: 18px; }
.ctl__play.is-playing { background: var(--gold-500); }
.ctl input[type=range] { flex: 1; min-width: 0; width: 100%; accent-color: var(--violet-600); height: 28px; }
.ctl__stops { display: flex; justify-content: space-between; gap: 4px; font-size: .7rem; color: var(--muted); margin-top: 2px; padding-inline-start: 52px; }
.ctl__stops span { flex: 1; text-align: center; min-width: 0; overflow-wrap: anywhere; }
.ctl__stops span:first-child { text-align: start; } .ctl__stops span:last-child { text-align: end; }
.ctl--range:not(:has(.ctl__play)) .ctl__stops { padding-inline-start: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 13px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--pearl-50); color: var(--plum-800); font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; transition: background-color .12s, border-color .12s, color .12s; cursor: pointer; }
.pill:hover span { border-color: var(--violet-300); }
.pill input:checked + span { background: var(--violet-600); border-color: var(--violet-600); color: #fff; }
.pill input:focus-visible + span { box-shadow: var(--ring); }
.ctl--alarm { background: var(--danger-bg); border-radius: var(--r-sm); padding: 10px 12px; }
.ctl--alarm > legend { float: inline-start; width: 100%; color: #8A1D17; }
.ctl--alarm .pill input:checked + span { background: var(--danger); border-color: var(--danger); }
.ctl--toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: var(--plum-700); font-size: var(--fs-sm); position: relative; }
.ctl--toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { flex: none; width: 44px; height: 26px; border-radius: 13px; background: var(--line); position: relative; transition: background-color .15s; }
.switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s var(--ease); }
.ctl--toggle input:checked + .switch { background: var(--violet-600); }
.ctl--toggle input:checked + .switch::after { transform: translateX(18px); }
[dir=rtl] .ctl--toggle input:checked + .switch::after { transform: translateX(-18px); }
.ctl--toggle input:focus-visible + .switch { box-shadow: var(--ring); }

.sim__alarm { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--danger); color: #fff; font-weight: 700; font-size: var(--fs-sm); }
.sim__alarm p { margin: 0; }
.sim__insights h2 { display: flex; gap: 8px; align-items: center; font-family: var(--f-body); font-size: var(--fs-md); font-weight: 800; letter-spacing: 0; color: var(--plum-700); margin: 4px 0 10px; }
.sim__insights h2 .icon { color: var(--gold-500); }
.insights { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.insight { position: relative; padding: 10px 12px 10px 14px; padding-inline-start: 16px; border-radius: var(--r-sm); background: var(--info-bg); font-size: var(--fs-sm); line-height: 1.55; color: var(--plum-800); border-inline-start: 4px solid var(--violet-400); }
.insight--warn { background: var(--warning-bg); border-color: #D9A030; color: #5A3B00; }
.insight--good { background: var(--success-bg); border-color: var(--success); color: #13553A; }
.sim__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sim__actions .btn { flex: 1 1 200px; }
.sim__saved { display: flex; align-items: center; gap: 6px; margin: -6px 0 0; font-size: var(--fs-xs); color: var(--success); }

/* before/after compare */
.cmp { position: absolute; inset: 0; --pos: 50%; touch-action: pan-y; user-select: none; }
.cmp__layer { position: absolute; inset: 0; }
.cmp__layer svg { width: 100%; height: 100%; display: block; }
.cmp__after { clip-path: inset(0 0 0 var(--pos)); }
[dir=rtl] .cmp__after { clip-path: inset(0 var(--pos) 0 0); }
.cmp__tag { position: absolute; top: 10px; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(20, 10, 32, .65); color: #fff; font-size: .72rem; font-weight: 700; backdrop-filter: blur(4px); pointer-events: none; }
.cmp__tag--a { inset-inline-start: 10px; } .cmp__tag--b { inset-inline-end: 10px; background: rgba(195, 154, 69, .9); color: #2A1D05; }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; cursor: ew-resize; display: grid; place-items: center; outline: none; }
[dir=rtl] .cmp__handle { left: auto; right: var(--pos); margin-left: 0; margin-right: -22px; }
.cmp__handle::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.5); }
.cmp__handle span { position: relative; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.cmp__handle span::before, .cmp__handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.cmp__handle span::before { left: 3px; border-right-color: var(--violet-600); }
.cmp__handle span::after { right: 3px; border-left-color: var(--violet-600); }
.cmp__handle:focus-visible span { box-shadow: 0 0 0 4px rgba(233, 210, 154, .9); }

/* legend helpers */
.shade-guide { display: inline-flex; gap: 3px; }
.shade-guide__tab { width: 22px; height: 30px; border-radius: 4px 4px 9px 9px; border: 1px solid rgba(0,0,0,.08); position: relative; opacity: .55; }
.shade-guide__tab.is-on { opacity: 1; outline: 2px solid var(--violet-600); outline-offset: 2px; }
.shade-guide__tab em { position: absolute; inset: auto 0 -16px; font-style: normal; font-size: .6rem; text-align: center; color: var(--muted); }
.tl { display: inline-block; width: 120px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tl__bar { display: block; height: 100%; background: var(--grad-violet); }
.steps-dots { display: inline-flex; gap: 5px; }
.steps-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.steps-dots span.is-on { background: var(--violet-600); }
.lvl { display: inline-flex; border-radius: var(--r-pill); overflow: hidden; border: 1px solid var(--line); }
.lvl__seg { padding: 3px 10px; font-size: .7rem; font-weight: 700; color: var(--muted); background: #fff; }
.lvl__seg.is-on.lvl__seg--0 { background: var(--success); color: #fff; }
.lvl__seg.is-on.lvl__seg--1 { background: #D9A030; color: #fff; }
.lvl__seg.is-on.lvl__seg--2 { background: var(--danger); color: #fff; }
.leg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: -6px; vertical-align: middle; }
.leg--ring { border: 2px dashed #E9D29A; border-radius: 50%; background: rgba(233,210,154,.15); }
.leg--prim { background: #F4F0FA; border: 1.5px solid #7B55C2; }
.leg--perm { background: #F6E9C8; border: 1.5px solid #B58A35; }
.leg--loose { background: #F7CFD6; border: 1.5px solid #C9566C; }

/* more info under sim */
.sim-more { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .sim-more { grid-template-columns: 1.3fr 1fr; } }
.sim-more h2 { font-size: var(--fs-xl); }
.sim-more h3 { font-family: var(--f-body); font-size: var(--fs-md); font-weight: 800; letter-spacing: 0; margin: 0 0 10px; }
.link-list { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: flex; flex-direction: column; gap: 2px; }
.link-list a { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: var(--r-xs); text-decoration: none; color: var(--plum-700); font-weight: 600; font-size: var(--fs-sm); }
.link-list a:hover { background: var(--lavender-100); }
.link-list .icon { flex: none; margin-top: 3px; color: var(--violet-500); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--light { background: #fff; border-color: var(--line); }
.chip .icon { width: 16px; height: 16px; color: var(--violet-500); }

/* Report */
.h-sm { display: flex; gap: 8px; align-items: center; font-family: var(--f-body); font-size: var(--fs-md); font-weight: 800; letter-spacing: 0; color: var(--plum-700); margin: 0 0 12px; }
.h-sm .icon { color: var(--violet-500); }
.report { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 960px) { .report { grid-template-columns: minmax(0, 1fr) 340px; } .report__side { position: sticky; top: calc(var(--header-h) + 12px); } }
.report__main { display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; }
.report__side { display: flex; flex-direction: column; gap: var(--s-4); min-width: 0; }
.report__cta { display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--gold-300); }
.report__cta .btn--ghost { align-self: center; }
.btn--block { width: 100%; }
.risks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.risk { padding: 12px 14px; border-radius: var(--r-sm); background: var(--pearl-50); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.risk span { font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.risk strong { font-size: var(--fs-lg); }
.risk i { display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.risk i b { display: block; height: 100%; border-radius: inherit; }
.risk--low strong { color: var(--success); } .risk--low i b { width: 25%; background: var(--success); }
.risk--medium strong { color: #9A6500; } .risk--medium i b { width: 60%; background: #D9A030; }
.risk--high strong { color: var(--danger); } .risk--high i b { width: 92%; background: var(--danger); }
.risk--unknown strong { color: var(--muted-2); }
.findings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.finding { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--info-bg); border-inline-start: 4px solid var(--violet-400); font-size: var(--fs-sm); }
.finding strong { color: var(--plum-800); }
.finding span { color: var(--plum-800); opacity: .9; }
.finding--urgent { background: var(--danger-bg); border-color: var(--danger); }
.finding--attention { background: var(--warning-bg); border-color: #D9A030; }
.finding--goal { background: var(--gold-100); border-color: var(--gold-500); }
.r-answers { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .r-answers { grid-template-columns: 1fr 1fr; } }
.r-group h3 { font-family: var(--f-body); font-size: var(--fs-sm); font-weight: 800; letter-spacing: 0; color: var(--violet-600); margin: 0 0 6px; }
.r-group dl { margin: 0; }
.r-group dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.r-group dt { color: var(--muted); }
.r-group dd { margin: 0; font-weight: 700; color: var(--plum-800); text-align: end; }

/* booking intake + prize */
.intake-card { border: 1px solid var(--gold-300); background: var(--gold-100); border-radius: var(--r-md); padding: 14px 16px; }
.intake-card__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-xs); }
.intake-card__list li { background: #fff; border-radius: var(--r-pill); padding: 3px 10px; color: #5E4511; }
.card--gold { border: 2px solid var(--gold-300); background: linear-gradient(160deg, #fff, var(--gold-100)); }
.prize-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.prize-card__pct { font-family: "Fraunces", Georgia, serif; font-size: 2.4rem; line-height: 1; color: var(--plum-700); }
.prize-card__code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; letter-spacing: .08em; background: #fff; border: 1px dashed var(--gold-500); border-radius: var(--r-xs); padding: 4px 10px; color: var(--plum-800); }

/* ---------- Smile Challenge game ---------- */
.btn--gold { --btn-bg: linear-gradient(135deg, #F1DDA6, #C39A45); --btn-fg: #2E2006; background: linear-gradient(135deg, #F1DDA6, #C39A45); color: #2E2006; border: 0; box-shadow: 0 10px 24px -10px rgba(195,154,69,.9); }
.btn--gold:hover { color: #2E2006; filter: brightness(1.05); }
.game-hero { background: var(--grad-plum); color: #EDE5FA; padding-block: clamp(16px, 3vw, 32px) clamp(28px, 5vw, 56px); }
.game-hero .breadcrumbs, .game-hero .breadcrumbs a { color: #CFC2E8; }
.game { position: relative; max-width: 720px; margin: 8px auto 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: clamp(18px, 4vw, 36px); min-height: 440px; overflow: hidden; }
.game__screen { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.game__screen[hidden] { display: none; }
.game h1 { color: #fff; font-size: var(--fs-3xl); margin: 0; }
.game h2 { color: #fff; }
.game__prize { width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF4D2, #E9D29A 40%, #C39A45 100%); color: #3A2A0B; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(233,210,154,.15), 0 20px 40px -16px rgba(0,0,0,.6); animation: prizeFloat 3.2s ease-in-out infinite; }
.game__prize span { font-family: "Fraunces", Georgia, serif; font-size: 2.3rem; line-height: 1; font-weight: 600; }
.game__prize small { font-size: .7rem; font-weight: 800; }
@keyframes prizeFloat { 50% { transform: translateY(-6px) rotate(-3deg); } }
.game__lead { color: #DCD0F0; max-width: 52ch; margin: 0; }
.game__rounds { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 8px; width: 100%; max-width: 520px; text-align: start; }
.game__rounds li { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: center; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(255,255,255,.06); }
.game__rounds span { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--gold-300); color: #3A2A0B; display: grid; place-items: center; font-weight: 800; }
.game__rounds strong { color: #fff; font-size: var(--fs-sm); }
.game__rounds small { color: #C9BCE3; font-size: var(--fs-xs); }
.game__note { margin: 0; font-size: var(--fs-sm); color: var(--gold-300); display: flex; gap: 6px; align-items: center; justify-content: center; }
.game__terms { margin: 0; font-size: var(--fs-xs); color: #AFA2C8; max-width: 56ch; }
.game__splash { justify-content: center; min-height: 380px; }
.game__splash span { color: var(--gold-300); font-weight: 800; font-size: var(--fs-sm); }
.game__splash strong { color: #fff; font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); line-height: 1.1; animation: splashIn .6s var(--ease); }
.game__splash small { color: #CFC2E8; font-size: var(--fs-md); }
@keyframes splashIn { from { opacity: 0; transform: scale(.85); } }
.game__bar { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; }
.game__dots { display: flex; gap: 5px; flex-wrap: wrap; }
.game__dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.18); }
.game__dots span.cur { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.game__dots span.ok { background: #5FD39A; } .game__dots span.no { background: #F07A7A; }
.game__score { display: flex; align-items: center; gap: 8px; }
.game__score strong { font-size: var(--fs-xl); color: var(--gold-300); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: end; }
.game__score span { font-size: .75rem; font-weight: 800; background: var(--gold-500); color: #2E2006; padding: 2px 8px; border-radius: var(--r-pill); }
.game__score.is-bump strong { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); color: #fff; } }
.game__timer { position: relative; width: 56px; height: 56px; }
.game__timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.game__timer circle { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 4; }
.game__timer .game__timer-fg { stroke: var(--gold-300); stroke-linecap: round; transition: stroke-dashoffset .1s linear, stroke .2s; }
.game__timer span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.game.is-hurry .game__timer-fg { stroke: #F07A7A; }
.game.is-hurry .game__timer { animation: hurry .5s ease-in-out infinite; }
@keyframes hurry { 50% { transform: scale(1.08); } }
.game__kicker { margin: 0; color: var(--gold-300); font-weight: 800; font-size: var(--fs-sm); }
.game__q { margin: 0; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; font-size: clamp(1.15rem, 1rem + .9vw, 1.6rem); line-height: 1.45; max-width: 34ch; min-height: 3em; }
.game__opts { display: grid; gap: 10px; width: 100%; max-width: 520px; }
.game__opts--mf { grid-template-columns: 1fr 1fr; }
.opt { min-height: 56px; padding: 12px 16px; border-radius: var(--r-md); border: 2px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; font: inherit; font-weight: 700; font-size: var(--fs-md); cursor: pointer; transition: transform .12s, background-color .15s, border-color .15s; text-align: center; }
.game__opts--pick .opt { text-align: start; font-size: var(--fs-sm); }
.game__opts--mf .opt { min-height: 72px; font-size: var(--fs-lg); }
.opt:hover:not(:disabled) { background: rgba(255,255,255,.14); border-color: var(--gold-300); transform: translateY(-2px); }
.opt:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 2px; }
.opt:disabled { cursor: default; opacity: .6; }
.opt.is-right { opacity: 1; background: #1E7A52; border-color: #5FD39A; animation: pop .35s var(--ease); }
.opt.is-wrong { opacity: 1; background: #8A1D17; border-color: #F07A7A; animation: shake .35s; }
@keyframes pop { 50% { transform: scale(1.05); } }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.game__fb { width: 100%; max-width: 520px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,255,255,.08); text-align: start; display: flex; flex-direction: column; gap: 6px; animation: splashIn .3s var(--ease); }
.game__fb[hidden] { display: none; }
.game__fb.is-ok strong { color: #5FD39A; } .game__fb.is-no strong { color: #F7A3A3; }
.game__fb p { margin: 0; color: #E6DCF5; font-size: var(--fs-sm); }
.game__fb .btn { align-self: flex-end; }
.plaque { position: relative; width: 100%; aspect-ratio: 800 / 440; border-radius: var(--r-md); overflow: hidden; background: #1A0F26; touch-action: manipulation; }
.plaque__smile svg { width: 100%; height: 100%; display: block; }
.plaque__layer { position: absolute; inset: 0; }
.plaque__time { position: absolute; inset: auto 0 0; height: 6px; background: rgba(255,255,255,.15); }
.plaque__time i { display: block; height: 100%; background: var(--gold-300); transform-origin: left; }
[dir=rtl] .plaque__time i { transform-origin: right; }
.germ { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 0; padding: 0; background: none; cursor: crosshair; animation: germIn .3s var(--ease); }
.germ span { position: absolute; inset: 6px; border-radius: 46% 54% 40% 60%; background: radial-gradient(circle at 35% 35%, #FFF6B0, #E3C23E 55%, #A88412); box-shadow: 0 0 0 3px rgba(227,194,62,.35); animation: wobble 1.2s ease-in-out infinite; }
.germ span::before, .germ span::after { content: ""; position: absolute; top: 34%; width: 5px; height: 5px; border-radius: 50%; background: #3A2A0B; }
.germ span::before { left: 30%; } .germ span::after { right: 30%; }
.germ.is-pop span { animation: popOut .26s forwards; }
@keyframes germIn { from { transform: scale(0); } }
@keyframes wobble { 50% { border-radius: 58% 42% 55% 45%; transform: rotate(8deg); } }
@keyframes popOut { to { transform: scale(1.8); opacity: 0; filter: brightness(2); } }
.game__result { padding-top: 8px; }
.game__medal { width: 132px; height: 132px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: splashIn .6s var(--ease); }
.game__medal span { font-family: "Fraunces", Georgia, serif; font-size: 2.4rem; line-height: 1; font-weight: 600; }
.game__medal small { font-size: .72rem; font-weight: 800; margin-top: 4px; }
.game__medal.is-gold { background: radial-gradient(circle at 35% 30%, #FFF4D2, #E9D29A 40%, #C39A45 100%); color: #3A2A0B; box-shadow: 0 0 0 10px rgba(233,210,154,.18), 0 0 60px rgba(233,210,154,.45); }
.game__medal.is-try { background: rgba(255,255,255,.1); color: #fff; border: 3px solid rgba(255,255,255,.3); }
.game__code { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 22px; border-radius: var(--r-md); border: 2px dashed var(--gold-300); background: rgba(233,210,154,.08); }
.game__code[hidden] { display: none; }
.game__code small { color: #CFC2E8; }
.game__code strong { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.6rem; letter-spacing: .1em; color: var(--gold-300); }
.game__code span { font-size: var(--fs-xs); color: #CFC2E8; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall 2.4s linear forwards; }
@keyframes fall { to { top: 105%; transform: translateX(40px) rotate(720deg); } }
@media (max-width: 479px) { .game__opts--mf { grid-template-columns: 1fr 1fr; } .opt { font-size: var(--fs-sm); } .game { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .game__prize, .germ span, .game.is-hurry .game__timer { animation: none; } }
.sim__visual--front-compare, .sim__visual--front-timeline, .sim__visual--front-section { aspect-ratio: 800 / 440; background: #2A1730; }
.sim__visual--opg, .sim__visual--opg-front { aspect-ratio: 1000 / 480; }
.sim__visual--section { aspect-ratio: 4 / 3; background: #FBF7F2; }
.sim__visual--kids { aspect-ratio: 520 / 580; background: #FCF8FF; }
@media (min-width: 960px) { .sim__visual--section, .sim__visual--kids { max-height: calc(100vh - var(--header-h) - 140px); width: 100%; aspect-ratio: auto; height: min(560px, calc(100vh - var(--header-h) - 140px)); } }
.pill { max-width: 100%; min-width: 0; }
.pill span { max-width: 100%; overflow-wrap: anywhere; }
.art-next { display: grid; gap: 12px; }
@media (min-width: 640px) { .art-next { grid-template-columns: 1fr 1fr; } }
.art-next a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.art-next a:hover { border-color: var(--violet-300); box-shadow: var(--sh-2); color: inherit; }
.art-next small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.art-next strong { color: var(--plum-700); font-size: var(--fs-sm); }
.art-next__art { flex: none; width: 96px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #120A1E; }
.art-next__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose a { color: var(--violet-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.container--text .cta-band { grid-template-columns: 1fr; }
.section--plum .steps li h3 { color: var(--plum-700); }
.split > * { min-width: 0; }
.sim__visual svg, .sim-card__art, .plaque svg, .lab-tile__art { direction: ltr; }
.shade-guide { margin-bottom: 16px; }
