/* ================================================================
   Gulf Specialized Hospital — Pure CSS Design System
   "الطراز الرفيع" — No frameworks. Hand-crafted.
   8px grid | Cairo | Cormorant + Inter
   Sky Blue + Violet — Airy & Premium
   ================================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Color Palette — Sky Blue + Violet */
  --color-navy-950:   #1A1A2E;
  --color-navy-900:   #16213E;
  --color-navy-800:   #1B2A4A;
  --color-navy-700:   #2B4C7E;
  --color-navy-600:   #3D6CB9;

  --color-gold:       #7C5DF0;
  --color-gold-light: #A78BFA;
  --color-gold-dark:  #5B3CC4;

  --color-accent:     #38BDF8;
  --color-accent-light:#7DD3FC;
  --color-accent-dark: #0EA5E9;

  --color-warm-white: #FAFBFF;
  --color-white:      #FFFFFF;

  --color-stone-50:   #F8F9FC;
  --color-stone-100:  #EEF0F6;
  --color-stone-200:  #DDE1EB;
  --color-stone-300:  #C5CAD9;
  --color-stone-400:  #9CA3B5;
  --color-stone-500:  #6B7280;
  --color-stone-600:  #4B5563;
  --color-stone-700:  #374151;
  --color-stone-900:  #1F2937;

  --color-success:    #059669;
  --color-success-bg: #ECFDF5;
  --color-error:      #DC2626;
  --color-error-bg:   #FEF2F2;
  --color-warning:    #D97706;
  --color-warning-bg: #FFFBEB;

  /* Typography */
  --font-arabic-display: 'Cairo', 'Segoe UI', sans-serif;
  --font-arabic-ui:      'Cairo', 'Segoe UI', sans-serif;
  --font-en-display:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-en-ui:          'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Scale (8px grid) */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Border Radius */
  --r-sm:   6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  18px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows — ultra-soft, airy */
  --shadow-xs:  0 1px 2px rgba(22,33,62,0.03);
  --shadow-sm:  0 1px 4px rgba(22,33,62,0.05), 0 1px 2px rgba(22,33,62,0.03);
  --shadow-md:  0 4px 12px rgba(22,33,62,0.06), 0 2px 4px rgba(22,33,62,0.03);
  --shadow-lg:  0 12px 32px rgba(22,33,62,0.07), 0 4px 8px rgba(22,33,62,0.04);
  --shadow-xl:  0 24px 56px rgba(22,33,62,0.08), 0 8px 16px rgba(22,33,62,0.04);
  --shadow-gold: 0 4px 20px rgba(124,93,240,0.20);

  /* Transitions — cubic easing */
  --ease-out:  cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-in:   cubic-bezier(0.4,  0,   1,    1);
  --ease-inout:cubic-bezier(0.4,  0,   0.2,  1);
  --t-fast:   150ms;
  --t-base:   250ms;
  --t-slow:   400ms;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;
}

/* ── 2. RESET ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-warm-white);
  color: var(--color-stone-900);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: var(--font-arabic-ui);
}

body[dir="ltr"] {
  font-family: var(--font-en-ui);
}

img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection {
  background: var(--color-navy-700);
  color: var(--color-white);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────────── */

/* Display — Hero Headlines */
.t-display {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* 40–56px */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

[dir="rtl"] .t-display {
  font-family: var(--font-arabic-display);
  letter-spacing: 0;
}

[dir="ltr"] .t-display {
  font-family: var(--font-en-display);
  font-style: italic;
}

/* H1 */
h1, .t-h1 {
  font-size: clamp(2rem, 3.5vw, 2.5rem); /* 32–40px */
  font-weight: 700;
  line-height: 1.2;
}

[dir="rtl"] h1, [dir="rtl"] .t-h1 { font-family: var(--font-arabic-display); }
[dir="ltr"] h1, [dir="ltr"] .t-h1  { font-family: var(--font-en-display); font-style: italic; }

/* H2 */
h2, .t-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); /* 24–32px */
  font-weight: 600;
  line-height: 1.25;
}

/* H3 */
h3, .t-h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem); /* 20–24px */
  font-weight: 600;
  line-height: 1.3;
}

/* H4 */
h4, .t-h4 {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  line-height: 1.4;
}

/* Body Large */
.t-body-lg {
  font-size: 1.125rem; /* 18px */
  line-height: 1.75;
}

/* Body */
.t-body {
  font-size: 1rem; /* 16px */
  line-height: 1.7;
}

/* Body Small */
.t-body-sm, small {
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
}

/* Caption */
.t-caption {
  font-size: 0.75rem; /* 12px */
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* Label */
.t-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── 4. LAYOUT ────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--wide {
  max-width: 1400px;
}

.container--narrow {
  max-width: 800px;
}

/* Section spacing */
.section {
  padding-block: var(--space-20);
}

.section--sm {
  padding-block: var(--space-12);
}

.section--lg {
  padding-block: var(--space-32);
}

/* Grid helpers */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* ── 5. TOP BAR ───────────────────────────────────────────────── */

.topbar {
  background: var(--color-white);
  color: var(--color-stone-600);
  font-size: 0.8125rem;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-stone-100);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.topbar__contact a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-stone-300);
  transition: color var(--t-fast) var(--ease-out);
}

.topbar__contact a:hover {
  color: var(--color-gold);
}

.topbar__icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.topbar__lang {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.topbar__lang a {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-stone-500);
  border: 1px solid transparent;
  transition: all var(--t-fast) var(--ease-out);
}

.topbar__lang a:hover,
.topbar__lang a.active {
  color: var(--color-gold);
  border-color: rgba(124,93,240,0.25);
  background: rgba(124,93,240,0.06);
}

/* ── 6. NAVBAR ────────────────────────────────────────────────── */

.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-stone-100);
  transition: box-shadow var(--t-base) var(--ease-out),
              background var(--t-base) var(--ease-out);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-8);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo-img {
  height: 44px;
  width: auto;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar__logo-text span:first-child {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy-900);
}

.navbar__logo-text span:last-child {
  font-size: 0.6875rem;
  color: var(--color-stone-500);
  letter-spacing: 0.04em;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.navbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-stone-600);
  border-radius: var(--r-md);
  transition: color var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out);
  white-space: nowrap;
}

.navbar__link:hover {
  color: var(--color-navy-800);
  background: var(--color-stone-50);
}

.navbar__link.active {
  color: var(--color-navy-900);
  font-weight: 600;
}

.navbar__link.active::after {
  content: '';
  position: absolute;
  bottom: -1px; /* align with navbar border */
  inset-inline: var(--space-4);
  height: 2px;
  background: var(--color-gold);
  border-radius: var(--r-full);
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-3));
  inset-inline-start: 0;
  min-width: 240px;
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              visibility var(--t-base);
  z-index: var(--z-dropdown);
}

.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown:focus-within .navbar__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  color: var(--color-stone-700);
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}

.navbar__dropdown-item:hover {
  background: var(--color-stone-50);
  color: var(--color-navy-900);
}

.navbar__dropdown-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-700);
  flex-shrink: 0;
  font-size: 0.875rem;
}

.navbar__dropdown-divider {
  height: 1px;
  background: var(--color-stone-100);
  margin: var(--space-2);
}

.navbar__dropdown-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy-700);
  transition: background var(--t-fast) var(--ease-out);
}

.navbar__dropdown-all:hover {
  background: var(--color-stone-50);
}

/* Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  border: none;
  background: none;
  border-radius: var(--r-md);
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy-900);
  border-radius: var(--r-full);
  transition: transform var(--t-base) var(--ease-inout),
              opacity var(--t-base) var(--ease-inout);
}

.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.navbar__drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: var(--z-overlay);
  padding: var(--space-6);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-inout);
}

[dir="rtl"] .navbar__drawer {
  transform: translateX(-100%);
}

.navbar__drawer.open {
  transform: translateX(0);
}

.navbar__drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-stone-100);
}

.navbar__drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-stone-200);
  border-radius: var(--r-full);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--color-stone-600);
  transition: all var(--t-fast) var(--ease-out);
}

.navbar__drawer-close:hover {
  background: var(--color-stone-50);
  color: var(--color-navy-900);
}

.navbar__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.navbar__drawer-link {
  display: block;
  padding: var(--space-4) var(--space-4);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-stone-700);
  border-radius: var(--r-md);
  border-bottom: 1px solid var(--color-stone-100);
  transition: background var(--t-fast) var(--ease-out);
}

.navbar__drawer-link:hover,
.navbar__drawer-link.active {
  background: var(--color-stone-50);
  color: var(--color-navy-900);
}

/* ── 7. BUTTONS ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--r-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

/* Primary — Navy */
.btn--primary {
  background: var(--color-navy-900);
  color: var(--color-white);
  border-color: var(--color-navy-900);
}

.btn--primary:hover {
  background: var(--color-navy-800);
  border-color: var(--color-navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
}

/* Gold — CTA */
.btn--gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-white);
  border-color: var(--color-gold);
  font-weight: 700;
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--color-gold-dark) 0%, #4A2DB0 100%);
  border-color: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--color-navy-900);
  border-color: var(--color-stone-300);
}

.btn--outline:hover {
  border-color: var(--color-navy-900);
  background: var(--color-stone-50);
}

/* Ghost white (on dark bg) */
.btn--ghost-white {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.25);
}

.btn--ghost-white:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
}

/* Sizes */
.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  border-radius: var(--r-md);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.0625rem;
}

.btn--full { width: 100%; }

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease-out);
}

.btn:hover .btn__icon--arrow {
  transform: translateX(3px);
}

[dir="rtl"] .btn:hover .btn__icon--arrow {
  transform: translateX(-3px);
}

/* ── 8. HERO ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--color-white);
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Subtle geometric accent */
.hero__circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,93,240,0.06), rgba(56,189,248,0.04));
  border: none;
}

.hero__circle--1 {
  width: 700px;
  height: 700px;
  top: -250px;
  inset-inline-end: -150px;
}

.hero__circle--2 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  inset-inline-start: -120px;
  background: linear-gradient(135deg, rgba(56,189,248,0.05), rgba(124,93,240,0.03));
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
  padding-block: var(--space-20);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-5);
  background: rgba(124,93,240,0.08);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--r-full);
}

.hero__label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  border-radius: var(--r-full);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--color-navy-900);
  line-height: 1.12;
  margin-bottom: var(--space-5);
}

[dir="rtl"] .hero__title {
  font-family: var(--font-arabic-display);
}

[dir="ltr"] .hero__title {
  font-family: var(--font-en-display);
  font-style: italic;
}

.hero__title em {
  background: linear-gradient(135deg, var(--color-gold), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: inherit;
}

.hero__body {
  font-size: 1.0625rem;
  color: var(--color-stone-600);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

/* Stats row */
.hero__stats {
  display: flex;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-stone-200);
}

.hero__stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-1);
}

[dir="rtl"] .hero__stat-num { font-family: var(--font-arabic-display); }

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--color-stone-500);
}

/* Hero image side */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero__image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--r-2xl);
  display: block;
}

/* Floating stat cards on hero image */
.hero__float-card {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__float-card--tl {
  top: var(--space-6);
  inset-inline-start: -var(--space-8);
  inset-inline-start: -32px;
}

.hero__float-card--br {
  bottom: var(--space-8);
  inset-inline-end: -32px;
}

.hero__float-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--color-stone-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero__float-label {
  font-size: 0.75rem;
  color: var(--color-stone-500);
}

.hero__float-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-navy-900);
}

/* Wave divider */
.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero__wave svg {
  display: block;
  width: 100%;
}

/* ── 9. SEARCH BAR ────────────────────────────────────────────── */

.search-bar {
  position: relative;
  margin-top: -28px;
  z-index: 10;
  margin-bottom: var(--space-16);
}

.search-bar__inner {
  background: var(--color-white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-stone-100);
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}

.search-bar__inner:focus-within {
  border-color: var(--color-navy-700);
  box-shadow: var(--shadow-xl), 0 0 0 3px rgba(30,58,95,0.08);
}

.search-bar__icon {
  padding: 0 var(--space-5);
  color: var(--color-stone-400);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.search-bar__input {
  flex: 1;
  padding: var(--space-5) 0;
  font-size: 1rem;
  color: var(--color-stone-900);
  background: transparent;
  border: none;
  outline: none;
}

.search-bar__input::placeholder {
  color: var(--color-stone-400);
}

.search-bar__btn {
  margin: var(--space-2);
  flex-shrink: 0;
}

/* Search results dropdown */
.search-results {
  position: absolute;
  top: calc(100% + var(--space-2));
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-dropdown);
  padding: var(--space-4);
  display: none;
  max-height: 60vh;
  overflow-y: auto;
}

.search-results.visible {
  display: block;
}

.search-results__group-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-stone-400);
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-2);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease-out);
  cursor: pointer;
}

.search-result-item:hover {
  background: var(--color-stone-50);
}

.search-result-item__img {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-stone-100);
}

.search-result-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--color-stone-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-700);
  flex-shrink: 0;
}

.search-result-item__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-stone-900);
}

.search-result-item__sub {
  font-size: 0.8125rem;
  color: var(--color-stone-500);
  margin-top: 1px;
}

/* ── 10. SECTION HEADER ───────────────────────────────────────── */

.section-header {
  margin-bottom: var(--space-12);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-header__body {
  margin-inline: auto;
}

.section-header__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy-700);
  margin-bottom: var(--space-3);
}

.section-header__tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-gold);
}

.section-header__title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: var(--space-4);
}

.section-header__rule {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  margin-block: var(--space-4);
}

[dir="rtl"] .section-header__rule {
  background: linear-gradient(270deg, var(--color-gold), transparent);
}

.section-header--center .section-header__rule {
  margin-inline: auto;
  background: var(--color-gold);
}

.section-header__body {
  font-size: 1.0625rem;
  color: var(--color-stone-500);
  max-width: 600px;
  line-height: 1.75;
}

/* ── 11. DEPARTMENT CARDS ─────────────────────────────────────── */

.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.dept-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  transition: all var(--t-base) var(--ease-out);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.dept-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--t-base) var(--ease-out);
}

.dept-card:hover {
  border-color: var(--color-stone-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.dept-card:hover::before {
  transform: scaleY(1);
}

.dept-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--color-stone-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--color-navy-800);
  transition: background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out);
}

.dept-card:hover .dept-card__icon {
  background: var(--color-navy-900);
  color: var(--color-gold);
}

.dept-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy-900);
  line-height: 1.4;
}

.dept-card__desc {
  font-size: 0.875rem;
  color: var(--color-stone-500);
  line-height: 1.6;
  flex: 1;
}

.dept-card__count {
  font-size: 0.8125rem;
  color: var(--color-stone-400);
  margin-top: auto;
}

.dept-card__arrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy-700);
  gap: var(--space-1);
  margin-top: var(--space-3);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}

[dir="rtl"] .dept-card__arrow {
  transform: translateX(8px);
}

.dept-card:hover .dept-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── 12. DOCTOR CARDS ─────────────────────────────────────────── */

/* ─ Filter Bar ─ */
.doctors-filter-bar {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
  align-items: center;
  padding: var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  justify-content: center;
}

.doctors-filter-bar .dept-filter-btn {
  border-radius: var(--r-full) !important;
  padding: var(--space-1) var(--space-4);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--color-stone-500);
  transition: all var(--t-base) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.8;
}

.doctors-filter-bar .dept-filter-btn:hover {
  color: var(--color-navy-900);
  background: var(--color-stone-50);
}

.doctors-filter-bar .dept-filter-btn.btn--primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

/* ─ Doctors Grid ─ */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

/* ─ Doctor Card — Premium ─ */
.doctor-card {
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: all 0.45s var(--ease-out);
  position: relative;
}

.doctor-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent), var(--color-gold));
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-out);
}

.doctor-card:hover {
  box-shadow: 0 20px 50px rgba(22,33,62,0.10), 0 8px 20px rgba(124,93,240,0.06);
  transform: translateY(-8px);
  border-color: rgba(124,93,240,0.12);
}

.doctor-card:hover::after {
  transform: scaleX(1);
}

/* ─ Image Wrap ─ */
.doctor-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, var(--color-stone-100), var(--color-stone-50));
}

.doctor-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,46,0.55) 0%,
    rgba(26,26,46,0.1) 40%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  z-index: 1;
}

.doctor-card:hover .doctor-card__img-wrap::after {
  opacity: 1;
}

.doctor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease-out);
}

.doctor-card:hover .doctor-card__img {
  transform: scale(1.08);
}

/* ─ Department Badge ─ */
.doctor-card__dept-badge {
  position: absolute;
  top: var(--space-4);
  inset-inline-start: var(--space-4);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: var(--color-navy-900);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
  border: 1px solid rgba(124,93,240,0.1);
  z-index: 2;
  transition: all var(--t-base) var(--ease-out);
}

.doctor-card:hover .doctor-card__dept-badge {
  background: rgba(124,93,240,0.92);
  color: var(--color-white);
  border-color: var(--color-gold);
  box-shadow: 0 4px 14px rgba(124,93,240,0.3);
}

/* ─ Card Body ─ */
.doctor-card__body {
  padding: var(--space-6) var(--space-5) var(--space-5);
  position: relative;
}

.doctor-card__name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: var(--space-2);
  line-height: 1.3;
  transition: color var(--t-base) var(--ease-out);
}

.doctor-card:hover .doctor-card__name a {
  color: var(--color-gold-dark) !important;
}

.doctor-card__title {
  font-size: 0.8125rem;
  color: var(--color-stone-500);
  margin-bottom: var(--space-4);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─ Card Footer ─ */
.doctor-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-stone-100);
  gap: var(--space-3);
}

.doctor-card__footer .badge {
  font-size: 0.6875rem;
  padding: var(--space-1) var(--space-3);
}

.doctor-card__footer .btn--gold {
  font-size: 0.8125rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--r-full);
  transition: all 0.35s var(--ease-out);
}

.doctor-card:hover .doctor-card__footer .btn--gold {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.doctor-card__lang {
  font-size: 0.75rem;
  color: var(--color-stone-400);
}

/* ─ Experience tag inside card ─ */
.doctor-card .t-body-sm {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--color-stone-500);
}

/* ─ Stats Counter (optional top element) ─ */
.doctors-count {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding: var(--space-3) var(--space-5);
  background: rgba(124,93,240,0.04);
  border: 1px solid rgba(124,93,240,0.08);
  border-radius: var(--r-lg);
  font-size: 0.875rem;
  color: var(--color-stone-600);
}

.doctors-count strong {
  color: var(--color-gold-dark);
  font-weight: 700;
}

/* ── 13. WHY US — ASYMMETRIC ──────────────────────────────────── */

.why-us {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--color-white);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-stone-100);
}

.why-us__visual {
  position: relative;
  min-height: 560px;
}

.why-us__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-us__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(13,27,42,0.3),
    transparent 50%
  );
}

.why-us__content {
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-warm-white);
}

.why-us__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-block: var(--space-8);
}

.why-us__point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.why-us__point-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: var(--color-white);
  border: 1px solid var(--color-stone-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.why-us__point-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy-900);
  margin-bottom: var(--space-1);
}

.why-us__point-body {
  font-size: 0.875rem;
  color: var(--color-stone-500);
  line-height: 1.6;
}

/* ── 14. CTA BAND ─────────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(135deg, #7C5DF0 0%, #5B3CC4 40%, #38BDF8 100%);
  position: relative;
  overflow: hidden;
}

.cta-band__deco {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-block: var(--space-16);
}

.cta-band__text h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-2);
}

.cta-band__text p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 480px;
}

.cta-band__actions {
  display: flex;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* ── 15. INSURANCE STRIP ──────────────────────────────────────── */

.insurance-strip {
  background: var(--color-white);
  border-block: 1px solid var(--color-stone-100);
  padding-block: var(--space-10);
}

.insurance-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.insurance-logo {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter var(--t-base) var(--ease-out);
}

.insurance-logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* ── 16. FOOTER ───────────────────────────────────────────────── */

.footer {
  background: var(--color-white);
  color: var(--color-stone-600);
  padding-top: var(--space-16);
  border-top: 1px solid var(--color-stone-100);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-stone-100);
}

.footer__logo-img {
  height: 40px;
  margin-bottom: var(--space-4);
  filter: none;
  opacity: 1;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: var(--space-6);
  color: var(--color-stone-500);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  border: 1px solid var(--color-stone-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-stone-500);
  font-size: 0.9375rem;
  transition: all var(--t-base) var(--ease-out);
}

.footer__social-link:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer__col-title {
  color: var(--color-navy-900);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-5);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  border-radius: var(--r-full);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: 0.9rem;
  color: var(--color-stone-500);
  transition: color var(--t-fast) var(--ease-out);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__contact-icon {
  width: 16px;
  margin-top: 3px;
  color: var(--color-gold);
  flex-shrink: 0;
  font-size: 0.875rem;
}

.footer__contact-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__contact-text a {
  color: var(--color-stone-500);
  transition: color var(--t-fast) var(--ease-out);
}

.footer__contact-text a:hover {
  color: var(--color-gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-5);
  font-size: 0.8125rem;
}

/* ── 17. PAGE HEADER ──────────────────────────────────────────── */

.page-header {
  background: var(--color-white);
  padding-block: var(--space-16) var(--space-12);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-stone-100);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(124,93,240,0.04), transparent 60%);
}

.page-header__inner {
  position: relative;
  z-index: 2;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--color-stone-500);
  margin-bottom: var(--space-4);
}

.page-header__breadcrumb a {
  color: var(--color-stone-500);
  transition: color var(--t-fast) var(--ease-out);
}

.page-header__breadcrumb a:hover {
  color: var(--color-gold);
}

.page-header__breadcrumb-sep {
  opacity: 0.4;
}

.page-header__title {
  color: var(--color-navy-900);
  margin-bottom: var(--space-3);
}

.page-header__body {
  color: var(--color-stone-600);
  font-size: 1.0625rem;
  max-width: 560px;
  line-height: 1.75;
}

/* ── 18. CARDS (generic) ──────────────────────────────────────── */

.card {
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* ── 19. FORMS ────────────────────────────────────────────────── */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-stone-700);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: var(--color-error);
  margin-inline-start: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: 0.9375rem;
  color: var(--color-stone-900);
  background: var(--color-white);
  border: 1.5px solid var(--color-stone-200);
  border-radius: var(--r-lg);
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-stone-300);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--color-stone-300);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-navy-700);
  box-shadow: 0 0 0 3px rgba(30,58,95,0.08);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(155,35,53,0.06);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--color-stone-400);
  margin-top: var(--space-2);
}

.form-error {
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* ── 20. ALERTS ───────────────────────────────────────────────── */

.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--r-lg);
  font-size: 0.9375rem;
  border-inline-start: 4px solid;
}

.alert--success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border-color: var(--color-success);
}

.alert--error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border-color: var(--color-error);
}

.alert--warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border-color: var(--color-warning);
}

/* ── 21. BADGES ───────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 3px var(--space-3);
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.6;
}

.badge--navy   { background: rgba(13,27,42,0.08); color: var(--color-navy-900); }
.badge--gold   { background: rgba(201,169,110,0.15); color: var(--color-gold-dark); }
.badge--green  { background: var(--color-success-bg); color: var(--color-success); }
.badge--red    { background: var(--color-error-bg); color: var(--color-error); }
.badge--stone  { background: var(--color-stone-100); color: var(--color-stone-600); }

/* ── 22. BOOKING WIZARD ───────────────────────────────────────── */

.booking-wizard {
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.booking-wizard__progress {
  display: flex;
  background: var(--color-warm-white);
  border-bottom: 1px solid var(--color-stone-100);
}

.booking-wizard__step {
  flex: 1;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-stone-400);
  border-bottom: 2px solid transparent;
  transition: all var(--t-base) var(--ease-out);
}

.booking-wizard__step.active {
  color: var(--color-navy-900);
  border-bottom-color: var(--color-gold);
  font-weight: 600;
}

.booking-wizard__step.done {
  color: var(--color-success);
}

.booking-wizard__step-num {
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  background: var(--color-stone-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--t-base) var(--ease-out);
}

.booking-wizard__step.active .booking-wizard__step-num {
  background: var(--color-navy-900);
  color: var(--color-white);
}

.booking-wizard__step.done .booking-wizard__step-num {
  background: var(--color-success);
  color: var(--color-white);
}

.booking-wizard__body {
  padding: var(--space-8) var(--space-10);
}

/* ── 23. DOCTOR SELECTION CARDS ───────────────────────────────── */

.doc-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
}

.doc-select-card {
  border: 2px solid var(--color-stone-200);
  border-radius: var(--r-xl);
  padding: var(--space-5);
  text-align: center;
  cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
  background: var(--color-white);
}

.doc-select-card:hover {
  border-color: var(--color-navy-700);
  box-shadow: var(--shadow-md);
}

.doc-select-card.selected {
  border-color: var(--color-navy-900);
  background: rgba(13,27,42,0.03);
  box-shadow: 0 0 0 3px rgba(13,27,42,0.08);
}

.doc-select-card input[type="radio"] {
  display: none;
}

/* ── 24. WHATSAPP FLOAT ───────────────────────────────────────── */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  inset-inline-end: var(--space-6);
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--color-white);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: var(--z-modal);
  transition: all var(--t-base) var(--ease-out);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ── 25. ANIMATIONS ───────────────────────────────────────────── */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-fade-up   { animation: fadeUp  0.6s var(--ease-out) both; }
.anim-fade-in   { animation: fadeIn  0.5s var(--ease-out) both; }
.anim-scale-in  { animation: scaleIn 0.5s var(--ease-out) both; }

.anim-delay-1  { animation-delay: 0.1s; }
.anim-delay-2  { animation-delay: 0.2s; }
.anim-delay-3  { animation-delay: 0.3s; }
.anim-delay-4  { animation-delay: 0.4s; }

/* Intersection Observer targets */
.js-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.js-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── 26. UTILITIES ────────────────────────────────────────────── */

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

.skip-link {
  position: absolute;
  top: -100%;
  inset-inline-start: var(--space-4);
  background: var(--color-navy-900);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--r-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--t-fast) var(--ease-out);
}

.skip-link:focus { top: var(--space-4); }

.text-center { text-align: center; }
.text-start  { text-align: start; }
.text-end    { text-align: end; }

.text-navy   { color: var(--color-navy-900); }
.text-gold   { color: var(--color-gold); }
.text-muted  { color: var(--color-stone-500); }
.text-white  { color: var(--color-white); }

.bg-navy    { background: var(--color-navy-900); }
.bg-warm    { background: var(--color-warm-white); }
.bg-white   { background: var(--color-white); }
.bg-stone   { background: var(--color-stone-50); }

.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

.d-flex  { display: flex; }
.d-grid  { display: grid; }
.d-none  { display: none; }
.d-block { display: block; }

.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }

.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.w-full { width: 100%; }

/* ── 27. ADMIN PANEL ──────────────────────────────────────────── */

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--color-navy-900);
  color: var(--color-stone-300);
  padding: var(--space-6);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar__logo {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-6);
}

.admin-sidebar__nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-stone-400);
  transition: all var(--t-fast) var(--ease-out);
  margin-bottom: var(--space-1);
}

.admin-sidebar__nav-item:hover,
.admin-sidebar__nav-item.active {
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
}

.admin-sidebar__nav-item.active {
  background: rgba(201,169,110,0.1);
  color: var(--color-gold-light);
}

.admin-main {
  background: var(--color-stone-50);
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-stone-200);
  padding: var(--space-4) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.admin-content {
  padding: var(--space-8);
  flex: 1;
}

.admin-card {
  background: var(--color-white);
  border: 1px solid var(--color-stone-200);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.admin-card__header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-stone-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.admin-table th {
  padding: var(--space-3) var(--space-5);
  text-align: start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-stone-500);
  background: var(--color-stone-50);
  border-bottom: 1px solid var(--color-stone-200);
}

.admin-table td {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-stone-100);
  color: var(--color-stone-700);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--color-stone-50);
}

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-stone-200);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.stat-card__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy-900);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-card__label {
  font-size: 0.875rem;
  color: var(--color-stone-500);
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: var(--color-stone-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-navy-700);
}

/* ── 28. RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 1024px) {
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .why-us { grid-template-columns: 1fr; }
  .why-us__visual { min-height: 360px; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__text p { margin-inline: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding-inline: var(--space-5); }
  .navbar__nav { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar__drawer { display: block; }
  .section { padding-block: var(--space-12); }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero__visual { display: none; }
  .hero__stats { flex-wrap: wrap; gap: var(--space-6); }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .search-bar { margin-top: var(--space-6); }
  .booking-wizard__body { padding: var(--space-6); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}

@media (max-width: 480px) {
  .dept-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .dept-card { padding: var(--space-4); }
  .doctors-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__actions { flex-direction: column; width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .booking-wizard__progress { flex-direction: column; }
  .doc-select-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 29. DOCTOR PROFILE — Premium ────────────────────────────── */

/* ─ Profile Layout ─ */
.doctor-profile {
  gap: var(--space-10);
  align-items: start;
}

.doctor-profile aside {
  position: sticky;
  top: calc(72px + var(--space-6));
}

/* ─ Photo Card ─ */
.doctor-profile__photo-card {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-stone-100);
  background: var(--color-white);
  margin-bottom: var(--space-6);
}

.doctor-profile__photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.doctor-profile__photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(26,26,46,0.35), transparent);
  pointer-events: none;
}

.doctor-profile__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s var(--ease-out);
}

.doctor-profile__photo-card:hover .doctor-profile__photo {
  transform: scale(1.04);
}

.doctor-profile__photo-cta {
  padding: var(--space-5);
  background: var(--color-white);
}

.doctor-profile__photo-cta .btn {
  border-radius: var(--r-xl);
}

/* ─ Quick Info Card ─ */
.doctor-profile__info-card {
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-2xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.doctor-profile__info-card-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-stone-400);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.doctor-profile__info-card-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-stone-100);
}

.doctor-profile__info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.doctor-profile__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--r-lg);
  transition: background 0.3s var(--ease-out);
}

.doctor-profile__info-item:hover {
  background: var(--color-stone-50);
}

.doctor-profile__info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.doctor-profile__info-item:hover .doctor-profile__info-icon {
  transform: scale(1.1);
}

.doctor-profile__info-label {
  font-size: 0.6875rem;
  color: var(--color-stone-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.doctor-profile__info-value {
  font-size: 0.9375rem;
  color: var(--color-stone-800);
  font-weight: 600;
}

.doctor-profile__info-value a {
  transition: color var(--t-fast) var(--ease-out);
}

.doctor-profile__info-value a:hover {
  color: var(--color-gold) !important;
}

/* ─ Bio Section ─ */
.doctor-profile__bio {
  margin-bottom: var(--space-10);
  position: relative;
}

.doctor-profile__bio::before {
  content: '\201C';
  position: absolute;
  top: -16px;
  inset-inline-start: -8px;
  font-size: 6rem;
  color: rgba(124,93,240,0.06);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.doctor-profile__bio-tag {
  position: relative;
  z-index: 1;
}

.doctor-profile__bio-title {
  position: relative;
  z-index: 1;
}

.doctor-profile__bio-text {
  position: relative;
  z-index: 1;
  padding-inline-start: var(--space-5);
  border-inline-start: 3px solid rgba(124,93,240,0.15);
}

/* ─ Qualifications Card ─ */
.doctor-profile__quals {
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-2xl);
  overflow: hidden;
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.doctor-profile__quals-inner {
  padding: var(--space-6) var(--space-8);
}

.doctor-profile__qual-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-stone-50);
  transition: all var(--t-base) var(--ease-out);
}

.doctor-profile__qual-item:last-child {
  border-bottom: none;
}

.doctor-profile__qual-item:hover {
  padding-inline-start: var(--space-3);
}

.doctor-profile__qual-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--color-gold), var(--color-accent));
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 0 3px rgba(124,93,240,0.1);
}

.doctor-profile__qual-text {
  font-size: 0.9375rem;
  color: var(--color-stone-700);
  line-height: 1.7;
}

/* ─ Booking CTA ─ */
.doctor-profile__cta {
  background: linear-gradient(135deg, var(--color-navy-950), var(--color-navy-900) 50%, #1E3A5F);
  border-radius: var(--r-2xl);
  padding: var(--space-10) var(--space-10);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124,93,240,0.1);
}

.doctor-profile__cta::before {
  content: '';
  position: absolute;
  top: -80px;
  inset-inline-end: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,93,240,0.12), transparent 70%);
  pointer-events: none;
}

.doctor-profile__cta::after {
  content: '';
  position: absolute;
  bottom: -60px;
  inset-inline-start: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.08), transparent 70%);
  pointer-events: none;
}

.doctor-profile__cta-content {
  position: relative;
  z-index: 2;
}

.doctor-profile__cta h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
  line-height: 1.4;
}

.doctor-profile__cta p {
  color: var(--color-stone-300);
  margin-bottom: var(--space-8);
  max-width: 500px;
  line-height: 1.7;
}

.doctor-profile__cta-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.doctor-profile__cta-actions .btn {
  border-radius: var(--r-xl);
}

.doctor-profile__cta-actions .btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,93,240,0.4);
}

/* ── 30. FORM SELECT ─────────────────────────────────────────── */

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 256 256'%3E%3Cpolyline points='208,96 128,176 48,96' fill='none' stroke='%23777' stroke-width='24' stroke-linecap='round' stroke-linejoin='round'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center;
  padding-inline-end: 40px;
}

[dir="rtl"] .form-select {
  background-position: 14px center;
  padding-inline-end: 40px;
}

/* ── 31. GHOST WHITE BUTTON ──────────────────────────────────── */

.btn--ghost-white {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn--ghost-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* ── 32. DEPARTMENT CARD STYLES ──────────────────────────────── */

.dept-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-stone-100);
  border-radius: var(--r-xl);
  text-decoration: none;
  color: inherit;
  transition: all var(--t-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.dept-card:hover {
  border-color: var(--color-stone-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.dept-card__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-stone-50);
  border-radius: var(--r-lg);
}

.dept-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: var(--space-1);
  line-height: 1.4;
}

.dept-card__desc {
  font-size: 0.8125rem;
  color: var(--color-stone-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dept-card__count {
  font-size: 0.75rem;
  color: var(--color-stone-400);
  font-weight: 500;
  margin-top: var(--space-2);
}

.dept-card__arrow {
  position: absolute;
  bottom: var(--space-4);
  inset-inline-end: var(--space-5);
  font-size: 0.75rem;
  color: var(--color-gold-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out);
}

.dept-card:hover .dept-card__arrow {
  opacity: 1;
}

/* ── 33. RESPONSIVE — DOCTOR PROFILE ─────────────────────────── */

@media (max-width: 768px) {
  .doctor-profile {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }
  .doctor-profile aside {
    order: -1;
    position: static;
  }
  .doctor-profile__cta {
    padding: var(--space-6);
  }
  .doctor-profile__quals-inner {
    padding: var(--space-5);
  }
  .doctor-profile__bio-text {
    padding-inline-start: var(--space-3);
  }
  .doctors-filter-bar {
    border-radius: var(--r-xl);
    padding: var(--space-3);
  }
}

