/* =========================================================================
   EMIRATES HEALTH — Design System (v2)
   White background · EHS deep blue primary · gold used sparingly
   ========================================================================= */

:root {
  /* Brand — EHS deep blue palette */
  --blue-950: #071b3d;
  --blue-900: #0a2759;
  --blue-800: #0f3c7a;   /* PRIMARY — EHS base blue */
  --blue-700: #1452a0;
  --blue-600: #1b7ec4;   /* accent — bright highlight */
  --blue-500: #3a9bd9;
  --blue-400: #6eb8e6;
  --blue-300: #a5d3ef;
  --blue-100: #e4f0fa;
  --blue-50:  #f1f7fc;

  /* Gold — reserved for whisper accents only */
  --gold-700: #a27629;
  --gold-600: #b8862e;
  --gold-500: #cc9b3c;
  --gold-200: #eed9a8;

  /* Neutrals */
  --white:    #ffffff;
  --off-white:#fafbfc;
  --ink-950:  #0a1428;
  --ink-900:  #0d1b33;
  --ink-700:  #2a3652;
  --ink-500:  #566179;
  --ink-400:  #7a8498;
  --ink-300:  #b8bfcc;
  --line:     #e3e8ef;
  --line-soft:#eef2f6;

  /* Type */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-arabic:  "Noto Naskh Arabic", "Amiri", serif;
  --font-arabic-sans: "IBM Plex Sans Arabic", "Noto Kufi Arabic", sans-serif;

  /* Layout */
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10,39,89,.04), 0 2px 8px rgba(10,39,89,.04);
  --shadow:    0 8px 24px -8px rgba(10,39,89,.14), 0 2px 6px rgba(10,39,89,.04);
  --shadow-lg: 0 30px 60px -20px rgba(10,39,89,.22), 0 8px 16px rgba(10,39,89,.06);

  --ease: cubic-bezier(.2,.7,.2,1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--white);
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Atmospheric backdrop */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(1000px 500px at 15% -5%, rgba(27,126,196,.06), transparent 60%),
    radial-gradient(800px 400px at 95% 100%, rgba(15,60,122,.04), transparent 60%);
}

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

/* ========================= Typography ========================= */
.display {
  font-family: var(--font-display);
  font-weight: 430;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.display-ar {
  font-family: var(--font-arabic);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-700);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--blue-700);
  vertical-align: middle;
  margin-right: 10px;
}
.eyebrow.gold { color: var(--gold-700); }
.eyebrow.gold::before { background: var(--gold-700); }

.eyebrow-ar {
  font-family: var(--font-arabic-sans);
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-700);
}
.eyebrow-ar::after {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--blue-700);
  vertical-align: middle;
  margin-left: 10px;
}
.eyebrow-ar.gold { color: var(--gold-700); }
.eyebrow-ar.gold::after { background: var(--gold-700); }

.ar-text { font-family: var(--font-arabic); direction: rtl; text-align: right; line-height: 1.8; }
.ar-sans { font-family: var(--font-arabic-sans); direction: rtl; text-align: right; }

/* ========================= Nav ========================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(10,39,89,.02);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--blue-900);
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-mark {
  display: inline-block;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-900));
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 4px 10px rgba(10,39,89,.2);
  flex-shrink: 0;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; background: #ffffff; border-radius: 1px;
}
.brand-mark::before { left: 50%; top: 22%; bottom: 22%; width: 3px; transform: translateX(-50%); }
.brand-mark::after  { top: 50%; left: 22%; right: 22%; height: 3px; transform: translateY(-50%); }
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-wordmark small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-700);
  align-items: center;
}
.nav-links a { position: relative; padding: 4px 0; transition: color .25s var(--ease); white-space: nowrap; }
.nav-links a:hover { color: var(--blue-700); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--blue-700);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current]::after { width: 100%; }

/* Mega-menu */
.has-mega { position: relative; }
.mega-trigger {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 0;
  font: inherit; color: var(--ink-700);
  cursor: pointer;
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.mega-trigger:hover { color: var(--blue-700); }
.mega-trigger .caret { transition: transform .25s var(--ease); }
.mega-trigger[aria-expanded="true"] { color: var(--blue-700); }
.mega-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }
.mega-trigger::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--blue-700);
  transition: width .3s var(--ease);
}
.mega-trigger:hover::after,
.mega-trigger[aria-expanded="true"]::after { width: calc(100% - 17px); }

.mega-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(720px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(10,39,89,.18), 0 8px 16px rgba(10,39,89,.06);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 60;
}
.has-mega.open .mega-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* invisible bridge so cursor can travel from trigger → panel */
.mega-panel::before {
  content: ""; position: absolute;
  top: -18px; left: 0; right: 0; height: 18px;
}

.mega-inner { padding: 28px 28px 24px; }
.mega-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.mega-eyebrow {
  display: block;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--blue-700);
}
.mega-eyebrow-ar {
  font-size: 12px; font-weight: 600; color: var(--blue-700);
  letter-spacing: 0.05em;
}
.mega-title {
  font-family: var(--font-display); font-weight: 440;
  font-size: 22px; letter-spacing: -0.015em;
  margin: 6px 0 0; color: var(--blue-950);
}

.mega-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mega-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center; gap: 4px 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink-900);
  transition: all .2s var(--ease);
  text-decoration: none;
}
.mega-card:hover {
  border-color: var(--blue-700);
  background: var(--blue-50);
  transform: translateY(-1px);
}
.mega-card-en {
  font-family: var(--font-display); font-weight: 460;
  font-size: 16px; letter-spacing: -0.01em; color: var(--blue-950);
  grid-column: 1; grid-row: 1;
}
.mega-card-ar {
  font-size: 15px; font-weight: 600; color: var(--blue-900);
  grid-column: 2; grid-row: 1; text-align: right;
}
.mega-card-meta {
  grid-column: 1 / -1; grid-row: 2;
  font-size: 11.5px; color: var(--ink-500);
  letter-spacing: 0.04em; margin-top: 2px;
}
.mega-card-meta .dot-sep { color: var(--ink-300); margin: 0 4px; }
.mega-card-all {
  grid-column: 1 / -1;
  background: var(--blue-800); color: var(--white);
  border-color: var(--blue-800);
  margin-top: 4px;
}
.mega-card-all:hover {
  background: var(--blue-700); border-color: var(--blue-700);
  color: var(--white);
}
.mega-card-all .mega-card-en,
.mega-card-all .mega-card-ar { color: var(--white); }
.mega-card-all .mega-card-meta { color: rgba(255,255,255,.7); }
.mega-card-all svg { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-800); color: #ffffff;
  padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 4px 10px rgba(15,60,122,.25);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--blue-700); transform: translateY(-1px); }
.nav-cta .dot {
  display: inline-block;
  width: 7px; height: 7px; background: var(--gold-500); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(204,155,60,.25);
}

.nav-burger {
  display: none;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center; justify-content: center;
  background: #ffffff;
  flex-shrink: 0;
}
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink-900); position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink-900);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }

.mobile-menu {
  position: fixed; inset: 62px 0 0 0;
  background: #ffffff;
  padding: 32px var(--gutter);
  transform: translateY(-110%);
  transition: transform .4s var(--ease);
  z-index: 40;
  border-bottom: 1px solid var(--line);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block; padding: 16px 0;
  font-family: var(--font-display); font-size: 24px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-900);
}
.mobile-menu .nav-cta { margin-top: 22px; }

/* Mobile drawer — collapsible Directory group */
.mm-group {
  border-bottom: 1px solid var(--line-soft);
}
.mm-group summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-display); font-size: 24px;
  color: var(--ink-900);
  cursor: pointer;
  user-select: none;
}
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary::after {
  content: "+";
  font-family: var(--font-body); font-size: 24px; font-weight: 300;
  color: var(--blue-700);
  transition: transform .25s var(--ease);
}
.mm-group[open] summary::after { content: "−"; }
.mm-sub {
  padding: 0 0 18px 16px;
  border-left: 2px solid var(--blue-100);
  margin-left: 4px;
}
.mm-sub a {
  display: block; padding: 11px 0;
  font-family: var(--font-body); font-size: 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-700);
}
.mm-sub a:last-child { border-bottom: 0; }
.mm-sub-all {
  margin-top: 6px;
  color: var(--blue-800) !important;
  font-weight: 600 !important;
}

/* ========================= Bilingual split ========================= */
.bilingual {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  position: relative;
}
.bilingual > .en { padding-right: 48px; }
.bilingual > .ar { padding-left: 48px; direction: rtl; text-align: right; }
.bilingual .spine {
  background: linear-gradient(180deg,
    transparent, var(--line) 10%, var(--line) 90%, transparent);
  position: relative;
}
.bilingual .spine::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-500);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--gold-200);
}

/* ========================= Hero ========================= */
.hero {
  padding: clamp(48px, 8vw, 112px) 0 clamp(60px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: 20px; left: 50%;
  transform: translateX(-50%);
  width: min(780px, 90vw); height: 620px;
  border: 1px solid var(--line);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  pointer-events: none;
  opacity: .7;
}
.hero-kicker {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500;
  margin-bottom: 36px;
  position: relative; z-index: 2;
  flex-wrap: wrap;
}
.hero-kicker .chip {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
  color: var(--blue-800); font-weight: 600;
  letter-spacing: 0.18em;
}

.hero h1.en-h1, .hero .ar-h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 112px);
}
.hero .en-h1 { text-align: left; }
.hero .ar-h1 { text-align: right; }
.hero .en-h1 .accent {
  font-style: italic; color: var(--gold-700);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero .ar-h1 .accent { font-style: normal; color: var(--gold-700); }

.hero-sub {
  margin-top: 22px;
  font-size: 17px; color: var(--ink-500); max-width: 38ch;
  line-height: 1.6;
}

.hero-ctas {
  margin-top: 34px;
  display: flex; flex-wrap: wrap; gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  transition: all .28s var(--ease);
  border: 1px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--blue-800); color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(15,60,122,.45);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn-primary .arrow { transition: transform .28s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent; color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--blue-50); border-color: var(--blue-700); color: var(--blue-800); }

.btn-outline {
  background: transparent; color: var(--blue-800);
  border-color: var(--blue-800);
}
.btn-outline:hover { background: var(--blue-800); color: var(--white); transform: translateY(-2px); }

.btn-wa {
  background: #128C7E; color: white;
  box-shadow: 0 6px 16px -6px rgba(18,140,126,.6);
}
.btn-wa:hover { background: #0f6f64; }

/* Hero stats */
.hero-stats {
  max-width: var(--maxw);
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative; z-index: 2;
}
.hero-stat { border-top: 1px solid var(--line); padding-top: 18px; }
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 420;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat .num .plus { color: var(--gold-600); }
.hero-stat .en-lbl { font-size: 13px; color: var(--ink-500); margin-top: 8px; }
.hero-stat .ar-lbl { font-family: var(--font-arabic-sans); font-size: 13px; color: var(--ink-500); margin-top: 3px; direction: rtl; }

/* ========================= Section scaffolding ========================= */
.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section-alt {
  background: var(--off-white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-head {
  max-width: var(--maxw);
  margin: 0 auto 56px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
}
.section-head > .en { padding-right: 48px; }
.section-head > .ar { padding-left: 48px; direction: rtl; text-align: right; }
.section-head .spine {
  background: linear-gradient(180deg,
    transparent, var(--line) 10%, var(--line) 90%, transparent);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 430;
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 16px 0 0;
  color: var(--blue-950);
}
.section-head .ar h2 {
  font-family: var(--font-arabic); font-weight: 600;
  line-height: 1.3; letter-spacing: 0;
}
.section-head h2 em {
  font-style: italic; color: var(--gold-700);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.section-head .ar h2 em { font-style: normal; color: var(--gold-700); }

/* ========================= Pillars ========================= */
.pillars {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px 30px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  min-height: 560px;
  display: flex; flex-direction: column;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-700);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 14px; color: var(--blue-700);
  letter-spacing: 0.1em;
}
.pillar-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-50), var(--blue-100));
  border-radius: 16px;
  margin: 18px 0 22px;
  color: var(--blue-800);
  box-shadow: inset 0 0 0 1px rgba(27,126,196,.18);
}
.pillar-icon svg { width: 30px; height: 30px; }
.pillar h3.en-t {
  font-family: var(--font-display);
  font-weight: 440;
  font-size: 28px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 6px;
  color: var(--blue-950);
}
.pillar h3.en-t em { font-style: italic; color: var(--gold-700); }
.pillar h3.ar-t {
  font-family: var(--font-arabic); font-weight: 600;
  font-size: 22px; line-height: 1.4;
  margin: 0 0 14px;
  color: var(--blue-950);
  direction: rtl; text-align: right;
}
.pillar p.en-p {
  color: var(--ink-500); font-size: 15px;
  line-height: 1.6; margin: 8px 0 0;
}
.pillar p.ar-p {
  font-family: var(--font-arabic); font-size: 15.5px; line-height: 1.8;
  color: var(--ink-500); direction: rtl; text-align: right; margin: 8px 0 0;
}
.pillar ul {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; gap: 8px;
}
.pillar ul li {
  font-size: 13.5px; color: var(--ink-700);
  padding-left: 18px; position: relative;
}
.pillar ul li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--blue-600);
}

.pillar-foot {
  margin-top: auto; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
}
.pillar-link {
  font-size: 14px; font-weight: 500; color: var(--blue-800);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .25s var(--ease);
}
.pillar-link:hover { gap: 14px; color: var(--blue-600); }
.pillar-link-ar {
  font-family: var(--font-arabic-sans); font-size: 14px; font-weight: 600;
  color: var(--blue-800); direction: rtl;
}

.pillar-accent {
  position: absolute; top: 0; right: 0;
  width: 120px; height: 120px;
  pointer-events: none; opacity: .08;
  background: radial-gradient(circle at 100% 0%, var(--blue-600), transparent 60%);
}

/* ========================= Values ========================= */
.values {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.value { background: var(--white); padding: 32px 24px; }
.value-icon { width: 38px; height: 38px; color: var(--blue-700); margin-bottom: 14px; }
.value h4 {
  font-family: var(--font-display);
  font-weight: 450; font-size: 20px; margin: 0 0 8px;
  color: var(--blue-950); letter-spacing: -0.01em;
}
.value h4.ar {
  font-family: var(--font-arabic); font-weight: 600;
  font-size: 17px; line-height: 1.4;
  margin: 12px 0 0;
  direction: rtl; text-align: right;
}
.value p { color: var(--ink-500); font-size: 13.5px; line-height: 1.55; margin: 0; }
.value p.ar {
  font-family: var(--font-arabic); direction: rtl; text-align: right;
  margin-top: 6px; line-height: 1.75;
}

/* ========================= Process (dark band) ========================= */
.process {
  background: var(--blue-950);
  color: var(--white);
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 10% 20%, rgba(27,126,196,.22), transparent 60%),
    radial-gradient(500px 250px at 90% 80%, rgba(27,126,196,.12), transparent 60%);
  pointer-events: none;
}
.process .section-head h2 { color: var(--white); }
.process .section-head .eyebrow { color: var(--blue-400); }
.process .section-head .eyebrow::before { background: var(--blue-400); }
.process .section-head .eyebrow-ar { color: var(--blue-400); }
.process .section-head .eyebrow-ar::after { background: var(--blue-400); }
.process .section-head p { color: rgba(255,255,255,.7); }
.process .section-head .spine { background: linear-gradient(180deg,
    transparent, rgba(255,255,255,.15) 10%, rgba(255,255,255,.15) 90%, transparent); }

.steps {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; position: relative; }
.step::before {
  content: "";
  position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; background: var(--blue-500); border-radius: 50%;
}
.step .num {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.12em;
  color: var(--blue-400); margin-bottom: 14px;
}
.step h4 {
  font-family: var(--font-display); font-weight: 430;
  font-size: 22px; letter-spacing: -0.01em;
  margin: 0 0 8px; color: var(--white);
}
.step h4.ar {
  font-family: var(--font-arabic); font-weight: 600;
  font-size: 19px; margin-top: 16px; line-height: 1.4;
  direction: rtl; text-align: right;
}
.step p { font-size: 13.5px; color: rgba(255,255,255,.65); line-height: 1.6; margin: 0; }
.step p.ar {
  font-family: var(--font-arabic); direction: rtl; text-align: right;
  line-height: 1.8; margin-top: 4px;
}

/* ========================= Directory teaser ========================= */
.directory-teaser {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.dt-card {
  background: linear-gradient(135deg, var(--white), var(--blue-50));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.dt-card::before {
  content: "";
  position: absolute; top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(27,126,196,.14), transparent 60%);
  pointer-events: none;
}
.dt-card .en { padding-right: 48px; }
.dt-card .ar { padding-left: 48px; direction: rtl; text-align: right; }
.dt-card .spine {
  background: linear-gradient(180deg,
    transparent, var(--line) 10%, var(--line) 90%, transparent);
  position: relative;
}
.dt-card h3 {
  font-family: var(--font-display); font-weight: 430;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em; line-height: 1.05;
  margin: 14px 0 18px; color: var(--blue-950);
}
.dt-card h3 em { font-style: italic; color: var(--gold-700); }
.dt-card .ar h3 { font-family: var(--font-arabic); font-weight: 600; line-height: 1.35; }
.dt-card .ar h3 em { font-style: normal; color: var(--gold-700); }
.dt-card p { color: var(--ink-500); font-size: 15.5px; margin: 0 0 22px; line-height: 1.6; }
.dt-card .ar p { font-family: var(--font-arabic); line-height: 1.8; }

.emirate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 22px; }
.emirate-chip {
  border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px; color: var(--ink-700);
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  transition: all .25s var(--ease);
}
.emirate-chip:hover {
  border-color: var(--blue-700); color: var(--blue-800);
  transform: translateX(3px);
}
.emirate-chip .count { color: var(--blue-700); font-weight: 600; font-size: 12px; }

/* ========================= Final CTA ========================= */
.cta-final {
  background: var(--off-white);
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.cta-final::before {
  content: "";
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(27,126,196,.08), transparent 65%);
  pointer-events: none;
}
.cta-final-inner {
  max-width: 980px; margin: 0 auto; padding: 0 var(--gutter);
  position: relative;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 430;
  font-size: clamp(38px, 6vw, 82px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 18px;
  color: var(--blue-950);
}
.cta-final h2 em { font-style: italic; color: var(--gold-700); }
.cta-final .ar-h2 {
  font-family: var(--font-arabic); font-weight: 600;
  font-size: clamp(30px, 4.5vw, 58px); line-height: 1.25;
  margin: 16px 0 0; color: var(--blue-950);
  direction: rtl;
}
.cta-final .ar-h2 em { font-style: normal; color: var(--gold-700); }
.cta-final p {
  color: var(--ink-500); font-size: 17px; max-width: 58ch;
  margin: 16px auto 0; line-height: 1.6;
}
.cta-final p.ar {
  font-family: var(--font-arabic); direction: rtl;
  font-size: 17px; line-height: 1.8; margin-top: 12px;
}
.cta-final .buttons {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* ========================= Footer ========================= */
.footer {
  background: var(--blue-950);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer h5 {
  font-family: var(--font-body);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue-400);
  margin: 0 0 18px; font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer .brand { color: var(--white); margin-bottom: 18px; }
.footer .brand small { color: rgba(255,255,255,.5); }
.footer-tag { font-size: 13px; line-height: 1.6; max-width: 36ch; color: rgba(255,255,255,.6); }
.footer-tag.ar { font-family: var(--font-arabic); direction: rtl; margin-top: 10px; line-height: 1.8; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}

/* ========================= Responsive ========================= */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .has-mega { display: none; }

  /* Bilingual layouts need breathing room — stack below 1024px */
  .bilingual, .section-head, .dt-card {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .bilingual > .en, .section-head > .en, .dt-card .en {
    padding: 0 0 36px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 36px;
  }
  .bilingual > .ar, .section-head > .ar, .dt-card .ar {
    padding: 0; direction: rtl;
  }
  .bilingual .spine, .section-head .spine, .dt-card .spine { display: none; }

  .hero .en-h1, .hero .ar-h1 { font-size: clamp(40px, 7vw, 68px); }
}

@media (max-width: 720px) {
  .hero::before { display: none; }
  .hero .en-h1, .hero .ar-h1 { font-size: clamp(40px, 12vw, 60px); }
  .hero-kicker { flex-direction: column; gap: 8px; text-align: center; }
  .values, .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .emirate-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .btn { padding: 12px 18px; font-size: 14px; }
}

/* ========================= Scroll reveal ========================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
