/* ==========================================================================
   Plastic surgery clinic (plasticsrg) — public site styles
   Palette follows the clinic's colour guide (navy #0F1F3D · gold #C8A45D · ivory #F5F2EC).
   60% light grounds · 30% navy · 10% gold. Gold is never body text on light grounds.
   All spacing uses logical properties so RTL (fa/ar) and LTR (en) share one stylesheet.
   ========================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.f6d31671339d.woff2") format("woff2-variations"),
       url("../fonts/Vazirmatn-Variable.f6d31671339d.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("../fonts/Estedad-Variable.f3e0531cb081.woff2") format("woff2-variations"),
       url("../fonts/Estedad-Variable.f3e0531cb081.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant-Variable.356e67f02c89.woff2") format("woff2-variations"),
       url("../fonts/Cormorant-Variable.356e67f02c89.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand primitives (from the colour guide) */
  --navy: #0F1F3D;
  --navy-2: #1F3A63;
  --navy-deep: #0A1630;
  --navy-form: #16294B;
  --line-dark: #34507D;
  --gold: #C8A45D;
  --gold-hover: #D4B576;
  --gold-text: #7C6226;
  --gold-light: #E7CF9A;
  --ivory: #F5F2EC;
  --mist: #E6E9EF;
  --white: #FFFFFF;
  --line: #E2DED4;
  --ink: #141B2D;
  --ink-2: #4E5668;
  --on-dark-2: #AEB7C8;
  --on-dark-3: #C9D2E1;
  --error: #B42318;
  --success: #1F7A4D;
  /* Surgical teal — a pale scrub-green used for calm grounds and fine detail */
  --teal: #3E9C93;
  --teal-ink: #1F6B64;      /* text on light grounds (≥ 4.5:1 on ivory) */
  --teal-50: #EEF6F4;
  --teal-100: #DDEEEA;
  --teal-200: #C2E1DB;
  --haze-0: #E9F1EE;        /* hero wall haze */
  --title-ink: #0F1F3D;

  /* Semantic roles — light theme */
  --bg: var(--ivory);
  --bg-alt: var(--mist);
  --surface: var(--white);
  --surface-2: #FAF8F4;
  --text: var(--ink);
  --text-2: var(--ink-2);
  --heading: var(--navy);
  --border: var(--line);
  --accent-text: var(--gold-text);
  --focus: var(--navy-2);
  --tab-active-bg: var(--navy);
  --tab-active-fg: var(--ivory);
  --dark-bg: var(--navy);
  --dark-card: var(--navy-form);
  --dark-border: var(--line-dark);
  --on-dark: var(--ivory);
  --footer-bg: var(--navy-deep);
  --shadow-1: 0 1px 2px rgba(15, 31, 61, .06), 0 8px 24px -12px rgba(15, 31, 61, .18);
  --shadow-2: 0 2px 6px rgba(15, 31, 61, .08), 0 24px 48px -20px rgba(15, 31, 61, .35);
  --error-c: var(--error);
  --success-c: var(--success);

  /* Type scale (1.25) */
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-2xl: clamp(1.85rem, 1.4rem + 2vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 3.4vw, 4rem);

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-xl: 40px;
  --radius-pill: 50px;
  --gutter: 16px;
  --container: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0B1730;
  --bg-alt: #0F1F3D;
  --surface: #13264A;
  --surface-2: #10213F;
  --text: #E4E2DC;
  --text-2: var(--on-dark-2);
  --heading: var(--ivory);
  --border: #24406B;
  --accent-text: var(--gold-light);
  --focus: var(--gold);
  --tab-active-bg: var(--gold);
  --tab-active-fg: var(--navy);
  --dark-bg: #12284D;
  --dark-card: #0D1D3A;
  --dark-border: #34507D;
  --footer-bg: #070F22;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px -20px rgba(0, 0, 0, .8);
  --error-c: #F2948A;
  --success-c: #7AD3A6;
  --teal: #5DB7AC;
  --teal-ink: #8ED3C9;
  --teal-50: #0E2630;
  --teal-100: #12303A;
  --teal-200: #1B4250;
  --haze-0: #0D1E36;
  --title-ink: #F5F2EC;
  color-scheme: dark;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1180px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 32px); }
body {
  margin: 0;
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: var(--fs-md);
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html[lang="en"] body { line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.35; margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--btn-h); padding: 0 1.4em;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font-weight: 700; font-size: var(--fs-sm); line-height: 1; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --btn-h: 40px; padding: 0 1.1em; }
.btn--lg { --btn-h: 54px; padding: 0 1.7em; font-size: var(--fs-md); }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn--navy:hover { background: var(--navy-2); }
[data-theme="dark"] .btn--navy { background: var(--ivory); color: var(--navy); }
[data-theme="dark"] .btn--navy:hover { background: #fff; }
.btn--line { border-color: var(--heading); color: var(--heading); background: transparent; }
.btn--line:hover { background: var(--heading); color: var(--bg); }
.btn--line-dark { border-color: rgba(245, 242, 236, .45); color: var(--ivory); background: transparent; }
.btn--line-dark:hover { border-color: var(--ivory); background: rgba(245, 242, 236, .08); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center; gap: 2px;
  min-width: 44px; height: 44px; padding: 0 10px;
  border-radius: var(--radius-pill); border: 0; background: transparent; color: inherit;
  transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: rgba(245, 242, 236, .1); }
.icon-btn--ghost { color: var(--on-dark-2); }
.icon-btn--ghost:hover { color: var(--ivory); }
.icon-btn--navy { background: var(--navy); color: var(--ivory); }
.icon-btn--navy:hover { background: var(--navy-2); }
.icon-btn--on-dark { color: var(--ivory); }

.link { display: inline-flex; align-items: center; gap: .35em; color: var(--accent-text); font-weight: 700; font-size: var(--fs-sm); }
.link:hover { text-decoration: underline; text-underline-offset: 5px; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .2em .8em; border-radius: var(--radius-pill); background: var(--bg); border: 1px solid var(--border); color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }

/* ---------- Header (detached floating pill, 50px radius) ---------- */
.site-header {
  position: sticky; top: 12px; z-index: 50;
  width: 100%; max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 12px auto 0; padding-inline: var(--gutter);
  transition: transform .35s var(--ease);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.site-header__bar {
  display: flex; align-items: center; gap: 12px;
  height: var(--header-h); padding-inline: 14px 10px;
  background: var(--navy); color: var(--ivory);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 164, 93, .18);
  box-shadow: 0 10px 30px -18px rgba(10, 22, 48, .55);
  transition: box-shadow .3s var(--ease);
}
[dir="rtl"] .site-header__bar { padding-inline: 14px 10px; }
.site-header.is-scrolled .site-header__bar { box-shadow: 0 18px 40px -16px rgba(10, 22, 48, .6); }
[data-theme="dark"] .site-header__bar { background: #12284D; border-color: rgba(200, 164, 93, .28); }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 6px; border-radius: var(--radius-pill); }
.brand__mark { width: 36px; height: 36px; color: var(--gold); }
.brand__name { font-weight: 800; font-size: 1.125rem; letter-spacing: 0; white-space: nowrap; }
.nav { display: none; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  height: 40px; padding: 0 14px; border: 0; border-radius: var(--radius-pill);
  background: transparent; color: var(--on-dark-3); font-size: var(--fs-sm); font-weight: 600;
  transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--ivory); background: rgba(245, 242, 236, .08); }
.nav__chev { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.site-header__cta span { display: none; }
.site-header__cta { padding: 0 12px; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }
.theme-ic--sun { display: none; }
[data-theme="dark"] .theme-ic--sun { display: block; }
[data-theme="dark"] .theme-ic--moon { display: none; }

@media (max-width: 639px) {
  .site-header .lang { display: none; }
  .brand__name { font-size: 1rem; }
  .brand__mark { width: 32px; height: 32px; }
  .site-header__bar { padding-inline: 8px 6px; gap: 4px; }
  [dir="rtl"] .site-header__bar { padding-inline: 8px 6px; }
}
@media (min-width: 640px) {
  .site-header__cta span { display: inline; }
  .site-header__cta { padding: 0 1.1em; }
}
@media (min-width: 1040px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .site-header__actions { margin-inline-start: 0; }
}

/* Mega menu */
.nav__item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 18px); inset-inline-start: 50%;
  transform: translateX(-50%); width: min(860px, 90vw);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-l);
  box-shadow: var(--shadow-2); padding: 28px;
}
[dir="rtl"] .mega { transform: translateX(50%); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
.mega__title { display: flex; align-items: center; gap: 8px; color: var(--heading); font-weight: 800; font-size: var(--fs-sm); margin-bottom: 6px; }
.mega__title .ic { color: var(--accent-text); }
.mega ul { list-style: none; }
.mega li a { display: block; padding: 5px 0; color: var(--text-2); font-size: var(--fs-sm); }
.mega li a:hover { color: var(--heading); }
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); width: 100%; color: var(--accent-text); font-weight: 700; font-size: var(--fs-sm); }

/* Language menu */
.lang { position: relative; }
.lang__btn { grid-auto-flow: column; gap: 6px; padding: 0 12px; }
.lang__code { font-size: var(--fs-xs); font-weight: 700; }
.lang__menu {
  position: absolute; top: calc(100% + 14px); inset-inline-end: 0; min-width: 180px; list-style: none;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius-m); box-shadow: var(--shadow-2); padding: 6px;
}
.lang__menu a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: var(--fs-sm); }
.lang__menu a:hover { background: var(--bg); }
.lang__menu a[aria-current="true"] { color: var(--heading); }
.lang__menu .ic { color: var(--accent-text); }

/* Mobile menu */
.mobile-menu {
  margin-top: 10px; padding: 18px; max-height: calc(100dvh - var(--header-h) - 48px); overflow: auto;
  background: var(--navy); color: var(--ivory); border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
}
[data-theme="dark"] .mobile-menu { background: #12284D; }
.mobile-menu nav { display: grid; }
.mobile-menu nav > a, .mobile-menu summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 8px; font-size: var(--fs-lg); font-weight: 700; border-bottom: 1px solid rgba(245, 242, 236, .1);
  list-style: none; cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu details[open] summary .ic { transform: rotate(180deg); }
.mobile-menu details a { display: block; padding: 8px 18px; color: var(--on-dark-3); }
.mobile-menu__cat { padding: 10px 8px 2px; color: var(--gold-light); font-size: var(--fs-xs); font-weight: 700; }
.mobile-menu__langs { display: flex; gap: 8px; margin-top: 18px; }
.mobile-menu__langs a { flex: 1; text-align: center; padding: 10px; border-radius: var(--radius-pill); border: 1px solid var(--line-dark); font-weight: 600; font-size: var(--fs-sm); }
.mobile-menu__langs a[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.mobile-menu__call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 12px; border-radius: var(--radius-pill); background: rgba(245, 242, 236, .08); font-weight: 700; }

/* ---------- Hero: the surgeon at work ----------
   Layers (back → front): plate (the room) · haze · title · people cut-out ·
   rack-focus veil · name tag · glass panel. Plate and people share one box
   and the same object-position, so the cut-out always sits exactly on top. */
.hero--film {
  --frame-top: 0px;
  --pos: 64% 20%;
  --title-top: calc(var(--header-h) + 12px + clamp(26px, 4.6vh, 60px));
  position: relative; isolation: isolate; color: var(--navy);
}
/* On the home page the header floats over the hero instead of pushing it down. */
.page-home .site-header { position: fixed; inset-inline: 0; margin-top: 0; top: 12px; }
.hero__stage {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(600px, 100svh, 1040px);
  background: var(--haze-0);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.hero__frame { position: absolute; inset: var(--frame-top) 0 0 0; z-index: 0; }
.hero__frame--fg { z-index: 2; pointer-events: none; }
.hero__plate, .hero__fg, .hero__soft {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos);
  max-width: none; will-change: transform;
}
/* lighten and clean the wall so the title reads; the people (cut-out) stay untouched */
.hero__haze {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--haze-0) 0%, color-mix(in srgb, var(--haze-0) 70%, transparent) 22%, color-mix(in srgb, var(--haze-0) 14%, transparent) 44%, transparent 58%);
}
.hero__soft { z-index: 3; opacity: 0; filter: blur(2px) saturate(.9); transform: scale(1.04); pointer-events: none; }

.hero__title {
  position: absolute; z-index: 1; inset-inline: 0; top: calc(var(--title-top) - var(--lift, 0px));
  margin: 0; padding-inline: var(--gutter);
  text-align: center; color: var(--title-ink);
  font-family: "Estedad", "Vazirmatn", sans-serif; font-weight: 620;
  font-size: calc(clamp(2.6rem, .6rem + 6.8vw, 8.6rem) * var(--fit, 1)); line-height: 1.15;
  letter-spacing: -.005em; text-wrap: balance;
}
html[lang="en"] .hero__title { font-family: "Cormorant", Georgia, serif; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-size: calc(clamp(3rem, 1rem + 8vw, 10rem) * var(--fit, 1)); }
.hero__base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.hero__kicker {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: clamp(6px, 1.2vh, 14px);
  font-family: "Vazirmatn", sans-serif; font-size: clamp(.78rem, .7rem + .3vw, 1rem); font-weight: 700;
  letter-spacing: .02em; color: var(--teal-ink); line-height: 1.6;
}
html[lang="en"] .hero__kicker { letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; }
.hero__kicker::before, .hero__kicker::after { content: ""; width: clamp(24px, 4vw, 56px); height: 1px; background: currentColor; opacity: .55; }
.hero__words { display: block; }
.hero__part--light { font-weight: 240; }
html[lang="en"] .hero__part--light { font-weight: 400; font-style: italic; }
.hero__word { display: inline-block; }
.hero__part { display: inline; }

/* Name tag: hidden until the visitor hovers (or taps) the doctor, then it unrolls from beside her face */
.hero__spot { position: absolute; z-index: 4; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 40% 40% 30% 30%; }
.hero__spot:focus-visible { outline: 2px dashed rgba(255, 255, 255, .8); outline-offset: 4px; }
.hero__tag {
  position: absolute; z-index: 5; left: 0; top: 0; translate: var(--tx, -999px) var(--ty, -999px);
  display: flex; align-items: center; gap: 12px;
  padding: 9px 20px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .84); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 18px 40px -20px rgba(10, 22, 48, .6);
  color: var(--navy); white-space: nowrap; flex-direction: row;
  opacity: 0; clip-path: inset(0 0 0 100% round 999px); transform: translateX(6px);
  transition: clip-path .7s var(--ease), opacity .35s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
[dir="ltr"] .hero__tag { flex-direction: row-reverse; text-align: right; }
.hero.is-doc .hero__tag { opacity: 1; clip-path: inset(0 0 0 0 round 999px); transform: none; pointer-events: auto; }
.hero__tag > span:last-child { transition: opacity .4s var(--ease) .15s; opacity: 0; }
.hero.is-doc .hero__tag > span:last-child { opacity: 1; }
.hero__tag b { display: block; font-size: var(--fs-sm); font-weight: 800; line-height: 1.5; }
.hero__tag small { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.5; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* Glass panel over the plain gown on the left */
.hero__panel {
  position: absolute; z-index: 4; left: max(var(--gutter), calc((100vw - var(--container)) / 2)); bottom: clamp(92px, 11vh, 120px);
  width: min(560px, 42vw); padding: 24px 26px 26px;
  background: rgba(255, 255, 255, .74); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .75); border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -36px rgba(10, 22, 48, .6);
}
.hero__lead { color: var(--ink); font-size: var(--fs-md); line-height: 1.95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(15, 31, 61, .1); color: var(--teal-ink); font-size: var(--fs-xs); font-weight: 700; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .ic { width: 16px; height: 16px; color: var(--teal); flex: none; }
.hero__trust li { white-space: nowrap; font-size: 12.5px; }
[data-theme="dark"] .hero__trust { border-top-color: rgba(245, 242, 236, .12); color: var(--teal-ink); }
.btn--glass { background: rgba(15, 31, 61, .06); border-color: rgba(15, 31, 61, .55); color: var(--navy); }
.btn--glass:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.hero__scroll { position: absolute; z-index: 4; bottom: 22px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .85); display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* fa / ar: the panel sits exactly above the chat button, sharing its left edge */
@media (min-width: 900px) {
  [dir="rtl"] .hero__panel { left: 16px; bottom: calc(16px + 56px + 18px); }
  /* en: the chat button is on the right, so the panel faces it from the left, bottoms aligned */
  [dir="ltr"] .hero__panel { left: 16px; bottom: 16px; }
}
[data-theme="dark"] .hero__panel { background: rgba(13, 29, 58, .72); border-color: rgba(200, 164, 93, .28); }
[data-theme="dark"] .hero__lead { color: var(--on-dark-3); }
[data-theme="dark"] .btn--glass { color: var(--ivory); border-color: rgba(245, 242, 236, .6); background: rgba(245, 242, 236, .06); }
[data-theme="dark"] .btn--glass:hover { background: var(--ivory); color: var(--navy); }

/* Tablet & phone: photo first (pushed down so the title has wall to sit on), panel below */
@media (max-width: 899px) {
  .hero--film { --pos: 70% 0%; --frame-top: clamp(150px, 26vw, 220px); --title-top: calc(var(--header-h) + 34px); }
  .hero__stage { height: clamp(560px, 96svh, 860px); border-radius: 0 0 var(--radius-l) var(--radius-l); }
  .hero__frame { -webkit-mask: linear-gradient(180deg, transparent 0, #000 90px); mask: linear-gradient(180deg, transparent 0, #000 90px); }
  .hero__title { font-size: calc(clamp(2.3rem, .9rem + 9.6vw, 4.8rem) * var(--fit, 1)); }
  .hero__part { display: block; }
  html[lang="en"] .hero__title { font-size: calc(clamp(2.8rem, 1rem + 10vw, 5.6rem) * var(--fit, 1)); }
  .hero__panel { position: relative; z-index: 5; left: auto; bottom: auto; width: auto; margin: -64px var(--gutter) 0; }
  .hero__tag { padding: 6px 8px 6px 14px; }
  .hero__tag small { display: none; }
}
@media (max-width: 559px) {
  .hero--film { --pos: 74% 0%; --frame-top: 150px; }
  .hero__stage { height: min(600px, 80svh); }
  .hero__panel { margin-top: -40px; padding: 20px; }
  .hero__trust { display: none; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__actions .btn { --btn-h: 50px; padding: 0 .6em; font-size: var(--fs-sm); }
}

/* One orchestrated entrance: rack focus → title → tag/panel. */
@media (prefers-reduced-motion: no-preference) {
  .hero__soft { animation: rack 1.8s var(--ease) both; }
  .hero__plate, .hero__fg { animation: settle 2.4s var(--ease) both; }
  .hero__kicker { animation: fade-blur 1s var(--ease) .55s both; }
  .hero__word { animation: word-in 1.15s var(--ease) both; animation-delay: calc(.7s + var(--i, 0) * .12s); }
  .hero__panel { animation: rise .9s var(--ease) 1.25s both; }
}
@keyframes rack { 0% { opacity: 1; filter: blur(6px); } 100% { opacity: 0; filter: blur(0); } }
@keyframes settle { from { scale: 1.06; } to { scale: 1; } }
@keyframes fade-blur { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
@keyframes word-in { from { opacity: 0; filter: blur(14px); transform: translateY(.18em) scale(1.04); } to { opacity: 1; filter: none; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Proof row: four figures, thin dividers, no boxes */
.proof { padding: clamp(28px, 4vw, 44px) 0 8px; }
.proof__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 0; margin-block: 0; margin-inline: auto; text-align: center; }
.proof__list > div { display: flex; flex-direction: column-reverse; padding-inline: 12px; }
.proof__list > div + div { border-inline-start: 1px solid var(--border); }
.proof__list > div:nth-child(3) { border-inline-start: 0; }
@media (min-width: 760px) {
  .proof__list { grid-template-columns: repeat(4, 1fr); }
  .proof__list > div:nth-child(3) { border-inline-start: 1px solid var(--border); }
}
.proof dt { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.proof dd { margin: 0; color: var(--heading); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; line-height: 1.3; }

/* ---------- Before / after slider ---------- */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  border-radius: var(--radius-l); background: var(--navy-2);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  box-shadow: var(--shadow-1);
}
.ba-card--hero .ba { border-radius: 32px; box-shadow: 0 40px 80px -40px rgba(15, 31, 61, .55), 0 0 0 1px rgba(15, 31, 61, .06); }
@media (max-width: 639px) { .ba-card--hero .ba { border-radius: 22px; } }
.ba__hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(10, 22, 48, .6); backdrop-filter: blur(6px); color: var(--ivory); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.ba__hint .ic { color: var(--gold); }
.ba.is-touched .ba__hint { opacity: 0; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { position: absolute; inset: 0; will-change: clip-path; }
/* before = left, after = right in every language */
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(15, 31, 61, .15), 0 0 18px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-card--hero .ba__line { background: var(--gold); }
.ba__handle {
  position: absolute; top: 50%; left: var(--pos);
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--navy);
  box-shadow: 0 0 0 4px rgba(200, 164, 93, .45), 0 10px 24px -6px rgba(0, 0, 0, .55);
  cursor: grab; transition: transform .15s var(--ease), box-shadow .2s;
}
.ba-card--hero .ba__handle { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 6px rgba(200, 164, 93, .25), 0 10px 24px -6px rgba(0, 0, 0, .6); }
.ba.is-dragging .ba__handle { transform: scale(.92); cursor: grabbing; }
.ba__handle:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 50%; }
.ba__handle .ic { width: 22px; height: 22px; }
.ba__tag {
  position: absolute; top: 14px; padding: 4px 12px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92); color: var(--navy); font-size: var(--fs-xs); font-weight: 700; pointer-events: none;
  transition: opacity .2s;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: var(--gold); color: var(--navy); }
.ba-card { margin: 0; }
.ba-card__cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 4px 0; }
.ba-card__title { color: var(--heading); font-weight: 800; }
.ba-card__sub { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.7; }
.ba-grid { display: grid; gap: 28px 24px; }
@media (min-width: 760px) { .ba-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--ivory { background: var(--bg); }
.section--mist { background: var(--bg-alt); }
.section__head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.section__head--split > div { max-width: 640px; }
.eyebrow { color: var(--accent-text); font-weight: 700; font-size: var(--fs-sm); margin-bottom: 10px; }
.section__title { font-size: var(--fs-2xl); }
html[lang="en"] .section__title { letter-spacing: -.015em; }
.section__sub { margin-top: 12px; color: var(--text-2); font-size: var(--fs-md); max-width: 38em; }

/* Tabs / filter chips */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 18px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 42px; padding: 0 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
  font-weight: 700; font-size: var(--fs-sm);
  transition: background-color .2s, color .2s, border-color .2s;
}
.tab:hover { color: var(--heading); border-color: var(--heading); }
.tab[aria-selected="true"] { background: var(--tab-active-bg); border-color: var(--tab-active-bg); color: var(--tab-active-fg); }
.tab .ic { width: 18px; height: 18px; }
[data-filter-items] > [hidden] { display: none !important; }

/* Treatment cards */
.cards { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { border-color: rgba(200, 164, 93, .7); box-shadow: var(--shadow-1); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--bg); color: var(--accent-text); margin-bottom: 4px; }
.card__icon .ic { width: 28px; height: 28px; }
.card__title { font-size: var(--fs-lg); }
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__text { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.85; flex: 1; }
.card__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; color: var(--text-2); font-size: var(--fs-xs); }
.card__facts div { display: flex; align-items: center; gap: 6px; }
.card__facts dd { margin: 0; }
.card__facts .ic { width: 16px; height: 16px; color: var(--accent-text); }
.card__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--border); }
.card__actions .link, .card__actions .btn { position: relative; z-index: 1; }

/* Journey (a real sequence, so it is numbered) */
.journey { list-style: none; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .journey { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.journey__step { position: relative; padding: 26px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); }
@media (min-width: 1100px) {
  .journey__step { border-radius: 0; border-inline-start-width: 0; }
  .journey__step:first-child { border-inline-start-width: 1px; border-start-start-radius: var(--radius-l); border-end-start-radius: var(--radius-l); }
  .journey__step:last-child { border-start-end-radius: var(--radius-l); border-end-end-radius: var(--radius-l); }
}
.journey__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--accent-text); font-weight: 800; margin-bottom: 16px; }
.journey__step h3 { font-size: var(--fs-lg); margin-bottom: 6px; }
.journey__step p { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.85; }

/* Doctor */
.doctor { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .doctor { grid-template-columns: .85fr 1fr; gap: 72px; } }
.doctor__media { position: relative; max-width: 460px; }
.doctor__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-xl); background: var(--navy-2); }
.doctor__float {
  position: absolute; inset-inline-end: -12px; bottom: 28px;
  display: flex; gap: 18px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: var(--shadow-2);
}
@media (min-width: 1100px) { .doctor__float { inset-inline-end: -36px; } }
.doctor__float div { display: flex; flex-direction: column; }
.doctor__float b { color: var(--heading); font-size: 1.5rem; font-weight: 800; line-height: 1.3; }
.doctor__float span { color: var(--text-2); font-size: var(--fs-xs); }
.doctor__title { color: var(--accent-text); font-weight: 700; margin: 6px 0 18px; }
.doctor__license { display: flex; align-items: center; gap: 8px; margin: 18px 0 24px; color: var(--text-2); font-size: var(--fs-sm); }
.doctor__license .ic { color: var(--accent-text); }

.prose { color: var(--text-2); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.ticks { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.ticks li { position: relative; padding-inline-start: 30px; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-text);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm-1.8 15.7L6.3 12.8l1.4-1.4 2.5 2.5 6.1-6.1 1.4 1.4-7.5 7.5Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask: var(--tick) center / contain no-repeat;
          mask: var(--tick) center / contain no-repeat;
}

/* Testimonials */
.quotes { list-style: none; display: grid; gap: 16px; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.quote { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); }
.quote__mark { width: 40px; height: 40px; color: var(--gold); }
[dir="rtl"] .quote__mark { transform: scaleX(-1); }
.quote blockquote { margin: 0; flex: 1; color: var(--text); }
.quote__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.quote__name { color: var(--heading); font-weight: 800; }
.quote__meta { color: var(--text-2); font-size: var(--fs-xs); }
.stars { display: inline-flex; color: var(--gold); }
.stars .ic { width: 16px; height: 16px; }

/* FAQ */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } .faq-wrap .section__head { position: sticky; top: 120px; } }
.faq-wrap .section__head .btn { margin-top: 22px; }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); transition: border-color .2s; }
.faq__item[open] { border-color: rgba(200, 164, 93, .6); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; color: var(--heading); font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ic { color: var(--accent-text); transition: transform .3s var(--ease); }
.faq__item[open] .faq__ic { transform: rotate(45deg); }
.faq__a { padding: 0 20px 20px; color: var(--text-2); }

/* ---------- Booking section (navy) ---------- */
.booking { background: var(--dark-bg); color: var(--on-dark); padding: clamp(64px, 9vw, 112px) 0; position: relative; overflow: hidden; }
.booking::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-radial-gradient(circle at 0% 0%, transparent 0 46px, rgba(200, 164, 93, .06) 46px 47px);
}
[dir="rtl"] .booking::before { background: repeating-radial-gradient(circle at 100% 0%, transparent 0 46px, rgba(200, 164, 93, .06) 46px 47px); }
.booking__grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 960px) { .booking__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; } }
.booking__title { color: var(--ivory); font-size: var(--fs-2xl); }
.booking__lead { margin-top: 14px; color: var(--on-dark-3); max-width: 30em; }
.booking__contact { list-style: none; display: grid; gap: 16px; margin: 32px 0; }
.booking__contact li { display: flex; gap: 14px; align-items: flex-start; }
.booking__contact .ic { width: 42px; height: 42px; padding: 10px; border-radius: 14px; background: var(--dark-card); border: 1px solid var(--dark-border); color: var(--gold); }
.booking__contact span { display: block; color: var(--on-dark-2); font-size: var(--fs-xs); }
.booking__contact a, .booking__contact p { color: var(--ivory); font-weight: 700; }
.booking__card { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field__label { color: var(--heading); font-weight: 700; font-size: var(--fs-sm); }
.field__error { color: var(--error-c); font-size: var(--fs-xs); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.input, .select select {
  width: 100%; min-height: 50px; padding: 12px 16px;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border); border-radius: 14px;
  font-size: 1rem; line-height: 1.6; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
textarea.input { resize: vertical; min-height: 80px; }
.input::placeholder { color: color-mix(in srgb, var(--text-2) 70%, transparent); }
.input:focus, .select select:focus { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.input--ltr { direction: ltr; text-align: left; }
[dir="rtl"] .input--ltr { text-align: right; }
.input[aria-invalid="true"], .select select[aria-invalid="true"] { border-color: var(--error-c); }
.select { position: relative; }
.select select { appearance: none; padding-inline-end: 44px; cursor: pointer; }
.select__chev { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-2); }

.bform__error { color: var(--error-c); font-weight: 600; font-size: var(--fs-sm); margin-bottom: 10px; }
.bform__error:empty { display: none; }
.bform__note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; color: var(--text-2); font-size: var(--fs-xs); line-height: 1.7; }
.bform__note .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--accent-text); }
.field--note summary { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; list-style: none; }
.field--note summary::-webkit-details-marker { display: none; }
.field--note[open] summary { margin-bottom: 8px; }

/* Dark-tone form (inside the navy booking section) */
.bform--dark .field__label { color: var(--ivory); }
.bform--dark .input, .bform--dark .select select { background: var(--navy); border-color: var(--line-dark); color: var(--ivory); }
[data-theme="dark"] .bform--dark .input, [data-theme="dark"] .bform--dark .select select { background: #0A1630; }
.bform--dark .input::placeholder { color: #8090AA; }
.bform--dark .input:focus, .bform--dark .select select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 93, .25); }
.bform--dark .select__chev, .bform--dark .bform__note { color: var(--on-dark-3); }
.bform--dark .bform__note .ic, .bform--dark .field--note summary { color: var(--gold-light); }
.bform--dark .field__error, .bform--dark .bform__error { color: #F2948A; }
.bform--dark .slots__hint { color: var(--on-dark-2); }
.bform--dark .slot { background: transparent; border-color: var(--line-dark); color: var(--ivory); }
.bform--dark .slot:hover:not(:disabled) { border-color: var(--gold); }
.bform--dark .slot[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.bform--dark .bform__done-title { color: var(--ivory); }
.bform--dark .bform__done-text { color: var(--on-dark-3); }
.bform--dark .btn--line { border-color: var(--ivory); color: var(--ivory); }

/* Date field + picker */
.datefield { position: relative; }
.datefield__btn { display: flex; align-items: center; gap: 10px; text-align: start; cursor: pointer; }
.datefield__btn .ic { color: var(--accent-text); }
.bform--dark .datefield__btn .ic { color: var(--gold); }
.datefield__text { flex: 1; }
.datefield__btn:not(.has-value) .datefield__text { color: color-mix(in srgb, var(--text-2) 80%, transparent); }
.bform--dark .datefield__btn:not(.has-value) .datefield__text { color: #8090AA; }
.datefield__chev { color: var(--text-2) !important; transition: transform .2s; }
.datefield__btn[aria-expanded="true"] .datefield__chev { transform: rotate(180deg); }
.datepicker {
  position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline: 0;
  max-width: 360px; padding: 14px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: var(--shadow-2);
  animation: pop .18s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp__title { color: var(--heading); font-weight: 800; }
.dp__nav { display: flex; gap: 4px; }
.dp__nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); color: var(--heading); display: grid; place-items: center; }
.dp__nav button:disabled { opacity: .35; cursor: not-allowed; }
.dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.dp__wd { color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; padding: 4px 0; }
.dp__day {
  height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--text);
  font-weight: 600; font-size: var(--fs-sm); font-variant-numeric: tabular-nums;
}
.dp__day:hover:not(:disabled) { background: var(--bg); }
.dp__day:disabled { color: color-mix(in srgb, var(--text-2) 45%, transparent); cursor: not-allowed; text-decoration: line-through; text-decoration-thickness: 1px; }
.dp__day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.dp__day[aria-selected="true"] { background: var(--navy); color: var(--ivory); }
[data-theme="dark"] .dp__day[aria-selected="true"] { background: var(--gold); color: var(--navy); }
.dp__foot { margin-top: 8px; color: var(--text-2); font-size: var(--fs-xs); display: flex; align-items: center; gap: 6px; }
.dp__foot::before { content: ""; width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--gold); }

/* Time slots */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.slots__hint { grid-column: 1 / -1; color: var(--text-2); font-size: var(--fs-sm); padding: 10px 0; }
.slot {
  height: 44px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text); font-weight: 700; font-size: var(--fs-sm); font-variant-numeric: tabular-nums;
  transition: background-color .15s, border-color .15s, color .15s;
}
.slot:hover:not(:disabled) { border-color: var(--heading); }
.slot[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
[data-theme="dark"] .slot[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.slot:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.slots.is-loading { opacity: .6; }

/* Done state */
.bform__done { text-align: center; padding: 18px 8px 6px; outline: none; }
.bform__done-icon .ic { width: 64px; height: 64px; color: var(--success-c); }
.bform--dark .bform__done-icon .ic { color: #7AD3A6; }
.bform__done-title { color: var(--heading); font-size: var(--fs-xl); font-weight: 800; margin-top: 10px; }
.bform__done-text { color: var(--text-2); margin: 8px auto 14px; max-width: 26em; }
.bform__done-code { margin-bottom: 20px; color: var(--text-2); }
.bform__done-code b { color: var(--accent-text); font-size: 1.15rem; letter-spacing: .06em; }
.bform--dark .bform__done-code b { color: var(--gold-light); }
@media (prefers-reduced-motion: no-preference) {
  .bform__done:not([hidden]) .bform__done-icon .ic { animation: pop-in .5s var(--ease); }
}
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } }

/* Booking dialog (bottom sheet on phones) */
.sheet {
  width: min(560px, 100%); max-height: min(92dvh, 860px); padding: 0; border: 0;
  border-radius: var(--radius-l); background: var(--surface); color: var(--text); box-shadow: var(--shadow-2);
  overflow: auto;
}
.sheet::backdrop { background: rgba(10, 22, 48, .55); backdrop-filter: blur(3px); }
.sheet__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 22px 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
.sheet__head .icon-btn:hover { background: var(--bg); }
.sheet__title { font-size: var(--fs-xl); }
.sheet__sub { color: var(--text-2); font-size: var(--fs-sm); }
.sheet .bform { padding: 18px 22px 22px; }
@media (max-width: 639px) {
  .sheet { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: var(--radius-l) var(--radius-l) 0 0; max-height: 94dvh; }
}
@media (prefers-reduced-motion: no-preference) {
  .sheet[open] { animation: sheet-in .35s var(--ease); }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } }
body.has-modal { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--on-dark-2); padding: 64px 0 28px; border-top: 1px solid rgba(200, 164, 93, .35); }
.site-footer__grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.brand--footer { color: var(--ivory); padding: 0; margin-bottom: 14px; }
.site-footer__brand p { font-size: var(--fs-sm); max-width: 26em; }
.socials { display: flex; gap: 4px; margin-top: 14px; }
.site-footer__title { color: var(--ivory); font-weight: 800; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; font-size: var(--fs-sm); }
.site-footer a:hover { color: var(--ivory); }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .ic { color: var(--gold); margin-top: 4px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(200, 164, 93, .22); font-size: var(--fs-xs); }

.demo-note { width: 100%; color: var(--gold-light); }

/* ---------- Chat widget ---------- */
.chat { position: fixed; z-index: 60; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
.chat__fab {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 18px; border: 0; border-radius: var(--radius-pill);
  background: var(--navy); color: var(--ivory); font-weight: 700; font-size: var(--fs-sm);
  box-shadow: 0 0 0 2px rgba(200, 164, 93, .75), 0 16px 32px -12px rgba(10, 22, 48, .6);
  transition: transform .2s var(--ease);
}
[data-theme="dark"] .chat__fab { background: var(--gold); color: var(--navy); }
.chat__fab:hover { transform: translateY(-2px); }
.chat__fab .ic { width: 24px; height: 24px; color: var(--gold); }
[data-theme="dark"] .chat__fab .ic { color: var(--navy); }
.chat__badge { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--error); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.chat.is-open .chat__fab { display: none; }
@media (max-width: 639px) {
  .chat__fab { width: 56px; padding: 0; justify-content: center; }
  .chat__fab-label { display: none; }
}
@media (max-width: 1039px) { .page-procedure .chat { bottom: calc(84px + env(safe-area-inset-bottom)); } }
.chat__panel {
  position: fixed; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(400px, calc(100vw - 32px)); max-height: min(680px, calc(100dvh - 32px));
  display: flex; flex-direction: column;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius-l); box-shadow: var(--shadow-2); overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) { .chat__panel:not([hidden]) { animation: sheet-in .3s var(--ease); } }
@media (max-width: 639px) { .chat__panel { inset: auto 0 0 0; width: 100%; max-height: 92dvh; border-radius: var(--radius-l) var(--radius-l) 0 0; } }
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 18px; background: var(--navy); color: var(--ivory); }
[dir="rtl"] .chat__head { padding: 14px 18px 14px 14px; }
.chat__who { display: flex; align-items: center; gap: 12px; }
.chat__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-2); color: var(--gold); }
.chat__avatar .ic { width: 28px; height: 28px; }
.chat__title { color: var(--ivory); font-size: var(--fs-md); }
.chat__status { display: flex; align-items: center; gap: 6px; color: var(--on-dark-2); font-size: var(--fs-xs); line-height: 1.5; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5BD29A; box-shadow: 0 0 0 3px rgba(91, 210, 154, .2); }
.chat__context { display: flex; align-items: flex-start; gap: 8px; padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--border); font-size: var(--fs-xs); line-height: 1.7; color: var(--text-2); }
.chat__context .ic { color: var(--accent-text); margin-top: 2px; }
.chat__context b { color: var(--heading); }
.chat__start { padding: 16px; overflow: auto; }
.chat__to { border: 0; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chat__to legend { font-weight: 700; color: var(--heading); font-size: var(--fs-sm); margin-bottom: 8px; padding: 0; }
.chat__to-opt input { position: absolute; opacity: 0; }
.chat__to-opt span { display: grid; gap: 2px; padding: 12px; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; line-height: 1.5; transition: border-color .2s, background-color .2s; height: 100%; }
.chat__to-opt span .ic { color: var(--accent-text); margin-bottom: 4px; }
.chat__to-opt b { color: var(--heading); font-size: var(--fs-sm); }
.chat__to-opt small { color: var(--text-2); font-size: var(--fs-xs); }
.chat__to-opt input:checked + span { border-color: var(--heading); background: var(--bg); box-shadow: inset 0 0 0 1px var(--heading); }
.chat__to-opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.chat__start .field-row { grid-template-columns: 1fr 1fr; }
.chat__thread { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.chat__log { list-style: none; flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 240px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: var(--fs-sm); line-height: 1.75; overflow-wrap: anywhere; }
.msg__body { white-space: pre-wrap; }
.msg--visitor { align-self: flex-start; background: var(--navy); color: var(--ivory); border-end-start-radius: 6px; }
[data-theme="dark"] .msg--visitor { background: var(--navy-2); }
.msg--staff { align-self: flex-end; background: var(--bg); border: 1px solid var(--border); color: var(--text); border-end-end-radius: 6px; }
.msg__name { display: block; color: var(--accent-text); font-weight: 700; font-size: var(--fs-xs); }
.msg__time { display: block; opacity: .65; font-size: 11px; margin-top: 2px; }
.chat__compose { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--border); }
.chat__compose .input { min-height: 46px; max-height: 120px; resize: none; }
.chat__compose .icon-btn { width: 46px; height: 46px; flex: none; }
.chat__new { border: 0; background: transparent; color: var(--accent-text); font-weight: 700; font-size: var(--fs-xs); padding: 0 0 10px; }

/* ---------- Procedure page ---------- */
.crumbs { padding-top: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--text-2); font-size: var(--fs-xs); }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a:hover { color: var(--heading); }
.p-hero { padding-block: 18px 36px; }
.p-hero__grid { display: grid; gap: 24px; }
.p-hero__chip { margin-bottom: 14px; }
.p-hero__title { font-size: var(--fs-3xl); }
.p-hero__sum { margin-top: 14px; max-width: 40em; color: var(--text-2); font-size: var(--fs-lg); line-height: 1.85; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 28px 0 0; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); }
.facts dt { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; }
.facts dt .ic { color: var(--accent-text); width: 18px; height: 18px; }
.facts dd { margin: 4px 0 0; color: var(--heading); font-weight: 800; }

.p-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 80px; }
@media (min-width: 1040px) { .p-body { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } }
.toc { position: sticky; top: calc(var(--header-h) + 22px); z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 8px; margin-bottom: 28px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: var(--radius-pill); scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; padding: 7px 14px; border-radius: var(--radius-pill); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; transition: background-color .2s, color .2s; }
.toc a:hover { color: var(--heading); }
.toc a.is-active { background: var(--tab-active-bg); color: var(--tab-active-fg); }
.p-section { padding: 8px 0 28px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.p-section:last-of-type { border-bottom: 0; }
.p-section h2 { font-size: var(--fs-xl); margin-bottom: 12px; }
.p-section .prose { max-width: 44em; }
.p-intro { font-size: var(--fs-lg); color: var(--text); line-height: 1.95; }
.p-aside { position: relative; }
@media (min-width: 1040px) { .p-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.p-aside__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 22px; box-shadow: var(--shadow-1); }
.p-aside__title { font-size: var(--fs-lg); }
.p-aside__sub { color: var(--text-2); font-size: var(--fs-sm); margin: 2px 0 16px; }
.p-aside__chat { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border: 1px dashed var(--border); border-radius: var(--radius-m); background: transparent; width: 100%; text-align: start; color: var(--text); }
.p-aside__chat:hover { border-color: var(--heading); }
.p-aside__chat .ic { width: 28px; height: 28px; color: var(--accent-text); }
.p-aside__chat b { display: block; color: var(--heading); font-size: var(--fs-sm); }
.p-aside__chat small { color: var(--text-2); font-size: var(--fs-xs); }
.p-block { padding: 64px 0; }
.related { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }

.mobile-book {
  position: fixed; z-index: 55; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 8px 8px 18px; border-radius: var(--radius-pill); background: var(--navy); color: var(--ivory);
  box-shadow: 0 16px 32px -12px rgba(10, 22, 48, .6);
  transition: transform .3s var(--ease);
}
[dir="rtl"] .mobile-book { padding: 8px 18px 8px 8px; }
.mobile-book p { font-size: var(--fs-xs); color: var(--on-dark-2); line-height: 1.4; }
.mobile-book b { display: block; color: var(--ivory); font-size: var(--fs-sm); }
.mobile-book.is-away { transform: translateY(140%); }
@media (min-width: 1040px) { .mobile-book { display: none; } }

/* ---------- Lists & simple pages ---------- */
.page-head { padding-block: 40px 8px; }
.page-head h1 { font-size: var(--fs-3xl); }
.page-head p { margin-top: 10px; color: var(--text-2); max-width: 40em; }
.cat-block { margin-top: 44px; }
.cat-block h2 { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xl); margin-bottom: 18px; }
.cat-block h2 .ic { color: var(--accent-text); }
.narrow { max-width: 640px; margin-inline: auto; padding: 48px var(--gutter) 96px; }
.empty { text-align: center; padding: 96px var(--gutter); }
.empty h1 { font-size: var(--fs-3xl); }
.empty p { color: var(--text-2); margin: 10px 0 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .chat, .mobile-book, .booking, .site-footer, .sheet { display: none !important; }
}

/* ==========================================================================
   Surgical layer — pale scrub-teal grounds, fine registration marks,
   instrument-like rules. Used sparingly so navy & gold stay the brand.
   ========================================================================== */
.section--teal { background: var(--teal-50); }
.section--teal .tab:not([aria-selected="true"]) { background: color-mix(in srgb, var(--surface) 80%, var(--teal-50)); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before {
  content: ""; width: 26px; height: 9px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / 1.5px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 50% 2px / 1.5px 70% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 1.5px 100% no-repeat;
  color: var(--teal); opacity: .9;
}
[dir="rtl"] .eyebrow::before { transform: scaleX(-1); }

/* Card icon on a teal tile */
.card__icon { background: var(--teal-50); color: var(--teal-ink); border: 1px solid var(--teal-100); }
.card:hover { border-color: color-mix(in srgb, var(--teal) 55%, transparent); }

/* Before/after: registration marks around the photo, like a surgical marking pen */
.ba-wrap { position: relative; padding: 9px; }
.ba-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; color: var(--teal); opacity: .75;
  --l: 18px; --t: 1.5px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / var(--l) var(--t) no-repeat,
    linear-gradient(currentColor, currentColor) 0 0 / var(--t) var(--l) no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / var(--l) var(--t) no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / var(--t) var(--l) no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / var(--l) var(--t) no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / var(--t) var(--l) no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / var(--l) var(--t) no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / var(--t) var(--l) no-repeat;
}
.ba-card__cap { padding-inline: 13px; }

/* Body photos: blurred until opened */
.ba--veiled .ba__img { filter: blur(22px) saturate(.6); transform: scale(1.08); }
.ba--veiled .ba__line, .ba--veiled .ba__handle, .ba--veiled .ba__tag { visibility: hidden; }
.ba__veil {
  position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 4px;
  border: 0; background: rgba(13, 26, 53, .35); color: var(--ivory); cursor: pointer; text-align: center;
}
.ba__veil .ic { width: 34px; height: 34px; margin-bottom: 6px; padding: 8px; border-radius: 50%; background: rgba(245, 242, 236, .14); box-sizing: content-box; }
.ba__veil b { font-size: var(--fs-md); }
.ba__veil span { font-size: var(--fs-xs); color: var(--on-dark-3); }
.ba__veil:hover .ic { background: rgba(245, 242, 236, .24); }

/* Journey: steps joined by a dashed "incision" line */
@media (min-width: 1100px) {
  .journey { position: relative; }
  .journey__num { position: relative; z-index: 1; background: var(--surface); }
}
.journey__num { border-color: var(--teal); color: var(--teal-ink); }

/* Doctor section: larger portrait, pale teal ground, a fine frame offset like a scrub tray */
.section--doctor { background: linear-gradient(180deg, var(--teal-50), var(--bg) 85%); }
.doctor__media { max-width: 500px; }
.doctor__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--teal-200); border-radius: var(--radius-xl); z-index: -1;
}
[dir="rtl"] .doctor__media::before { inset: 18px 18px -18px -18px; }
.doctor__media { isolation: isolate; }
.doctor__media img { box-shadow: 0 40px 70px -40px rgba(15, 31, 61, .55); background: var(--teal-100); }
.doctor__badge {
  position: absolute; bottom: 22px; inset-inline-start: 22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px);
  color: var(--navy); font-size: var(--fs-xs); font-weight: 700; box-shadow: 0 10px 24px -14px rgba(10, 22, 48, .5);
}
.doctor__badge .ic { color: var(--teal-ink); width: 18px; height: 18px; }

/* Scroll reveals (added by site.js only when motion is allowed) */
.rv-on .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--rv-i, 0) * 70ms); }
.rv-on .rv.is-in { opacity: 1; transform: none; }

/* Chat: AI / person switch */
.chat__mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: var(--radius-pill); background: var(--bg); border: 1px solid var(--border); }
.chat__mode label { position: relative; }
.chat__mode input { position: absolute; opacity: 0; }
.chat__mode span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 10px; border-radius: var(--radius-pill); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; cursor: pointer; text-align: center; line-height: 1.4; }
.chat__mode span .ic { width: 18px; height: 18px; }
.chat__mode input:checked + span { background: var(--navy); color: var(--ivory); }
.chat__mode input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
[data-theme="dark"] .chat__mode input:checked + span { background: var(--gold); color: var(--navy); }
.chat__modebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); background: var(--teal-50); font-size: var(--fs-xs); color: var(--teal-ink); font-weight: 600; }
.chat__modebar .ic { width: 16px; height: 16px; }
.chat__modebar button { border: 0; background: none; color: var(--heading); font-weight: 800; font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 3px; padding: 4px 2px; }
.msg--ai .msg__name::after { content: attr(data-ai); margin-inline-start: 6px; padding: 0 6px; border-radius: 6px; background: var(--teal-100); color: var(--teal-ink); font-size: 10px; font-weight: 800; vertical-align: 1px; }
.msg--typing { opacity: .8; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .4; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.msg--note { align-self: center; max-width: 90%; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--teal-50); color: var(--teal-ink); font-size: var(--fs-xs); font-weight: 600; text-align: center; }
@media (max-width: 899px) {
  .doctor__media::before { inset: 12px -12px -12px 12px; }
  [dir="rtl"] .doctor__media::before { inset: 12px 12px -12px -12px; }
}

/* ---------- Booking wizard (home): one question at a time ---------- */
.wiz { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.wiz__step { display: flex; align-items: center; gap: 8px; color: var(--on-dark-2); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.wiz__step span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--dark-border); color: var(--on-dark-2); transition: background-color .3s, border-color .3s, color .3s; }
.wiz__step.is-now { color: var(--ivory); }
.wiz__step.is-now span { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 93, .15); }
.wiz__step.is-done span { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.wiz__bar { height: 3px; border-radius: 3px; background: var(--dark-border); overflow: hidden; margin-bottom: 22px; }
.wiz__bar i { display: block; height: 100%; width: max(8%, var(--p, 0%)); background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: inherit; transition: width .6s var(--ease); }
[dir="rtl"] .wiz__bar i { margin-inline-start: 0; margin-left: auto; }
.wiz__q { color: var(--ivory); font-size: var(--fs-lg); font-weight: 800; margin-bottom: 14px; }
.wiz__summary { margin: -6px 0 14px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(200, 164, 93, .12); color: var(--gold-light); font-size: var(--fs-xs); font-weight: 700; display: inline-block; }
.wiz__summary:empty { display: none; }
.wiz__nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; }
.wiz__nav--end { justify-content: flex-start; }
.wiz__panel.is-in { animation: wiz-in .5s var(--ease) both; }
.wiz__panel.is-back { animation: wiz-back .5s var(--ease) both; }
@keyframes wiz-in { from { opacity: 0; transform: translateX(calc(var(--wdir, 1) * -24px)); } to { opacity: 1; transform: none; } }
@keyframes wiz-back { from { opacity: 0; transform: translateX(calc(var(--wdir, 1) * 24px)); } to { opacity: 1; transform: none; } }
[dir="ltr"] .wiz__panel { --wdir: -1; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pick {
  display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; text-align: start;
  border-radius: var(--radius-m); border: 1.5px solid var(--dark-border); background: rgba(245, 242, 236, .04);
  color: var(--ivory); font-weight: 700; font-size: var(--fs-sm); line-height: 1.5;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.pick .ic { width: 24px; height: 24px; color: var(--gold-light); flex: none; }
.pick:hover { border-color: var(--gold); transform: translateY(-2px); }
.pick[aria-checked="true"] { border-color: var(--gold); background: rgba(200, 164, 93, .16); box-shadow: 0 0 0 3px rgba(200, 164, 93, .18); }
@media (prefers-reduced-motion: reduce) { .wiz__panel.is-in, .wiz__panel.is-back { animation: none; } }
