/* Chaturvedi Dental - public site
   Palette: ivory + deep ink navy + champagne gold. Type: Instrument Serif (display) + Geist (text). */

:root {
  --ivory: #F7F4EE;
  --paper: #FCFAF6;
  --sand: #EEE7DB;
  --sand-2: #E3D9C9;
  --line: rgba(15, 33, 48, .10);
  --line-2: rgba(15, 33, 48, .16);

  --ink: #0F2130;
  --ink-2: #163044;
  --ink-3: #26465E;
  --deep: #0A1620;

  --text: #18242F;
  --muted: #56636F;
  --muted-2: #85919C;
  --on-dark: #F4EFE6;
  --on-dark-mute: #A9B5BF;

  --gold: #B08D57;
  --gold-2: #CDAE77;
  --gold-ink: #85652F;
  --gold-soft: #EBDFC8;

  --ok: #2F6B57;
  --bad: #A1453A;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow: 0 1px 2px rgba(15, 33, 48, .04), 0 14px 34px -14px rgba(15, 33, 48, .16);
  --shadow-lg: 0 40px 80px -30px rgba(10, 22, 32, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --serif: 'Instrument Serif', 'Tiro Devanagari Hindi', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Geist', 'Hind', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--ivory); color: var(--text);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; flex: none; }
/* long eyebrows (hero) wrap neatly on phones: roomier lines, dash stays on the first line */
@media (max-width: 560px) {
  .eyebrow { align-items: flex-start; line-height: 1.55; letter-spacing: .12em; }
  .eyebrow::before { margin-top: .75em; width: 20px; }
}
.on-dark .eyebrow { color: var(--gold-2); }
.display {
  font: 400 clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem)/1.02 var(--serif);
  letter-spacing: -.015em; margin: 18px 0 0; color: var(--ink);
}
.display em, .h2 em { font-style: italic; color: var(--gold-ink); }
.on-dark .display, .on-dark .h2 { color: var(--on-dark); }
.on-dark .h2 em { color: var(--gold-2); }
.h2 { font: 400 clamp(2rem, 1.4rem + 2.4vw, 3.3rem)/1.06 var(--serif); letter-spacing: -.01em; margin: 14px 0 0; color: var(--ink); }
.h3 { font: 500 1.2rem/1.3 var(--sans); letter-spacing: -.01em; margin: 0; color: var(--ink); }
.lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.16rem); color: var(--muted); max-width: 56ch; margin: 22px 0 0; }
.on-dark .lead { color: var(--on-dark-mute); }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) {
  .section__head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; }
  .section__head--split .lead { margin: 0; justify-self: end; }
}

/* ---------- buttons */
.btn {
  --bg: var(--ink); --fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 500 15px/1 var(--sans); letter-spacing: -.005em;
  transition: transform .45s var(--ease), background-color .3s, box-shadow .45s var(--ease), border-color .3s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(15, 33, 48, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .45s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { --bg: var(--ink); }
.btn--primary:hover { --bg: var(--ink-2); }
.btn--gold { --bg: var(--gold); --fg: #fff; }
.btn--gold:hover { --bg: #A07E4B; box-shadow: 0 14px 28px -14px rgba(138, 106, 54, .7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .7); box-shadow: none; }
.on-dark .btn--ghost { --fg: var(--on-dark); border-color: rgba(244, 239, 230, .25); }
.on-dark .btn--ghost:hover { --bg: rgba(244, 239, 230, .08); }
.btn--wa { --bg: #1F7A55; --fg: #fff; }
.btn--wa:hover { --bg: #196948; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.is-loading { pointer-events: none; color: transparent; position: relative; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- announcement + nav */
.announce {
  background: var(--ink); color: var(--on-dark); font-size: 14px; text-align: center;
  padding: 10px var(--gut); position: relative; z-index: 31;
}
.announce strong { color: var(--gold-2); font-weight: 500; margin-right: 6px; }
.nav {
  position: sticky; top: 0; z-index: 30; height: var(--nav-h);
  transition: background-color .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(247, 244, 238, .82); border-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: grid; line-height: 1.1; min-width: 0; }
.brand__name { font: 400 1.32rem/1 var(--serif); color: var(--ink); letter-spacing: -.005em; }
.brand__sub { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__links { display: none; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); white-space: nowrap; }
.nav__links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: none; align-items: center; gap: 12px; }
.nav__menu {
  margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; display: grid; place-items: center;
}
.nav__menu span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .35s var(--ease); }
.nav__menu span::before, .nav__menu span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.nav__menu span::before { top: -6px; }
.nav__menu span::after { top: 6px; }
.nav__menu[aria-expanded="true"] span { background: transparent; }
.nav__menu[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 29; background: var(--ivory);
  border-bottom: 1px solid var(--line); padding: 8px var(--gut) 24px;
  display: grid; gap: 4px; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease); box-shadow: var(--shadow);
}
.drawer.is-open { opacity: 1; transform: none; pointer-events: auto; }
.drawer a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 1.5rem/1.2 var(--serif); color: var(--ink); }
.drawer .btn { margin-top: 16px; }
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.open-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }
.open-pill.is-open::before { background: #3C9A73; box-shadow: 0 0 0 0 rgba(60, 154, 115, .5); animation: breathe 2.4s var(--ease) infinite; }
@keyframes breathe { 0% { box-shadow: 0 0 0 0 rgba(60, 154, 115, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(60, 154, 115, 0); } }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 1100px) {
  .brand { flex: none; }
  .nav__links, .nav__actions { display: flex; }
  .nav__menu, .drawer { display: none; }
  .nav__links { margin-left: auto; }
}
/* the header has no room for the live status next to the phone number; the hero and Visit section show it */
.nav__actions .open-pill { display: none; }
@media (min-width: 1100px) and (max-width: 1239px) { .nav__phone { display: none; } }

/* ---------- hero */
.hero { position: relative; padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); overflow: clip; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(205, 174, 119, .20), rgba(205, 174, 119, 0)); pointer-events: none;
}
.hero__grid { display: grid; gap: 48px; align-items: center; position: relative; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }
.hero__copy { max-width: 640px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.quick { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 560px; }
.quick__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.quick__label b { font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.quick__slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; min-height: 46px; }
.quick__slot {
  display: inline-grid; gap: 2px; padding: 9px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .6); text-align: left; line-height: 1.15;
  transition: border-color .25s, background-color .25s, transform .45s var(--ease);
}
.quick__slot small { font-size: 11.5px; color: var(--muted); }
.quick__slot span { font-weight: 500; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.quick__slot:hover { border-color: var(--gold); background: #fff; transform: translateY(-2px); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--gold); }

.hero__visual { position: relative; justify-self: center; width: min(100%, 500px); }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg);
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(15, 33, 48, .10), transparent 60%),
    linear-gradient(170deg, #F1EADF 0%, #E6DAC6 55%, #D9C8AC 100%);
  overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.arch::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.arch img { position: absolute; left: 50%; bottom: 0; height: 96%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 20px 30px rgba(15, 33, 48, .22)); }
.arch-outline {
  position: absolute; inset: -14px -14px 14px 14px; border: 1px solid var(--gold); opacity: .55;
  border-radius: 999px 999px var(--r-lg) var(--r-lg); pointer-events: none; z-index: -1;
}
.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px;
  background: rgba(252, 250, 246, .78); border: 1px solid rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 18px 40px -18px rgba(15, 33, 48, .35);
  font-size: 13px; line-height: 1.25; color: var(--muted);
  animation: float 7s ease-in-out infinite;
}
.float b { display: block; font-weight: 500; color: var(--ink); font-size: 14.5px; }
.float--a { top: 42%; left: -9%; }   /* beside the arm, never over the face */
.float--b { bottom: 8%; right: -5%; animation-delay: -3.5s; }
.float__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); flex: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 560px) {
  .hero__visual { width: min(92%, 420px); }
  .float--a { display: none; }
  .float--b { right: -2%; bottom: 5%; }
  .float { padding: 10px 12px; }
}

/* ---------- stats band */
.stats { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 85% 0%, rgba(205, 174, 119, .16), transparent 60%);
}
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); position: relative; }
.stat { padding: clamp(28px, 4vw, 48px) 0; padding-right: 16px; border-top: 1px solid rgba(244, 239, 230, .1); }
.stat:nth-child(-n+2) { border-top: 0; }
.stat__num { font: 400 clamp(2.6rem, 1.8rem + 3vw, 4.2rem)/1 var(--serif); color: var(--on-dark); font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .45em; color: var(--gold-2); vertical-align: top; margin-left: 2px; position: relative; top: .3em; }
.stat__label { margin-top: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-mute); }
@media (min-width: 860px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-top: 0; padding-left: 32px; border-left: 1px solid rgba(244, 239, 230, .1); }
  .stat:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- free consultation */
.consult__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .consult__grid { grid-template-columns: 1.15fr .85fr; gap: 24px; } }
.mode {
  position: relative; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); overflow: hidden;
  display: grid; gap: 18px; align-content: start; min-height: 320px;
}
.mode--clinic { background: var(--paper); border: 1px solid var(--line); }
.mode--clinic .mode__img {
  position: absolute; right: 0; bottom: 0; width: 46%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.mode--clinic .mode__body { max-width: 56%; display: grid; gap: 14px; position: relative; }
.mode--phone { background: var(--ink); color: var(--on-dark); }
.mode--phone .h3 { color: var(--on-dark); }
.mode--phone p { color: var(--on-dark-mute); }
.mode__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.mode--phone .mode__tag { color: var(--gold-2); }
.mode p { margin: 0; color: var(--muted); max-width: 46ch; }
.mode .btn { justify-self: start; margin-top: 8px; }
.mode__fee { font: 400 3.2rem/1 var(--serif); color: var(--gold-2); }
.mode__fee small { font: 400 14px var(--sans); color: var(--on-dark-mute); margin-left: 8px; }
@media (max-width: 640px) {
  .mode--clinic .mode__img { position: relative; width: calc(100% + 56px); height: 200px; margin: 0 -28px -28px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); mask-image: linear-gradient(180deg, transparent, #000 40%); }
  .mode--clinic .mode__body { max-width: none; }
}
.steps { display: grid; gap: 0; margin-top: clamp(40px, 5vw, 64px); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: 1fr 1fr 1fr; } }
.step { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 18px; }
@media (min-width: 860px) { .step { padding: 28px 28px 0 0; } }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font: 400 1.6rem/1 var(--serif); color: var(--gold-ink); padding-top: 2px;
}
.step p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- treatments bento */
.treat { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); }
  .t-implant { grid-column: span 7; grid-row: span 2; }
  .t-braces, .t-rct { grid-column: span 5; }
  .t-cosmetic { grid-column: span 5; }
  .t-maxfac { grid-column: span 7; }
  .t-digital { grid-column: span 12; }
}
.tcard {
  position: relative; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  background: var(--ivory); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; min-height: 230px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .3s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.tcard__no { font: 400 1.05rem/1 var(--serif); color: var(--gold-ink); }
.tcard__title { font: 400 clamp(1.6rem, 1.2rem + 1.2vw, 2.15rem)/1.08 var(--serif); color: var(--ink); margin: 0; letter-spacing: -.005em; }
.tcard p { margin: 0; color: var(--muted); max-width: 48ch; font-size: 15.5px; }
.tcard__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tcard__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--gold-ink); }
.tcard__icon .icon { width: 22px; height: 22px; }
.tcard--image { color: var(--on-dark); background: var(--deep); border: 0; justify-content: flex-end; min-height: 440px; }
.tcard--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.tcard--image:hover img { transform: scale(1.06); }
.tcard--image::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 22, 32, .05) 20%, rgba(10, 22, 32, .88) 85%); }
.tcard--image > *:not(img) { position: relative; z-index: 2; }
.tcard--image .tcard__no { margin-top: auto; }
.tcard--image .tcard__foot { margin-top: 0; }
.tcard--image .tcard__title { color: var(--on-dark); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.tcard--image p { color: #CBD3DA; }
.tcard--image .tcard__no { color: var(--gold-2); }
.tcard--image .link-arrow, .tcard--dark .link-arrow { color: var(--on-dark); }
.tcard--dark { background: var(--ink); border: 0; color: var(--on-dark); }
.tcard--dark .tcard__title { color: var(--on-dark); }
.tcard--dark p { color: var(--on-dark-mute); }
.tcard--dark .tcard__no { color: var(--gold-2); }
.tcard--dark .tcard__icon { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: var(--gold-2); }
.tcard--wide { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .tcard--wide { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink); }

/* ---------- doctor */
.doctor__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .doctor__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.doctor__media { position: relative; padding-bottom: 56px; max-width: 520px; }
.doctor__main { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.doctor__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.doctor__inset {
  position: absolute; right: -6%; bottom: 0; width: 46%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  border: 6px solid var(--ivory); box-shadow: var(--shadow);
}
.doctor__inset img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }
@media (max-width: 560px) { .doctor__inset { right: 0; } }
.doctor__name { font: 400 clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem)/1.02 var(--serif); color: var(--ink); margin: 16px 0 0; }
.creds { display: grid; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; }
.creds li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.creds li:last-child { border-bottom: 1px solid var(--line); }
.creds span { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding-top: 2px; }
.creds b { font-weight: 500; color: var(--ink); }
@media (max-width: 480px) { .creds li { grid-template-columns: 1fr; gap: 4px; } }
.pullquote { margin: 32px 0 0; padding-left: 22px; border-left: 2px solid var(--gold); font: italic 400 1.45rem/1.35 var(--serif); color: var(--ink); max-width: 34ch; }

/* ---------- gallery */
.gallery { background: var(--deep); color: var(--on-dark); overflow: hidden; }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78%, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gut) 8px;
  margin: 0 calc(var(--gut) * -1); overscroll-behavior-x: contain; scroll-padding-inline: var(--gut);
}
.gallery__track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .gallery__track { grid-auto-columns: 46%; } }
@media (min-width: 1100px) { .gallery__track { grid-auto-columns: 31%; } }
.shot { scroll-snap-align: start; margin: 0; }
.shot__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.shot--wide .shot__img { aspect-ratio: 4 / 5; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; color: var(--on-dark-mute); }
.shot figcaption b { font-weight: 500; color: var(--on-dark); }
.gallery__nav { display: flex; gap: 10px; }
.round {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(244, 239, 230, .22); background: transparent; color: var(--on-dark);
  transition: background-color .25s, transform .4s var(--ease);
}
.round:hover { background: rgba(244, 239, 230, .08); transform: scale(1.05); }
.round:active { transform: scale(.96); }

/* ---------- reviews */
.reviews__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .reviews__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.rate {
  border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow); display: grid; gap: 18px; text-align: center; justify-items: center;
}
.rate__q { font: 400 1.9rem/1.15 var(--serif); color: var(--ink); margin: 0; }
.stars { display: flex; gap: 6px; }
.star {
  width: 52px; height: 52px; border-radius: 12px; border: 0; display: grid; place-items: center;
  background: var(--sand); color: #fff; transition: background-color .2s, transform .35s var(--ease);
}
.star .icon { width: 26px; height: 26px; }
.star.is-on { background: #F4B400; }
.star:hover { transform: translateY(-2px); }
.rate small { color: var(--muted); font-size: 13px; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* Google reviews */
.glogo { width: 18px; height: 18px; flex: none; }
.glogo--lg { width: 34px; height: 34px; }
.gbadge {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 26px; padding: 12px 18px 12px 14px;
  border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--muted); font-size: 14px;
  transition: transform .45s var(--ease), border-color .25s;
}
.gbadge:hover { transform: translateY(-2px); border-color: var(--line-2); }
.gbadge .glogo { width: 26px; height: 26px; }
.gbadge > b { font: 400 2rem/1 var(--serif); color: var(--ink); }
.gstars { display: inline-flex; gap: 1px; }
.gstars .icon { width: 17px; height: 17px; color: var(--sand-2); }
.gstars .icon.is-on { color: #F4B400; }
.rwall { margin-top: clamp(40px, 5vw, 64px); columns: 1; column-gap: 16px; }
@media (min-width: 700px) { .rwall { columns: 2; } }
@media (min-width: 1100px) { .rwall { columns: 3; } }
.rcard {
  break-inside: avoid; margin: 0 0 16px; padding: 22px 22px 24px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line); display: grid; gap: 12px;
}
.rcard__top { display: flex; align-items: center; gap: 12px; }
.rcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 500 15px/1 var(--sans); flex: none; letter-spacing: .02em; }
.rcard__who { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.rcard__who b { font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard__who small { color: var(--muted-2); font-size: 12.5px; }
.rcard blockquote { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.6; }
.rcard--more { background: var(--ink); border-color: var(--ink); color: var(--on-dark); justify-items: start; padding: 26px; }
.rcard--more b { font: 400 1.7rem/1.15 var(--serif); color: var(--on-dark); }
.rcard--more .link-arrow { color: var(--gold-2); font-size: 14.5px; }
.rcard--more .glogo { width: 30px; height: 30px; background: #fff; border-radius: 50%; padding: 5px; box-sizing: content-box; }
.review-actions .btn--ghost .glogo { width: 18px; height: 18px; }
.grid2--age { align-items: start; }

/* ---------- faq */
.faq__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font: 500 1.08rem/1.4 var(--sans); color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .45s var(--ease), background-color .25s; }
.qa[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.qa__a { padding: 0 52px 24px 0; color: var(--muted); }
.qa__a p { margin: 0 0 10px; }

/* ---------- visit */
.visit { background: var(--paper); border-top: 1px solid var(--line); }
.visit__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .visit__grid { grid-template-columns: .95fr 1.05fr; gap: 64px; } }
.info { display: grid; gap: 0; margin-top: 32px; }
.info__row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.info__row:last-child { border-bottom: 1px solid var(--line); }
.info__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-ink); }
.info__row h3 { margin: 0 0 4px; font: 500 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info__row p { margin: 0; color: var(--ink); }
.info__row a:not(.btn) { border-bottom: 1px solid var(--gold-soft); transition: border-color .25s; }
.info__row a:not(.btn):hover { border-color: var(--gold); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.hours td { padding: 5px 0; vertical-align: top; }
.hours td:first-child { color: var(--muted); width: 120px; }
.hours tr.is-today td { color: var(--ink); font-weight: 500; }
.today-mark { color: var(--gold-ink); font-weight: 400; font-size: 13px; }
.map {
  position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 420px; height: 100%;
  background: var(--sand) center / cover no-repeat; box-shadow: var(--shadow);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }
.map__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__cta { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-radius: 18px; background: rgba(252, 250, 246, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.map__cta b { font-weight: 500; color: var(--ink); }
.map__cta small { display: block; color: var(--muted); font-size: 13px; }

/* ---------- final cta + footer */
.cta-band { background: var(--ink); color: var(--on-dark); overflow: hidden; position: relative; }
.cta-band::before { content: ''; position: absolute; width: 640px; height: 640px; right: -160px; top: -260px; border-radius: 50%; border: 1px solid rgba(205, 174, 119, .25); }
.cta-band::after { content: ''; position: absolute; width: 420px; height: 420px; right: -40px; top: -140px; border-radius: 50%; border: 1px solid rgba(205, 174, 119, .18); }
.cta-band__inner { display: grid; gap: 28px; align-items: end; position: relative; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr .7fr; } }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }
.footer { background: var(--deep); color: var(--on-dark-mute); padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 14.5px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { margin: 0 0 14px; font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover, .footer button.linkish:hover { color: var(--on-dark); }
.footer .brand__name { color: var(--on-dark); }
.footer .brand__sub { color: var(--on-dark-mute); }
.footer__base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(244, 239, 230, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; }

/* ---------- floating actions */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 244, 238, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.mobile-bar.is-shown { transform: none; }
.mobile-bar .btn { min-height: 48px; padding: 0 12px; font-size: 14.5px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 76px; } }
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 25; width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center; background: #1F7A55; color: #fff; box-shadow: 0 18px 36px -12px rgba(31, 122, 85, .6);
  transition: transform .45s var(--ease);
}
.wa-fab:hover { transform: translateY(-3px) scale(1.04); }
.wa-fab .icon { width: 28px; height: 28px; }
@media (min-width: 900px) { .wa-fab { display: grid; } }

/* ---------- dialogs: booking + manage */
dialog.sheet {
  width: min(560px, 100%); max-height: min(92dvh, 860px); padding: 0; border: 0; border-radius: var(--r-xl);
  background: var(--paper); color: var(--text); box-shadow: 0 50px 100px -30px rgba(10, 22, 32, .5);
  overflow: hidden; display: flex; flex-direction: column;
}
dialog.sheet:not([open]) { display: none; }
dialog.sheet::backdrop { background: rgba(10, 22, 32, .52); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: sheetIn .55s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (max-width: 640px) {
  dialog.sheet { width: 100%; max-width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  dialog.sheet[open] { animation: sheetUp .5s var(--ease); }
  @keyframes sheetUp { from { transform: translateY(100%); } }
}
.sheet__head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.sheet__head h2 { margin: 0; font: 400 1.6rem/1.1 var(--serif); color: var(--ink); flex: 1; }
.sheet__head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; transition: background-color .2s, transform .35s var(--ease); }
.icon-btn:hover { background: var(--ivory); }
.icon-btn:active { transform: scale(.95); }
.sheet__body { padding: 20px 22px 24px; overflow-y: auto; overscroll-behavior: contain; }
.sheet__progress { height: 2px; background: var(--line); position: relative; }
.sheet__progress i { position: absolute; inset: 0 auto 0 0; width: 33%; background: var(--gold); transition: width .6s var(--ease); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--sand); border: 0; margin: 0 0 20px; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px;
  font-weight: 500; font-size: 14.5px; color: var(--muted); transition: background-color .25s, color .25s, box-shadow .25s; cursor: pointer;
}
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 33, 48, .08), 0 6px 14px -8px rgba(15, 33, 48, .25); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.block-label { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.block-label b { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); font-size: 14px; }
.dates { display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 10px; margin: 0 -2px 10px; scrollbar-width: thin; }
.date {
  scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px;
  border: 1px solid var(--line-2); background: #fff; transition: border-color .2s, background-color .2s, transform .35s var(--ease);
}
.date small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.date b { font: 400 1.65rem/1.05 var(--serif); color: var(--ink); }
.date em { font-style: normal; font-size: 11px; color: var(--muted-2); }
.date:hover { border-color: var(--gold); }
.date[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
.date[aria-selected="true"] small, .date[aria-selected="true"] em { color: var(--on-dark-mute); }
.date[aria-selected="true"] b { color: var(--on-dark); }
.date:disabled { background: transparent; border-style: dashed; cursor: not-allowed; }
.date:disabled b { color: var(--muted-2); }
.date.is-appt { border-style: dashed; border-color: rgba(176, 141, 87, .55); }
.date.is-appt em { color: var(--gold-ink); font-weight: 500; }
.date.is-appt[aria-selected="true"] { background: var(--paper); border-color: var(--gold); }
.date.is-appt[aria-selected="true"] small, .date.is-appt[aria-selected="true"] em { color: var(--gold-ink); }
.date.is-appt[aria-selected="true"] b { color: var(--ink); }
.slots { display: grid; gap: 16px; min-height: 160px; }
.slot-group h4 { margin: 0 0 8px; font: 500 12.5px/1 var(--sans); color: var(--muted); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot {
  min-height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-weight: 500; font-size: 14.5px;
  color: var(--ink); font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, transform .35s var(--ease);
}
.slot:hover { border-color: var(--gold); transform: translateY(-1px); }
.slot:active { transform: scale(.97); }
.slot:disabled { color: var(--muted-2); background: transparent; text-decoration: line-through; border-style: dashed; cursor: not-allowed; transform: none; }
.slot.is-picked { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.skel { border-radius: 12px; background: linear-gradient(90deg, var(--sand) 0%, #F6F1E8 50%, var(--sand) 100%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { padding: 28px 18px; border-radius: 18px; border: 1px dashed var(--line-2); text-align: center; color: var(--muted); font-size: 14.5px; }
.empty b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

.summary {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--ivory); border: 1px solid var(--line); margin-bottom: 20px;
}
.summary__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.summary b { display: block; font-weight: 500; color: var(--ink); }
.summary span { font-size: 13.5px; color: var(--muted); }
.summary .linkish { margin-left: auto; color: var(--gold-ink); font-weight: 500; font-size: 14px; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > label, .field > .field__label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field > label small, .field__label small { font-weight: 400; color: var(--muted); }
.input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff;
  font: 400 16px/1.4 var(--sans); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 84px; resize: vertical; }
.input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 141, 87, .16); }
.phone-input { display: flex; align-items: stretch; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; transition: border-color .2s, box-shadow .2s; }
.phone-input:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 141, 87, .16); }
.phone-input span { display: grid; place-items: center; padding: 0 12px 0 14px; color: var(--muted); border-right: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.phone-input .input { border: 0; box-shadow: none !important; letter-spacing: .02em; }
.field.has-error .input, .field.has-error .phone-input { border-color: var(--bad); }
.field__err { font-size: 13px; color: var(--bad); min-height: 0; }
.field__help { font-size: 12.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; cursor: pointer; transition: all .2s; }
.chip input:checked + span { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }
.form-error { padding: 12px 14px; border-radius: 12px; background: #F8E9E6; color: var(--bad); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.done { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 8px 0 4px; }
.done__check { width: 76px; height: 76px; }
.done__check circle { stroke: var(--ok); stroke-width: 2; fill: none; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw .9s var(--ease) forwards; }
.done__check path { stroke: var(--ok); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .6s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font: 400 2rem/1.1 var(--serif); color: var(--ink); margin: 6px 0 0; }
.done p { margin: 0; color: var(--muted); max-width: 40ch; }
.ticket { width: 100%; margin: 14px 0 6px; border-radius: 20px; background: var(--ivory); border: 1px solid var(--line); text-align: left; overflow: hidden; }
.ticket__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-top: 1px dashed var(--line-2); font-size: 14.5px; }
.ticket__row:first-child { border-top: 0; }
.ticket__row span { color: var(--muted); }
.ticket__row b { font-weight: 500; color: var(--ink); text-align: right; }
.ticket__id b { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .06em; color: var(--gold-ink); }
.done__actions { display: grid; gap: 10px; width: 100%; }
.done__actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--on-dark); font-size: 14px; opacity: 0;
  pointer-events: none; transition: opacity .3s, transform .5s var(--ease); max-width: calc(100% - 32px); box-shadow: var(--shadow-lg);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 32px; } }

/* ---------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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


/* ======================================================= v2 components */
.inline-link { color: var(--gold-ink); font-weight: 500; border-bottom: 1px solid var(--gold-soft); }

/* language switch */
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; font: 500 13.5px/1 var(--sans); color: var(--ink);
  transition: background-color .25s, border-color .25s;
}
.lang-btn:hover { background: rgba(255, 255, 255, .7); border-color: var(--gold); }
.lang-btn--mobile { margin-left: auto; flex: none; height: 40px; }
.lang-btn--mobile + .nav__menu { margin-left: 8px; }
@media (min-width: 1100px) { .lang-btn--mobile { display: none; } }

/* Hindi typography: Devanagari needs more line-height and no negative tracking */
html[lang="hi"] .display { line-height: 1.22; letter-spacing: 0; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); }
html[lang="hi"] .h2, html[lang="hi"] .doctor__name { line-height: 1.28; letter-spacing: 0; }
html[lang="hi"] .tcard__title, html[lang="hi"] .rate__q, html[lang="hi"] .done h3, html[lang="hi"] .sheet__head h2 { line-height: 1.3; letter-spacing: 0; }
html[lang="hi"] .eyebrow, html[lang="hi"] .stat__label, html[lang="hi"] .footer h4, html[lang="hi"] .block-label { letter-spacing: .02em; }
html[lang="hi"] body { line-height: 1.7; }

/* branch picker in booking */
.locs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.loc {
  display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: #fff;
  text-align: left; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.loc b { font-weight: 500; color: var(--ink); font-size: 14.5px; }
.loc small { font-size: 12px; color: var(--muted); }
.loc em { font-style: normal; font-size: 11.5px; color: var(--ok); margin-top: 2px; }
.loc em.is-off { color: var(--muted-2); }
.loc[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--ivory); }
.loc:hover { border-color: var(--gold); }

/* uploader */
.uploader { display: grid; gap: 10px; }
.drop {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed var(--line-2);
  background: #fff; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.drop:hover, .drop.is-over { border-color: var(--gold); background: var(--ivory); }
.drop .icon { width: 22px; height: 22px; color: var(--gold-ink); }
.drop b { display: block; font-weight: 500; color: var(--ink); font-size: 14.5px; }
.drop small { display: block; font-size: 12.5px; color: var(--muted); }
.drop.is-disabled { opacity: .5; pointer-events: none; }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.files:empty { display: none; }
.file { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); position: relative; overflow: hidden; }
.file__thumb { width: 44px; height: 44px; border-radius: 10px; background: #fff center / cover no-repeat; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-ink); }
.file__name { font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.file__meta { display: block; font-size: 12px; color: var(--muted); }
.file__meta.is-ok { color: var(--ok); }
.file__meta.is-bad { color: var(--bad); }
.file .icon-btn { width: 32px; height: 32px; }
.file__bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--gold); width: 0; transition: width .4s var(--ease); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink); cursor: pointer; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.grid2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .grid2 { grid-template-columns: .6fr 1.4fr; } }
.chip input[type="checkbox"] { position: absolute; opacity: 0; inset: 0; }

.upstatus { width: 100%; padding: 10px 14px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); text-align: left; display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.upstatus.is-ok { color: var(--ok); background: #EEF5F1; border-color: rgba(47, 107, 87, .2); }
.upstatus.is-bad { color: var(--bad); background: #F8E9E6; }
.prep { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; text-align: left; margin-top: 6px; padding: 16px; border-radius: 18px; background: var(--ink); color: var(--on-dark); }
.prep__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--gold-2); }
.prep b { display: block; font-weight: 500; font-size: 15px; }
.prep span { font-size: 13px; color: var(--on-dark-mute); }
.prep .btn { grid-column: 1 / -1; --bg: var(--gold); --fg: #fff; }
@media (min-width: 520px) { .prep { grid-template-columns: auto 1fr auto; } .prep .btn { grid-column: auto; } }

/* visit: branch tabs */
.branch-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sand); margin-top: 26px; }
.branch-tabs button { border: 0; background: none; padding: 9px 16px; border-radius: 10px; font: 500 14px/1.2 var(--sans); color: var(--muted); }
.branch-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 33, 48, .1); }
.branch-tabs + .info { margin-top: 18px; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* =====================================================================
   v3 design polish
   ===================================================================== */

/* hero seal: slowly turning "Practicing since 1997" stamp on the arch corner */
.hero__visual { isolation: isolate; }
.seal { position: absolute; top: -22px; left: -30px; width: 124px; height: 124px; z-index: 3; filter: drop-shadow(0 16px 26px rgba(15, 33, 48, .22)); }
.seal svg { width: 100%; height: 100%; display: block; overflow: visible; }
.seal__bg { fill: var(--ink); }
.seal__rule { fill: none; stroke: rgba(205, 174, 119, .45); stroke-width: .8; }
.seal__mark { fill: none; stroke: var(--gold-2); stroke-width: 1.4; stroke-linejoin: round; }
.seal text { font: 500 9.4px/1 var(--sans); letter-spacing: .12em; fill: var(--gold-2); text-transform: uppercase; }
html[lang="hi"] .seal text { font-size: 10.5px; letter-spacing: .02em; }
.seal__ring { transform-origin: 60px 60px; animation: seal-spin 38s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .seal { top: -14px; left: auto; right: -8px; width: 96px; height: 96px; } }

/* phone consultation card: call "ripples" in the brand gold */
.mode.mode--phone p { color: var(--on-dark-mute); }
.mode__rings { position: absolute; top: -70px; right: -70px; width: 260px; height: 260px; pointer-events: none; }
.mode__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(205, 174, 119, .22); }
.mode__rings i:nth-child(2) { inset: 40px; border-color: rgba(205, 174, 119, .30); }
.mode__rings i:nth-child(3) { inset: 80px; border-color: rgba(205, 174, 119, .40); background: radial-gradient(closest-side, rgba(205, 174, 119, .10), transparent); }
.mode--phone > *:not(.mode__rings) { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .mode--phone.in .mode__rings i { animation: ring 4.8s var(--ease) infinite; }
  .mode--phone.in .mode__rings i:nth-child(2) { animation-delay: .5s; }
  .mode--phone.in .mode__rings i:nth-child(3) { animation-delay: 1s; }
}
@keyframes ring { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: .7; } }

/* treatment cards: oversized line-art watermark in the corner */
.tcard__mark { position: absolute; right: -18px; bottom: -22px; width: 168px; height: 168px; fill: none; stroke: var(--gold); stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; opacity: .16; pointer-events: none; transition: transform 1.2s var(--ease), opacity .6s; }
.tcard--dark .tcard__mark { stroke: var(--gold-2); opacity: .2; }
.tcard--wide .tcard__mark { right: 38%; bottom: -40px; opacity: .1; }
.tcard:hover .tcard__mark { transform: rotate(-6deg) scale(1.04); opacity: .26; }
.tcard > *:not(.tcard__mark):not(img) { position: relative; }
@media (max-width: 899px) {
  .tcard__mark { width: 132px; height: 132px; opacity: .12; right: -14px; bottom: -18px; }
  .tcard--wide .tcard__mark { right: -18px; bottom: auto; top: -24px; }
}

/* reviews card: editorial quote mark + guidance */
.rate { position: relative; overflow: hidden; }
.rate::before { content: '\201C'; position: absolute; top: 18px; left: 26px; font: 400 150px/.8 var(--serif); color: var(--gold-soft); pointer-events: none; }
.rate > * { position: relative; }
.rate__hint { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); max-width: 34ch; }

/* gallery: thin progress line under the photos */
.gallery__progress { position: relative; height: 2px; margin-top: 28px; background: rgba(244, 239, 230, .12); border-radius: 2px; overflow: hidden; }
.gallery__progress i { position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--gold-2); border-radius: 2px; transform-origin: left; transition: transform .25s linear, width .25s; }

/* footer: keep the WhatsApp button off the bottom links */
@media (min-width: 900px) { .footer__base { padding-right: 84px; } }

/* paper grain on large screens only (phones skip the extra layer) */
@media (min-width: 900px) {
  body::after {
    content: ''; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}
@media (prefers-reduced-motion: reduce) { .seal__ring { animation: none; } }
@media print { body::after, .seal, .wa-fab, .mobile-bar { display: none !important; } }

/* =====================================================================
   v4: every day open, doctor-confirms days, WhatsApp booking fallback, smoother steps
   ===================================================================== */
.wa-mode [data-live] { display: none !important; }
.date.is-confirm em { color: var(--gold-ink); font-weight: 500; }
.slot-note {
  margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45;
  background: rgba(176, 141, 87, .1); border: 1px solid rgba(176, 141, 87, .28); color: var(--gold-ink);
}
dialog.sheet.is-wa #doneWa { min-height: 56px; font-size: 16px; box-shadow: 0 16px 30px -14px rgba(31, 122, 85, .7); }
@media (prefers-reduced-motion: no-preference) {
  [data-step]:not([hidden]) { animation: step-in .42s var(--ease) both; }
  @keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .slot-grid .slot, .dates .date { transition: background-color .2s, border-color .2s, transform .25s var(--ease), color .2s; }
  .slot:not(:disabled):active, .date:not(:disabled):active { transform: scale(.97); }
}

/* small phones (320-380px): nothing may push the page sideways */
.visit__grid > *, .reviews__grid > *, .faq__grid > *, .doctor__grid > *, .hero__grid > * { min-width: 0; }
.info a, .footer a, .footer li { overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .brand__name { font-size: 1.18rem; }
  .brand__sub { display: none; }
  .stars { gap: 5px; }
  .star { width: 44px; height: 44px; border-radius: 10px; }
  .star .icon { width: 22px; height: 22px; }
  .mobile-bar { grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.2fr); gap: 6px; padding-left: 8px; padding-right: 8px; }
  .mobile-bar .btn { padding: 0 8px; font-size: 13.5px; gap: 6px; min-width: 0; }
  .mobile-bar .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .row-btns { flex-wrap: wrap; }
  .display { font-size: clamp(2.1rem, 9.5vw, 2.5rem); }
}

/* =====================================================================
   Hero emergency link, treatment ticker, scroll progress
   ===================================================================== */
.sos {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(161, 69, 58, .07); border: 1px solid rgba(161, 69, 58, .2); color: var(--bad); font-size: 14px; line-height: 1.3;
  transition: background-color .25s, transform .45s var(--ease);
}
.sos b { font-weight: 600; }
.sos:hover { background: rgba(161, 69, 58, .12); transform: translateY(-1px); }
.sos .icon { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.sos:hover .icon { transform: translateX(3px); }
.sos__dot { width: 9px; height: 9px; border-radius: 50%; background: #C4533F; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .sos__dot { animation: sos 2s var(--ease) infinite; }
  @keyframes sos { 0% { box-shadow: 0 0 0 0 rgba(196, 83, 63, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(196, 83, 63, 0); } }
}

.ticker { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.ticker__track { display: flex; width: max-content; }
.ticker__row { display: flex; align-items: center; gap: 28px; padding: 16px 14px; font: italic 400 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.2 var(--serif); color: var(--ink); white-space: nowrap; }
.ticker__row i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker 48s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .ticker__row + .ticker__row { display: none; } .ticker__track { width: auto; } .ticker__row { flex-wrap: wrap; white-space: normal; justify-content: center; } }

/* thin gold reading line under the header (browsers with scroll-driven animations) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .nav::after {
      content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold);
      transform-origin: left; transform: scaleX(0); animation: readline linear both; animation-timeline: scroll(root);
    }
    @keyframes readline { to { transform: scaleX(1); } }
  }
}

/* =====================================================================
   Smile toolkit (assets/js/tools.js)
   ===================================================================== */
.toolkit { background: var(--deep); color: var(--on-dark); overflow: hidden; }
.toolkit::before {
  content: ''; position: absolute; inset: -30% auto auto -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(205, 174, 119, .13), transparent);
}
.toolkit .wrap { position: relative; }
.tk {
  border-radius: var(--r-xl); border: 1px solid rgba(244, 239, 230, .1); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.tk__tabs { display: flex; gap: 6px; padding: 8px; border-bottom: 1px solid rgba(244, 239, 230, .08); overflow-x: auto; scrollbar-width: none; }
.tk__tabs::-webkit-scrollbar { display: none; }
.tk__tabs button {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px;
  border-radius: 20px; border: 0; background: transparent; color: var(--on-dark-mute); font: 500 15px/1.2 var(--sans); white-space: nowrap;
  transition: background-color .3s, color .3s;
}
.tk__tabs button:hover { color: var(--on-dark); background: rgba(244, 239, 230, .05); }
.tk__tabs button[aria-selected="true"] { background: var(--on-dark); color: var(--ink); }
.tk__tabs button[aria-selected="true"] .icon { color: var(--gold-ink); }
.tk__tabs .icon { width: 20px; height: 20px; }
.tk__panel { padding: clamp(20px, 3.5vw, 44px); min-height: 440px; position: relative; }
.tk__panel:focus-visible { outline-offset: -4px; }
.tk-step { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.tk-step > b { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font: 500 14px var(--sans); flex: none; }
.tk-step > b .icon { width: 17px; height: 17px; }
.tk-step h3 { margin: 0; font: 400 1.65rem/1.15 var(--serif); color: var(--on-dark); }
.tk-step p { margin: 4px 0 0; color: var(--on-dark-mute); font-size: 14.5px; }
.chips--dark .chip span { background: rgba(255, 255, 255, .04); border-color: rgba(244, 239, 230, .18); color: var(--on-dark); }
.chips--dark .chip span:hover { border-color: rgba(244, 239, 230, .4); }
.chips--dark .chip input:checked + span { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.tk-note { margin: 14px 0 0; font-size: 12.5px; color: var(--on-dark-mute); }
.tk-warn { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(214, 99, 84, .14); color: #F6C9C1; font-size: 14px; line-height: 1.45; }
.tk-warn .icon { flex: none; margin-top: 2px; color: #F2A79C; }
.tk-warn--top { margin: 0 0 22px; }
.hurt__ctas, .tk-calls, .care__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* where does it hurt */
.hurt { display: grid; gap: 36px; }
@media (min-width: 980px) { .hurt { grid-template-columns: 1fr 1fr; gap: 52px; } }
.hurt > * { min-width: 0; }
.mouth-wrap { max-width: 400px; margin: 0 auto 18px; }
@media (max-width: 560px) { .tk__panel { padding: 18px 14px 24px; } .mouth-wrap { margin-inline: -4px; } }
.mouth { width: 100%; height: auto; display: block; overflow: visible; }
.tooth { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tooth ellipse { fill: #EEE6D6; stroke: rgba(10, 22, 32, .5); stroke-width: 1; transition: fill .2s, stroke .2s; }
.tooth text { font: 600 8px var(--sans); fill: rgba(15, 33, 48, .5); text-anchor: middle; pointer-events: none; }
.tooth:hover ellipse { fill: #fff; }
.tooth.is-on ellipse { fill: var(--gold-2); stroke: #fff; stroke-width: 2; }
.tooth.is-on text { fill: var(--ink); }
.tooth:focus { outline: none; }
.tooth:focus-visible ellipse { stroke: #fff; stroke-width: 2.5; }
.mouth__lbl { font: 500 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; fill: var(--on-dark-mute); text-anchor: middle; }
.mouth__side { font: 500 11px var(--sans); fill: var(--gold-2); }
.hurt__where { margin: 14px 0 0; font-size: 14.5px; color: var(--on-dark-mute); min-height: 1.5em; }
.hurt__where b { color: var(--on-dark); font-weight: 500; }
.hurt__where .linkish { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.hurt__result { margin-top: 24px; padding: 22px; border-radius: var(--r-lg); background: rgba(244, 239, 230, .05); border: 1px solid rgba(244, 239, 230, .1); }
.hurt__result h4 { margin: 18px 0 10px; font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute); }
.hurt__info { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--on-dark); }
.hurt__info b { font-weight: 500; color: var(--gold-2); }
.tk-empty { display: grid; justify-items: center; text-align: center; gap: 10px; color: var(--on-dark-mute); padding: 18px 8px; }
.tk-empty p { margin: 0; max-width: 34ch; }
.tk-empty .icon { width: 34px; height: 34px; color: var(--gold-2); }
.urg { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.urg b { font-weight: 500; }
.urg--routine { background: rgba(60, 154, 115, .16); color: #A6DCC4; }
.urg--soon { background: rgba(205, 174, 119, .18); color: var(--gold-2); }
.urg--urgent { background: rgba(214, 99, 84, .2); color: #F6B3A9; }

/* emergency */
.emg__grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .emg__grid { grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; } }
.emg__list { display: grid; gap: 8px; }
.emg__item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; text-align: left;
  border: 1px solid rgba(244, 239, 230, .12); background: rgba(255, 255, 255, .03); color: var(--on-dark); font: 500 15px/1.3 var(--sans);
  transition: background-color .25s, border-color .25s, color .25s;
}
.emg__item:hover { border-color: rgba(244, 239, 230, .3); }
.emg__item span { flex: 1; }
.emg__item .icon:first-child { color: var(--gold-2); width: 20px; height: 20px; }
.emg__item .icon:last-child { opacity: .45; }
.emg__item[aria-selected="true"] { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.emg__item[aria-selected="true"] .icon:first-child { color: var(--gold-ink); }
.emg__card { padding: clamp(20px, 3vw, 34px); border-radius: var(--r-lg); background: var(--paper); color: var(--text); scroll-margin-top: calc(var(--nav-h) + 16px); }
.emg__card h3 { margin: 0; font: 400 2rem/1.1 var(--serif); color: var(--ink); }
.emg__intro { margin: 8px 0 0; color: var(--muted); }
.emg__card h4, .care__card h4 { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.emg__steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.emg__steps li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.emg__steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--on-dark); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.emg__avoid { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.emg__avoid li { display: flex; gap: 10px; }
.emg__avoid .icon { color: var(--bad); margin-top: 4px; }
.emg__call { margin: 22px 0 0; font-weight: 500; color: var(--ink); }
.emg__card .btn--ghost { --fg: var(--ink); border-color: var(--line-2); }
.emg__card .btn--ghost:hover { --bg: var(--ivory); }
.emg__card .tk-note, .care__card .tk-note { color: var(--muted); }

/* brushing timer */
.brush { display: grid; gap: 32px; align-items: center; position: relative; }
@media (min-width: 860px) { .brush { grid-template-columns: auto 1fr; gap: 64px; } }
.brush > * { min-width: 0; }
.brush__dial { position: relative; width: min(74vw, 300px); aspect-ratio: 1; justify-self: center; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__bg { fill: none; stroke: rgba(244, 239, 230, .1); stroke-width: 10; }
.ring__fg { fill: none; stroke: var(--gold-2); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .3s linear; }
.brush__time { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; padding: 0 34px; }
.brush__time b { font: 400 clamp(3.4rem, 2.6rem + 3vw, 4.4rem)/1 var(--serif); color: var(--on-dark); font-variant-numeric: tabular-nums; }
.brush__time span { color: var(--gold-2); font-size: 14.5px; line-height: 1.35; }
.quads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 380px; }
.quad { padding: 16px 12px; border: 1px solid rgba(244, 239, 230, .14); color: var(--on-dark-mute); font-size: 14px; text-align: center; transition: background-color .3s, color .3s, border-color .3s; }
.quad--tl { order: 1; border-radius: 48px 14px 14px 14px; }
.quad--tr { order: 2; border-radius: 14px 48px 14px 14px; }
.quad--bl { order: 3; border-radius: 14px 14px 14px 48px; }
.quad--br { order: 4; border-radius: 14px 14px 48px 14px; }
.quad.is-now { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); font-weight: 500; }
.quad.is-done { background: rgba(60, 154, 115, .18); color: #A6DCC4; border-color: transparent; }
.brush__how { color: var(--on-dark-mute); margin: 14px 0 0; font-size: 14.5px; }
.brush__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.brush__log { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 22px; font-size: 14px; color: var(--on-dark-mute); }
.brush__log .dot { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(244, 239, 230, .14); }
.brush__log .dot .icon { opacity: .3; }
.brush__log .dot.is-on { color: #A6DCC4; border-color: rgba(60, 154, 115, .45); }
.brush__log .dot.is-on .icon { opacity: 1; }
.brush__log b { font-weight: 500; color: var(--on-dark); }
.burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.burst i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4px; border-radius: 2px; background: var(--gold-2); opacity: 0; }
.burst i:nth-child(3n) { background: #A6DCC4; }
.burst i:nth-child(4n) { background: var(--on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .burst i { animation: burst 1.3s var(--ease) forwards; }
  @keyframes burst { 0% { opacity: 1; transform: rotate(var(--r)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--r)) translateY(-170px) scale(.4); } }
  .quad.is-now { animation: quad 1.6s ease-in-out infinite; }
  @keyframes quad { 50% { box-shadow: 0 0 0 6px rgba(205, 174, 119, .18); } }
}

/* aftercare */
.care__pick { margin-bottom: 22px; }
.care__card { padding: clamp(22px, 3vw, 38px); border-radius: var(--r-lg); background: var(--paper); color: var(--text); }
.care__card header h3 { margin: 8px 0 0; font: 400 clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem)/1.05 var(--serif); color: var(--ink); }
.care__card .eyebrow { color: var(--gold-ink); }
.care__cols { display: grid; gap: 4px 36px; margin-top: 4px; }
@media (min-width: 760px) { .care__cols { grid-template-columns: 1fr 1fr; } }
.care__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.care__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.care__list .icon { margin-top: 3px; }
.is-do .icon { color: var(--ok); }
.is-avoid .icon { color: var(--bad); }
.is-call .icon { color: var(--gold-ink); }
.care__call { margin-top: 24px; padding: 4px 18px 18px; border-radius: 18px; background: var(--ivory); border: 1px solid var(--line); }
.care__call h4 { margin-top: 16px; }
.care__call p { margin: 12px 0 0; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
@media print {
  html.print-care body * { visibility: hidden; }
  html.print-care #careCard, html.print-care #careCard * { visibility: visible; }
  html.print-care #careCard { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; }
}

/* =====================================================================
   Get our app (assets/js/app.js)
   ===================================================================== */
.app { background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.app__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .app__grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.app__grid > * { min-width: 0; }
.app__perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 560px) { .app__perks { grid-template-columns: 1fr 1fr; gap: 18px 24px; } }
.app__perks li { display: flex; gap: 12px; align-items: flex-start; }
.app__perks li > .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--ink); color: var(--gold-2); flex: none; }
.app__perks span { display: grid; font-size: 14px; color: var(--muted); line-height: 1.45; }
.app__perks b { font-weight: 500; color: var(--ink); font-size: 15px; }
.app__install { margin-top: 28px; }
.app__install:has(> [hidden] + [hidden]) { display: none; }
.app__installed { display: inline-flex; gap: 8px; align-items: center; color: var(--ok); font-weight: 500; margin: 0; }
.app__how { margin-top: 26px; padding: 22px; border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line); max-width: 580px; }
.os-tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.os-tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: background-color .25s, color .25s; }
.os-tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }
.app__steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: a; display: grid; gap: 12px; }
.app__steps li { counter-increment: a; position: relative; padding-left: 38px; min-height: 26px; font-size: 15px; color: var(--text); line-height: 1.6; }
.app__steps li::before { content: counter(a); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-size: 13px; line-height: 1; }
.app__steps b { font-weight: 600; color: var(--ink); }
.kbd { display: inline-grid; place-items: center; width: 26px; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line-2); vertical-align: -6px; margin: 0 2px; }
.kbd .icon { width: 15px; height: 15px; color: var(--ink); }
.app__note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
#appInApp { color: var(--bad); }
.app__visual { position: relative; justify-self: center; padding: 16px 20px 28px 92px; }
.phone {
  width: 268px; aspect-ratio: 9 / 18.6; border-radius: 46px; background: var(--deep); padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .08); transform: rotate(-3deg);
}
.phone__screen { height: 100%; border-radius: 37px; background: var(--ivory); overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 12px 14px 14px; }
.phone__status { display: flex; justify-content: space-between; align-items: center; font: 600 11px var(--sans); color: var(--ink); padding: 2px 10px 0; }
.phone__island { width: 76px; height: 22px; border-radius: 999px; background: var(--deep); }
.phone__head { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.phone__head svg { width: 34px; height: 34px; flex: none; }
.phone__head span { display: grid; line-height: 1.25; min-width: 0; }
.phone__head b { font: 400 1.08rem/1.1 var(--serif); color: var(--ink); }
.phone__head small { font-size: 10.5px; color: var(--muted); }
.phone__cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 12.5px; font-weight: 500; }
.phone__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex: 1; }
.phone__tiles span { display: grid; align-content: space-between; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.phone__tiles .icon { width: 22px; height: 22px; color: var(--gold-ink); }
.phone__tiles b { font-weight: 500; font-size: 11.5px; line-height: 1.25; color: var(--ink); }
.phone__tiles .is-red .icon { color: var(--bad); }
.phone__bar { display: flex; justify-content: space-around; padding: 9px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.phone__bar span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--ink); }
.phone__bar .is-wa { background: #1F7A55; color: #fff; }
.homeicon {
  position: absolute; left: 0; bottom: 70px; display: grid; justify-items: center; gap: 6px; padding: 12px 14px 10px; border-radius: 22px;
  background: rgba(252, 250, 246, .85); border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -18px rgba(15, 33, 48, .4);
}
.homeicon img { width: 58px; height: 58px; border-radius: 15px; }
.homeicon span { font-size: 11px; color: var(--ink); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) { .homeicon { animation: float 7s ease-in-out infinite; } }
@media (max-width: 420px) { .app__visual { padding-left: 76px; padding-right: 0; } .phone { width: 228px; } .homeicon { padding: 10px; } .homeicon img { width: 48px; height: 48px; } }
@media (max-width: 359px) { .app__visual { padding-left: 58px; } .phone { width: 206px; } .phone__tiles b { font-size: 10.5px; } }
html.is-app .app, html.is-app [data-app-link] { display: none !important; }
.drawer a.drawer__app { display: flex; align-items: center; gap: 10px; }
.drawer a.drawer__app .icon { width: 22px; height: 22px; color: var(--gold-ink); }

html[lang="hi"] .tk-step h3, html[lang="hi"] .emg__card h3, html[lang="hi"] .care__card header h3, html[lang="hi"] .ticker__row { line-height: 1.35; letter-spacing: 0; }
html[lang="hi"] .hurt__result h4, html[lang="hi"] .emg__card h4, html[lang="hi"] .care__card h4, html[lang="hi"] .mouth__lbl { letter-spacing: 0; font-size: 13px; }
