/* ============================================================
   EHHD Foundation — Design System
   Redesigned with Claude Design
   ============================================================ */

:root {
  /* Backgrounds */
  --bg: #f5f7fb;
  --bg-soft: #eef2f8;
  --bg-softer: #f0f5fc;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: #0f172a;
  --surface-dark-2: #162338;

  /* Text */
  --text: #0c1524;
  --muted: #506070;
  --muted-2: #7a8799;

  /* Lines */
  --line: rgba(15, 23, 42, 0.07);
  --line-strong: rgba(15, 23, 42, 0.12);

  /* Brand palette */
  --brand: #0e7490;
  --brand-dark: #155e75;
  --brand-strong: #0f766e;
  --brand-soft: #e0f7fa;
  --brand-glow: rgba(14, 116, 144, 0.28);

  /* Accent — amber */
  --accent: #d97706;
  --accent-dark: #b45309;
  --accent-soft: #fef3c7;
  --accent-glow: rgba(217, 119, 6, 0.24);

  /* Violet */
  --violet: #4f46e5;
  --violet-dark: #3730a3;
  --violet-soft: #ede9fe;
  --violet-glow: rgba(79, 70, 229, 0.22);

  /* Green */
  --green: #059669;
  --green-soft: #d1fae5;

  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 8px 28px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 16px 44px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 28px 64px rgba(15, 23, 42, 0.14);
  --shadow-brand: 0 16px 40px rgba(14, 116, 144, 0.26);

  /* Border radii */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;

  /* Layout */
  --container: 1180px;
  --nav-height: 72px;
  --transition: 200ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(14, 116, 144, 0.10) 0%, transparent 38%),
    radial-gradient(circle at 92% 4%, rgba(79, 70, 229, 0.07) 0%, transparent 30%),
    linear-gradient(180deg, #fafcff 0%, #f4f7fc 50%, #edf2f9 100%);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(14, 116, 144, 0.5);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}
textarea { min-height: 160px; resize: vertical; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { margin: 0 0 14px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
h1, h2, h3, h4, h5 { font-family: "Sora", "Segoe UI", sans-serif; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.98rem; }
p { margin: 0 0 16px; color: var(--muted); font-size: 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.12; }

/* ── Layout ── */
.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-tight { padding: 40px 0; }
.section-bg-soft { background: var(--bg-softer); }
.page-shell { padding-top: calc(var(--nav-height) + 12px); }

/* ── Utility grids ── */
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-1 { display: grid; gap: 18px; }
.stack-24 { display: grid; gap: 24px; }
.stack-32 { display: grid; gap: 32px; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow.light {
  border-color: rgba(14, 116, 144, 0.18);
  background: rgba(14, 116, 144, 0.06);
  color: var(--brand-dark);
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #06b6d4);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.18);
  animation: dot-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.18); }
  50% { opacity: 0.5; transform: scale(0.7); box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.08); }
}

/* ── Section head ── */
.section-head { max-width: 740px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.lead { font-size: 1.1rem; font-weight: 400; color: var(--muted); line-height: 1.72; }
.card-body { font-size: 0.92rem; font-weight: 400; color: var(--muted); line-height: 1.65; }
.label-sm { font-size: 0.85rem; font-weight: 500; }
.label-xs { font-size: 0.82rem; font-weight: 600; }
.muted-strong { color: var(--muted-2); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ── Pills ── */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.87rem;
  font-weight: 600;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.pill-dot-green { background: #34d399; }
.pill-dot-blue { background: #38bdf8; }
.pill-dot-violet { background: #a78bfa; }

/* ── Buttons ── */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.93rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 0.97rem; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 14px 36px rgba(14, 116, 144, 0.28);
}
.btn-primary:hover { box-shadow: 0 20px 48px rgba(14, 116, 144, 0.38); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  color: #fff;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }

.btn-glass-dark {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
}
.btn-glass-dark:hover { background: rgba(255, 255, 255, 0.18); }

.btn-white {
  background: #ffffff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { box-shadow: var(--shadow-md); }

.btn-dark { background: var(--surface-dark); color: #fff; }
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-xs); }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  padding: 10px 18px; border-radius: 8px; background: var(--brand);
  color: #fff; font-weight: 700; font-size: 0.9rem; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ════════════════════════════════════════
   NAV — Direction A (Scholarly Minimal)
════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; width: 100%; z-index: 50;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(13, 27, 42, 0.07);
}

.nav-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-height); padding: 0 8px;
  width: 100%;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 8px; object-fit: contain; flex-shrink: 0; }
.brand-text { white-space: nowrap; }
.brand-text strong {
  font-size: 1.375rem;
  font-weight: 400;
  font-family: "DM Serif Display", Georgia, serif;
  color: #0d1b2a;
  letter-spacing: -0.01em;
  display: block;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 7px 13px;
  border-radius: 8px;
  color: #4a5568;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: "DM Sans", system-ui, sans-serif;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  color: #0d1b2a;
  background: rgba(13, 27, 42, 0.05);
}
.nav-links a.is-active {
  color: var(--brand);
  background: rgba(14, 116, 144, 0.08);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.nav-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  background: transparent; border-radius: 8px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px; border-radius: 2px; background: #0d1b2a;
  transition: transform var(--transition), opacity var(--transition);
  display: block;
}

/* ── Buttons (Direction A) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600; font-size: 0.88rem;
  font-family: "DM Sans", system-ui, sans-serif;
  border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none; min-height: 42px;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 50px; padding: 12px 26px; font-size: 0.95rem; border-radius: 10px; }
.btn-sm { min-height: 36px; padding: 7px 16px; font-size: 0.84rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 6px 20px var(--brand-glow); }
.btn-ghost { background: transparent; color: #0d1b2a; border-color: rgba(13, 27, 42, 0.15); }
.btn-ghost:hover { background: rgba(13, 27, 42, 0.05); border-color: rgba(13, 27, 42, 0.25); }
.btn-glass { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); backdrop-filter: blur(12px); color: #fff; }
.btn-glass:hover { background: rgba(255,255,255,0.22); }
.btn-glass-dark { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.88); }
.btn-glass-dark:hover { background: rgba(255,255,255,0.18); }
.btn-white { background: #fff; color: #0d1b2a; border-color: rgba(13,27,42,0.1); box-shadow: 0 2px 8px rgba(13,27,42,0.06); }
.btn-white:hover { box-shadow: 0 6px 20px rgba(13,27,42,0.1); }
.btn-secondary { background: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.3); color: #0d1b2a; }

/* ════════════════════════════════════════
   MOBILE MENU — Direction A (side drawer)
════════════════════════════════════════ */
.mobile-menu { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.mobile-menu.open { pointer-events: all; }
.mobile-menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(13, 27, 42, 0.35);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s;
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 300px; padding: 28px 24px;
  background: #faf9f6;
  display: flex; flex-direction: column; gap: 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -8px 0 40px rgba(13, 27, 42, 0.12);
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 24px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}
.mobile-close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid rgba(13, 27, 42, 0.12);
  background: transparent; color: #4a5568; font-size: 1rem; cursor: pointer;
}
.mobile-links { display: flex; flex-direction: column; flex: 1; }
.mobile-links a {
  display: block; padding: 13px 0;
  font-size: 1rem; font-weight: 500;
  color: #0d1b2a;
  border-bottom: 1px solid rgba(13, 27, 42, 0.07);
  font-family: "DM Sans", system-ui, sans-serif;
  transition: color 200ms, padding-left 200ms;
}
.mobile-links a:hover { color: var(--brand); padding-left: 4px; }
.mobile-links a:last-child { border-bottom: none; }
.mobile-links a.is-active { color: var(--brand); }
.mobile-menu .btn-primary { margin-top: 24px; width: 100%; justify-content: center; border-radius: 10px; padding: 13px 24px; font-size: 0.92rem; }

/* ═══════════════════════════════════════════════════════
   HERO — SPLIT LAYOUT
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 72px;
  color: #fff;
  background: linear-gradient(135deg, #080f1e 0%, #0f1e36 38%, #0d3349 68%, #0e4a47 100%);
}

/* Grid-line overlay */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 90%);
}

.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-orb-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(13,148,136,0.36) 0%, transparent 70%);
  top: -160px; right: -80px;
}
.hero-orb-2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(79,70,229,0.22) 0%, transparent 70%);
  bottom: -80px; left: 4%;
}
.hero-orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(6,182,212,0.20) 0%, transparent 70%);
  top: 40%; left: 38%;
}

/* Split layout */
.hero-split {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-top: 20px;
}

.hero-copy-col { display: grid; gap: 22px; }
.hero-copy-col .eyebrow { width: fit-content; }
.hero-copy-col h1 { margin: 0; max-width: 760px; }

.hero-lead {
  color: rgba(255,255,255,0.74); font-size: 1.08rem;
  line-height: 1.72; margin: 0; max-width: 600px;
}

/* Gradient text in hero */
.gradient-text {
  background: linear-gradient(135deg, #34d399, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text-amber {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Hero visual panel */
.hero-visual-col { position: relative; }

.hero-photo-stack { position: relative; }

.hero-photo {
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 32px 80px rgba(0,0,0,0.48);
}
.hero-photo-main {
  width: 100%; height: 320px;
  border-radius: 28px 28px 14px 14px;
}
.hero-photo-side {
  width: 76%;
  height: 180px;
  margin-top: 12px;
  border-radius: 14px 14px 28px 28px;
  margin-left: auto;
}

/* Floating metric card */
.hero-metric-card {
  position: absolute;
  bottom: 100px;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  color: #fff;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-metric-item { text-align: center; }
.hero-metric-num {
  display: block; font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.04em; color: #fff; line-height: 1;
  font-family: "Sora", "Segoe UI", sans-serif;
}
.hero-metric-item span { font-size: 0.76rem; color: rgba(255,255,255,0.68); font-weight: 600; display: block; margin-top: 3px; }
.hero-metric-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* NGO badge */
.hero-badge {
  position: absolute;
  top: 18px; right: -14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(5,150,105,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(52,211,153,0.3);
  color: #fff; font-size: 0.78rem; font-weight: 700;
  box-shadow: 0 8px 24px rgba(5,150,105,0.4);
}

/* ═══════════════════════════════════════════════════════
   IMPACT STRIP
   ═══════════════════════════════════════════════════════ */
.impact-strip {
  margin-top: -36px;
  position: relative; z-index: 2;
  padding-bottom: 0;
}

.impact-panel {
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.impact-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.impact-stat:last-child { border-right: none; }

.impact-stat-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,116,144,0.14), rgba(6,182,212,0.08));
  color: var(--brand);
  display: grid; place-items: center;
  border: 1px solid rgba(14,116,144,0.16);
}
.impact-stat-icon-amber {
  background: linear-gradient(135deg, rgba(217,119,6,0.14), rgba(245,158,11,0.08));
  color: var(--accent);
  border-color: rgba(217,119,6,0.16);
}
.impact-stat-icon-violet {
  background: linear-gradient(135deg, rgba(79,70,229,0.14), rgba(99,102,241,0.08));
  color: var(--violet);
  border-color: rgba(79,70,229,0.16);
}
.impact-stat-icon-green {
  background: linear-gradient(135deg, rgba(5,150,105,0.14), rgba(16,185,129,0.08));
  color: var(--green);
  border-color: rgba(5,150,105,0.16);
}

.impact-num {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.impact-stat div span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   PROGRAMS SECTION
   ═══════════════════════════════════════════════════════ */
.programs-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.programs-photos { display: grid; gap: 12px; }

.program-img { width: 100%; border-radius: 24px; object-fit: cover; }
.program-img-main { height: 300px; }
.program-img-secondary { height: 200px; }

/* Highlight panels */
.highlight-panel {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(14,116,144,0.12);
  background: linear-gradient(140deg, rgba(14,116,144,0.07) 0%, rgba(255,255,255,0.94) 55%);
  transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-panel:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.highlight-panel-amber {
  border-color: rgba(217,119,6,0.12);
  background: linear-gradient(140deg, rgba(217,119,6,0.07) 0%, rgba(255,255,255,0.94) 55%);
}

.highlight-panel-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14,116,144,0.16), rgba(6,182,212,0.08));
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(14,116,144,0.14);
}
.highlight-panel-icon-amber {
  background: linear-gradient(135deg, rgba(217,119,6,0.16), rgba(245,158,11,0.08));
  color: var(--accent);
  border-color: rgba(217,119,6,0.14);
}

/* ═══════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════ */
.trust-strip { margin-top: 0; padding: 60px 0; position: relative; z-index: 2; }

.trust-strip .panel {
  display: grid; gap: 24px;
  padding: 28px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.trust-strip .panel-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}

/* Logo / chip grid */
.logo-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.logo-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(245,247,251,0.96);
  border: 1px solid rgba(14,116,144,0.12);
  color: var(--muted);
  font-size: 0.9rem; font-weight: 700;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.logo-chip:hover {
  background: rgba(14,116,144,0.06);
  border-color: rgba(14,116,144,0.24);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

/* Tab highlight strip */
.tab-highlight-strip {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-top: 4px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tab-highlight-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(14,116,144,0.09), rgba(6,182,212,0.05));
  border: 1px solid rgba(14,116,144,0.2);
  color: var(--brand-dark);
  font-size: 0.84rem; font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}
.tab-highlight-chip:hover { background: rgba(14,116,144,0.12); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════
   PARTNER CHIPS
   ═══════════════════════════════════════════════════════ */
.partner-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.partner-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 800;
  border: 1px solid;
}
.partner-chip-red {
  background: rgba(200,16,46,0.07); color: #a50021; border-color: rgba(200,16,46,0.2);
}
.partner-chip-blue {
  background: rgba(0,65,145,0.07); color: #003082; border-color: rgba(0,65,145,0.2);
}
.partner-chip-muted {
  background: rgba(15,23,42,0.04); color: var(--muted-2); border-color: var(--line);
}

/* ═══════════════════════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════════════════════ */
.what-we-do-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 40px; align-items: start;
}
.what-we-do-photos {
  display: grid; gap: 12px;
  position: sticky; top: calc(var(--nav-height) + 20px);
}

.card, .dark-card, .timeline-card, .service-card, .pricing-card, .contact-card, .quote-card {
  border-radius: 28px;
}

.card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.card.hover-lift:hover, .service-card:hover, .pricing-card:hover, .quote-card:hover, .timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card.hover-lift, .service-card, .pricing-card, .quote-card, .timeline-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* Service card base */
.service-card {
  padding: 30px;
  border: 1px solid rgba(14,116,144,0.16);
  background: linear-gradient(155deg, rgba(14,116,144,0.06) 0%, rgba(255,255,255,0.95) 52%);
  box-shadow: var(--shadow-xs);
  border-top: 3px solid var(--brand);
}
.service-card h3 { color: var(--brand-dark); margin-bottom: 10px; }
.service-card:hover { box-shadow: 0 16px 48px rgba(14,116,144,0.14); }

/* Icon chip defaults */
.icon-chip, .service-icon-teal, .service-icon-amber, .service-icon-violet {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.icon-chip { background: rgba(255,255,255,0.16); color: #fff; font-style: normal; }

.service-icon-teal {
  background: linear-gradient(135deg, rgba(14,116,144,0.18), rgba(6,182,212,0.10));
  color: var(--brand);
  border: 1px solid rgba(14,116,144,0.2);
  box-shadow: 0 4px 12px rgba(14,116,144,0.16);
}
.service-icon-amber {
  background: linear-gradient(135deg, rgba(217,119,6,0.18), rgba(245,158,11,0.10));
  color: var(--accent);
  border: 1px solid rgba(217,119,6,0.2);
  box-shadow: 0 4px 12px rgba(217,119,6,0.16);
}
.service-icon-violet {
  background: linear-gradient(135deg, rgba(79,70,229,0.18), rgba(99,102,241,0.10));
  color: var(--violet);
  border: 1px solid rgba(79,70,229,0.2);
  box-shadow: 0 4px 12px rgba(79,70,229,0.16);
}

/* Accent (amber) service card */
.service-card.accent {
  border: 1px solid rgba(217,119,6,0.16);
  background: linear-gradient(155deg, rgba(217,119,6,0.06) 0%, rgba(255,255,255,0.95) 52%);
  border-top: 3px solid var(--accent);
}
.service-card.accent h3 { color: var(--accent-dark); }
.service-card.accent:hover { box-shadow: 0 16px 48px rgba(217,119,6,0.12); }

/* Violet service card */
.service-card.violet {
  border: 1px solid rgba(79,70,229,0.16);
  background: linear-gradient(155deg, rgba(79,70,229,0.06) 0%, rgba(255,255,255,0.95) 52%);
  border-top: 3px solid var(--violet);
}
.service-card.violet h3 { color: var(--violet-dark); }
.service-card.violet:hover { box-shadow: 0 16px 48px rgba(79,70,229,0.12); }

/* Card link */
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-size: 0.88rem; font-weight: 800;
  color: var(--brand);
  transition: gap var(--transition), opacity var(--transition);
}
.card-link:hover { gap: 10px; }
.card-link-amber { color: var(--accent-dark); }
.card-link-violet { color: var(--violet-dark); }

/* List check */
.list-check { display: grid; gap: 9px; }
.list-check li {
  display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.93rem;
}
.list-check li::before { content: "✓"; color: var(--brand); font-weight: 900; flex-shrink: 0; font-size: 0.82rem; margin-top: 2px; }
.service-card.accent .list-check li::before { color: var(--accent-dark); }
.service-card.violet .list-check li::before { color: var(--violet-dark); }

.dark-section .list-check li { color: rgba(255,255,255,0.78); }
.dark-section .list-check li::before { color: #5eead4; }

/* ═══════════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════════ */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; align-items: start;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute; top: 48px; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, #06b6d4 50%, var(--violet) 100%);
  border-radius: 2px;
  pointer-events: none; z-index: 0;
}

.timeline-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-sm);
}
.timeline-card-teal {
  background: linear-gradient(140deg, rgba(14,116,144,0.07) 0%, rgba(255,255,255,0.96) 50%);
  border-color: rgba(14,116,144,0.2); border-left: 3px solid var(--brand);
}
.timeline-card-amber {
  background: linear-gradient(140deg, rgba(217,119,6,0.07) 0%, rgba(255,255,255,0.96) 50%);
  border-color: rgba(217,119,6,0.2); border-left: 3px solid var(--accent);
}
.timeline-card-violet {
  background: linear-gradient(140deg, rgba(79,70,229,0.07) 0%, rgba(255,255,255,0.96) 50%);
  border-color: rgba(79,70,229,0.2); border-left: 3px solid var(--violet);
}

.timeline-step {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff; font-weight: 800;
  box-shadow: 0 6px 18px rgba(14,116,144,0.38);
}
.timeline-step-amber {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 6px 18px rgba(217,119,6,0.38);
}
.timeline-step-violet {
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  box-shadow: 0 6px 18px rgba(79,70,229,0.38);
}

/* ═══════════════════════════════════════════════════════
   PHOTO SHOWCASE
   ═══════════════════════════════════════════════════════ */
.photo-showcase {
  display: grid;
  grid-template-columns: 1fr 0.55fr auto;
  gap: 16px; align-items: stretch;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.photo-showcase-main { position: relative; }
.photo-showcase-side { display: grid; gap: 12px; }

.showcase-img {
  width: 100%; height: 100%; min-height: 220px;
  border-radius: 20px; object-fit: cover;
}
.showcase-img-side { min-height: 120px; }

.photo-overlay-tag {
  position: absolute; bottom: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.54); backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9); font-size: 0.78rem; font-weight: 700;
}

.photo-showcase-copy {
  display: grid; align-content: center; gap: 14px;
  padding: 16px 20px; min-width: 220px; max-width: 260px;
}
.photo-showcase-copy h3 { font-size: 1.3rem; color: var(--text); }
.photo-showcase-copy p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ═══════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════ */
.cta-banner {
  position: relative; overflow: hidden;
  padding: 52px 52px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 10%, rgba(251,191,36,0.18), transparent 32%),
    radial-gradient(circle at 10% 80%, rgba(14,116,144,0.22), transparent 36%),
    linear-gradient(135deg, #0a1729 0%, #112d45 60%, #0d3242 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-banner-orb {
  position: absolute; width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
  filter: blur(60px);
  top: -140px; right: -100px;
  pointer-events: none;
}
.cta-banner-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin: 0; max-width: 520px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════
   DARK SECTION
   ═══════════════════════════════════════════════════════ */
.dark-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(14,165,233,0.10), transparent 24%),
    linear-gradient(180deg, #0b1323 0%, #111d31 100%);
  color: #fff;
}
.dark-section p, .dark-section .muted-strong { color: rgba(255,255,255,0.68); }
.dark-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
}

/* ═══════════════════════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════════════════════ */
.stats-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-box {
  padding: 24px; border-radius: 22px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-sm);
}
.stat-box strong { display: block; font-size: 2rem; color: var(--text); margin-bottom: 8px; }
.stat-box span { color: var(--muted); font-size: 0.9rem; font-weight: 700; }

/* ═══════════════════════════════════════════════════════
   SPLIT PANEL
   ═══════════════════════════════════════════════════════ */
.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px; align-items: stretch;
}
.partnership-grid, .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

/* ═══════════════════════════════════════════════════════
   PAGE HERO (sub-pages)
   ═══════════════════════════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden;
  padding: 148px 0 86px;
  background: linear-gradient(135deg, #080f1e 0%, #0f1e36 38%, #0e4a47 100%);
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 92%);
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.30) 0%, transparent 70%);
  filter: blur(80px);
  top: -120px; right: -80px;
  pointer-events: none;
}
.page-hero-layout { position: relative; z-index: 1; max-width: 860px; }

.breadcrumbs {
  display: inline-flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px;
  color: rgba(255,255,255,0.58); font-size: 0.87rem; font-weight: 700;
}
.breadcrumbs span:last-child { color: rgba(255,255,255,0.9); }

.hero-note {
  margin-top: 26px; padding: 16px 18px; border-radius: 20px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
}

/* ═══════════════════════════════════════════════════════
   SIGNATURE, CONTACT, FORM
   ═══════════════════════════════════════════════════════ */
.signature-list { display: grid; gap: 14px; }
.signature-item { display: flex; gap: 14px; align-items: flex-start; }
.signature-item .icon-chip { width: 40px; height: 40px; background: var(--brand-soft); color: var(--brand); border-radius: 12px; }

.pricing-card { padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,0.9); box-shadow: var(--shadow-sm); }
.pricing-card.featured { background: linear-gradient(135deg, rgba(14,116,144,0.08), rgba(14,116,144,0.02)); border-color: rgba(14,116,144,0.24); }
.pricing-label {
  display: inline-block; margin-bottom: 14px; padding: 7px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}

.contact-card { padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,0.92); box-shadow: var(--shadow-sm); }
.contact-lines { display: grid; gap: 16px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .icon-chip { width: 42px; height: 42px; background: var(--brand-soft); color: var(--brand); border-radius: 12px; }
.contact-line strong { display: block; margin-bottom: 2px; }

.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text); font-size: 0.9rem; font-weight: 800; }
.form-note { margin-top: 8px; font-size: 0.82rem; color: var(--muted-2); font-style: italic; }
.mini-note { margin-top: 16px; font-size: 0.88rem; color: var(--muted-2); }

.privacy-box { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.privacy-box input { width: auto; margin-top: 4px; }

/* Quote card */
.quote-card { padding: 28px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.08); }
.quote-card blockquote {
  margin: 0 0 18px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.4rem; line-height: 1.35;
}
.quote-meta { color: rgba(255,255,255,0.6); font-size: 0.92rem; font-weight: 700; }

/* ═══════════════════════════════════════════════════════
   TEAM CARDS
   ═══════════════════════════════════════════════════════ */
.team-card {
  padding: 28px; border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.86);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.team-role {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 0.77rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 12px;
}
.team-role.accent { background: var(--accent-soft); color: var(--accent-dark); }
.team-role.violet { background: var(--violet-soft); color: var(--violet-dark); }

.team-name {
  font-family: "Sora", "Segoe UI", sans-serif; font-size: 1.32rem;
  color: var(--text); margin: 0 0 12px; line-height: 1.15; letter-spacing: -0.02em;
}
.team-bio { color: var(--muted); font-size: 0.94rem; margin: 0; line-height: 1.65; }

.team-divider { display: flex; align-items: center; gap: 18px; margin: 56px 0 36px; }
.team-divider-line { flex: 1; height: 1px; background: var(--line-strong); }
.team-divider-label {
  color: var(--muted-2); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}

.field-officer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.field-officer-chip {
  padding: 18px 16px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.84);
  font-weight: 700; color: var(--text); font-size: 0.93rem;
}

/* ═══════════════════════════════════════════════════════
   UNIVERSITY PARTNER CARDS
   ═══════════════════════════════════════════════════════ */
.uni-partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.uni-partner-card {
  padding: 32px; border-radius: 28px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-sm); display: grid; gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.uni-partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.uni-heidelberg { border-top: 4px solid #c8102e; background: linear-gradient(155deg, rgba(200,16,46,0.05) 0%, rgba(255,255,255,0.96) 50%); }
.uni-stuttgart { border-top: 4px solid #004191; background: linear-gradient(155deg, rgba(0,65,145,0.05) 0%, rgba(255,255,255,0.96) 50%); }
.uni-logo-block { display: flex; align-items: center; gap: 16px; }
.uni-crest-img { width: 80px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 10px; padding: 6px 8px; border: 1px solid var(--line); }
.uni-crest-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.uni-partner-name { font-family: "Sora", "Segoe UI", sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin-bottom: 2px; }
.uni-partner-country { font-size: 0.78rem; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; }
.uni-partner-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin: 0; }
.uni-partner-tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: rgba(200,16,46,0.08); color: #a50021; font-size: 0.79rem; font-weight: 800; letter-spacing: 0.04em; width: fit-content; }
.uni-partner-tag-blue { background: rgba(0,65,145,0.08); color: #002f6c; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
footer { padding: 56px 0 32px; background: #07101e; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; gap: 28px; }
.footer-grid p, .footer-grid a, .footer-grid li { color: rgba(255,255,255,0.64); font-size: 0.91rem; }
.footer-grid h4 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.88); margin-bottom: 16px; font-family: "Inter", sans-serif; font-weight: 700; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { transition: color var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,0.92); }
.footer-bottom {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; margin-top: 36px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.46); font-size: 0.85rem;
}
.footer-legal {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center; color: rgba(255,255,255,0.34);
  font-size: 0.79rem; line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 550ms ease, transform 550ms ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Vivid teal service card */
.service-card.teal-vivid { background: linear-gradient(135deg, #0f766e, #0891b2); border-color: transparent; color: #fff; }
.service-card.teal-vivid h3, .service-card.teal-vivid p { color: rgba(255,255,255,0.92); }
.service-card.teal-vivid .icon-chip { background: rgba(255,255,255,0.18); color: #fff; }
.service-card.teal-vivid .list-check li { color: rgba(255,255,255,0.82); }
.service-card.teal-vivid .list-check li::before { color: #7dd3fc; }

/* Glass panel */
.glass-panel {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

/* Hero card (misc) */
.hero-card { padding: 28px; border-radius: 28px; display: grid; gap: 18px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.metric { padding: 16px; border-radius: 20px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.08); }
.metric strong { display: block; margin-bottom: 4px; color: #fff; font-size: 1.25rem; }
.metric span { color: rgba(255,255,255,0.62); font-size: 0.87rem; }

.feature-list { display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.78); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .hero-split, .hero-layout, .split-panel, .partnership-grid, .contact-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-split { gap: 36px; }
  .hero-visual-col { display: none; }
  .hero-copy-col { max-width: 720px; }
  .logo-cloud, .stats-band, .impact-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; }
  .photo-showcase { grid-template-columns: 1fr 0.55fr; }
  .photo-showcase-copy { display: none; }
}

@media (max-width: 860px) {
  .nav-links, .nav-actions .btn-primary, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero, .page-hero { padding-top: 132px; }

  .stats-band, .grid-3, .grid-2, .form-row, .timeline, .what-we-do-layout, .programs-split {
    grid-template-columns: 1fr;
  }
  .what-we-do-photos, .programs-photos { position: static; }
  .timeline::before { display: none; }

  .impact-stats-grid { grid-template-columns: 1fr 1fr; }
  .impact-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .impact-stat:last-child, .impact-stat:nth-child(2n) { border-right: none; }

  .photo-showcase { grid-template-columns: 1fr; }
  .photo-showcase-side { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .hero { padding-bottom: 56px; }
  .hero-card, .card, .service-card, .pricing-card, .contact-card, .cta-banner, .dark-card, .timeline-card { padding: 22px; }
  .logo-cloud, .grid-4 { grid-template-columns: 1fr; }
  .metric-grid, .impact-stats-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; }
  .btn { width: 100%; }
  .trust-strip .panel-top { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: 32px 24px; }
  .field-officer-grid { grid-template-columns: 1fr; }
  .uni-partner-grid { grid-template-columns: 1fr; }
  .team-card { padding: 22px; }
  .impact-stat { border-right: none; }
}
