/* drmarahrahhal.com — design system, redesigned 2026-12-04.
   Direction: clinical serif, warm cosmetic variant. Black, beige and gold, chosen by the client.
   The surgeon's precision is the grid and the hairlines; the artist's eye is living black silk with gold light
   behind the dark sections, and organic shapes instead of geometry.
   Colour roles: beige base 60–70% of the page, black sections 25–35%, gold ≤ 3% (action, numbers, one clause). */

:root {
  --c-base: #F3EEE6;        /* beige paper */
  --c-surface: #E8DFD2;     /* deeper beige */
  --c-card: #FAF7F2;
  --c-ink: #15130F;         /* warm black: 16:1 on the base */
  --c-ink-2: #2A2620;
  --c-muted: #5A5247;       /* 6.6:1 on the base */
  --c-gold: #C2A06A;        /* gold: fills carry black text (7.5:1); lines and numbers on black */
  --c-gold-hover: #D2B47F;
  --c-gold-ink: #7E6131;    /* gold for text on beige (5:1) */
  --c-on-dark: #F3EEE6;
  --c-on-dark-muted: #B3A898; /* 7.9:1 on black */
  --c-line: rgba(21, 19, 15, .14);
  --c-line-2: rgba(21, 19, 15, .24);
  --c-line-dark: rgba(243, 238, 230, .16);
  --c-gold-line: rgba(194, 160, 106, .42);

  --f-display: "Markazi Text", "Noto Naskh Arabic", "Amiri", serif;
  --f-text: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-label: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --fs-body: 18px;
  --lh-body: 1.85;
  --fs-hero: clamp(46px, 6.4vw, 100px);
  --lh-hero: 1.12;
  --fs-h1: clamp(42px, 5.2vw, 80px);
  --fs-h2: clamp(34px, 3.9vw, 60px);
  --lh-h2: 1.18;
  --fs-statement: clamp(32px, 3.5vw, 54px);
  --fs-h3: clamp(20px, 1.5vw, 24px);
  --fs-label: 13.5px;
  --tr-display: 0;

  --container: 1320px;
  --margin: clamp(16px, 3.2vw, 40px);
  --gutter: clamp(16px, 2.4vw, 32px);
  --section: clamp(72px, 9vw, 136px);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-ui: cubic-bezier(.4, 0, .2, 1);
  --dur-ui: .25s;
  --shadow: 0 24px 48px -28px rgba(21, 19, 15, .45);
  color-scheme: light;
}

html[lang="en"] {
  --f-display: "Fraunces", "Times New Roman", serif;
  --f-text: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-label: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-body: 17px;
  --lh-body: 1.65;
  --fs-hero: clamp(44px, 6vw, 96px);
  --lh-hero: 1.02;
  --fs-h1: clamp(40px, 4.8vw, 76px);
  --fs-h2: clamp(32px, 3.6vw, 56px);
  --lh-h2: 1.08;
  --fs-statement: clamp(30px, 3.2vw, 50px);
  --fs-label: 12px;
  --tr-display: -.02em;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-ink);
  font: 400 var(--fs-body)/var(--lh-body) var(--f-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
figure, blockquote { margin: 0; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--c-gold); color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-gold-ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible { outline-color: var(--c-gold); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); letter-spacing: var(--tr-display); }
h3, h4 { font-family: var(--f-text); font-weight: 600; font-size: var(--fs-h3); line-height: 1.5; }
html[lang="en"] h3, html[lang="en"] h4 { font-weight: 500; letter-spacing: -.005em; }
.ltr, bdi.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.num, .stat-value, .tl-year { font-variant-numeric: lining-nums tabular-nums; }
.muted { color: var(--c-muted); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; padding: 10px 18px; border-radius: 999px; background: var(--c-gold); color: var(--c-ink); font-weight: 600; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ---------- The living background ---------- */
/* Without WebGL (or before it starts) dark sections show a still gold glow on black. */
.silk { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease-ui); }
html.silk-on .silk { opacity: 1; }
.dark {
  background:
    radial-gradient(80% 70% at 18% 22%, rgba(194, 160, 106, .17), transparent 62%),
    radial-gradient(60% 60% at 85% 105%, rgba(194, 160, 106, .08), transparent 60%),
    var(--c-ink);
}
html.silk-on .dark.live { background: transparent; }
:where(main > *) { background-color: var(--c-base); }
:root { --sheet: clamp(26px, 3.2vw, 48px); }
/* Beige sheets with soft rounded edges slide over the silk. */
main > .live + :not(.dark) { position: relative; z-index: 1; margin-top: calc(var(--sheet) * -1); border-radius: var(--sheet) var(--sheet) 0 0; }
main > :not(.dark):has(+ .live) { position: relative; z-index: 1; margin-bottom: calc(var(--sheet) * -1); border-radius: 0 0 var(--sheet) var(--sheet); }
main > .live + :not(.dark):has(+ .live) { border-radius: var(--sheet); }
main > .live:has(+ :not(.dark)) { padding-bottom: calc(var(--section) + var(--sheet)); }
main > .hero.live:has(+ :not(.dark)) { padding-bottom: var(--sheet); }
main > :not(.dark) + .live { padding-top: calc(var(--section) + var(--sheet)); }
main > :not(.dark) + .cta-band.live { padding-top: calc(clamp(80px, 10vw, 148px) + var(--sheet)); }
main > :not(.dark) + .page-hero.live { padding-top: calc(clamp(40px, 6vw, 88px) + var(--sheet)); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: var(--section); position: relative; }
.section.pt-0 { padding-top: 0; }
.bg-paper { background: var(--c-surface); }
.dark { background: var(--c-ink); color: var(--c-on-dark); }
.dark .muted { color: var(--c-on-dark-muted); }
.two-col { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.narrow-col { max-width: 820px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > p { color: var(--c-muted); max-width: 34em; }
.dark .section-head > p { color: var(--c-on-dark-muted); }
.section-foot { margin-top: clamp(32px, 4vw, 48px); }
.h2 { font: 500 var(--fs-h2)/var(--lh-h2) var(--f-display); letter-spacing: var(--tr-display); }
.h3 { font: 600 var(--fs-h3)/1.5 var(--f-text); }
.lead { font-size: clamp(18px, 1.35vw, 20px); color: var(--c-muted); }

/* Label: small, bold, with a gold dot. No uppercase in Arabic; mono caps in English. */
.kicker, .eyebrow {
  display: flex; align-items: center; gap: .6em; margin: 0 0 18px;
  font: 600 var(--fs-label)/1.4 var(--f-label); color: var(--c-muted);
}
.kicker::before, .eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); }
.kicker .num { color: var(--c-gold-ink); font-weight: 600; }
.dark .kicker, .dark .eyebrow { color: var(--c-on-dark-muted); }
.dark .kicker .num { color: var(--c-gold); }
html[lang="en"] .kicker, html[lang="en"] .eyebrow { font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15.5px/1.2 var(--f-text); white-space: nowrap; cursor: pointer;
  transition: background var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
}
html[lang="en"] .btn { font-weight: 500; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }
/* On beige the action is black; on black it is gold with black text. */
.btn-dark { background: var(--c-ink); color: var(--c-on-dark); }
.btn-dark:hover { background: var(--c-ink-2); }
.btn-line { border-color: var(--c-line-2); color: var(--c-ink); }
.btn-line:hover { border-color: var(--c-ink); }
.btn-light { background: var(--c-gold); color: var(--c-ink); }
.btn-light:hover { background: var(--c-gold-hover); }
.dark .btn-dark, .site-header .btn-dark, .mobile-menu .btn-dark, .site-footer .btn-dark { background: var(--c-gold); color: var(--c-ink); }
.dark .btn-dark:hover, .site-header .btn-dark:hover, .mobile-menu .btn-dark:hover, .site-footer .btn-dark:hover { background: var(--c-gold-hover); }
.dark .btn-line { border-color: var(--c-line-dark); color: var(--c-on-dark); }
.dark .btn-line:hover { border-color: var(--c-on-dark); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; border-bottom: 1px solid var(--c-line-2); transition: border-color var(--dur-ui) var(--ease-ui);
}
.link-arrow:hover { border-color: currentColor; }
.dark .link-arrow { border-color: var(--c-line-dark); }
.dark .link-arrow:hover { border-color: var(--c-gold); }
.arrow { width: 20px; height: 20px; flex: none; transition: transform var(--dur-ui) var(--ease-ui); }
a:hover > .arrow, a:hover .arrow, .btn:hover .arrow { transform: translateX(-4px); }
[dir="ltr"] .arrow { transform: scaleX(-1); }
[dir="ltr"] a:hover > .arrow, [dir="ltr"] a:hover .arrow, [dir="ltr"] .btn:hover .arrow { transform: scaleX(-1) translateX(-4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: var(--c-ink); color: var(--c-on-dark);
  box-shadow: 0 1px 0 transparent; transition: transform .35s var(--ease-ui), box-shadow .25s var(--ease-ui);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--c-line-dark); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html.silk-on .site-header { background: rgba(21, 19, 15, .9); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-inline-end: auto; min-height: 44px; }
.brand-mark { width: 38px; height: 38px; flex: none; color: var(--c-gold); }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font: 500 25px/1.1 var(--f-display); letter-spacing: var(--tr-display); }
html[lang="en"] .brand-name { font-size: 21px; }
.brand-sub { font-size: 12px; color: var(--c-on-dark-muted); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); font-size: 15px; }
.nav a { position: relative; padding-block: 10px; color: var(--c-on-dark); opacity: .82; transition: opacity var(--dur-ui) var(--ease-ui); }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: var(--c-gold); }
.lang-switch { font-size: 14px; color: var(--c-on-dark-muted); padding: 10px 2px; min-height: 44px; display: inline-flex; align-items: center; }
.lang-switch:hover { color: var(--c-on-dark); }
.header-cta { flex: none; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--c-line-dark); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; inset-inline-start: 13px; width: 18px; height: 1.5px; background: var(--c-on-dark); transition: transform .3s var(--ease-ui), top .3s var(--ease-ui); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55; background: var(--c-ink); color: var(--c-on-dark);
  padding: 8px var(--margin) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 20px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease-ui), transform .3s var(--ease-ui), visibility 0s linear .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--c-line-dark); font: 500 24px/1.3 var(--f-display); }
.mobile-menu nav a .num { font: 400 13px/1 var(--f-text); color: var(--c-gold); }
.mobile-menu .btn { width: 100%; }
.mobile-menu .m-lang { align-self: center; }

/* ---------- Home: hero ---------- */
.hero { background: var(--c-ink); color: var(--c-on-dark); padding-block: clamp(36px, 6vw, 88px) 0; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero .eyebrow { color: var(--c-on-dark-muted); }
.hero-title { font: 500 var(--fs-hero)/var(--lh-hero) var(--f-display); letter-spacing: var(--tr-display); margin: 0 0 10px; }
html[lang="en"] .hero-title { font-weight: 300; }
.hero-title .t-pre { display: block; font-size: .42em; line-height: 1.4; color: var(--c-on-dark-muted); font-weight: 500; }
html[lang="en"] .hero-title .t-pre { font-family: var(--f-label); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.hero-tagline { font: 500 clamp(28px, 3vw, 46px)/1.25 var(--f-display); letter-spacing: var(--tr-display); margin: 0 0 22px; }
html[lang="en"] .hero-tagline { font-weight: 300; font-style: italic; }
.hero-tagline em { font-style: normal; color: var(--c-gold); }
.hero-lead { color: var(--c-on-dark-muted); max-width: 34em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--c-line-dark); font-size: 15px; color: var(--c-on-dark-muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust li::before { content: ""; width: 12px; height: 7px; border-inline-start: 1.6px solid var(--c-gold); border-bottom: 1.6px solid var(--c-gold); transform: translateY(-3px) rotate(-45deg); }
[dir="rtl"] .hero-trust li::before { transform: translateY(-3px) rotate(-45deg) scaleX(-1); }

/* Portrait: an organic, softly breathing shape (no geometry), with two gold contours that breathe out of phase,
   like silk moving. The shape keeps her face and cap inside at every step of the animation. */
.well { position: relative; justify-self: start; width: min(100%, 500px); margin-block: 32px; isolation: isolate; }
.well .frame {
  position: relative; z-index: 1; overflow: hidden; background: var(--c-ink-2); aspect-ratio: 4 / 5;
  border-radius: 47% 53% 44% 56% / 40% 42% 58% 60%;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(194, 160, 106, .25);
}
.well .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.well::before, .well::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
.well::before { inset: -14px; border: 1px solid rgba(194, 160, 106, .55); border-radius: 52% 48% 57% 43% / 44% 38% 62% 56%; }
.well::after { inset: -30px; border: 1px solid rgba(194, 160, 106, .2); border-radius: 44% 56% 50% 50% / 52% 44% 56% 48%; }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .well .frame { animation: breathe-a 16s ease-in-out infinite alternate; }
  .well::before { animation: breathe-b 19s ease-in-out -4s infinite alternate; }
  .well::after { animation: breathe-c 23s ease-in-out -9s infinite alternate; }
}
@keyframes breathe-a {
  0% { border-radius: 47% 53% 44% 56% / 40% 42% 58% 60%; }
  50% { border-radius: 55% 45% 50% 50% / 44% 38% 62% 56%; }
  100% { border-radius: 44% 56% 57% 43% / 38% 46% 54% 62%; }
}
@keyframes breathe-b {
  0% { border-radius: 52% 48% 57% 43% / 44% 38% 62% 56%; transform: rotate(0deg); }
  100% { border-radius: 45% 55% 46% 54% / 38% 47% 53% 62%; transform: rotate(4deg); }
}
@keyframes breathe-c {
  0% { border-radius: 44% 56% 50% 50% / 52% 44% 56% 48%; transform: rotate(0deg); }
  100% { border-radius: 56% 44% 44% 56% / 42% 54% 46% 58%; transform: rotate(-5deg); }
}
.well .chip { position: absolute; z-index: 2; inset-inline-end: -18px; bottom: 32px; background: var(--c-base); color: var(--c-ink); border-radius: 16px; padding: 14px 18px; line-height: 1.45; font-size: 14px; box-shadow: var(--shadow); }
.well .chip strong { display: block; font: 500 32px/1 var(--f-display); margin-bottom: 4px; }
.portrait-about { justify-self: end; width: min(100%, 440px); }
.portrait-doc { width: min(100%, 460px); margin-block: 0; }

/* Proof ledger: labelled facts in hairline cells. */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--c-line-dark); }
.ledger .stat { padding: 26px 24px 34px; border-inline-start: 1px solid var(--c-line-dark); }
.ledger .stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat-value { display: block; font: 500 clamp(38px, 3.8vw, 58px)/1.05 var(--f-display); color: var(--c-gold); margin-bottom: 8px; }
html[lang="en"] .stat-value { font-weight: 300; }
.stat-label { display: block; font-size: 15px; line-height: 1.6; color: var(--c-on-dark-muted); max-width: 18em; }
.stat-pre { font: 400 clamp(14px, 1.2vw, 17px)/1 var(--f-text); color: var(--c-on-dark-muted); letter-spacing: 0; }

/* ---------- Home: statement and values ---------- */
.statement { font: 500 var(--fs-statement)/1.25 var(--f-display); letter-spacing: var(--tr-display); max-width: 21ch; margin: 0 0 28px; }
html[lang="en"] .statement { font-weight: 300; line-height: 1.12; }
.statement em { font-style: normal; color: var(--c-gold-ink); }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement-grid .about-short { color: var(--c-muted); max-width: 36em; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(44px, 6vw, 72px); }
.pillar { position: relative; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-card); min-height: 240px; display: flex; flex-direction: column; }
.pillar .num { font: 500 15px/1 var(--f-label); color: var(--c-gold-ink); margin-bottom: auto; padding-bottom: 36px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--c-muted); font-size: 16.5px; }
.pillar:first-child { background: var(--c-ink); color: var(--c-on-dark); border-color: var(--c-ink); }
.pillar:first-child .num { color: var(--c-gold); }
.pillar:first-child p { color: var(--c-on-dark-muted); }

/* ---------- Home: the visit in four steps (signature) ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-head .h2 { margin-bottom: 18px; }
.story-head > p { color: var(--c-on-dark-muted); margin-bottom: 32px; max-width: 32em; }
.story-steps { list-style: none; border-top: 1px solid var(--c-line-dark); }
.story-step { border-bottom: 1px solid var(--c-line-dark); }
.story-step h3 { margin: 0; font: inherit; }
.step-head {
  width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 0; text-align: start;
  background: none; border: 0; cursor: pointer; color: inherit; min-height: 44px;
}
.step-title { font: 600 var(--fs-h3)/1.5 var(--f-text); color: var(--c-on-dark); transition: opacity var(--dur-ui) var(--ease-ui); }
html[lang="en"] .step-title { font-weight: 500; }
.story-step .step-text { padding: 0 64px 22px 0; color: var(--c-on-dark-muted); font-size: 16.5px; }
[dir="ltr"] .story-step .step-text { padding: 0 0 22px 64px; }
.ring { position: relative; width: 42px; height: 42px; display: grid; place-items: center; font: 500 13px/1 var(--f-label); color: var(--c-gold); }
.ring svg { position: absolute; inset: 0; width: 42px; height: 42px; transform: rotate(-90deg); }
[dir="rtl"] .ring svg { transform: rotate(-90deg) scaleY(-1); }
.ring circle { fill: none; stroke-width: 1.5; }
.ring .track { stroke: var(--c-line-dark); }
.ring .bar { stroke: var(--c-gold); stroke-dasharray: 119.4; stroke-dashoffset: 119.4; }
/* With JS the list becomes the switcher: inactive steps fold, the active one runs its 6 s ring. */
.is-story .story-step:not(.on) .step-title { opacity: .55; }
.is-story .step-head:hover .step-title { opacity: 1; }
.is-story .story-step:not(.on) .step-text { display: none; }
.is-story .story-step.on .bar { animation: ring 6s linear forwards; }
.is-story.is-paused .story-step.on .bar, .is-story.is-static .story-step.on .bar { animation-play-state: paused; }
.is-story.is-manual .story-step.on .bar { animation: none; stroke-dashoffset: 0; }
@keyframes ring { from { stroke-dashoffset: 119.4; } to { stroke-dashoffset: 0; } }
.story-panel { position: sticky; top: calc(var(--header-h) + 32px); min-height: 460px; border-radius: 36px; background: rgba(31, 28, 23, .9); border: 1px solid var(--c-line-dark); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html.silk-on .story-panel { background: rgba(21, 19, 15, .38); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); }
}
.panel-num { position: absolute; inset-inline-start: 28px; bottom: -24px; font: 500 200px/1 var(--f-display); color: var(--c-gold); opacity: .16; }
.panel-card { width: min(82%, 400px); background: var(--c-base); color: var(--c-ink); border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); }
.panel-card .kicker { margin-bottom: 10px; color: var(--c-muted); }
.panel-card h3 { margin-bottom: 6px; }
.panel-card p { color: var(--c-muted); font-size: 16px; }
.panel-card, .panel-num { transition: opacity .5s var(--ease-ui); }
.story-panel.is-swapping .panel-card, .story-panel.is-swapping .panel-num { opacity: 0; }
.story-pause { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--c-line-dark); border-radius: 999px; background: none; color: var(--c-on-dark-muted); font-size: 14px; cursor: pointer; }
.story-pause:hover { color: var(--c-on-dark); border-color: var(--c-on-dark-muted); }
.story-pause[hidden] { display: none; }

/* ---------- Procedures index ---------- */
.index { list-style: none; border-top: 1px solid var(--c-line); }
.idx-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--c-line); position: relative; }
.idx-no { font: 500 15px/2 var(--f-label); color: var(--c-gold-ink); }
.idx-main h3 { font: 500 clamp(26px, 2.2vw, 34px)/1.25 var(--f-display); letter-spacing: var(--tr-display); }
html[lang="en"] .idx-main h3 { font-weight: 400; }
.idx-main h3 a::after { content: ""; position: absolute; inset: 0; }
.idx-main p { color: var(--c-muted); margin: 6px 0 0; max-width: 46em; font-size: 16.5px; }
.idx-tag { display: inline-block; margin-inline-start: 10px; padding: 2px 12px; border-radius: 999px; background: var(--c-ink); color: var(--c-gold); font: 600 12.5px/1.8 var(--f-text); vertical-align: middle; }
.idx-side { display: flex; align-items: center; gap: 14px; color: var(--c-muted); font-size: 14.5px; white-space: nowrap; padding-top: 6px; }
.idx-row:hover .arrow { transform: translateX(-4px); }
[dir="ltr"] .idx-row:hover .arrow { transform: scaleX(-1) translateX(-4px); }
.idx-guides { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; position: relative; z-index: 1; }
.idx-guides a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--c-line-2); border-radius: 999px; font-size: 14px; background: var(--c-base); }
.idx-guides a:hover { border-color: var(--c-ink); }

/* ---------- Doctor section ---------- */
.doctor-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.doctor-grid .h2 { margin-bottom: 14px; }
.doctor-grid .lead { margin-bottom: 28px; }
.doctor-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }

/* Spec rows */
.facts { margin: 0; border-top: 1px solid var(--c-line); }
.fact { display: grid; grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--c-line); }
.fact dt { font: 600 14.5px/1.7 var(--f-text); color: var(--c-muted); }
.fact dd { margin: 0; }
.dark .facts, .dark .fact { border-color: var(--c-line-dark); }
.dark .fact dt { color: var(--c-on-dark-muted); }

/* ---------- Credentials ---------- */
.cred-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.cred { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 32px); border-radius: var(--radius); background: var(--c-card); border: 1px solid var(--c-line); min-height: 280px; }
.cred-seal { width: 46px; height: 46px; color: var(--c-gold-ink); margin-bottom: 22px; }
.cred-issuer { font-size: 14px; color: var(--c-muted); }
.cred-title { font: 500 clamp(24px, 2vw, 30px)/1.3 var(--f-display); letter-spacing: var(--tr-display); margin: 6px 0 10px; }
html[lang="en"] .cred-title { font-weight: 400; }
.cred-note { color: var(--c-muted); font-size: 16px; }
.cred-year { margin-top: auto; padding-top: 18px; font: 500 30px/1 var(--f-display); color: var(--c-gold-ink); }
.cred-year.ar { font: 600 15px/1.6 var(--f-text); }
.cred-scan { display: block; margin-top: 18px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--c-line); }
.cred-stack { display: grid; gap: 14px; }
.cred-stack .cred {
  min-height: 0; padding: 20px 24px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; column-gap: 18px; align-items: center;
  grid-template-areas: "seal issuer year" "seal title year" "seal note year"; background: var(--c-base);
}
.cred-stack .cred-seal { grid-area: seal; margin: 0; align-self: start; }
.cred-stack .cred-issuer { grid-area: issuer; font-size: 13.5px; }
.cred-stack .cred-title { grid-area: title; margin: 2px 0 0; font-size: clamp(22px, 1.7vw, 26px); }
.cred-stack .cred-note { grid-area: note; font-size: 15px; margin-top: 4px; }
.cred-stack .cred-year { grid-area: year; margin: 0; padding: 0; font-size: 26px; }
.cred-stack .cred-year.ar { font-size: 13.5px; max-width: 9em; text-align: end; }
.cred-stack .cred-scan { display: none; }
.cred-facts { margin-top: clamp(32px, 4vw, 48px); max-width: 860px; }
.cred-row { margin-top: clamp(40px, 5vw, 64px); }
.note-box { margin-top: clamp(28px, 3vw, 40px); padding: 22px 26px; border-radius: var(--radius-sm); background: var(--c-surface); color: var(--c-ink); font-size: 16px; max-width: 860px; }
.bg-paper .note-box { background: var(--c-card); }

/* ---------- Privacy band ---------- */
.privacy-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); border: 1px solid var(--c-line); background: var(--c-card); }
.privacy-icon { width: 56px; height: 56px; color: var(--c-gold-ink); }
.privacy-card h2 { font: 500 clamp(28px, 2.6vw, 40px)/1.25 var(--f-display); margin-bottom: 10px; }
.privacy-card p { color: var(--c-muted); max-width: 52em; }
.privacy-note { margin-top: 12px; font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-head .h2 { margin-bottom: 14px; }
.faq-sub { margin-bottom: 22px; }
.faq-list { border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center;
  padding: 22px 0; font: 600 clamp(17px, 1.3vw, 19px)/1.55 var(--f-text);
}
html[lang="en"] .faq-item summary { font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--c-line-2); border-radius: 50%; transition: background var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--dur-ui) var(--ease-ui); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-gold); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 0 24px; color: var(--c-muted); max-width: 46em; }
.faq-item[open] .faq-answer { animation: faq-in .3s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.faq-page { max-width: 920px; }

/* ---------- Closing band ---------- */
.cta-band { position: relative; overflow: clip; background: var(--c-ink); color: var(--c-on-dark); padding-block: clamp(80px, 10vw, 148px); border-bottom: 1px solid var(--c-line-dark); }
.cta-band .inner { position: relative; max-width: 860px; }
.cta-band h2 { font: 500 var(--fs-h2)/var(--lh-h2) var(--f-display); letter-spacing: var(--tr-display); margin-bottom: 18px; }
html[lang="en"] .cta-band h2 { font-weight: 300; }
.cta-band p { color: var(--c-on-dark-muted); max-width: 38em; margin-bottom: 32px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn-dark { background: var(--c-gold); color: var(--c-ink); }
.cta-band .btn-dark:hover { background: var(--c-gold-hover); }
.cta-band .btn-line { border-color: var(--c-line-dark); color: var(--c-on-dark); }
.cta-band .btn-line:hover { border-color: var(--c-on-dark); }
.visit { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 32px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--c-line-dark); font-size: 15.5px; }
.visit span { display: block; font-size: 13px; color: var(--c-on-dark-muted); margin-bottom: 2px; }
.visit a { border-bottom: 1px solid var(--c-line-dark); }
.visit .visit-map { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; color: var(--c-gold); border-bottom: 0; }
.visit .visit-map .arrow { width: 16px; height: 16px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: clip; background: var(--c-ink); color: var(--c-on-dark); padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.page-hero .container { position: relative; }
.page-hero.has-visual .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-copy { max-width: 860px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: clamp(28px, 4vw, 48px); font-size: 14px; color: var(--c-on-dark-muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline: 10px; opacity: .5; }
.crumbs a { border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--c-on-dark); border-color: var(--c-line-dark); }
.page-title { font: 500 var(--fs-h1)/1.14 var(--f-display); letter-spacing: var(--tr-display); margin-bottom: 18px; }
html[lang="en"] .page-title { font-weight: 300; line-height: 1.04; }
.page-sub { display: block; margin: -6px 0 18px; font-size: 14px; color: var(--c-gold); letter-spacing: .02em; }
.page-lead { color: var(--c-on-dark-muted); font-size: clamp(17px, 1.3vw, 19.5px); max-width: 40em; margin-bottom: 30px; }
.page-hero .hero-actions { margin-top: 6px; }

/* ---------- Cards ---------- */
.proc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.proc-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proc-card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 34px); border-radius: var(--radius); background: var(--c-card); border: 1px solid var(--c-line); min-height: 250px; transition: border-color var(--dur-ui) var(--ease-ui), transform .4s var(--ease-out); }
.proc-card:hover { border-color: var(--c-line-2); transform: translateY(-3px); }
.bg-paper .proc-card { background: var(--c-base); }
.proc-no, .card-meta { font: 500 14px/1.6 var(--f-label); color: var(--c-gold-ink); margin-bottom: 26px; }
.proc-card h3 { font: 500 clamp(26px, 2.1vw, 32px)/1.25 var(--f-display); letter-spacing: var(--tr-display); margin-bottom: 10px; }
html[lang="en"] .proc-card h3 { font-weight: 400; }
.proc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.proc-card p { color: var(--c-muted); font-size: 16.5px; }
.proc-more { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.proc-card:hover .arrow { transform: translateX(-4px); }
[dir="ltr"] .proc-card:hover .arrow { transform: scaleX(-1) translateX(-4px); }
.proc-card.is-cta { background: var(--c-ink); color: var(--c-on-dark); border-color: var(--c-ink); }
.proc-card.is-cta p, .proc-card.is-cta .proc-more { color: var(--c-on-dark-muted); }
.proc-card.is-cta .proc-no { color: var(--c-gold); }

/* Procedure rows on a category page */
.rows { border-top: 1px solid var(--c-line); }
.row { display: grid; grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.2fr) auto; gap: 8px 28px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--c-line); }
.row .no { font: 500 15px/1 var(--f-label); color: var(--c-gold-ink); }
.row h3 { font: 500 clamp(23px, 1.8vw, 28px)/1.3 var(--f-display); letter-spacing: var(--tr-display); }
html[lang="en"] .row h3 { font-weight: 400; }
.row h3 a { border-bottom: 1px solid var(--c-gold); }
.row p { margin: 0; color: var(--c-muted); font-size: 16.5px; }
.ask { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.ask svg { width: 18px; height: 18px; }
.ask:hover { color: var(--c-gold-ink); }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--c-line-2); border-radius: 999px; font-size: 15px; }
.related a:hover { border-color: var(--c-ink); }

/* ---------- About ---------- */
.prose { max-width: 44em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-inline-start: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--c-gold-ink); }
.prose h2 { font: 500 clamp(28px, 2.4vw, 38px)/1.25 var(--f-display); margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose strong { font-weight: 600; }
.prose a { border-bottom: 1px solid var(--c-gold); }
.timeline { list-style: none; border-inline-start: 1px solid var(--c-line-2); }
.tl-item { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 0 28px 30px; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: -5px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 4px var(--c-base); }
.bg-paper .tl-item::before { box-shadow: 0 0 0 4px var(--c-surface); }
.tl-year { font: 500 30px/1.2 var(--f-display); color: var(--c-gold-ink); direction: ltr; unicode-bidi: isolate; text-align: start; }
.tl-year.ar { font: 600 16px/2.1 var(--f-text); direction: inherit; }
.tl-text { color: var(--c-ink); }
.special { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.special-card { padding: clamp(24px, 2.4vw, 34px); border-radius: var(--radius); background: var(--c-card); border: 1px solid var(--c-line); }
.bg-paper .special-card { background: var(--c-base); }
.special-card h3, .special-card .h3 { margin-bottom: 8px; }
.special-card p { color: var(--c-muted); font-size: 16.5px; }
.safety-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.regions { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.regions li { padding: 8px 18px; border: 1px solid var(--c-line-2); border-radius: 999px; font-size: 16px; }
.regions li.main { background: var(--c-ink); color: var(--c-gold); border-color: var(--c-ink); }
.regions-note { margin-top: 18px; font-size: 15.5px; }

/* ---------- Booking ---------- */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.booking-h { margin-bottom: 28px; }
.num-steps { list-style: none; border-top: 1px solid var(--c-line); }
.num-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.num-steps .n { font: 500 15px/1.9 var(--f-label); color: var(--c-gold-ink); }
.num-steps p { color: var(--c-muted); margin-top: 4px; }
.contact-card { position: sticky; top: calc(var(--header-h) + 32px); padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: var(--c-ink); color: var(--c-on-dark); }
.contact-card h2 { font: 500 clamp(28px, 2.4vw, 36px)/1.25 var(--f-display); margin-bottom: 18px; }
.contact-list { list-style: none; margin-bottom: 26px; }
.contact-list li { display: grid; grid-template-columns: minmax(96px, .4fr) minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--c-line-dark); font-size: 15.5px; }
.contact-list .label { color: var(--c-on-dark-muted); font-size: 14px; }
.contact-list a.value { border-bottom: 1px solid var(--c-gold-line); justify-self: start; }
.contact-list .num { direction: ltr; unicode-bidi: isolate; }
.contact-card .btn { width: 100%; }

/* ---------- Guides and articles ---------- */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.guide-layout .guide { max-width: 780px; }
.doctor-card { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 14px; padding: 26px; border-radius: var(--radius); }
.dc-head { display: flex; align-items: center; gap: 14px; }
.dc-photo { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; border: 1px solid var(--c-gold-line); }
.dc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.dc-name { margin: 0; font: 500 26px/1.2 var(--f-display); }
.dc-sub { margin: 2px 0 0; font-size: 13.5px; color: var(--c-on-dark-muted); }
.dc-trust { flex-direction: column; gap: 8px; margin-top: 2px; padding-top: 16px; font-size: 14.5px; }
.doctor-card .btn { width: 100%; white-space: normal; text-align: center; }
.doctor-card .link-arrow { justify-self: start; }
.guide .detail { padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--c-line); }
.guide .detail:first-child { padding-top: 0; }
.guide .detail h2 { font: 500 clamp(28px, 2.4vw, 38px)/1.25 var(--f-display); letter-spacing: var(--tr-display); margin-bottom: 14px; display: flex; align-items: baseline; gap: 14px; }
html[lang="en"] .guide .detail h2 { font-weight: 400; }
.guide .detail h2::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); transform: translateY(-6px); }
.article-meta { margin: 0 0 24px; font-size: 14.5px; color: var(--c-muted); }
.article-image { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.article-links { margin-top: clamp(36px, 4vw, 56px); }
.sources-title { font: 500 30px/1.3 var(--f-display); margin: 1.6em 0 .6em; }
.sources { padding-inline-start: 1.2em; font-size: 15.5px; color: var(--c-muted); }
.sources a { border-bottom: 1px solid var(--c-gold-line); }
.video { margin: 28px 0; border-radius: var(--radius); overflow: hidden; background: var(--c-ink); }
.video-link { position: relative; display: block; aspect-ratio: 16 / 9; }
.video-link img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--c-gold); }
.video-play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-block: 11px solid transparent; border-left: 18px solid var(--c-ink); transform: translateX(3px); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.transcript { padding: 16px 22px; background: var(--c-card); color: var(--c-ink); }
.transcript summary { cursor: pointer; font-weight: 600; }

/* ---------- Cases, reviews, gallery, press ---------- */
.cases-list { display: grid; gap: var(--gutter); }
.case { display: grid; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--c-card); border: 1px solid var(--c-line); }
.case.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.case-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.case-media figure { margin: 0; }
.case-media img { border-radius: var(--radius-sm); }
.case-media figcaption { font-size: 13.5px; color: var(--c-muted); margin-top: 6px; }
.case-meta { font-size: 14px; color: var(--c-gold-ink); margin-bottom: 6px; }
.case-title { font: 500 clamp(26px, 2.2vw, 34px)/1.25 var(--f-display); margin-bottom: 10px; }
.case-body p { color: var(--c-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.review { margin: 0; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: var(--c-card); border: 1px solid var(--c-line); }
.review-mark { width: 34px; height: 26px; color: var(--c-gold); margin-bottom: 18px; }
.stars { color: var(--c-gold-ink); letter-spacing: 2px; margin-bottom: 12px; }
.stars span { opacity: .25; }
.review blockquote { margin: 0 0 22px; font: 500 clamp(21px, 1.6vw, 25px)/1.55 var(--f-display); }
.review figcaption { margin-top: auto; font-size: 14.5px; color: var(--c-muted); display: grid; }
.review figcaption strong { color: var(--c-ink); font-weight: 600; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.g-item { margin: 0; }
.g-item img { border-radius: var(--radius-sm); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.g-item figcaption { font-size: 14.5px; color: var(--c-muted); margin-top: 8px; }
.press-list { list-style: none; border-top: 1px solid var(--c-line); }
.press-list li { padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.press-meta { display: block; font-size: 14px; color: var(--c-gold-ink); margin-bottom: 4px; }
.press-list p { color: var(--c-muted); margin-top: 6px; }
.bios { display: grid; gap: var(--gutter); }
.bio-card { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); background: var(--c-base); border: 1px solid var(--c-line); }
.bio-card h3 { margin-bottom: 8px; }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.topics li { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--c-line-2); }

/* ---------- Reviews: the invitation and the form ---------- */
.reviews-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.invite { max-width: 760px; margin-inline: auto; text-align: center; padding: clamp(36px, 5vw, 64px) clamp(22px, 4vw, 56px); border-radius: 36px; background: var(--c-card); border: 1px solid var(--c-line); }
.invite .kicker { justify-content: center; }
.invite .h2 { margin-bottom: 14px; }
.invite p { color: var(--c-muted); max-width: 34em; margin: 0 auto 28px; }
.invite-stars { color: var(--c-gold); font-size: 22px; letter-spacing: 6px; margin-bottom: 14px; }
.review-form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: var(--c-card); border: 1px solid var(--c-line); }
.review-form .field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.f-label { font-weight: 600; font-size: 16px; padding: 0; }
.review-form input:not([type="radio"]):not([type="checkbox"]), .review-form select, .review-form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--c-line-2); border-radius: 14px; background: var(--c-base);
  font: 400 17px/1.6 var(--f-text); color: var(--c-ink); transition: border-color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui);
}
.review-form textarea { resize: vertical; min-height: 150px; }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { outline: none; border-color: var(--c-gold-ink); box-shadow: 0 0 0 3px rgba(194, 160, 106, .3); }
.review-form small { color: var(--c-muted); font-size: 14px; }
/* Stars: inputs run 5 → 1 in the markup and are shown 1 → 5; a choice lights itself and the stars before it. */
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { cursor: pointer; font-size: 36px; line-height: 1; color: var(--c-line-2); padding: 4px; min-width: 44px; min-height: 44px; display: grid; place-items: center; transition: color .15s var(--ease-ui), transform .15s var(--ease-ui); }
.stars-input input:checked + label, .stars-input input:checked + label ~ label { color: var(--c-gold); }
.stars-input label:hover, .stars-input label:hover ~ label { color: var(--c-gold); transform: scale(1.06); }
.stars-input input:focus-visible + label { outline: 2px solid var(--c-gold-ink); outline-offset: 2px; border-radius: 8px; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--c-ink); flex: none; }
.form-note { color: var(--c-muted); font-size: 14.5px; margin: 0; }
.review-form .btn { justify-self: start; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.notfound .big { font: 500 clamp(120px, 18vw, 220px)/1 var(--f-display); color: var(--c-gold-ink); margin: 0 0 8px; }
.notfound .h2 { margin-bottom: 14px; }
.notfound .lead { max-width: 32em; margin: 0 auto 30px; }
.center-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-on-dark); padding-block: clamp(56px, 7vw, 96px) 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.footer-brand .brand-mark { width: 44px; height: 44px; margin-bottom: 18px; }
.f-name { font: 500 30px/1.2 var(--f-display); margin: 0 0 4px; }
.f-sub { color: var(--c-on-dark-muted); margin: 0 0 10px; }
.latin-caps { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-gold); direction: ltr; text-align: start; unicode-bidi: isolate; }
.f-trust { margin-top: 18px; color: var(--c-on-dark-muted); font-size: 14px; line-height: 1.7; }
.site-footer h2 { font: 600 13px/1.4 var(--f-label); color: var(--c-gold); margin-bottom: 16px; letter-spacing: .02em; }
html[lang="en"] .site-footer h2 { font-weight: 400; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer li a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--c-on-dark-muted); transition: color var(--dur-ui) var(--ease-ui); }
.site-footer li a:hover { color: var(--c-on-dark); }
.site-footer li a svg { width: 17px; height: 17px; }
.f-contact li { color: var(--c-on-dark-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(44px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--c-line-dark); color: var(--c-on-dark-muted); font-size: 13.5px; }

/* Phones: WhatsApp and call stay one tap away. */
.fab-bar { display: none; }

/* ---------- Motion (CSS states; main.js adds .in and runs the steps) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
html.js [data-reveal="2"] { transition-delay: .1s; }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js .intro > * { animation: rise .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
html.js .intro-media { animation: unveil 1.4s var(--ease-out) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes unveil { from { clip-path: circle(0% at 50% 32%); } to { clip-path: circle(150% at 50% 32%); } }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js .intro > *, html.js .intro-media { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; clip-path: none !important; }
  .silk { transition: none; }
  .is-story .story-step.on .bar { animation: none; stroke-dashoffset: 0; }
  .proc-card, .arrow, .site-header { transition: none !important; }
  .faq-item[open] .faq-answer { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .header-inner .lang-switch { display: none; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .ledger .stat:nth-child(n+3) { border-top: 1px solid var(--c-line-dark); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .cred-grid, .special, .reviews-grid, .gallery-grid, .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 48px minmax(0, 1fr); }
  .row p, .row .ask { grid-column: 2; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hero-grid, .two-col, .section-head, .statement-grid, .story-grid, .doctor-grid, .faq-wrap, .booking-grid, .page-hero.has-visual .container, .case.has-media { grid-template-columns: minmax(0, 1fr); }
  .sticky, .faq-head, .contact-card, .story-panel, .doctor-card { position: static; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .well { justify-self: center; width: min(100%, 440px); }
  .well .chip { inset-inline-end: 12px; }
  .portrait-about { justify-self: center; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar { min-height: 0; }
  .pillar .num { padding-bottom: 20px; }
  .story-panel { display: none; }
  .is-story .story-step:not(.on) .step-text { display: none; }
  .header-cta { display: none; }
  .fab-bar {
    position: fixed; z-index: 50; inset-inline: 0; bottom: 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    padding: 10px var(--margin) calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 19, 15, .94); border-top: 1px solid var(--c-line-dark);
    transform: translateY(110%); transition: transform .35s var(--ease-ui);
  }
  .fab-bar .btn { min-height: 48px; padding: 0 14px; }
  .fab-bar .btn-dark { background: var(--c-gold); color: var(--c-ink); }
  .fab-bar .btn-line { border-color: var(--c-line-dark); color: var(--c-on-dark); }
  .show-cta .fab-bar { transform: none; }
  .menu-open .fab-bar { transform: translateY(110%); }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  :root { --fs-body: 17px; --section: 60px; }
  .p-home .cred-stack { display: none; }
  .hero-title { font-size: clamp(40px, 11.6vw, 50px); }
  .hero-actions .btn { width: 100%; }
  .ledger .stat { padding: 20px 14px 24px; }
  .stat-value { font-size: 36px; }
  .proc-grid, .proc-grid.two, .cred-grid, .special, .reviews-grid, .gallery-grid, .safety-grid, .footer-grid, .case-media { grid-template-columns: minmax(0, 1fr); }
  .idx-row { grid-template-columns: 40px minmax(0, 1fr); }
  .idx-side { grid-column: 2; padding-top: 0; }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: 2px; padding-inline-end: 0; }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cta-band .actions .btn { width: 100%; }
  .privacy-card { grid-template-columns: minmax(0, 1fr); }
  .story-step .step-text, [dir="ltr"] .story-step .step-text { padding-inline: 64px 0; }
}
@media print {
  .site-header, .mobile-menu, .fab-bar, .cta-band, .site-footer { display: none !important; }
  body { background: #fff; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
