/* =====================================================================
   SURPRISE EXPERTS — design system
   Quiet editorial luxury. Palette from the lotus logo: periwinkle /
   indigo petals, charcoal wordmark, gold as the hairline accent.
   Real photography carries the page; ornament stays out of its way.
   One dark moment: the deep-indigo patient-journey scene.
   ===================================================================== */
:root {
  /* Color — white is now a surface reserved for floating cards & photo
     frames; the page's own ground is the deep indigo-black canvas. */
  --bg:          #ffffff;
  --bg-soft:     #f6f6fb;
  --ink:         #2f2f34;
  --muted:       #63647a;
  --brand:       #4f52b8;
  --brand-deep:  #2e3192;
  --brand-soft:  #7b7fd4;
  --gold:        #b08d57;
  --gold-soft:   #e7dcc9;
  --line:        #e7e7f0;
  --night:       #1e2060;
  --night-2:     #14153f;

  /* The canvas: what used to be white page background */
  --canvas:      #121330;
  --canvas-deep: #0a0b20;
  --text-light:  #f5f4fb;
  --text-dim:    rgba(245, 244, 251, 0.72);
  --text-faint:  rgba(245, 244, 251, 0.46);
  --line-dark:   rgba(245, 244, 251, 0.14);

  /* Type */
  --font-display: "Cormorant", Georgia, "Times New Roman", serif;
  --font-body:    "Montserrat", system-ui, -apple-system, sans-serif;

  /* Shape & rhythm */
  --container: 1240px;
  --radius: 8px;
  --radius-arch: 300px;               /* lotus-petal arch on select imagery */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --depth: 1200px;                    /* shared perspective for 3D cards */
  --shadow-2: 0 0 0 1px rgba(46, 49, 146, 0.06),
              0 6px 16px -6px rgba(46, 49, 146, 0.14),
              0 24px 48px -24px rgba(46, 49, 146, 0.22);
  --shadow-card: 0 1px 1px rgba(5, 6, 20, 0.4),
                 0 18px 40px -16px rgba(5, 6, 20, 0.55);
}

/* =====================================================================
   BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dim);
  background: var(--canvas);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: clip;
}

/* Two slow-drifting aura blobs give the dark canvas real depth instead
   of reading as a flat fill. Decorative only — paused for reduced motion.
   Two-layer structure so two independent transforms can compose: the
   outer .aura drifts on its own clock (CSS keyframes, cheap, runs
   everywhere); the inner .aura-glow additionally eases toward the
   cursor (JS, desktop fine-pointer only — see main.js). */
.aura {
  position: fixed;
  z-index: 0;
  width: min(60vw, 820px);
  aspect-ratio: 1;
  pointer-events: none;
}
.aura-a { top: -14vw; right: -14vw; }
.aura-b { bottom: -18vw; left: -16vw; }

.aura-glow {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  transform: translate3d(0, 0, 0);
}
.aura-a .aura-glow { background: radial-gradient(circle, rgba(123, 127, 212, 0.34), transparent 70%); }
.aura-b .aura-glow { background: radial-gradient(circle, rgba(176, 141, 87, 0.18), transparent 70%); }

@media (prefers-reduced-motion: no-preference) {
  .aura-a { animation: aura-drift-a 38s ease-in-out infinite alternate; }
  .aura-b { animation: aura-drift-b 46s ease-in-out infinite alternate; }
  /* Eases each JS-set pull toward the cursor; JS never runs if motion
     is reduced, so this transition simply never fires in that case. */
  .aura-glow { transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
}
@keyframes aura-drift-a {
  to { transform: translate3d(-6vw, 5vw, 0) scale(1.08); }
}
@keyframes aura-drift-b {
  to { transform: translate3d(5vw, -4vw, 0) scale(1.05); }
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
s { text-decoration-thickness: 1px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

.icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--brand-deep);
  color: #fff;
  border-radius: 6px;
  transform: translateY(-64px);
  opacity: 0;
}
.skip-link:focus-visible { transform: none; opacity: 1; }

:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: rgba(123, 127, 212, 0.28); }

/* ------------------------------------------------ typography helpers */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 22px;
}
.eyebrow::after {
  content: "";
  flex: 0 0 44px;
  height: 1px;
  background: var(--gold);
  align-self: center;
}
.eyebrow-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gold-soft);
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: 0.002em;
  color: var(--text-light);
}

/* Every section sits on the shared dark canvas now; perspective lives
   here so any 3D-tilted child reads with real depth, not a flat skew. */
.section { padding: clamp(84px, 10vw, 150px) 0; perspective: var(--depth); }
.section-soft {
  position: relative;
  border-block: 1px solid var(--line-dark);
}
.section-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 50% 0%, rgba(123, 127, 212, 0.1), transparent 70%);
  pointer-events: none;
}

.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-sub {
  color: var(--text-dim);
  font-size: 1rem;
  margin-top: 18px;
  max-width: 52ch;
}

/* =====================================================================
   BUTTONS & LINKS — editorial, not pill-shaped
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 30px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease,
              color 0.2s ease, transform 0.18s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 0.74rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--brand-deep);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--brand); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: currentColor;
}
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--brand-deep); }

/* Default: readable on the dark canvas. Re-declared to the deep-indigo
   variant inside white card surfaces further down. */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-soft);
  transition: color 0.2s ease, gap 0.25s var(--ease);
}
.text-link:hover, .text-link:focus-visible { color: var(--gold-soft); gap: 14px; }
.text-link .icon { width: 18px; height: 18px; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 32, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(10, 11, 32, 0.86);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
}

/* Lotus mark (transparent PNG, extracted from the source logo) +
   a light wordmark built from the site's own type, so the lockup
   reads directly on the dark canvas instead of riding in a white box. */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  min-height: 48px;
  transition: opacity 0.2s ease;
}
.brand:hover, .brand:focus-visible { opacity: 0.82; }
.brand-mark { height: 34px; width: auto; }
.brand-divider {
  width: 1.5px;
  height: 24px;
  background: var(--gold);
  flex: none;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  color: var(--text-light);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 2px;
  position: relative;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a:focus-visible { color: var(--text-light); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

.nav-whatsapp { display: none; }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.6px;
  background: var(--text-light);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* =====================================================================
   HERO — editorial split, type overlapping photography
   ===================================================================== */
.hero {
  padding-top: clamp(40px, 6vw, 96px);
  overflow: clip;
  perspective: var(--depth);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.hero-kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(18px, 2.5vw, 30px);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 8.6vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--text-light);
  position: relative;
  z-index: 2;
  /* The last line drifts into the photograph */
  margin-right: clamp(-8px, -4vw, -80px);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand-soft);
}

.hero-sub {
  margin-top: clamp(22px, 3vw, 34px);
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: clamp(28px, 3.5vw, 44px);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.whatsapp-link .icon { color: #25d366; }
.whatsapp-link:hover, .whatsapp-link:focus-visible { color: var(--text-light); }

.hero-media {
  position: relative;
  z-index: 1;
  perspective: var(--depth);
  transform-style: preserve-3d;
}
.hero-photo {
  overflow: hidden;
  /* A plain rounded rectangle, not the arch — the curved top was
     clipping into her hair at the edges. */
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card);
  transform: translateZ(0) rotateY(var(--tilt-ry, 0deg)) rotateX(var(--tilt-rx, 0deg));
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.hero-photo img,
.hero-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep her face in frame now that nothing overlaps the lower third */
  object-position: 50% 28%;
}

/* Fact bar */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(48px, 6vw, 88px);
  padding: clamp(24px, 3vw, 36px) 0 clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--line-dark);
}
.hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.hero-facts strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
}
.hero-facts span {
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* =====================================================================
   TREATMENTS — editorial splits
   ===================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 104px);
}
.split + .split { margin-top: clamp(84px, 10vw, 150px); }
.split-reverse .split-media { order: 2; }
.split-reverse .split-body { order: 1; }

.split-media { position: relative; perspective: var(--depth); transform-style: preserve-3d; }
.split-photo {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  max-width: 520px;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-photo-landscape { aspect-ratio: 4 / 3.4; max-width: 560px; }

.split-photo-inset {
  position: absolute;
  right: clamp(-8px, 2vw, 24px);
  bottom: clamp(-44px, -3vw, -28px);
  width: clamp(140px, 38%, 220px);
  overflow: hidden;
  border-radius: var(--radius);
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 4;
  transform: translateZ(50px);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.split-photo-inset img { width: 100%; height: 100%; object-fit: cover; }

.split-body h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.06;
  color: var(--text-light);
}
.split-lede {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 46ch;
}

/* Procedures as a ruled editorial list, not chips */
.proc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 3vw, 48px);
  margin: clamp(24px, 3vw, 36px) 0;
}
.proc-list li {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.25;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-light);
}

/* =====================================================================
   DOCTORS — swipeable card carousel
   One card shape for all surgeons; click any card to open a full
   profile. Horizontal scroll-snap does the swiping, arrow buttons give
   a non-touch equivalent (no hover-only interaction).
   ===================================================================== */
.doctor-carousel-wrap { position: relative; }

.doctor-carousel {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  perspective: var(--depth);
  margin: -4px -4px 0;
  padding: 4px 4px 6px;
}
.doctor-carousel::-webkit-scrollbar { display: none; }

.doctor-slide {
  flex: 0 0 clamp(228px, 42vw, 272px);
  scroll-snap-align: start;
}

.doctor-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transform: translateZ(0) rotateY(var(--tilt-ry, 0deg)) rotateX(var(--tilt-rx, 0deg));
  transition: border-color 0.25s ease, transform 0.4s var(--ease);
  will-change: transform;
}
.doctor-card:hover, .doctor-card:focus-visible {
  border-color: var(--brand-soft);
}
.doctor-card:hover .doctor-photo img { transform: scale(1.03); }

.doctor-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #ececf5, #f6f6fb);
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.doctor-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 20px;
}
.doctor-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.15;
}
.doctor-creds { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.doctor-focus { font-size: 0.82rem; color: var(--ink); }
.doctor-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.doctor-open .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.doctor-card:hover .doctor-open .icon { transform: translateX(4px); }

/* Browse controls below the carousel */
.carousel-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(20px, 2.5vw, 28px);
}
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.carousel-arrow:hover, .carousel-arrow:focus-visible {
  border-color: var(--brand-soft);
  background: rgba(255, 255, 255, 0.06);
}
.carousel-arrow:disabled { opacity: 0.35; cursor: default; }
.carousel-hint { color: var(--text-faint); font-size: 0.82rem; }

.doctors-video { margin-top: clamp(40px, 5vw, 64px); }
.doctors-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--night-2);
  display: block;
}
.doctors-video figcaption {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* =====================================================================
   CLINIC — photo mosaic with editorial captions
   ===================================================================== */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.clinic-tile { grid-column: span 2; }
.clinic-wide { grid-column: span 4; }

.clinic-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease);
}
.clinic-tile:hover img { transform: scale(1.025) translateZ(0); }
.clinic-wide img { aspect-ratio: 16 / 7.8; height: 100%; }

.clinic-tile figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.clinic-tile figcaption::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
}

/* Partner hospital — visually separated from the clinic's own gallery
   above, so the two buildings are never implied to be the same place. */
.partner-block {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(36px, 4vw, 48px);
  border-top: 1px solid var(--line-dark);
}
.partner-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--text-light);
}
.partner-block .section-sub { margin-top: 12px; margin-bottom: clamp(24px, 3vw, 36px); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.partner-grid .clinic-tile { grid-column: span 1; }

/* =====================================================================
   ISTANBUL BAND — full-bleed breath before the journey
   ===================================================================== */
.istanbul {
  position: relative;
  overflow: hidden;
  background: var(--night-2);
}
.istanbul-photo { position: relative; }
.istanbul-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
              rgba(20, 21, 63, 0.08) 30%,
              rgba(20, 21, 63, 0.78) 100%);
}
.istanbul-photo img {
  width: 100%;
  height: clamp(380px, 62vh, 640px);
  object-fit: cover;
  object-position: center 32%;
}
.istanbul-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(32px, 6vh, 72px);
  color: #fff;
}
.istanbul-line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  text-wrap: balance;
}
.istanbul-line-em em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
}

/* =====================================================================
   PATIENT JOURNEY — pinned lotus scene (signature element)
   ===================================================================== */
.journey {
  background:
    radial-gradient(120% 90% at 70% 0%, rgba(123, 127, 212, 0.22), transparent 55%),
    linear-gradient(180deg, var(--night-2), var(--night) 45%, var(--night-2));
  color: #fff;
}

.journey-track { display: none; height: 420vh; }
.journey-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.journey-inner { width: 100%; }
.journey-head { margin-bottom: clamp(24px, 3vh, 48px); }
.journey-head .eyebrow { color: #fff; }
.journey-head .eyebrow-num { color: var(--gold-soft); }

.journey-scene {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  perspective: 900px;
}

.journey-lotus {
  width: 100%;
  max-width: 420px;
  overflow: visible;
}
.journey-lotus .petal path {
  fill: rgba(123, 127, 212, 0.16);
  stroke: rgba(123, 127, 212, 0.45);
  stroke-width: 1;
  transition: fill 0.7s var(--ease), stroke 0.7s var(--ease),
              filter 0.7s var(--ease);
}
.journey-lotus .petal.lit path {
  fill: rgba(123, 127, 212, 0.82);
  stroke: rgba(231, 220, 201, 0.9);
  filter: drop-shadow(0 0 18px rgba(123, 127, 212, 0.55));
}

/* Stage cards: stacked, only the active one is visible */
.journey-stages {
  position: relative;
  min-height: 260px;
}
.stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  max-width: 52ch;
  opacity: 0;
  transform: translateY(28px) rotateX(7deg);
  filter: blur(6px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease),
              filter 0.55s var(--ease);
  pointer-events: none;
}
.stage.active {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}
.stage.passed {
  opacity: 0;
  transform: translateY(-16px);
  filter: blur(4px);
}

.stage-index {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
}
.stage h3 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
}
.stage p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  max-width: 46ch;
}

/* Step rail across the bottom of the scene */
.journey-steps {
  grid-column: 1 / -1;
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(24px, 4vh, 56px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.journey-steps li {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.4s ease;
}
.journey-steps li.active { color: var(--gold-soft); }
.journey-steps li.done { color: rgba(255, 255, 255, 0.72); }

/* -- static fallback (mobile / reduced motion) -- */
.journey-static { padding: clamp(72px, 9vw, 128px) 0; }
.journey-static .eyebrow { color: #fff; }
.journey-static .eyebrow-num { color: var(--gold-soft); }
.journey-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 640px;
}
.journey-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}
.journey-list .stage-index {
  padding-top: 4px;
  border-top: 1px solid rgba(231, 220, 201, 0.5);
}
.journey-list h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.journey-list p { color: rgba(255, 255, 255, 0.78); font-size: 0.96rem; }

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .journey-track { display: block; }
  .journey-static { display: none; }
}

/* =====================================================================
   PATIENT GUIDE — article preview cards, same card language as Offers.
   Titles are placeholders; "Coming soon" replaces a fabricated excerpt
   so nothing here reads as real medical content until the clinic's
   own team writes it.
   ===================================================================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
  perspective: var(--depth);
}

.article-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  transform: translateZ(0) rotateY(var(--tilt-ry, 0deg)) rotateX(var(--tilt-rx, 0deg));
  transition: border-color 0.25s ease, transform 0.4s var(--ease);
  will-change: transform;
}
.article-card:hover { border-color: var(--brand-soft); }
.article-card .text-link { color: var(--brand-deep); }
.article-card .text-link:hover, .article-card .text-link:focus-visible { color: var(--brand); }

.article-photo { overflow: hidden; aspect-ratio: 3 / 4; }
.article-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.article-card:hover .article-photo img { transform: scale(1.03); }

.article-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(18px, 2vw, 22px);
}
.article-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}
.article-status {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
}

/* =====================================================================
   OFFERS — photography-led cards, featured editorial spread
   ===================================================================== */
.offer-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
  perspective: var(--depth);
}

.offer-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-card);
  transform: translateZ(0) rotateY(var(--tilt-ry, 0deg)) rotateX(var(--tilt-rx, 0deg));
  transition: border-color 0.25s ease, transform 0.4s var(--ease);
  will-change: transform;
}
.offer-card:hover { border-color: var(--brand-soft); }
.offer-card .text-link { color: var(--brand-deep); }
.offer-card .text-link:hover, .offer-card .text-link:focus-visible { color: var(--brand); }

.offer-photo {
  overflow: hidden;
  aspect-ratio: 16 / 9.5;
}
.offer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.offer-card:hover .offer-photo img { transform: scale(1.03); }

.offer-photo-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
}

.offer-media-note {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
}

/* Featured — a wide editorial spread across both columns */
.offer-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  border-color: var(--gold-soft);
}
.offer-featured .offer-photo {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}
/* The portrait phone video has no natural landscape size to stretch to,
   so give it a bounded ratio instead of letting it dictate the row's
   height — it would otherwise render at its raw 9:16 height and leave
   the text column stranded at the top with empty space below. */
.offer-featured .offer-photo-video {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 280px;
}
.offer-featured .offer-body { padding: clamp(28px, 4vw, 56px); }

.offer-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(22px, 2.5vw, 30px);
}
.offer-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.offer-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.1;
}

.offer-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.price-old { color: var(--muted); font-size: 1rem; }
.price-now {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--brand-deep);
  line-height: 1;
}
.price-consult {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--brand-deep);
}

.offer-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 6px 0;
  width: 100%;
}
.offer-includes li {
  position: relative;
  padding-left: 26px;
  font-size: 0.88rem;
  color: var(--muted);
}
.offer-includes li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 14px; height: 8px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}

.offer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  width: 100%;
  /* auto pins the CTAs to the card's bottom edge instead of leaving a
     gap below them when a sibling card (equal-height grid row) or the
     offer-featured layout stretches this card taller than its content */
  margin-top: auto;
  padding-top: 10px;
}

.section-disclaimer {
  margin-top: clamp(28px, 4vw, 44px);
  color: var(--text-faint);
  font-size: 0.85rem;
  max-width: 62ch;
}

/* =====================================================================
   CONSULTATION
   ===================================================================== */
.consultation-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 32px;
}
.contact-list a, .contact-static {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 44px;
  padding: 10px 0;
  color: var(--text-dim);
  font-size: 0.96rem;
  transition: color 0.2s ease;
}
.contact-list a:hover, .contact-list a:focus-visible { color: var(--text-light); }
.contact-list .icon { margin-top: 2px; color: var(--brand-soft); }
.contact-list a[href^="https://wa.me"] .icon { color: #25d366; }

.consultation-photo {
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 420px;
  overflow: hidden;
  border-radius: var(--radius-arch) var(--radius-arch) var(--radius) var(--radius);
  box-shadow: var(--shadow-card);
}
.consultation-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.consultation-form-wrap {
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: var(--shadow-card);
}
.consultation-form-wrap .text-link { color: var(--brand-deep); }
.consultation-form-wrap .text-link:hover,
.consultation-form-wrap .text-link:focus-visible { color: var(--brand); }

.consultation-form { display: flex; flex-direction: column; gap: 20px; }
.consultation-form h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.label-optional { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 82, 184, 0.16);
}
.field input[aria-invalid="true"] { border-color: #b3324b; }
.field-error { color: #b3324b; font-size: 0.82rem; }
.field-hint { color: var(--muted); font-size: 0.82rem; }

.upload {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  border: 1.5px dashed var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.upload:hover { border-color: var(--brand-soft); color: var(--ink); }
.upload .icon { color: var(--brand); }
.upload.has-files {
  border-style: solid;
  border-color: var(--brand-soft);
  color: var(--ink);
  background: var(--bg-soft);
}

.form-footnote { color: var(--muted); font-size: 0.8rem; text-align: center; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 4px;
}
.form-success[hidden] { display: none; }
.success-icon { width: 52px; height: 52px; color: var(--brand); }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
}
.form-success p { color: var(--muted); max-width: 40ch; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  background: var(--canvas-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(36px, 4vw, 56px);
}
.footer-brand { margin-bottom: 18px; }
.footer-brand .brand-mark { height: 38px; }
.footer-brand .brand-word { font-size: 1.3rem; }
.footer-tag { color: var(--text-dim); font-size: 0.92rem; max-width: 34ch; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-light);
}
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-dim);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-col a:hover, .footer-col a:focus-visible { color: var(--text-light); }
.footer-address { color: var(--text-dim); font-size: 0.92rem; line-height: 1.7; padding-top: 8px; }

.footer-social { display: flex; gap: 6px; margin-top: 18px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover, .footer-social a:focus-visible {
  color: var(--text-light);
  border-color: var(--brand-soft);
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer { color: var(--text-faint); font-size: 0.8rem; max-width: 88ch; }
.footer-copy { color: var(--text-faint); font-size: 0.8rem; }

/* =====================================================================
   DOCTOR MODAL
   ===================================================================== */
.modal { position: fixed; inset: 0; z-index: 150; display: flex; }
.modal[hidden] { display: none; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 21, 63, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.modal-panel {
  position: relative;
  margin: auto;
  margin-top: max(6vh, env(safe-area-inset-top));
  margin-bottom: 6vh;
  width: min(760px, calc(100% - 32px));
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  color: var(--ink);
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: clamp(24px, 4vw, 40px);
}

@media (prefers-reduced-motion: no-preference) {
  .modal .modal-panel { animation: modal-in 0.4s var(--ease) both; }
  .modal .modal-overlay { animation: overlay-in 0.3s ease both; }
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.modal-close:hover, .modal-close:focus-visible { border-color: var(--brand); color: var(--brand); }

.modal-profile {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-right: 48px;
}
.modal-photo {
  flex: none;
  width: clamp(64px, 10vw, 84px);
  aspect-ratio: 1;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.modal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.modal-head { padding-top: 4px; }
.modal-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
}
.modal-creds { color: var(--muted); font-size: 0.86rem; margin-top: 5px; line-height: 1.5; }
.modal-stats { color: var(--brand-deep); font-weight: 600; font-size: 0.86rem; margin-top: 5px; }
.modal-stats[hidden] { display: none; }

.modal-about {
  margin-top: 22px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.7;
}

.modal-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.modal-section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.modal-section p { color: var(--ink); font-size: 0.94rem; }

.modal-list { display: flex; flex-direction: column; gap: 7px; }
.modal-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}
.modal-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1.6px;
  background: var(--gold);
}

.modal-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.modal-work-toggle {
  width: 100%;
  justify-content: space-between;
  margin-top: 26px;
}
.modal-work-toggle .icon { transition: transform 0.3s var(--ease); }
.modal-work-toggle[aria-expanded="true"] .icon { transform: rotate(90deg); }
.modal-work-toggle[hidden] { display: none; }

.ba-grid { display: flex; flex-direction: column; gap: 24px; margin-top: 22px; }
.ba-grid[hidden] { display: none; }
.ba-case { display: flex; flex-direction: column; gap: 10px; }
.ba-case-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
}
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ba-slot {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  display: grid;
  place-items: center;
  position: relative;
}
.ba-slot span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ba-before {
  background: linear-gradient(150deg, #ececf5, #dcdcec);
  color: var(--muted);
}
.ba-after {
  background: linear-gradient(150deg, #e9e9fa, var(--brand-soft));
  color: #fff;
}
.ba-real {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}
.ba-real-note {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-deep);
}

/* ---- Doctor B/A thumbnail catalogue ---- */
.ba-thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.ba-thumb {
  position: relative;
  border: none;
  padding: 0;
  background: none;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.ba-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
}
.ba-thumb:hover img { transform: scale(1.06); }
.ba-thumb-lbl {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 6px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

/* ---- Doctor B/A lightbox ---- */
.doc-lb {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(5,6,20,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.doc-lb[hidden] { display: none; }
.doc-lb-img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: 10px;
  object-fit: contain;
  display: block;
}
.doc-lb-close {
  position: fixed;
  top: 14px;
  right: 18px;
  font-size: 34px;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.8;
}
.doc-lb-close:hover { opacity: 1; }
.doc-lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-lb-nav:hover { background: rgba(255,255,255,.25); }
.doc-lb-prev { left: 14px; }
.doc-lb-next { right: 14px; }

.ba-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

body.modal-open { overflow: hidden; }

/* =====================================================================
   SCROLL REVEALS — few, quiet, no blur
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px) rotateX(-6deg);
    transform-origin: bottom center;
    transition:
      opacity 0.8s var(--ease) var(--d, 0s),
      transform 0.8s var(--ease) var(--d, 0s);
  }
  [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-title { margin-right: 0; }
  .offer-featured { grid-template-columns: 1fr; }
  .offer-featured .offer-photo { aspect-ratio: 16 / 8; min-height: 0; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 11, 32, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px max(24px, env(safe-area-inset-left)) 24px;
    box-shadow: var(--shadow-card);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .nav.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.35s var(--ease);
  }
  .nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line-dark);
    font-size: 0.95rem;
    padding: 0;
    color: var(--text-dim);
  }
  .nav a::after { display: none; }
  .nav-whatsapp { display: flex; gap: 10px; border-bottom: none; }
  .nav-whatsapp .icon { color: #1fa855; }

  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 560px; }
  .hero-photo { aspect-ratio: 4 / 4.4; }
  .hero-title { font-size: clamp(3rem, 12vw, 4.4rem); }

  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse .split-media { order: 0; }
  .split-reverse .split-body { order: 0; }
  .split-photo, .split-photo-landscape { max-width: 100%; }
  .split-photo-inset { bottom: -20px; }

  /* One card dominant with a peek of the next, a familiar app-carousel feel */
  .doctor-slide { flex-basis: 78vw; }
  .carousel-hint { display: none; } /* touch devices at this width don't need the hint */

  .istanbul-photo img { height: clamp(320px, 50vh, 480px); }

  .partner-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid .clinic-tile:last-child { grid-column: 1 / -1; }

  .consultation-grid { grid-template-columns: 1fr; }
  .consultation-photo { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 22px; }
  .clinic-grid { grid-template-columns: 1fr; }
  .clinic-tile, .clinic-wide { grid-column: span 1; }
  .clinic-wide img { aspect-ratio: 4 / 3; }
  .partner-grid { grid-template-columns: 1fr; }
  .proc-list { grid-template-columns: 1fr; }
  .offer-layout { grid-template-columns: 1fr; }
  .offer-includes { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .ba-pair { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   ARTICLE PAGES — long-form dental patient guides.
   A white "reading paper" carries the column on the dark canvas;
   same tokens as the rest of the site.
   ===================================================================== */
.article-main { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 30px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--gold-soft); }

.article-hero { max-width: 820px; margin: 0 auto 44px; text-align: center; }
.article-hero .article-category { justify-content: center; color: var(--gold-soft); }
.article-hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.06;
  color: var(--text-light); margin: 14px 0 0;
}
.article-lede {
  color: var(--text-dim); font-size: 1.08rem; line-height: 1.7;
  margin: 20px auto 0; max-width: 60ch;
}

.article-paper {
  max-width: 780px; margin: 0 auto; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: clamp(26px, 5vw, 64px);
}
.article-prose { font-size: 1.02rem; line-height: 1.8; color: #44454f; }
.article-prose > * + * { margin-top: 1.15em; }
.article-prose h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.05rem); line-height: 1.2;
  color: var(--brand-deep); margin-top: 1.7em;
}
.article-prose h3 {
  font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-top: 1.4em;
}
.article-prose strong { color: var(--ink); font-weight: 600; }
.article-prose ul, .article-prose ol { padding-left: 1.3em; }
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { margin-top: 0.5em; }
.article-prose li::marker { color: var(--brand-soft); }
.article-prose a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-prose blockquote {
  border-left: 3px solid var(--gold); padding: 2px 0 2px 20px; margin-left: 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.25rem;
  color: var(--brand-deep);
}
.article-prose .callout {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; font-size: 0.96rem;
}
.article-note {
  margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line);
  font-size: 0.85rem; font-style: italic; color: var(--muted);
}

.article-cta-band {
  max-width: 780px; margin: 40px auto 0; text-align: center;
  background: linear-gradient(180deg, var(--night), var(--night-2));
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
}
.article-cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.article-cta-band p { color: var(--text-dim); margin: 14px auto 26px; max-width: 48ch; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.article-cta-band .btn-ghost { color: var(--text-light); }
.article-cta-band .btn-ghost:hover, .article-cta-band .btn-ghost:focus-visible { color: var(--gold-soft); }

/* Dental library (articles/index.html) */
.library-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
}
.library-card {
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); overflow: hidden;
  transition: border-color 0.25s ease, transform 0.35s var(--ease);
  scroll-margin-top: 100px;
}
a.library-card:hover, a.library-card:focus-visible {
  border-color: var(--brand-soft); transform: translateY(-4px);
}
.library-card-img {
  width: 100%; aspect-ratio: 8 / 5; object-fit: cover; display: block;
}
.library-card-body {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(22px, 2.4vw, 30px); flex: 1;
}
.library-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.3rem; line-height: 1.22; color: var(--ink);
}
.library-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.library-card .text-link { color: var(--brand-deep); margin-top: auto; }
.library-card.is-soon { opacity: 0.72; }
.library-card.is-soon .article-status { color: var(--muted); font-style: italic; font-size: 0.82rem; }

.articles-more { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }

@media (max-width: 980px) { .library-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .library-grid { grid-template-columns: 1fr; } }

@media (max-width: 420px) {
  .header-cta .btn { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* ===================================================================== */
/* CINEMATIC "OVERVIEW VIDEO" HERO (full-bleed, Shafer-style)            */
/* ===================================================================== */
.hero.hero-cine{
  position:relative;
  min-height:min(94vh, 880px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding-top:0;
  overflow:clip;
  isolation:isolate;
}
.hero-cine-media{ position:absolute; inset:0; z-index:0; background:#07081a; }
.hero-cine-media video{
  width:100%; height:100%; object-fit:cover; object-position:50% 32%; display:block;
}
.hero-cine-scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(7,8,26,.62) 0%, rgba(7,8,26,.20) 26%, rgba(7,8,26,.24) 56%, rgba(7,8,26,.92) 100%),
    radial-gradient(130% 95% at 16% 40%, rgba(7,8,26,.58), transparent 60%);
}
.hero-cine-inner{
  position:relative; z-index:2;
  padding-top:clamp(132px, 22vh, 260px);
  padding-bottom:clamp(26px, 4vw, 54px);
}
.hero-cine .hero-title{ margin-right:0; max-width:15ch; text-shadow:0 2px 40px rgba(0,0,0,.5); }
.hero-cine .hero-kicker{ text-shadow:0 1px 12px rgba(0,0,0,.6); }
.hero-cine .hero-sub{ max-width:50ch; text-shadow:0 1px 18px rgba(0,0,0,.6); }
.hero-cine .hero-actions{ align-items:center; }

/* Watch Overview Video button */
.hero-watch{
  display:inline-flex; align-items:center; gap:12px;
  background:none; border:0; cursor:pointer; padding:0;
  color:var(--text-light); font-weight:600; font-size:.92rem;
}
.hero-watch-ico{
  width:46px; height:46px; border-radius:50%;
  display:grid; place-items:center; color:var(--text-light);
  border:1px solid rgba(245,244,251,.4); background:rgba(245,244,251,.08);
  backdrop-filter:blur(4px);
  transition:transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease;
}
.hero-watch-ico svg{ width:16px; height:16px; margin-left:2px; }
.hero-watch:hover .hero-watch-ico,
.hero-watch:focus-visible .hero-watch-ico{
  transform:scale(1.06); background:var(--gold); border-color:var(--gold); color:#1a1500;
}

.hero-facts-wrap{ position:relative; z-index:2; }
.hero.hero-cine .hero-facts{ margin-top:clamp(22px, 3vw, 40px); }
.hero.hero-cine .hero-facts strong,
.hero.hero-cine .hero-facts span{ text-shadow:0 1px 14px rgba(0,0,0,.55); }

@media (max-width:760px){
  .hero.hero-cine{ min-height:82vh; }
  .hero-cine .hero-title{ max-width:none; }
  .hero-cine-inner{ padding-top:clamp(104px, 24vh, 180px); }
}

/* Overview video lightbox */
.ovl{ position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:24px; }
.ovl[hidden]{ display:none; }
.ovl-backdrop{ position:absolute; inset:0; background:rgba(5,6,20,.82); backdrop-filter:blur(6px); }
.ovl-dialog{
  position:relative; z-index:1; width:min(92vw, 420px); max-height:88vh; aspect-ratio:9/16;
  background:#000; border-radius:12px; overflow:hidden; box-shadow:var(--shadow-card);
}
.ovl-dialog video{ width:100%; height:100%; object-fit:contain; background:#000; display:block; }
.ovl-close{
  position:absolute; top:10px; right:10px; z-index:2;
  width:40px; height:40px; border-radius:50%; border:0; cursor:pointer;
  background:rgba(5,6,20,.6); color:#fff; font-size:22px; line-height:1;
  display:grid; place-items:center; transition:background .2s ease, color .2s ease;
}
.ovl-close:hover{ background:var(--gold); color:#1a1500; }

/* ===================================================================== */
/* NAV DROPDOWNS + HERO MUTE                                             */
/* ===================================================================== */
.nav-list{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; }
.nav-item{ position:relative; display:flex; align-items:center; gap:2px; }
.nav-caret{ background:none; border:0; cursor:pointer; color:var(--text-faint); padding:6px 2px; display:inline-flex; align-items:center; transition:color .2s ease, transform .25s var(--ease); }
.nav-caret svg{ width:12px; height:12px; }
.nav-item:hover > .nav-caret, .nav-item.open > .nav-caret{ color:var(--text-light); }
.nav-item.open > .nav-caret{ transform:rotate(180deg); }
.nav-dropdown{
  position:absolute; top:calc(100% + 8px); left:-10px;
  min-width:232px; list-style:none; margin:0; padding:8px;
  background:rgba(10,11,32,.98); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid var(--line-dark); border-radius:12px; box-shadow:var(--shadow-card);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
  z-index:95;
}
.nav-item.has-dropdown:hover > .nav-dropdown,
.nav-item.has-dropdown:focus-within > .nav-dropdown,
.nav-item.has-dropdown.open > .nav-dropdown{
  opacity:1; visibility:visible; transform:translateY(0);
  transition:opacity .22s var(--ease), transform .22s var(--ease);
}
.nav-dropdown li{ margin:0; }
.nav-dropdown a{
  display:block; min-height:auto; padding:9px 12px; border:0;
  font-size:.85rem; font-weight:500; text-transform:none; letter-spacing:0;
  color:var(--text-dim); border-radius:7px; white-space:nowrap;
}
.nav-dropdown a::after{ display:none; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible{ color:var(--text-light); background:rgba(245,244,251,.06); }
.nav-dropdown-label{
  padding:10px 12px 4px; font-size:.68rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--text-faint); opacity:.65;
}
.nav-dropdown-label:first-child{ padding-top:2px; }
.nav-dropdown-viewall{ border-top:1px solid var(--line-dark); margin-top:6px; padding-top:6px; }

/* Nested flyout sub-menu, e.g. Articles > Plastic Surgery > (its guides) */
.nav-dropdown li.nav-subitem{
  position:relative; display:flex; align-items:center; justify-content:space-between; gap:4px;
}
.nav-dropdown li.nav-subitem > a{ flex:1 1 auto; }
.nav-dropdown li.nav-subitem > .nav-caret{ padding:8px; transform:rotate(-90deg); }
.nav-dropdown li.nav-subitem.open > .nav-caret{ transform:rotate(-90deg); }
.nav-dropdown li.nav-subitem > .nav-dropdown{ top:-8px; left:100%; margin-left:8px; }
@media (max-width:900px){
  .nav-dropdown li.nav-subitem > .nav-caret{ transform:none; }
  .nav-dropdown li.nav-subitem.open > .nav-caret{ transform:rotate(180deg); }
  .nav-dropdown .nav-dropdown{ padding-left:12px; }
}

/* Hero in-place unmute button */
.hero-mute{
  position:absolute; z-index:3; right:clamp(16px,3vw,40px); bottom:clamp(16px,3vw,40px);
  width:48px; height:48px; border-radius:50%; display:grid; place-items:center; cursor:pointer;
  border:1px solid rgba(245,244,251,.4); background:rgba(7,8,26,.5); color:var(--text-light);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  transition:background .25s ease, border-color .25s ease, transform .2s var(--ease);
}
.hero-mute:hover{ transform:scale(1.06); background:var(--gold); border-color:var(--gold); color:#1a1500; }
.hero-mute svg{ width:20px; height:20px; }
.hero-mute .ico-on{ display:none; }
.hero-mute.is-on .ico-on{ display:block; }
.hero-mute.is-on .ico-off{ display:none; }

@media (max-width:900px){
  .nav-list{ flex-direction:column; align-items:stretch; gap:0; width:100%; }
  .nav-item{ flex-wrap:wrap; justify-content:space-between; border-bottom:1px solid var(--line-dark); }
  .nav-item > a{ border-bottom:0; flex:1 1 auto; }
  .nav-caret{ padding:16px 8px; }
  .nav-dropdown{
    position:static; opacity:1; visibility:visible; transform:none; display:none;
    width:100%; min-width:0; background:none; border:0; box-shadow:none;
    backdrop-filter:none; -webkit-backdrop-filter:none; padding:0 0 8px; transition:none;
  }
  .nav-item.has-dropdown.open > .nav-dropdown{ display:block; }
  .nav-item.has-dropdown:hover > .nav-dropdown{ display:none; }
  .nav-item.has-dropdown.open:hover > .nav-dropdown{ display:block; }
  .nav-dropdown a{ padding:12px 14px 12px 4px; color:var(--text-faint); }
}

/* ===================================================================== */
/* OUR COSMETIC SURGERY PROCEDURES (card grid + feature video)          */
/* ===================================================================== */
.procedures .section-sub{ max-width:52ch; }
.proc-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(12px,1.4vw,20px); margin-top:clamp(34px,4vw,60px); }
.proc-card{ position:relative; display:block; aspect-ratio:3/4.3; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-card); background:#0c0d26; isolation:isolate; }
.proc-card img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.proc-card::after{ content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,transparent 42%,rgba(7,8,26,.12) 56%,rgba(7,8,26,.86) 100%); }
.proc-card-label{ position:absolute; left:clamp(12px,1vw,18px); bottom:clamp(12px,1vw,18px); z-index:2; font-family:var(--font-display); font-weight:500; font-size:clamp(1.05rem,1.4vw,1.45rem); color:#fff; text-shadow:0 1px 12px rgba(0,0,0,.55); }
.proc-card:hover img, .proc-card:focus-visible img{ transform:scale(1.06); }
.proc-card--placeholder{ background:linear-gradient(150deg,var(--brand-deep),#15173f 60%,#0c0d26); }
.proc-card--placeholder::after{ background:linear-gradient(180deg,transparent 50%,rgba(7,8,26,.55) 100%); }
.proc-soon{ position:absolute; top:12px; right:12px; z-index:2; font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-faint); border:1px solid var(--line-dark); border-radius:999px; padding:4px 9px; }
.proc-feature{ margin-top:clamp(34px,4vw,60px); display:flex; flex-direction:column; align-items:center; gap:clamp(18px,2.4vw,30px); }
.proc-video{ margin:0; width:min(92vw,440px); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-card); aspect-ratio:9/16; max-height:80vh; background:#07081a; }
.proc-video video{ width:100%; height:100%; object-fit:cover; display:block; background:#07081a; }
.proc-video figcaption{ padding:12px 16px; font-size:.82rem; color:var(--text-faint); text-align:center; background:rgba(7,8,26,.6); }
@media (max-width:1000px){ .proc-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:620px){ .proc-grid{ grid-template-columns:repeat(2,1fr); } .proc-card{ aspect-ratio:3/4; } }

/* ===================================================================== */
/* PROCEDURES SECTION V2 (Shafer layout, navy theme)                    */
/* ===================================================================== */
.proc-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:clamp(20px,3vw,48px); flex-wrap:wrap; }
.proc-head-title{ display:flex; flex-direction:column; }
.proc-title{ font-family:var(--font-display); font-weight:500; font-size:clamp(2.1rem,4.4vw,3.4rem); line-height:1.02; letter-spacing:-0.01em; color:var(--text-light); margin:8px 0 0; }
.proc-title em{ font-style:italic; font-weight:400; color:var(--brand-soft); }
.proc-actions{ display:flex; align-items:center; gap:clamp(14px,2vw,28px); flex-wrap:wrap; }
.proc-viewall{ border-radius:999px; white-space:nowrap; }
.proc-watch{ display:inline-flex; align-items:center; gap:13px; background:none; border:0; cursor:pointer; color:var(--text-light); padding:0; }
.proc-watch-ico{ width:54px; height:54px; border-radius:50%; display:grid; place-items:center; color:var(--text-light);
  border:1px solid rgba(245,244,251,.4); background:rgba(245,244,251,.06); backdrop-filter:blur(4px);
  transition:transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease; }
.proc-watch-ico svg{ width:16px; height:16px; margin-left:2px; }
.proc-watch:hover .proc-watch-ico, .proc-watch:focus-visible .proc-watch-ico{ transform:scale(1.06); background:var(--gold); border-color:var(--gold); color:#1a1500; }
.proc-watch-label{ font-size:.82rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--text-dim); }

.proc-row{ display:flex; gap:clamp(16px,1.6vw,24px); margin-top:clamp(34px,4vw,56px);
  overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:12px;
  scrollbar-width:thin; scrollbar-color:var(--line-dark) transparent; }
.proc-row::-webkit-scrollbar{ height:6px; }
.proc-row::-webkit-scrollbar-thumb{ background:var(--line-dark); border-radius:999px; }
.proc-row .proc-card{ flex:0 0 auto; width:min(80vw,392px); aspect-ratio:1.12/1; scroll-snap-align:start; border-radius:16px; }
.proc-row .proc-card video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.proc-card.proc-card--video video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
/* Portrait phone videos: scale up to fill landscape card (rhino + body are 9:16 portrait) */
#proc-body video, #proc-rhino video{ transform:scale(2.5); transform-origin:center; }
.proc-row .proc-card .proc-card-label{ font-size:clamp(1.15rem,1.6vw,1.6rem); left:clamp(16px,1.3vw,22px); bottom:clamp(16px,1.3vw,22px); }
.proc-row .proc-card .proc-card-label::after{ content:""; display:block; width:48px; height:2px; margin-top:9px; background:var(--gold); opacity:.95; }
@media (max-width:620px){
  .proc-row .proc-card{ width:84vw; aspect-ratio:1.2/1; }
  .proc-head{ align-items:flex-start; }
}

/* ===================================================================== */
/* PROCEDURES SECTION V3 (fill width + carousel controls)               */
/* ===================================================================== */
.procedures > .container{ max-width:1680px; }
.proc-row .proc-card{ width:clamp(300px,23vw,408px); }
.proc-nav{ justify-content:flex-end; }
@media (max-width:620px){ .proc-row .proc-card{ width:84vw; } }

/* ===================================================================== */
/* PROCEDURES SECTION V4 (static 3-col grid, Shafer style)              */
/* ===================================================================== */
.proc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,1.6vw,26px); overflow:visible; scroll-snap-type:none; }
.proc-grid .proc-card{ width:auto; aspect-ratio:1.16/1; }
@media (max-width:900px){ .proc-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .proc-grid{ grid-template-columns:1fr; } .proc-grid .proc-card{ aspect-ratio:1.3/1; } }

/* ===================================================================== */
/* GALLERY (before/after grid, Shafer "See the Difference" style)       */
/* ===================================================================== */
.gallery-explore{ margin-top:22px; }
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, 180px);
  justify-content:center;
  gap:clamp(12px,1.2vw,18px);
  margin-top:clamp(34px,4vw,56px);
}
.gallery-grid .proc-card{ aspect-ratio:3/4; cursor:pointer; }
.gallery-grid .proc-card:not(.proc-card--placeholder):hover img,
.gallery-grid .proc-card:not(.proc-card--placeholder):focus-visible img{ transform:scale(1.08); }
.gallery-grid .proc-card:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
.gallery-grid .proc-card-label{ font-size:clamp(.82rem,1vw,.98rem); }

/* ---- Dedicated gallery page (gallery.html) --------------------------- */
.gallery-jump{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px 20px;
  margin:32px 0 0; padding:0; list-style:none;
}
.gallery-jump a{
  font-size:.76rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-dim);
}
.gallery-jump a:hover, .gallery-jump a:focus-visible{ color:var(--gold-soft); }
.gallery-category{ margin-top:clamp(56px,7vw,96px); }
.gallery-category:first-of-type{ margin-top:clamp(30px,4vw,50px); }
.gallery-group{ margin-top:clamp(36px,4.4vw,56px); scroll-margin-top:100px; }
.gallery-group h3{
  font-family:var(--font-display); font-weight:500; color:var(--text-light);
  font-size:clamp(1.3rem,2vw,1.7rem); margin:0 0 6px;
}
.gallery-group .group-note{ color:var(--text-dim); font-size:.88rem; max-width:60ch; margin:0 0 4px; }

/* ---- Gallery lightbox (click a thumbnail to browse that section) ----- */
.ovl-dialog.ovl-lightbox{
  width:auto; max-width:92vw; max-height:88vh; aspect-ratio:auto;
  background:transparent; box-shadow:none;
  display:flex; align-items:center; justify-content:center;
}
.ovl-lightbox img{
  max-width:92vw; max-height:88vh; width:auto; height:auto;
  object-fit:contain; border-radius:12px; display:block; background:#0c0d26;
}
.ovl-nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:48px; height:48px; border-radius:50%; border:0; cursor:pointer;
  background:rgba(5,6,20,.65); color:#fff; font-size:22px; display:grid; place-items:center;
}
.ovl-nav:hover{ background:var(--gold); color:#1a1500; }
.ovl-nav:disabled{ opacity:.35; cursor:default; pointer-events:none; }
.ovl-prev{ left:6px; }
.ovl-next{ right:6px; }
.ovl-counter{
  position:absolute; bottom:-30px; left:50%; transform:translateX(-50%);
  font-size:.78rem; letter-spacing:.08em; color:var(--text-dim);
}
@media (max-width:700px){ .ovl-nav{ width:40px; height:40px; font-size:18px; } }

/* ===================================================================== */
/* TESTIMONIALS (video play-cards + shared lightbox)                    */
/* ===================================================================== */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:clamp(16px,1.6vw,24px);
  margin-top:clamp(34px,4vw,56px);
}
.testimonial-card{
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:14px; aspect-ratio:4/3; border-radius:var(--radius); overflow:hidden;
  background:linear-gradient(150deg,var(--brand-deep),#15173f 60%,#0c0d26);
  border:1px solid var(--line-dark); cursor:pointer; padding:20px; text-align:center;
  box-shadow:var(--shadow-card); font:inherit;
}
.testimonial-thumb{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
  transition:transform .4s var(--ease);
}
.testimonial-card:hover .testimonial-thumb, .testimonial-card:focus-visible .testimonial-thumb{
  transform:scale(1.06);
}
.testimonial-card::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(7,8,26,.1) 0%, rgba(7,8,26,.35) 55%, rgba(7,8,26,.88) 100%);
}
.testimonial-play, .testimonial-label, .testimonial-lang{ position:relative; z-index:2; }
.testimonial-play{
  width:58px; height:58px; border-radius:50%; display:grid; place-items:center;
  border:1px solid rgba(245,244,251,.4); background:rgba(245,244,251,.06); backdrop-filter:blur(4px);
  color:var(--text-light); transition:transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease;
}
.testimonial-play svg{ width:18px; height:18px; margin-left:2px; }
.testimonial-card:hover .testimonial-play, .testimonial-card:focus-visible .testimonial-play{
  transform:scale(1.08); background:var(--gold); border-color:var(--gold); color:#1a1500;
}
.testimonial-label{ font-size:.95rem; font-weight:600; color:var(--text-light); text-shadow:0 1px 4px rgba(0,0,0,.5); }
.testimonial-lang{ font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-dim); }
@media (max-width:620px){ .testimonial-grid{ grid-template-columns:repeat(2,1fr); } }

/* ===================================================================== */
/* SURGEONS GRID (full-width, no carousel, no video)                    */
/* ===================================================================== */
.doctors > .container{ max-width:1680px; }
.doctor-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(258px, 1fr));
  gap:clamp(18px,1.8vw,28px);
  margin-top:clamp(34px,4vw,56px);
  perspective:var(--depth);
}
.doctor-grid .doctor-card{ width:100%; }

/* ===================================================================== */
/* OUR FACILITY (full-bleed background video section)                   */
/* ===================================================================== */
.facility{ position:relative; min-height:min(88vh, 800px); display:flex; align-items:center; overflow:clip; isolation:isolate; }
.facility-media{ position:absolute; inset:0; z-index:0; background:#07081a; }
.facility-media video{ width:100%; height:100%; object-fit:cover; display:block; }
.facility-scrim{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(90deg, rgba(7,8,26,.93) 0%, rgba(7,8,26,.72) 42%, rgba(7,8,26,.32) 72%, rgba(7,8,26,.12) 100%),
    linear-gradient(0deg, rgba(7,8,26,.55), rgba(7,8,26,.12) 55%); }
.facility-inner{ position:relative; z-index:2; max-width:660px; padding-block:clamp(72px,9vw,120px); color:var(--text-light); }
.facility .eyebrow{ color:var(--gold); }
.facility .eyebrow-num{ color:var(--gold-soft); }
.facility-title{ font-family:var(--font-display); font-weight:500; font-size:clamp(2.4rem,5vw,4rem); line-height:1.02; letter-spacing:-0.01em; color:var(--text-light); margin:14px 0 0; text-shadow:0 2px 30px rgba(0,0,0,.5); }
.facility-text{ margin-top:clamp(20px,2.5vw,30px); color:var(--text-dim); max-width:54ch; font-size:1.02rem; line-height:1.7; text-shadow:0 1px 16px rgba(0,0,0,.55); }
.facility-actions{ display:flex; align-items:center; gap:clamp(16px,2vw,28px); flex-wrap:wrap; margin-top:clamp(28px,3.5vw,46px); }
.facility .proc-watch-label{ color:var(--text-light); }

/* wide (landscape) lightbox variant */
.ovl-dialog.ovl-wide{ width:min(94vw, 980px); aspect-ratio:16/9; max-height:88vh; }
.ovl-dialog.ovl-wide video{ object-fit:contain; background:#000; }


/* ===================================================================== */
/* FACILITY — horizontal two-column layout (Taksim)                     */
/* ===================================================================== */
.facility-inner{ max-width:1400px; }
.facility-grid{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(30px,5vw,80px); align-items:center;
  margin-top:clamp(16px,2vw,28px);
}
.facility-lead{ display:flex; flex-direction:column; }
.facility-grid .facility-title{ margin-top:0; }
.facility-grid .facility-actions{ margin-top:clamp(26px,3vw,40px); }
.facility-grid .facility-text{ margin-top:0; max-width:48ch; }
.facility-scrim{
  background:
    linear-gradient(180deg, rgba(7,8,26,.52) 0%, rgba(7,8,26,.34) 42%, rgba(7,8,26,.8) 100%),
    linear-gradient(90deg, rgba(7,8,26,.5), rgba(7,8,26,.22));
}
@media (max-width:860px){ .facility-grid{ grid-template-columns:1fr; gap:22px; } }

/* ===================================================================== */
/* BHT — YouTube background (cover) + modal iframe                       */
/* ===================================================================== */
.bht-media{ background:#07081a; }
.bht-bg{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:177.78vh; height:56.25vw;
  min-width:100%; min-height:100%;
  border:0; pointer-events:none;
}
.ovl-dialog.ovl-wide iframe{ width:100%; height:100%; border:0; display:block; }

/* ===================================================================== */
/* MOBILE SWIPE CAROUSELS (≤ 640px)                                      */
/* ===================================================================== */
@media (max-width: 640px) {

  /* ---- Section 05 gallery → horizontal snap carousel ---- */
  .gallery-grid {
    grid-template-columns: unset;
    justify-content: flex-start;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 16px;
    margin-top: clamp(20px, 4vw, 36px);
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-grid .proc-card {
    flex: 0 0 70%;
    scroll-snap-align: start;
    aspect-ratio: 3/4;
  }

  /* ---- Doctor B/A thumbnail grid → horizontal snap carousel ---- */
  .ba-thumb-grid {
    grid-template-columns: unset;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .ba-thumb-grid::-webkit-scrollbar { display: none; }
  .ba-thumb {
    flex: 0 0 60vw;
    max-width: 230px;
    scroll-snap-align: start;
  }
}


/* ---- Language switcher (nav) ---- */
.nav-lang-switcher > a{ text-transform:none; }
.nav-lang-dropdown{ min-width:170px; max-height:60vh; overflow-y:auto; }
.nav-lang-link{ font-size:13px; }
.nav-lang-link.nav-lang-active{ color:var(--text-light); font-weight:600; }
img.nav-lang-flag{ display:inline-block; width:16px; height:12px; margin-right:7px; vertical-align:middle; object-fit:cover; border-radius:2px; box-shadow:0 0 0 1px rgba(255,255,255,.15); }
.nav-lang-switcher > a img.nav-lang-flag{ margin-right:6px; }
html[dir="rtl"] img.nav-lang-flag{ margin-right:0; margin-left:7px; }
html[dir="rtl"] .nav-lang-switcher > a img.nav-lang-flag{ margin-right:0; margin-left:6px; }

/* ---- RTL (Arabic) overrides ---- */
html[dir="rtl"] body{ direction:rtl; text-align:right; }
html[dir="rtl"] .nav-dropdown,
html[dir="rtl"] .nav-lang-dropdown{ left:auto; right:0; text-align:right; }
html[dir="rtl"] .nav-dropdown li.nav-subitem > .nav-dropdown{ left:auto; right:100%; margin-left:0; margin-right:8px; }
html[dir="rtl"] .nav-caret svg{ transform:scaleX(-1); }
html[dir="rtl"] .header-inner,
html[dir="rtl"] .nav-list{ direction:rtl; }
html[dir="rtl"] .skip-link{ left:auto; right:0; }
