/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --navy-950: #050d1f;
  --navy-900: #081532;
  --navy-800: #0a2048;
  --navy-700: #11305f;
  --gold-600: #a07221;
  --gold-500: #b8893d;
  --gold-400: #d4a85a;
  --gold-300: #e6c481;
  --crimson:  #d62828;
  --cream:    #f5efe2;
  --cream-2:  #ebe2cd;

  /* Light theme (default) */
  --bg: #fbf8f1;
  --bg-elev: #ffffff;
  --bg-soft: #f3ecde;
  --ink: #0a1629;
  --ink-soft: #2a3548;
  --ink-muted: #5a6478;
  --line: rgba(10, 32, 72, 0.12);
  --line-strong: rgba(10, 32, 72, 0.22);
  --accent: var(--gold-600);
  --accent-soft: var(--gold-300);
  --primary: var(--navy-800);
  --primary-deep: var(--navy-900);
  --highlight: var(--crimson);
  --shadow-sm: 0 1px 2px rgba(8, 21, 50, 0.06), 0 4px 14px rgba(8, 21, 50, 0.05);
  --shadow-md: 0 6px 20px rgba(8, 21, 50, 0.08), 0 18px 40px rgba(8, 21, 50, 0.06);
  --shadow-lg: 0 20px 60px rgba(8, 21, 50, 0.14);
  --grain-opacity: 0.05;

  /* Type scale (fluid) */
  --display: clamp(3.5rem, 9vw, 7.5rem);
  --h1: clamp(2.25rem, 5.2vw, 4rem);
  --h2: clamp(1.75rem, 3.4vw, 2.75rem);
  --h3: clamp(1.25rem, 2vw, 1.55rem);
  --body: 1.0625rem;
  --small: 0.875rem;
}

[data-theme="dark"] {
  --bg: #06101f;
  --bg-elev: #0c1a31;
  --bg-soft: #0a1729;
  --ink: #f0e8d6;
  --ink-soft: #cdc5b3;
  --ink-muted: #8a93a8;
  --line: rgba(230, 196, 129, 0.14);
  --line-strong: rgba(230, 196, 129, 0.28);
  --accent: var(--gold-400);
  --accent-soft: var(--gold-300);
  --primary: var(--cream);
  --primary-deep: var(--cream-2);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.45), 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --grain-opacity: 0.08;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Subtle paper grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.08 0 0 0 0 0.16 0 0 0 0.7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Selection */
::selection { background: var(--gold-400); color: var(--navy-900); }

/* Typography utility */
.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-variation-settings: "SOFT" 30, "WONK" 0; letter-spacing: -0.02em; }
.italic-serif { font-family: 'Instrument Serif', serif; font-style: italic; }
.eyebrow {
  font-family: 'Geist', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
section { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; }
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--accent) 50%, var(--line-strong) 80%, transparent);
  position: relative;
}
.section-divider::after {
  content: "✦";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  padding: 0 1rem;
  color: var(--accent);
  font-size: 0.85rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.4rem 0;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); padding: 0.3rem 0; }
/* Navbar uses the full viewport width (not the centered 1280px container) */
.nav .container.nav-inner {
  max-width: 100%;
  width: 100%;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}
.nav-inner > .brand-mark { flex-shrink: 0; }
.nav-inner > .nav-actions { flex-shrink: 0; }
/* Menu sits centred between the logo (left) and the actions (right) */
.nav-inner > .nav-links { flex: 1 1 auto; justify-content: center; }
.brand-mark {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.brand-mark .mark-r {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  background: var(--primary);
  color: var(--cream);
  border-radius: 50%;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}
.brand-mark .mark-r::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--accent);
  border-radius: 50%;
}
.brand-mark .ent-pop { color: var(--highlight); font-weight: 800; }
.nav-links {
  display: flex;
  gap: 2.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-links > a,
.nav-links .nav-dropdown > a {
  white-space: nowrap;
}
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .nav-links { gap: 1.4rem; font-size: 0.92rem; letter-spacing: 0.03em; }
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.7,0,.3,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Nav dropdown (mega-menu) */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a .caret {
  display: inline-block;
  font-size: 0.7rem;
  margin-left: 3px;
  transition: transform 0.25s ease;
}
.nav-dropdown:hover > a .caret,
.nav-dropdown:focus-within > a .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  min-width: 680px;
  z-index: 200;
}
/* Invisible hover bridge — fills the 18px gap between trigger and menu so
   moving the mouse down doesn't break the :hover chain. */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 22px;
  background: transparent;
}
/* Keep .nav-dropdown's hover live while the cursor is anywhere in the trigger
   area or directly below it (covers the gap before menu fully opens). */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 22px;
  background: transparent;
  pointer-events: auto;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.nav-dropdown-col h5 {
  font-family: 'Geist', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.nav-dropdown-col a {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 0.32rem 0;
  transition: color 0.2s ease, padding 0.2s ease;
}
.nav-dropdown-col a:hover { color: var(--accent); padding-left: 4px; }
.nav-dropdown-col a::after { display: none !important; }
html[dir="rtl"] .nav-dropdown-col a:hover { padding-left: 0; padding-right: 4px; }
.nav-dropdown-menu.nav-dropdown-menu--compact {
  min-width: 280px;
  padding: 1rem 1.25rem 0.85rem;
}
@media (max-width: 1024px) {
  .nav-dropdown-menu { min-width: 560px; }
  .nav-dropdown-menu.nav-dropdown-menu--compact { min-width: 260px; }
}

/* ============================================================
   MOBILE NAV (hamburger + slide-in drawer)
   ============================================================ */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: border-color 0.2s ease;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s cubic-bezier(.65,0,.35,1), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 21, 50, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.open { opacity: 1; pointer-events: auto; }

.nav-drawer-actions { display: none; }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-actions > .btn-primary { display: none; }
  .nav-actions { gap: 0.4rem; }
  .lang-toggle { padding: 0.4rem 0.6rem; font-size: 0.7rem; }
  .lang-toggle .lang-sep, .lang-toggle .lang-next { display: none; }
  .theme-toggle { width: 36px; height: 36px; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100vh;
    background: var(--bg-elev);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    overflow-y: auto;
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.65,0,.35,1);
    z-index: 110;
    display: flex !important;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a,
  .nav-links .nav-dropdown > a {
    white-space: normal;
    width: 100%;
  }

  .nav-links > a,
  .nav-links .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid var(--line);
    padding: 0;
  }
  .nav-links > a {
    padding: 0.95rem 0;
    font-size: 0.95rem;
    color: var(--ink);
  }
  .nav-links > a::after { display: none; }
  .nav-links .nav-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 0;
    font-size: 0.95rem;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-links .nav-dropdown::after { display: none; }
  .nav-links .nav-dropdown .caret { transition: transform 0.25s ease; }
  .nav-links .nav-dropdown.open .caret { transform: rotate(180deg); }

  /* Force-flatten the dropdown menu — beat the desktop position/transform
     rules even when :focus-within or :hover activates them on touch. */
  .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-links .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    min-width: 0 !important;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    display: block !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }
  .nav-dropdown-menu::before { display: none !important; }
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 1200px !important;
    padding-bottom: 0.85rem;
  }
  .nav-dropdown-grid {
    display: flex !important;
    flex-direction: column;
    gap: 1rem !important;
  }
  .nav-dropdown-col h5 {
    font-size: 0.65rem;
    margin-bottom: 0.4rem;
    padding-bottom: 0;
    border-bottom: none !important;
  }
  .nav-dropdown-col a {
    font-size: 0.85rem;
    padding: 0.32rem 0;
  }
  /* Hide the desktop nav-link hover underline inside the mobile drawer —
     it sticks on touch and looks like a stray border. */
  .nav-links a::after { display: none !important; }

  .nav-drawer-actions {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
  }
  .nav-drawer-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

html[dir="rtl"] .nav-links { right: auto; left: 0; transform: translateX(-100%); border-left: none; border-right: 1px solid var(--line); }
html[dir="rtl"] .nav-links.open { transform: translateX(0); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  transition: all 0.3s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(15deg); }
.theme-toggle i { font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(.65,0,.35,1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--cream);
  border: 1px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .btn-primary { color: var(--navy-900); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}
.hero-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15); }
  50% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0.05); }
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: var(--display);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
  color: var(--ink);
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  font-family: 'Instrument Serif', serif;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.hero h1 .stroke {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
  font-weight: 600;
}
[data-theme="dark"] .hero h1 .stroke { -webkit-text-stroke-color: var(--ink); }

.hero-sub {
  margin-top: 1.5rem;
  max-width: 480px;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Hero stats strip */
.hero-stats {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.stat .num {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 0.2rem;
}
.stat .num sup { font-size: 0.55em; color: var(--accent); }
.stat .lbl {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(230, 196, 129, 0.4);
  border-radius: 4px;
  pointer-events: none;
  z-index: 3;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(212, 168, 90, 0.2), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(214, 40, 40, 0.12), transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hv-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  z-index: 2;
  color: var(--cream);
}
.hv-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.hv-top .corner {
  width: 32px; height: 32px;
  border-top: 1px solid var(--gold-400);
  border-right: 1px solid var(--gold-400);
}
.hv-center {
  text-align: center;
  font-family: 'Fraunces', serif;
}
.hv-center .icon-wrap {
  width: 88px; height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(245, 239, 226, 0.06);
  border: 1px solid rgba(230, 196, 129, 0.4);
  display: grid;
  place-items: center;
  position: relative;
}
.hv-center .icon-wrap::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(230, 196, 129, 0.25);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hv-center .icon-wrap i { font-size: 2.2rem; color: var(--gold-300); }
.hv-center .name {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hv-center .credentials {
  margin-top: 0.4rem;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--gold-300);
  font-size: 0.95rem;
}
.hv-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(230, 196, 129, 0.25);
  padding-top: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.hv-bottom div { display: flex; flex-direction: column; gap: 0.2rem; }
.hv-bottom .k { color: var(--gold-300); text-transform: uppercase; opacity: 0.8; }
.hv-bottom .v { font-family: 'Fraunces', serif; font-size: 0.95rem; letter-spacing: -0.01em; }

/* Floating reviews badge */
.reviews-float {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: var(--bg-elev);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 4;
}
.reviews-float .stars {
  display: flex;
  gap: 1px;
  color: var(--accent);
  font-size: 0.9rem;
}
.reviews-float .meta { line-height: 1.2; }
.reviews-float .meta strong { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.05rem; }
.reviews-float .meta small { color: var(--ink-muted); font-size: 0.72rem; letter-spacing: 0.04em; }

@media (max-width: 880px) {
  .reviews-float { right: 1rem; bottom: -28px; }
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 620px;
  max-height: 880px;
  background: var(--navy-900);
  direction: ltr; /* keep carousel mechanics LTR even on Arabic/RTL pages */
}
.hero-carousel .slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
/* On Arabic, only the slide text reads right-to-left; the track stays LTR */
html[dir="rtl"] .slide-content { direction: rtl; text-align: right; }
html[dir="rtl"] .slide-content .hero-tag,
html[dir="rtl"] .slide-content .hero-cta { flex-direction: row-reverse; justify-content: flex-end; }
html[dir="rtl"] .slide-offer .offer-stamp { align-self: flex-end; }
.hero-carousel .slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 8s ease-out;
  z-index: 0;
}
.slide.active .slide-bg { transform: scale(1.0); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(5,13,31,0.88) 0%, rgba(5,13,31,0.55) 55%, rgba(5,13,31,0.7) 100%);
  z-index: 1;
}
.slide-overlay-gold {
  background:
    linear-gradient(110deg, rgba(160,114,33,0.85) 0%, rgba(8,21,50,0.7) 55%, rgba(5,13,31,0.85) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  padding-top: clamp(7rem, 14vh, 9rem);
  padding-bottom: clamp(4.5rem, 12vh, 7rem);
  max-width: 820px;
}
html[dir="rtl"] .slide-content { margin-left: auto; margin-right: 0; }

.slide-content .hero-tag {
  align-self: flex-start;
  margin-bottom: 0;
  background: rgba(255,255,255,0.08);
  border-color: rgba(245,239,226,0.3);
  color: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.slide-content h1 {
  margin-top: 1.5rem;
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: clamp(2.25rem, 5.5vw + 1vh, 5rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
  color: var(--cream);
}
@media (max-height: 720px) {
  .slide-content h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05; }
  .slide-content .hero-sub { font-size: 1rem; margin-top: 1rem; }
  .slide-content .hero-cta { margin-top: 1.25rem; }
}
.slide-content h1 .accent {
  font-style: italic;
  font-weight: 300;
  font-family: 'Instrument Serif', serif;
  color: var(--gold-300);
  letter-spacing: -0.01em;
}
.slide-content h1 .stroke {
  -webkit-text-stroke: 0;
  color: var(--cream);
  font-weight: 600;
}
.slide-content .hero-sub {
  margin-top: 1.25rem;
  color: rgba(245, 239, 226, 0.85);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 540px;
}
.slide-content .hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.slide-content .btn-ghost {
  border-color: rgba(245, 239, 226, 0.4);
  color: var(--cream);
}
.slide-content .btn-ghost:hover {
  border-color: var(--gold-300);
  color: var(--gold-300);
}
[data-theme="dark"] .slide-content .btn-primary { color: var(--navy-900); }

/* 30% offer slide specifics */
.slide-offer .offer-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at 50% 38%, var(--gold-300), var(--gold-600));
  border-radius: 50%;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35), inset 0 0 0 4px rgba(255,255,255,0.18);
  font-family: 'Fraunces', serif;
  position: relative;
  align-self: flex-start;
}
.slide-offer .offer-stamp::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(245, 239, 226, 0.5);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.slide-offer .offer-stamp .num {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
}
.slide-offer .offer-stamp .num sup { font-size: 0.42em; font-weight: 500; margin-top: 0.55em; margin-left: 2px; }
.slide-offer .offer-stamp .lbl {
  font-family: 'Geist', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  margin-top: 0.2rem;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--cream);
  display: grid;
  place-items: center;
  z-index: 5;
  transition: all 0.3s cubic-bezier(.65,0,.35,1);
}
.carousel-arrow:hover {
  background: var(--gold-400);
  color: var(--navy-900);
  border-color: var(--gold-400);
  transform: translateY(-50%) scale(1.05);
}
.carousel-arrow i { font-size: 1.25rem; }
.carousel-prev { left: 1.75rem; }
.carousel-next { right: 1.75rem; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 5;
}
.carousel-dot {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  border: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
  padding: 0;
}
.carousel-dot.active { background: var(--gold-400); width: 48px; }
.carousel-dot:hover { background: rgba(255,255,255,0.55); }

@media (max-width: 880px) {
  .hero-carousel { height: 92vh; min-height: 560px; }
  .slide-content { padding-top: 5.5rem; }
  .carousel-arrow { width: 42px; height: 42px; }
  .carousel-arrow i { font-size: 1.05rem; }
  .carousel-prev { left: 0.75rem; }
  .carousel-next { right: 0.75rem; }
  .slide-offer .offer-stamp { width: 100px; height: 100px; }
  .slide-offer .offer-stamp .num { font-size: 1.9rem; }
}
@media (max-width: 540px) {
  .hero-carousel { height: auto; min-height: 580px; }
  .slide-content { padding-bottom: 7rem; }
  .slide-content .hero-sub { font-size: 1rem; }
}

/* ============================================================
   MARQUEE / TRUST
   ============================================================ */
.marquee {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}
[data-theme="dark"] .marquee { background: var(--navy-950); }
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
  font-family: 'Fraunces', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 350;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  width: max-content;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 4rem; }
.marquee-track .sep { color: var(--accent); font-size: 0.7em; }
.marquee-track .ital { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--accent); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
}
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: var(--h1);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}
.section-head h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-head p { color: var(--ink-muted); max-width: 460px; line-height: 1.65; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background-color 0.4s ease, transform 0.4s ease;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, var(--gold-300) 0%, transparent 100%);
  opacity: 0.18;
  transition: height 0.45s cubic-bezier(.65,0,.35,1);
}
.service-card:hover { background: var(--bg-soft); }
.service-card:hover::before { height: 100%; }

.service-num {
  font-family: 'Fraunces', serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.service-icon i { font-size: 1.5rem; }
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--cream);
  border-color: var(--primary);
  transform: rotate(-6deg);
}
[data-theme="dark"] .service-card:hover .service-icon { color: var(--navy-900); background: var(--accent); border-color: var(--accent); }

.service-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 450;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.service-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.85;
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.service-card ul li::before {
  content: "—";
  color: var(--accent);
  margin-right: 0.5rem;
}
/* Service cards are now clickable */
a.service-card { color: inherit; text-decoration: none; }
.service-cta {
  position: absolute;
  bottom: 1.5rem;
  right: 1.75rem;
  z-index: 2;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
a.service-card:hover .service-cta { opacity: 1; transform: translateX(0); }
a.service-card:hover h3 { color: var(--accent); }

/* ============================================================
   SURGERIES
   ============================================================ */
.surgeries {
  background: var(--primary);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .surgeries {
  background: var(--bg-elev);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.surgeries::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(212, 168, 90, 0.15), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(214, 40, 40, 0.1), transparent 40%);
  pointer-events: none;
}
.surgeries-frame {
  position: relative;
  border: 1px solid rgba(212, 168, 90, 0.35);
  border-radius: 6px;
  padding: clamp(2rem, 5vw, 4rem);
}
.surgeries-frame::before, .surgeries-frame::after {
  content: "✦";
  position: absolute;
  color: var(--gold-400);
  font-size: 1.1rem;
  background: var(--primary);
  padding: 0 0.5rem;
}
[data-theme="dark"] .surgeries-frame::before, [data-theme="dark"] .surgeries-frame::after {
  background: var(--bg-elev);
}
.surgeries-frame::before { top: -10px; left: 2rem; }
.surgeries-frame::after { bottom: -10px; right: 2rem; }

.surgeries .eyebrow { color: var(--gold-300); }
.surgeries h2 { color: inherit; }
.surgeries h2 em { color: var(--gold-300); }
[data-theme="dark"] .surgeries h2 em { color: var(--accent); }
.surgeries .section-head p { color: rgba(245, 239, 226, 0.7); }
[data-theme="dark"] .surgeries .section-head p { color: var(--ink-muted); }

.surgeries-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 3rem;
  list-style: none;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
@media (max-width: 720px) { .surgeries-list { grid-template-columns: 1fr; } }
.surgeries-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(212, 168, 90, 0.2);
  transition: padding-left 0.3s ease;
}
.surgeries-list li:hover { padding-left: 0.6rem; }
.surgeries-list a {
  color: inherit;
  text-decoration: none;
  flex: 1;
  transition: color 0.25s ease;
}
.surgeries-list a:hover { color: var(--gold-300); }
.surgeries-list a:hover small { color: rgba(245, 239, 226, 0.75); }
.surgeries-list li i {
  color: var(--gold-300);
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}
[data-theme="dark"] .surgeries-list li i { color: var(--accent); }
.surgeries-list li small {
  display: block;
  font-family: 'Geist', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(245, 239, 226, 0.55);
  letter-spacing: 0;
  margin-top: 2px;
}
[data-theme="dark"] .surgeries-list li small { color: var(--ink-muted); }

/* ============================================================
   DOCTOR / ABOUT
   ============================================================ */
.doctor {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) { .doctor { grid-template-columns: 1fr; } }

.doctor-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  position: relative;
  background:
    linear-gradient(160deg, var(--bg-soft) 0%, var(--bg-elev) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.doctor-portrait::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--accent-soft);
  opacity: 0.4;
  pointer-events: none;
}
.dp-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  gap: 1.25rem;
}
.dp-monogram {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 0.85;
  color: var(--accent);
  letter-spacing: -0.04em;
  font-variation-settings: "SOFT" 80, "WONK" 1;
  position: relative;
}
.dp-monogram::after {
  content: "";
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--line-strong);
}
.dp-name {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.dp-creds {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--ink-muted);
  font-size: 1rem;
}
.dp-stamp {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dp-stamp i { color: var(--accent); }

.doctor-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: var(--h1);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.doctor-content h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.doctor-content > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 580px;
}
.doctor-meta {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.dm-item .dm-key {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}
.dm-item .dm-val {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ============================================================
   FACILITY GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
}
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .g-item:first-child { grid-column: span 2; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 200px); }
  .g-item:first-child { grid-column: auto; }
}
.g-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--primary);
  border: 1px solid var(--line);
}
.g-item:first-child { grid-row: span 2; }
.g-illust {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.g-illust::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 168, 90, 0.3);
  border-radius: 2px;
}
.g-illust .label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g-illust .num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Fraunces', serif;
  color: var(--gold-300);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.g-illust svg { width: 60%; max-width: 220px; opacity: 0.9; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}
.testimonial .quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: 1rem;
}
.testimonial blockquote {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50;
}
.testimonial blockquote em {
  font-family: 'Instrument Serif', serif;
  color: var(--accent);
}
.testimonial .attribution {
  margin-top: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.testimonial .attribution strong { color: var(--ink); }

/* ============================================================
   PATIENT STORIES (video testimonials)
   ============================================================ */
.stories-section { background: var(--bg-soft); }
[data-theme="dark"] .stories-section { background: var(--navy-950); }
.stories-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.stories-scroll::-webkit-scrollbar { height: 6px; }
.stories-scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.story-card {
  flex: 0 0 auto;
  width: clamp(220px, 60vw, 270px);
  scroll-snap-align: start;
}
.story-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  background: #000;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  display: block;
}
.story-caption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.story-caption i { color: var(--accent); }
.stories-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--primary);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .contact { background: var(--bg-elev); color: var(--ink); border-top: 1px solid var(--line); }
.contact::before {
  content: "ENT";
  position: absolute;
  bottom: -8rem;
  right: -2rem;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(18rem, 35vw, 32rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(212, 168, 90, 0.06);
  pointer-events: none;
  user-select: none;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  position: relative;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact h2 {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: var(--h1);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: inherit;
  margin-bottom: 1.5rem;
}
.contact h2 em { font-family: 'Instrument Serif', serif; color: var(--gold-300); }
[data-theme="dark"] .contact h2 em { color: var(--accent); }
.contact > .container > .contact-grid > div > p {
  color: rgba(245, 239, 226, 0.75);
  margin-bottom: 2rem;
  max-width: 460px;
  line-height: 1.65;
}
[data-theme="dark"] .contact > .container > .contact-grid > div > p { color: var(--ink-muted); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.ci-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.75rem;
  border-bottom: 1px dashed rgba(212, 168, 90, 0.25);
}
[data-theme="dark"] .ci-item { border-bottom-color: var(--line); }
.ci-item:last-child { border-bottom: 0; padding-bottom: 0; }
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ci-icon i { font-size: 1.2rem; }
[data-theme="dark"] .ci-icon { color: var(--accent); border-color: var(--accent); }
.ci-text .k {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.4rem;
}
[data-theme="dark"] .ci-text .k { color: var(--accent); }
.ci-text .v {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.ci-text .v a:hover { color: var(--gold-300); }
[data-theme="dark"] .ci-text .v a:hover { color: var(--accent); }

/* Hours card */
.hours-card {
  background: rgba(245, 239, 226, 0.04);
  border: 1px solid rgba(212, 168, 90, 0.25);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
}
[data-theme="dark"] .hours-card { background: var(--bg); border-color: var(--line); }
.hours-card::before, .hours-card::after {
  content: "✦";
  position: absolute;
  color: var(--gold-400);
  font-size: 0.85rem;
}
.hours-card::before { top: 8px; left: 12px; }
.hours-card::after { bottom: 8px; right: 12px; }
.hours-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 168, 90, 0.2);
}
[data-theme="dark"] .hours-head { border-bottom-color: var(--line); }
.hours-head h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(212, 168, 90, 0.15);
  font-size: 0.95rem;
}
[data-theme="dark"] .hours-list li { border-bottom-color: var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: rgba(245, 239, 226, 0.7); }
[data-theme="dark"] .hours-list .day { color: var(--ink-muted); }
.hours-list .time {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.01em;
}
.hours-list li.today {
  color: var(--gold-300);
  font-weight: 500;
}
[data-theme="dark"] .hours-list li.today { color: var(--accent); }
.hours-list li.today .day { color: inherit; }

.contact-cta {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn-gold {
  background: var(--gold-400);
  color: var(--navy-900);
  border: 1px solid var(--gold-400);
}
.btn-gold:hover {
  background: var(--gold-300);
  border-color: var(--gold-300);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 168, 90, 0.3);
}
.btn-outline-light {
  border: 1px solid rgba(212, 168, 90, 0.5);
  color: var(--cream);
}
.btn-outline-light:hover { background: rgba(212, 168, 90, 0.1); border-color: var(--gold-300); }
[data-theme="dark"] .btn-outline-light { border-color: var(--line-strong); color: var(--ink); }
[data-theme="dark"] .btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-muted);
  background: var(--bg-soft);
}
[data-theme="dark"] .footer { background: var(--navy-950); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2.5rem;
}
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
.footer-brand .brand-mark { margin-bottom: 1rem; font-size: 1.15rem; }
.footer-brand p {
  line-height: 1.6;
  max-width: 320px;
  color: var(--ink-muted);
}
.footer-col h4 {
  font-family: 'Geist', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a, .footer-col ul span, .footer-col ul li {
  color: var(--ink-muted);
  transition: color 0.2s ease;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-info li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-info i {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.footer-bottom .legal { display: flex; gap: 1.25rem; }
.footer-bottom .legal a:hover { color: var(--accent); }
.footer-bottom-legal { display: flex; gap: 0.6rem; align-items: center; }
.footer-bottom-legal a { color: var(--ink-muted); transition: color 0.2s ease; }
.footer-bottom-legal a:hover { color: var(--accent); }
.footer-bottom-legal span { color: var(--ink-muted); opacity: 0.5; }

/* ============================================================
   NEWS & MEDIA / SPEAKING
   ============================================================ */
.media-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .media-section { background: var(--navy-950); }

.media-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1rem;
}
@media (max-width: 980px) {
  .media-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px 240px; }
  .media-grid .media-card:first-child { grid-column: span 2; }
}
@media (max-width: 540px) {
  .media-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); }
  .media-grid .media-card:first-child { grid-column: auto; }
}
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--primary);
  border: 1px solid var(--line);
  isolation: isolate;
}
.media-card:first-child { grid-row: span 2; }
.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.media-card:hover img { transform: scale(1.04); }
.media-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(230, 196, 129, 0.4);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 21, 50, 0.15) 0%, rgba(8, 21, 50, 0.85) 100%);
  z-index: 1;
}
.media-card .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-300);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}
.media-card .meta {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 3;
  color: var(--cream);
}
.media-card .meta h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--cream);
}
.media-card .meta .sub {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--gold-300);
  letter-spacing: 0.06em;
}

/* Speaking strip — horizontal photo row */
.speaking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 880px) { .speaking-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .speaking-grid { grid-template-columns: 1fr; } }
.speaking-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--primary);
  border: 1px solid var(--line);
  isolation: isolate;
}
.speaking-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.speaking-card:hover img { transform: scale(1.04); }
.speaking-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 21, 50, 0.92) 100%);
  z-index: 1;
}
.speaking-card .speaking-meta {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  color: var(--cream);
}
.speaking-card .speaking-meta .tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.35rem;
}
.speaking-card .speaking-meta h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--cream);
}

/* ============================================================
   FLYER / OFFER
   ============================================================ */
.flyer-section {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.flyer {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(230, 196, 129, 0.3);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}
.flyer::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(230, 196, 129, 0.3);
  border-radius: 4px;
  pointer-events: none;
  z-index: 1;
}
.flyer::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(212, 168, 90, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 760px) {
  .flyer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}

.flyer-stamp {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(180px, 22vw, 240px);
  aspect-ratio: 1;
  margin: 0 auto;
  background: radial-gradient(circle at 50% 38%, var(--gold-300), var(--gold-600));
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), inset 0 0 0 4px rgba(255,255,255,0.18);
  color: var(--navy-900);
  z-index: 2;
}
.flyer-stamp::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(230, 196, 129, 0.45);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.flyer-stamp::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(8, 21, 50, 0.22);
  border-radius: 50%;
  pointer-events: none;
}
.flyer-stamp-num {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: flex-start;
}
.flyer-stamp-num sup {
  font-size: 0.42em;
  font-weight: 500;
  margin-top: 0.55em;
  margin-left: 2px;
}
.flyer-stamp-lbl {
  font-family: 'Geist', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  margin-top: 0.25rem;
}

.flyer-content { position: relative; z-index: 2; }
.flyer-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(230, 196, 129, 0.12);
  border: 1px solid rgba(230, 196, 129, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.flyer-ribbon::before { content: "★"; color: var(--gold-300); font-size: 0.85em; }
.flyer-title {
  margin-top: 1.25rem;
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--cream);
}
.flyer-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--gold-300);
  font-weight: 400;
}
.flyer p {
  margin-top: 1rem;
  color: rgba(245, 239, 226, 0.78);
  line-height: 1.65;
  max-width: 540px;
}
@media (max-width: 760px) { .flyer p { margin-left: auto; margin-right: auto; } }

.flyer-bullets {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
}
@media (max-width: 760px) { .flyer-bullets { justify-content: center; } }
.flyer-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(245, 239, 226, 0.86);
}
.flyer-bullets i { color: var(--gold-300); font-size: 0.95rem; }

.flyer-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
@media (max-width: 760px) { .flyer-cta { justify-content: center; } }

.flyer .btn-gold {
  background: var(--gold-400);
  color: var(--navy-900);
  border: 1px solid var(--gold-400);
}
.flyer .btn-gold:hover {
  background: var(--gold-300);
  border-color: var(--gold-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.flyer .btn-outline-light {
  border: 1px solid rgba(230, 196, 129, 0.5);
  color: var(--cream);
}
.flyer .btn-outline-light:hover { border-color: var(--gold-300); color: var(--gold-300); }

.flyer-validity {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: rgba(245, 239, 226, 0.55);
  letter-spacing: 0.04em;
}

/* ============================================================
   GOOGLE MAPS EMBED
   ============================================================ */
.contact-map {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  background: var(--bg-elev);
  aspect-ratio: 21 / 9;
  position: relative;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
[data-theme="dark"] .contact-map iframe {
  filter: invert(0.92) hue-rotate(180deg) saturate(1.2);
}
@media (max-width: 760px) { .contact-map { aspect-ratio: 4 / 3; } }

/* ============================================================
   FLOATING ACTION BUTTONS — bottom-right call + WhatsApp
   ============================================================ */
.fab-stack {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 90;
}
html[dir="rtl"] .fab-stack { right: auto; left: 1.5rem; }
.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.22), 0 0 0 6px rgba(255,255,255,0.04);
  position: relative;
  transition: transform 0.3s cubic-bezier(.65,0,.35,1), box-shadow 0.3s ease, background 0.2s ease;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab-whatsapp { background: #25d366; color: #fff; }
.fab-whatsapp:hover { background: #1da851; }
.fab-call { background: var(--primary); color: var(--cream); }
.fab-call:hover { background: var(--primary-deep); }
[data-theme="dark"] .fab-call { color: var(--navy-900); }

.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.fab-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0.5;
  animation: fabPulse 2.4s ease-out infinite;
}
.fab-whatsapp .fab-pulse::before { background: #25d366; }
.fab-call .fab-pulse::before { background: var(--primary); }
@keyframes fabPulse {
  0%   { transform: scale(1); opacity: 0.45; }
  100% { transform: scale(1.55); opacity: 0; }
}

.fab-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy-900);
  color: var(--cream);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-label::after {
  content: "";
  position: absolute;
  right: -4px; top: 50%; transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: var(--navy-900);
}
.fab:hover .fab-label { opacity: 1; transform: translateY(-50%) translateX(-4px); }
html[dir="rtl"] .fab-label { right: auto; left: calc(100% + 12px); }
html[dir="rtl"] .fab-label::after {
  right: auto; left: -4px;
  border-left-color: transparent;
  border-right-color: var(--navy-900);
}
@media (max-width: 540px) {
  .fab-stack { bottom: 1rem; right: 1rem; gap: 0.5rem; }
  html[dir="rtl"] .fab-stack { left: 1rem; right: auto; }
  .fab { width: 50px; height: 50px; font-size: 1.25rem; }
  .fab-label { display: none; }
}

/* ============================================================
   IMAGES — logo, hero photo, doctor photo, facility photos
   ============================================================ */
.brand-mark .brand-logo {
  display: block;
  height: 92px;
  width: auto;
  max-width: 400px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav.scrolled .brand-mark .brand-logo { height: 70px; }
.footer-brand .brand-mark .brand-logo { height: 96px; max-width: 360px; }
[data-theme="dark"] .brand-mark .brand-logo {
  background: var(--cream);
  border-radius: 6px;
  padding: 4px 8px;
}
@media (max-width: 540px) {
  .brand-mark .brand-logo { height: 56px; max-width: 220px; }
}

/* Hero visual photo */
.hv-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  z-index: 0;
  filter: saturate(0.92) contrast(1.05);
}
.hv-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 13, 31, 0.35) 0%, rgba(5, 13, 31, 0.55) 45%, rgba(5, 13, 31, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-visual .hv-content { z-index: 3; }
.hero-visual::before { z-index: 2; }
.hero-visual::after { z-index: 2; }

/* Doctor portrait photo */
.dp-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
}
.dp-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(8, 21, 50, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.75rem 2.25rem;
  gap: 0.4rem;
}
.dp-overlay .dp-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.dp-overlay .dp-creds {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--gold-300);
  font-size: 1rem;
}
.doctor-portrait .dp-stamp {
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--ink-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.doctor-portrait::before { z-index: 2; border-color: rgba(230, 196, 129, 0.55); }

/* Facility photo cards (replacing .g-illust) */
.g-photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}
.g-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}
.g-item:hover .g-photo img { transform: scale(1.04); }
.g-photo::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(230, 196, 129, 0.4);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}
.g-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 21, 50, 0.15) 0%, rgba(8, 21, 50, 0.78) 100%);
  z-index: 1;
}
.g-photo .num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: 'Fraunces', serif;
  color: var(--gold-300);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  z-index: 3;
}
.g-photo .label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

/* ============================================================
   ANIMATIONS — staggered reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero load animation */
.hero .hero-tag,
.hero h1 > span,
.hero-sub,
.hero-cta,
.hero-stats,
.hero-visual {
  opacity: 0;
  animation: rise 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero .hero-tag       { animation-delay: 0.1s; }
.hero h1 > span:nth-child(1) { animation-delay: 0.25s; }
.hero h1 > span:nth-child(2) { animation-delay: 0.4s; }
.hero h1 > span:nth-child(3) { animation-delay: 0.55s; }
.hero h1 > span:nth-child(4) { animation-delay: 0.7s; }
.hero-sub             { animation-delay: 0.85s; }
.hero-cta             { animation-delay: 1.0s; }
.hero-stats           { animation-delay: 1.15s; }
.hero-visual          { animation-delay: 0.5s; animation-duration: 1.4s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.lang-toggle .lang-current { font-weight: 600; color: var(--ink); }
.lang-toggle:hover .lang-current { color: var(--accent); }
.lang-toggle .lang-sep { color: var(--ink-muted); }
.lang-toggle i { font-size: 0.95rem; }

/* Arabic text uses Naskh / Kufi script */
html[lang="ar"] body,
html[lang="ar"] .serif,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .italic-serif,
html[lang="ar"] .accent,
html[lang="ar"] .nav-links,
html[lang="ar"] .btn {
  font-family: 'Noto Naskh Arabic', 'Geist', system-ui, sans-serif;
  font-style: normal;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .nav-links a {
  font-family: 'Noto Kufi Arabic', 'Noto Naskh Arabic', sans-serif;
}
html[lang="ar"] .hero h1 .stroke { -webkit-text-stroke: 0; color: var(--ink); }
html[lang="ar"] .eyebrow { letter-spacing: 0.05em; }
html[lang="ar"] .hero h1, html[lang="ar"] .slide-content h1 { line-height: 1.35; font-weight: 500; }
html[lang="ar"] h2 { line-height: 1.45; }
html[lang="ar"] .marquee-track { font-family: 'Noto Naskh Arabic', serif; }
html[lang="ar"] .lang-toggle { letter-spacing: 0; }
/* Arabic nav text isn't forced uppercase (no concept of case) and is sized
   down a touch so the longer Arabic labels fit without overlapping. */
html[lang="ar"] .nav-links a { text-transform: none; }
html[lang="ar"] .nav-links { font-size: 0.95rem; gap: 1.6rem; letter-spacing: 0; }
@media (min-width: 1025px) and (max-width: 1320px) {
  html[lang="ar"] .nav-links { font-size: 0.85rem; gap: 1.1rem; }
}

/* RTL adjustments */
html[dir="rtl"] .eyebrow::before { display: none; }
html[dir="rtl"] .eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  margin-right: 0.7rem;
}
html[dir="rtl"] .hv-top .corner { transform: scaleX(-1); }
html[dir="rtl"] .reviews-float { right: auto; left: -28px; }
@media (max-width: 880px) {
  html[dir="rtl"] .reviews-float { left: 1rem; right: auto; }
}
html[dir="rtl"] .service-num { right: auto; left: 1.75rem; }
html[dir="rtl"] .surgeries-list i { margin-right: 0; margin-left: 0.6rem; }
html[dir="rtl"] .ci-icon { margin-right: 0; margin-left: 1rem; }

/* ============================================================
   APPOINTMENT FORM
   ============================================================ */
.appointment {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .appointment { background: var(--navy-950); }

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .appointment-grid { grid-template-columns: 1fr; }
}

.appointment-intro h2 {
  font-family: 'Fraunces', serif;
  font-weight: 350;
  font-size: var(--h1);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  margin-top: 1.25rem;
}
.appointment-intro h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.appointment-intro p {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 460px;
}
.appointment-bullets {
  margin-top: 1.75rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.appointment-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.appointment-bullets i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(184, 137, 61, 0.14);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.appointment-form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.appointment-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .appointment-form .field-row { grid-template-columns: 1fr; }
}
.appointment-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.appointment-form label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.appointment-form textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 137, 61, 0.15);
}
.appointment-form input:invalid:not(:placeholder-shown),
.appointment-form select:invalid:not([value=""]) {
  /* keep neutral on partial typing */
}
html[lang="ur"] .appointment-form input,
html[lang="ur"] .appointment-form select,
html[lang="ur"] .appointment-form textarea {
  font-family: 'Noto Nastaliq Urdu', 'Geist', system-ui, sans-serif;
}

.appointment-form .form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.appointment-form .form-actions .btn { flex: 1 1 auto; justify-content: center; }
.appointment-form .form-note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-top: 0.25rem;
}
.appointment-form .form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 4px;
  color: #16a34a;
  font-size: 0.9rem;
}
.appointment-form .form-success i { font-size: 1.15rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}