/* ==========================================================================
   IMC — International Medical Committee
   Design system: institutional minimalism (Swiss grid + Apple HIG restraint).
   Inter (body/UI) + Manrope (display). Institutional blue, neutral grays,
   cyan used only as a sparse support accent. No glass, no gradients, no neon.
   See design-system/imc-international-medical-committee/MASTER.md for the brief.
   ========================================================================== */

/* Font loading moved to <link rel="preconnect"/stylesheet"> in each page's <head>
   for faster, non-blocking discovery — see index.html, privacidad.html, terminos.html. */

:root {
  /* ---------- Color ---------- */
  --color-ink: #0A1B33;          /* deepest surface — footer */
  --color-navy-deep: #0F2A54;    /* dark section fill — hero, reach, legal hero */
  --color-primary: #1B4B91;      /* institutional blue — CTAs, links, icons */
  --color-secondary: #2C5FAE;    /* hover / secondary blue */
  --color-accent: #0EA5B7;       /* cyan — sparse support accent, dark backgrounds only */
  --color-accent-ink: #0C6E7A;   /* cyan-teal — same accent, AA-safe as text/graphic on light surfaces */
  --color-accent-light: #3FC1D1; /* lighter cyan — hover state, dark-bg highlight */
  --color-emergency: #A6342E;    /* muted red — semantic alert only */
  --color-background: #F7F8FA;
  --color-surface: #FFFFFF;
  --color-foreground: #10151C;
  --color-muted: #EEF1F4;
  --color-muted-text: #5B6472;
  --color-border: #DCE1E7;
  --color-on-primary: #FFFFFF;

  /* ---------- Type ---------- */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(1.75rem, 2.6vw, 2.25rem);
  --text-3xl: clamp(2.1rem, 3.6vw, 2.75rem);
  --text-4xl: clamp(2.5rem, 4.6vw, 3.5rem);

  /* ---------- Spacing ---------- */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --space-4xl: 7rem;

  /* ---------- Shape / elevation ---------- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 21, 28, 0.05);
  --shadow-md: 0 4px 16px rgba(16, 21, 28, 0.06);
  --shadow-lg: 0 16px 40px rgba(16, 21, 28, 0.10);

  --container-max: 1180px;
  --dur: 200ms;
  --dur-slow: 420ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-foreground);
  background: var(--color-background);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0; color: var(--color-navy-deep); letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* On dark-background containers the institutional blue ring disappears —
   switch to the light cyan, which stays clearly visible there (see contrast audit). */
.hero a:focus-visible,
.hero button:focus-visible,
.site-footer a:focus-visible,
.site-footer button:focus-visible,
.involve-card.primary a:focus-visible {
  outline-color: var(--color-accent-light);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-navy-deep);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section { padding: var(--space-3xl) 0; }
.section-header { max-width: 680px; margin: 0 0 var(--space-2xl); }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
  margin-bottom: var(--space-md);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-accent-ink);
  display: inline-block;
}
.section-header h2 { font-size: var(--text-2xl); }
.section-lede { margin-top: var(--space-md); color: var(--color-muted-text); font-size: 1.05rem; }

.grid { display: grid; gap: var(--space-lg); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  min-height: 44px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-secondary); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-navy { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline-navy:hover { background: var(--color-primary); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; min-height: 40px; }

/* ---------- Forms ---------- */
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13.5px; font-weight: 600; color: var(--color-foreground); }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--color-foreground);
  background: var(--color-surface);
  border: 1.5px solid #8394A0; /* darker than --color-border on purpose: an input boundary is an active UI component and needs 3:1 contrast, not the 1.2:1 of decorative card borders */
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 44px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-input:hover,
.form-textarea:hover,
.form-select:hover { border-color: var(--color-muted-text); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 75, 145, 0.15);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #9AA4AF; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.brand-mark { height: 36px; width: auto; flex-shrink: 0; margin-right: -2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--color-navy-deep);
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-muted-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  margin-top: 1px;
}
@media (min-width: 480px) { .brand-sub { max-width: none; } }
.brand-tagline {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-muted-text);
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
@media (min-width: 480px) { .brand-tagline { max-width: none; } }
@media (max-width: 400px) { .brand-tagline { display: none; } }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; align-items: center; gap: clamp(10px, 1vw, 18px); flex-shrink: 1; }
  .main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-foreground);
    position: relative;
    padding: 4px 2px;
    white-space: nowrap;
    transition: color var(--dur) var(--ease);
  }
  .main-nav a:hover { color: var(--color-primary); }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .main-nav a:hover::after,
  .main-nav a:focus-visible::after { transform: scaleX(1); }
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-actions .btn { display: none; }
@media (min-width: 640px) { .header-actions .btn { display: inline-flex; } }
@media (max-width: 400px) {
  .brand-sub { display: none; }
  .lang-toggle button { padding: 10px 10px; }
}
.lang-toggle {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px;
  background: var(--color-surface);
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-muted-text);
  min-height: 44px;
  min-width: 44px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-toggle button:hover { color: var(--color-foreground); }
.lang-toggle button[aria-pressed="true"] { background: var(--color-navy-deep); color: #fff; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--color-primary); background: var(--color-muted); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-md) 0 var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-muted);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--dur) var(--ease);
}
.mobile-nav a:hover { color: var(--color-primary); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--color-navy-deep);
  color: #fff;
  overflow: hidden;
  padding: var(--space-3xl) 0 var(--space-2xl);
}
.hero-globe {
  position: absolute;
  top: 50%;
  right: clamp(-160px, -8vw, -40px);
  transform: translateY(-50%);
  width: clamp(380px, 46vw, 640px);
  height: clamp(380px, 46vw, 640px);
  z-index: 1;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.hero-globe canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  pointer-events: auto;
}
@media (max-width: 959px) { .hero-globe { display: none; } }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
}
.wofp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}
.hero h1 {
  font-size: var(--text-4xl);
  color: #fff;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: #8FE0E8; }
.hero-lede {
  margin-top: var(--space-lg);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
}
.hero-actions {
  margin-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats {
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 460px;
}
.hero-stat .num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: #fff; }
.hero-stat .label { font-size: 12.5px; color: rgba(255,255,255,0.68); margin-top: 2px; }

.hero-panel {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.hero-panel-logo {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-md);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.hero-panel-logo img { width: 100%; height: 100%; object-fit: contain; }
.hero-panel h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.hero-panel p { color: rgba(255,255,255,0.7); font-size: 14.5px; }
.hero-panel-list { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: 12px; }
.hero-panel-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.85); }
.hero-panel-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: #8FE0E8; }

/* ---------- Mission / Vision ---------- */
.mv-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mv-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-muted);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
}
.mv-icon svg { width: 24px; height: 24px; }
.mv-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.mv-card p { color: var(--color-muted-text); }

/* ---------- Intervention cards ---------- */
.intervention-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  height: 100%;
}
.intervention-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.intervention-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.intervention-icon svg { width: 22px; height: 22px; }
.intervention-card.emergency .intervention-icon { background: var(--color-emergency); }
.intervention-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.intervention-card p { font-size: 14.5px; color: var(--color-muted-text); }

.process-strip {
  margin-top: var(--space-2xl);
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 768px) { .process-strip { grid-template-columns: repeat(3, 1fr); } }
.process-step { position: relative; padding-left: 52px; }
.process-step .step-num {
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-ink);
  color: var(--color-accent-ink);
  font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.process-step h4 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 14px; color: var(--color-muted-text); }

/* ---------- Global reach ---------- */
.reach-section { background: var(--color-navy-deep); color: #fff; position: relative; overflow: hidden; }
.reach-section .section-header h2 { color: #fff; }
.reach-section .eyebrow { color: #8FE0E8; }
.reach-section .eyebrow::before { background: #8FE0E8; }
.reach-grid { position: relative; display: grid; gap: var(--space-lg); }
@media (min-width: 860px) { .reach-grid { grid-template-columns: repeat(2, 1fr); } }
.reach-pillar {
  display: flex; gap: 14px;
  padding: var(--space-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.reach-pillar:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.2); }
.reach-pillar svg { width: 26px; height: 26px; color: #8FE0E8; flex-shrink: 0; }
.reach-pillar h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.reach-pillar p { color: rgba(255,255,255,0.68); font-size: 14px; }

/* ---------- WOFP alliance ---------- */
.alliance-band {
  background: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-2xl);
}
@media (min-width: 860px) { .alliance-band { grid-template-columns: auto 1fr; align-items: center; } }
.alliance-band img { width: 90px; height: auto; align-self: start; border-radius: var(--radius-sm); }
.alliance-band h3 { font-size: 1.25rem; margin-bottom: 8px; }
.alliance-band p { color: var(--color-muted-text); font-size: 14.5px; }

.people-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 720px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
.person-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease);
}
.person-card:hover { box-shadow: var(--shadow-md); }
.person-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-muted); position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person-body { padding: var(--space-lg); }
.person-role { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 4px; }
.person-name { font-size: 1.15rem; margin-bottom: 8px; }
.person-quote { font-size: 14.5px; color: var(--color-muted-text); font-style: italic; }

/* ---------- Transparency ---------- */
.transparency-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 768px) { .transparency-grid { grid-template-columns: repeat(3, 1fr); } }
.transparency-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  background: var(--color-surface);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.transparency-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.transparency-card svg { width: 28px; height: 28px; color: var(--color-primary); margin-bottom: var(--space-md); }
.transparency-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.transparency-card p { font-size: 14px; color: var(--color-muted-text); }

/* ---------- Get involved ---------- */
.involve-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 768px) { .involve-grid { grid-template-columns: repeat(3, 1fr); } }
.involve-card {
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.involve-card:hover { transform: translateY(-2px); }
.involve-card.primary { background: var(--color-navy-deep); color: #fff; }
.involve-card.outline { background: var(--color-surface); border: 1px solid var(--color-border); }
.involve-card.outline:hover { box-shadow: var(--shadow-md); }
.involve-card h3 { font-size: 1.15rem; }
.involve-card.primary h3 { color: #fff; }
.involve-card p { font-size: 14.5px; color: var(--color-muted-text); flex-grow: 1; }
.involve-card.primary p { color: rgba(255,255,255,0.75); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,0.72); padding: var(--space-3xl) 0 var(--space-lg); }
.footer-top { display: grid; gap: var(--space-2xl); margin-bottom: var(--space-2xl); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-md); }
.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.footer-brand span { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 15px; }
.footer-col h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-md); }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-desc { font-size: 14px; max-width: 42ch; color: rgba(255,255,255,0.55); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { transition: color var(--dur) var(--ease); }
.footer-legal a:hover { color: #fff; }

/* ---------- Reveal-on-scroll (fade + slide) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--color-navy-deep);
  color: #fff;
  padding: var(--space-2xl) 0;
}
.legal-hero .eyebrow { color: #8FE0E8; }
.legal-hero .eyebrow::before { background: #8FE0E8; }
.legal-hero h1 { color: #fff; font-size: var(--text-3xl); }
.legal-hero p { color: rgba(255,255,255,0.7); margin-top: var(--space-sm); max-width: 60ch; }
.legal-content { max-width: 680px; }
.legal-meta { font-size: 13px; color: var(--color-muted-text); margin-bottom: var(--space-2xl); }
.legal-content h2 { font-size: 1.3rem; margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--color-muted-text); margin-bottom: var(--space-md); }
.legal-content ul { margin: var(--space-md) 0 var(--space-lg); }
.legal-content li {
  position: relative;
  padding-left: 22px;
  color: var(--color-muted-text);
  margin-bottom: 8px;
}
.legal-content li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-ink);
}
.legal-content strong { color: var(--color-foreground); }
.legal-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--color-secondary); }

/* ---------- Utility ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(166,52,46,0.1);
  color: var(--color-emergency);
  margin-bottom: var(--space-md);
}
