/* ==========================================================================
   DR. SUMBAL AFZAL — FOUNDATION STYLESHEET (STEP 1)
   Source of Truth: /docs/Sumbal-Afzal-Website-Master-Spec.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Google Fonts Import (Provisional Set)
   Fraunces (Variable Display Serif), Hanken Grotesk (Body Sans),
   IBM Plex Mono (Labels/Overlines/Tabs), Noto Naskh Arabic (Urdu)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Hanken+Grotesk:ital,wght@0,300..800;1,300..800&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   2. Design Tokens: Root (Light Mode Palette - Spec Section B2)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette (MEASURED exact hexes) */
  --bg: #FBF1EB;              /* Main page background (cream with pink tint) */
  --bg-sand: #F2E3D7;         /* Alternate section background */
  --surface: #FDFBF7;         /* Cards, booking card, stats card */
  --plum: #6B2941;            /* Hero "SA" circle, doctor card */
  --plum-btn: #5C2336;        /* Primary buttons (INFERRED, darker than --plum) */
  --plum-btn-text: #FFFFFF;   /* Button text */
  --rose: #C67982;            /* Italic emphasis words, ring, small labels, quote */
  --rose-label: #C57B81;      /* Overline labels, ring stroke */
  --gold: #B58954;            /* Rating bars, stars, timeline dots, price accents */
  --ink: #201213;             /* Headings */
  --ink-soft: #736563;        /* Body text */
  --selected: #EDD6D7;        /* Selected option fill (blush) */
  --sa-cream: #EDDBCE;        /* "SA" letters on plum circle */
  --sa-circle-fill: #6B2941;  /* Large plum circle fill */
  --whatsapp: #24D266;        /* WhatsApp button */
  --cursor-dot: #2D6A55;      /* Custom cursor dot (green-teal) */
  --cursor-ring: #C67982;     /* Custom cursor ring outline */

  /* Borders & Dividers */
  --border-card: #E2D2CB;     /* Cards border */
  --border-stats: #CCC1B8;    /* Stats container hairline */
  --border-hairline: rgba(226, 210, 203, 0.7);
  --border-subtle: rgba(115, 101, 99, 0.15);
  --service-hover-gradient: radial-gradient(circle at 0% 0%, rgba(237, 214, 215, 0.8) 0%, rgba(237, 214, 215, 0) 75%);

  /* Form Elements */
  --input-bg: #FBEDE6;        /* Peach fill */
  --input-focus: #6B2941;     /* Focus border soft burgundy */

  /* Navigation */
  --nav-bg: rgba(251, 241, 235, 0.88);
  --nav-border: rgba(226, 210, 203, 0.65);
  --nav-shadow: 0 8px 30px rgba(34, 14, 22, 0.05);

  /* Fixed Surfaces across themes */
  --loader-bg: #220E16;
  --footer-bg: #220E16;
  --footer-text: #FDFBF7;
  --footer-muted: #A68B93;
  --footer-border: rgba(255, 255, 255, 0.09);

  /* Typography Stacks */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', Menlo, Consolas, monospace;
  --font-urdu: 'Noto Naskh Arabic', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', serif;

  /* Shape & Radii (Spec B2 Layout & Spacing) */
  --radius-pill: 9999px;
  --radius-card: 22px;        /* 20px - 24px */
  --radius-booking: 28px;
  --radius-doctor: 28px;
  --radius-input: 14px;
  --radius-badge: 10px;

  /* Shadows (Spec B2 Layout & Spacing) */
  --shadow-soft: 0 20px 50px rgba(60, 20, 30, 0.08);
  --shadow-sm: 0 4px 14px rgba(60, 20, 30, 0.05);
  --shadow-circle: 0 24px 60px rgba(60, 20, 30, 0.16);
  --shadow-btn-hover: 0 8px 24px rgba(92, 35, 54, 0.22);

  /* Ambient Hero Glows */
  --hero-glow-right: rgba(235, 195, 202, 0.55); /* Soft blush glow */
  --hero-glow-left: rgba(230, 212, 195, 0.6);   /* Warm tan glow */

  /* Layout Spacing */
  --container-max: 1200px;
  --container-padding: clamp(20px, 7vw, 97px);
  --section-padding-y: clamp(90px, 8.5vw, 130px);

  /* Step 4: New Section Tokens (light mode) */
  --avail-green: #2E7D52;           /* Green availability text — accessible on cream/sand (contrast ≥ 4.5:1) */
  --tag-tan-bg: #F0E3D0;            /* Tan pill background on treatment cards */
  --tag-tan-text: #7A5A2A;          /* Dark tan/gold text for SURGICAL pill */
  --strike-color: #A89090;          /* Muted rose-grey for struck-through original prices */
  --treatment-btn-bg: var(--plum-btn); /* Inherits plum button fill */
  --treatment-btn-text: var(--plum-btn-text); /* White in light mode */
  --reviews-track: rgba(198, 121, 130, 0.18); /* Pale rose track for rating ring */
  --reviews-quote-mark: #F7ECF0;    /* Very pale pink quote mark fill */
  --reviews-avatar-bg: var(--plum); /* Plum avatar fill in light mode */
  --reviews-avatar-text: var(--sa-cream); /* Cream initial on plum */
  --visit-border-hover: rgba(198, 121, 130, 0.45); /* Rose border tint on card hover */

  /* Step 5: Doctor card + How Booking Works tokens (light mode) */
  --doctor-card-bg: var(--plum);          /* Large plum surface */
  --doctor-card-text: var(--sa-cream);    /* Cream text on plum card */
  --doctor-card-pill-border: rgba(237, 219, 206, 0.45); /* Cream pill outline at ~45% opacity */
  --doctor-card-pill-text: var(--sa-cream);
  --doctor-sa-circle-border: rgba(237, 219, 206, 0.55); /* Outlined SA circle */
  --how-divider: rgba(226, 210, 203, 0.7); /* Hairline between How Booking steps */
}

/* --------------------------------------------------------------------------
   3. Design Tokens: Dark Mode Palette (Spec Section B2 & B4 Contrast Fixes)
   -------------------------------------------------------------------------- */
html[data-theme="dark"] {
  --bg: #190D13;              /* Page background */
  --bg-sand: #140A0F;         /* Alternate section dark background */
  --surface: #1F1015;         /* Dark cards */
  --text: #F4E9E9;            /* Headings & body cream */
  --ink: #F4E9E9;             /* Headings in dark mode */
  --ink-soft: #BFAEB2;        /* Body text in dark mode */
  --rose: #D18D97;            /* Italic emphasis words in dark mode */
  --rose-label: #D18D97;
  --gold: #C59964;
  --pink-fill: #DEB0B6;       /* Primary pill fills & SA circle */

  /* DARK MODE CONTRAST FIXES (SPEC MANDATORY):
     The original has pale pink buttons with pale text, and pale SA circle
     with cream letters. Rebuild sets button text & "SA" letters to deep plum #4A1C2D */
  --plum-btn: #DEB0B6;        /* Pink button fill */
  --plum-btn-text: #4A1C2D;   /* Deep plum high-contrast text on pink fill */
  --sa-circle-fill: #DEB0B6;  /* Pink SA circle */
  --sa-cream: #4A1C2D;        /* Deep plum high-contrast SA letters */

  /* Ambient Hero Glows (Dark Mode: pale pink-white top-right, warm gold bottom-left) */
  --hero-glow-right: rgba(244, 215, 220, 0.14); /* Pale pink-white glow */
  --hero-glow-left: rgba(197, 153, 100, 0.15);  /* Warm gold glow */

  --selected: #331A24;        /* Selected option fill */
  --border-card: #331C24;
  --border-stats: #3D212B;
  --border-hairline: rgba(85, 42, 58, 0.5);
  --border-subtle: rgba(222, 176, 182, 0.15);
  --service-hover-gradient: radial-gradient(circle at 0% 0%, rgba(222, 176, 182, 0.16) 0%, rgba(222, 176, 182, 0) 75%);

  --input-bg: #28151D;
  --input-focus: #DEB0B6;

  --nav-bg: rgba(25, 13, 19, 0.88);
  --nav-border: rgba(85, 42, 58, 0.5);
  --nav-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);

  --cursor-ring: #D18D97;
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-circle: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-btn-hover: 0 8px 24px rgba(222, 176, 182, 0.25);

  /* Step 4 new tokens — derived from dark palette */
  --avail-green: #4DB87A;         /* Green availability text (dark mode: lighter than light #2E7D52 for contrast) */
  --tag-tan-bg: #2A1820;          /* Tan pill background (darkened plum-sand) */
  --tag-tan-text: #C59964;        /* Gold text on dark tan pill */
  --strike-color: #7A5560;        /* Muted rose for struck-through prices on dark bg */
  --treatment-btn-bg: #DEB0B6;    /* Same as --plum-btn in dark */
  --treatment-btn-text: #4A1C2D;  /* Deep plum text on pink */
  --reviews-track: rgba(222, 176, 182, 0.18); /* Pale ring track */
  --reviews-quote-mark: rgba(222, 176, 182, 0.35); /* Pale pink with moderate opacity — visible but decorative on dark surface */
  --reviews-avatar-bg: #DEB0B6;   /* Pink avatar in dark mode */
  --reviews-avatar-text: #4A1C2D; /* Deep plum initial on pink (readable) */
  --visit-border-hover: rgba(209, 141, 151, 0.5); /* Rose-tinted border on hover */
}

/* --------------------------------------------------------------------------
   4. Theme Switch Crossfade (Spec Section B3: ~0.65s global ease-out)
   Applied temporarily via JS on <html> during theme transition
   -------------------------------------------------------------------------- */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              fill 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              stroke 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* --------------------------------------------------------------------------
   5. Global Resets & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.loader-active {
  overflow: hidden !important;
}

/* Accessible focus visible styling */
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   6. Loader Overlay (Spec Section B3)
   Background #220E16, stroke-draw icon (~0.9s), progress bar (~1.2s),
   monospace text, hold ~1.0s, slide-up exit (~0.45s)
   -------------------------------------------------------------------------- */
.loader-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--loader-bg);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.75, 0, 0.25, 1);
  will-change: transform;
}

.loader-overlay.slide-up {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.loader-icon-wrap {
  width: 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.loader-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Stroke-draw keyframes for sprout and drop bulb */
.loader-svg .draw-sprout {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: stroke-draw-sprout 0.5s ease-out 0.1s forwards;
}

.loader-svg .draw-stem {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: stroke-draw-stem 0.3s ease-out 0.3s forwards;
}

.loader-svg .draw-bulb {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: stroke-draw-bulb 0.7s ease-out 0.35s forwards;
}

@keyframes stroke-draw-sprout {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes stroke-draw-stem {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes stroke-draw-bulb {
  to {
    stroke-dashoffset: 0;
  }
}

/* Progress track and filling bar */
.loader-progress-track {
  width: 220px;
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--rose);
  animation: loader-bar-fill 1.2s cubic-bezier(0.2, 0.8, 0.4, 1) 0.15s forwards;
}

@keyframes loader-bar-fill {
  0% {
    width: 0%;
  }
  60% {
    width: 72%;
  }
  100% {
    width: 100%;
  }
}

/* Monospace Loading Text */
.loader-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(226, 210, 215, 0.72);
  text-transform: uppercase;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. Fixed Frosted Navbar (Spec Section B3 & B4)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 78px;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--nav-shadow);
}

.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand left */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 24px;
  height: 34px;
  color: var(--rose);
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-doctor-name {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.nav-sublabel {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  color: var(--rose-label);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Navigation center links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 450;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--plum);
}

html[data-theme="dark"] .nav-link:hover {
  color: var(--rose);
}

/* Navigation right controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Theme toggle: 34px circle button with sun icon & center dot */
.theme-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background-color: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle-btn:hover {
  background-color: var(--selected);
  transform: scale(1.05);
}

.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
  width: 17px;
  height: 17px;
  display: block;
}

html[data-theme="light"] .theme-toggle-btn .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle-btn .icon-sun {
  display: none;
}

/* Ring flash on toggle click (Spec Section B3) */
.theme-toggle-btn.ring-flash::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  animation: toggle-flash-anim 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

@keyframes toggle-flash-anim {
  0% {
    transform: scale(0.85);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Primary "Book Appointment" pill button */
.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background-color: var(--plum-btn);
  color: var(--plum-btn-text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(60, 20, 30, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary-pill:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-btn-hover);
}

.btn-primary-pill .btn-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Hero Section (Spec Section B4)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: clamp(120px, 13vw, 150px);
  padding-bottom: clamp(60px, 7vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg);
  z-index: 2;
}

/* Stationary Ambient Glows */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(80px);
  -webkit-filter: blur(80px);
  opacity: 0.85;
}

.hero-glow-right {
  top: -40px;
  right: -60px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, var(--hero-glow-right) 0%, transparent 70%);
}

.hero-glow-left {
  bottom: 20px;
  left: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--hero-glow-left) 0%, transparent 70%);
}

/* Two-column Hero Container */
.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  position: relative;
  z-index: 2;
}

/* Left Column */
.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-overline-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-overline-line {
  width: 24px;
  height: 1.5px;
  background-color: var(--rose);
}

.hero-overline-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--rose-label);
  text-transform: uppercase;
}

/* Three-line Headline */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 5.8vw, 84px);
  line-height: 1.08;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  font-variation-settings: 'opsz' 144, 'wght' 500;
}

.hero-title .hero-italic {
  font-style: italic;
  color: var(--rose);
  font-weight: inherit;
}

.hero-title .hero-period {
  font-style: normal;
  color: var(--ink);
}

.hero-desc {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 530px;
  margin-bottom: 36px;
}

/* Hero Action Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-btn {
  font-size: 0.95rem;
  padding: 12px 26px;
}

.btn-secondary-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background-color: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-card);
  box-shadow: 0 2px 8px rgba(60, 20, 30, 0.03);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn-secondary-pill:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary-pill .btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Glass Stat Cards */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 540px;
}

.hero-stat-card {
  background-color: var(--surface);
  border: 1px solid var(--border-hairline);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
  box-shadow: var(--shadow-soft);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 72, 'wght' 600;
}

.stat-caption {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* Right Column Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual-wrap {
  position: relative;
  width: clamp(330px, 31vw, 440px);
  height: clamp(330px, 31vw, 440px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Large Plum/Pink Gradient Circle with SA Monogram */
.hero-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7D314C 0%, #582134 100%);
  box-shadow: var(--shadow-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: background 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] .hero-circle {
  background: radial-gradient(circle at 35% 35%, #E5B4BC 0%, #CF9DA5 100%);
}

.hero-monogram {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(70px, 7.8vw, 104px);
  color: var(--sa-cream);
  font-weight: 500;
  letter-spacing: -0.04em;
  user-select: none;
  transition: color 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Concentric Outer Ring */
.hero-outer-ring {
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 1.2px solid var(--border-hairline);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Floating Badges */
.hero-badge {
  position: absolute;
  background-color: var(--surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  z-index: 3;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-badge .badge-icon {
  width: 15px;
  height: 15px;
  color: var(--rose);
  flex-shrink: 0;
}

.hero-badge .star-icon {
  fill: var(--rose);
  stroke: none;
}

.hero-badge .badge-text {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.badge-pmdc {
  top: 10%;
  left: -20px;
  animation: bob-badge-pmdc 5.2s ease-in-out infinite;
}

.badge-satisfaction {
  bottom: 8%;
  right: -24px;
  animation: bob-badge-satisfaction 5.8s ease-in-out infinite 0.7s;
}

@keyframes bob-badge-pmdc {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bob-badge-satisfaction {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(11px);
  }
}

/* Bottom Center: Animated SCROLL Cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}

.hero-scroll-cue .scroll-line {
  width: 1.5px;
  height: 28px;
  background-color: var(--ink-soft);
  opacity: 0.6;
  animation: scroll-line-bounce 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes scroll-line-bounce {
  0%, 100% {
    transform: scaleY(0.35);
    transform-origin: top;
    opacity: 0.3;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0.85;
  }
}

.hero-scroll-cue .scroll-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* Entry Animation (fade & slide up ~14px over ~0.6s) */
.hero-animate {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-entered .hero-animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-content.hero-animate {
  transition-delay: 0.04s;
}
.hero-visual.hero-animate {
  transition-delay: 0.12s;
}
.hero-scroll-cue.hero-animate {
  transition-delay: 0.2s;
}

/* --------------------------------------------------------------------------
   9. Heartbeat Divider Component (Spec Section B4: Reusable Component)
   -------------------------------------------------------------------------- */
.heartbeat-divider-band {
  width: 100%;
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.heartbeat-divider-inner {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.heartbeat-svg {
  width: 100%;
  height: 48px;
  overflow: visible;
}

/* SVG Stroke Draw & Elements */
.heartbeat-svg .ecg-path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.heartbeat-svg .ecg-dot {
  opacity: 0;
  transition: opacity 0.3s ease 0.85s;
}

.heartbeat-svg .ecg-rings {
  opacity: 0;
  transition: opacity 0.4s ease 0.95s;
}

.heartbeat-svg .ecg-trail {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  transition: stroke-dashoffset 0.45s ease 1.0s;
}

/* When In View: draw left-to-right */
.heartbeat-divider-band.draw-active .ecg-path {
  stroke-dashoffset: 0;
}

.heartbeat-divider-band.draw-active .ecg-dot {
  opacity: 1;
}

.heartbeat-divider-band.draw-active .ecg-rings {
  opacity: 1;
}

.heartbeat-divider-band.draw-active .ecg-trail {
  stroke-dashoffset: 0;
}

/* --------------------------------------------------------------------------
   10. Shared Section Header Pattern (Spec Section B2 & B4 - Reusable)
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.section-overline-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-overline-line {
  width: 24px;
  height: 1.5px;
  background-color: var(--rose);
  flex-shrink: 0;
}

.section-overline-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--rose-label);
  text-transform: uppercase;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 500;
  font-variation-settings: 'opsz' 48;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0 0 16px 0;
}

.section-subtext {
  font-family: var(--font-sans);
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. About Section (Spec Section B4: #about, sand background)
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-sand);
  padding: var(--section-padding-y) 0;
  position: relative;
  z-index: 2;
}

.about-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 6.5vw, 88px);
  align-items: start;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.1vw, 1.75rem); /* ~24px - 28px */
  font-weight: 500;
  font-variation-settings: 'opsz' 36;
  line-height: 1.36;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 22px 0;
}

.about-body {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.03rem);
  line-height: 1.68;
  color: var(--ink-soft);
  margin: 0 0 28px 0;
  max-width: 520px;
}

.about-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-tag-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.about-tag-pill:hover {
  background-color: var(--selected);
  border-color: var(--rose);
  color: var(--ink);
}

.about-stats-column {
  display: flex;
  flex-direction: column;
}

/* ONE rounded surface container with 2x2 grid separated by hairlines */
.about-stats-container {
  background-color: var(--surface);
  border: 1px solid var(--border-stats);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--border-stats);
  gap: 1px;
}

.about-stat-cell {
  background-color: var(--surface);
  padding: clamp(26px, 3vw, 36px) clamp(22px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
}

.about-stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  font-weight: 700;
  font-variation-settings: 'opsz' 48;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.about-stat-label {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.05vw, 0.94rem);
  color: var(--ink-soft);
  line-height: 1.35;
}

/* Career Timeline */
.about-timeline-wrap {
  margin-top: clamp(34px, 4vw, 44px);
}

.about-timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-row {
  display: grid;
  grid-template-columns: 95px 24px 1fr;
  align-items: start;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
}

.timeline-row:first-child {
  padding-top: 6px;
}

.timeline-row:last-child {
  border-bottom: none;
  padding-bottom: 6px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--rose);
  letter-spacing: 0.04em;
  padding-top: 3px;
  white-space: nowrap;
}

.timeline-spine {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.timeline-spine::before {
  content: '';
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: 50%;
  width: 1px;
  background-color: var(--border-hairline);
  transform: translateX(-50%);
}

.timeline-row:first-child .timeline-spine::before {
  top: 11px;
}

.timeline-row:last-child .timeline-spine::before {
  bottom: calc(100% - 15px);
}

.timeline-dot {
  position: relative;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}

.timeline-info {
  display: flex;
  flex-direction: column;
  padding-top: 1px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  font-weight: 600;
  font-variation-settings: 'opsz' 24;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 3px 0;
}

.timeline-org {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   12. Services Section (Spec Section B4: #services, cream background)
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--bg);
  padding: var(--section-padding-y) 0 clamp(40px, 5vw, 60px) 0;
  position: relative;
  z-index: 2;
}

.services-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ONE rounded container with 3x2 cells and hairline dividers */
.services-card-container {
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-color: var(--border-card);
  gap: 1px;
}

.service-cell {
  background-color: var(--surface);
  padding: clamp(34px, 3.8vw, 46px) clamp(26px, 2.8vw, 38px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background-color 0.2s ease;
}

/* Hover: blush pink gradient fills cell starting from top-left, fading to bottom-right */
.service-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--service-hover-gradient);
  opacity: 0;
  transition: opacity 0.2s ease-out;
  pointer-events: none;
  z-index: 0;
}

.service-cell:hover::before {
  opacity: 1;
}

/* Inner elements must not move */
.service-icon-wrap,
.service-title,
.service-urdu {
  position: relative;
  z-index: 1;
  transform: none !important;
}

.service-icon-wrap {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--rose);
  margin-bottom: 22px;
}

.service-icon {
  width: 28px;
  height: 28px;
  stroke: var(--rose);
}

.service-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.45vw, 1.35rem);
  font-weight: 500;
  font-variation-settings: 'opsz' 28;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 10px 0;
}

.service-urdu {
  font-family: var(--font-urdu);
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
  direction: rtl;
  text-align: left;
}

/* --------------------------------------------------------------------------
   13. Conditions Treated Section (Spec Section B4: #conditions, cream background)
   -------------------------------------------------------------------------- */
.conditions-section {
  background-color: var(--bg);
  padding: 0 0 var(--section-padding-y) 0;
  position: relative;
  z-index: 2;
}

.conditions-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.conditions-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 12px;
}

.condition-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.condition-pill:hover {
  background-color: var(--selected);
  border-color: var(--rose);
}

.condition-english {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.condition-urdu {
  font-family: var(--font-urdu);
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ink-soft);
  direction: rtl;
}

.condition-pill-dashed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px dashed var(--rose);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  color: var(--rose);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.condition-pill-dashed:hover {
  background-color: var(--selected);
  border-color: var(--rose);
}

.condition-pill-dashed:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   14. Placeholder Sections (For remaining sections: #treatments, #reviews, #booking, #faq, #contact)
   -------------------------------------------------------------------------- */
.placeholder-section {
  min-height: 60vh;
  padding: var(--section-padding-y) 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.placeholder-section:nth-of-type(even) {
  background-color: var(--bg-sand);
}

.placeholder-section:nth-of-type(odd) {
  background-color: var(--bg);
}

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.section-label-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.label-line {
  width: 24px;
  height: 1.5px;
  background-color: var(--rose);
}

.section-overline {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--rose-label);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 650px;
  margin-bottom: 24px;
}

.placeholder-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--rose);
  background: var(--surface);
  border: 1px dashed var(--border-card);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   9. Footer Shell (Spec Section B4: #220E16 in both themes)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 95px 0 45px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.5fr;
  gap: 48px;
  margin-bottom: 75px;
}

/* Col 1: Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 22px;
  height: 32px;
  color: var(--rose);
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
}

.footer-bio {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--footer-muted);
  max-width: 320px;
}

/* Col 2, 3, 4: Overlines and lists */
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-link {
  font-size: 0.94rem;
  color: var(--footer-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--rose);
}

.footer-locations-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-location-item {
  font-size: 0.94rem;
  color: var(--footer-muted);
}

/* Col 4: Newsletter */
.footer-newsletter-text {
  font-size: 0.94rem;
  color: var(--footer-muted);
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 8px;
  transition: border-color 0.2s ease;
}

.newsletter-form:focus-within {
  border-color: var(--rose);
}

.newsletter-input {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  width: 100%;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(166, 139, 147, 0.75);
}

.newsletter-submit-btn {
  background: none;
  border: none;
  color: var(--rose);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.newsletter-submit-btn:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Footer bottom bar */
.footer-bottom-bar {
  border-top: 1px solid var(--footer-border);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--footer-muted);
}

/* --------------------------------------------------------------------------
   10. Custom Cursor (Spec Section B3: Desktop Fine Pointer Only)
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor input,
  html.has-custom-cursor textarea,
  html.has-custom-cursor select,
  html.has-custom-cursor [role="button"] {
    cursor: none !important;
  }

  /* Dot: follows pointer exactly */
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6.5px;
    height: 6.5px;
    background-color: var(--cursor-dot);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100001;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease, border-radius 0.2s ease;
  }

  .cursor-dot.visible {
    opacity: 1;
  }

  /* Text I-Beam inside the ring (Seen in 04_hero_light.jpg over "listens") */
  .cursor-dot.text-mode {
    width: 2.2px;
    height: 14px;
    border-radius: 1px;
    background-color: var(--cursor-dot);
    box-shadow: 0 -3px 0 1.5px var(--cursor-dot), 0 3px 0 1.5px var(--cursor-dot);
  }

  /* Ring: lags behind with spring physics */
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1.25px solid var(--cursor-ring);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease, width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background-color 0.2s ease;
  }

  .cursor-ring.visible {
    opacity: 1;
  }

  /* Interactive Hover: grows over buttons, links */
  .cursor-ring.hover-interactive {
    width: 48px;
    height: 48px;
    border-color: var(--rose);
    background-color: rgba(198, 121, 130, 0.12);
  }

  /* Over dark surfaces, keep ring clearly visible */
  .site-footer:hover ~ .cursor-ring,
  .loader-overlay:hover ~ .cursor-ring {
    border-color: rgba(222, 176, 182, 0.8);
  }
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   11. WhatsApp Floating Action Button (Spec Section B3)
   Fixed bottom-right, green #24D266, continuous pulse ring
   -------------------------------------------------------------------------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 8px 24px rgba(36, 210, 102, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(36, 210, 102, 0.45);
}

.whatsapp-float-btn .whatsapp-icon {
  width: 28px;
  height: 28px;
  color: #FFFFFF;
}

/* Continuous gentle pulse ring */
.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: whatsapp-pulse-anim 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse-anim {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   12. Ambient Background Particles (Spec Section B3)
   15 to 20 tiny tan dots drifting slowly upward along random paths
   -------------------------------------------------------------------------- */
.ambient-particles-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-dot {
  position: absolute;
  bottom: -20px;
  background-color: #DCCEC4;
  border-radius: 50%;
  opacity: 0.45;
  animation: drift-upwards var(--particle-dur, 16s) linear infinite;
  animation-delay: var(--particle-delay, 0s);
  left: var(--particle-x, 50%);
  width: var(--particle-size, 3px);
  height: var(--particle-size, 3px);
}

html[data-theme="dark"] .ambient-dot {
  background-color: #E2B7B3;
  opacity: 0.3;
}

@keyframes drift-upwards {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: var(--particle-opacity, 0.5);
  }
  90% {
    opacity: var(--particle-opacity, 0.5);
  }
  100% {
    transform: translateY(calc(-100vh - 40px)) translateX(var(--particle-sway, 25px));
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   13. Accessibility: Prefers Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  html.theme-transition,
  html.theme-transition *,
  html.theme-transition *::before,
  html.theme-transition *::after {
    transition: none !important;
  }

  .loader-svg .draw-sprout,
  .loader-svg .draw-stem,
  .loader-svg .draw-bulb {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }

  .loader-progress-fill {
    animation: none !important;
    width: 100% !important;
  }

  .loader-overlay {
    transition: opacity 0.2s ease !important;
  }

  .loader-overlay.slide-up {
    transform: none !important;
    opacity: 0 !important;
  }

  .whatsapp-pulse-ring {
    animation: none !important;
    display: none !important;
  }

  .ambient-particles-container {
    display: none !important;
  }

  .hero-badge {
    animation: none !important;
  }

  .hero-scroll-cue .scroll-line {
    animation: none !important;
    transform: scaleY(1) !important;
    opacity: 0.7 !important;
  }

  .hero-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .heartbeat-svg .ecg-path,
  .heartbeat-svg .ecg-trail {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }

  .heartbeat-svg .ecg-dot,
  .heartbeat-svg .ecg-rings {
    opacity: 1 !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   14. Responsive Baseline for Navbar, Hero, and Footer Shell
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .nav-menu {
    display: none; /* Mobile menu handled in Phase 2 / Step 2 */
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-overline-group {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-row {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
  }

  .badge-pmdc {
    left: 0;
  }

  .badge-satisfaction {
    right: 0;
  }

  /* About Section responsive stacking */
  .about-container {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-body {
    max-width: 100%;
  }

  /* Services Grid responsive transition: 2 columns */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: clamp(38px, 10vw, 52px);
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 320px;
  }

  .hero-visual-wrap {
    width: 280px;
    height: 280px;
  }

  .badge-pmdc {
    top: 0;
    left: -10px;
  }

  .badge-satisfaction {
    bottom: 0;
    right: -10px;
  }

  /* Services Grid responsive transition: 1 column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline adjustments for narrow screens */
  .timeline-row {
    grid-template-columns: 78px 18px 1fr;
    gap: 8px;
  }

  .timeline-date {
    font-size: 11.5px;
  }

  .timeline-title {
    font-size: 1rem;
  }

  .condition-pill {
    padding: 8px 16px;
  }

  .condition-english {
    font-size: 0.88rem;
  }

  .condition-urdu {
    font-size: 0.85rem;
  }

  .condition-pill-dashed {
    padding: 8px 16px;
    font-size: 0.88rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* ==========================================================================
   STEP 4: TREATMENTS & SURGERY PACKAGES
   Background: --bg-sand. Two surface cards side by side with surgical tags,
   prices with strike-through, and full-width plum buttons.
   ========================================================================== */

/* Section wrapper */
.treatments-section {
  background-color: var(--bg-sand);
  padding: var(--section-padding-y) var(--container-padding);
}

.treatments-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Two-column cards grid */
.treatments-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 52px;
}

/* Individual treatment card */
.treatment-card {
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.treatment-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

/* Card top row: title left, SURGICAL pill right */
.treatment-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.treatment-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  flex: 1;
}

/* Tan mono SURGICAL pill */
.treatment-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background-color: var(--tag-tan-bg);
  color: var(--tag-tan-text);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Hospital line */
.treatment-hospital {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.treatment-hospital-icon {
  width: 15px;
  height: 15px;
  color: var(--rose-label);
  flex-shrink: 0;
}

/* Price + strikethrough row */
.treatment-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.treatment-price {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.treatment-strike {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--strike-color);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

/* Full-width plum CTA button */
.btn-treatment {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--treatment-btn-text);
  background-color: var(--treatment-btn-bg);
  border-radius: var(--radius-pill);
  padding: 14px 20px;
  margin-top: auto;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.btn-treatment:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-btn-hover);
}

.btn-treatment:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

/* Footnote centered below cards */
.treatments-footnote {
  text-align: center;
  margin-top: 36px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.treatments-footnote-link {
  color: var(--rose);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.treatments-footnote-link:hover {
  color: var(--rose-label);
}

/* ==========================================================================
   STEP 4: VISIT OR CONNECT ONLINE
   Background: --bg (cream). 2x2 grid of surface cards with price, address,
   availability. Keyboard focusable with subtle hover lift and border tint.
   ========================================================================== */

.visit-section {
  background-color: var(--bg);
  padding: var(--section-padding-y) var(--container-padding);
}

.visit-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* 2x2 grid */
.visit-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Individual card */
.visit-card {
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease;
  outline: none;
}

.visit-card:hover,
.visit-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--visit-border-hover);
}

.visit-card:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* Card header: name left, price right */
.visit-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

/* Card name in serif */
.visit-card-name {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Inline video icon in the name heading */
.visit-card-name-icon {
  width: 18px;
  height: 18px;
  color: var(--rose);
  flex-shrink: 0;
  vertical-align: middle;
}

/* Price in gold mono at top-right */
.visit-card-price {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Address and availability lines */
.visit-card-address,
.visit-card-avail {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

/* Green availability text */
.visit-card-avail {
  color: var(--avail-green);
  font-weight: 500;
}

/* Inline pin / clock icons */
.visit-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--rose-label);
}

/* For availability icon, match the green */
.visit-card-avail .visit-icon {
  color: var(--avail-green);
}

/* Online card subtle distinction: slightly lighter border */
.visit-card--online {
  border-style: dashed;
}

/* ==========================================================================
   STEP 4: PATIENT REVIEWS
   Background: --bg-sand. Left: ring + metrics. Right: single testimonial card.
   ========================================================================== */

.reviews-section {
  background-color: var(--bg-sand);
  padding: var(--section-padding-y) var(--container-padding);
}

.reviews-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Side-by-side split layout */
.reviews-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  margin-top: clamp(28px, 4vh, 48px);
}

/* ---------- Left side ---------- */
.reviews-left {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Ring + summary row */
.reviews-ring-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* SVG ring container — relative so the % text overlays */
.reviews-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.reviews-ring-svg {
  width: 120px;
  height: 120px;
}

/* "99%" text centered inside the ring */
.reviews-ring-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  pointer-events: none;
}

/* Text block to the right of the ring */
.reviews-ring-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reviews-satisfied-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.4;
}

.reviews-satisfied-text strong {
  font-weight: 700;
}

/* Five gold stars */
.reviews-stars {
  display: flex;
  gap: 3px;
}

.reviews-stars svg {
  width: 18px;
  height: 18px;
}

/* Metric bars section */
.reviews-metrics {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reviews-metric-row {
  display: grid;
  grid-template-columns: 140px 1fr 44px;
  align-items: center;
  gap: 14px;
}

.reviews-metric-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* Pale track behind the gold bar */
.reviews-bar-track {
  height: 7px;
  background-color: var(--reviews-track);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

/* Gold fill bar (static width set inline) */
.reviews-bar-fill {
  height: 100%;
  background-color: var(--gold);
  border-radius: var(--radius-pill);
}

/* Bold percentage at the right */
.reviews-metric-pct {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}

/* ---------- Right side: Slider A (Text Reviews) ---------- */
.reviews-right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.reviews-slider-text {
  width: 100%;
  max-width: 100%;
}

/* Shared Slider Engine Styles */
.custom-slider {
  position: relative;
  width: 100%;
}

.slider-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-card);
}

.slider-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.slider-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

/* Slider arrows/pause-play removed — dots-only controls */

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: rgba(198, 121, 130, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-dot:hover {
  background-color: var(--rose);
}

.slider-dot.is-active {
  width: 24px;
  background-color: var(--plum);
}

.slider-dot:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

/* Slider A: Testimonial Card (Fixed Height for zero layout jump) */
/* Height is fixed to prevent jumps between slides. Longest review is review 4 (~250 chars).
   clamp: min 320px, scale with viewport height, cap 430px. */
.reviews-testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 30px 28px 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
  width: 100%;
  height: clamp(320px, 50vh, 430px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.reviews-card-top {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Large pale-pink opening quotation mark */
.reviews-quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 0.7;
  color: var(--reviews-quote-mark);
  margin-bottom: 12px;
  user-select: none;
}

/* Quote text in serif ~24px. No line-clamp: card height is fixed to fit longest review. */
.reviews-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.0rem, 1.6vw, 1.25rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
  border: none;
  padding: 0;
  quotes: none;
  overflow: hidden;
}

/* Author row: avatar + name/meta */
.reviews-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

/* Plum circle avatar with cream initial */
.reviews-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--reviews-avatar-bg);
  color: var(--reviews-avatar-text);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviews-author-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* "Verified Patient" bold */
.reviews-verified {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

/* Masked name (e.g. W*****t) */
.reviews-author-name {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- Slider B: Patient Testimonials (TikTok Videos) ---------- */
.reviews-video-section {
  margin-top: clamp(28px, 4vh, 48px);
  padding: clamp(22px, 3vh, 36px) clamp(18px, 3vw, 32px);
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(232, 223, 216, 0.7);
  position: relative;
}

.reviews-video-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-card), transparent);
  margin-bottom: 36px;
}

.reviews-video-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.reviews-slider-video {
  /* Width matches the card width. Height is driven by the card. */
  width: clamp(168px, 23.4vh, 258px);
  margin: 0;
}

.reviews-slider-video .slider-viewport {
  width: clamp(168px, 23.4vh, 258px);
  height: clamp(300px, 41.6vh, 458px);
  max-width: 100%;
  margin: 0;
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px -4px rgba(74, 28, 45, 0.16);
  overflow: hidden;
}

.video-testimonial-slide {
  display: flex;
  justify-content: center;
  height: clamp(300px, 41.6vh, 458px);
}

.tiktok-card {
  display: block;
  position: relative;
  width: clamp(168px, 23.4vh, 258px);
  height: clamp(300px, 41.6vh, 458px);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(155deg, #4A1C2D 0%, #30111D 60%, #1F0B13 100%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  outline: none;
}

.tiktok-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -4px rgba(74, 28, 45, 0.28);
}

.tiktok-card:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

/* Branded Fallback Tile — hidden by default, shown via .is-visible when image fails */
.tiktok-fallback-tile {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 22px;
  background: linear-gradient(155deg, var(--plum) 0%, #4A1C2D 55%, #250B15 100%);
  color: var(--sa-cream);
  z-index: 4;
}

.tiktok-fallback-tile.is-visible {
  display: flex;
}

.tiktok-fallback-content {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.tiktok-play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(222, 176, 182, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sa-cream);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.tiktok-card:hover .tiktok-play-circle {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.24);
  border-color: var(--gold);
  color: var(--gold);
}

.tiktok-play-icon {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.tiktok-watch-label {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sa-cream);
  letter-spacing: 0.01em;
}

.tiktok-cue-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--sa-cream);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tiktok-note-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Local Image Layer */
.tiktok-local-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  z-index: 2;
}

/* Overlay — always visible on top of local image */
.tiktok-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(20, 6, 12, 0.78) 0%, rgba(20, 6, 12, 0.12) 50%, rgba(20, 6, 12, 0.35) 100%);
}

.tiktok-cue-badge {
  position: absolute;
  bottom: 20px;
}

/* Dark Mode Overrides for Sliders */
html[data-theme="dark"] .reviews-video-section {
  background-color: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}

/* .slider-control-btn dark-mode rules removed — no arrows/buttons in slider */

html[data-theme="dark"] .slider-dot {
  background-color: rgba(222, 176, 182, 0.25);
}

html[data-theme="dark"] .slider-dot.is-active {
  background-color: var(--rose);
}


/* ── Two-column video section layout ─────────────────────────────────────── */
.reviews-video-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.reviews-video-slider-col {
  display: flex;
  justify-content: center;
}

.reviews-video-text-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.reviews-video-copy {
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.reviews-video-watch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--plum);
  text-decoration: none;
  padding: 9px 18px;
  border: 1.5px solid var(--plum);
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.reviews-video-watch-link:hover {
  background-color: var(--plum);
  color: var(--sa-cream);
}

.reviews-video-watch-link:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

.reviews-video-tiktok-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Stack on mobile */
@media (max-width: 899px) {
  .reviews-video-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .reviews-video-text-col {
    align-items: center;
  }

  .reviews-video-watch-link {
    align-self: center;
  }

  .reviews-slider-video {
    margin: 0 auto;
  }
}

/* Dark mode overrides for watch link */
html[data-theme="dark"] .reviews-video-watch-link {
  color: var(--rose);
  border-color: var(--rose);
}

html[data-theme="dark"] .reviews-video-watch-link:hover {
  background-color: var(--rose);
  color: var(--sa-cream);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .slider-track {
    transition: none !important;
  }
  .slider-dot {
    transition: none !important;
  }
  /* tiktok-thumb-container removed */
}

/* ==========================================================================
   STEP 4: RESPONSIVE — 992px and below
   ========================================================================== */
@media (max-width: 992px) {

  /* Treatments: stack cards */
  .treatments-cards-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Visit: go to single column at 992px */
  .visit-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Reviews: stack side-by-side panels */
  .reviews-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reviews-right {
    justify-content: center;
  }
}

@media (max-width: 700px) {

  /* Visit: single column on narrow */
  .visit-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Reviews metric rows: tighter */
  .reviews-metric-row {
    grid-template-columns: 110px 1fr 36px;
    gap: 10px;
  }
}

@media (max-width: 600px) {

  /* Treatments: full-bleed card */
  .treatments-card {
    padding: 24px 20px 22px;
  }

  /* Reviews ring row: stack ring above meta on very narrow */
  .reviews-ring-row {
    flex-wrap: wrap;
  }

  /* Reviews testimonial: viewport-relative fixed height on mobile */
  .reviews-testimonial-card {
    height: clamp(380px, 58vh, 460px);
    padding: 22px 18px 20px;
  }

  .reviews-quote-mark {
    font-size: 5rem;
    margin-bottom: 8px;
  }

  .reviews-quote-text {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .reviews-slider-video {
    width: clamp(160px, 42vw, 240px);
  }

  .reviews-slider-video .slider-viewport,
  .tiktok-card,
  .video-testimonial-slide {
    width: clamp(160px, 42vw, 240px);
    height: clamp(285px, 74.7vw, 426px); /* maintain 9:16 ratio with 42vw width */
  }
}

/* ==========================================================================
   STEP 5: DOCTOR CARD + HOW BOOKING WORKS
   PASTE THIS BLOCK at the very END of styles.css (after the Step 4 CSS).
   ========================================================================== */

/* ---------- Dark-mode values for the Step 5 tokens ---------- */
html[data-theme="dark"] {
  --doctor-card-text: #4A1C2D;                          /* deep plum on pink card */
  --doctor-card-pill-border: rgba(74, 28, 45, 0.45);
  --doctor-card-pill-text: #4A1C2D;
  --doctor-sa-circle-border: rgba(74, 28, 45, 0.5);
  --how-divider: #331C24;                               /* same as dark --border-card */
}

/* ---------- Doctor profile card ---------- */
.doctor-section {
  background-color: var(--bg);
  padding: var(--section-padding-y) 0 clamp(20px, 3vw, 36px);
  position: relative;
  z-index: 2;
}

.doctor-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.doctor-card {
  position: relative;
  isolation: isolate;
  background-color: var(--doctor-card-bg);
  border-radius: var(--radius-doctor);
  box-shadow: var(--shadow-soft);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  overflow: hidden;
}

/* Pink gradient overlay: fades in for dark mode so the switch crossfades */
.doctor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #E5B4BC 0%, #CF9DA5 100%);
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

html[data-theme="dark"] .doctor-card::before {
  opacity: 1;
}

/* Keep the opacity crossfade alive while the global theme-transition class is on */
html.theme-transition .doctor-card::before {
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.doctor-card-circle {
  width: clamp(130px, 15vw, 190px);
  height: clamp(130px, 15vw, 190px);
  border-radius: 50%;
  border: 1.5px solid var(--doctor-sa-circle-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctor-card-monogram {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(48px, 5.6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--doctor-card-text);
  user-select: none;
}

.doctor-card-name {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 500;
  font-variation-settings: 'opsz' 72;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--doctor-card-text);
  margin: 0 0 10px 0;
}

.doctor-card-creds {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--doctor-card-text);
  opacity: 0.85;
  margin: 0 0 22px 0;
}

.doctor-card-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px 0;
  padding: 0;
}

.doctor-card-pills li {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--doctor-card-pill-text);
  border: 1px solid var(--doctor-card-pill-border);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
}

.doctor-card-text {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.04rem);
  line-height: 1.7;
  color: var(--doctor-card-text);
  max-width: 640px;
  margin: 0;
}

/* ---------- How Booking Works ---------- */
.how-section {
  background-color: var(--bg);
  padding: clamp(20px, 3vw, 36px) 0 var(--section-padding-y);
  position: relative;
  z-index: 2;
}

.how-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.how-card {
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* Hairlines come from a 1px gap over a divider-coloured grid background */
.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--how-divider);
}

.how-step {
  background-color: var(--surface);
  padding: clamp(28px, 3vw, 38px) clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
}

.how-step-number {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--rose-label);
  margin-bottom: 18px;
}

.how-step-title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.45vw, 1.3rem);
  font-weight: 500;
  font-variation-settings: 'opsz' 28;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px 0;
}

.how-step-desc {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .doctor-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .doctor-card-pills {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .how-grid {
    grid-template-columns: 1fr;
  }

  /* Fixes a Step 4 typo: the old rule targeted .treatments-card, which does not exist */
  .treatment-card {
    padding: 24px 20px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctor-card::before,
  html.theme-transition .doctor-card::before {
    transition: none !important;
  }
}

/* ==========================================================================
   STEP 6: BOOKING WIDGET + PARTICLE FIX
   PASTE at the very END of styles.css (after the Step 5 CSS).
   ========================================================================== */

/* PARTICLE FIX: sections have opaque backgrounds at z-index 2, which hid the
   particle layer (z-index 0). Raise it above sections; it stays below the navbar,
   WhatsApp button, cursor and loader, and ignores the pointer. */
.ambient-particles-container {
  z-index: 3;
}

/* Slightly stronger dots in dark mode so they read on the dark hero */
html[data-theme="dark"] .ambient-dot {
  background-color: #EBC3BF;
}

:root {
  --btn-back-bg: #ECE5E0;
  --btn-back-text: #5E504E;
}

html[data-theme="dark"] {
  --btn-back-bg: rgba(244, 233, 233, 0.1);
  --btn-back-text: #D8C9CC;
}

/* ---------- Section and card ---------- */
.booking-section {
  background-color: var(--bg-sand);
  padding: var(--section-padding-y) 0;
  position: relative;
  z-index: 2;
}

.booking-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.booking-card {
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-booking);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* ---------- Step tabs (the underline jumps, no slide) ---------- */
.booking-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border-card);
}

.booking-tab {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  padding: 18px 6px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.booking-tab.is-active {
  color: var(--rose);
  border-bottom-color: var(--rose);
}

/* ---------- Panel ---------- */
.booking-panel {
  padding: clamp(24px, 4vw, 40px);
}

.booking-panel.is-entering {
  animation: booking-fade 0.28s ease-out;
}

@keyframes booking-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.booking-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
  outline: none;
}

.booking-sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 560px;
}

/* ---------- Selectable cards (visit type, slot, payment method) ---------- */
.booking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-option,
.booking-slot,
.booking-method {
  text-align: left;
  background-color: var(--surface);
  border: 1.5px solid var(--border-card);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.booking-option:hover,
.booking-slot:hover,
.booking-method:hover {
  border-color: var(--visit-border-hover);
}

.booking-option[aria-checked="true"],
.booking-slot[aria-checked="true"],
.booking-method[aria-checked="true"] {
  background-color: var(--selected);
  border-color: var(--rose);
}

.booking-option {
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-option-icon svg {
  width: 28px;
  height: 28px;
  color: var(--rose);
  margin-bottom: 8px;
}

.booking-option-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.booking-option-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ---------- Slot cards ---------- */
.booking-slots {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-slot {
  width: 100%;
  border-radius: var(--radius-card);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.booking-slot-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-slot-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.booking-slot-sub {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.booking-slot-time {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--avail-green);
}

.booking-slot-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- Form fields ---------- */
.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.booking-field.is-full {
  grid-column: 1 / -1;
}

.booking-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.booking-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  background-color: var(--input-bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-input);
  padding: 14px 16px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.booking-input::placeholder {
  color: var(--ink-soft);
  opacity: 0.7;
}

.booking-input:focus {
  border-color: var(--input-focus);
}

/* ---------- Payment step ---------- */
.booking-summary {
  border: 1px solid var(--border-card);
  border-radius: 16px;
  margin: 18px 0 22px;
  padding: 6px 20px;
}

.booking-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.booking-summary > div:last-child {
  border-bottom: none;
}

.booking-summary dt {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.booking-summary dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.booking-summary .is-total dd {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
}

.booking-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.booking-method {
  border-radius: var(--radius-input);
  padding: 14px 16px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
}

.card-preview {
  max-width: 380px;
  aspect-ratio: 1.75;
  border-radius: 20px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #7D314C 0%, #4A1C2D 100%);
  color: #F4E9E9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.card-preview-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.card-preview-number {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  letter-spacing: 0.16em;
}

.booking-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.booking-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--rose);
}

/* ---------- Actions ---------- */
.booking-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 40px) clamp(24px, 3.5vw, 34px);
}

.booking-actions[hidden] {
  display: none;
}

.btn-back {
  background-color: var(--btn-back-bg);
  color: var(--btn-back-text);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-back:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.booking-next {
  padding: 12px 28px;
  font-size: 0.95rem;
}

.booking-next[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.booking-next[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: 0 4px 14px rgba(60, 20, 30, 0.08);
}

/* ---------- Placeholder done state ---------- */
.booking-done {
  text-align: center;
  padding: 16px 0;
}

.booking-done .booking-sub {
  margin-left: auto;
  margin-right: auto;
}

.booking-done-icon svg {
  width: 44px;
  height: 44px;
  color: var(--rose);
  margin-bottom: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .booking-options,
  .booking-fields,
  .booking-methods {
    grid-template-columns: 1fr;
  }

  .booking-tab {
    font-size: 9px;
    letter-spacing: 0.04em;
    padding: 14px 2px;
  }

  .booking-slot {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-panel.is-entering {
    animation: none;
  }
}

/* ==========================================================================
   STEP 7: FAQ + CONTACT + DARK-MODE PASS
   PASTE at the very END of styles.css (after the Step 6 CSS).
   ========================================================================== */

/* ---------- Dark-mode pass fixes ---------- */
html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;           /* dark scrollbars, form controls and autofill */
  --cursor-dot: #5FC7A0;        /* the light-mode green (#2D6A55) nearly vanishes on dark */
}

html[data-theme="dark"] .contact-map {
  filter: brightness(0.82) saturate(0.9);   /* tame the bright map tiles */
}

/* ---------- FAQ ---------- */
.faq-section {
  background-color: var(--bg);
  padding: var(--section-padding-y) 0 clamp(40px, 5vw, 60px);
  position: relative;
  z-index: 2;
}

.faq-container {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 32px);
}

.faq-list {
  border-top: 1px solid var(--border-hairline);
}

.faq-item {
  border-bottom: 1px solid var(--border-hairline);
}

.faq-q {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 1.19rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--rose);
}

/* Thin plus that becomes a minus when open */
.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--rose);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  border-radius: 1px;
}

.faq-icon::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon::after {
  transform: translateX(-50%) scaleY(0);
}

/* Smooth open/close using a 0fr to 1fr grid row */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
  visibility: hidden;
  transition: visibility 0s linear 0.25s;
}

.faq-item.is-open .faq-panel-inner {
  visibility: visible;
  transition-delay: 0s;
}

.faq-panel-inner p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0;
  padding-bottom: 22px;
}

/* ---------- Contact ---------- */
.contact-section {
  background-color: var(--bg);
  padding: clamp(40px, 5vw, 60px) 0 var(--section-padding-y);
  position: relative;
  z-index: 2;
}

.contact-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-info {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.contact-row svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--rose);
}

.contact-link {
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--rose);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.contact-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-card);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-social svg {
  width: 19px;
  height: 19px;
}

.contact-social:hover {
  border-color: var(--rose);
  color: var(--rose);
  transform: translateY(-2px);
}

/* Placeholder social links without a real URL yet */
.contact-social[aria-disabled="true"] {
  opacity: 0.45;
}

.contact-social[aria-disabled="true"]:hover {
  border-color: var(--border-card);
  color: var(--ink);
  transform: none;
}

.contact-map-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-card);
  aspect-ratio: 16 / 10;
  background-color: var(--surface);
}

.contact-map {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-map-chip:hover {
  color: var(--rose);
  border-color: var(--rose);
}

.contact-form-card {
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-booking);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 3.5vw, 36px);
}

.contact-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  cursor: pointer;
}

.contact-status {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.contact-status[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel,
  .faq-icon::after,
  .faq-panel-inner {
    transition: none !important;
  }
}

/* ==========================================================================
   EDIT: TREATMENTS (price-free compact cards)
   PASTE at the very END of styles.css.
   ========================================================================== */

/* 10 cards = 5 columns x 2 rows on desktop, 2 columns on tablets, 1 on phones */
.treatments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.treatment-item {
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 22px 22px 24px;
  min-height: 108px;
  transition: border-color 0.2s ease;
}

/* Short rose line above each title, echoing the section overlines */
.treatment-item::before {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--rose);
  margin-bottom: 14px;
}

.treatment-item:hover {
  border-color: var(--visit-border-hover);
}

.treatment-item .treatment-title {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

@media (max-width: 1149px) {
  .treatments-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 519px) {
  .treatments-list {
    grid-template-columns: 1fr;
  }

  .treatment-item {
    min-height: 0;
  }
}

/* ==========================================================================
   TREATMENTS v2: icon cards (new class names, no conflict with the earlier block)
   PASTE at the very END of styles.css.
   ========================================================================== */

.tgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.tcard {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 176px;
  padding: 22px;
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Blush gradient from the top-left corner, same as the Services hover */
.tcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--service-hover-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* Rose bar that grows along the bottom edge */
.tcard::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: var(--rose);
  transition: width 0.35s ease;
  pointer-events: none;
}

.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--visit-border-hover);
}

.tcard:hover::before {
  opacity: 1;
}

.tcard:hover::after {
  width: 100%;
}

.tcard-top,
.tcard-title {
  position: relative;
  z-index: 1;
}

.tcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tcard-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--selected);
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.tcard-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tcard:hover .tcard-icon {
  background-color: var(--rose);
  color: var(--surface);
}

.tcard-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  opacity: 0.65;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.tcard:hover .tcard-num {
  color: var(--rose);
  opacity: 1;
}

.tcard-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.35vw, 1.26rem);
  font-weight: 500;
  font-variation-settings: 'opsz' 28;
  line-height: 1.28;
  color: var(--ink);
}

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

@media (max-width: 519px) {
  .tgrid {
    grid-template-columns: 1fr;
  }

  .tcard {
    min-height: 0;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tcard,
  .tcard::before,
  .tcard::after,
  .tcard-icon,
  .tcard-num {
    transition: none;
  }

  .tcard:hover {
    transform: none;
  }
}

/* ==========================================================================
   TREATMENTS v3: centered layout and even spacing
   PASTE at the very END of styles.css (after the v2 block). No HTML changes needed.
   ========================================================================== */

.tgrid {
  gap: 18px;
}

.tcard {
  min-height: 0;
  padding: 26px 18px;
  gap: 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tcard-top {
  justify-content: center;
}

.tcard-icon {
  width: 48px;
  height: 48px;
}

/* Numbers hidden for a cleaner, symmetrical card (still in the HTML) */
.tcard-num {
  display: none;
}

/* Fixed two-line title zone, vertically centered, so every card in a row lines up */
.tcard-title {
  min-height: 2.56em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-wrap: balance;
}

/* Wider cards on tablets and phones fit one line, so drop the reserved height */
@media (max-width: 1149px) {
  .tcard-title {
    min-height: 0;
  }

  .tcard {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   HERO PHOTO SLIDER + DOCTOR CARD PHOTO
   ========================================================================== */

/* Photos are sized and positioned by script.js (PhotoFrame) */
.photo-fill {
  position: absolute;
  display: block;
  max-width: none;
  user-select: none;
  pointer-events: none;
}

/* ---------- Hero: circle becomes a photo frame ---------- */
.hero-photo-circle {
  overflow: hidden;
}

.hero-slide {
  opacity: 0;
  z-index: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-prev {
  opacity: 1;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

/* Thin frame ring in the surface colour, works in light and dark */
.hero-photo-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--surface);
  pointer-events: none;
  z-index: 3;
}

/* Once a photo is in, the SA fallback is hidden */
.hero-photo-circle.has-photos .hero-monogram {
  visibility: hidden;
}

/* Progress dots under the circle */
.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: -58px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 3;
}

.hero-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ink-soft);
  opacity: 0.3;
  transition: width 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.hero-slider-dot.is-active {
  width: 20px;
  border-radius: 3px;
  background-color: var(--rose);
  opacity: 1;
}

@media (max-width: 992px) {
  .hero-visual {
    margin-bottom: 36px; /* room for the dots when the circle sits above the text */
  }
}

/* ---------- Doctor card: static main photo ---------- */
.doctor-card-circle {
  position: relative;
  overflow: hidden;
}

.doctor-card-photo {
  position: absolute;
  inset: 7px;               /* small gap so the outlined ring stays visible */
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.doctor-card-circle.has-photo .doctor-card-photo {
  opacity: 1;
}

.doctor-card-circle.has-photo .doctor-card-monogram {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .doctor-card-photo,
  .hero-slider-dot {
    transition: none;
  }
}
/* ==========================================================================
   HERO SPACING FIX (desktop only, 993px and up)
   Keeps the headline on 3 lines, tightens the vertical rhythm so the stat
   cards sit on screen, and gives the circle room to breathe.
   ========================================================================== */
@media (min-width: 993px) {
  .hero-section {
    padding-top: clamp(104px, 10vw, 128px);
    padding-bottom: clamp(56px, 6vw, 80px);
  }

  .hero-container {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 4.5vw, 72px);
  }

  .hero-title {
    font-size: clamp(44px, 4.1vw, 64px);
    line-height: 1.06;
    margin-bottom: 22px;
    white-space: nowrap;   /* the three <br> lines stay as three lines */
  }

  .hero-desc {
    margin-bottom: 30px;
  }

  .hero-cta-group {
    margin-bottom: 40px;
  }

  .hero-visual-wrap {
    width: clamp(320px, 30vw, 450px);
    height: clamp(320px, 30vw, 450px);
  }

  /* Badges sit slightly further out so they cover less of the photo */
  .badge-pmdc {
    left: -36px;
  }

  .badge-satisfaction {
    right: -40px;
  }
}

/* ==========================================================================
   BOOKING FEATURE — LAYER 1 (FULL FRONTEND + MOCK API STYLES)
   Tokens, components, animations, accessibility, and dark mode for Steps 1-4 & Success
   ========================================================================== */

/* ---------- 1. Layer 1 Theme Tokens ---------- */
:root {
  --error-color: #C62828;
  --error-bg: #FDEDEE;
  --error-border: #F5B7B1;
  --success-color: #2E7D52;
  --success-bg: #EAF5ED;
  --success-border: #A3D9B5;
  --warning-color: #8A6D3B;
  --warning-bg: #FCF8E3;
  --warning-border: #FAEBCC;
  --wallet-bg: linear-gradient(135deg, #5C2336 0%, #3D1220 100%);
  --btn-back-bg: #EAE0D9;
  --btn-back-text: #4A3B39;
  --chip-bg: var(--surface);
  --chip-border: var(--border-card);
  --chip-disabled-bg: rgba(226, 210, 203, 0.25);
  --time-btn-bg: var(--surface);
  --time-btn-border: var(--border-card);
  --time-btn-booked-bg: rgba(226, 210, 203, 0.32);
  --time-btn-booked-text: #8E7D7A;
}

html[data-theme="dark"] {
  --error-color: #FF8F94;
  --error-bg: #351419;
  --error-border: #6B232D;
  --success-color: #4DB87A;
  --success-bg: #12281D;
  --success-border: #235A3D;
  --warning-color: #E2B96F;
  --warning-bg: #312513;
  --warning-border: #5A4421;
  --wallet-bg: linear-gradient(135deg, #4A1C2D 0%, #290F1A 100%);
  --btn-back-bg: #2B1620;
  --btn-back-text: #DEB0B6;
  --chip-bg: var(--surface);
  --chip-border: var(--border-card);
  --chip-disabled-bg: rgba(43, 22, 32, 0.4);
  --time-btn-bg: var(--surface);
  --time-btn-border: var(--border-card);
  --time-btn-booked-bg: #1A0C13;
  --time-btn-booked-text: #6B555D;
}

/* ---------- 2. Step Navigation Tabs & Card Container ---------- */
.booking-card {
  overflow: hidden;
  position: relative;
}

.booking-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.tab-num {
  font-weight: 700;
}

.booking-section-subhead {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* ---------- 3. Step 2: Hospital Picker (In-Person Path) ---------- */
.booking-hospital-section {
  margin-bottom: 24px;
}

.booking-hospitals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.booking-hospital-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  background-color: var(--surface);
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.booking-hospital-card:hover {
  border-color: var(--visit-border-hover);
  transform: translateY(-1px);
}

.booking-hospital-card[aria-checked="true"] {
  background-color: var(--selected);
  border-color: var(--rose);
}

.hospital-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.hospital-card-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.hospital-card-price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.hospital-card-addr {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ---------- 4. Step 2: 14-Day Date Strip ---------- */
.booking-dates-strip-wrap {
  margin: 20px 0 24px;
}

.booking-dates-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px;
}

/* Scrollbar refinement for date strip */
.booking-dates-strip::-webkit-scrollbar {
  height: 6px;
}

.booking-dates-strip::-webkit-scrollbar-track {
  background: var(--border-hairline);
  border-radius: 9999px;
}

.booking-dates-strip::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 9999px;
}

.booking-date-chip {
  flex: 0 0 74px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 6px;
  background-color: var(--chip-bg);
  border: 1.5px solid var(--chip-border);
  border-radius: 16px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.booking-date-chip:hover:not([disabled]) {
  border-color: var(--visit-border-hover);
  transform: translateY(-1px);
}

.booking-date-chip.is-selected,
.booking-date-chip[aria-checked="true"] {
  background-color: var(--selected);
  border-color: var(--rose);
}

.booking-date-chip[disabled],
.booking-date-chip[aria-disabled="true"] {
  background-color: var(--chip-disabled-bg);
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

.chip-weekday {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.chip-day {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.chip-month {
  font-size: 11px;
  color: var(--ink-soft);
}

/* ---------- 5. Step 2: Time Slots Grid ---------- */
.booking-slots-grid-wrap {
  margin-top: 10px;
}

.booking-time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.booking-time-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  min-height: 62px;
  padding: 12px 14px;
  background-color: var(--time-btn-bg);
  border: 1.5px solid var(--time-btn-border);
  border-radius: 14px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.booking-time-btn:hover:not([disabled]) {
  border-color: var(--visit-border-hover);
  transform: translateY(-1px);
}

.booking-time-btn.is-selected,
.booking-time-btn[aria-checked="true"] {
  background-color: var(--selected);
  border-color: var(--rose);
  font-weight: 600;
}

.booking-time-btn.is-booked,
.booking-time-btn[disabled] {
  background-color: var(--time-btn-booked-bg);
  color: var(--time-btn-booked-text);
  border-color: var(--border-hairline);
  cursor: not-allowed;
  opacity: 0.65;
}

.time-label {
  display: block;
  white-space: nowrap;
  line-height: 1.25;
}

.time-badges {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.time-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  line-height: 1.3;
  white-space: nowrap;
  background-color: rgba(198, 121, 130, 0.15);
  color: var(--rose-label);
}

.time-badge-next-day {
  background-color: rgba(198, 121, 130, 0.15);
  color: var(--rose-label);
}

.booking-time-btn.is-selected .time-badge-next-day {
  background-color: rgba(107, 41, 65, 0.18);
  color: var(--plum);
}

html[data-theme="dark"] .time-status,
html[data-theme="dark"] .time-badge-next-day {
  background-color: rgba(209, 141, 151, 0.22);
  color: var(--rose);
}

html[data-theme="dark"] .booking-time-btn.is-selected .time-badge-next-day {
  background-color: rgba(222, 176, 182, 0.24);
  color: var(--ink);
}

.time-status.time-btn-booked,
.time-btn-booked {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background-color: rgba(120, 100, 105, 0.15);
  color: var(--time-btn-booked-text);
  text-transform: uppercase;
}

html[data-theme="dark"] .time-status.time-btn-booked,
html[data-theme="dark"] .time-btn-booked {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--time-btn-booked-text);
}

/* Slot Summary row */
.booking-slot-summary {
  margin-top: 22px;
  padding: 14px 20px;
  border-radius: 14px;
  background-color: var(--selected);
  border: 1px solid var(--rose);
  display: none;
}

.booking-slot-summary.is-visible {
  display: block;
}

.slot-summary-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.summary-check svg {
  width: 18px;
  height: 18px;
  color: var(--rose);
  flex-shrink: 0;
}

.summary-text {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.45;
}

.summary-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold);
}

/* Loading & Empty States */
.booking-state-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 36px 16px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.booking-spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--border-hairline);
  border-top-color: var(--rose);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.booking-hint-text {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 24px 0;
}

/* ---------- 6. Step 3: Fields, Helpers & Consents ---------- */
.booking-field-helper {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 5px;
  line-height: 1.4;
}

.booking-error-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--error-color);
  margin-top: 5px;
  display: block;
  line-height: 1.35;
}

.booking-input[aria-invalid="true"] {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 0 1px var(--error-color);
}

.booking-consents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
}

.booking-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
  cursor: pointer;
  user-select: none;
}

.booking-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--rose);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.booking-banner-error {
  padding: 14px 18px;
  border-radius: 14px;
  background-color: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-color);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.booking-banner-warning {
  padding: 14px 18px;
  border-radius: 14px;
  background-color: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-color);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.booking-banner-warning p {
  margin-bottom: 12px;
}

/* ---------- 7. Step 4: Payment Hold & Wallets ---------- */
.booking-hold-timer-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background-color: var(--selected);
  border: 1px solid var(--rose);
  color: var(--ink);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.hold-timer-icon svg {
  width: 16px;
  height: 16px;
  color: var(--rose);
}

.booking-method svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

.payment-method-panel {
  margin-top: 8px;
}

/* Wallet Preview */
.wallet-preview {
  max-width: 380px;
  aspect-ratio: 1.75;
  border-radius: 20px;
  padding: 22px 24px;
  background: var(--wallet-bg);
  color: #F4E9E9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}

.wallet-preview-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.wallet-preview-number {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.14em;
  font-weight: 600;
}

.wallet-provider-selector {
  display: flex;
  gap: 12px;
  margin: 16px 0 6px;
}

.wallet-provider-pill {
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1.5px solid var(--border-card);
  background-color: var(--surface);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wallet-provider-pill[aria-checked="true"] {
  background-color: var(--selected);
  border-color: var(--rose);
}

/* ---------- 8. Step 5: Success Screen ---------- */
.booking-success-wrap {
  text-align: center;
  padding: 10px 0;
}

.booking-success-icon svg {
  width: 52px;
  height: 52px;
  color: var(--success-color);
  margin-bottom: 14px;
}

.booking-ref-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 26px;
  border-radius: 18px;
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  margin: 16px 0 20px;
  box-shadow: var(--shadow-sm);
}

.ref-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.ref-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ref-code {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.12em;
}

.btn-ref-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-card);
  background-color: var(--input-bg);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-ref-copy:hover {
  background-color: var(--selected);
}

.btn-ref-copy svg {
  width: 14px;
  height: 14px;
}

.booking-demo-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background-color: var(--warning-bg);
  border: 1px solid var(--warning-border);
  color: var(--warning-color);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.booking-demo-banner svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.booking-email-notice {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 20px;
}

.text-video-hint {
  font-size: 0.88rem;
  color: var(--avail-green);
  font-weight: 600;
  margin-top: 4px;
}

.booking-summary.is-confirmed {
  text-align: left;
  margin: 22px 0;
}

.booking-next-steps {
  text-align: left;
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 22px 26px;
  margin-bottom: 22px;
}

.next-steps-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.next-steps-list {
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.video-join-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-hairline);
}

.video-join-title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.video-join-box ul {
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.inperson-arrival-note {
  font-size: 0.88rem;
  color: var(--ink);
  margin-top: 12px;
  font-style: italic;
}

.booking-reschedule-note {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 26px;
}

.booking-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.btn-calendar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-card);
  background-color: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-calendar:hover {
  border-color: var(--rose);
  transform: translateY(-1px);
}

.btn-calendar svg {
  width: 17px;
  height: 17px;
  color: var(--rose);
}

.btn-resend-inline {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-card);
  background-color: var(--input-bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-resend-inline:hover:not([disabled]) {
  background-color: var(--selected);
}

.btn-resend-inline[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.booking-resend-status {
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: 500;
  width: 100%;
}

.booking-resend-status.is-success {
  color: var(--success-color);
}

.booking-resend-status.is-error {
  color: var(--error-color);
}

.btn-primary-pill.is-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.text-muted {
  font-size: 0.82rem;
  font-weight: normal;
  color: var(--ink-soft);
}

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

/* ---------- 9. Mobile & Polish Responsiveness (<600px & <480px) ---------- */
@media (max-width: 600px) {
  .booking-hospitals-grid {
    grid-template-columns: 1fr;
  }

  .booking-tab .tab-label,
  .booking-tab .tab-dot {
    display: none;
  }

  .booking-tab {
    font-size: 13px;
    padding: 14px 4px;
  }

  .tab-num {
    font-size: 14px;
  }

  .booking-time-grid {
    grid-template-columns: 1fr;
  }

  .booking-slot-summary {
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .booking-actions {
    flex-direction: column-reverse;
    gap: 10px;
    padding-bottom: 24px;
  }

  .booking-actions button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .booking-success-actions {
    flex-direction: column;
    width: 100%;
  }

  .booking-success-actions button {
    width: 100%;
    justify-content: center;
  }

  .ref-row {
    flex-direction: column;
    gap: 8px;
  }
}

/* ---------- 10. Prefers Reduced Motion Overrides ---------- */
@media (prefers-reduced-motion: reduce) {
  .booking-card {
    transition: none !important;
  }

  .booking-spinner {
    animation: none !important;
  }

  .booking-date-chip,
  .booking-time-btn,
  .booking-hospital-card,
  .btn-calendar {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   STAGE 2-5: REAL BOOKING & CONFIRMATION POLISH STYLES
   ========================================================================== */

/* 1. Offline / Unavailable Fallback State */
.booking-unavailable-card {
  padding: 44px 28px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-booking);
}

.booking-unavailable-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(181, 137, 84, 0.15);
  color: var(--gold);
}

.booking-unavailable-icon svg {
  width: 28px;
  height: 28px;
}

.booking-unavailable-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* 2. WhatsApp Share Pill Button */
.btn-whatsapp-pill,
.btn-whatsapp-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-card);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp-pill svg,
.btn-whatsapp-share svg {
  width: 18px;
  height: 18px;
  color: var(--whatsapp);
  flex-shrink: 0;
}

.btn-whatsapp-pill:hover,
.btn-whatsapp-share:hover {
  background: rgba(36, 210, 102, 0.08);
  border-color: var(--whatsapp);
}

.btn-whatsapp-pill:focus-visible,
.btn-whatsapp-share:focus-visible {
  outline: 2px solid var(--whatsapp);
  outline-offset: 2px;
}

/* 3. Google Meet Joining Link Row */
.booking-meet-card {
  margin: 20px 0;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
}

.meet-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.meet-card-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.meet-demo-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(181, 137, 84, 0.15);
  color: var(--gold);
  font-family: var(--font-sans);
}

.meet-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.meet-url-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-hairline);
  padding: 6px 12px;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
  flex: 1 1 200px;
}

.meet-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-join-meet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: var(--plum-btn);
  color: var(--plum-btn-text);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-join-meet:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-copy-meet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-card);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-copy-meet:hover {
  background: var(--selected);
  border-color: var(--rose);
}

.btn-copy-meet svg {
  width: 13px;
  height: 13px;
}

.meet-demo-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* 4. Payment Arrangement Note on Success Screen */
.booking-payment-note {
  margin: 12px 0 16px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* 5. Mobile Tab Badge under 600px */
.tab-num-badge {
  display: none;
}

@media (max-width: 600px) {
  .booking-tabs {
    gap: 6px;
  }

  .booking-tab {
    padding: 8px 12px;
    flex: 1;
    justify-content: center;
  }

  .booking-tab .tab-label,
  .booking-tab .tab-dot,
  .booking-tab .tab-num {
    display: none;
  }

  .booking-tab .tab-num-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
  }
}

/* 6. Button Stacking under 480px */
@media (max-width: 480px) {
  .booking-actions {
    flex-direction: column-reverse;
    width: 100%;
    gap: 12px;
  }

  .booking-actions button,
  .booking-actions .booking-next {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .meet-card-row {
    flex-direction: column;
    align-items: stretch;
  }

  .meet-url-text {
    max-width: 100%;
  }

  .meet-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* 7. Dark Mode Accessibility Overrides */
html[data-theme="dark"] .btn-whatsapp-pill,
html[data-theme="dark"] .btn-whatsapp-share {
  color: var(--ink);
  border-color: var(--border-card);
}

html[data-theme="dark"] .btn-whatsapp-pill:hover,
html[data-theme="dark"] .btn-whatsapp-share:hover {
  background: rgba(36, 210, 102, 0.12);
  border-color: var(--whatsapp);
}

html[data-theme="dark"] .booking-meet-card {
  background: var(--surface);
  border-color: var(--border-card);
}

html[data-theme="dark"] .meet-url-text {
  background: var(--input-bg);
  color: var(--ink);
  border-color: var(--border-card);
}

html[data-theme="dark"] .btn-copy-meet {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-card);
}

html[data-theme="dark"] .btn-copy-meet:hover {
  background: var(--selected);
}


/* ===== Visit section: 3-card layout (two clinics + online) ===== */
.visit-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .visit-cards-grid { grid-template-columns: 1fr; } }


.footer-locations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-location-item {
    margin-bottom: 24px;
}

.footer-location-item strong,
.footer-location-item span {
    display: block;
}

.footer-location-item span {
    margin-top: 4px;
}

.footer-map-link {
    display: block;
    width: 100%;
    max-width: 260px;
    margin-top: 10px;
}


.footer-map-container {
    display: block;
    position: relative;
    width: 100%;
    max-width: 260px;
    height: 150px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 8px;
}

.footer-map {
    display: block;
    width: 100%;
    height: 150px;
    border: 0;
    pointer-events: none;
}

.footer-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}


/* ===== Reviews + videos layout fixes ===== */

/* Stop the slider from stretching the review column past the container */
.reviews-left,
.reviews-right,
.reviews-slider-text { min-width: 0; }

@media (min-width: 993px) {
  .reviews-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(24px, 3vw, 40px);
    margin-top: clamp(20px, 3vh, 32px);
  }
}
@media (max-width: 992px) {
  .reviews-split { grid-template-columns: minmax(0, 1fr); }
}
.reviews-left { gap: 24px; }

/* Review card: height comes from the longest review, no empty space */
.text-review-slide { display: flex; }
.reviews-testimonial-card {
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
  padding: 22px 26px 20px;
  gap: 16px;
}
.reviews-quote-mark {
  font-size: 3.2rem;
  line-height: 0.6;
  margin-bottom: 4px;
}

/* No dots on either slider */
.slider-dots { display: none; }

/* Video section: compact, centred, no empty side */
.reviews-video-divider { display: none; }
.reviews-video-section {
  max-width: 760px;
  margin: clamp(20px, 3vh, 32px) auto 0;
  padding: clamp(16px, 2.5vh, 24px) clamp(16px, 3vw, 28px);
}
.reviews-video-inner {
  justify-content: center;
  gap: clamp(20px, 3vw, 36px);
}
@media (min-width: 601px) {
  .reviews-slider-video { width: clamp(150px, 21vh, 220px); }
  .reviews-slider-video .slider-viewport,
  .tiktok-card,
  .video-testimonial-slide {
    width: clamp(150px, 21vh, 220px);
    height: clamp(267px, 37.3vh, 391px); /* keeps 9:16 */
  }
}

/* Lighter overlay so the face stays visible once photos load */
.tiktok-overlay {
  background: linear-gradient(to top, rgba(20, 6, 12, 0.55) 0%, rgba(20, 6, 12, 0) 45%);
}



/* ==========================================================================
   FOOTER (complete): shell, 3-column grid, map beside each location
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* 3 columns: brand | explore | visit (visit gets the most room) */
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 2.4fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}

/* Brand */
.footer-brand { display: flex; flex-direction: column; }
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { width: 22px; height: 32px; color: var(--rose); }
.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
}
.footer-bio {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--footer-muted);
  max-width: 320px;
}

/* Column titles and link list */
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-link { font-size: 0.94rem; color: var(--footer-muted); transition: color 0.2s ease; }
.footer-link:hover { color: var(--rose); }

/* Visit: each location = text on the left, map on the right */
.footer-locations-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-location-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
  grid-template-rows: auto auto 1fr;
  column-gap: 20px;
  align-items: start;
  font-size: 0.94rem;
  color: var(--footer-muted);
}
.footer-location-item strong {
  grid-column: 1;
  grid-row: 1;
  display: block;
  color: var(--footer-text);
  font-weight: 600;
  line-height: 1.4;
}
.footer-location-item span {
  grid-column: 1;
  grid-row: 2;
  display: block;
  margin-top: 4px;
}

.footer-map-container {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  border-radius: 8px;
}
.footer-map {
  display: block;
  width: 100%;
  height: 130px;
  border: 0;
  pointer-events: none;
}
.footer-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}
.footer-map-overlay:focus-visible { outline: 2px solid var(--rose); outline-offset: -2px; }

/* Bottom bar (spans the full width even if it sits inside the grid) */
.footer-bottom-bar {
  grid-column: 1 / -1;
  border-top: 1px solid var(--footer-border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--footer-muted);
}

/* Tablet: brand | explore on top, visit full width below */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col:last-of-type,
  .footer-grid > .footer-col:nth-child(3) { grid-column: 1 / -1; }
}

/* Phone: single column, map drops under the text */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-location-item { grid-template-columns: 1fr; grid-template-rows: auto; }
  .footer-map-container {
    grid-column: 1;
    grid-row: auto;
    height: 160px;
    margin-top: 12px;
  }
  .footer-map { height: 160px; }
  .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
}


/* ===== Contact section: socials + visit locations with maps ===== */
.contact-section { padding: var(--section-padding-y) 0; }

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: clamp(20px, 3vh, 28px) 0 clamp(28px, 4vh, 40px);
}

.contact-visit-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 16px;
}

.contact-locations {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: stretch;
  background-color: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: clamp(16px, 2.5vw, 24px);
}

.contact-location-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.contact-location-name {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.contact-location-area { color: var(--ink-soft); margin: 0; }

.contact-location-link {
  align-self: flex-start;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--plum);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.contact-location-link:hover { color: var(--rose); }
.contact-location-link:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
html[data-theme="dark"] .contact-location-link { color: var(--rose); }

.contact-location-map {
  position: relative;
  width: 100%;
  height: clamp(180px, 26vh, 240px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-card);
}
.contact-location-map iframe { display: block; width: 100%; height: 100%; border: 0; }
html[data-theme="dark"] .contact-location-map iframe { filter: brightness(0.82) saturate(0.9); }

@media (max-width: 760px) {
  .contact-location { grid-template-columns: 1fr; }
}