/* IBM Plex Sans (variable) + IBM Plex Sans Arabic, SIL Open Font License, served from this site */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url(/assets/fonts/plex-sans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url(/assets/fonts/plex-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/plex-arabic-400-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/plex-arabic-500-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/plex-arabic-600-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/plex-arabic-700-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }

/* EHP Belgourari: the hospital's own colours (navy from the seal, red from its heart for
   emergency only, teal from its dots), white and soft-blue grounds, IBM Plex Sans / Plex Sans Arabic. */
:root {
  --navy-950: #04122f;
  --navy-900: #071a45;
  --navy-800: #0a2463;
  --navy-700: #143386;
  --blue-50: #eef3fc;
  --blue-100: #dfe8f8;
  --teal: #0b7fa3;
  --teal-ink: #075f7a;
  --teal-50: #e6f4f8;
  --red: #c8102e;
  --red-700: #a50c25;
  --red-50: #fdeef0;
  --red-line: #f5c4cc;
  --ink: #0d1a33;
  --ink-2: #3e4c66;
  --ink-3: #65728b;
  --line: #e0e6ef;
  --line-2: #c8d2e2;
  --soft: #f4f7fc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 36, 99, 0.05), 0 10px 28px -14px rgba(10, 36, 99, 0.22);
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 32px);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
:root[lang="ar"] { --font: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:root[lang="ar"] body { font-size: 17px; line-height: 1.8; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
.ic { width: 20px; height: 20px; flex: none; fill: currentColor; }
:focus-visible { outline: 3px solid #2f6fe0; outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--navy-800); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }
[dir="ltr"] [dir="ltr"], .btn__num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- top bar + header */
.topbar { background: var(--navy-900); color: #d6dff1; font-size: 13.5px; }
.topbar__in { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__er { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.topbar__er strong { font-weight: 600; }
.topbar__er:hover span[dir] { text-decoration: underline; }
.topbar__addr { display: inline-flex; align-items: center; gap: 6px; color: #aebcd8; }
.topbar__addr .ic { width: 15px; height: 15px; color: #7fa6f5; }
.topbar__langs { margin-inline-start: auto; display: flex; gap: 18px; }
.topbar__langs a { color: #d6dff1; }
.topbar__langs a:hover { color: #fff; text-decoration: underline; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #ff3b52; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #ff3b52; opacity: 0; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s; }
.header.is-stuck { box-shadow: 0 8px 24px -16px rgba(10, 36, 99, 0.35); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__seal { width: 56px; height: 56px; }
.brand__name { display: grid; line-height: 1.2; }
.brand__name small { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.brand__name b { font-size: 19px; font-weight: 700; color: var(--navy-800); letter-spacing: -0.01em; }
:root[lang="ar"] .brand__name small { font-size: 13px; }
:root[lang="ar"] .brand__name b { font-size: 20px; letter-spacing: 0; }
.menu { margin-inline-start: auto; }
.menu__list { display: flex; gap: 2px; }
.menu__list a { display: block; padding: 10px 11px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color 0.15s, background 0.15s; }
.menu__list a:hover { color: var(--navy-800); background: var(--blue-50); }
.menu__extra { display: none; }
.header__call > span:not(.btn__num) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header__call .btn__num { padding: 0; border: 0; }
.menu-btn { display: none; }
@media (max-width: 1100px) {
  .header__in { min-height: 70px; gap: 12px; }
  .brand__seal { width: 48px; height: 48px; }
  .menu { display: none; position: absolute; top: 100%; inset-inline: 0; max-height: calc(100vh - 70px); overflow: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 32px -24px rgba(10, 36, 99, 0.35); padding: 4px var(--gut) 22px; }
  .header.is-open .menu { display: block; }
  .menu__list { flex-direction: column; gap: 0; }
  .menu__list a { padding: 15px 2px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .menu__list a:hover { background: none; }
  .menu__extra { display: grid; gap: 16px; padding-top: 18px; }
  .menu__langs { display: flex; gap: 22px; font-size: 15.5px; color: var(--navy-800); font-weight: 500; }
  .header__call { margin-inline-start: auto; }
  .menu-btn { display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; }
  .menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy-800); transition: transform 0.2s, opacity 0.2s; }
  .header.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
  .header.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 760px) { .topbar__addr { display: none; } }
@media (max-width: 520px) {
  .topbar__in { gap: 12px; }
  .brand { gap: 9px; }
  .brand__seal { width: 44px; height: 44px; }
  .brand__name small { font-size: 11px; }
  .brand__name b { font-size: 16.5px; }
  .header__call { width: 46px; min-height: 46px; padding: 0; }
  .header__call .btn__num { display: none; }
}

/* ---------------------------------------------------------------- buttons, labels */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 10px; border: 1.5px solid transparent; font: 600 15.5px/1.2 var(--font); white-space: nowrap; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 19px; height: 19px; }
.btn--lg { min-height: 56px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn__num { padding-inline-start: 12px; border-inline-start: 1px solid rgba(255, 255, 255, 0.35); font-weight: 600; letter-spacing: 0.02em; }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-700); }
.btn--danger { background: var(--red); color: #fff; }
.btn--danger:hover { background: var(--red-700); }
.btn--outline { background: #fff; color: var(--navy-800); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--navy-800); }
.btn--white { background: #fff; color: var(--navy-800); }
.btn--white .btn__num { border-color: var(--line-2); }
.btn--white:hover { background: var(--blue-50); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn .ic--arrow { width: 17px; height: 17px; transition: transform 0.2s; }
.btn:hover .ic--arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ic--arrow { transform: translateX(-3px); }

.kicker { margin-bottom: 12px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--teal-ink); }
:root[lang="ar"] .kicker { font-size: 15px; letter-spacing: 0; }
.kicker--red { color: #ff8796; }
.label { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 13px 6px 11px; border-radius: 999px; background: var(--teal-50); color: var(--teal-ink); font-size: 14px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.label .ic { width: 17px; height: 17px; }
.label--red { background: var(--red-50); color: var(--red); }

/* ---------------------------------------------------------------- home: hero + quick access */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 clamp(84px, 9vw, 124px); background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.hero::before { content: ""; position: absolute; top: -30%; inset-inline-end: -14%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--blue-100), transparent); opacity: 0.7; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; font-weight: 700; letter-spacing: -0.022em; color: var(--navy-900); text-wrap: balance; }
.hero h1 .label { display: flex; margin-bottom: 22px; }
:root[lang="ar"] .hero h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.38; letter-spacing: 0; }
.hero__lead { margin-top: 20px; max-width: 54ch; font-size: clamp(17px, 1.4vw, 19.5px); color: var(--ink-2); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { width: 20px; height: 20px; margin-top: 3px; color: var(--teal); }
:root[lang="ar"] .ticks .ic { margin-top: 6px; }
.ticks--row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }
.ticks--row li { font-size: 15px; font-weight: 500; }
.hero__media { position: relative; }
.hero__photo { overflow: hidden; aspect-ratio: 4 / 4.5; border-radius: 22px; background: var(--blue-50); box-shadow: 0 34px 60px -34px rgba(10, 36, 99, 0.5); }
.hero__photo img, .er__photo img, .split__photo img, .page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.status { position: absolute; bottom: 28px; inset-inline-start: -28px; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(10, 36, 99, 0.4); transition: transform 0.2s; }
.status:hover { transform: translateY(-2px); }
.status strong { display: block; font-size: 15px; font-weight: 600; }
.status > span:not(.pulse) > span { font-size: 13.5px; color: var(--ink-3); }
.status .ic--arrow { width: 18px; height: 18px; color: var(--navy-800); }
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { aspect-ratio: 4 / 3; }
  .status { inset-inline-start: 16px; bottom: 16px; }
}

.quick { position: relative; z-index: 2; margin-top: calc(-1 * clamp(44px, 5vw, 64px)); }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.quick__item { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-content: start; height: 100%; padding: 22px; border-inline-start: 1px solid var(--line); transition: background 0.2s; }
.quick__grid li:first-child .quick__item { border-inline-start: 0; }
.quick__item:hover { background: var(--blue-50); }
.quick__ic { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--navy-800); transition: background 0.2s; }
.quick__item:hover .quick__ic { background: #fff; }
.quick__ic .ic { width: 24px; height: 24px; }
.quick__item--er .quick__ic { background: var(--red-50); color: var(--red); }
.quick__t { font-size: 16px; font-weight: 600; }
.quick__p { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
@media (max-width: 980px) {
  .quick__grid { grid-template-columns: 1fr 1fr; }
  .quick__grid li:nth-child(3) .quick__item { border-inline-start: 0; }
  .quick__grid li:nth-child(n + 3) .quick__item { border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .quick__grid { grid-template-columns: 1fr; }
  .quick__grid li .quick__item { border-inline-start: 0; }
  .quick__grid li + li .quick__item { border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec--soft { background: var(--soft); }
.sec__head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__head > p { max-width: 56ch; font-size: 17px; color: var(--ink-2); }
.sec h2, .er h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -0.016em; color: var(--navy-900); text-wrap: balance; }
:root[lang="ar"] .sec h2, :root[lang="ar"] .er h2 { line-height: 1.42; letter-spacing: 0; }
@media (max-width: 860px) { .sec__head { grid-template-columns: 1fr; } }
.note { margin-top: 16px; font-size: 14.5px; color: var(--ink-3); }
.note a { color: var(--navy-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* specialties */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
a.spec:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow); }
.spec__ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 12px; background: var(--blue-50); color: var(--navy-800); }
.spec__ic .ic { width: 28px; height: 28px; }
.spec h3 { font-size: 18px; line-height: 1.3; font-weight: 600; }
.spec p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.spec .spec__tags { font-size: 13.5px; color: var(--ink-3); }
.spec__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--navy-800); }
.spec__more .ic { width: 16px; height: 16px; transition: transform 0.2s; }
a.spec:hover .spec__more .ic { transform: translateX(3px); }
[dir="rtl"] a.spec:hover .spec__more .ic { transform: translateX(-3px); }
.spec--new { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.spec--new p { color: #c6d3ef; }
.spec--new .spec__ic { background: rgba(255, 255, 255, 0.12); color: #fff; }
.spec__call { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--navy-800); font-weight: 600; }
.spec__call .ic { width: 18px; height: 18px; }
@media (max-width: 1100px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .specs { grid-template-columns: 1fr; } }

/* emergency band */
.er { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0; background: var(--navy-900); color: #dde5f4; }
.er::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 75% at 100% 0%, rgba(37, 84, 200, 0.4), transparent 62%); }
[dir="rtl"] .er::before { background: radial-gradient(55% 75% at 0% 0%, rgba(37, 84, 200, 0.4), transparent 62%); }
.er__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.er h2 { color: #fff; }
.er__lead { margin-top: 16px; max-width: 52ch; font-size: 18px; color: #c6d1e8; }
.er__sub { margin-top: 30px; font-size: 15.5px; font-weight: 600; color: #fff; }
.er__list { display: grid; gap: 10px; margin-top: 14px; }
.er__list li { display: flex; gap: 12px; font-size: 16px; }
.er__list .ic { width: 18px; height: 18px; margin-top: 4px; color: #ff6f80; }
:root[lang="ar"] .er__list .ic { margin-top: 7px; }
.er__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.er__media { position: relative; }
.er__photo { overflow: hidden; aspect-ratio: 4 / 4.3; border-radius: 22px; }
.er__phones { position: absolute; inset-inline: 18px; bottom: 18px; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.55); }
.er__phones a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; color: var(--ink); font-size: 16.5px; font-weight: 600; }
.er__phones li + li a { border-top: 1px solid var(--line); }
.er__phones a:hover { background: var(--soft); }
.er__phones .ic { width: 18px; height: 18px; color: var(--red); }
.er__phones small { margin-inline-start: auto; font-size: 13px; font-weight: 500; color: var(--ink-3); }
@media (max-width: 980px) { .er__grid { grid-template-columns: 1fr; } .er__photo { aspect-ratio: 4 / 3; } }

/* laboratory */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__photo { overflow: hidden; aspect-ratio: 4 / 4.5; border-radius: 22px; }
.split__lead { margin-top: 16px; font-size: 17.5px; color: var(--ink-2); }
.split .btn { margin-top: 26px; }
.tests { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 24px; }
.tests div { padding: 12px 0; border-top: 1px solid var(--line); }
.tests dt { display: flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 600; }
.tests dt::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--teal); }
.tests dd { margin-top: 2px; padding-inline-start: 16px; font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } .split__photo { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .tests { grid-template-columns: 1fr; } }

/* prevention */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check { display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.check__ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--teal-50); color: var(--teal); }
.check__ic .ic { width: 24px; height: 24px; }
.check h3 { font-size: 17px; font-weight: 600; }
.check p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.sec--soft .note { margin-top: 24px; text-align: center; }
@media (max-width: 980px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .checks { grid-template-columns: 1fr; } }

/* questions */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__side { position: sticky; top: 112px; }
.faq__side > p:not(.kicker) { margin-top: 14px; max-width: 40ch; font-size: 16.5px; color: var(--ink-2); }
.faq__side .btn { margin-top: 26px; }
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa h3 { font-size: 17px; font-weight: 600; line-height: 1.45; transition: color 0.15s; }
.qa summary:hover h3 { color: var(--navy-800); }
.qa__sign { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--blue-50); }
.qa__sign::before, .qa__sign::after { content: ""; position: absolute; inset: 0; width: 12px; height: 2px; margin: auto; border-radius: 2px; background: var(--navy-800); transition: transform 0.2s; }
.qa__sign::after { transform: rotate(90deg); }
.qa[open] .qa__sign::after { transform: rotate(0deg); }
.qa > p { max-width: 68ch; padding-bottom: 22px; font-size: 16px; color: var(--ink-2); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__side { position: static; } }

/* location */
.loc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: stretch; }
.loc__card { padding: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.loc__lead { margin-top: 12px; color: var(--ink-2); }
.info { display: grid; gap: 18px; margin: 26px 0 30px; }
.info dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
:root[lang="ar"] .info dt { font-size: 14px; letter-spacing: 0; }
.info dt .ic { width: 18px; height: 18px; color: var(--teal); }
.info dd { margin-top: 4px; padding-inline-start: 26px; font-size: 16.5px; }
.info dd a { display: block; width: fit-content; font-weight: 600; color: var(--navy-800); }
.info dd a:hover { text-decoration: underline; }
.loc__map { position: relative; overflow: hidden; min-height: 440px; border: 1px solid var(--line); border-radius: 18px; background: var(--blue-50); }
.loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .loc { grid-template-columns: 1fr; } .loc__map { min-height: 320px; } }

/* ---------------------------------------------------------------- service pages */
.page-hero { padding: clamp(26px, 3.5vw, 44px) 0 clamp(48px, 6vw, 76px); background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 22px; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--line-2); }
.crumbs a { font-weight: 500; color: var(--navy-800); }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { margin-top: 18px; font-size: clamp(32px, 4vw, 50px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--navy-900); text-wrap: balance; }
:root[lang="ar"] .page-hero h1 { line-height: 1.42; letter-spacing: 0; }
.book { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.book .ic { width: 18px; height: 18px; color: var(--teal); }
.page-hero__photo { overflow: hidden; aspect-ratio: 4 / 3.3; border-radius: 20px; background: var(--blue-50); box-shadow: 0 28px 54px -30px rgba(10, 36, 99, 0.5); }
@media (max-width: 980px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__photo { aspect-ratio: 16 / 9; } }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; padding: clamp(44px, 6vw, 76px) 0 clamp(64px, 8vw, 104px); }
.intro { padding-inline-start: 20px; border-inline-start: 4px solid var(--teal); font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.65; }
.block { margin-top: clamp(40px, 5vw, 56px); }
.block h2 { margin-bottom: 18px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; font-weight: 700; color: var(--navy-900); }
.block .ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.block .ticks li { font-size: 16.5px; }
.layout .tests { margin-top: 0; }
.alert { display: flex; gap: 12px; margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: var(--red-50); border: 1px solid var(--red-line); color: #7d0a1d; font-size: 15.5px; line-height: 1.6; }
.alert .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--red); }
.alert a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.steps li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 600; }
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }
.layout__side { position: sticky; top: 104px; display: grid; gap: 16px; }
.side { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.side h2 { margin-bottom: 12px; font-size: 16.5px; font-weight: 700; color: var(--navy-900); }
.side--er { background: var(--red-50); border-color: var(--red-line); }
.side__status { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--red); }
.side--er > p:not(.side__status) { margin: 8px 0 16px; font-size: 15px; color: #5f1222; }
.side__phones { display: grid; margin-bottom: 8px; }
.side__phones a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 600; color: var(--navy-800); }
.side__phones a:hover span { text-decoration: underline; }
.side__phones .ic, .side__line .ic { width: 18px; height: 18px; color: var(--teal); }
.side__phones small { margin-inline-start: auto; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.side__line { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.side__line .ic { margin-top: 4px; }
.side .btn { margin-top: 12px; }
.side__nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 15px; color: var(--ink-2); }
.side__nav a:hover, .side__nav a[aria-current] { background: var(--blue-50); color: var(--navy-800); }
.side__nav a[aria-current] { font-weight: 600; }
.side__nav .ic { width: 20px; height: 20px; color: var(--navy-800); }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; } .layout__side { position: static; } }
@media (max-width: 640px) { .block .ticks { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer + phone call bar */
.footer { background: var(--navy-950); color: #c3cee5; }
.footer__cta { background: var(--navy-800); }
.footer__cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 44px 0; }
.footer__cta h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; font-weight: 700; color: #fff; }
.footer__cta p { margin-top: 6px; max-width: 60ch; color: #c6d3ef; }
.footer__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 40px; padding: 64px 0 48px; }
.brand--light .brand__seal { width: 80px; height: 80px; }
.brand--light .brand__name small { color: #9fb0d2; }
.brand--light .brand__name b { color: #fff; }
.footer__brand > p { margin-top: 18px; max-width: 36ch; font-size: 15px; color: #a9b7d3; }
.footer__fb { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 500; color: #fff; }
.footer__fb:hover { text-decoration: underline; }
.footer__col h3 { margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #8b9dc2; }
:root[lang="ar"] .footer__col h3 { font-size: 14px; letter-spacing: 0; }
.footer__col h3:not(:first-child) { margin-top: 26px; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a, .footer__col address, .footer__col p { color: #dbe3f3; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__col a.footer__link { display: inline-block; margin-top: 8px; color: #8fb3ff; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; color: #8b9dc2; }
.footer__langs { display: flex; gap: 18px; }
.footer__langs a { color: #c3cee5; }
.footer__langs a:hover { color: #fff; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 26px -14px rgba(10, 36, 99, 0.3); transform: translateY(110%); transition: transform 0.25s; }
  .callbar.is-on { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 10px; font-size: 15px; font-weight: 600; }
  .callbar .ic { width: 19px; height: 19px; }
  .callbar__call { background: var(--navy-800); color: #fff; }
  .callbar__go { background: var(--blue-50); color: var(--navy-800); }
  .footer__legal { padding-bottom: 104px; }
}
@media (max-width: 380px) { .callbar__call > span:not([dir]) { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse::after { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 560px) {
  .hero__cta .btn, .er__actions .btn, .footer__cta-btns .btn, .footer__cta-btns { width: 100%; }
  .btn--lg { padding: 0 18px; }
}

/* ---------------------------------------------------------------- motion: calm, short, never in the way */
:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes photo-in { from { opacity: 0; transform: translateY(26px) scale(0.98); } }
@keyframes zoom-out { from { transform: scale(1.12); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.95); } }
@keyframes fade { from { opacity: 0; } }

/* the first screen enters once, on load */
.hero__text > *, .page-hero__text > * { animation: rise 0.8s var(--ease-out) backwards; }
.hero__text > :nth-child(2), .page-hero__text > :nth-child(2) { animation-delay: 0.1s; }
.hero__text > :nth-child(3), .page-hero__text > :nth-child(3) { animation-delay: 0.2s; }
.hero__text > :nth-child(4), .page-hero__text > :nth-child(4) { animation-delay: 0.3s; }
.hero__text > :nth-child(5), .page-hero__text > :nth-child(5) { animation-delay: 0.4s; }
.page-hero__text > :nth-child(6) { animation-delay: 0.5s; }
.hero h1 .label { animation: pop 0.7s var(--ease-out) backwards; }
.hero__photo, .page-hero__photo { animation: photo-in 1s var(--ease-out) backwards 0.05s; }
.hero__photo img, .page-hero__photo img { animation: zoom-out 2.4s var(--ease-out) backwards; }
.status { animation: pop 0.7s var(--ease-out) backwards 0.75s; }
.quick__grid { animation: rise 0.9s var(--ease-out) backwards 0.45s; }

/* everything else glides in as it reaches the screen (html.js only) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--delay, 0ms); }
.js .reveal--late { transition-delay: calc(var(--delay, 0ms) + 120ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--photo img { transform: scale(1.1); transition: transform 1.6s var(--ease-out); }
.js .reveal--photo.is-in img { transform: none; }

/* heartbeat: the mini trace in the "open now" card, the monitor line in the emergency band */
.ecg-mini { width: 44px; height: 18px; flex: none; }
.ecg-mini path { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: ecg-draw 2.2s linear infinite; }
@keyframes ecg-draw { 0% { stroke-dashoffset: 100; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.ecg { position: absolute; inset-inline: 0; bottom: clamp(14px, 3vw, 34px); width: 100%; height: 72px; pointer-events: none; }
.ecg path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ecg__base { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1.5; }
.ecg__trace { stroke: #ff5c70; stroke-width: 2; stroke-dasharray: 130 870; filter: drop-shadow(0 0 5px rgba(255, 92, 112, 0.7)); animation: ecg-run 5.5s linear infinite; }
@keyframes ecg-run { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

/* the phone on the main call buttons rings now and then */
@keyframes ring { 0%, 16%, 100% { transform: rotate(0); } 2%, 6%, 10% { transform: rotate(-16deg); } 4%, 8%, 12% { transform: rotate(16deg); } }
.hero__cta .btn--primary > .ic, .page-hero .btn--primary > .ic, .btn--danger > .ic, .callbar__call > .ic, .header__call > .ic { animation: ring 4.5s ease-in-out infinite 1.5s; }

/* header settles smaller once the page scrolls */
.header__in { transition: min-height 0.25s var(--ease-out); }
.brand__seal { transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out); }
@media (min-width: 1101px) {
  .header.is-stuck .header__in { min-height: 68px; }
  .header.is-stuck .brand__seal { width: 46px; height: 46px; }
  .menu__list a { position: relative; }
  .menu__list a::after { content: ""; position: absolute; inset-inline: 11px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease-out); }
  [dir="rtl"] .menu__list a::after { transform-origin: right; }
  .menu__list a:hover { background: none; }
  .menu__list a:hover::after { transform: scaleX(1); }
}

/* icons answer the pointer */
.spec__ic, .quick__ic, .check__ic, .side__nav .ic { transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-out); }
a.spec:hover .spec__ic { background: var(--navy-800); color: #fff; transform: scale(1.06); }
.quick__item:hover .quick__ic { background: var(--navy-800); color: #fff; transform: scale(1.06); }
.quick__item--er:hover .quick__ic { background: var(--red); color: #fff; }
.check { transition: border-color 0.25s, box-shadow 0.25s; }
.check:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.check:hover .check__ic { background: var(--teal); color: #fff; }
.side__nav a:hover .ic { transform: scale(1.12); }
.split__photo img, .er__photo img { transition: transform 1.2s var(--ease-out); }
.split__photo:hover img, .er__photo:hover img { transform: scale(1.03); }
.er__phones a, .side__phones a, .info dd a { transition: background 0.2s, color 0.2s; }

/* questions open and close smoothly where the browser can */
.qa[open] > p { animation: fade 0.45s var(--ease-out); }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height 0.35s var(--ease-out), content-visibility 0.35s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .reveal--photo img { opacity: 1; transform: none; transition: none; }
  .ecg__trace { stroke-dasharray: none; filter: none; opacity: 0.35; }
}
