/* Hippocrates International Hospital — site styles
   Layout concept: the brand banner's white medallion on deep royal blue opens every page;
   below it, calm paper-white reading surfaces with navy ink and a single gold accent. */
:root {
  --royal: #0E2C6B;        /* banner blue */
  --royal-deep: #061840;   /* banner shadow */
  --ink: #1F2848;          /* logo navy */
  --ink-soft: #4A5372;
  --paper: #F6F2EE;        /* flyer cream */
  --surface: #FFFFFF;
  --line: #DCD5CE;
  --gold: #D6AA63;         /* flyer gold, fills */
  --gold-ink: #8A6424;     /* gold for text on light */
  --espresso: #3B2D25;
  --alert: #A4262C;
  --alert-bg: #FCEFEF;
  --alert-line: #E8B4B6;
  --on-royal: #F4EFE9;
  --btn-bg: var(--royal);
  --btn-fg: #FFFFFF;
  --ph-bg: #EAE4DD;
  --ph-ink: #6B6457;
  --focus: #D6AA63;
  --f-display: "Gelasio", Georgia, "Times New Roman", serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: 0.875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: 2.1rem; --step-4: 2.9rem;
  --radius: 14px;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --royal: #0B2459; --royal-deep: #040F2B; --ink: #ECE6DE; --ink-soft: #B5B9C9;
    --paper: #0C1531; --surface: #131F42; --line: #2A3760; --gold: #D6AA63; --gold-ink: #E2BC7C;
    --espresso: #E9DCCF; --alert: #FF8F94; --alert-bg: #2A1320; --alert-line: #6E2B36;
    --on-royal: #F4EFE9; --btn-bg: #D6AA63; --btn-fg: #14183A; --ph-bg: #1B2850; --ph-ink: #AEB5CC; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --royal: #0B2459; --royal-deep: #040F2B; --ink: #ECE6DE; --ink-soft: #B5B9C9;
  --paper: #0C1531; --surface: #131F42; --line: #2A3760; --gold: #D6AA63; --gold-ink: #E2BC7C;
  --espresso: #E9DCCF; --alert: #FF8F94; --alert-bg: #2A1320; --alert-line: #6E2B36;
  --on-royal: #F4EFE9; --btn-bg: #D6AA63; --btn-fg: #14183A; --ph-bg: #1B2850; --ph-ink: #AEB5CC; color-scheme: dark;
}
html[lang="ar"] { --f-display: "Noto Naskh Arabic", "Gelasio", serif; --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--royal-deep); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.2; text-wrap: balance; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, var(--step-4)); }
h2 { font-size: clamp(1.6rem, 3.4vw, var(--step-3)); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.prose { max-width: 68ch; display: grid; gap: 1em; }
.eyebrow { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--surface); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

/* Utility bar: the emergency line on every page */
.ebar { background: var(--alert); color: #fff; font-size: var(--step--1); }
:root[data-theme="dark"] .ebar { color: #1a0a0c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ebar { color: #1a0a0c; } }
.ebar .wrap { display: flex; gap: .5rem 1rem; align-items: center; justify-content: center; flex-wrap: wrap; padding-block: .45rem; text-align: center; }
.ebar a { font-weight: 700; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--royal-deep); color: var(--on-royal); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; }
.brand .disc { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.brand .disc img { width: 40px; }
.brand b { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; line-height: 1.15; display: block; }
.brand small { font-size: .75rem; opacity: .8; display: block; }
.nav { order: 3; flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: .4rem; margin-inline: -.6rem; }
.nav a { text-decoration: none; padding: .45rem .6rem; border-radius: 8px; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.2rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; }
.btn-gold { background: var(--gold); color: #14183A; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { border-color: rgba(244,239,233,.55); color: var(--on-royal); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-solid { background: var(--btn-bg); color: var(--btn-fg); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.header-actions .btn { padding: .55rem 1rem; font-size: .95rem; }

/* Language menu (details/summary, no JS needed) */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .35rem; padding: .5rem .7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .9rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: .4rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; min-width: 180px; box-shadow: 0 12px 30px rgba(6,24,64,.25); }
.lang li a { display: block; padding: .5rem .7rem; border-radius: 8px; text-decoration: none; }
.lang li a:hover, .lang li a[aria-current="true"] { background: var(--paper); }

/* Mobile menu */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; padding: .5rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .9rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; inset-inline: 0; top: 100%; background: var(--royal-deep); padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: .1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.menu nav a { padding: .7rem .4rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 1000px) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 560px) { .lang .lname { display: none; } .site-header .wrap { flex-wrap: nowrap; } .brand small { display: none; } .brand b { font-size: .95rem; } .header-actions .book { display: none; } .brand .disc { width: 44px; height: 44px; } .brand .disc img { width: 34px; } }

/* Hero: the banner's medallion */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(255,255,255,.07), transparent 60%), radial-gradient(900px 600px at 10% 120%, rgba(0,0,0,.35), transparent 60%), var(--royal); color: var(--on-royal); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2rem, 5vw, 4.5rem); }
.medallion { position: relative; aspect-ratio: 1; width: 100%; max-width: 100%; }
.medallion::before { content: ""; position: absolute; width: 150%; aspect-ratio: 1; top: 50%; right: -4%; transform: translateY(-50%); background: #fff; border-radius: 50%; }
html[dir="rtl"] .medallion::before { right: auto; left: -4%; }
.medallion img { position: relative; width: 78%; margin: 6% auto 0; }
.hero h1 { font-weight: 500; font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.hero .lede { font-size: var(--step-1); margin-top: 1rem; max-width: 46ch; opacity: .92; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.hero .facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.6rem; font-size: var(--step--1); opacity: .85; padding: 0; list-style: none; }
.hero .facts li::before { content: "◆"; color: var(--gold); margin-inline-end: .5rem; font-size: .7em; vertical-align: .15em; }
.hero .operated { margin-top: 1.2rem; font-family: var(--f-display); opacity: .75; font-size: var(--step--1); }
@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: start; }
  .medallion { max-width: 200px; margin-block: .5rem 1.5rem; }
  .medallion::before { width: 125%; right: -6%; }
}

/* Page title band (interior pages) */
.page-head { background: var(--royal); color: var(--on-royal); }
.page-head .wrap { padding-block: clamp(2rem, 4vw, 3.2rem); display: grid; gap: .8rem; }
.page-head p { max-width: 62ch; font-size: var(--step-1); opacity: .9; }
.crumbs { font-size: var(--step--1); opacity: .8; display: flex; gap: .4rem; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.page-head .eyebrow { color: var(--gold); }

/* Sections */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section.alt { background: var(--surface); }
.section-head { display: grid; gap: .6rem; margin-bottom: 1.8rem; max-width: 70ch; }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); }
.grid { display: grid; gap: 1.2rem; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Safety notices */
.notices { background: var(--paper); }
.notices .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.2rem; padding-block: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 900px) { .notices .wrap { grid-template-columns: 1fr; } }
.notice { border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); display: grid; gap: .9rem; align-content: start; }
.notice h2 { font-size: var(--step-2); display: flex; gap: .7rem; align-items: flex-start; }
.notice .ico { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-body); font-weight: 800; font-size: 1.1rem; margin-top: .1rem; }
.notice-emergency { background: var(--alert-bg); border: 2px solid var(--alert-line); }
.notice-emergency h2 { color: var(--alert); }
.notice-emergency .ico { background: var(--alert); color: var(--alert-bg); }
.notice-law { background: var(--surface); border: 2px solid var(--gold); }
.notice-law .ico { background: var(--gold); color: #14183A; }
.notice ul { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .3rem; }
.notice .cols { columns: 2 260px; column-gap: 2rem; }
.notice .cols li { break-inside: avoid; margin-bottom: .3rem; }
.do { display: grid; gap: .5rem; counter-reset: do; padding: 0; margin: 0; list-style: none; }
.do li { counter-increment: do; display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; align-items: start; }
.do li::before { content: counter(do); width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--alert); color: var(--alert-bg); font-weight: 800; font-size: .9rem; }
.numbers { display: flex; flex-wrap: wrap; gap: .5rem; }
.numbers span { background: var(--surface); border: 1px solid var(--alert-line); border-radius: 999px; padding: .3rem .8rem; font-size: var(--step--1); }
.numbers b { color: var(--alert); font-size: 1.05rem; margin-inline-end: .35rem; font-variant-numeric: tabular-nums; }
.small { font-size: var(--step--1); color: var(--ink-soft); }

/* Destination buttons (home) */
.destinations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.dest { display: grid; gap: .4rem; padding: 1.3rem 1.3rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; position: relative; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.dest:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 10px 26px rgba(6,24,64,.12); }
.dest b { font-family: var(--f-display); font-size: var(--step-1); font-weight: 600; display: flex; justify-content: space-between; gap: .5rem; }
.dest b::after { content: "→"; color: var(--gold-ink); font-family: var(--f-body); }
html[dir="rtl"] .dest b::after { content: "←"; }
.dest span { color: var(--ink-soft); font-size: .97rem; }
.dest-terms { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; background: var(--royal); color: var(--on-royal); border-color: transparent; }
.dest-terms span { color: var(--on-royal); opacity: .85; }
.dest-terms .sub { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 640px) { .dest-terms { grid-template-columns: 1fr; } }

/* Steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 3rem 1fr; gap: .9rem; }
.steps li::before { content: counter(st); width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; font-family: var(--f-display); font-size: 1.15rem; color: var(--gold-ink); }
.steps h3 { margin-bottom: .2rem; }
.steps p { color: var(--ink-soft); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.card .body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .45rem; align-content: start; }
.card .body p { color: var(--ink-soft); font-size: .98rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.feature { display: grid; gap: .4rem; padding-top: 1rem; border-top: 2px solid var(--gold); }
.feature p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; }
.checks li::before { content: "✓"; color: var(--gold-ink); font-weight: 800; }

/* Image placeholders: numbered slots */
.ph { margin: 0; width: 100%; max-width: 100%; background: repeating-linear-gradient(135deg, var(--ph-bg) 0 14px, color-mix(in srgb, var(--ph-bg) 85%, var(--ink) 4%) 14px 28px); color: var(--ph-ink); display: grid; place-content: center; text-align: center; gap: .15rem; padding: 1rem; border-radius: var(--radius); }
.card .ph { border-radius: 0; }
.ph strong { font-family: var(--f-display); font-size: 1.6rem; color: var(--ink); letter-spacing: .02em; }
.ph small { font-size: .82rem; font-variant-numeric: tabular-nums; }
.photo { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }
.card .photo { border-radius: 0; }
.banner-ph { margin-top: -1px; }
.banner-ph .ph, .banner-ph .photo { border-radius: 0; }

/* Providers */
.provider .ph, .provider .photo { aspect-ratio: 4 / 5; }
.provider dl { margin: .3rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; font-size: .92rem; }
.provider dt { color: var(--ink-soft); }
.provider dd { margin: 0; }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .2rem 1.1rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: .8rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-ink); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1rem; color: var(--ink-soft); display: grid; gap: .6rem; }

/* Callout band */
.band { background: var(--royal); color: var(--on-royal); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 4vw, 2.6rem); display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; }
.band p { opacity: .88; margin-top: .4rem; }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; } }
.social { display: flex; gap: .6rem; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 700; border: 1px solid currentColor; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Contact */
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: .5rem; align-content: start; }
.copyline { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.copyline code { font-family: var(--f-body); font-weight: 700; font-size: 1.02rem; user-select: all; overflow-wrap: anywhere; }
.copy { font: inherit; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
address { font-style: normal; }

/* Legal documents */
.legal-layout { display: grid; grid-template-columns: 290px 1fr; gap: 2.5rem; align-items: start; }
.legal-layout > * { min-width: 0; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 140px); max-height: calc(100vh - 160px); overflow: auto; font-size: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.toc h2 { font-size: 1rem; margin-bottom: .5rem; }
.toc ol { margin: 0 0 .8rem; padding-inline-start: 1.6rem; display: grid; gap: .15rem; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.toc .doc-title { font-weight: 700; margin: .6rem 0 .3rem; color: var(--ink); }
@media (max-width: 960px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; max-height: none; } }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3.5vw, 2.6rem); margin-bottom: 2rem; }
.doc > header { border-bottom: 2px solid var(--gold); padding-bottom: 1rem; margin-bottom: 1.4rem; display: grid; gap: .4rem; }
.doc .meta { font-size: var(--step--1); color: var(--ink-soft); }
.doc .part { font-size: var(--step-2); margin: 2rem 0 1rem; color: var(--royal); }
:root[data-theme="dark"] .doc .part { color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .doc .part { color: var(--gold); } }
.clause, [id] { scroll-margin-top: 150px; } .clause { margin-top: 1.6rem; }
.clause h3 { font-size: 1.15rem; margin-bottom: .6rem; display: flex; gap: .7rem; }
.clause h3 .n { color: var(--gold-ink); font-variant-numeric: tabular-nums; min-width: 2.2rem; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.items > li { display: grid; grid-template-columns: 3.2rem 1fr; gap: .4rem; }
.items > li > .n { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: .95rem; padding-top: .05rem; }
.items > li > div { display: grid; gap: .4rem; min-width: 0; }
.subs { list-style: none; margin: .1rem 0 0; padding: 0; display: grid; gap: .3rem; }
.subs li { display: grid; grid-template-columns: 2rem 1fr; gap: .2rem; }
.subs li .n { color: var(--ink-soft); }
.defs { display: grid; gap: .6rem; margin: .4rem 0 0; }
.defs div { display: grid; gap: .1rem; }
.defs dt { font-weight: 700; }
.defs dd { margin: 0; }
.plain { display: grid; gap: .6rem; margin-bottom: .8rem; }
.bul { margin: .2rem 0 .6rem; padding-inline-start: 1.3rem; display: grid; gap: .4rem; }
.legal-note { background: var(--paper); border-inline-start: 4px solid var(--gold); padding: .9rem 1.1rem; border-radius: 8px; font-size: .95rem; }

/* Footer */
.site-footer { background: var(--royal-deep); color: var(--on-royal); margin-top: 0; }
.site-footer .wrap { padding-block: 3rem 1.5rem; display: grid; gap: 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1rem; margin-bottom: .7rem; color: var(--gold); font-family: var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .site-footer h2 { letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer a { text-decoration: none; opacity: .88; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer p, .site-footer address { opacity: .85; font-size: .95rem; }
.foot-logo { width: 120px; filter: none; }
.legalline { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; font-size: .85rem; opacity: .8; }
.foot-emergency { background: rgba(164,38,44,.18); border: 1px solid rgba(255,143,148,.35); border-radius: 12px; padding: .9rem 1.1rem; font-size: .95rem; }

/* ===== v2: scientific & elegant layer ===================================== */
:root { --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; --danger-bg: #A4262C; --danger-fg: #FFFFFF; }
:root[data-theme="dark"] { --danger-bg: #FF8F94; --danger-fg: #1a0a0c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --danger-bg: #FF8F94; --danger-fg: #1a0a0c; } }
html[lang="el"] { --f-display: "Noto Serif", "Gelasio", Georgia, serif; }
html[lang="ur"] { --f-display: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif; --f-body: "Noto Nastaliq Urdu", "Noto Naskh Arabic", Tahoma, sans-serif; }
html[lang="ur"] body { line-height: 2.1; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3 { line-height: 1.9; }
html[lang="ur"] .eyebrow, html[lang="el"] .eyebrow { letter-spacing: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang li a { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.lang li small { font-size: .72rem; color: var(--ink-soft); font-family: var(--f-mono); }

/* Eyebrows as scientific labels */
.eyebrow { font-family: var(--f-mono); font-weight: 500; font-size: .78rem; }
html[lang="ar"] .eyebrow, html[lang="ur"] .eyebrow { font-family: var(--f-body); font-size: .9rem; }

/* Hero: globe + medallion pulse + clocks */
.hero { position: relative; }
.hero .wrap { position: relative; z-index: 1; }
.globe { position: absolute; z-index: 0; width: min(760px, 70vw); aspect-ratio: 1; right: -20%; top: 46%; transform: translateY(-50%); pointer-events: none; opacity: .75; }
html[dir="rtl"] .globe { right: auto; left: -20%; }
.hero-copy { position: relative; }
.medallion img { animation: none; }
.medallion::after { content: ""; position: absolute; inset: -2%; border-radius: 50%; border: 1px solid rgba(214,170,99,.45); animation: ring 4.5s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }
.hero h1 em { font-style: italic; color: var(--gold); }
html[dir="rtl"] .hero h1 em { font-style: normal; }
.clocks { position: relative; z-index: 1; background: rgba(4,15,43,.45); border-top: 1px solid rgba(244,239,233,.12); backdrop-filter: blur(4px); }
.clocks .wrap { display: flex; align-items: center; gap: .6rem 1.4rem; padding-block: .7rem; flex-wrap: wrap; }
.clocks-label { font-family: var(--f-display); font-style: italic; opacity: .85; }
html[lang="ar"] .clocks-label, html[lang="ur"] .clocks-label { font-style: normal; }
.clocks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.clocks li { display: flex; gap: .45rem; align-items: baseline; font-size: .88rem; }
.clocks .city { opacity: .75; }
.clocks time { font-family: var(--f-mono); color: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 780px) { .globe { width: 120vw; right: -45%; top: 30%; opacity: .45; } html[dir="rtl"] .globe { left: -45%; } }

/* Finder */
.finder-sec { background: linear-gradient(180deg, var(--paper), var(--surface)); }
.finder { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(1.3rem, 4vw, 2.6rem); display: grid; gap: 1.4rem; box-shadow: 0 30px 60px -40px rgba(6,24,64,.45); position: relative; overflow: hidden; }
.finder::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; opacity: .35; pointer-events: none; mask-image: linear-gradient(135deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(135deg, #000, transparent 55%); }
.finder > * { position: relative; }
.finder-head { display: grid; gap: .5rem; max-width: 62ch; }
.finder-head p { color: var(--ink-soft); }
.finder-step { display: grid; gap: 1rem; animation: fadeup .35s ease; }
@keyframes fadeup { from { transform: translateY(8px); } to { transform: none; } }
.q { font-family: var(--f-display); font-size: var(--step-1); display: flex; gap: .8rem; align-items: baseline; }
.qn { font-family: var(--f-mono); font-size: .8rem; color: var(--gold-ink); border: 1px solid var(--gold); border-radius: 999px; padding: .1rem .55rem; }
.finder-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.btn-danger { background: var(--danger-bg); color: var(--danger-fg); }
.btn-link { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; padding-inline: .4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font: inherit; cursor: pointer; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .15s, background .15s, transform .15s; }
.chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--royal); color: var(--on-royal); border-color: var(--royal); }
.dep-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .7rem; }
.dep-link { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 12px; background: var(--paper); border: 1px solid var(--gold); text-decoration: none; }
.dep-link b { font-family: var(--f-display); font-weight: 600; }
.dep-link span { color: var(--gold-ink); }
html[dir="rtl"] .dep-link span { transform: scaleX(-1); }

/* Checklist */
.checklist { display: grid; gap: .55rem; }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: .6rem; align-items: start; cursor: pointer; padding: .45rem .5rem; border-radius: 10px; transition: background .15s; }
.check:hover { background: var(--paper); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { width: 1.25rem; height: 1.25rem; margin-top: .2rem; border: 2px solid var(--gold); border-radius: 5px; display: grid; place-items: center; }
.check input:checked + .box { background: var(--gold); }
.check input:checked + .box::after { content: "✓"; color: #14183A; font-weight: 800; font-size: .85rem; line-height: 1; }
.check input:focus-visible + .box { outline: 3px solid var(--focus); outline-offset: 2px; }
.meter { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s ease; }
.ready { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; font-weight: 700; color: var(--gold-ink); }

/* Search */
.searchbar { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; max-width: 560px; }
.searchbar input { flex: 1; min-width: 0; font: inherit; padding: .8rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.searchbar input:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.searchbar .count { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-soft); }

/* Reveal: always visible; only motion is added */
.reveal.pre { transform: translateY(18px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.pre.in { transform: none; }

/* Floating book button (phones) */
.fab { display: none; }
@media (max-width: 560px) {
  .fab { display: inline-flex; position: fixed; z-index: 40; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--gold); color: #14183A; padding: .85rem 1.2rem; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px rgba(6,24,64,.35); transform: translateY(160%); transition: transform .3s ease; }
  .fab.show { transform: none; }
  html[dir="rtl"] .fab { right: auto; left: calc(16px + env(safe-area-inset-left, 0px)); }
  .site-footer .wrap { padding-bottom: 5rem; }
}
@media (prefers-reduced-motion: reduce) { .medallion::after { display: none; } }

/* ===== v3: photo hero, world band, small marks ============================ */
.seal { width: 28px; height: 28px; object-fit: contain; display: inline-block; vertical-align: middle; flex: none; }
.with-seal, .hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; }
.brand .disc img { width: 38px; height: 38px; object-fit: contain; }

.hero-photo { position: relative; min-height: clamp(520px, 72vh, 760px); display: grid; align-items: center; isolation: isolate; }
.hero-photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6,24,64,.94) 0%, rgba(6,24,64,.82) 38%, rgba(6,24,64,.35) 70%, rgba(6,24,64,.15) 100%); }
html[dir="rtl"] .hero-photo::after { background: linear-gradient(270deg, rgba(6,24,64,.94) 0%, rgba(6,24,64,.82) 38%, rgba(6,24,64,.35) 70%, rgba(6,24,64,.15) 100%); }
.hero-ph { background: repeating-linear-gradient(135deg, #16357a 0 18px, #1a3b85 18px 36px); display: flex; align-items: flex-end; justify-content: flex-end; padding: 1.2rem max(16px, env(safe-area-inset-right, 0px)); color: #F4EFE9; font-family: var(--f-mono); font-size: .85rem; }
html[dir="rtl"] .hero-ph { justify-content: flex-start; }
.hero-ph span { background: rgba(6,24,64,.6); border: 1px dashed rgba(244,239,233,.5); padding: .4rem .8rem; border-radius: 8px; }
.hero-photo .wrap { grid-template-columns: 1fr; padding-block: clamp(3rem, 8vw, 6rem); width: 100%; }
.hero-photo .hero-copy { max-width: 640px; }
.hero-photo .hero-eyebrow .seal { width: 34px; height: 34px; }
@media (max-width: 780px) { .hero-photo::after { background: linear-gradient(180deg, rgba(6,24,64,.55), rgba(6,24,64,.92) 55%); } }

.world { background: radial-gradient(800px 400px at 80% 50%, rgba(255,255,255,.06), transparent 60%), var(--royal-deep); color: var(--on-royal); overflow: hidden; }
.world-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.world-grid > * { min-width: 0; }
.world-copy { display: grid; gap: .8rem; align-content: center; }
.world-copy .seal { width: 40px; height: 40px; }
.world-copy p { opacity: .85; max-width: 48ch; }
.world .clocks-label { margin-top: .6rem; }
.clocks-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.4rem; }
.clocks-list li { display: flex; justify-content: space-between; gap: .8rem; border-bottom: 1px solid rgba(244,239,233,.12); padding-block: .35rem; }
.clocks-list .city { opacity: .8; }
.clocks-list time { font-family: var(--f-mono); color: var(--gold); font-variant-numeric: tabular-nums; }
.world-globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
.world .world-globe .globe { position: absolute; inset: 0; width: 100%; height: 100%; right: auto; left: auto; top: auto; transform: none; opacity: 1; }
@media (max-width: 860px) { .world-grid { grid-template-columns: 1fr; } .world-globe { max-width: 360px; order: -1; } }

.seal-disc { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: inline-grid; place-items: center; flex: none; box-shadow: 0 0 0 3px rgba(214,170,99,.35); }
.seal-disc img { width: 30px; height: 30px; object-fit: contain; }
.world-copy .seal-disc { width: 52px; height: 52px; } .world-copy .seal-disc img { width: 40px; height: 40px; }
:root[data-theme="dark"] .seal { filter: invert(1) brightness(1.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seal { filter: invert(1) brightness(1.6); } }
.hero-photo img.hero-bg { object-position: 72% 30%; }
html[dir="rtl"] .hero-photo img.hero-bg { object-position: 72% 30%; }
.hero-photo { min-height: clamp(480px, 60vh, 580px); }
.hero-photo img.hero-bg, html[dir="rtl"] .hero-photo img.hero-bg { object-position: 55% 22%; }
.hero-photo .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* Time-zone converter */
.tzc { background: rgba(244,239,233,.06); border: 1px solid rgba(244,239,233,.16); border-radius: calc(var(--radius) + 4px); padding: clamp(1.2rem, 3.5vw, 2rem); display: grid; gap: 1.2rem; }
.tzc-head h3 { font-size: var(--step-2); color: var(--on-royal); }
.tzc-head p { opacity: .82; margin-top: .3rem; max-width: 62ch; }
.tzc-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: start; }
.tzc-side { display: grid; gap: .45rem; min-width: 0; }
.tzc label, .tzc-res-label { font-size: .85rem; letter-spacing: .02em; opacity: .85; }
.tzc select, .tzc input { font: inherit; width: 100%; min-width: 0; padding: .7rem .9rem; border-radius: 10px; border: 1px solid rgba(244,239,233,.3); background: #F4EFE9; color: #14183A; }
.tzc select:focus, .tzc input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.tzc-when { display: grid; grid-template-columns: 1.3fr 1fr; gap: .6rem; }
.tzc-when span { display: grid; gap: .3rem; min-width: 0; }
.tzc-swap { align-self: center; margin-top: 1.4rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; color: var(--gold); font-size: 1.3rem; cursor: pointer; transition: transform .25s ease, background .2s; }
.tzc-swap:hover { background: rgba(214,170,99,.12); transform: rotate(180deg); }
.tzc-out { margin-top: .2rem; display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline; }
.tzc-out strong { font-family: var(--f-mono); font-size: clamp(2rem, 5vw, 2.8rem); color: var(--gold); font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tzc-date { opacity: .9; }
.tzc-diff { font-size: .9rem; opacity: .85; }
.tzc-diff b { color: var(--gold); font-weight: 600; }
@media (max-width: 760px) { .tzc-grid { grid-template-columns: 1fr; } .tzc-swap { margin: 0 auto; transform: rotate(90deg); } .tzc-swap:hover { transform: rotate(270deg); } }

/* Career band (home): inspired by the "Your Dream career!" artwork */
.career-band { background: radial-gradient(700px 420px at 15% 30%, rgba(214,170,99,.10), transparent 60%), #1F2A4F; color: var(--on-royal); padding-block: clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.career-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 500; }
.career-band h2 em { font-style: italic; color: var(--gold); display: block; }
html[dir="rtl"] .career-band h2 em { font-style: normal; }
.career-band .eyebrow { color: var(--gold); }
.career-band .checks li::before { color: var(--gold); }
.career-band .prose p { opacity: .9; }
.collage { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1.15; margin-inline: auto; }
.blob { position: absolute; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); will-change: transform; }
.blob-a { width: 38%; left: 0; top: 4%; animation: drift 9s ease-in-out infinite; }
.blob-b { width: 42%; left: 33%; top: 0; animation: drift 11s ease-in-out -3s infinite; }
.blob-c { width: 70%; left: 28%; top: 42%; z-index: 1; animation: drift 13s ease-in-out -6s infinite; }
html[dir="rtl"] .collage { direction: ltr; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(0, -10px) rotate(-.6deg); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

.tzc-big { display: inline-flex; align-items: baseline; font-family: var(--f-mono); font-size: clamp(2rem, 5vw, 2.8rem); color: var(--gold); line-height: 1.1; direction: ltr; }
.tzc-big select { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 2px dashed rgba(214,170,99,.55); border-radius: 0; padding: 0 .1rem; width: auto; -webkit-appearance: none; appearance: none; cursor: pointer; font-variant-numeric: tabular-nums; }
.tzc-big select:hover { border-bottom-color: var(--gold); }
.tzc-big select option { color: #14183A; background: #F4EFE9; font-size: 1rem; }
.tzc-big select:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.tzc-when1 { display: grid; gap: .3rem; max-width: 220px; }
.tzc-out strong { direction: ltr; }

html[lang="sd"] { --f-display: "Noto Naskh Arabic", "Gelasio", serif; --f-body: "Noto Naskh Arabic", Tahoma, sans-serif; }
html[lang="sd"] body { line-height: 1.9; }
html[lang="sd"] .eyebrow { font-family: var(--f-body); font-size: .9rem; letter-spacing: 0; }
html[lang="sd"] .site-footer h2 { letter-spacing: 0; }
.banner-ph img.photo { display: block; width: 100%; max-height: 78vh; object-fit: cover; object-position: 50% 90%; }

/* About: PSV callout, Hippocrates facts */
.psv { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 1.4rem; align-items: center; background: var(--royal); color: var(--on-royal); border-radius: calc(var(--radius) + 4px); padding: clamp(1.2rem, 3.5vw, 2rem); margin-bottom: 1.8rem; }
.psv h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.psv p { opacity: .9; max-width: 75ch; }
.psv-badge { width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-content: center; text-align: center; font-family: var(--f-mono); font-weight: 500; font-size: 1.3rem; color: var(--gold); letter-spacing: .06em; box-shadow: 0 0 0 6px rgba(214,170,99,.15); }
.psv-badge small { display: block; font-size: 1.1rem; line-height: 1; }
@media (max-width: 560px) { .psv { grid-template-columns: 1fr; } }
.facts-h { font-size: var(--step-1); margin-bottom: 1rem; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.fact { display: grid; grid-template-columns: 3rem 1fr; gap: .9rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.fact-n { font-family: var(--f-mono); color: var(--gold-ink); font-size: 1.3rem; border-bottom: 2px solid var(--gold); padding-bottom: .2rem; text-align: center; }
.fact h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.fact p { color: var(--ink-soft); font-size: .97rem; }
.model-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: .7rem 2rem; }

/* Departments tools + provider directory */
.field { display: grid; gap: .3rem; min-width: 0; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.field select, .field input { font: inherit; width: 100%; min-width: 0; padding: .75rem .95rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.field select:focus, .field input:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.field.grow { flex: 1 1 260px; }
.dep-tools { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: end; margin-bottom: 1.6rem; }
.dep-tools .field:first-child { flex: 0 1 300px; }
.dep-tools .searchbar { margin: 0; max-width: none; }
.dep-count { font-family: var(--f-mono); font-size: .85rem; color: var(--gold-ink); }
.dep-card .body .btn { justify-self: start; margin-top: .4rem; }
.dir { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1rem, 3vw, 1.6rem); display: grid; gap: 1rem; margin-bottom: 1.6rem; box-shadow: 0 24px 50px -40px rgba(6,24,64,.45); }
.dir-row { display: grid; grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); gap: .9rem; }
.dir-adv { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 1rem; border-top: 1px dashed var(--line); }
@media (max-width: 900px) { .dir-row, .dir-adv { grid-template-columns: 1fr 1fr; } .dir-row .field.grow { grid-column: 1 / -1; } }
@media (max-width: 520px) { .dir-row, .dir-adv { grid-template-columns: 1fr; } }
.dir-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.dir-actions .btn { padding: .55rem 1rem; font-size: .95rem; }
.dir-adv-btn[aria-expanded="true"] { background: var(--royal); color: var(--on-royal); border-color: var(--royal); }
.dir-count { margin-inline-start: auto; font-family: var(--f-mono); font-size: .88rem; color: var(--gold-ink); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; }
.dir-empty { padding: 1.4rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.pcard:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(6,24,64,.14); }
.pphoto { width: 100%; aspect-ratio: 4 / 5; max-width: 100%; height: auto; object-fit: cover; display: block; }
.pphoto-ph { display: grid; place-items: center; background: var(--ph-bg); color: var(--ink); font-family: var(--f-display); font-size: 3rem; }
.pbody { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .55rem; align-content: start; }
.pbody .tag { text-decoration: none; }
.pbody h3 { font-size: var(--step-1); }
.pspec { color: var(--ink-soft); margin-top: -.2rem; }
.pbody dl { margin: .2rem 0 0; display: grid; gap: .1rem; font-size: .94rem; }
.pbody dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-ink); margin-top: .45rem; }
html[dir="rtl"] .pbody dt { text-transform: none; letter-spacing: 0; }
.pbody dd { margin: 0; }
.pmail { display: grid; gap: .3rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.pmail code { font-size: .92rem; }
.pbody .btn { justify-self: start; margin-top: .3rem; }
.banner-ph img.photo.pos-depts-head { object-position: 50% 0%; }
.dep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.2rem; }

/* ---- department provider panels ---- */
.dep-panels { margin-top: 2.6rem; }
.dep-panel { border-top: 1px solid var(--line, #d9dfea); padding-top: 2.2rem; margin-top: 2rem; scroll-margin-top: 140px; }
.dep-panel:first-child { margin-top: 0; }
.dep-panel-head { margin-bottom: 1.3rem; max-width: 780px; }
.dep-panel-head h2 { margin: .4rem 0 .5rem; }
.dep-count { font-weight: 600; color: var(--royal, #1f4fa8); margin: .3rem 0 .9rem; }

/* ---- department guide ---- */
.dguide .field { margin-top: 1rem; }
.dg-safety { background: #fbeaea; border: 1px solid #e8b4b4; color: #7a1d1d; border-radius: 12px; padding: .7rem 1rem; font-size: .95rem; margin: .4rem 0 0; }
.dg-safety a { color: inherit; font-weight: 700; }
.dg-out { margin-top: 1.4rem; border-top: 1px dashed rgba(0,0,0,.15); padding-top: 1.2rem; }
.dg-results { display: grid; gap: .7rem; margin: .6rem 0 1rem; }
.dg-result { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #fff; border: 1px solid rgba(15,40,90,.14); border-radius: 14px; padding: .9rem 1.1rem; }
.dg-result b { display: block; font-family: var(--f-display); font-size: var(--step-1); color: var(--royal-deep); }
.dg-result span { display: block; font-size: .95rem; opacity: .85; max-width: 640px; }
.dir .dir-row .field { min-width: 170px; }
.dir { scroll-margin-top: 150px; } .dguide .chips { margin-top:.6rem; } .dguide .q { margin-bottom:.4rem; }

/* ---- compact smart department guide ---- */
.dg-sec { padding-block: clamp(1.6rem, 3vw, 2.4rem); }
.dg { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 1.2rem 2rem; align-items: start;
  background: #fff; border: 1px solid rgba(15,40,90,.12); border-radius: 18px; padding: 1.2rem 1.4rem; box-shadow: 0 10px 30px -18px rgba(10,30,80,.35); }
.dg-intro h2 { font-size: var(--step-2); margin: .35rem 0 .3rem; }
.dg-intro p { margin: 0; font-size: .95rem; opacity: .85; }
.dg-box { position: relative; display: flex; align-items: center; border: 1.5px solid rgba(15,40,90,.2); border-radius: 999px; background: #fbfaf7; padding-inline: 1rem; transition: border-color .2s, box-shadow .2s; }
.dg-box:focus-within { border-color: var(--royal); box-shadow: 0 0 0 4px rgba(31,79,168,.12); background: #fff; }
.dg-ico { font-size: 1.25rem; opacity: .55; }
.dg-box input { flex: 1; border: 0; background: transparent; padding: .8rem .7rem; font: inherit; outline: none; min-width: 0; }
.dg-list { position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: .35rem; background: #fff; border: 1px solid rgba(15,40,90,.15); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(10,30,80,.45); }
.dg-list li { padding: .55rem .8rem; border-radius: 10px; cursor: pointer; }
.dg-list li:hover, .dg-list li.on { background: #eef3fc; color: var(--royal-deep); }
.dg-chips { margin-top: .7rem; gap: .4rem; }
.dg-chips .chip { font-size: .85rem; padding: .35rem .8rem; }
.dg .dg-extra { display: none; }
.dg.dg-open .dg-extra { display: inline-flex; }
.dg-more { background: transparent !important; border-style: dashed !important; }
.dg-out { margin-top: .8rem; }
.dg-results { display: grid; gap: .45rem; }
.dg-result { display: flex; align-items: center; gap: .7rem; padding: .65rem 1rem; border-radius: 12px; background: var(--royal-deep); color: #fff; text-decoration: none; transition: transform .15s; }
.dg-result:hover { transform: translateY(-1px); }
.dg-result b { font-family: var(--f-display); font-size: 1.1rem; }
.dg-result .dg-cta { margin-inline-start: auto; color: var(--gold); font-weight: 600; font-size: .92rem; }
.dg-arrow { color: var(--gold); }
[dir=rtl] .dg-arrow, [dir=rtl] .dg-cta { unicode-bidi: plaintext; }
.dg-fallback { font-size: .88rem; margin: .45rem 0 0; opacity: .85; }
.dg-alert { background: #a3232b; color: #fff; border-radius: 12px; padding: .6rem .9rem; margin-bottom: .5rem; font-weight: 600; font-size: .92rem; }
.dg-alert a { color: #fff; text-decoration: underline; }
.dg-foot { font-size: .78rem; opacity: .72; margin: .8rem 0 0; }
.dg-foot a { color: #a3232b; font-weight: 600; }
@media (max-width: 820px) { .dg { grid-template-columns: 1fr; } }
.dg .dg-out { border-top: 0; padding-top: 0; }
.dg-result b { color: #fff !important; }
.dg-result { flex-wrap: wrap; }
@media (max-width: 600px) { .dg .dg-chips .chip:nth-child(n+4):not(.dg-more) { display: none; } .dg.dg-open .dg-chips .chip { display: inline-flex !important; } }
.dep-tools { align-items: end; } .dep-tools .field { min-width: 240px; } .dep-tools-count { margin: 0 0 .7rem; font-family: var(--f-mono, monospace); color: #8a6a2a; }

/* ---- PSV: quality promise ---- */
.psv-sec { background: radial-gradient(120% 140% at 0% 0%, #17337a 0%, var(--royal-deep) 60%); color: #fff; padding-block: clamp(2.4rem, 5vw, 4rem); position: relative; overflow: hidden; }
.psv-sec::after { content: "PSV"; position: absolute; inset-inline-end: -2rem; bottom: -3.5rem; font-family: var(--f-display); font-size: clamp(8rem, 18vw, 15rem); font-weight: 700; color: rgba(214,170,99,.07); pointer-events: none; }
.psv-hero { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem 2.2rem; align-items: center; position: relative; z-index: 1; }
.psv-hero h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: .4rem 0 .7rem; }
.psv-hero p { color: rgba(255,255,255,.88); max-width: 72ch; }
.psv-tag { display: inline-block; margin-top: .4rem; padding: .45rem 1rem; border-radius: 999px; background: rgba(214,170,99,.16); border: 1px solid rgba(214,170,99,.55); color: var(--gold) !important; font-weight: 600; font-size: .92rem; }
.psv-badge.lg { width: 150px; height: 150px; font-size: 2rem; border-width: 3px; box-shadow: 0 0 0 10px rgba(214,170,99,.12), 0 0 0 22px rgba(214,170,99,.05); }
.psv-badge.lg small { font-size: 1.7rem; }
.psv-badge.sm { width: 64px; height: 64px; font-size: .95rem; flex: none; }
.psv-badge.sm small { font-size: .9rem; }
.psv-steps { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; z-index: 1; }
.psv-steps li { display: flex; gap: .9rem; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 1.1rem 1.2rem; }
.psv-steps b { display: block; color: #fff; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: .2rem; }
.psv-steps span { color: rgba(255,255,255,.8); font-size: .93rem; }
.psv-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--royal-deep) !important; display: grid; place-content: center; font-weight: 700; }
.psv-strip { background: var(--royal-deep); color: #fff; padding-block: 1.1rem; border-block: 1px solid rgba(214,170,99,.35); }
.psv-strip .wrap { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.psv-strip .wrap > div { flex: 1; min-width: 240px; }
.psv-strip b { display: block; font-family: var(--f-display); font-size: var(--step-1); color: #fff; }
.psv-strip span:not(.psv-badge) { color: rgba(255,255,255,.82); font-size: .95rem; }
.pverified { display: inline-flex; align-items: center; gap: .3rem; margin: .1rem 0 .6rem; padding: .2rem .65rem; border-radius: 999px; background: #e9f5ee; color: #17663b; font-size: .8rem; font-weight: 700; }
.pphoto-ph { display: grid; place-content: center; aspect-ratio: 4/5; background: linear-gradient(160deg, #e9eef8, #d7e0f1); color: var(--royal-deep); font-family: var(--f-display); font-size: 3.4rem; }
@media (max-width: 760px) { .psv-hero { grid-template-columns: 1fr; } .psv-steps { grid-template-columns: 1fr; } .psv-badge.lg { width: 110px; height: 110px; font-size: 1.5rem; } }
.pverified { width: fit-content; align-self: flex-start; }

/* ---- A–Z browse ---- */
.az { margin: 1.4rem 0 1.2rem; text-align: center; }
.az-h { font-family: var(--f-mono, monospace); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8a6a2a; margin: 0 0 .6rem; }
.az-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.az-l { min-width: 2.4rem; height: 2.4rem; padding: 0 .55rem; border-radius: 10px; border: 1px solid rgba(15,40,90,.18); background: #fff; color: var(--royal-deep); font-family: var(--f-display); font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.az-l:hover:not([disabled]) { background: #eef3fc; transform: translateY(-1px); }
.az-l[aria-pressed="true"] { background: var(--royal-deep); color: var(--gold); border-color: var(--royal-deep); }
.az-l[disabled] { opacity: .3; cursor: default; background: transparent; }
.az-all { font-family: inherit; font-size: .9rem; padding-inline: .9rem; }
.az-hint { margin: .9rem auto 0; max-width: 60ch; font-size: .93rem; opacity: .75; }
.dir-grid { scroll-margin-top: 150px; }
@media (max-width: 560px) { .az-l { min-width: 2.1rem; height: 2.1rem; font-size: .95rem; } }
.az-l { min-width: 2.2rem; } .az-row { gap: .3rem; }
.banner-ph img.photo.pos-providers-head { object-position: 50% 100%; }

/* ---- Information for Patients: subject picker ---- */
.topics-wrap { max-width: 920px; scroll-margin-top: 140px; }
.topic-pick { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 118px); z-index: 5; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--royal-deep); color: #fff; border-radius: 16px; padding: .8rem 1rem; box-shadow: 0 14px 30px -18px rgba(6,24,64,.6); margin-bottom: 1.6rem; }
.topic-pick label { font-family: var(--f-mono, monospace); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.topic-select { flex: 1; min-width: 240px; position: relative; }
.topic-select select { width: 100%; appearance: none; -webkit-appearance: none; border: 1px solid rgba(214,170,99,.6); background: #fff; color: var(--royal-deep);
  border-radius: 12px; padding: .7rem 2.6rem .7rem 1rem; font: inherit; font-weight: 600; font-size: 1.02rem; cursor: pointer; }
.topic-select::after { content: "▾"; position: absolute; inset-inline-end: 1rem; top: 50%; transform: translateY(-50%); color: var(--royal-deep); pointer-events: none; }
[dir=rtl] .topic-select select { padding: .7rem 1rem .7rem 2.6rem; }
.topic { animation: topicIn .35s ease; }
.topic > .clause, .topic > .notice { margin-top: 0; }
.topic-h { font-size: var(--step-2); margin-bottom: .9rem; }
.topic-nav { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.topic-nav .btn { font-size: .92rem; }
[dir=rtl] .topic-nav [aria-hidden] { display: inline-block; transform: scaleX(-1); }
@keyframes topicIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .topic { animation: none; } }
@media (max-width: 1000px) { .topic-pick { top: calc(env(safe-area-inset-top, 0px) + 70px); } }
[dir=rtl] .topic-pick label, [dir=rtl] .az-h { letter-spacing: 0; font-family: inherit; font-size: .9rem; }

/* ---- Information for Patients: tabs ---- */
.ptabs-sec { padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.ptabs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; max-width: 920px; margin: 0 auto 1.8rem; }
.ptabs [role=tab] { display: flex; align-items: center; gap: .9rem; text-align: start; padding: 1rem 1.2rem; border-radius: 16px; border: 1.5px solid rgba(15,40,90,.15); background: #fff; color: var(--royal-deep); cursor: pointer; font: inherit; transition: all .2s; }
.ptabs [role=tab] b { display: block; font-family: var(--f-display); font-size: 1.15rem; }
.ptabs [role=tab] small { display: block; opacity: .7; font-size: .85rem; }
.ptabs .pt-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; font-size: 1.2rem; background: #eef3fc; color: var(--royal); }
.ptabs [role=tab][aria-selected=true] { background: var(--royal-deep); color: #fff; border-color: var(--royal-deep); box-shadow: 0 14px 30px -18px rgba(6,24,64,.7); }
.ptabs [role=tab][aria-selected=true] .pt-ico { background: var(--gold); color: var(--royal-deep); }
.ptabs [role=tab][aria-selected=true] small { opacity: .85; }
.topics-wrap { margin-inline: auto; }
@media (max-width: 640px) { .ptabs { grid-template-columns: 1fr; } }

/* ---- Health library ---- */
.hl { --c-heart:#c0394b; --c-metabolism:#b7791f; --c-breathing:#2b8a9e; --c-brain:#6b4fb3; --c-digestive:#3f8f4f; --c-bones:#5a6b84; --c-women:#c0508a; --c-mind:#2f6fbf; --c-infection:#d0672a; }
.c-heart{--cc:var(--c-heart)} .c-metabolism{--cc:var(--c-metabolism)} .c-breathing{--cc:var(--c-breathing)} .c-brain{--cc:var(--c-brain)} .c-digestive{--cc:var(--c-digestive)} .c-bones{--cc:var(--c-bones)} .c-women{--cc:var(--c-women)} .c-mind{--cc:var(--c-mind)} .c-infection{--cc:var(--c-infection)}
.hl-hero { display: flex; justify-content: space-between; gap: 2rem; align-items: end; flex-wrap: wrap; margin-bottom: 1.2rem; }
.hl-hero > div:first-child { max-width: 760px; }
.hl-hero h2 { margin: .4rem 0 .5rem; }
.hl-langnote { font-size: .88rem; color: #8a6a2a; margin: .4rem 0 0; }
.hl-stats { display: flex; gap: 1rem; }
.hl-stats div { text-align: center; padding: .7rem 1.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.hl-stats b { display: block; font-family: var(--f-display); font-size: 2rem; color: var(--royal-deep); line-height: 1; }
.hl-stats span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.hl-search { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1.5px solid rgba(15,40,90,.2); border-radius: 999px; padding: 0 1.2rem; margin-bottom: 1.4rem; box-shadow: 0 10px 30px -20px rgba(10,30,80,.4); }
.hl-search:focus-within { border-color: var(--royal); box-shadow: 0 0 0 4px rgba(31,79,168,.12); }
.hl-search span { font-size: 1.4rem; opacity: .5; }
.hl-search input { flex: 1; border: 0; outline: 0; padding: 1rem .2rem; font: inherit; font-size: 1.05rem; background: transparent; min-width: 0; }
.hl-explore { display: grid; grid-template-columns: 260px 1fr; gap: 1.6rem; align-items: start; }
.hl-map { position: sticky; top: 140px; background: linear-gradient(180deg, #fff, #f3f6fc); border: 1px solid var(--line); border-radius: 18px; padding: 1rem; text-align: center; }
.hl-map h3 { font-size: 1.05rem; margin: 0; }
.hl-map .small { margin: .2rem 0 .4rem; }
.bodymap { width: 100%; max-width: 190px; height: auto; display: block; margin: 0 auto; }
.bm-base > * { fill: #dfe6f3; }
.bm-r { fill: rgba(31,79,168,0); stroke: rgba(31,79,168,.0); stroke-width: 1.5; cursor: pointer; transition: fill .2s, stroke .2s; outline: none; }
.bm-r:hover, .bm-r:focus-visible { fill: rgba(214,170,99,.35); stroke: var(--gold); }
.bm-r.on { fill: rgba(214,170,99,.6); stroke: #b8873a; }
.region-btns { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-top: .6rem; }
.region-btn { font: inherit; font-size: .8rem; padding: .3rem .65rem; border-radius: 999px; border: 1px solid rgba(15,40,90,.18); background: #fff; color: var(--royal-deep); cursor: pointer; }
.region-btn[aria-pressed=true] { background: var(--gold); border-color: var(--gold); font-weight: 700; }
.hl-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.seg { display: inline-flex; background: #eef1f7; border-radius: 999px; padding: 4px; }
.seg-b { font: inherit; font-weight: 600; font-size: .92rem; border: 0; background: transparent; padding: .45rem 1rem; border-radius: 999px; cursor: pointer; color: var(--royal-deep); }
.seg-b[aria-pressed=true] { background: var(--royal-deep); color: #fff; }
.hl-count { margin: 0; font-family: var(--f-mono, monospace); font-size: .85rem; color: #8a6a2a; }
.hl-chips { margin: .9rem 0 1.1rem; gap: .4rem; }
.hl-chips .chip { font-size: .84rem; padding: .35rem .8rem; display: inline-flex; align-items: center; gap: .4rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cc); display: inline-block; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.hl-card { position: relative; display: flex; flex-direction: column; gap: .35rem; text-align: start; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--cc); border-radius: 14px; padding: 1rem 1.05rem 1.1rem; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.hl-card:hover, .hl-card:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(10,30,80,.55); }
.hl-cat { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--cc); }
.hl-kind { position: absolute; top: .9rem; inset-inline-end: .9rem; font-size: .7rem; padding: .1rem .5rem; border-radius: 999px; background: #f1f3f8; opacity: .8; }
.hl-card b { font-family: var(--f-display); font-size: 1.12rem; color: var(--royal-deep); line-height: 1.25; padding-inline-end: 3.5rem; }
.hl-sum { font-size: .9rem; opacity: .8; flex: 1; }
.hl-more { font-size: .85rem; font-weight: 700; color: var(--royal); }
.hl-none { padding: 1.2rem; text-align: center; opacity: .75; }
.hl-tools { margin-top: 3rem; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; display: grid; gap: .9rem; align-content: start; }
.tool h3 { margin: 0; }
.tool-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.tool label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; }
.tool input { font: inherit; font-size: 1.1rem; padding: .65rem .8rem; border: 1px solid rgba(15,40,90,.2); border-radius: 10px; }
.tool .btn { justify-self: start; }
.tool-out { margin: 0; min-height: 1.6rem; font-size: 1.05rem; font-weight: 600; }
.tool-out .big { font-family: var(--f-display); font-size: 2rem; margin-inline-end: .4rem; }
.tool-note { display: block; font-weight: 400; font-size: .92rem; margin-top: .4rem; padding: .6rem .8rem; border-radius: 10px; background: #f3f5fa; }
.tool-note.bp_crisis { background: #a3232b; color: #fff; }
.k0 { color: #2b8a9e; } .k1 { color: #2f8a4f; } .k2 { color: #b7791f; } .k3 { color: #c0394b; }
.big.bp_normal { color: #2f8a4f; } .big.bp_elev { color: #b7791f; } .big.bp_1 { color: #d0672a; } .big.bp_2, .big.bp_crisis { color: #c0394b; } .big.bp_low { color: #2b8a9e; }
.gauge { position: relative; display: flex; height: 10px; border-radius: 999px; overflow: visible; }
.gauge span:nth-child(1) { background: #7cc3d1; border-radius: 999px 0 0 999px; } .gauge span:nth-child(2) { background: #7cc48f; } .gauge span:nth-child(3) { background: #e9c46a; } .gauge span:nth-child(4) { background: #e07a7a; border-radius: 0 999px 999px 0; }
.gauge .needle { position: absolute; top: -5px; width: 4px; height: 20px; background: var(--royal-deep); border-radius: 2px; opacity: 0; transition: inset-inline-start .5s; inset-inline-start: 0; }
.bp-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; font-size: .7rem; text-align: center; }
.bp-scale span { padding: .35rem .2rem; border-radius: 6px; background: #f1f3f8; opacity: .75; }
.bp-scale span:nth-child(1).on { background: #7cc48f; } .bp-scale span:nth-child(2).on { background: #e9c46a; } .bp-scale span:nth-child(3).on { background: #f0a868; } .bp-scale span:nth-child(4).on { background: #e07a7a; } .bp-scale span:nth-child(5).on { background: #a3232b; color: #fff; }
.bp-scale span.on { opacity: 1; font-weight: 700; }
.hl-foot { margin-top: 2rem; font-size: .85rem; opacity: .85; border-top: 1px solid var(--line); padding-top: 1rem; }
.hl-foot summary { cursor: pointer; font-weight: 600; }
/* article dialog */
.hl-dialog { width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(6,24,64,.7); color: var(--ink); }
.hl-dialog::backdrop { background: rgba(6,24,64,.55); backdrop-filter: blur(3px); }
.hl-dialog[open] { animation: topicIn .25s ease; }
.hl-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem 1.2rem; border-top: 6px solid var(--cc); background: linear-gradient(180deg, #f6f8fc, #fff); position: sticky; top: 0; z-index: 1; }
.hl-head h2 { margin: .3rem 0 .4rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.hl-lede { margin: 0; font-size: 1.05rem; opacity: .85; max-width: 70ch; }
.hl-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; }
.hl-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.6rem; padding: .6rem 1.6rem 1rem; }
.hl-main h3, .hl-side h3 { font-size: 1.05rem; margin: 1.1rem 0 .5rem; }
.hl-main .checks { margin: 0; }
.hl-link { font: inherit; border: 0; background: none; padding: 0; color: var(--royal); font-weight: 600; cursor: pointer; text-align: start; text-decoration: underline; text-underline-offset: 3px; }
.hl-urgent { background: #fbeaea; border: 1px solid #e8b4b4; border-radius: 14px; padding: .2rem 1rem .8rem; color: #6e1b1b; margin-top: 1rem; }
.hl-urgent ul { padding-inline-start: 1.1rem; margin: 0 0 .6rem; }
.hl-urgent p { margin: 0; font-size: .92rem; }
.hl-urgent a { color: inherit; font-weight: 700; }
.hl-fact { background: #fdf6e8; border: 1px solid #ecd3a1; border-radius: 14px; padding: .2rem 1rem .8rem; margin-top: 1rem; }
.hl-fact p { margin: 0; }
.hl-who { background: var(--royal-deep); color: #fff; border-radius: 14px; padding: .2rem 1rem 1rem; margin-top: 1rem; display: grid; gap: .6rem; }
.hl-who h3 { color: var(--gold); }
.hl-dep { margin: 0; font-family: var(--f-display); font-size: 1.2rem; }
.hl-who .btn { justify-content: center; }
.hl-disc { margin: 0; padding: .9rem 1.6rem 1.3rem; font-size: .8rem; opacity: .7; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .hl-explore { grid-template-columns: 1fr; } .hl-map { position: static; display: grid; grid-template-columns: 120px 1fr; text-align: start; align-items: center; gap: .3rem 1rem; } .hl-map h3, .hl-map .small { grid-column: 2; } .bodymap { grid-row: 1 / span 3; max-width: 110px; } .region-btns { grid-column: 2; justify-content: flex-start; } .hl-body { grid-template-columns: 1fr; } .tool-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hl-dialog { width: 100vw; max-height: 100vh; border-radius: 0; } .hl-head, .hl-body { padding-inline: 1rem; } .hl-stats { display: none; } }
[dir=rtl] .gauge span:nth-child(1) { border-radius: 0 999px 999px 0; } [dir=rtl] .gauge span:nth-child(4) { border-radius: 999px 0 0 999px; }
.banner-ph img.photo.pos-patients-head { object-position: 50% 100%; }

.hl { --c-skin:#a0603a; --c-ent:#1f7a8c; --c-kidney:#4a6fa5; }
.c-skin{--cc:var(--c-skin)} .c-ent{--cc:var(--c-ent)} .c-kidney{--cc:var(--c-kidney)}
.hl-more-wrap { text-align: center; margin: 1.2rem 0 0; }
g.bm-r path { fill: inherit; }
g.bm-r { fill: rgba(31,79,168,0); }
g.bm-r:hover, g.bm-r:focus-visible { fill: rgba(214,170,99,.35); } g.bm-r.on { fill: rgba(214,170,99,.6); }

/* ---- elegant body figure ---- */
.fig-toggle { margin: .5rem auto .3rem; }
.fig-toggle .seg-b { font-size: .82rem; padding: .3rem .9rem; }
.fig { position: relative; }
.bodymap { max-width: 200px; }
.fig-body { transition: opacity .3s; }
.fig-lines path, .fig-lines circle { fill: none; stroke: #9fb1d1; stroke-width: 1.2; stroke-linecap: round; opacity: .8; }
.fig-lines circle { fill: #9fb1d1; }
.fig[data-view="front"] .back-only, .fig[data-view="back"] .front-only { display: none; }
.bm-r { fill: rgba(214,170,99,0); stroke: none; transition: fill .25s; }
.bm-r:hover, .bm-r:focus-visible { fill: rgba(214,170,99,.38); }
.bm-r.on { fill: rgba(214,170,99,.62); }
g.bm-r rect { fill: inherit; }
.fig-label { min-height: 1.4rem; margin: .2rem 0 0; font-family: var(--f-display); font-size: 1.05rem; color: #8a6a2a; }
.bm-base { display: none; }
/* A–Z in health library */
.hl-az { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin: -.2rem 0 1.1rem; }
.hl-az-h { font-family: var(--f-mono, monospace); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8a6a2a; }
.hl-az .az-row { justify-content: flex-start; gap: .25rem; }
.hl-az .az-l { min-width: 1.9rem; height: 1.9rem; font-size: .9rem; border-radius: 8px; padding: 0 .4rem; }
[dir=rtl] .hl-az-h { letter-spacing: 0; font-family: inherit; }
/* emergency check */
.tri { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.6rem; align-items: stretch; margin: 0 0 2rem; padding: 1.4rem; border-radius: 22px;
  background: linear-gradient(135deg, #fff4f2 0%, #fde3e1 100%); border: 1px solid #f0c3bf; }
.tri .eyebrow { color: #a3232b; }
.tri-intro h2 { margin: .3rem 0 .5rem; color: #6e1b1b; }
.tri-intro p { color: #4a2323; }
.tri-num { margin-top: 1rem; background: #fff; border-radius: 14px; padding: .8rem 1rem; border: 1px solid #f0c3bf; }
.tri-num label { font-weight: 700; font-size: .9rem; color: #6e1b1b; }
.tri-num-row { display: flex; align-items: center; gap: .8rem; margin-top: .4rem; }
.tri-num-row select { flex: 1; min-width: 0; font: inherit; padding: .55rem .7rem; border-radius: 10px; border: 1px solid #e0b4b0; background: #fff; }
.tri-num-out { font-family: var(--f-display); font-size: 1.7rem; color: #a3232b; white-space: nowrap; }
.tri-num .small { margin: .4rem 0 0; }
.tri-card { position: relative; background: #fff; border-radius: 18px; padding: 1.4rem 1.4rem 1rem; box-shadow: 0 20px 40px -28px rgba(110,27,27,.6); display: flex; flex-direction: column; justify-content: center; min-height: 300px; overflow: hidden; }
.tri-meter { position: absolute; inset: 0 0 auto 0; height: 5px; background: #f6dedd; }
.tri-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #e9a23b, #a3232b); transition: width .35s; }
.tri.is-green .tri-meter span { background: #2f8a4f; }
.tri-start { text-align: center; }
.tri-go { font-size: 1.1rem; padding: .9rem 1.6rem; }
.tri-all { margin-top: 1.2rem; text-align: start; font-size: .92rem; }
.tri-all summary { cursor: pointer; font-weight: 600; color: #6e1b1b; text-align: center; }
.tri-all ol { margin: .6rem 0 0; padding-inline-start: 1.3rem; display: grid; gap: .35rem; }
.tri-qs { list-style: none; margin: 0; padding: 0; }
.tri-q { animation: topicIn .3s ease; }
.tri-step { font-family: var(--f-mono, monospace); font-size: .78rem; color: #a3232b; margin: 0 0 .4rem; letter-spacing: .06em; }
.tri-q h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.35; margin: 0 0 1.2rem; color: #2a1010; }
.tri-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.tri-btns .btn { justify-content: center; font-size: 1.05rem; padding: .85rem; }
.tri-yes { background: #a3232b; color: #fff; border: 0; }
.tri-yes:hover { background: #861b22; }
.tri-red { animation: topicIn .3s ease; }
.tri-red h3 { background: #a3232b; color: #fff; border-radius: 12px; padding: .8rem 1rem; margin: 0 0 .7rem; font-size: 1.2rem; }
.tri-red h3 .tri-num-out { color: #fff; font-size: 1.5rem; }
.tri-red h4 { margin: .8rem 0 .3rem; }
.tri-red ul { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .25rem; }
.tri-green { animation: topicIn .3s ease; }
.tri-green h3 { color: #1f6a3c; margin: 0 0 .5rem; }
.tri-green-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.tri-nav { display: flex; justify-content: space-between; margin: .9rem 0 0; min-height: 1.2rem; }
.tri-note { font-size: .78rem; opacity: .7; margin: .6rem 0 0; }
@media (max-width: 860px) { .tri { grid-template-columns: 1fr; padding: 1rem; } }
.fig-lines, .fig-lines * { pointer-events: none; }
.fig-outline, .fig-outline * { fill: none; stroke: #aebfdc; stroke-width: 1.1; pointer-events: none; }
.fig-outline, .fig-outline * { stroke: #a9bad8; stroke-width: 2.6; fill: #a9bad8; }
.bm-r, .bm-r.on, .bm-r:hover { stroke: none !important; }
.tri > * { min-width: 0; }
@media (max-width: 860px) { .tri { grid-template-columns: minmax(0, 1fr); } }
.tri-num-row select { width: 100%; }
[dir=rtl] .tri-step, [dir=rtl] .tri .eyebrow { letter-spacing: 0; font-family: inherit; }

/* topics revealed on demand */
.hl-hint { margin: .4rem 0 0; padding: 1.6rem 1.2rem; text-align: center; border: 1.5px dashed rgba(15,40,90,.2); border-radius: 16px; color: var(--royal-deep); background: rgba(255,255,255,.6); font-size: 1rem; }
.hl-grid { scroll-margin-top: 150px; }
/* emergency check: start panel */
.tri-start { display: grid; justify-items: center; gap: .9rem; text-align: center; }
.tri-pulse { width: min(260px, 80%); }
.tri-pulse svg { width: 100%; height: auto; display: block; }
.ecg { fill: none; stroke: #a3232b; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: ecg 2.6s ease-in-out infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 340; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -340; } }
@media (prefers-reduced-motion: reduce) { .ecg { animation: none; stroke-dashoffset: 0; } }
.tri-time { margin: 0; font-family: var(--f-mono, monospace); font-size: .82rem; color: #a3232b; letter-spacing: .04em; }
.tri-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; width: 100%; }
.tri-how li { display: grid; justify-items: center; gap: .35rem; padding: .7rem .6rem; border-radius: 12px; background: #fff7f6; border: 1px solid #f3d3d0; font-size: .86rem; color: #4a2323; line-height: 1.35; }
.tri-how .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-content: center; background: #a3232b; color: #fff; font-weight: 700; font-size: .85rem; }
.tri-go { background: linear-gradient(135deg, #b8282f, #861b22); color: #fff; border: 0; font-size: 1.15rem; padding: 1rem 2rem; border-radius: 999px; box-shadow: 0 14px 28px -14px rgba(134,27,34,.8); display: inline-flex; gap: .6rem; align-items: center; transition: transform .15s, box-shadow .15s; }
.tri-go:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(134,27,34,.9); }
.tri-go b { transition: transform .2s; } .tri-go:hover b { transform: translateX(4px); }
[dir=rtl] .tri-go b { transform: scaleX(-1); } [dir=rtl] .tri-go:hover b { transform: scaleX(-1) translateX(4px); }
.tri-tags { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin: .7rem 0 .4rem; }
.tri-tags span { font-size: .78rem; padding: .25rem .65rem; border-radius: 999px; background: #fff; border: 1px solid #f0c3bf; color: #6e1b1b; }
.tri-step { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.tri-tag { font-family: var(--f-body, inherit); letter-spacing: 0; font-size: .78rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; background: #a3232b; color: #fff; }
@media (max-width: 560px) { .tri-how { grid-template-columns: 1fr; } .tri-how li { grid-template-columns: auto 1fr; justify-items: start; text-align: start; } }
.banner-ph img.photo.pos-careers-head { object-position: 50% 100%; }

/* ---- Careers: dream work ---- */
.dw-sec { background: radial-gradient(120% 120% at 100% 0%, #fdf6e8 0%, transparent 55%), var(--cream, #faf7f1); }
.dw { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6rem; align-items: start; }
.dw-pick h3, .dw-panel h3 { margin: 0 0 .9rem; font-size: 1.15rem; }
.dw-chips { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.dw-chip { position: relative; display: flex; align-items: center; gap: .75rem; text-align: start; font: inherit; color: var(--royal-deep); background: #fff; border: 1.5px solid rgba(15,40,90,.14); border-radius: 14px; padding: .8rem .9rem; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .15s; }
.dw-chip:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(10,30,80,.6); }
.dw-chip b { display: block; font-family: var(--f-display); font-size: 1rem; line-height: 1.25; }
.dw-chip small { display: block; font-size: .78rem; opacity: .7; margin-top: .1rem; }
.dw-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-content: center; font-size: 1.1rem; background: #eef3fc; color: var(--royal); transition: background .2s, color .2s; }
.dw-tick { position: absolute; top: .45rem; inset-inline-end: .5rem; width: 20px; height: 20px; border-radius: 50%; display: grid; place-content: center; font-size: .7rem; font-style: normal; background: #eef1f7; color: transparent; transition: all .2s; }
.dw-chip[aria-pressed=true] { border-color: var(--gold); background: linear-gradient(180deg, #fffaf0, #fff); }
.dw-chip[aria-pressed=true] .dw-ico { background: var(--royal-deep); color: var(--gold); }
.dw-chip[aria-pressed=true] .dw-tick { background: var(--gold); color: var(--royal-deep); }
.dw-panel { position: sticky; top: 140px; background: var(--royal-deep); color: #fff; border-radius: 20px; padding: 1.4rem; box-shadow: 0 30px 60px -36px rgba(6,24,64,.9); }
.dw-panel-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.dw-panel-head h3 { color: #fff; margin: 0; }
.dw-meter { margin: .15rem 0 0; color: var(--gold); font-size: .9rem; }
.dw-ring { width: 46px; height: 46px; flex: none; transform: rotate(-90deg); }
.dw-ring circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 4; }
.dw-ring .dw-ring-v { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset .6s ease; }
.dw-empty { color: rgba(255,255,255,.75); margin: .4rem 0 1rem; }
.dw-list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .6rem; }
.dw-a { display: flex; gap: .8rem; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: .8rem .9rem; }
.dw-a .dw-ico { background: rgba(214,170,99,.18); color: var(--gold); width: 34px; height: 34px; }
.dw-a b { color: var(--gold); font-size: .95rem; }
.dw-a p { margin: .15rem 0 0; color: rgba(255,255,255,.88); font-size: .93rem; }
.dw-in { animation: topicIn .35s ease; }
.dw-cta { width: 100%; justify-content: center; }
.dw-note { color: rgba(255,255,255,.6); margin: .6rem 0 0; }
#apply { scroll-margin-top: 140px; }
@media (max-width: 900px) { .dw { grid-template-columns: 1fr; } .dw-panel { position: static; } }
@media (max-width: 520px) { .dw-chips { grid-template-columns: 1fr; } }
.apply-btns { display: grid; gap: .6rem; margin-top: 1.2rem; }
.apply-btn { justify-content: center; text-align: center; white-space: normal; }
.dw-chips .dw-chip:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---- Careers: join block ---- */
.cj { background: radial-gradient(90% 120% at 0% 0%, #eef3fc 0%, transparent 60%), radial-gradient(70% 90% at 100% 100%, #fdf3df 0%, transparent 60%); padding-top: clamp(2rem, 4vw, 3.2rem); }
.cj-top { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.4rem; align-items: start; }
.cj-pulse { display: inline-flex; align-items: center; gap: .55rem; }
.cj-pulse i { width: 10px; height: 10px; border-radius: 50%; background: #2f8a4f; box-shadow: 0 0 0 0 rgba(47,138,79,.6); animation: cjPulse 1.8s infinite; }
@keyframes cjPulse { 0% { box-shadow: 0 0 0 0 rgba(47,138,79,.55); } 70% { box-shadow: 0 0 0 12px rgba(47,138,79,0); } 100% { box-shadow: 0 0 0 0 rgba(47,138,79,0); } }
.cj-intro h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; margin: .5rem 0 .7rem; }
.cj-lede { font-size: 1.12rem; max-width: 62ch; margin: 0; }
.cj-time { margin: .7rem 0 1.4rem; font-family: var(--f-mono, monospace); font-size: .82rem; color: #8a6a2a; }
.cj-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cj-card { display: flex; flex-direction: column; gap: .8rem; background: #fff; border: 1.5px solid rgba(15,40,90,.12); border-radius: 18px; padding: 1.2rem; box-shadow: 0 18px 36px -28px rgba(10,30,80,.55); transition: transform .2s, opacity .2s, border-color .2s, box-shadow .2s; }
.cj-card .btn { margin-top: auto; justify-content: center; text-align: center; white-space: normal; }
.cj-card.is-match { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 0 0 4px rgba(214,170,99,.25), 0 24px 40px -26px rgba(10,30,80,.6); }
.cj-card.is-dim { opacity: .45; }
.cj-card-h { display: flex; gap: .8rem; align-items: flex-start; }
.cj-card-h h3 { margin: 0; font-size: 1.25rem; }
.cj-card-h p { margin: .15rem 0 0; font-size: .9rem; opacity: .8; }
.cj-ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-content: center; font-size: 1.4rem; }
.cj-doc .cj-ico { background: var(--royal-deep); color: var(--gold); }
.cj-al .cj-ico { background: var(--gold); color: var(--royal-deep); }
.cj-list { margin: 0; padding-inline-start: 1.1rem; display: grid; gap: .3rem; font-size: .93rem; }
.cj-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.cj-chips li { font-size: .82rem; padding: .3rem .7rem; border-radius: 999px; background: #f6f1e6; border: 1px solid #ead9b6; color: var(--royal-deep); cursor: pointer; transition: background .15s; }
.cj-chips li:hover, .cj-chips li:focus-visible { background: var(--gold); outline: none; }
.cj-more { margin: 0; font-size: .85rem; font-style: italic; opacity: .8; }
.cj-finder { margin-top: 1.2rem; background: var(--royal-deep); color: #fff; border-radius: 16px; padding: 1rem 1.1rem; }
.cj-finder label { display: block; font-weight: 600; margin-bottom: .5rem; color: var(--gold); }
.cj-q { display: flex; align-items: center; gap: .5rem; background: #fff; border-radius: 999px; padding: 0 1rem; }
.cj-q span { color: var(--royal-deep); opacity: .5; font-size: 1.2rem; }
.cj-q input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .75rem .2rem; font: inherit; color: var(--royal-deep); background: transparent; }
.cj-res { margin: .6rem 0 0; min-height: 1.3rem; font-size: .95rem; }
.cj-res.ok { color: #9fe0b4; font-weight: 700; } .cj-res.maybe { color: #fff; opacity: .9; }
.cj-video { margin: 0; position: sticky; top: 140px; text-align: center; }
.cj-phone { position: relative; border-radius: 34px; padding: 10px; background: #0b1530; box-shadow: 0 40px 70px -40px rgba(6,24,64,.9), inset 0 0 0 2px rgba(255,255,255,.08); }
.cj-phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; display: block; background: #0b1530; }
.cj-sound { position: absolute; bottom: 22px; inset-inline-start: 50%; transform: translateX(-50%); font: inherit; font-size: .8rem; padding: .4rem .9rem; border-radius: 999px; border: 0; background: rgba(255,255,255,.88); color: var(--royal-deep); cursor: pointer; }
[dir=rtl] .cj-sound { transform: translateX(50%); }
.cj-video figcaption { margin-top: .7rem; font-family: var(--f-display); color: var(--royal-deep); }
.cj-stats-band { background: var(--royal-deep); color: #fff; padding-block: 1.6rem; }
.cj-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cj-stat { display: flex; gap: .8rem; align-items: center; }
.cj-stat b { font-family: var(--f-display); font-size: 2.4rem; color: var(--gold); line-height: 1; min-width: 2.4ch; text-align: center; }
.cj-stat span { font-size: .9rem; color: rgba(255,255,255,.88); }
.cj-how { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: .9rem; }
.cj-how::before { content: ""; position: absolute; inset-inline-start: 17px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), rgba(214,170,99,.15)); }
.cj-how li { display: flex; gap: .9rem; align-items: flex-start; position: relative; }
.cj-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-content: center; background: var(--royal-deep); color: var(--gold); font-weight: 700; z-index: 1; }
.cj-how h3 { margin: .2rem 0 .15rem; font-size: 1.05rem; } .cj-how p { margin: 0; }
.cj-final { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: center; background: linear-gradient(135deg, var(--royal-deep), #17337a); color: #fff; border-radius: 24px; padding: 1.6rem; }
.cj-tip { margin: 0; }
.cj-tip video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; display: block; }
.cj-tip figcaption { font-size: .82rem; color: rgba(255,255,255,.75); margin-top: .5rem; }
.cj-final h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 .5rem; }
.cj-final p { color: rgba(255,255,255,.88); }
.cj-final .apply-btns { grid-template-columns: 1fr 1fr; margin: 1rem 0; }
.cj-final .social a { color: #fff; border-color: rgba(255,255,255,.3); }
.fab-apply { background: #a3232b; color: #fff; }
@media (max-width: 1000px) { .cj-top { grid-template-columns: 1fr; } .cj-video { position: static; max-width: 300px; margin: 0 auto; } .cj-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .cj-cards { grid-template-columns: 1fr; } .cj-final { grid-template-columns: 1fr; } .cj-final .apply-btns { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cj-stats { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cj-pulse i { animation: none; } }
.cj-stat b { flex: none; min-width: 0; }
.cj-final .btn-solid { background: #fff; color: var(--royal-deep); }
.cj-final .btn-solid:hover { background: #f3f5fa; }
/* ---- Careers: language diversity ---- */
.lb { background: linear-gradient(180deg, #fff, #f6f8fc); }
.lb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.lb-txt h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .4rem 0 .6rem; }
.lb-lede { font-size: 1.08rem; }
.lb-pts { margin-top: .8rem; }
.lb-cloud { position: relative; display: grid; gap: .8rem; padding: 1.6rem 0; border-radius: 24px; background: var(--royal-deep); overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lb-row { overflow: hidden; }
.lb-track { display: flex; gap: .7rem; width: max-content; animation: lbScroll 40s linear infinite; }
.lb-row.rev .lb-track { animation-direction: reverse; animation-duration: 48s; }
.lb-row:nth-child(3) .lb-track { animation-duration: 56s; }
.lb-track span { white-space: nowrap; padding: .55rem 1.1rem; border-radius: 999px; font-family: var(--f-display); font-size: 1.25rem; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.lb-row:nth-child(2) .lb-track span { color: var(--gold); border-color: rgba(214,170,99,.4); }
.lb-row:nth-child(3) .lb-track span { font-size: 1.05rem; color: rgba(255,255,255,.75); }
.lb-bubble { position: absolute; inset: auto 1rem 1rem auto; font-size: 1.6rem; opacity: .8; }
@keyframes lbScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lb-track { animation: none; flex-wrap: wrap; width: auto; } }
@media (max-width: 900px) { .lb-grid { grid-template-columns: 1fr; } }
.lb-cloud { -webkit-mask-image: none; mask-image: none; }
.lb-cloud::before, .lb-cloud::after { content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 1; pointer-events: none; }
.lb-cloud::before { left: 0; background: linear-gradient(90deg, var(--royal-deep), transparent); }
.lb-cloud::after { right: 0; background: linear-gradient(270deg, var(--royal-deep), transparent); }
.lb-bubble { z-index: 2; }
.cj-langbadge { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; padding: .45rem 1rem; border-radius: 999px; background: #e9f5ee; color: #17663b; font-weight: 700; font-size: .92rem; text-decoration: none; border: 1px solid #bfe3cc; }
.cj-langbadge:hover { background: #d9efe2; }
#languages { scroll-margin-top: 130px; }
.dw-insight { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: linear-gradient(135deg, #e9f5ee, #f4fbf6); border: 1px solid #bfe3cc; }
.dw-insight-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; font-size: 1.4rem; background: #fff; box-shadow: 0 6px 14px -8px rgba(23,102,59,.5); }
.dw-insight b { display: block; font-family: var(--f-display); font-size: 1.1rem; color: #17663b; margin-bottom: .25rem; }
.dw-insight p { margin: 0; font-size: .95rem; color: #24453a; }
.dw-refmark a { color: #17663b; font-weight: 700; text-decoration: none; font-size: .75rem; margin-inline-start: .15rem; }
.dw-refs { margin-top: .7rem; padding-top: .6rem; border-top: 1px solid #bfe3cc; font-size: .78rem; }
.dw-refs span { font-weight: 700; color: #17663b; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }
.dw-refs ol { margin: .3rem 0 0; padding-inline-start: 1.1rem; display: grid; gap: .25rem; }
.dw-refs a { color: #24453a; text-decoration: none; } .dw-refs a:hover { text-decoration: underline; }
[dir=rtl] .dw-refs ol { direction: ltr; text-align: left; padding-inline-start: 1.1rem; }
/* ---- Terms: accordion index ---- */
.acc-tools { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: 0 0 1.2rem; }
.acc-tools p { margin: 0; flex: 1; min-width: 220px; font-size: .92rem; opacity: .8; }
.acc-tools .btn { font-size: .85rem; padding: .45rem .9rem; }
details.acc { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0 0 .6rem; padding: 0; scroll-margin-top: 140px; transition: box-shadow .2s, border-color .2s; }
details.acc[open] { border-color: rgba(214,170,99,.7); box-shadow: 0 16px 30px -24px rgba(10,30,80,.55); }
details.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary h3 { margin: 0; font-size: 1.05rem; display: flex; gap: .5rem; }
details.acc > summary:hover h3 { color: var(--royal); }
.acc-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #eef3fc; position: relative; transition: transform .25s, background .2s; }
.acc-ic::before, .acc-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--royal-deep); transform: translate(-50%, -50%); }
.acc-ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
details.acc[open] .acc-ic { background: var(--gold); }
details.acc[open] .acc-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-body { padding: 0 1.1rem 1rem; border-top: 1px dashed var(--line); animation: topicIn .25s ease; }
.toc a.on { color: var(--royal-deep); font-weight: 700; background: rgba(214,170,99,.18); border-radius: 6px; }
.toc a .n { opacity: .55; font-variant-numeric: tabular-nums; }
.toc ol:has(a[data-acc]) { list-style: none; padding-inline-start: .2rem; } .toc a[data-acc] { display: inline-block; padding: .05rem .3rem; }
/* ---- soft-opening countdown ---- */
.cd { position: relative; z-index: 20; overflow: visible; color: #fff; padding-block: 1.1rem;
  background: radial-gradient(60% 140% at 10% 0%, rgba(214,170,99,.28), transparent 60%), linear-gradient(120deg, #061840 0%, #0f2a6b 55%, #061840 100%); border-bottom: 1px solid rgba(214,170,99,.35); }
.cd::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.07) 45%, transparent 60%); background-size: 250% 100%; animation: cdShine 6s linear infinite; pointer-events: none; }
@keyframes cdShine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.cd-in { display: grid; grid-template-columns: 1.1fr auto auto; gap: 1.4rem 2rem; align-items: center; position: relative; z-index: 1; }
.cd-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono, monospace); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.cd-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(214,170,99,.7); animation: cjPulse 1.8s infinite; }
.cd-txt h2 { color: #fff; margin: .25rem 0 .15rem; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.cd-txt p { margin: 0; color: rgba(255,255,255,.82); font-size: .95rem; }
.cd-clock { display: flex; gap: .55rem; direction: ltr; }
.cd-unit { min-width: 74px; text-align: center; padding: .55rem .4rem .45rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(214,170,99,.4); box-shadow: inset 0 -12px 18px -14px rgba(0,0,0,.6); }
.cd-unit b { display: block; font-family: var(--f-display); font-size: 2.1rem; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
.cd-unit b.tick { animation: cdTick .45s ease; }
@keyframes cdTick { 0% { transform: translateY(-35%); opacity: 0; } 100% { transform: none; opacity: 1; } }
.cd-unit span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-top: .15rem; }
[dir=rtl] .cd-unit span, [dir=rtl] .cd-eyebrow { letter-spacing: 0; font-family: inherit; }
.cd-cta { display: grid; gap: .45rem; }
.cd-cta .btn { justify-content: center; font-size: .9rem; padding: .55rem 1rem; white-space: nowrap; }
.cd-open { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.cd-open h2 { color: #fff; margin: 0; } .cd-open p { margin: 0; flex: 1; color: rgba(255,255,255,.85); }
@media (max-width: 1000px) { .cd-in { grid-template-columns: 1fr; justify-items: center; text-align: center; } .cd-cta { grid-auto-flow: column; } }
@media (max-width: 480px) { .cd-unit { min-width: 0; flex: 1; } .cd-unit b { font-size: 1.6rem; } .cd-clock { width: 100%; } .cd-cta { grid-auto-flow: row; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .cd::after, .cd-unit b.tick, .cd-eyebrow i { animation: none; } }
/* ---- language menu ---- */
details.lang > summary { display: inline-flex; align-items: center; gap: .5rem; }
.lang-txt { display: grid; line-height: 1.1; text-align: start; }
.lang-txt small { font-size: .66rem; opacity: .75; text-transform: uppercase; letter-spacing: .06em; }
[dir=rtl] .lang-txt small { letter-spacing: 0; }
.lang-caret { font-size: .7rem; opacity: .8; transition: transform .2s; }
details.lang[open] .lang-caret { transform: rotate(180deg); }
.lang-suggest { position: fixed; z-index: 60; inset-inline: 0; bottom: 0; margin: 0 auto 14px; width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: .8rem;
  padding: .7rem .9rem; border-radius: 16px; background: #061840; color: #fff; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); border: 1px solid rgba(214,170,99,.5); animation: topicIn .35s ease; }
.lang-suggest span { flex: 1; } .lang-suggest .btn { padding: .45rem 1rem; }
.lang-suggest button { background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
/* ---- brochures, stay connected, contact teams, footer ---- */
.stay { margin: .3rem 0 .6rem; } .stay b { display: block; font-family: var(--f-display); font-size: 1.2rem; color: var(--gold); } .stay span { color: rgba(255,255,255,.85); font-size: .92rem; }
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.team { border-radius: 20px; padding: 1.4rem; display: grid; gap: .6rem; align-content: start; }
.team h3 { margin: 0; font-size: 1.4rem; } .team p { margin: 0; }
.team-cs { background: #fff; border: 1.5px solid rgba(214,170,99,.6); box-shadow: 0 20px 40px -32px rgba(10,30,80,.6); }
.team-hr { background: var(--royal-deep); color: #fff; } .team-hr h3 { color: #fff; } .team-hr p { color: rgba(255,255,255,.85); } .team-hr .tag { color: var(--gold); }
.team-mail { font-weight: 700; font-size: 1.05rem; word-break: break-all; color: var(--royal); } .team-hr .team-mail { color: var(--gold); }
.foot-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
@media (max-width: 760px) { .teams { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.banner-ph img.photo.pos-contact-head { object-position: 50% 100%; }
/* ---- two equally weighted choices in the legal panel ---- */
.law-twin { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0 0 1rem; }
.law-opt { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; border-radius: 14px; background: rgba(255,255,255,.75); border: 1.5px solid rgba(214,170,99,.55); }
.law-opt > div > :is(h2, h3) { margin: 0 0 .35rem; font-size: 1.12rem; line-height: 1.3; }
.law-opt p { margin: 0; font-size: .9rem; opacity: .85; }
.law-ico { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-content: center; font-weight: 700; font-size: 1.1rem; background: var(--royal-deep); color: var(--gold); }
.law-opt-2 .law-ico { background: var(--gold); color: var(--royal-deep); }
@media (max-width: 760px) { .law-twin { grid-template-columns: 1fr; } }
.notice-law { container-type: inline-size; }
@container (max-width: 640px) { .law-twin { grid-template-columns: 1fr; } }

.cd-calmenu { position: relative; }
.cd-calmenu > summary { list-style: none; cursor: pointer; justify-content: center; font-size: .9rem; padding: .55rem 1rem; white-space: nowrap; }
.cd-calmenu > summary::-webkit-details-marker { display: none; }
.cd-calopts { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline-end: 0; min-width: 230px; background: #fff; border-radius: 14px; padding: .4rem; box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); display: grid; }
.cd-calopts a { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 10px; color: var(--royal-deep); text-decoration: none; font-weight: 600; font-size: .92rem; }
.cd-calopts a:hover { background: #eef3fc; }
.cd-calopts b { width: 26px; height: 26px; border-radius: 7px; display: grid; place-content: center; font-size: .8rem; background: var(--royal-deep); color: var(--gold); }
.cd-calopts a:first-child b { background: #1a73e8; color: #fff; } .cd-calopts a:nth-child(2) b { background: #0a64ad; color: #fff; } .cd-calopts a:nth-child(3) b { background: #111; color: #fff; }

/* ---- careers: brochure showcase ---- */
.bks { background: radial-gradient(700px 380px at 85% 0%, rgba(214,170,99,.22), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(255,255,255,.06), transparent 60%), linear-gradient(135deg, #061840 0%, #102b6e 60%, #0a1f52 100%); color: #fff; }
.bks-head { max-width: 640px; margin-bottom: 2rem; }
.bks-head h2 { color: #fff; margin: .3rem 0 .5rem; }
.bks-head p { color: rgba(255,255,255,.82); margin: 0; }
.bks .eyebrow { color: var(--gold); }
.bks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.bk { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 1.4rem; align-items: center; padding: 1.4rem; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(214,170,99,.3); backdrop-filter: blur(4px); transition: border-color .2s, background .2s; }
.bk:hover { border-color: rgba(214,170,99,.75); background: rgba(255,255,255,.09); }
.bk-cover { position: relative; display: block; perspective: 900px; padding: .4rem .2rem 1rem; }
.bk-paper { display: block; border-radius: 6px; overflow: hidden; transform: rotateY(-14deg) rotateZ(-2deg); transform-origin: left center; box-shadow: 18px 22px 34px -14px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.15); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; background: #fff; }
.bk:nth-child(2) .bk-paper { transform: rotateY(14deg) rotateZ(2deg); transform-origin: right center; }
.bk-paper img { display: block; width: 100%; height: auto; }
.bk:hover .bk-paper, .bk-cover:focus-visible .bk-paper { transform: rotateY(0) rotateZ(0) translateY(-6px) scale(1.03); box-shadow: 0 30px 40px -18px rgba(0,0,0,.75), 0 0 0 1px rgba(214,170,99,.6); }
.bk-pdf { position: absolute; bottom: 1.6rem; inset-inline-end: -.4rem; background: #c8102e; color: #fff; font: 700 .72rem/1 var(--f-body); letter-spacing: .08em; padding: .4rem .55rem; border-radius: 6px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); }
.bk-num { display: inline-block; font-family: var(--f-mono, monospace); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.bk h3 { color: #fff; font-size: clamp(1.25rem, 2vw, 1.55rem); margin: .2rem 0 .1rem; }
.bk-tag { color: rgba(255,255,255,.75); margin: 0 0 .7rem; font-style: italic; }
.bk-pts { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .35rem; }
.bk-pts li { position: relative; padding-inline-start: 1.5rem; font-size: .93rem; color: rgba(255,255,255,.92); }
.bk-pts li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: rgba(214,170,99,.22); color: var(--gold); font-size: .72rem; display: grid; place-content: center; font-weight: 700; }
.bk-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.bk-meta span { font-size: .76rem; padding: .22rem .6rem; border-radius: 999px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.bk-btns { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.bk-dl { box-shadow: 0 10px 22px -10px rgba(214,170,99,.9); }
.bk-dl span { display: inline-block; transition: transform .2s; }
.bk-dl:hover span { transform: translateY(2px); animation: bkBounce .8s ease infinite; }
@keyframes bkBounce { 50% { transform: translateY(4px); } }
.bk-open { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.bk-open:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.bk-share { font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; background: none; border: 0; color: var(--gold); padding: .55rem .4rem; border-radius: 10px; }
.bk-share:hover { text-decoration: underline; }
.bk-share.done { color: #8fe3b0; }
@media (max-width: 1100px) { .bks-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bk { grid-template-columns: 1fr; text-align: start; } .bk-cover { max-width: 190px; margin: 0 auto; } .bk-btns .btn { flex: 1 1 auto; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .bk-paper, .bk-dl span { transition: none; animation: none; } }

/* ---- Pashto (same treatment as Sindhi) ---- */
html[lang="ps"] { --f-display: "Noto Naskh Arabic", "Gelasio", serif; --f-body: "Noto Naskh Arabic", Tahoma, sans-serif; }
html[lang="ps"] body { line-height: 1.9; }
html[lang="ps"] .eyebrow { font-family: var(--f-body); font-size: .9rem; letter-spacing: 0; }
html[lang="ps"] .site-footer h2 { letter-spacing: 0; }
html[dir="rtl"] .cd-eyebrow, html[dir="rtl"] .bk-num, html[dir="rtl"] .bks .eyebrow { letter-spacing: 0; }

/* ---- healthcare professional card: send material + LinkedIn ---- */
.pm-h { font-size: .9rem; color: var(--navy, #0a1f52); display: flex; gap: .35rem; align-items: center; }
.pm-wt { font-size: .82rem; font-weight: 600; color: var(--royal, #1d3f9b); text-decoration: underline; text-underline-offset: 2px; }
.pm-wt:hover { color: #0b62d6; }
.pli { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; margin: -.2rem 0 .6rem; padding: .3rem .7rem; border-radius: 999px; background: #0a66c2; color: #fff; font-size: .8rem; font-weight: 600; text-decoration: none; }
.pli:hover { background: #004182; }
.pli svg { width: 14px; height: 14px; fill: currentColor; }
/* ---- WeTransfer guide (Information for Patients) ---- */
.wt-box { margin-top: 1.4rem; padding: 1.4rem; border-radius: 18px; background: #f3f6ff; border: 1px solid #d9e2fb; }
.wt-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.wt-head h3 { margin: 0; }
.wt-logo { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; background: #17181a; color: #fff; font: 800 1.05rem/1 var(--f-body); letter-spacing: -.04em; }
.wt-tips-h { margin: 1.3rem 0 .5rem; }

/* ---- public site: branded tile where a photo is not yet supplied ---- */
.ph.ph-live { background: radial-gradient(120% 90% at 85% 0%, rgba(214,170,99,.35), transparent 55%), linear-gradient(135deg, #0a1f52, #1d3f9b); }
.ph.ph-live img { width: 64px; height: 64px; opacity: .9; }
