/* ═══════════════════════════════════════════════════════════════════════════
   AGS — Admire Gifting with Safari's
   Complete Design System
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. FONT FACES ───────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-600-latin-ext.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* ─── 2. DESIGN TOKENS ────────────────────────────────────────────────────── */

:root {
  /* ── UNICEF Brand Blues ── */
  --blue-50:  #E8F6FD;
  --blue-100: #BEE3F5;
  --blue-200: #8FCDE9;
  --blue-300: #5BB5DE;
  --blue-400: #69DBFF;
  --blue-500: #1CABE2;   /* UNICEF Primary Blue */
  --blue-600: #0095CC;
  --blue-700: #007AB5;
  --blue-800: #003872;
  --blue-900: #002858;   /* UNICEF Dark Navy */

  /* ── UNICEF Mid Blue (secondary, replaces teal) ── */
  --teal-50:  #ECEEF9;
  --teal-100: #C5CAED;
  --teal-300: #8B95D6;
  --teal-400: #374EA2;   /* UNICEF Mid Blue */
  --teal-500: #2D3F8C;
  --teal-600: #243380;

  /* ── UNICEF Yellow (replaces amber) ── */
  --amber-50:  #FFF9E6;
  --amber-100: #FFEDB3;
  --amber-200: #FFD95C;
  --amber-300: #FFC20E;  /* UNICEF Yellow */
  --amber-400: #E5A800;
  --amber-500: #CC9600;

  /* Clay / warm neutrals */
  --clay-50:  #FAF6F3;
  --clay-100: #F0E8E2;
  --clay-500: #9B6B4A;

  /* Backgrounds */
  --navy:      #002858;  /* UNICEF Dark */
  --bg-page:   #F0F7FD;
  --bg-light:  #EBF4FB;
  --white:     #FFFFFF;

  /* Text */
  --ink-900:     #002858;
  --text-strong: #002858;
  --text-body:   #3D4D5C;
  --text-muted:  #5E7A96;
  --text-xmuted: #8099B3;

  /* Borders */
  --border-light:   #E3EEF7;
  --border-default: #BDD8EF;
  --border-medium:  #A5C8E0;

  /* Aliases */
  --brand-primary: var(--blue-500);   /* #1CABE2 */
  --brand-dark:    var(--blue-700);

  /* Typography */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* Font sizes */
  --fs-xs:  0.75rem;    /* 12px */
  --fs-sm:  0.8125rem;  /* 13px */
  --fs-base: 0.9375rem; /* 15px */
  --fs-md:  1rem;       /* 16px */
  --fs-lg:  1.0625rem;  /* 17px */

  /* Layout */
  --container-max: 1320px;
  --container-pad: 40px;
  --section-v: 96px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:  0 2px 6px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 14px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 32px rgba(0,40,88,0.12), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-xl:  0 20px 56px rgba(0,40,88,0.18), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(28,171,226,0.08);
  --shadow-hover: 0 14px 44px rgba(28,171,226,0.20);

  /* Transitions */
  --t-fast:   150ms ease-out;
  --t-base:   200ms ease-out;
  --t-slow:   350ms ease-out;

  /* Header heights */
  --topbar-h: 38px;
  --nav-h:    68px;
  --header-h: 106px;
}


/* ─── 3. RESET ────────────────────────────────────────────────────────────── */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-strong);
}


/* ─── 4. CONTAINER ────────────────────────────────────────────────────────── */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1440px; }

@media (max-width: 768px) {
  .container { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
}


/* ─── 5. SECTION SPACING ─────────────────────────────────────────────────── */

.section-pad    { padding-top: var(--section-v); padding-bottom: var(--section-v); }
.section-pad-sm { padding-top: 64px; padding-bottom: 64px; }
.section-pad-lg { padding-top: 120px; padding-bottom: 120px; }

.section-bg-white { background: var(--white); }
.section-bg-light { background: var(--bg-light); }
.section-bg-page  { background: var(--bg-page); }
.section-bg-navy  { background: var(--bg-light); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header--left { text-align: left; margin-left: 0; }

.section-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 12px;
}
.section-h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin-bottom: 14px;
  line-height: 1.1;
}
.section-sub {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  :root { --section-v: 64px; }
  .section-header { margin-bottom: 40px; }
}


/* ─── 6. BUTTON SYSTEM ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 22px;
  height: 44px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: background var(--t-base), color var(--t-base),
              border-color var(--t-base), box-shadow var(--t-base),
              transform var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary */
.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 4px 14px rgba(28,171,226,0.30);
}
.btn-primary:hover {
  background: var(--blue-600);
  box-shadow: 0 8px 22px rgba(28,171,226,0.38);
}

/* Secondary */
.btn-secondary {
  background: var(--teal-400);
  color: var(--white);
  border-color: var(--teal-500);
  box-shadow: 0 4px 14px rgba(30,148,143,0.28);
}
.btn-secondary:hover {
  background: var(--teal-500);
  box-shadow: 0 8px 22px rgba(30,148,143,0.36);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--blue-300);
}
.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-body);
  border-color: var(--border-default);
}
.btn-ghost:hover {
  background: var(--bg-light);
  color: var(--text-strong);
}

/* Sizes */
.btn-sm  { height: 36px; padding: 0 16px; font-size: var(--fs-xs); }
.btn-md  { height: 44px; padding: 0 22px; font-size: var(--fs-sm); }
.btn-lg  { height: 52px; padding: 0 30px; font-size: var(--fs-base); }
.btn-xl  { height: 58px; padding: 0 38px; font-size: var(--fs-md); }

/* Full width */
.btn-fw  { width: 100%; }

/* Amber / urgent */
.btn-amber {
  background: var(--amber-400);
  color: var(--navy);
  border-color: var(--amber-500);
  box-shadow: 0 4px 14px rgba(184,122,24,0.28);
}
.btn-amber:hover {
  background: var(--amber-300);
  box-shadow: 0 8px 22px rgba(184,122,24,0.36);
}

/* White variant (for dark sections) */
.btn-white {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--blue-50);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* Outline white (for blue-500 sections) */
.btn-outline-white {
  background: transparent;
  color: var(--navy);
  border-color: rgba(0,40,88,0.35);
}
.btn-outline-white:hover {
  background: rgba(0,40,88,0.08);
  border-color: var(--navy);
}


/* ─── 7. BADGES & CHIPS ──────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}
.badge-blue   { background: var(--blue-50);  color: var(--blue-600); }
.badge-teal   { background: var(--teal-50);  color: var(--teal-600); }
.badge-amber  { background: var(--amber-50); color: var(--amber-500); }
.badge-urgent { background: #FEF2F2; color: #C53030; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-light);
  border: 1px solid var(--border-default);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color var(--t-base), background var(--t-base);
}
.chip:hover { border-color: var(--blue-300); background: var(--blue-50); }
.chip svg   { flex-shrink: 0; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-pill);
  padding: 5px 18px 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.eyebrow-pill-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}


/* ─── 8. PROGRESS BARS ───────────────────────────────────────────────────── */

.progress-track {
  height: 6px;
  background: var(--border-default);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.progress-fill--blue  { background: var(--blue-500); }
.progress-fill--teal  { background: var(--teal-400); }
.progress-fill--amber { background: var(--amber-300); }
.progress-fill--white { background: rgba(255,255,255,0.85); }

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 6px;
}


/* ─── 9. CARD BASE ───────────────────────────────────────────────────────── */

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-medium);
}

.card-body   { padding: 28px; }
.card-body-sm { padding: 20px; }
.card-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-light);
}


/* ─── 10. FORM ELEMENTS ──────────────────────────────────────────────────── */

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 7px;
}
.form-label .required { color: #E53E3E; margin-left: 3px; }

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: 11px 16px;
  background: var(--white);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  color: var(--text-strong);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-xmuted); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(28,171,226,0.15);
}
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}
.form-error {
  display: none;
  font-size: var(--fs-xs);
  color: #E53E3E;
  margin-top: 5px;
}
.form-error.visible { display: block; }

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

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B8A9A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }


/* ─── 11. TOPBAR ─────────────────────────────────────────────────────────── */

.topbar {
  height: var(--topbar-h);
  background: var(--blue-900);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
  width: 100%;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left  { display: flex; align-items: center; gap: 20px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--t-base);
}
.topbar-link:hover { color: rgba(255,255,255,0.95); }
.topbar-link svg   { flex-shrink: 0; }

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 2px;
}
.topbar-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  color: rgba(255,255,255,0.5);
  transition: color var(--t-base), background var(--t-base);
}
.topbar-social:hover { color: #fff; background: rgba(255,255,255,0.1); }

.topbar-lang {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-pill);
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  transition: background var(--t-base), color var(--t-base);
}
.lang-btn.active {
  background: var(--blue-500);
  color: var(--navy);
}
.lang-btn:hover:not(.active) {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
  .topbar-left { gap: 12px; }
  .topbar-link:nth-child(2) { display: none; }
}
@media (max-width: 480px) {
  .topbar-left    { display: none; }
  .topbar-socials { display: none; }
  .topbar-inner   { padding: 0 16px; justify-content: flex-end; }
}


/* ─── 12. MAIN NAVIGATION ────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-header.is-scrolled .mainnav {
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}

.mainnav {
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border-default);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.nav-inner {
  width: 100%;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  position: relative;
}
/* Logo lockup */
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
  margin-right: auto;
}
.logo-img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 4px;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  line-height: 1;
  white-space: nowrap;
}
.logo-sub {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-link {
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-body);
  transition: color var(--t-base), background var(--t-base);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--brand-primary);
  background: var(--blue-50);
}
.nav-link.active {
  color: var(--brand-primary);
  background: var(--blue-50);
}

/* Nav right section */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-donate-btn {
  gap: 6px;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-default);
  background: var(--white);
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: background var(--t-base), border-color var(--t-base);
}
.hamburger:hover {
  background: var(--bg-light);
  border-color: var(--border-medium);
}
.hamburger .icon-close { display: none; }
.hamburger.open .icon-menu  { display: none; }
.hamburger.open .icon-close { display: block; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 1024px) {
  .nav-inner { padding: 0 20px; }
}
@media (max-width: 480px) {
  .logo-img  { height: 32px; }
  .nav-donate-btn { display: none; }
  .logo-name { font-size: 0.82rem; }
  .logo-sub  { font-size: 0.82rem; }
}


/* ─── 13. MOBILE MENU ────────────────────────────────────────────────────── */

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 3px solid var(--blue-500);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  z-index: 999;
  animation: slideDown 0.25s ease-out;
}
.mobile-menu.is-open { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu-inner {
  padding: 20px var(--container-pad) 28px;
}
.mobile-nav {
  list-style: none;
  margin-bottom: 20px;
}
.mobile-nav li { border-bottom: 1px solid var(--border-light); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a {
  display: block;
  padding: 13px 4px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-body);
  transition: color var(--t-base), padding-left var(--t-base);
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--brand-primary);
  padding-left: 8px;
}

@media (max-width: 480px) {
  .mobile-menu-inner { padding: 16px 16px 24px; }
}


/* ─── 14. HERO (PAGE INTERIOR) ───────────────────────────────────────────── */

.page-hero {
  background: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(28,171,226,0.15);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(55,78,162,0.08);
  pointer-events: none;
}
.page-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--text-strong);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.page-hero h1 span { color: var(--brand-primary); }
.page-hero-sub {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

/* SVG wave below hero */
.hero-wave {
  display: block;
  width: 100%;
  height: 60px;
  margin-top: -2px;
}

@media (max-width: 768px) {
  .page-hero { padding: 60px 0 52px; }
}


/* ─── 15. CAUSE / PROGRAM CARDS ──────────────────────────────────────────── */

.cause-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
}
.cause-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-medium);
}

.cause-card-top {
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  color: var(--navy);
}
.cause-card-top--blue  { background: #1CABE2; }
.cause-card-top--teal  { background: #374EA2; color: var(--white); }
.cause-card-top--amber { background: #FFC20E; }

.cause-card-top::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.cause-card-top::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.cause-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(0,40,88,0.10);
  border: 1px solid rgba(0,40,88,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.cause-card-top--teal .cause-card-icon {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.22);
  color: var(--white);
}
.cause-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(0,40,88,0.55);
  display: block;
  margin-bottom: 7px;
  position: relative;
  z-index: 1;
}
.cause-card-top--teal .cause-card-tag { color: rgba(255,255,255,0.55); }
.cause-card-top h3 {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.cause-card-top--teal h3 { color: var(--white); }

.cause-card-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cause-card-body p {
  font-size: var(--fs-sm);
  color: var(--text-body);
  line-height: 1.65;
  margin: 0 0 18px;
  flex: 1;
}
.cause-card-stats {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}
.cause-card-stat-n {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-strong);
}
.cause-card-stat-l {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}


/* ─── 16. COUNTER / STATS SECTION ───────────────────────────────────────── */

.counter-section {
  background: var(--bg-light);
  padding: var(--section-v) 0;
  position: relative;
  overflow: hidden;
}
.counter-section::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}
.counter-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.counter-cell {
  background: rgba(255,255,255,0.02);
  padding: 40px 32px;
  text-align: center;
  transition: background var(--t-base);
}
.counter-cell:hover { background: var(--blue-50); }

.counter-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-50);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--blue-500);
}
.counter-n {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.counter-suffix {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal-400);
}
.counter-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
}

@media (max-width: 768px) {
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .counter-grid { grid-template-columns: 1fr; }
  .counter-cell { padding: 28px 20px; }
}


/* ─── 17. TESTIMONIAL ────────────────────────────────────────────────────── */

.testimonial-section {
  background: var(--bg-light);
  padding: var(--section-v) 0;
}
.testimonial-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
  padding: 52px 56px;
  text-align: center;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px; left: 40px;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--blue-100);
  pointer-events: none;
}
.testimonial-text {
  font-size: 1.2rem;
  color: var(--text-strong);
  line-height: 1.72;
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-strong);
}
.testimonial-role {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .testimonial-card { padding: 36px 28px; }
  .testimonial-text { font-size: 1rem; }
}


/* ─── 18. EVENT CARDS ────────────────────────────────────────────────────── */

.event-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.event-card-date {
  flex-shrink: 0;
  width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: var(--blue-500);
  color: var(--navy);
  text-align: center;
}
.event-card-month {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,40,88,0.65);
  margin-bottom: 3px;
}
.event-card-day {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}
.event-card-year {
  font-size: 10px;
  color: rgba(0,40,88,0.50);
  margin-top: 3px;
}

.event-card-body { padding: 20px 22px; flex: 1; }
.event-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 7px;
}
.event-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
  line-height: 1.3;
}
.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.event-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.event-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-primary);
  transition: gap var(--t-base);
}
.event-card-link:hover { gap: 8px; }


/* ─── 19. NEWS / ARTICLE CARDS ───────────────────────────────────────────── */

.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.news-card-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.news-card-thumb--blue  { background: var(--blue-500); }
.news-card-thumb--teal  { background: var(--teal-400); }
.news-card-thumb--amber { background: var(--amber-400); }
.news-card-thumb--navy  { background: var(--blue-800); }

.news-card-thumb-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(0,40,88,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.news-card-thumb--teal .news-card-thumb-icon,
.news-card-thumb--navy .news-card-thumb-icon {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.news-card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.news-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.35;
  margin-bottom: 10px;
}
.news-card-body p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.62;
  flex: 1;
  margin-bottom: 16px;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-xmuted);
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.news-card-link {
  font-weight: 700;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-base);
}
.news-card-link:hover { gap: 7px; }


/* ─── 20. VOLUNTEER / ROLE CARDS ─────────────────────────────────────────── */

.role-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.role-card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.role-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
}
.role-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
}
.role-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}


/* ─── 21. HOW IT WORKS — 3-STEP ──────────────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: start;
  gap: 0;
}
.step-arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 32px;
  color: var(--border-medium);
}
.step-card {
  text-align: center;
  padding: 8px;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 2px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-primary);
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 10px;
}
.step-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step-arrow { display: none; }
}


/* ─── 22. DONATE WIDGET SECTION ─────────────────────────────────────────── */

.donate-section {
  background: var(--bg-light);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: var(--section-v) 0;
}
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}
.donate-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.donate-toggle {
  display: flex;
  background: var(--bg-light);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  margin-bottom: 20px;
}
.donate-toggle-btn {
  flex: 1;
  height: 38px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
  transition: background var(--t-base), color var(--t-base), box-shadow var(--t-base);
}
.donate-toggle-btn.active {
  background: var(--white);
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.donate-amt-btn {
  height: 46px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-default);
  background: var(--bg-light);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  transition: all var(--t-base);
}
.donate-amt-btn:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
  color: var(--brand-primary);
}
.donate-amt-btn.active {
  border-color: var(--blue-500);
  background: var(--blue-50);
  color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(28,171,226,0.15);
}
.donate-custom {
  position: relative;
  margin-bottom: 16px;
}
.donate-custom-prefix {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}
.donate-custom input {
  width: 100%;
  padding: 11px 16px 11px 32px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-strong);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
}
.donate-custom input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(28,171,226,0.15);
}
.donate-impact-text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 16px;
  min-height: 1.5em;
}

@media (max-width: 1024px) {
  .donate-grid { grid-template-columns: 1fr; gap: 36px; }
  .donate-card { max-width: 480px; }
}
@media (max-width: 600px) {
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
}


/* ─── 23. VOLUNTEER CTA BAND ─────────────────────────────────────────────── */

.cta-band {
  background: var(--blue-500);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.cta-band p {
  font-size: var(--fs-lg);
  color: var(--navy);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 32px;
}
.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}


/* ─── 24. NEWSLETTER BAND ────────────────────────────────────────────────── */

.newsletter-section {
  background: var(--bg-light);
  padding: 64px 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter-copy h3 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--text-strong);
  margin-bottom: 10px;
}
.newsletter-copy p {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.65;
}
.newsletter-form {
  display: flex;
  gap: 10px;
}
.newsletter-input {
  flex: 1;
  padding: 13px 18px;
  background: var(--white);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-pill);
  color: var(--text-strong);
  font-size: var(--fs-base);
  outline: none;
  transition: border-color var(--t-base), background var(--t-base);
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus {
  border-color: var(--brand-primary);
  background: var(--white);
}

@media (max-width: 768px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-form  { flex-direction: column; }
}


/* ─── 25. FOOTER ─────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  margin: 18px 0 20px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.footer-social {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.48);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.footer-social:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.footer-reg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
}

.footer-col-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-link {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  transition: color var(--t-base), padding-left var(--t-base);
}
.footer-link:hover { color: rgba(255,255,255,0.88); padding-left: 4px; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.28);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--t-base);
}
.footer-legal a:hover { color: rgba(255,255,255,0.72); }

/* Footer logo adjustment for dark bg */
.site-footer .logo-name { color: var(--white); }
.site-footer .logo-sub  { color: rgba(255,255,255,0.35); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* ─── 26. SCROLL ANIMATION CLASSES ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.revealed { opacity: 1; transform: none !important; }

.reveal-up      { transform: translateY(32px); }
.reveal-down    { transform: translateY(-24px); }
.reveal-left    { transform: translateX(-40px); }
.reveal-right   { transform: translateX(40px); }
.reveal-scale   { transform: scale(0.93); }

/* Legacy animation classes (used in existing index.html) */
.anim-fade-in   { opacity: 0; animation: fadeIn 0.55s ease-out forwards; }
.anim-fade-up   { opacity: 0; animation: fadeUp 0.65s ease-out forwards; }
.anim-slide-l   { opacity: 0; animation: slideInL 0.65s ease-out forwards; }
.anim-slide-r   { opacity: 0; animation: slideInR 0.65s ease-out forwards; }

.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.45s; }

@keyframes fadeIn  { from { opacity: 0; }                        to { opacity: 1; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInL { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInR { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: translateX(0); } }

/* Stagger delays for reveal children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.55s; }


/* ─── 27. FILTER / TAG BAR ───────────────────────────────────────────────── */

.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-default);
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--t-base);
}
.filter-btn:hover {
  border-color: var(--blue-300);
  color: var(--brand-primary);
  background: var(--blue-50);
}
.filter-btn.active {
  border-color: var(--blue-500);
  background: var(--blue-500);
  color: var(--navy);
  box-shadow: 0 3px 10px rgba(28,171,226,0.28);
}


/* ─── 28. INFO / CONTACT CARD ────────────────────────────────────────────── */

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.contact-card-top {
  background: var(--blue-500);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
}
.contact-card-body { padding: 24px 28px 28px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon-box {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ─── 29. FAQ ACCORDION ──────────────────────────────────────────────────── */

.faq-item {
  border-bottom: 1px solid var(--border-default);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-strong);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color var(--t-base);
}
.faq-question:hover { color: var(--brand-primary); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform var(--t-base), background var(--t-base), border-color var(--t-base);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue-50);
  border-color: var(--blue-300);
  color: var(--brand-primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer-inner { padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 300px; }


/* ─── 30. TIMELINE ───────────────────────────────────────────────────────── */

.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--blue-500);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-500);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.timeline-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
}


/* ─── 31. PARTNER / TRUST STRIP ──────────────────────────────────────────── */

.partner-strip {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}
.partner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partner-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-xmuted);
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-default);
  background: var(--bg-light);
}


/* ─── 32. SUCCESS STATE ──────────────────────────────────────────────────── */

.success-state {
  display: none;
  text-align: center;
  padding: 48px 32px;
}
.success-state.visible { display: block; }
.success-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--teal-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
}
.success-state h3 { font-size: 1.4rem; margin-bottom: 10px; }
.success-state p { color: var(--text-muted); line-height: 1.65; }


/* ─── 33. TRUST BADGES ───────────────────────────────────────────────────── */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-badge {
  background: var(--white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.trust-badge-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--brand-primary);
}
.trust-badge-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 4px;
}
.trust-badge-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
}


/* ─── 34. BREADCRUMB ─────────────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--brand-primary); transition: color var(--t-base); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-sep { color: var(--border-default); }


/* ─── 35. MAP PLACEHOLDER ────────────────────────────────────────────────── */

.map-placeholder {
  background: var(--bg-light);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  text-align: center;
}
.map-placeholder-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}


/* ─── 36. IMPACT CALCULATOR ─────────────────────────────────────────────── */

.impact-calc {
  background: var(--blue-50);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--text-strong);
}
.impact-calc h3 {
  color: var(--text-strong);
  margin-bottom: 24px;
  font-size: 1.3rem;
}
.impact-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.impact-calc-row:last-child { border-bottom: none; }
.impact-calc-amount {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--teal-400);
  font-size: 1rem;
}
.impact-calc-result { font-size: var(--fs-sm); color: var(--text-muted); }


/* ─── 37. REGION CARDS ───────────────────────────────────────────────────── */

.region-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.region-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.region-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.region-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.region-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.region-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--fs-sm);
}
.region-stat:last-child { border-bottom: none; }
.region-stat-n {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-strong);
}


/* ─── 38. GENERIC GRIDS ──────────────────────────────────────────────────── */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}


/* ─── 39. UTILITY CLASSES ────────────────────────────────────────────────── */

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-muted   { color: var(--text-muted); }
.text-strong  { color: var(--text-strong); }
.text-primary { color: var(--brand-primary); }
.text-white   { color: var(--white); }
.text-teal    { color: var(--teal-500); }
.text-amber   { color: var(--amber-400); }

.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-56 { margin-bottom: 56px; }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border-default);
  margin: 32px 0;
}


/* ─── 40. FEATURE LIST ───────────────────────────────────────────────────── */

.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--fs-base);
  color: var(--text-body);
}
.feature-list li:last-child { border-bottom: none; }
.feature-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--teal-500);
}


/* ─── 41. SOCIAL BUTTONS ─────────────────────────────────────────────────── */

.social-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default);
  background: var(--white);
  color: var(--text-muted);
  transition: all var(--t-base);
}
.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}


/* ─── 42. LOAD MORE / PAGINATION ─────────────────────────────────────────── */

.load-more-wrap {
  text-align: center;
  margin-top: 48px;
}
.load-more-msg {
  display: none;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: 12px 0;
}
.load-more-msg.visible { display: block; }


/* ─── 43. CAUSE SELECTOR ─────────────────────────────────────────────────── */

.cause-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.cause-select-btn {
  padding: 12px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-default);
  background: var(--bg-light);
  text-align: center;
  transition: all var(--t-base);
  cursor: pointer;
}
.cause-select-btn:hover {
  border-color: var(--blue-300);
  background: var(--blue-50);
}
.cause-select-btn.active {
  border-color: var(--blue-500);
  background: var(--blue-50);
  box-shadow: 0 0 0 3px rgba(28,171,226,0.1);
}
.cause-select-btn-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
  margin-top: 4px;
}
.cause-select-btn.active .cause-select-btn-label { color: var(--brand-primary); }

@media (max-width: 480px) {
  .cause-select-grid { grid-template-columns: 1fr; }
}


/* ─── 44. PAGE-SPECIFIC OVERRIDES ────────────────────────────────────────── */

/* Ensure main content isn't hidden by sticky header */
body > main:first-child,
.site-header + main { scroll-margin-top: var(--header-h); }

/* Featured article (news page) */
.featured-article {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 56px;
}
.featured-article-thumb {
  min-height: 320px;
  background: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-article-body { padding: 44px 40px; }
.featured-article-body h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 14px;
  line-height: 1.2;
}
.featured-article-body p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-article-thumb { min-height: 200px; }
  .featured-article-body  { padding: 28px 24px; }
}


/* ─── 45. IMPACT AT A GLANCE CARD ───────────────────────────────────────── */

.hero-impact-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
}
.hero-impact-top {
  background: var(--blue-500);
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}
.hero-impact-top::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(0,40,88,0.08);
}
.hero-impact-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,40,88,0.60);
  margin-bottom: 4px;
}
.hero-impact-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  position: relative;
}
.hero-impact-body { padding: 20px 24px 24px; }
.hero-impact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.hero-impact-row:last-child { border-bottom: none; }
.hero-impact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-impact-n { font-family: var(--font-mono); font-size: 0.95rem; font-weight: 700; color: var(--text-strong); }
.hero-impact-l { font-size: 11px; color: var(--text-muted); }

/* ─── 46. PRINT STYLES (minimal) ─────────────────────────────────────────── */

@media print {
  .site-header, .site-footer, .cta-band, .newsletter-section { display: none; }
  body { background: white; color: black; }
  a { color: #1CABE2; }
}


/* ─── 47. ENHANCED NAV & MOBILE EXPERIENCE ──────────────────────────────── */

/* Scrolled nav — frosted glass lift */
.site-header.is-scrolled .mainnav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,40,88,0.10), 0 1px 4px rgba(0,0,0,0.05);
}

/* Active nav indicator underline */
.nav-link.active {
  color: var(--brand-primary);
  background: var(--blue-50);
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: var(--radius-pill);
}

/* Better mobile nav touch targets */
@media (max-width: 1024px) {
  .mobile-nav a {
    padding: 14px 8px;
    font-size: 1.0625rem;
    border-radius: var(--radius-md);
    transition: color var(--t-base), background var(--t-base), padding-left var(--t-base);
  }
  .mobile-nav a:hover,
  .mobile-nav a.active {
    color: var(--brand-primary);
    background: var(--blue-50);
    padding-left: 14px;
  }
  .mobile-nav li { border-bottom: 1px solid var(--border-light); }
  .mobile-menu-inner { padding: 16px 20px 28px; }
}

/* Mobile menu backdrop overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,40,88,0.38);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
  animation: overlayIn .2s ease-out;
}
.mobile-menu-overlay.show { display: block; }
@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Mobile menu — push up from bottom on very small screens */
@media (max-width: 480px) {
  .mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border-top: 1px solid var(--border-light);
    border-bottom: none;
    box-shadow: 0 -16px 48px rgba(0,40,88,0.18);
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp .28s cubic-bezier(.34,1.56,.64,1);
  }
  @keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
  }
  .mobile-menu-inner {
    padding: 20px 20px 36px;
  }
  .mobile-menu-handle {
    width: 36px; height: 4px;
    border-radius: 2px;
    background: var(--border-medium);
    margin: 0 auto 20px;
  }
}

/* Topbar — hide entirely on ≤480px but keep language toggle */
@media (max-width: 480px) {
  .topbar { display: none; }
}

/* Smooth active link underline removal on resize */
@media (max-width: 1024px) {
  .nav-link.active::after { display: none; }
}

/* Better logo on tablet */
@media (max-width: 768px) {
  .logo-lockup { gap: 8px; }
  .logo-name, .logo-sub { font-size: 0.875rem; }
}

/* CTA band mobile padding */
@media (max-width: 600px) {
  .cta-band { padding: 56px 0; }
  .cta-band h2 { font-size: 1.8rem; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .cta-band-actions .btn { width: 100%; max-width: 320px; }
}

/* Donate grid — ensure full width card on mobile */
@media (max-width: 600px) {
  .donate-card { max-width: 100%; }
}

/* Page hero padding on mobile */
@media (max-width: 480px) {
  .page-hero { padding: 52px 0 44px; }
  .page-hero h1 { font-size: 2rem; }
}

/* Footer on very small screens */
@media (max-width: 480px) {
  .site-footer { padding-top: 48px; }
  .footer-bottom { gap: 10px; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}

/* ── Admin-managed photos ───────────────────────────────────────────────── */
/* the photo itself is set inline by the build (scripts/build.mjs → injectImages) */
.page-hero--photo::before, .page-hero--photo::after { display: none; }
.page-hero--photo h1, .page-hero--photo .page-hero-sub { color: #fff; }
.page-hero--photo .page-hero-eyebrow { color: #fff; background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }

.news-thumb-photo { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.news-card-thumb { position: relative; }

.cause-card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cause-card-shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,20,60,0.35), rgba(0,20,60,0.72)); z-index: 0; }
.cause-card-top--photo > *:not(.cause-card-photo):not(.cause-card-shade) { position: relative; z-index: 1; }
.cause-card-top--photo, .cause-card-top--photo h3, .cause-card-top--photo .cause-card-tag { color: #fff; }

img.testimonial-avatar--photo { object-fit: cover; background: none; }
