/* ==========================================================================
   SARSD — site styles
   Brand: logo blue + green, deepened for WCAG AA contrast.
   Direction-agnostic: uses logical properties so the same CSS serves EN (LTR)
   and AR (RTL). Avoid left/right — use inline-start/inline-end.
   ========================================================================== */

/* ── Self-hosted fonts (SIL OFL 1.1) ─────────────────────────────────────
   Archivo (display, variable wght + wdth) · Public Sans (body, variable)
   Cairo (Arabic display, variable) · IBM Plex Sans Arabic (Arabic body)            */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-var.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/public-sans-var.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/public-sans-var-italic.woff2") format("woff2"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/cairo-arabic-var.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0898-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }

:root {
  /* Brand */
  --navy-900: #011b38;
  --navy-800: #032a52;
  --navy-700: #0b3d6e;
  --blue-700: #063f78;
  --blue-600: #0a4f8f;   /* primary: logo navy family, 8.3:1 on white */
  --blue-100: #e1ebf6;
  --blue-50:  #f2f7fc;
  --green-700: #0d6e33;
  --green-600: #0d7d37;  /* accent, logo green deepened: 5.2:1 with white */
  --gold-500: #e8b800;   /* logo gold: decorative accents only */
  --green-400: #3fbf6a;
  --green-100: #e3f3e8;
  --green-50:  #f1f8f3;

  /* Semantic */
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-tint: var(--blue-50);
  --color-text: #13263a;
  --color-muted: #4b5d70;
  --color-border: #d9e2ec;
  --color-primary: var(--blue-600);
  --color-primary-hover: var(--blue-700);
  --color-accent: var(--green-600);
  --color-accent-hover: var(--green-700);
  --color-ring: #f2b705;
  --color-error: #b42318;
  --color-success: var(--green-700);

  /* Type */
  --font-body: "Public Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Archivo", "Cairo", "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display-stretch: 92%;
  --font: var(--font-body);
  --lh: 1.65;
  --fs-sm: .9375rem;
  --fs-base: 1rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.625rem, 1.15rem + 1.6vw, 2.375rem);
  --fs-h1: clamp(2.125rem, 1.3rem + 3vw, 3.5rem);

  /* Space & shape */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem;  --space-7: 2.5rem; --space-8: 3.5rem; --space-9: 4.5rem;
  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 44, 74, .06), 0 1px 3px rgba(11, 44, 74, .08);
  --shadow: 0 10px 30px -12px rgba(11, 44, 74, .22);
  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;
  --grad-brand: linear-gradient(125deg, #032a52 0%, #0a4f8f 48%, #0d7d37 100%);
  --grad-blue: linear-gradient(135deg, #0a4f8f 0%, #032a52 100%);
  --grad-green: linear-gradient(135deg, #0d7d37 0%, #0d6e33 100%);
  --red-600: #c3161c;
  --red-700: #a11217;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[lang="ar"] {
  --font-body: "IBM Plex Sans Arabic", "Public Sans", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-display: "Cairo", "Archivo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --font: var(--font-body);
  --lh: 1.8;
}

/* ── Reset / base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh);
  color: var(--color-text); background: var(--color-bg);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: var(--display-stretch); line-height: 1.15; margin: 0 0 var(--space-3); color: var(--navy-800); font-weight: 750; letter-spacing: -.012em; }
h1, h2 { font-weight: 800; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.45; font-weight: 800; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
a { color: var(--color-primary); text-underline-offset: 3px; }
a:hover { color: var(--color-primary-hover); }
:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.4em; border-radius: var(--radius-pill);
  font: inherit; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 750; font-size: .98rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-lg { min-height: 54px; padding-inline: 1.7em; font-size: 1.06rem; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-hover); color: #fff; }
.btn-outline { border-color: var(--color-border); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(7,29,51,.25); }
.btn-ghost-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ── Header & navigation ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; gap: var(--space-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--navy-800); flex: none; }
.brand img { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; max-width: 230px; }
.brand-name { font-weight: 700; font-size: .9rem; line-height: 1.25; }
html[lang="ar"] .brand-name { font-size: .95rem; line-height: 1.45; }
@media (max-width: 400px) { .brand-text { max-width: 170px; } .brand-name { font-size: .8rem; } }

.site-nav { order: 2; display: flex; align-items: center; gap: var(--space-4); margin-inline-start: auto; }
.lang-switch {
  order: 3; display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: 0 .85em; flex: none;
  border: 1px solid var(--color-border); border-radius: var(--radius-pill); color: var(--navy-800); font-weight: 700; font-size: .9rem; text-decoration: none;
}
.lang-switch:hover { border-color: var(--color-primary); color: var(--color-primary); }
.lang-short { display: none; }
@media (max-width: 560px) {
  .lang-switch { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .lang-switch .icon, .lang-full { display: none; }
  .lang-short { display: inline; font-family: var(--font-display); font-weight: 800; }
  .header-inner { gap: var(--space-3); }
  .nav-toggle { width: 44px; height: 44px; margin-inline-start: 0 !important; }
}
.nav-toggle { order: 4; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: 0 .6em;
  border-radius: var(--radius-sm); color: var(--navy-800); font: inherit; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: .98rem;
  text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-list > li > a:hover, .sub-toggle:hover { background: var(--blue-50); color: var(--color-primary); }
.nav-list a[aria-current="page"], .has-sub.is-active > .sub-toggle { color: var(--color-primary); box-shadow: inset 0 -3px 0 var(--color-primary); border-radius: 0; }
.sub-toggle .icon { transition: transform .2s var(--ease); }
.sub-menu {
  position: absolute; inset-inline-start: 0; top: calc(100% + 6px); min-width: 250px; z-index: 10;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: var(--space-2); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.sub-menu::before { content: ""; position: absolute; inset-inline: 0; top: -10px; height: 10px; }
.sub-menu a { display: block; padding: .6em .9em; border-radius: var(--radius-sm); color: var(--color-text); text-decoration: none; font-size: .95rem; }
.sub-menu a:hover { background: var(--blue-50); color: var(--color-primary); }
.sub-menu a[aria-current="page"] { background: var(--blue-100); color: var(--blue-700); font-weight: 600; }
@media (hover: hover) and (min-width: 1181px) {
  .has-sub:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open > .sub-toggle .icon { transform: rotate(180deg); }

.nav-toggle {
  display: none; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; color: var(--navy-800); cursor: pointer;
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; margin-inline-start: var(--space-2); }
  .lang-switch { margin-inline-start: auto; }
  .site-nav {
    position: fixed; inset: 0; inset-inline-start: auto; width: min(360px, 88vw); z-index: 200;
    flex-direction: column; align-items: stretch; gap: var(--space-5); margin: 0;
    background: #fff; padding: 84px var(--space-5) var(--space-6); overflow-y: auto;
    box-shadow: -20px 0 60px rgba(7,29,51,.25); transform: translateX(105%); visibility: hidden;
    transition: transform .28s var(--ease), visibility .28s;
  }
  [dir="rtl"] .site-nav { transform: translateX(-105%); box-shadow: 20px 0 60px rgba(7,29,51,.25); }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(7,29,51,.5); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--color-border); }
  .nav-list > li > a, .sub-toggle { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 .25em; font-size: 1.05rem; }
  .nav-list a[aria-current="page"], .has-sub.is-active > .sub-toggle { box-shadow: none; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 var(--space-3); display: none; min-width: 0; }
  .has-sub.is-open > .sub-menu { display: block; }
  .nav-donate { width: 100%; }
  .nav-close {
    position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; color: var(--navy-800); cursor: pointer;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { z-index: 300; }
}
@media (min-width: 1181px) { .nav-close { display: none; } }
@media (min-width: 1181px) and (max-width: 1420px) {
  .brand-text { max-width: 170px; } .brand-name { font-size: .8rem; }
  .nav-list > li > a, .sub-toggle { padding: 0 .55em; font-size: .9rem; }
}

/* ── Sections ───────────────────────────────────────────────────────── */
.section { padding-block: var(--space-9); }
.section-sm { padding-block: var(--space-7); }
.section-tint { background: var(--color-tint); }
.section-dark { background: var(--navy-800); color: #dbe6f1; }
.section-dark h2, .section-dark h3 { color: #fff; }
@media (max-width: 720px) { .section { padding-block: var(--space-7); } }

.section-head { max-width: 760px; margin-bottom: var(--space-6); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head .lead { font-size: var(--fs-lg); color: var(--color-muted); margin: 0; }
.section-dark .section-head .lead { color: #bcd0e3; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-6); }
.section-head-row .section-head { margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: var(--space-3);
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9375rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold-500); }
.section-head.is-center .eyebrow::before { display: none; }
.section-dark .eyebrow, .eyebrow-light { color: #8fd3a2; }

.prose { max-width: 72ch; }
.prose p { color: var(--color-text); }
.lead-text { font-size: var(--fs-lg); color: var(--color-muted); }

/* ── Emergency ribbon ───────────────────────────────────────────────── */
.ribbon { background: var(--red-600); color: #fff; font-size: .9rem; }
.ribbon-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 40px; padding-block: 6px; }
.ribbon p { margin: 0; display: flex; flex-wrap: wrap; gap: .25em .6em; align-items: baseline; }
.ribbon strong { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; }
html[lang="ar"] .ribbon strong { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.ribbon a { flex: none; display: inline-flex; align-items: center; gap: .4em; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.ribbon a:hover { color: #fff; text-decoration-thickness: 2px; }
@media (max-width: 640px) { .ribbon span { display: none; } .ribbon strong { white-space: nowrap; font-size: .74rem; } }

/* ── Appeal hero (home + donate) ────────────────────────────────────── */
.appeal { position: relative; background: var(--navy-900); color: #fff; isolation: isolate; }
.appeal-media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 44%; z-index: -1; }
.appeal-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.appeal-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(7,29,51,0) 28%); }
[dir="rtl"] .appeal-media::after { background: linear-gradient(270deg, var(--navy-900) 0%, rgba(7,29,51,0) 28%); }
.appeal-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.appeal-panel { padding-block: var(--space-7) var(--space-8); padding-inline-end: var(--space-8); }
.tag-emergency {
  display: inline-flex; align-items: center; gap: .45em; margin: 0 0 var(--space-4); padding: .35em .8em; border-radius: 4px;
  background: var(--red-600); color: #fff; font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
}
html[lang="ar"] .tag-emergency { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.appeal h1, .appeal #appeal-title { color: #fff; font-size: clamp(2rem, 1.2rem + 2.2vw, 2.85rem); line-height: 1.05; margin-bottom: var(--space-3); max-width: 22ch; text-transform: none; }
html[lang="ar"] .appeal h1, html[lang="ar"] .appeal #appeal-title { line-height: 1.3; }
.appeal-sub { color: #cbd8e6; font-size: 1.0625rem; max-width: 48ch; margin-bottom: var(--space-5); }
.donate-card { background: #fff; color: var(--color-text); border-radius: var(--radius); padding: var(--space-5); box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); max-width: 520px; }
.donate-card-title { font-size: 1.25rem; margin-bottom: var(--space-3); }
.donate-card-text { color: var(--color-muted); font-size: var(--fs-sm); margin-bottom: var(--space-3); }
.donate-card .pay-form fieldset { margin-bottom: var(--space-3); }
.donate-card .amount-chips { margin-bottom: var(--space-2); }
.donate-card .field-error { margin-top: var(--space-1); }
.donate-card-note { display: flex; align-items: flex-start; gap: .5em; margin: var(--space-3) 0 0; font-size: .82rem; color: var(--color-muted); line-height: 1.5; }
.donate-card-note .icon { margin-top: .2em; }
.form-grid-tight { gap: var(--space-3) var(--space-4); margin-bottom: var(--space-4); }
.form-grid-tight .field input, .form-grid-tight .field select { min-height: 46px; }
.seg-full { display: grid !important; grid-template-columns: 1fr 1fr; }
.seg-full span { justify-content: center; width: 100%; }
.chip small { font-size: .7em; font-weight: 600; margin-inline-start: .25em; color: var(--color-muted); }
.chip input:checked + span small { color: var(--green-700); }
@media (max-width: 960px) {
  .appeal-media { position: relative; width: 100%; height: 240px; }
  .appeal-media::after { background: linear-gradient(0deg, var(--navy-900) 0%, rgba(7,29,51,0) 45%) !important; }
  .appeal-grid { grid-template-columns: 1fr; }
  .appeal-panel { padding: var(--space-2) 0 var(--space-7); margin-top: -40px; position: relative; }
  .donate-card { max-width: none; }
}

/* Currency tabs (bank fallback card) */
.cur-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: var(--space-3); border: 1.5px solid #b8c6d4; border-radius: var(--radius-sm); overflow: hidden; }
.cur-tab { min-height: 44px; border: 0; background: #fff; font: inherit; font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; color: var(--navy-800); cursor: pointer; }
.cur-tab + .cur-tab { border-inline-start: 1.5px solid #b8c6d4; }
.cur-tab[aria-selected="true"] { background: var(--navy-800); color: #fff; }
.kv-label { font-size: .8rem; font-weight: 600; color: var(--color-muted); margin: 0 0 var(--space-1); }
.copy-row-lg { padding: var(--space-3); background: var(--color-tint); border-radius: var(--radius-sm); margin-bottom: var(--space-3); }
.copy-row-lg .mono { font-size: 1.05rem; font-weight: 600; color: var(--navy-800); }
.bank-mini { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-4); font-size: .9rem; }
.bank-mini dt { font-size: .78rem; color: var(--color-muted); font-weight: 600; }
.bank-mini dd { margin: 0; font-weight: 600; color: var(--navy-800); }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--color-border); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: var(--space-3) var(--space-5); padding-block: var(--space-4); list-style: none; }
.trust-strip li { display: flex; align-items: center; gap: .6em; font-size: .9rem; font-weight: 600; color: var(--navy-800); line-height: 1.35; }
.trust-strip .icon { color: var(--color-accent); }
@media (max-width: 1100px) { .trust-strip ul { grid-template-columns: 1fr 1fr; justify-content: stretch; } }
@media (max-width: 560px) { .trust-strip ul { grid-template-columns: 1fr; } }

/* Section heading without eyebrow */
.h-section { margin-bottom: var(--space-5); max-width: 28ch; }
.section-compact { padding-block: var(--space-8); }

/* Cause bento: 1 feature + 4 */
.cause-bento { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: var(--space-3); list-style: none; }
.cause-feature { grid-row: span 2; }
.cause a { position: relative; display: block; height: 100%; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--navy-800); }
.cause img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease); }
.cause a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,29,51,0) 30%, rgba(7,29,51,.88) 100%); }
.cause a:hover img { transform: scale(1.04); }
.cause-body { position: absolute; inset-inline: 0; bottom: 0; padding: var(--space-4); display: flex; flex-direction: column; gap: .25em; }
.cause-feature .cause-body { padding: var(--space-6); }
.cause-icon { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 8px; background: var(--color-accent); margin-bottom: .35em; }
.cause-title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: 1.25rem; line-height: 1.15; }
.cause-feature .cause-title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); }
.cause-text { font-size: .9rem; color: #dbe6f1; line-height: 1.45; }
.cause:not(.cause-feature) .cause-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .cause-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; } .cause-feature { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .cause-bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; } .cause-feature { grid-row: auto; } }

.split-tight { gap: var(--space-7); }

/* Areas index */
.area-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); list-style: none; }
.area-index a { display: flex; align-items: center; gap: var(--space-3); height: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; color: var(--navy-800); font-weight: 650; font-size: .95rem; line-height: 1.3; text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.area-index a:hover { border-color: var(--color-primary); box-shadow: var(--shadow); color: var(--color-primary); }
.area-index-more { grid-column: span 3; }
@media (max-width: 1100px) { .area-index-more { grid-column: span 2; } }
@media (max-width: 760px) { .area-index-more { grid-column: span 2; } }
@media (max-width: 480px) { .area-index-more { grid-column: auto; } }
.area-index-more a { background: var(--navy-800); border-color: var(--navy-800); color: #fff; justify-content: space-between; font-family: var(--font-display); font-weight: 800; }
.area-index-more a:hover { color: #fff; background: var(--navy-700); }
@media (max-width: 1100px) { .area-index { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .area-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .area-index { grid-template-columns: 1fr; } }

/* Methodology strip */
.method-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; list-style: none; counter-reset: m; border-top: 1px solid rgba(255,255,255,.16); }
.method-strip li { counter-increment: m; position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5) var(--space-4) 0; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.method-strip li + li { border-inline-start: 1px solid rgba(255,255,255,.12); }
.method-strip li::before { content: counter(m, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: var(--gold-500); }
.method-strip .icon { color: #8fd3a2; width: 26px; height: 26px; }
@media (max-width: 1100px) { .method-strip { grid-template-columns: repeat(4, 1fr); row-gap: var(--space-5); } .method-strip li:nth-child(5) { border-inline-start: 0; } }
@media (max-width: 640px) { .method-strip { grid-template-columns: 1fr 1fr; } .method-strip li { border-inline-start: 0 !important; } }

/* Ways to give */
.give-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: var(--space-3); }
.give-main { grid-row: span 2; position: relative; border-radius: var(--radius); overflow: hidden; background: radial-gradient(800px 300px at 100% 0%, rgba(79,178,106,.28), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff; }
.give-main-body { position: relative; padding: var(--space-7); display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.give-main h3 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.give-main p { color: #c9d8e7; max-width: 52ch; }
.give-side { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; }
.give-side h3 { font-size: 1.125rem; margin-bottom: var(--space-1); }
.give-side p { color: var(--color-muted); font-size: var(--fs-sm); margin-bottom: var(--space-2); }
@media (max-width: 860px) { .give-grid { grid-template-columns: 1fr; } .give-main { grid-row: auto; } .give-main-body { padding: var(--space-6) var(--space-5); } }


/* ══ Template-inspired colour system: brand bands + colour cards ═════════ */
.section-brand { position: relative; background: var(--grad-brand); color: #fff; overflow: hidden; isolation: isolate; }
.section-brand::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(600px 300px at 90% -10%, rgba(255,255,255,.18), transparent 60%), radial-gradient(500px 260px at 0% 110%, rgba(143,211,162,.25), transparent 60%); }
.section-brand h2, .section-brand h3, .section-blue h2, .section-blue h3 { color: #fff; }
.section-brand .lead, .section-brand .section-head .lead { color: rgba(255,255,255,.88); }
.section-brand .eyebrow { color: #c9f0d4; }
.section-brand .method-strip { border-top-color: rgba(255,255,255,.25); }
.section-brand .method-strip li + li { border-inline-start-color: rgba(255,255,255,.2); }
.section-brand .method-strip .icon { color: #d4f5dd; }
.section-brand .method-strip li::before { color: var(--gold-500); }
.section-blue { background: var(--grad-blue); color: #fff; }

.icon-circle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); transition: background-color .25s var(--ease), color .25s var(--ease); }
.icon-circle .icon { width: 24px; height: 24px; }
.icon-circle .icon-sm { width: 20px; height: 20px; }
.icon-circle.is-green { background: var(--green-100); color: var(--green-700); }
.icon-circle.is-glass { background: rgba(255,255,255,.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* Colour cards (Vision = blue, Mission = green) */
.vm-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 860px) { .vm-duo { grid-template-columns: 1fr; } }
.color-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: var(--space-7); color: #fff; box-shadow: 0 18px 40px -22px rgba(7,29,51,.55); }
.color-card::after { content: ""; position: absolute; width: 240px; height: 240px; inset-inline-end: -80px; top: -90px; border-radius: 50%; background: rgba(255,255,255,.08); }
.color-card.is-blue { background: var(--grad-blue); }
.color-card.is-green { background: var(--grad-green); }
.color-card h2, .color-card h3 { color: #fff; margin: var(--space-4) 0 var(--space-2); font-size: 1.6rem; }
.color-card p { color: rgba(255,255,255,.92); margin: 0; }
.color-card-sm { padding: var(--space-5); box-shadow: none; }
.color-card-sm h3 { display: flex; align-items: center; gap: .5em; font-size: 1.1rem; margin: 0 0 var(--space-2); }
.color-card-sm p { font-size: .9rem; line-height: 1.6; }
.color-card-sm::after { width: 140px; height: 140px; inset-inline-end: -50px; top: -60px; }
@media (max-width: 600px) { .color-card { padding: var(--space-5); } }

.glass-card { border-radius: var(--radius-lg); padding: var(--space-6); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.glass-card h2 { color: #fff; font-size: 1.45rem; margin: var(--space-4) 0 var(--space-2); }
.glass-card p { color: rgba(255,255,255,.9); }
.link-light { color: #fff; }
.link-light:hover { color: #d4f5dd; }

/* Feature tiles with template-style hover → gradient */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-4); list-style: none; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .feature-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .feature-grid-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .feature-grid-3 { grid-template-columns: 1fr; } }
.feature { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius); background: #fff; border: 1px solid var(--color-border); box-shadow: 0 8px 24px -18px rgba(7,29,51,.35); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); }
.feature h3 { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.feature p { margin: 0; color: var(--color-muted); font-size: var(--fs-sm); }
.feature::before { content: ""; position: absolute; inset-inline-start: var(--space-5); top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold-500); }
.feature:hover, .feature.is-active { transform: translateY(-6px); border-color: transparent; background: var(--grad-brand); box-shadow: 0 22px 40px -22px rgba(7,29,51,.6); }
.feature:hover h3, .feature.is-active h3, .feature:hover p, .feature.is-active p { color: #fff; }
.feature:hover .icon-circle, .feature.is-active .icon-circle { background: rgba(255,255,255,.2); color: #fff; }
.feature:hover::before, .feature.is-active::before { background: #fff; }

/* Values: hover lift + gradient */
.value-item { transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); box-shadow: 0 8px 24px -18px rgba(7,29,51,.35); }
.value-item:hover { transform: translateY(-6px); background: var(--grad-brand); border-color: transparent; box-shadow: 0 22px 40px -22px rgba(7,29,51,.6); }
.value-item:hover h3 { color: #fff; }
.value-item:hover .icon-badge { background: rgba(255,255,255,.2) !important; color: #fff !important; }

/* General hover lift for cards and tiles */
.card, .give-side, .area-index a, .doc-card, .account-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card:hover, .give-side:hover, .doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area-index a:hover { transform: translateY(-3px); }

/* Fact list (About intro) */
.fact-list { display: grid; gap: var(--space-3); list-style: none; margin: var(--space-5) 0; }
.fact-list li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius); background: var(--color-tint); font-weight: 650; color: var(--navy-800); line-height: 1.35; }
.fact-list .icon-circle { width: 42px; height: 42px; }

/* Read-more disclosure */
.more { margin-top: var(--space-3); }
.more summary { display: inline-flex; align-items: center; gap: .45em; cursor: pointer; font-weight: 700; color: var(--color-primary); list-style: none; min-height: 40px; }
.more summary::-webkit-details-marker { display: none; }
.more summary .icon { transition: transform .2s var(--ease); }
.more[open] summary .icon { transform: rotate(180deg); }
.more .prose { margin-top: var(--space-3); padding-inline-start: var(--space-4); border-inline-start: 3px solid var(--green-100); }
.more-light summary { color: #fff; }
.more-light p { margin-top: var(--space-3) !important; }

/* Journey path (approach) */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); list-style: none; position: relative; margin-top: var(--space-6); }
.journey::before { content: ""; position: absolute; top: 32px; inset-inline: 10%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 8px, transparent 8px 16px); }
.journey li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2); }
.journey-dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--blue-700); box-shadow: 0 0 0 6px rgba(255,255,255,.18); }
.journey li:nth-child(even) .journey-dot { color: var(--green-700); }
.journey-dot .icon { width: 28px; height: 28px; }
.journey-num { font-family: var(--font-display); font-weight: 800; font-size: .8rem; color: var(--gold-500); letter-spacing: .08em; margin-top: var(--space-2); }
.journey-title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 750; font-size: 1.05rem; line-height: 1.25; color: #fff; max-width: 16ch; }
.journey-outro { text-align: center; margin: var(--space-6) auto 0; max-width: 60ch; color: rgba(255,255,255,.9); font-size: var(--fs-lg); }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; gap: var(--space-3); }
  .journey::before { top: 0; bottom: 0; inset-inline-start: 31px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(255,255,255,.55) 0 8px, transparent 8px 16px); }
  .journey li { flex-direction: row; text-align: start; gap: var(--space-4); }
  .journey-num { display: none; }
  .journey-title { max-width: none; }
}

/* Pill list */
.pill-list { display: flex; flex-wrap: wrap; gap: var(--space-3); list-style: none; }
.pill-list li { display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.2em; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--blue-100); color: var(--blue-700); font-weight: 700; box-shadow: 0 6px 18px -14px rgba(7,29,51,.4); }
.pill-list li.is-green { border-color: var(--green-100); color: var(--green-700); }

/* Objectives on blue band */
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); list-style: none; counter-reset: n; }
.num-grid li { counter-increment: n; display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border-radius: var(--radius); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: #fff; line-height: 1.45; font-size: .95rem; transition: background .25s var(--ease); }
.num-grid li:hover { background: rgba(255,255,255,.18); }
.num-grid li::before { content: counter(n, decimal-leading-zero); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--blue-700); font-family: var(--font-display); font-weight: 800; font-size: .85rem; }
.num-grid li:nth-child(even)::before { color: var(--green-700); }
@media (max-width: 960px) { .num-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .num-grid { grid-template-columns: 1fr; } }

/* Basic info as tiles */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--space-3); margin: 0; }
.info-grid div { padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: var(--color-tint); border-inline-start: 4px solid var(--color-primary); }
.info-grid div:nth-child(even) { border-inline-start-color: var(--color-accent); }
.info-grid dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--color-muted); margin-bottom: .25em; }
html[lang="ar"] .info-grid dt { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.info-grid dd { margin: 0; font-weight: 650; color: var(--navy-800); line-height: 1.45; }

/* Process cards (no overlap: number + icon in a header row) */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); list-style: none; }
.process li { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); border-radius: var(--radius); background: #fff; border: 1px solid var(--color-border); transition: transform .3s var(--ease); }
.process li:hover { transform: translateY(-4px); }
.process-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.process-num { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.process h3 { font-size: 1.15rem; margin: 0; }
.process p { margin: 0; color: var(--color-muted); font-size: var(--fs-sm); }
.process-glass li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.process-glass li:hover { background: rgba(255,255,255,.16); }
.process-glass .process-num { background: none; color: #fff; opacity: .9; }
.process-glass p { color: rgba(255,255,255,.88); }
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* Governance org chart */
.org-chart { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 34px; max-width: 760px; margin-inline: auto; }
.org-tier { position: relative; display: flex; align-items: center; gap: var(--space-4); width: 100%; padding: var(--space-4) var(--space-5); border-radius: var(--radius); color: #fff; box-shadow: 0 16px 32px -20px rgba(7,29,51,.55); }
.org-tier + .org-tier::before { content: ""; position: absolute; top: -34px; left: 50%; width: 2px; height: 34px; background: var(--color-border); }
.org-tier + .org-tier::after { content: ""; position: absolute; top: -9px; left: calc(50% - 5px); width: 10px; height: 10px; border-right: 2px solid #9fb3c8; border-bottom: 2px solid #9fb3c8; transform: rotate(45deg); }
.org-tier-1 { max-width: 420px; background: var(--navy-800); }
.org-tier-2 { max-width: 520px; background: var(--grad-blue); }
.org-tier-3 { max-width: 620px; background: var(--grad-brand); }
.org-tier-4 { max-width: 760px; background: var(--grad-green); }
.org-title { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: 1.2rem; line-height: 1.25; }

/* Governance chart text */
.org-body { display: flex; flex-direction: column; gap: .2em; }
.org-text { font-size: .9rem; color: rgba(255,255,255,.88); line-height: 1.5; }
.org-tier-1, .org-tier-2, .org-tier-3, .org-tier-4 { max-width: none; }
.org-chart { max-width: 820px; }
.check-list-light { margin: var(--space-4) 0; gap: var(--space-2); font-size: .92rem; }
.check-list-light li { color: rgba(255,255,255,.92); }
.check-list-light .icon { color: var(--gold-500); width: 18px; height: 18px; }
.statute-note { display: flex; align-items: center; gap: .5em; margin: var(--space-4) 0 var(--space-6); }

/* Membership */
.member-intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-7); align-items: center; }
@media (max-width: 860px) { .member-intro { grid-template-columns: 1fr; } }
.fee-card { position: relative; overflow: hidden; padding: var(--space-7); border-radius: var(--radius-lg); background: var(--grad-brand); color: #fff; box-shadow: 0 24px 50px -26px rgba(1,27,56,.7); }
.fee-card::after { content: ""; position: absolute; width: 220px; height: 220px; inset-inline-end: -70px; top: -80px; border-radius: 50%; background: rgba(232,184,0,.18); }
.fee-label { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--gold-500); margin-bottom: var(--space-2); }
html[lang="ar"] .fee-label { text-transform: none; letter-spacing: 0; font-size: 1rem; }
.fee-amount { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); line-height: 1.1; margin-bottom: var(--space-3); }
.fee-amount small { font-size: 1rem; font-weight: 600; opacity: .85; }
.fee-text { color: rgba(255,255,255,.9); margin: 0; }
.list-card { padding: var(--space-6); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--color-border); border-top: 5px solid var(--color-primary); box-shadow: 0 12px 30px -22px rgba(1,27,56,.45); }
.list-card.is-green { border-top-color: var(--color-accent); }
.list-card h2 { display: flex; align-items: center; gap: .5em; font-size: 1.4rem; margin-bottom: var(--space-4); }
.list-card.is-blue h2 .icon { color: var(--color-primary); }
.list-card.is-green h2 .icon { color: var(--color-accent); }

/* ── Inner page hero ────────────────────────────────────────────────── */
.page-hero { position: relative; isolation: isolate; background: var(--navy-800); color: #fff; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,29,51,.70), rgba(7,29,51,.88)); }
.page-hero:not(.has-photo) { background: radial-gradient(1200px 400px at 85% -10%, rgba(79,178,106,.25), transparent 60%), var(--navy-800); }
.page-hero-inner { padding-block: var(--space-7) var(--space-7); }
.page-hero h1 { color: #fff; margin-bottom: var(--space-3); }
.page-hero-lead { font-size: var(--fs-lg); color: #dbe6f1; max-width: 62ch; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4em; list-style: none; padding: 0; margin: 0 0 var(--space-4); font-size: .875rem; color: #bcd0e3; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .4em; opacity: .7; }
.breadcrumb a { color: #fff; }

/* ── Cards & grids ──────────────────────────────────────────────────── */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; flex: none;
  border-radius: 16px; background: var(--blue-100); color: var(--blue-700);
}
.icon-badge .icon { width: 28px; height: 28px; }
.icon-badge-sm { width: 46px; height: 46px; border-radius: 12px; }
.icon-badge-sm .icon { width: 24px; height: 24px; }
.icon-badge-green { background: var(--green-100); color: var(--green-700); }

.focus-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.focus-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5); border-top: 4px solid var(--color-primary);
}
.focus-card:nth-child(even) { border-top-color: var(--color-accent); }
.focus-card:nth-child(even) .icon-badge { background: var(--green-100); color: var(--green-700); }
.focus-card h3 { margin: var(--space-4) 0 var(--space-2); font-size: 1.125rem; }
.focus-card p { margin: 0; color: var(--color-muted); font-size: var(--fs-sm); }
@media (max-width: 1100px) { .focus-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .focus-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .focus-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-8); align-items: center; }
.split-reverse .split-media { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: var(--space-6); } .split-reverse .split-media { order: 0; } }
.photo-frame { margin: 0; position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); }
.photo-frame::after {
  content: ""; position: absolute; z-index: -1; inset-block-end: -18px; inset-inline-start: -18px; width: 55%; height: 60%;
  border-radius: var(--radius-lg); background: var(--green-100);
}
@media (max-width: 600px) { .photo-frame::after { display: none; } }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin: var(--space-5) 0; }
.vm-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-5); }
.vm-card h3 { display: flex; align-items: center; gap: .5em; font-size: 1.0625rem; margin-bottom: var(--space-2); color: var(--blue-700); }
.vm-card p { margin: 0; font-size: var(--fs-sm); color: var(--color-muted); }
@media (max-width: 600px) { .vm-grid { grid-template-columns: 1fr; } }

.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.area-card {
  display: flex; gap: var(--space-4); height: 100%; padding: var(--space-5); text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.area-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow); color: inherit; }
.area-card-body { display: flex; flex-direction: column; gap: .3em; }
.area-card-title { font-weight: 700; color: var(--navy-800); line-height: 1.35; }
.area-card:hover .area-card-title { color: var(--color-primary); }
.area-card-text { font-size: var(--fs-sm); color: var(--color-muted); line-height: 1.55; }
@media (max-width: 960px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .area-grid { grid-template-columns: 1fr; } }

.method-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); counter-reset: m; }
.method-list li {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.04); color: #fff; font-weight: 600;
}
.method-list .icon { color: #8fd3a2; width: 28px; height: 28px; }
.method-num { position: absolute; inset-inline-end: 18px; top: 14px; font-size: .8rem; color: #8aa6c1; font-weight: 700; }

.check-list { display: grid; gap: var(--space-3); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.check-list .icon { color: var(--color-accent); margin-top: .15em; }
.check-list-cols { grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-6); }
@media (max-width: 760px) { .check-list-cols { grid-template-columns: 1fr; } }

.cta-pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-5); }
.cta-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-7); display: flex; flex-direction: column; align-items: flex-start; }
.cta-card h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.cta-card p { color: var(--color-muted); }
.cta-card .btn { margin-top: auto; }
.cta-card-accent { background: var(--navy-800); border-color: var(--navy-800); }
.cta-card-accent h2 { color: #fff; }
.cta-card-accent p { color: #c9d8e7; }
.cta-card-accent .eyebrow { color: #8fd3a2; }
@media (max-width: 860px) { .cta-pair { grid-template-columns: 1fr; } .cta-card { padding: var(--space-6) var(--space-5); } }
.currency-chips { display: flex; gap: var(--space-2); margin: 0 0 var(--space-5); }
.currency-chips li { padding: .3em .9em; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 700; font-size: .875rem; letter-spacing: .05em; }

.doc-banner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-5);
  padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff;
}
.doc-banner h2 { font-size: 1.375rem; margin-bottom: var(--space-1); }
.doc-banner p { margin: 0; color: var(--color-muted); }
.doc-banner-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 860px) { .doc-banner { grid-template-columns: 1fr; } }

/* Generic card grid */
.card-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(var(--cols, 3), 1fr); }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-5); }
.card h3 { font-size: 1.125rem; margin: var(--space-4) 0 var(--space-2); }
.card p { margin: 0; color: var(--color-muted); font-size: var(--fs-sm); }
.card-inline { display: flex; align-items: center; gap: var(--space-4); }
.card-inline h3 { margin: 0; font-size: 1.0625rem; }
.card .btn, .card .link-arrow { margin-top: var(--space-4); }

.card-lg { padding: var(--space-7); }
.card-lg h2 { font-size: 1.5rem; margin: var(--space-4) 0 var(--space-3); }
.card-lg p { font-size: var(--fs-base); color: var(--color-text); margin-bottom: var(--space-4); }
.card-lg p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .card-lg { padding: var(--space-5); } }
.btn-row-center { justify-content: center; margin-top: var(--space-6); }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); }
.value-item { text-align: center; padding: var(--space-5) var(--space-3); border-radius: var(--radius); background: #fff; border: 1px solid var(--color-border); }
.value-item .icon-badge { margin: 0 auto var(--space-3); }
.value-item:nth-child(even) .icon-badge { background: var(--green-100); color: var(--green-700); }
.value-item h3 { font-size: 1rem; margin: 0; line-height: 1.4; }
@media (max-width: 1000px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .value-grid { grid-template-columns: 1fr 1fr; } }

/* Numbered objectives */
.num-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-6); counter-reset: n; }
.num-list li { counter-increment: n; display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.num-list li::before {
  content: counter(n, decimal-leading-zero); flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
  background: var(--blue-100); color: var(--blue-700);
}
@media (max-width: 760px) { .num-list { grid-template-columns: 1fr; } }

/* Info table */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); }
.info-table th, .info-table td { text-align: start; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-border); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 32%; background: var(--blue-50); color: var(--navy-800); font-weight: 600; }
@media (max-width: 600px) { .info-table th, .info-table td { display: block; width: 100%; } .info-table th { border-bottom: 0; padding-bottom: var(--space-1); } }

/* Table of contents (in-page) */
.toc { position: sticky; top: calc(var(--header-h) + 0px); z-index: 50; background: #fff; border-bottom: 1px solid var(--color-border); }
.toc ul { list-style: none; margin: 0; padding-inline: 0; display: flex; gap: var(--space-1); overflow-x: auto; scrollbar-width: thin; padding-block: var(--space-2); }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .9em; border-radius: var(--radius-pill); white-space: nowrap; text-decoration: none; color: var(--color-muted); font-weight: 600; font-size: .9rem; }
.toc a:hover, .toc a.is-current { background: var(--blue-100); color: var(--blue-700); }

/* Quote / statement */
.statement { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.statement > .icon { width: 40px; height: 40px; margin: 0 auto var(--space-4); color: var(--green-400); }
.statement p { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.7; color: #fff; }
.statement p + p { color: #c9d8e7; font-size: var(--fs-lg); }

/* Areas detail (programs page) */
.areas-layout { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-7); align-items: start; }
.areas-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.areas-nav h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-muted); margin-bottom: var(--space-3); }
html[lang="ar"] .areas-nav h2 { letter-spacing: 0; font-size: .95rem; }
.areas-nav ol { list-style: none; padding: 0; border-inline-start: 2px solid var(--color-border); }
.areas-nav a { display: block; padding: .45em 1em; margin-inline-start: -2px; border-inline-start: 2px solid transparent; color: var(--color-muted); text-decoration: none; font-size: .9375rem; line-height: 1.4; }
.areas-nav a:hover, .areas-nav a.is-current { color: var(--color-primary); border-inline-start-color: var(--color-primary); }
.area-block { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; }
.area-block + .area-block { margin-top: var(--space-4); }
.area-block h2 { font-size: 1.5rem; margin-bottom: var(--space-2); }
.area-block .area-num { font-size: .8125rem; font-weight: 700; color: var(--color-accent); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--space-1); }
.area-block p { color: var(--color-muted); }
.area-items { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-5); }
.area-items li { display: flex; gap: .6em; align-items: flex-start; }
.area-items .icon { color: var(--color-accent); margin-top: .2em; width: 18px; height: 18px; }
@media (max-width: 1000px) { .areas-layout { grid-template-columns: 1fr; } .areas-nav { display: none; } }
@media (max-width: 600px) { .area-block { grid-template-columns: 1fr; padding: var(--space-5); } .area-items { grid-template-columns: 1fr; } }
.area-select { display: none; margin-bottom: var(--space-5); }
.area-select label { display: block; font-weight: 600; margin-bottom: var(--space-2); }
@media (max-width: 1000px) { .area-select { display: block; } }

/* Steps / cycle */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: var(--space-4); counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: var(--space-5); padding-top: var(--space-7); border-radius: var(--radius); background: #fff; border: 1px solid var(--color-border); }
.steps li::before {
  content: counter(s); position: absolute; top: var(--space-5); inset-inline-start: var(--space-5);
  width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-primary); color: #fff; font-weight: 700; font-size: .875rem;
}
.steps h3 { font-size: 1.0625rem; margin: var(--space-2) 0 var(--space-1); }
.steps p { margin: 0; color: var(--color-muted); font-size: var(--fs-sm); }
.steps .step-icon { position: absolute; top: var(--space-5); inset-inline-end: var(--space-5); color: var(--color-accent); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Notice */
.notice { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); }
.notice .icon { color: var(--color-primary); }
.notice p { margin: 0; }
.notice-warn { background: #fff8e6; border-color: #f3dfa6; }
.notice-warn .icon { color: #8a5a00; }

/* Utilities */
.mt-3 { margin-top: var(--space-3); }
.mt-5 { margin-top: var(--space-5); }
.notice h2 { font-size: 1.25rem; margin-bottom: var(--space-2); }
.steps-stack { grid-template-columns: 1fr !important; margin-bottom: var(--space-4); }
.steps-stack li { padding: var(--space-5); padding-inline-start: calc(var(--space-5) + 44px); }
.steps-stack li::before { top: 50%; transform: translateY(-50%); }
.steps-stack p { color: var(--color-text); font-size: var(--fs-base); }

/* ── Donate ─────────────────────────────────────────────────────────── */
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 960px) { .account-grid { grid-template-columns: 1fr; } }
.account-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.account-head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--navy-800); color: #fff; }
.account-code { font-weight: 700; font-size: 1.5rem; letter-spacing: .04em; }
.account-label { color: #bcd0e3; font-size: .9rem; }
.account-body { padding: var(--space-5); display: grid; gap: var(--space-4); }
.kv dt { font-size: .8125rem; color: var(--color-muted); font-weight: 600; margin-bottom: .2em; }
.kv dd { margin: 0; font-weight: 600; color: var(--navy-800); }
.copy-row { display: flex; align-items: center; gap: var(--space-2); justify-content: space-between; flex-wrap: wrap; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 1.0625rem; letter-spacing: .02em; direction: ltr; unicode-bidi: isolate; }
.copy-btn {
  display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: 0 .9em; border-radius: var(--radius-pill);
  border: 1px solid var(--color-border); background: #fff; color: var(--navy-800); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer;
}
.copy-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.copy-btn.is-done { border-color: var(--color-success); color: var(--color-success); background: var(--green-50); }
.bank-shared { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--space-4) var(--space-7); padding: var(--space-5); border-radius: var(--radius); background: var(--color-tint); margin-bottom: var(--space-5); }
@media (max-width: 760px) { .bank-shared { grid-template-columns: 1fr; } }

/* Online donation */
.pay-result { display: flex; gap: var(--space-4); align-items: flex-start; margin-block: var(--space-5); padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); border: 1px solid; }
.pay-result:focus { outline: none; }
.pay-result h2 { font-size: 1.25rem; margin-bottom: var(--space-1); }
.pay-result p { margin: 0; }
.pay-result .icon { width: 28px; height: 28px; margin-top: .1em; }
.pay-result-ok { background: var(--green-50); border-color: var(--green-100); }
.pay-result-ok .icon, .pay-result-ok h2 { color: var(--green-700); }
.pay-result-info { background: var(--blue-50); border-color: var(--blue-100); }
.pay-result-info .icon { color: var(--color-primary); }
.pay-result-warn { background: #fff8e6; border-color: #f3dfa6; }
.pay-result-warn .icon { color: #8a5a00; }
.pay-form fieldset { border: 0; padding: 0; margin: 0 0 var(--space-5); min-width: 0; }
.pay-form legend { font-weight: 600; font-size: var(--fs-sm); color: var(--navy-800); margin-bottom: var(--space-2); padding: 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 0; }
.seg legend { width: 100%; }
.seg label, .chip { position: relative; cursor: pointer; }
.seg input, .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.4em; border: 1.5px solid #b8c6d4; font-weight: 600; background: #fff; color: var(--navy-800);
}
.seg label:first-of-type span { border-start-start-radius: var(--radius-pill); border-end-start-radius: var(--radius-pill); }
.seg label:last-of-type span { border-start-end-radius: var(--radius-pill); border-end-end-radius: var(--radius-pill); margin-inline-start: -1.5px; }
.seg input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.seg input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--color-ring); outline-offset: 2px; }
.monthly-note { margin: calc(var(--space-5) * -1 + var(--space-2)) 0 var(--space-5); }
.amount-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); margin-bottom: var(--space-3); }
@media (max-width: 480px) { .amount-chips { grid-template-columns: repeat(2, 1fr); } }
.chip span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--radius-sm);
  border: 1.5px solid #b8c6d4; font-weight: 700; font-size: 1.05rem; background: #fff; color: var(--navy-800); transition: background-color .15s, border-color .15s;
}
.chip:hover span { border-color: var(--color-primary); }
.chip input:checked + span { background: var(--green-50); border-color: var(--color-accent); color: var(--green-700); box-shadow: inset 0 0 0 1px var(--color-accent); }
.amount-custom { width: 100%; min-height: 50px; padding: .7em .9em; font: inherit; font-size: 1rem; border: 1.5px solid #b8c6d4; border-radius: var(--radius-sm); }
.amount-custom:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(10,79,143,.18); }
.amounts.has-error .amount-custom { border-color: var(--color-error); }
.pay-form .hint { font-size: .85rem; color: var(--color-muted); margin: var(--space-2) 0 0; }
.btn-block { width: 100%; }

/* ── Forms ──────────────────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow-sm); }
@media (max-width: 600px) { .form-card { padding: var(--space-5); } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-5); }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: var(--space-2); font-size: var(--fs-sm); color: var(--navy-800); }
.field .req { color: var(--color-error); }
.field .opt { color: var(--color-muted); font-weight: 400; font-size: .85em; }
.field .hint { font-size: .85rem; color: var(--color-muted); margin: -.25rem 0 var(--space-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7em .9em; font: inherit; font-size: 1rem; color: var(--color-text);
  background: #fff; border: 1.5px solid #b8c6d4; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(10,79,143,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-error); }
.field-error { color: var(--color-error); font-size: .875rem; margin: var(--space-1) 0 0; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { display: flex; align-items: center; gap: .5em; font-size: .85rem; color: var(--color-muted); margin: var(--space-5) 0 0; }
.form-actions { margin-top: var(--space-5); }
.form-status:empty { display: none; }
.form-status { margin-top: var(--space-4); padding: var(--space-4); border-radius: var(--radius-sm); font-weight: 500; }
.form-status.is-ok { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); }
.form-status.is-err { background: #fdecea; color: var(--color-error); border: 1px solid #f6c9c4; }

/* ── Contact ────────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-7); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.contact-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-list strong { display: block; color: var(--navy-800); }
.contact-list span, .contact-list a { color: var(--color-muted); }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--radius-lg); filter: grayscale(.2); }

/* ── Gallery ────────────────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.gallery figure { margin: 0; }
@media (min-width: 861px) {
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .gallery figure:first-child a { flex: 1; }
  .gallery figure:first-child img { height: 100%; aspect-ratio: auto; }
}
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: .875rem; color: var(--color-muted); margin-top: var(--space-2); }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.photo-note { font-size: .85rem; color: var(--color-muted); margin-top: var(--space-4); }

/* Lightbox (native <dialog>) */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); }
.lightbox::backdrop { background: rgba(7,29,51,.88); }
.lightbox img { max-height: 82vh; width: auto; margin: auto; border-radius: var(--radius-sm); }
.lightbox p { color: #fff; text-align: center; margin: var(--space-3) 0 0; }
.lightbox-close { position: fixed; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-800); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* ── Documents ──────────────────────────────────────────────────────── */
.doc-card { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); padding: var(--space-6); background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.doc-card h3 { margin-bottom: var(--space-2); }
.doc-card p { color: var(--color-muted); }
.badge { display: inline-flex; align-items: center; gap: .35em; padding: .2em .75em; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; background: var(--green-100); color: var(--green-700); margin-bottom: var(--space-3); }
.badge-muted { background: #eef2f6; color: var(--color-muted); }
@media (max-width: 600px) { .doc-card { grid-template-columns: 1fr; padding: var(--space-5); } }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-900); color: #b9c9da; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--space-7); padding-block: var(--space-8) var(--space-7); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); } }
.brand-footer { color: #fff; margin-bottom: var(--space-4); }
.brand-footer img { width: 72px; }
.brand-footer .brand-name { max-width: 240px; }
.footer-brand p { max-width: 42ch; }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: var(--space-4); }
.footer-links { display: grid; gap: var(--space-2); }
.site-footer a { color: #dbe6f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links a { display: inline-block; padding-block: .2em; }
.footer-contact { display: grid; gap: var(--space-3); }
.footer-contact li { display: flex; gap: .6em; align-items: flex-start; }
.footer-contact .icon { margin-top: .25em; color: #8fd3a2; }
.social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); padding-block: var(--space-5); font-size: .85rem; color: #8ea4ba; }
.footer-bottom p { margin: 0; }

/* ── Error page ─────────────────────────────────────────────────────── */
.error-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* ── Motion preferences ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Print ──────────────────────────────────────────────────────────── */
@media print {
  .topbar, .site-header, .site-footer, .toc, .areas-nav, .btn, .copy-btn, form { display: none !important; }
  .hero, .page-hero { color: #000; background: none; }
  .hero h1, .page-hero h1 { color: #000; }
}
