/* ==========================================================================
   Lumiere Clinics — Premium Design System
   Arabic-first bilingual clinic website
   ========================================================================== */

/* -------- Design tokens -------- */
:root {
  /* Brand palette (derived from the Lumiere logo) */
  --brand-primary:      #1BA0CC;   /* luminous clinical blue */
  --brand-primary-600:  #1386AE;
  --brand-primary-700:  #0D6B8E;
  --brand-primary-800:  #0A5775;
  --brand-deep:         #0A3A4F;   /* deep navy - trust */
  --brand-ink:          #0F1E28;   /* charcoal - body text */
  --brand-soft:         #E8F6FB;   /* airy tint for surfaces */
  --brand-cream:        #FAF7F0;   /* premium warm neutral */

  /* Accent — elite gold */
  --gold:               #B8935A;
  --gold-soft:          #E8D9BE;

  /* Neutrals */
  --ink-1:              #0F1E28;
  --ink-2:              #243545;
  --ink-3:              #5C6B7A;
  --ink-4:              #8A95A1;
  --line:               #E5ECF1;
  --line-strong:        #C9D6DE;
  --bg:                 #FFFFFF;
  --bg-alt:             #F9FBFC;
  --bg-warm:            #FAF7F0;

  /* Feedback */
  --success:            #1F9D6D;
  --warning:            #D68F2C;
  --danger:             #D05252;

  /* Typography */
  --font-ar: "Readex Pro", "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --font-en: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-base: var(--font-ar);

  /* Radii, shadows, motion */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(10,58,79,0.06);
  --shadow-sm: 0 2px 6px rgba(10,58,79,0.06), 0 1px 2px rgba(10,58,79,0.04);
  --shadow-md: 0 10px 30px -12px rgba(10,58,79,0.18), 0 2px 6px rgba(10,58,79,0.06);
  --shadow-lg: 0 30px 60px -20px rgba(10,58,79,0.25), 0 10px 20px -10px rgba(10,58,79,0.1);
  --shadow-glow: 0 0 0 6px rgba(27,160,204,0.12);

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 600ms;

  /* Layout */
  --container: 1240px;
  --container-narrow: 980px;
  --gutter: clamp(16px, 3vw, 28px);
  --header-h: 78px;
}

[lang="en"] { --font-base: var(--font-en); }

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Do NOT set overflow here — it would make <html> a scroll container
     and break `position: sticky` on .site-header. */
}
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink-1);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* `overflow: clip` does NOT create a scroll container (unlike `hidden`),
     so `position: sticky` still works. Catches any stray horizontal bleed
     from horizontally-scrolling sections. */
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
/* Contain horizontal overflow from horizontally-scrolling sections
   without breaking `position: sticky` on .site-header (sticky only breaks
   when an ancestor's y-axis overflow is non-visible; x-axis clip is safe). */
main { overflow-x: clip; }
a { color: var(--brand-primary-700); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-primary); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Make focus ring visible on dark/gradient backgrounds (buttons with solid bg) */
.btn:focus-visible { outline-color: #FFFFFF; outline-offset: 0; box-shadow: 0 0 0 3px var(--brand-primary), 0 0 0 6px rgba(27,160,204,0.35); }
.btn-ghost:focus-visible, .btn-outline:focus-visible { box-shadow: 0 0 0 3px rgba(27,160,204,0.35); outline-color: var(--brand-primary); }

/* Prevent iOS text zoom on input focus + keep forms stable */
@supports (-webkit-touch-callout: none) {
  input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
  input[type="time"], input[type="password"], select, textarea { font-size: 16px; }
}

/* -------- Typography -------- */
h1, h2, h3, h4, h5 {
  color: var(--brand-deep);
  line-height: 1.22;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4 { letter-spacing: 0; font-weight: 600; }

h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1em; color: var(--ink-2); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); line-height: 1.7; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-primary-700);
  padding: 6px 12px;
  background: var(--brand-soft);
  border-radius: var(--r-pill);
}
[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-primary); }
.muted { color: var(--ink-3); }
.accent { color: var(--brand-primary); }
.serif { font-family: var(--font-serif); font-weight: 500; font-style: italic; }

/* Premium heading gradient */
.headline-gradient {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-primary) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* -------- Layout -------- */
.container { width: min(100% - 2*var(--gutter), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2*var(--gutter), var(--container-narrow)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(36px, 6vw, 70px) 0; }
.section-alt { background: var(--bg-alt); }
.section-warm { background: var(--bg-warm); }
.section-dark {
  --dark-text: rgba(230,242,247,0.94);
  --dark-text-muted: rgba(230,242,247,0.78);
  --dark-accent: #5FCDE6;
  --dark-accent-soft: #9DD8E8;
  --dark-surface: rgba(255,255,255,0.05);
  --dark-surface-border: rgba(255,255,255,0.1);
  --dark-eyebrow-bg: rgba(255,255,255,0.08);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(27,160,204,0.2), transparent 55%),
              linear-gradient(180deg, #08283A 0%, #0A3A4F 60%, #083041 100%);
  color: var(--dark-text);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #FFFFFF; }
.section-dark p { color: var(--dark-text); }
.section-dark .eyebrow { background: var(--dark-eyebrow-bg); color: var(--dark-accent-soft); }
.section-dark .stat-card { background: var(--dark-surface); border-color: var(--dark-surface-border); }
.section-dark .stat-card b { color: var(--dark-accent); }
.section-dark .stat-card span { color: var(--dark-text-muted); }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.split {
  display: grid; gap: clamp(32px, 5vw, 64px); align-items: center;
  grid-template-columns: 1.05fr .95fr;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Section headers */
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head.left { text-align: start; margin-inline: 0; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 10px; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .98rem;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  white-space: nowrap; line-height: 1;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  flex-wrap: nowrap;
  flex-direction: row;
  text-decoration: none;
}
/* Only promote buttons to a compositor layer on interaction (not globally) */
.btn:hover, .btn:active, .btn:focus-visible { will-change: transform; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
/* Keep icon + label on one row; icon never shrinks */
.btn > svg { flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.btn > * { min-width: 0; }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-700) 100%);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(27,160,204,0.55), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 32px -12px rgba(27,160,204,0.65); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255,255,255,0.9); color: var(--brand-deep);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--brand-primary); color: var(--brand-primary-700); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--brand-primary-700);
  border: 1.5px solid var(--brand-primary);
}
.btn-outline:hover { background: var(--brand-primary); color: #fff; }
.btn-dark { background: var(--brand-deep); color: #fff; }
.btn-dark:hover { background: #072A3A; color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #A57F49; color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============================================================
   LUMIERE HEADER — v2 using real brand PNGs (icon + wordmark)
   ============================================================ */
:root { --header-h: 78px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 320ms var(--ease), box-shadow 320ms var(--ease), background 320ms var(--ease), backdrop-filter 320ms var(--ease);
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 24px -10px rgba(10,58,79,0.12);
  background: rgba(255,255,255,0.96);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

/* Brand lockup — icon + Arabic text composed from real PNG */
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--brand-deep);
}
.brand .brand-icon {
  height: 48px; width: 48px; display: block;
  flex-shrink: 0;
  transition: transform 400ms var(--ease);
}
.site-header.scrolled .brand .brand-icon { height: 42px; width: 42px; }
.brand .brand-text {
  display: flex; flex-direction: column; gap: 2px;
  line-height: 1.1;
}
.brand .brand-text .brand-ar {
  font-family: var(--font-ar);
  font-size: 1.05rem; font-weight: 700;
  color: var(--brand-primary-700);
  letter-spacing: 0;
}
.brand .brand-text .brand-en {
  font-family: var(--font-en);
  font-size: .68rem; font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.brand:hover .brand-icon { transform: rotate(-4deg) scale(1.04); }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex-shrink: 1; min-width: 0;
}
.nav-links a {
  color: var(--ink-2); padding: 10px 12px; border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 500; position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--brand-primary-700); background: var(--brand-soft); }
.nav-links a.active { color: var(--brand-primary-700); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: 4px; inset-inline: 12px; height: 2px;
  background: var(--brand-primary); border-radius: 2px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Icon-only circular utility buttons for phone + WhatsApp in header */
.nav-icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-primary-700);
  border: 1px solid transparent;
  transition: all var(--t-fast) var(--ease);
  flex-shrink: 0;
  text-decoration: none;
}
.nav-icon-btn:hover { background: var(--brand-primary); color: #fff; transform: translateY(-1px); }
.nav-icon-btn svg { width: 18px; height: 18px; }
.nav-icon-btn.wa { color: #25D366; }
.nav-icon-btn.wa:hover { background: #25D366; color: #fff; }

.lang-toggle {
  padding: 8px 14px; border-radius: var(--r-pill);
  background: transparent; color: var(--brand-primary-700);
  font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  transition: all var(--t-fast) var(--ease);
  flex-shrink: 0;
  min-height: 40px;
  display: inline-flex; align-items: center;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.lang-toggle:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* Divider chip (elegant vertical line between utility groups) */
.nav-divider {
  width: 1px; height: 22px; background: var(--line);
  flex-shrink: 0; margin: 0 4px;
}

/* CRITICAL FIX: drawer-cta must NEVER show on desktop — this was leaking in header */
.drawer-cta { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--bg-alt); align-items: center; justify-content: center;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.nav-toggle span {
  width: 20px; height: 2px; background: var(--brand-deep); position: relative; transition: all var(--t-med) var(--ease);
  display: block;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; inset-inline-start: 0; width: 20px; height: 2px; background: var(--brand-deep);
  transition: all var(--t-med) var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Slightly tighten desktop nav between 1024-1180px so header CTA never squeezes */
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-links a { padding: 10px 10px; font-size: .88rem; }
  .nav { gap: 12px; }
  .brand img { height: 38px; }
}

/* -------- Mobile nav drawer -------- */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav { gap: 8px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-primary, .nav-cta .nav-icon-btn.phone { display: none; }
  .nav-cta .lang-toggle { padding: 6px 10px; font-size: .75rem; min-height: 36px; }
  .brand .brand-text .brand-en { display: none; }
  .brand .brand-text .brand-ar { font-size: .95rem; }
  .brand .brand-icon { height: 40px; width: 40px; }
  .site-header.scrolled .brand .brand-icon { height: 36px; width: 36px; }
  /* Drawer-cta ONLY shows when nav-links is open (inside the drawer) */
  .nav-links.open .drawer-cta { display: flex; }

  /* Drawer — LTR: slide from right. RTL: slide from left. Uses physical props for maximum browser compatibility. */
  .nav-links {
    position: fixed;
    top: var(--header-h);
    bottom: 0;
    right: 0;
    left: auto;
    width: min(86vw, 340px);
    background: #FFFFFF;
    box-shadow: -18px 0 48px -18px rgba(10,58,79,0.22);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 0;
    transform: translate3d(110%, 0, 0);
    transition: transform 340ms cubic-bezier(.22,.61,.36,1);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 60;
  }
  [dir="rtl"] .nav-links {
    right: auto;
    left: 0;
    box-shadow: 18px 0 48px -18px rgba(10,58,79,0.22);
    transform: translate3d(-110%, 0, 0);
  }
  .nav-links.open { transform: translate3d(0, 0, 0); }

  /* Backdrop — explicit sibling (created in JS), not a pseudo element */
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(10, 30, 40, 0.42);
    opacity: 0;
    transition: opacity 300ms var(--ease);
    pointer-events: none;
    z-index: 55;
  }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }

  /* Nav items */
  .nav-links a {
    padding: 14px 22px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink-1);
    border-bottom: 1px solid var(--line);
    white-space: normal;
    display: flex; align-items: center;
    min-height: 52px;
    border-radius: 0;
    background: transparent;
  }
  .nav-links a:hover,
  .nav-links a:focus-visible { background: var(--brand-soft); color: var(--brand-primary-700); }
  .nav-links a.active {
    background: var(--brand-soft);
    color: var(--brand-primary-700);
    font-weight: 600;
  }
  .nav-links a.active::after { display: none; }

  /* Drawer footer — CTA block (inject-via-JS) */
  .nav-links .drawer-cta {
    margin-top: 12px;
    padding: 16px 22px;
    border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 10px;
  }
  .nav-links .drawer-cta .btn { width: 100%; justify-content: center; min-height: 48px; }
  .nav-links .drawer-cta .drawer-lang {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--ink-3); font-size: .88rem; font-weight: 500;
    padding: 8px 0 4px;
  }
  .nav-links .drawer-cta .drawer-lang a {
    padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
    background: #fff; color: var(--brand-primary-700);
    min-height: 34px;
  }
  .nav-links .drawer-cta .drawer-lang a:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
}
@media (max-width: 460px) {
  .brand .brand-text { display: none; }
  .brand .brand-icon { height: 36px; width: 36px; }
  .nav { gap: 4px; }
}
@media (max-width: 400px) {
  .lang-toggle { padding: 6px 8px; font-size: .72rem; min-height: 32px; }
  .nav-toggle { width: 38px; height: 38px; }
  .nav-icon-btn { width: 36px; height: 36px; }
  .nav-icon-btn svg { width: 16px; height: 16px; }
}

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: clamp(40px, 8vw, 120px) 0 clamp(50px, 8vw, 130px);
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(27,160,204,0.14), transparent 55%),
    radial-gradient(700px 400px at 10% 100%, rgba(184,147,90,0.10), transparent 55%),
    linear-gradient(180deg, #F7FBFD 0%, #FFFFFF 75%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(27,160,204,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27,160,204,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(32px, 5vw, 60px); align-items: center;
  grid-template-columns: 1.1fr .9fr;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.12; margin-bottom: 18px; }
.hero .lede { max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust .stat { border-inline-start: 2px solid var(--line); padding-inline-start: 14px; }
.hero-trust .stat b { display: block; font-size: 1.35rem; color: var(--brand-deep); font-weight: 700; }
.hero-trust .stat span { font-size: .82rem; color: var(--ink-3); }

/* Hero visual */
.hero-visual {
  position: relative; aspect-ratio: 5/5.2;
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(27,160,204,0.14), rgba(184,147,90,0.08)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 50%),
    linear-gradient(180deg, #E6F3F8, #CFE6EE);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r-xl);
  background-image: url("../img/clinic/facade-dusk.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(10,58,79,0) 45%, rgba(10,58,79,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-visual > * { position: relative; z-index: 2; }
.hero-visual .badge {
  position: absolute; bottom: 18px; inset-inline-start: 18px;
  background: rgba(255,255,255,0.95);
  padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .88rem; color: var(--brand-deep);
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-visual .badge .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 4px rgba(31,157,109,.2); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,157,109,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(31,157,109,0); }
}
.hero-visual .float-card {
  position: absolute; background: #fff;
  padding: 14px 18px; border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  font-size: .88rem;
}
.hero-visual .float-card .icn {
  width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--brand-soft);
  display: grid; place-items: center; color: var(--brand-primary-700);
}
.hero-visual .float-card.card-a { top: 30px; inset-inline-end: -24px; animation: floaty 6s ease-in-out infinite; }
.hero-visual .float-card.card-b { bottom: 80px; inset-inline-start: -28px; animation: floaty 7s ease-in-out infinite 1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* -------- Cards -------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  transition: all var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { border-color: rgba(27,160,204,0.35); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card-service {
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.card-service .icon-wrap {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-soft), #fff);
  display: grid; place-items: center;
  color: var(--brand-primary-700);
  border: 1px solid rgba(27,160,204,0.15);
  transition: all var(--t-med) var(--ease);
}
.card-service:hover .icon-wrap {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-700));
  color: #fff; transform: scale(1.05) rotate(-4deg);
}
.card-service h3 { margin: 6px 0 0; font-size: 1.2rem; }
.card-service p { margin: 0; color: var(--ink-3); font-size: .95rem; }
.card-service .card-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--brand-primary-700); font-size: .92rem;
}
.card-service .card-link svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.card-service:hover .card-link svg { transform: translateX(4px); }
[dir="rtl"] .card-service:hover .card-link svg { transform: translateX(-4px); }

.card-dept {
  padding: 0; overflow: hidden;
  display: grid; grid-template-columns: 1fr;
}
.card-dept .banner {
  height: 180px; position: relative;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-700));
  display: grid; place-items: center; color: #fff;
}
.card-dept .banner svg { width: 72px; height: 72px; opacity: .9; }
.card-dept .banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 50%);
}
.card-dept .body { padding: 22px 24px 26px; }
.card-dept h3 { margin-bottom: 8px; }
.card-dept .tag { font-size: .78rem; font-weight: 600; color: var(--brand-primary-700); letter-spacing: .1em; text-transform: uppercase; }
[lang="ar"] .card-dept .tag { letter-spacing: 0; text-transform: none; }

/* Accent variants per department */
.card-dept.dept-dental  .banner { background: linear-gradient(135deg, #2BB3D6, #0D6B8E); }
.card-dept.dept-derma   .banner { background: linear-gradient(135deg, #D9A779, #B8935A); }
.card-dept.dept-laser   .banner { background: linear-gradient(135deg, #4A6DA8, #2D4878); }
.card-dept.dept-hair    .banner { background: linear-gradient(135deg, #3A7F9A, #0A3A4F); }

/* -------- Feature blocks -------- */
.feature-row {
  display: grid; gap: 16px; grid-template-columns: auto 1fr;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row .icn {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft);
  display: grid; place-items: center; color: var(--brand-primary-700);
}
.feature-row h4 { margin: 0 0 4px; }
.feature-row p { margin: 0; color: var(--ink-3); font-size: .95rem; }

/* -------- Stats -------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.stat-card b { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--brand-primary); font-weight: 700; line-height: 1; }
.stat-card span { font-size: .92rem; color: var(--ink-3); margin-top: 8px; display: block; }

/* -------- Testimonials -------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 14px;
}
.testimonial::before {
  content: "\201D"; position: absolute; top: 8px; inset-inline-end: 20px;
  font-family: var(--font-serif); font-size: 4rem;
  color: rgba(27,160,204,0.22); line-height: 1;
  pointer-events: none;
}
.testimonial .stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.testimonial p { flex: 1; font-style: normal; color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; margin: 0; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.testimonial .who .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), var(--gold-soft));
  display: grid; place-items: center; font-weight: 700; color: var(--brand-deep);
}
.testimonial .who b { font-size: .95rem; color: var(--brand-deep); }
.testimonial .who span { font-size: .82rem; color: var(--ink-3); display: block; }

/* -------- Steps / process -------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  transition: all var(--t-med) var(--ease);
}
.step:hover { border-color: var(--brand-primary); transform: translateX(4px); }
[dir="rtl"] .step:hover { transform: translateX(-4px); }
.step .num {
  counter-increment: step;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-700));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem;
}
.step .num::before { content: counter(step); }
.step h4 { margin: 2px 0 4px; }
.step p { margin: 0; color: var(--ink-3); font-size: .95rem; }

/* -------- FAQ -------- */
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; margin-bottom: 10px;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-weight: 600; color: var(--brand-deep); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--brand-primary); font-weight: 300;
  transition: transform var(--t-fast) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--brand-primary-700); }
.faq-item .answer {
  padding: 0 22px 22px; color: var(--ink-2); line-height: 1.75;
}

/* -------- Forms -------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: .92rem; color: var(--brand-deep); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: #fff; color: var(--ink-1); font-size: 1rem;
  transition: all var(--t-fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand-primary); box-shadow: var(--shadow-glow);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--ink-3); }
.field .error { font-size: .85rem; color: var(--danger); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .error { display: block; }

.checkbox, .radio { display: flex; align-items: start; gap: 10px; font-size: .95rem; cursor: pointer; }
.checkbox input, .radio input { margin-top: 4px; accent-color: var(--brand-primary); }

.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}

/* Pill group (service/department picker) */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-group label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: #fff; border: 1.5px solid var(--line);
  cursor: pointer; font-size: .92rem; font-weight: 500;
  transition: all var(--t-fast) var(--ease);
}
.pill-group label:hover { border-color: var(--brand-primary); color: var(--brand-primary-700); }
.pill-group input { display: none; }
.pill-group input:checked + span,
.pill-group label:has(input:checked) {
  background: var(--brand-primary); color: #fff; border-color: var(--brand-primary);
}

/* -------- Callout / CTA bands -------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 300px at 80% 20%, rgba(255,255,255,0.14), transparent 50%),
    linear-gradient(135deg, var(--brand-primary-700) 0%, var(--brand-deep) 100%);
  color: #fff; border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: rgba(255,255,255,0.88); margin: 0; }
.cta-band .buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { background: #fff; color: var(--brand-deep); border: 0; }
.cta-band .btn-ghost:hover { background: var(--brand-soft); color: var(--brand-primary-700); }

/* -------- Footer -------- */
.site-footer {
  background: linear-gradient(180deg, #06222F 0%, #041923 100%);
  color: #B9CDD5;
  padding: 72px 0 24px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
}
.footer-top { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .05em; }
.footer-top a { color: #B9CDD5; display: block; padding: 6px 0; font-size: .92rem; }
.footer-top a:hover { color: var(--brand-primary); }
.footer-about p { color: rgba(185,205,213,0.75); font-size: .92rem; line-height: 1.7; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 44px; filter: brightness(0) invert(1); opacity: .9; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  transition: all var(--t-fast) var(--ease);
}
.footer-social a:hover { background: var(--brand-primary); color: #fff; transform: translateY(-2px); }
.footer-social a[data-soon] { opacity: .35; pointer-events: none; }
.footer-social a[data-soon]:hover { background: rgba(255,255,255,0.06); color: inherit; transform: none; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: .85rem; color: rgba(185,205,213,0.65);
}
.footer-bottom a { color: rgba(185,205,213,0.85); }
.footer-bottom a:hover { color: var(--brand-primary); }

/* -------- Floating action (WhatsApp) -------- */
.float-actions {
  position: fixed; bottom: 22px; inset-inline-end: 22px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 40;
}
.float-actions a {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 14px 28px -12px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.08);
  transition: all var(--t-med) var(--ease);
  color: #fff;
  position: relative;
}
.float-actions a:hover { transform: scale(1.08) translateY(-2px); color: #fff; }
.float-actions svg { width: 28px; height: 28px; }
.float-wa { background: #25D366; }
.float-call { background: var(--brand-primary); display: none !important; }
@media (max-width: 760px) { .float-call { display: grid !important; } }
.float-actions a::after {
  content: attr(data-label);
  position: absolute; inset-inline-end: 72px; top: 50%; transform: translateY(-50%);
  background: var(--brand-deep); color: #fff;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: .82rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-fast) var(--ease);
  box-shadow: var(--shadow-md);
}
.float-actions a:hover::after { opacity: 1; }
@media (max-width: 760px) { .float-actions a::after { display: none; } }

/* Mobile sticky CTA bar — hidden by default. Premium medical sites rely on the
   floating WhatsApp/Call bubbles + in-content CTAs, avoiding persistent bottom bars. */
.mobile-cta-bar { display: none !important; }

/* -------- Page hero (inner pages) -------- */
.page-hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(27,160,204,0.12), transparent 60%),
    linear-gradient(180deg, #F6FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: .85rem; color: var(--ink-3); margin-bottom: 20px;
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb .sep { opacity: .5; }

/* -------- Marquee-like trust ticker -------- */
.trust-ticker {
  overflow: hidden; padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.trust-ticker .track {
  display: flex; gap: 56px; align-items: center;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.trust-ticker .track span {
  font-size: .95rem; color: var(--ink-3); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 14px;
}
.trust-ticker .track span::after {
  content: "✦"; color: var(--brand-primary); opacity: .6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
[dir="rtl"] .trust-ticker .track { animation-direction: reverse; }

/* -------- Utilities -------- */
.text-center { text-align: center; }
.text-start { text-align: start; }
.hide-sm { display: initial; }
.only-sm { display: none; }
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .only-sm { display: initial; }
}
.divider { height: 1px; background: var(--line); margin: clamp(40px,6vw,64px) 0; }

/* Skip link (accessible keyboard focus)
   Hidden via clip/transform rather than off-screen positioning —
   off-screen + auto-width with position:absolute causes phantom
   horizontal overflow in RTL (and some LTR edge-cases). */
.skip-link {
  position: absolute !important;
  inset-inline-start: 12px;
  top: 0;
  z-index: 999;
  background: var(--brand-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 180ms var(--ease);
}
.skip-link:focus {
  transform: translateY(12px);
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Cookie consent */
.cookie-bar {
  position: fixed; bottom: 20px; inset-inline: 20px;
  max-width: 720px; margin-inline: auto;
  background: rgba(15, 30, 40, 0.97); color: #EDF4F7;
  backdrop-filter: blur(16px);
  border-radius: var(--r-lg); padding: 18px 22px;
  display: none; gap: 16px; align-items: center; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  z-index: 45; font-size: .92rem;
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; flex: 1; min-width: 240px; color: rgba(237,244,247,.88); }
.cookie-bar a { color: var(--brand-primary); text-decoration: underline; }
.cookie-bar .btns { display: flex; gap: 8px; }
.cookie-bar .btn-sm { padding: 8px 14px; font-size: .85rem; }
/* cookie-bar sits above home indicator (no more CTA bar to offset) */
@media (max-width: 640px) { .cookie-bar { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } }

/* Reveal-on-scroll is opt-in: content is ALWAYS visible by default.
   JS adds .js-anim to <html> to enable the hide-and-reveal animation.
   If JS never runs or errors, the site stays fully visible and functional. */
.reveal { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
html.js-anim .reveal { opacity: 0; transform: translateY(20px); }
html.js-anim .reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-visual .float-card, .trust-ticker .track { animation: none !important; }
}

/* -------- RTL fine-tuning -------- */
[dir="rtl"] .breadcrumb { direction: rtl; }
[dir="rtl"] .float-actions { inset-inline-end: 22px; }

/* Print-friendly */
@media print {
  .site-header, .float-actions, .mobile-cta-bar, .site-footer { display: none; }
}

/* -------- Mobile-specific polish (best practices) -------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }

  /* Tighter vertical rhythm — removes excess whitespace */
  .section { padding: 44px 0; }
  .section-sm { padding: 30px 0; }
  .section-head { margin-bottom: 22px; padding: 0; }
  .divider { margin: 28px 0; }

  /* Hero: compact, impactful */
  .hero { padding: 32px 0 40px; }
  .hero-inner { gap: 24px; }
  .hero h1 { font-size: clamp(1.75rem, 7vw, 2.2rem); line-height: 1.2; margin-bottom: 12px; }
  .hero .lede { font-size: .98rem; line-height: 1.6; }
  .hero-cta { gap: 10px; margin-top: 18px; flex-direction: column; align-items: stretch; }
  .hero-cta .btn { flex: 1 1 100%; width: 100%; padding: 14px 20px; font-size: .96rem; }
  .hero-cta .btn svg { width: 16px; height: 16px; flex-shrink: 0; }
  .hero-trust { margin-top: 22px; gap: 14px; }
  .hero-trust .stat { padding-inline-start: 10px; }
  .hero-trust .stat b { font-size: 1.1rem; }
  .hero-trust .stat span { font-size: .74rem; }

  /* Hero visual: fixed, compact — no excessive vertical space */
  .hero-visual {
    aspect-ratio: auto;
    height: 240px;
    max-width: 360px;
    margin: 0 auto;
    border-radius: var(--r-lg);
  }
  .hero-visual::before { inset: 12px; border-radius: calc(var(--r-lg) - 6px); }
  .hero-visual .badge { bottom: 10px; inset-inline-start: 10px; padding: 7px 12px; font-size: .78rem; }
  .hero-visual .float-card { padding: 9px 12px; font-size: .76rem; gap: 8px; }
  .hero-visual .float-card .icn { width: 32px; height: 32px; }
  .hero-visual .float-card.card-a { top: 14px; inset-inline-end: 6px; }
  .hero-visual .float-card.card-b { bottom: 48px; inset-inline-start: 6px; }

  /* Typography scale */
  h1 { font-size: clamp(1.7rem, 6vw, 2.1rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.75rem); line-height: 1.25; }
  h3 { font-size: 1.1rem; }
  .lede { font-size: .98rem; }

  /* Grids: auto-collapse, tight gaps */
  .grid { gap: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px; border-radius: var(--r-md); }
  .card-service { min-height: auto; gap: 10px; }
  .card-service .icon-wrap { width: 54px; height: 54px; border-radius: 14px; }
  .card-service .icon-wrap svg { width: 26px; height: 26px; }
  .card-dept .banner { height: 120px; }
  .card-dept .banner svg { width: 48px; height: 48px; }
  .card-dept .body { padding: 18px 20px 22px; }

  .value-card { padding: 20px; }
  .stat-card { padding: 20px 14px; }

  /* CTAs / callout */
  .cta-band { padding: 28px 20px; gap: 18px; text-align: center; border-radius: var(--r-lg); }
  .cta-band h2 { font-size: 1.4rem; }
  .cta-band p { font-size: .95rem; }
  .cta-band .buttons { justify-content: center; flex-direction: column; gap: 10px; }
  .cta-band .buttons .btn { width: 100%; }

  /* Page heroes */
  .page-hero { padding: 32px 0 24px; }
  .page-hero h1 { font-size: clamp(1.8rem, 6vw, 2.2rem); line-height: 1.2; margin-bottom: 10px; }

  /* Lists / steps */
  .feature-row { padding: 14px 0; gap: 12px; }
  .feature-row .icn { width: 38px; height: 38px; }
  .step { padding: 18px; gap: 14px; }
  .step .num { width: 38px; height: 38px; font-size: .95rem; }

  /* Forms */
  .faq-item summary { padding: 16px 18px; font-size: .96rem; }
  .faq-item .answer { padding: 0 18px 18px; }
  .form-card { padding: 22px 18px; border-radius: var(--r-lg); }
  .field input, .field select, .field textarea { padding: 12px 14px; font-size: 16px; } /* 16px prevents iOS zoom */
  .field-row { grid-template-columns: 1fr; gap: 14px; }
  .pill-group { gap: 8px; }
  .pill-group label { padding: 9px 14px; font-size: .88rem; }

  /* Reviews / testimonials */
  .reviews-head { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .reviews-head .agg b { font-size: 1.7rem; }
  .reviews-head .g-badge { padding: 6px 10px; font-size: .74rem; }
  .testimonial { padding: 20px; }
  .testimonial::before { font-size: 3rem; top: 4px; }

  /* Trust ticker */
  .trust-ticker { padding: 14px 0; }
  .trust-ticker .track { gap: 36px; }
  .trust-ticker .track span { font-size: .85rem; }

  /* Footer */
  .site-footer { padding: 44px 0 16px; }
  .footer-top { gap: 24px; grid-template-columns: 1fr; }
  .footer-top h4 { margin-bottom: 10px; font-size: .9rem; }
  .footer-top a { font-size: .95rem; padding: 4px 0; }
  .footer-bottom { margin-top: 28px; padding-top: 18px; font-size: .8rem; }

  /* Float actions sit safely above the home indicator / safe-area */
  .float-actions {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: 14px;
    gap: 10px;
  }
  .float-actions a { width: 52px; height: 52px; }
  .float-actions svg { width: 24px; height: 24px; }

  .breadcrumb { font-size: .8rem; margin-bottom: 12px; }

  .map-frame iframe { height: 280px; }

  .split { gap: 24px; grid-template-columns: 1fr; }

  /* Stats tighter */
  .stats { gap: 12px; grid-template-columns: repeat(2, 1fr); }
  .stat-card b { font-size: 1.7rem; }
  .stat-card span { font-size: .8rem; }

  /* Gallery */
  .gallery { gap: 10px; grid-template-columns: repeat(2, 1fr); }

  /* Article body */
  .article { font-size: 1rem; line-height: 1.75; }
  .article ul, .article ol { padding-inline-start: 1.2em; }
}

@media (max-width: 400px) {
  :root { --gutter: 14px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cta-band { padding: 24px 16px; }
  .cta-band h2 { font-size: 1.3rem; }
  .float-actions a { width: 48px; height: 48px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-trust .stat { padding-inline-start: 10px; width: 100%; }
}

/* Larger tap targets everywhere */
a, button { -webkit-tap-highlight-color: rgba(27,160,204,0.15); }

/* No-hover (touch) polish */
@media (hover: none) {
  .btn:hover { transform: none !important; }
  .card:hover { transform: none !important; }
  .card-service:hover .icon-wrap { transform: none !important; }
  .step:hover { transform: none !important; }
}

/* Success / toast */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--brand-deep); color: #fff;
  padding: 16px 24px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  font-size: .95rem; font-weight: 500; z-index: 100;
  transition: transform var(--t-med) var(--ease-out);
  max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* Booking success state */
.booking-success {
  text-align: center;
  padding: clamp(32px, 5vw, 56px) 24px;
  background: linear-gradient(180deg, #E8F6FB 0%, #FFFFFF 100%);
  border-radius: var(--r-xl);
  border: 1px solid rgba(27,160,204,0.25);
}
.booking-success .success-actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 24px;
}
@media (max-width: 640px) {
  .booking-success .success-actions { flex-direction: column; align-items: stretch; }
}
.booking-success .booking-ref {
  font-size: .85rem; color: var(--ink-3); margin-top: 20px;
}
.booking-success .booking-ref b { font-variant-numeric: tabular-nums; color: var(--brand-deep); }
.booking-success .check {
  width: 84px; height: 84px; margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-700));
  display: grid; place-items: center;
  color: #fff;
  animation: pop 500ms var(--ease-out);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.booking-success h2 { margin-bottom: 8px; }

/* Map embed */
.map-frame {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { display: block; border: 0; width: 100%; height: 420px; }

/* Article (blog) styling */
.article {
  max-width: 760px; margin: 0 auto;
  font-size: 1.05rem; line-height: 1.85;
}
.article h2 { margin-top: 2em; }
.article h3 { margin-top: 1.6em; }
.article p, .article li { color: var(--ink-2); }
.article ul, .article ol { padding-inline-start: 1.5em; margin: 1em 0; }
.article li { margin-bottom: .4em; }
.article blockquote {
  margin: 1.5em 0; padding: 18px 24px;
  border-inline-start: 4px solid var(--brand-primary);
  background: var(--bg-alt); border-radius: var(--r-md);
  color: var(--brand-deep); font-style: italic;
}

/* Doctors grid */
.doctor-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; text-align: center;
  transition: all var(--t-med) var(--ease);
  display: flex; flex-direction: column;
}
.doctor-card:hover { border-color: var(--brand-primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.doctor-card .portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 60%);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.doctor-card .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.doctor-card .portrait svg { width: 60%; height: 60%; opacity: .3; }
.doctor-card .body { padding: 20px 18px 22px; }
.doctor-card h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--brand-deep); }
.doctor-card .role { color: var(--brand-primary-700); font-weight: 600; font-size: .88rem; }
.doctor-card .meta { color: var(--ink-3); font-size: .82rem; margin: 8px 0 12px; }
.doctor-card .tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.doctor-card .tags span {
  font-size: .74rem; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--brand-soft); color: var(--brand-primary-700);
}
.doctor-card .social {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; color: var(--ink-3); font-size: .78rem;
}
.doctor-card .social a { color: var(--brand-primary-700); font-weight: 600; }
.doctor-card .actions { padding: 0 18px 20px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.doctor-card .actions .btn { flex: 1 1 auto; min-width: 120px; }

/* Cases / Before-After gallery */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.case-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: all var(--t-med) var(--ease);
  position: relative;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-primary); }
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  display: block;
}
.case-card .tag {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 600; color: var(--brand-deep);
  box-shadow: var(--shadow-sm);
}
.case-card .caption {
  position: absolute; bottom: 0; inset-inline: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(to top, rgba(10,58,79,0.88), transparent);
  color: #fff; font-size: .85rem; font-weight: 500;
}
@media (max-width: 640px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .case-card .tag { font-size: .7rem; padding: 4px 9px; top: 8px; inset-inline-start: 8px; }
  .case-card .caption { font-size: .78rem; padding: 18px 10px 10px; }
}

/* Quality / value grid */
.value-card {
  padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: all var(--t-med) var(--ease); height: 100%;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(27,160,204,0.35); box-shadow: var(--shadow-md); }
.value-card .icn {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-soft), #fff);
  display: grid; place-items: center; color: var(--brand-primary-700);
  border: 1px solid rgba(27,160,204,0.15);
  margin-bottom: 18px;
}
.value-card h4 { margin-bottom: 6px; font-size: 1.1rem; }
.value-card p { margin: 0; font-size: .95rem; color: var(--ink-3); }

/* Mini chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--brand-soft); color: var(--brand-primary-700);
  font-size: .78rem; font-weight: 600;
}

/* -------- Reviews (Google) -------- */
.reviews-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 22px; margin-bottom: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.reviews-head .agg {
  display: flex; align-items: center; gap: 14px;
}
.reviews-head .agg b {
  font-size: 2.2rem; font-weight: 700; color: var(--brand-deep); line-height: 1;
}
.reviews-head .agg .stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 1px; }
.reviews-head .agg .meta { font-size: .85rem; color: var(--ink-3); }
.reviews-head .g-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: #F5F9FF; color: #4285F4; font-size: .82rem; font-weight: 600;
}
.reviews-head .g-badge svg { width: 18px; height: 18px; }

.review-card .stars { letter-spacing: 1px; font-size: 1.05rem; color: var(--gold); }

/* Gallery */
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gallery-item {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--r-md); border: 1px solid var(--line);
  aspect-ratio: 4/3;
  transition: all var(--t-med) var(--ease);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-med) var(--ease); }
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-primary); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(10,58,79,0.88), transparent);
  color: #fff; font-size: .82rem; font-weight: 500;
  transform: translateY(12px); opacity: 0;
  transition: all var(--t-med) var(--ease);
}
.gallery-item:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery-masonry { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-auto-flow: dense; }
.gallery-masonry .gallery-item:nth-child(4n+1) { grid-row: span 2; }

/* Filter pills for gallery */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filter-pills button {
  padding: 8px 18px; border-radius: var(--r-pill);
  background: #fff; border: 1.5px solid var(--line);
  font-size: .88rem; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all var(--t-fast) var(--ease);
}
.filter-pills button:hover { border-color: var(--brand-primary); color: var(--brand-primary-700); }
.filter-pills button.is-active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

/* Hero illustration fallback */
.hero-illust-fallback {
  position: absolute; inset: 18px;
  border-radius: calc(var(--r-xl) - 8px);
  background:
    radial-gradient(circle at 70% 30%, #FFFFFF, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(27,160,204,0.25), transparent 45%),
    linear-gradient(135deg, #C8E5EE, #9BCBDA);
  display: grid; place-items: center;
}

/* ==========================================================================
   ======== LUXURY MODULE v1 ========
   Motion, editorial typography & interactive flourishes for Lumiere Clinics.
   Inspired by Aesop / Hermès / Equinox / B&O editorial sites.
   Fully RTL-aware · respects prefers-reduced-motion · mobile-tuned.
   ========================================================================== */

:root {
  /* ---- Luxury tunables ---- */
  --lux-gold:              #B8935A;
  --lux-gold-soft:         #E8D9BE;
  --lux-gold-deep:         #9A7A44;
  --lux-gold-rgb:          184,147,90;
  --lux-ink:               #0F1E28;
  --lux-ease:              cubic-bezier(.22,.61,.36,1);
  --lux-ease-out:          cubic-bezier(.16,1,.3,1);
  --lux-ease-soft:         cubic-bezier(.4,0,.2,1);
  --lux-t-reveal:          900ms;
  --lux-t-hover:           500ms;
  --lux-stagger:           30ms;
  --lux-serif:             "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --scroll-progress:       0;     /* set by JS 0..1 */
}

/* ---------- 1. Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 9999;
  pointer-events: none;
  background: transparent;
}
.scroll-progress::before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg,
    rgba(var(--lux-gold-rgb), 0) 0%,
    var(--lux-gold) 35%,
    var(--lux-gold-soft) 65%,
    var(--lux-gold) 100%);
  box-shadow: 0 0 10px rgba(var(--lux-gold-rgb), .45);
  transition: transform 80ms linear;
  will-change: transform;
}
[dir="rtl"] .scroll-progress::before { transform-origin: right center; }

/* ---------- 2. Section numbering ---------- */
.section-number {
  display: inline-block;
  font-family: var(--lux-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--lux-gold);
  line-height: 1;
}
.section-number::after {
  content: " — ";
  margin-inline-start: 6px;
  color: var(--lux-gold);
  opacity: .75;
  font-style: normal;
  letter-spacing: 0;
}

/* ---------- 3. Gold hairline separators & ornaments ---------- */
.hairline {
  display: block;
  width: 60px;
  height: 1px;
  margin: 22px auto;
  background: linear-gradient(90deg, transparent, var(--lux-gold) 30%, var(--lux-gold) 70%, transparent);
  border: 0;
}
.hairline-wide {
  display: block;
  width: 100%;
  height: 1px;
  margin: 36px 0;
  background: linear-gradient(90deg, transparent, rgba(var(--lux-gold-rgb), .55) 20%, rgba(var(--lux-gold-rgb), .55) 80%, transparent);
  border: 0;
}
.fleuron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--lux-gold);
  font-family: var(--lux-serif);
  font-size: 1rem;
  line-height: 1;
  width: 100%;
}
.fleuron::before,
.fleuron::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--lux-gold-rgb), .45), transparent);
  max-width: 120px;
}
.fleuron::before { content: "✦"; background: none; flex: 0; max-width: none; font-size: .9rem; }
/* two-ornament variant */
.fleuron-ornament::before { content: "✦"; color: var(--lux-gold); margin-inline-end: 8px; font-size: .9rem; }

/* ---------- 4. Text reveal (word-by-word) ---------- */
.text-reveal,
.reveal-word {
  /* Container stays visible by default; words are wrapped by JS into .lux-word */
  overflow: hidden;
}
.lux-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  line-height: inherit;
}
.lux-word > span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform var(--lux-t-reveal) var(--lux-ease-out),
    opacity  var(--lux-t-reveal) var(--lux-ease-out);
  transition-delay: calc(var(--lux-word-i, 0) * var(--lux-stagger));
  will-change: transform, opacity;
}
.text-reveal.in .lux-word > span,
.reveal-word.in .lux-word > span {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- 5. Horizontal scroll section ---------- */
.scroll-horizontal {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 14px 4px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--lux-gold) transparent;
}
.scroll-horizontal > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.scroll-horizontal::-webkit-scrollbar { height: 3px; }
.scroll-horizontal::-webkit-scrollbar-track { background: transparent; }
.scroll-horizontal::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
  border-radius: 2px;
}
@media (max-width: 720px) {
  .scroll-horizontal { scrollbar-width: none; }
  .scroll-horizontal::-webkit-scrollbar { display: none; }
}

/* ---------- 6. Case carousel + dots ---------- */
.case-carousel {
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block-end: 8px;
}
.case-carousel::-webkit-scrollbar { display: none; }
.case-carousel > * {
  flex: 0 0 min(86%, 420px);
  scroll-snap-align: center;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-block-start: 22px;
  list-style: none;
  padding: 0;
}
.carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(var(--lux-gold-rgb), .55);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background var(--t-med) var(--lux-ease), transform var(--t-med) var(--lux-ease);
}
.carousel-dots button.is-active {
  background: var(--lux-gold);
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgba(var(--lux-gold-rgb), .18);
}
.carousel-dots button:hover { background: rgba(var(--lux-gold-rgb), .45); }

/* ---------- 7. Marquee ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  white-space: nowrap;
  animation: lux-marquee 30s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > * { flex: 0 0 auto; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
@keyframes lux-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 8. Parallax ---------- */
.parallax {
  will-change: transform;
  transform: translate3d(0, var(--lux-parallax-y, 0), 0);
  transition: none;
}

/* ---------- 9. Grain texture ---------- */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.72 0 0 0 0 0.58 0 0 0 0 0.35 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
.grain > * { position: relative; z-index: 2; }

/* ---------- 10. Drop cap ---------- */
.drop-cap::first-letter {
  font-family: var(--lux-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 4rem;
  line-height: 0.9;
  color: var(--lux-gold);
  float: inline-start;
  padding-inline-end: 12px;
  padding-block-start: 6px;
  margin-block-start: 4px;
}

/* ---------- 11. Magnetic hover lift ---------- */
.magnetic {
  display: inline-block;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition:
    transform var(--lux-t-hover) var(--lux-ease-out),
    box-shadow var(--lux-t-hover) var(--lux-ease-out),
    filter var(--lux-t-hover) var(--lux-ease-out);
  will-change: transform;
}
.magnetic:hover {
  transform: translate3d(var(--mx, 0), calc(var(--my, 0px) - 6px), 0);
  box-shadow: 0 22px 44px -18px rgba(10, 58, 79, .32), 0 8px 18px -10px rgba(var(--lux-gold-rgb), .25);
}

/* ---------- 12. Scroll-triggered fade (refined) ---------- */
.lux-reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition:
    opacity var(--lux-t-reveal) var(--lux-ease-out),
    transform var(--lux-t-reveal) var(--lux-ease-out),
    filter var(--lux-t-reveal) var(--lux-ease-out);
  will-change: opacity, transform, filter;
}
.lux-reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.lux-reveal[data-delay="1"] { transition-delay: 80ms; }
.lux-reveal[data-delay="2"] { transition-delay: 160ms; }
.lux-reveal[data-delay="3"] { transition-delay: 240ms; }
.lux-reveal[data-delay="4"] { transition-delay: 320ms; }
.lux-reveal[data-delay="5"] { transition-delay: 400ms; }

/* ---------- 13. Luxury button enhancements ---------- */
.btn-lux {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(180deg, #14455E 0%, var(--brand-deep) 100%);
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 14px 30px -14px rgba(10, 58, 79, .45),
    0 2px 4px -2px rgba(10, 58, 79, .35);
  transition: transform var(--lux-t-hover) var(--lux-ease-out), box-shadow var(--lux-t-hover) var(--lux-ease-out);
  text-decoration: none;
}
.btn-lux::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 40%);
  pointer-events: none;
}
.btn-lux:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 24px 50px -18px rgba(10, 58, 79, .55),
    0 4px 8px -3px rgba(var(--lux-gold-rgb), .35);
}
.btn-lux .btn-lux-arrow {
  display: inline-block;
  transition: transform var(--lux-t-hover) var(--lux-ease-out);
}
[dir="rtl"] .btn-lux .btn-lux-arrow { transform: scaleX(-1); }
.btn-lux:hover .btn-lux-arrow { transform: translateX(6px); }
[dir="rtl"] .btn-lux:hover .btn-lux-arrow { transform: scaleX(-1) translateX(6px); }

/* Hairline gold variant */
.btn-lux-hairline {
  background: transparent;
  color: var(--lux-ink);
  border: 1px solid var(--lux-gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
  padding: 13px 26px;
}
.btn-lux-hairline::before { display: none; }
.btn-lux-hairline:hover {
  background: var(--lux-gold);
  color: #fff;
  box-shadow:
    0 18px 36px -16px rgba(var(--lux-gold-rgb), .55),
    0 2px 4px -2px rgba(var(--lux-gold-rgb), .35);
}

/* ---------- 14. Section head luxe combo ---------- */
.section-head-lux {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-block-end: clamp(48px, 9vw, 120px);
  max-width: 820px;
}
.section-head-lux.is-center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}
.section-head-lux .eyebrow {
  font-size: .78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.section-head-lux h2 {
  margin: 0;
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--lux-ink);
}
.section-head-lux .lede {
  color: var(--ink-3);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  max-width: 62ch;
}

/* ---------- 15. Ticker bar ---------- */
.ticker-bar {
  width: 100%;
  padding: 10px 0;
  border-block: 1px solid rgba(var(--lux-gold-rgb), .35);
  background: linear-gradient(90deg, rgba(var(--lux-gold-rgb), .04), rgba(var(--lux-gold-rgb), .10), rgba(var(--lux-gold-rgb), .04));
  color: var(--lux-ink);
  font-size: .85rem;
  letter-spacing: 0.06em;
  overflow: hidden;
}
.ticker-bar .marquee-track { gap: 48px; }
.ticker-bar .ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lux-ink);
}
.ticker-bar .ticker-item::before {
  content: "✦";
  color: var(--lux-gold);
  font-size: .7rem;
}

/* ---------- Mobile refinements ---------- */
@media (max-width: 720px) {
  .section-head-lux { margin-block-end: clamp(32px, 12vw, 64px); }
  .section-head-lux h2 { font-size: clamp(1.65rem, 7vw, 2.25rem); }
  .drop-cap::first-letter { font-size: 3rem; }
  .hairline { width: 48px; margin: 18px auto; }
  .btn-lux { padding: 12px 22px; font-size: .9rem; }
  .marquee-track { animation-duration: 24s; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress::before { transition: none; }
  .marquee-track { animation: none; transform: none; }
  .parallax { transform: none !important; }
  .magnetic { transform: none !important; box-shadow: none; }
  .lux-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .lux-word > span { transform: none; opacity: 1; transition: none; }
  .btn-lux, .btn-lux-hairline, .btn-lux .btn-lux-arrow { transition: none; transform: none !important; }
}
