/* Proyecto Soluciones — identidad visual (Documento Estratégico de Marca 2026) */
:root {
  /* Paleta principal */
  --black: #000000;
  --graphite: #000000;
  --white: #ffffff;
  --gray-light: #ffffff;
  /* Acentos */
  --yellow: #f2c300;
  --blue: #000000;
  --green: #f2c300;

  /* Aliases usados en el sitio */
  --navy: var(--graphite);
  --navy-mid: #000000;
  --navy-light: #000000;
  --navy-hero-map: rgba(31, 31, 31, 0.4);
  --gold: var(--yellow);
  --gold-soft: #f5d24d;
  --crimson: var(--black);
  --crimson-hover: var(--black);
  --popular-bg: var(--white);
  --popular-border: #d8d8d8;
  --popular-label: #6b6b6b;
  --text-on-dark: var(--white);
  --text-muted-dark: rgba(255, 255, 255, 0.78);
  --surface: var(--white);
  --surface-alt: var(--white);
  --text: var(--graphite);
  --text-muted: #5c5c5c;
  --border: #d8d8d8;
  --accent: var(--black);
  --accent-light: var(--white);
  /* Titulares: Franklin Gothic Extra Condensed → Barlow Condensed / Libre Franklin */
  --display: "Barlow Condensed", "Libre Franklin", Impact, sans-serif;
  --serif: var(--display);
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --friendly: "Libre Franklin", var(--sans);
  --header-h: 56px;
  --popular-h: 48px;
  --banner-pin-h: calc(var(--header-h) + var(--popular-h));
  --max-width: 1280px;
  --radius: 4px;
  --radius-lg: 4px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
  /* compat variables */
  --owid-blue: var(--accent);
  --owid-blue-dark: var(--black);
  --owid-blue-light: var(--accent-light);
  --owid-text: var(--text);
  --owid-text-muted: var(--text-muted);
  --owid-border: var(--border);
  --owid-bg: var(--surface-alt);
  --owid-white: var(--surface);
  --owid-serif: var(--serif);
  --owid-sans: var(--sans);
  --sidebar-w: 268px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 106.25%; /* 17px — texto base un poco más grande */
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface-alt);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .page-title {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--graphite);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* —— Bloque superior (nav + popular + hero) —— */
.site-top {
  background: var(--black);
  overflow: visible;
  padding-top: var(--banner-pin-h);
}

/* —— Banner fijo (logo + menú + temas populares) —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 301;
  background: var(--black);
  overflow: visible;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 24px;
  overflow: visible;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.1rem 0;
  line-height: 1;
}

.logo:hover {
  text-decoration: none;
}

.logo:hover .logo-title {
  color: var(--gold);
}

.logo-img {
  display: none;
}

.logo-title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.logo-title::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 0.35rem;
  background: var(--gold);
  border-radius: 1px;
  vertical-align: 0.15em;
}

.logo:hover .logo-title::after {
  background: #fff;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  overflow: visible;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 1rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--yellow);
  flex-shrink: 0;
}

.header-social-label {
  display: flex;
  flex-direction: column;
  min-width: 5.2rem;
  font-size: 0.55rem;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.58);
}

.header-social-label strong {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 0;
  color: var(--yellow);
  background: transparent;
  border: none;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.header-social-link:hover {
  color: #fff;
  background: transparent;
  border: none;
  transform: none;
}

.header-social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

.header-nav a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-on-dark);
  text-decoration: none;
  opacity: 0.92;
}

.header-nav a:hover,
.header-nav a.active {
  opacity: 1;
  text-decoration: none;
}

.header-nav .btn-donate {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  margin-left: 0.75rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  color: #000 !important;
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 2px;
  text-decoration: none !important;
  opacity: 1 !important;
  box-shadow: none;
  animation: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.header-nav .btn-donate::before,
.header-nav .btn-donate::after {
  content: none;
  display: none;
}

.header-nav .btn-donate:hover {
  color: #000 !important;
  background: #fff;
  border-color: var(--yellow);
  transform: none;
  filter: none;
  animation: none;
  box-shadow: none;
  text-decoration: none !important;
}

.header-nav .btn-donate:hover::before,
.header-nav .btn-donate:hover::after {
  display: none;
}

.header-nav .btn-donate:active {
  transform: none;
  opacity: 0.9;
}

.header-nav .btn-donate.active {
  color: #000 !important;
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: none;
  animation: none;
}

/* Desplegable Temas país — solo al pasar el mouse */
.nav-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--header-h);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-on-dark);
  padding: 0 4px;
  cursor: default;
  opacity: 0.92;
  user-select: none;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown.is-hover .nav-dropdown-trigger {
  opacity: 1;
}

.nav-chevron {
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.is-hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  z-index: 9999;
}

/* Puente para no cerrar al bajar el cursor hacia el menú */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li {
  margin: 0;
  padding: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 20px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #333333 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: #f0f0f0;
  color: #000000 !important;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-subscribe {
  color: var(--text-on-dark);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-subscribe:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Donar en contenido (no nav) */
.topic-cta .btn-donate,
.path-donate-promo .btn-donate {
  color: #fff;
  background: var(--crimson);
  border: 1px solid var(--crimson);
  border-radius: var(--radius);
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  animation: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.topic-cta .btn-donate:hover,
.path-donate-promo .btn-donate:hover {
  background: var(--crimson-hover);
  border-color: var(--crimson-hover);
}

.btn-lg {
  padding: 10px 22px;
  font-size: 0.9375rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-on-dark);
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* —— Popular bar OWID (fondo claro + línea roja) —— */
.popular-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--popular-bg);
  border-top: 3px solid var(--crimson);
  border-bottom: 1px solid var(--popular-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.popular-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--popular-h);
  padding: 10px 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.popular-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--popular-label);
  flex-shrink: 0;
}

.popular-pills {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.popular-pill {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  padding: 6px 14px;
  border: 1px solid var(--popular-border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.popular-pill:hover {
  border-color: #b0b0b0;
  background: #fff;
}

.popular-pill.active {
  border-color: var(--navy);
  color: var(--navy);
  font-weight: 700;
  background: #fff;
}

/* —— Hero: portada con imagen —— */
.hero-home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(360px, 52vh, 520px);
  padding: 2.75rem 24px 3rem;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.68) 45%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.hero-home::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  transform: translateX(-50%);
  width: min(120px, 20%);
  height: 2px;
  background: var(--gold);
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 1.25rem;
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  color: #ffffff;
  margin: 0 auto 1rem;
  max-width: 36rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero-deck {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.6vw, 1.0625rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  line-height: 1.55;
}

.hero-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: none;
}

.hero-search input {
  width: 100%;
  border: none;
  padding: 12px 48px 12px 20px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--text);
  background: transparent;
  border-radius: 999px;
}

.hero-search input::placeholder {
  color: #888888;
}

.hero-search input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.hero-search-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: #666666;
  cursor: pointer;
  padding: 0;
}

.hero-search-btn:hover {
  color: var(--navy);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
}

.hero-badge strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-note {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* —— Storytelling: cifras clave —— */
.story-band {
  background: var(--navy);
  padding: 1rem 24px 1.15rem;
  border-bottom: 3px solid var(--gold);
}

.story-band .reveal,
.story-band .story-stat {
  opacity: 1;
  transform: none;
}

.story-band-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.story-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1rem 0.9rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  border-top: 2px solid var(--gold);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.story-stat:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transform: translateY(-2px);
}

.story-stat--crimson { border-top-color: #000000; }
.story-stat--amber { border-top-color: #000000; }
.story-stat--blue { border-top-color: #000000; }

.story-stat-value {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}

.story-stat-hook {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.story-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  flex: 1;
}

.story-stat-cta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

.story-stat:hover .story-stat-cta {
  color: #fff;
}

.story-band-foot {
  text-align: center;
  margin: 0.75rem 0 0;
}

.story-band-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 195, 0, 0.4);
}

.story-band-link:hover {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 900px) {
  .story-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .story-stats {
    grid-template-columns: 1fr;
  }

  .story-band {
    padding: 1.5rem 16px 1.75rem;
  }
}

/* —— Pestañas compactas —— */
.content-tabs {
  margin-top: 0.5rem;
}

.tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
}

.tab-btn {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fafafa;
  color: #5c5c5c;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tab-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.tab-btn.is-active,
.tab-btn[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.tabpanel {
  display: none;
}

.tabpanel.is-active {
  display: block;
}

.tabpanel[hidden] {
  display: none !important;
}

.tabpanel.is-active[hidden] {
  display: block !important;
}

/* —— Videos por tema (inicio — justo después del hero) —— */
.topic-videos {
  background: #ffffff;
  padding: 2.5rem 24px 2rem;
  border-bottom: 1px solid #e8e8e8;
}

.topic-videos .reveal {
  opacity: 1;
  transform: none;
}

.topic-videos-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.topic-videos-head {
  max-width: 44rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.topic-videos-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--friendly);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.topic-videos-title {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.topic-videos-lead {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.topic-videos-shell {
  margin-bottom: 0;
}

.topic-videos-tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.topic-videos-tab {
  padding: 0.45rem 1rem;
  font-family: var(--friendly);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.topic-videos-tab:hover {
  border-color: var(--navy-light);
}

.topic-videos-tab.is-active {
  color: #ffffff;
  background: var(--topic-tab-color, var(--navy));
  border-color: var(--topic-tab-color, var(--navy));
}

.topic-videos-panel[hidden] {
  display: none !important;
}

.topic-videos-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.15rem;
}

.topic-videos-panel-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.topic-videos-panel-link {
  font-family: var(--friendly);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.topic-videos-panel-link:hover {
  text-decoration: underline;
}

.topic-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.topic-video-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.topic-video-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.topic-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.topic-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-video-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.28);
  transition: background var(--transition);
}

.topic-video-play-icon svg {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.75rem;
  background: var(--crimson);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.topic-video-thumb:hover .topic-video-play-icon {
  background: rgba(0, 0, 0, 0.42);
}

.topic-video-embed {
  position: absolute;
  inset: 0;
}

.topic-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Lightbox de video */
body.video-lightbox-open {
  overflow: hidden;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.video-lightbox[hidden] {
  display: none !important;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.video-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.video-lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  line-height: 1;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.video-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.75);
}

.video-lightbox-head {
  padding: 1rem 3rem 0.75rem 1.15rem;
  background: #ffffff;
}

.video-lightbox-title {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.video-lightbox-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-lightbox-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-lightbox-stage iframe[hidden] {
  display: none;
}

.video-lightbox-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #000000;
}

.video-lightbox-fallback[hidden] {
  display: none !important;
}

.video-lightbox-fallback img {
  width: 100%;
  height: 55%;
  object-fit: cover;
  opacity: 0.85;
}

.video-lightbox-fallback-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  text-align: center;
}

.video-lightbox-fallback-msg {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  max-width: 28rem;
}

.video-lightbox-fallback-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  font-family: var(--friendly);
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  background: var(--crimson);
  border-radius: 100px;
}

.video-lightbox-fallback-btn:hover {
  background: var(--crimson-hover);
  color: #ffffff;
  text-decoration: none;
}

.video-lightbox-foot {
  margin: 0;
  padding: 0.75rem 1.15rem 1rem;
  text-align: right;
  font-size: 0.8125rem;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.video-lightbox-foot a {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.video-lightbox-foot a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .video-lightbox {
    padding: 0.75rem;
  }

  .video-lightbox-head {
    padding-right: 2.75rem;
  }
}

.topic-video-title {
  margin: 0;
  padding: 0.75rem 1rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
}

.topic-videos-error {
  margin: 0;
  padding: 2rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
  background: #fafafa;
  border: 1px dashed var(--border);
  border-radius: 10px;
}

.topic-videos-foot {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.topic-videos-donate {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.2rem;
  font-family: var(--friendly);
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  background: var(--crimson);
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
}

.topic-videos-donate:hover {
  background: var(--crimson-hover);
  transform: translateY(-1px);
  text-decoration: none;
  color: #ffffff;
}

@media (max-width: 900px) {
  .topic-videos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topic-videos {
    padding: 2rem 16px 1.75rem;
  }
}

/* —— Introducción: La Costa Rica que soñamos (ejecutivo) —— */
.vision-intro {
  background: #ffffff;
  padding: 3.5rem 24px 3.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.vision-intro-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.vision-intro-head {
  margin: 0 auto 2rem;
  padding-bottom: 0;
  border-bottom: none;
  max-width: 42rem;
  text-align: center;
}

.vision-intro-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.65rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.vision-intro-lead {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: #6b6b6b;
  margin: 0 auto;
  line-height: 1.55;
  max-width: 36rem;
}

.vision-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.vision-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
  border-top: 2px solid var(--navy);
  min-height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.vision-pillar:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.vision-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: var(--navy);
}

.vision-pillar-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}

.vision-pillar-body {
  min-width: 0;
}

.vision-pillar-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.2rem;
  line-height: 1.35;
}

.vision-pillar-text {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 400;
  color: #6b6b6b;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .vision-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
  }
}

@media (max-width: 520px) {
  .vision-intro {
    padding: 2rem 16px 1.75rem;
  }

  .vision-pillars {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .vision-pillar {
    padding: 1rem;
  }
}

/* —— Plataforma / historia (ejecutivo) —— */
.platform-story {
  background: linear-gradient(180deg, #f0f0f0 0%, #f7f7f7 48%, #ffffff 100%);
  padding: 2.25rem 24px 2.75rem;
}

.platform-story-inner {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 32px rgba(0, 0, 0, 0.05);
  padding: 1.75rem clamp(1.25rem, 3vw, 2rem) 2rem;
}

.ps-intro {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  position: relative;
}

.ps-intro--compact::after {
  display: none;
}

.ps-intro--compact {
  padding-bottom: 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.ps-intro::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ps-kicker {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 1rem;
}

.ps-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.ps-lead {
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: #5c5c5c;
  margin: 0 auto;
  max-width: 34rem;
  line-height: 1.7;
  font-weight: 400;
}

.ps-block {
  margin-bottom: 0;
}

.ps-block:last-child {
  margin-bottom: 0;
}

.ps-tabs .ps-block {
  padding-top: 0.25rem;
}

.ps-pillars--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.ps-pillars--compact li {
  padding: 0.75rem 1rem !important;
}

.ps-pillars--compact .ps-pillar-title {
  font-size: 0.875rem;
}

.ps-pillars--compact p {
  font-size: 0.8125rem;
  margin: 0;
}

.ps-muted--inline {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}

/* —— Paneles tab (impactantes) —— */
.ps-mission,
.ps-how,
.ps-reach,
.ps-leader,
.ps-trajectory,
.ps-plan-panel,
.impact-panel {
  padding-top: 0.5rem;
}

.panel-banner {
  text-align: center;
  padding: 1.75rem 1.5rem 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--navy) 0%, #000000 100%);
  border-radius: 4px;
  border-bottom: 3px solid var(--gold);
}

.panel-banner--alert {
  border-bottom-color: var(--crimson);
  background: linear-gradient(135deg, #000000 0%, var(--navy) 55%, #000000 100%);
}

.panel-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.panel-banner--alert .panel-eyebrow {
  color: #f2c300;
}

.panel-headline {
  font-family: var(--friendly);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.panel-deck {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto;
  max-width: 36rem;
  line-height: 1.5;
}

.panel-close {
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.25rem;
  text-align: center;
  font-size: 1rem;
  color: var(--navy);
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-left: 4px solid var(--crimson);
  border-radius: 4px;
  line-height: 1.5;
}

.panel-close strong {
  font-family: var(--friendly);
  font-weight: 800;
}

.panel-close--note {
  border-left-color: var(--gold);
  font-size: 0.9375rem;
  font-style: italic;
  color: #5c5c5c;
}

.panel-quote {
  margin: 1.25rem 0 0;
  padding: 1.35rem 1.5rem 1.35rem 2.5rem;
  position: relative;
  background: var(--navy);
  border: none;
  border-radius: 4px;
  font-family: var(--friendly);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}

.panel-quote--alert {
  background: linear-gradient(135deg, #000000 0%, var(--navy) 100%);
  border-left: 4px solid var(--crimson);
}

.panel-quote-mark {
  position: absolute;
  left: 0.85rem;
  top: 0.35rem;
  font-family: var(--friendly);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.panel-quote--alert .panel-quote-mark {
  color: #f2c300;
}

/* Misión */

.mission-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mission-pillar {
  position: relative;
  padding: 1.25rem 1.15rem 1.15rem 3.5rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.mission-pillar:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.18);
}

.mission-pillar--lead {
  grid-column: 1 / -1;
  padding-left: 3.5rem;
  background: linear-gradient(145deg, #fffdf2 0%, #fff 50%);
  border-left: 4px solid var(--gold);
}

.mission-step {
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  font-family: var(--friendly);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  opacity: 0.95;
}

.mission-pillar--lead .mission-step {
  color: #000000;
}

.mission-icon {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  color: var(--navy);
}

.mission-icon svg {
  width: 18px;
  height: 18px;
}

.mission-pillar--lead .mission-icon {
  background: rgba(242, 195, 0, 0.12);
  border-color: rgba(242, 195, 0, 0.35);
  color: #000000;
}

.mission-title {
  font-family: var(--friendly);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 2.5rem 0.4rem 0;
  line-height: 1.3;
}

.mission-desc {
  font-size: 0.9375rem;
  color: #3a3a3a;
  margin: 0;
  padding-right: 2rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .mission-pillars {
    grid-template-columns: 1fr;
  }

  .mission-pillar--lead {
    grid-column: auto;
  }

  .panel-banner {
    padding: 1.35rem 1.15rem;
  }

  .mission-pillar {
    padding-right: 3.25rem;
  }
}

/* Trayectoria */

.trajectory-milestones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.trajectory-milestone {
  position: relative;
  padding: 1.35rem 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid var(--navy);
  border-radius: 2px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.trajectory-milestone:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
}

.trajectory-milestone--highlight {
  background: linear-gradient(145deg, #fffdf2 0%, #fff 55%);
  border-left-color: var(--gold);
}

.trajectory-milestone--now {
  background: linear-gradient(145deg, #f5f5f5 0%, #fff 55%);
  border-left-color: var(--accent);
}

.trajectory-num {
  display: block;
  font-family: var(--friendly);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 0.15rem;
}

.trajectory-milestone--highlight .trajectory-num {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  color: #000000;
}

.trajectory-milestone--now .trajectory-num {
  color: var(--accent);
}

.trajectory-num-label {
  display: block;
  font-family: var(--friendly);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #5c5c5c;
  margin-bottom: 0.65rem;
}

.trajectory-period {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(0, 0, 0, 0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.trajectory-desc {
  font-size: 0.9375rem;
  color: #3a3a3a;
  margin: 0;
  line-height: 1.55;
}

.trajectory-desc strong {
  color: var(--navy);
}

.trajectory-desc em {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
}

/* Cómo funciona */
.how-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.how-col {
  padding: 1.35rem 1.25rem;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.how-col--reality {
  background: linear-gradient(160deg, #f5f5f5 0%, #fff 50%);
  border-left: 4px solid var(--crimson);
}

.how-col--solutions {
  background: linear-gradient(160deg, #fffdf2 0%, #fff 50%);
  border-left: 4px solid var(--gold);
}

.how-col-title {
  font-family: var(--friendly);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1rem;
  line-height: 1.25;
}

.how-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-list li {
  position: relative;
  padding: 0 0 0.75rem 1.35rem;
  font-size: 0.9375rem;
  color: #3a3a3a;
  line-height: 1.5;
}

.how-list li:last-child {
  padding-bottom: 0;
}

.how-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.how-col--reality .how-list li::before {
  background: var(--crimson);
}

.how-col--solutions .how-list li::before {
  background: var(--gold);
}

/* Alcance */
.reach-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.reach-card {
  padding: 1.2rem 1.15rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  border-left: 4px solid var(--navy);
}

.reach-card--hero {
  background: linear-gradient(145deg, #f5f5f5 0%, #fff 55%);
  border-left-color: var(--accent);
}

.reach-card--wide {
  grid-column: 1 / -1;
  background: linear-gradient(145deg, #fffdf2 0%, #fff 50%);
  border-left-color: var(--gold);
}

.reach-num {
  font-family: var(--friendly);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  display: block;
  margin-bottom: 0.35rem;
}

.reach-title {
  font-family: var(--friendly);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.25rem;
}

.reach-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.reach-desc {
  font-size: 0.9375rem;
  color: #3a3a3a;
  margin: 0;
  line-height: 1.5;
}

.reach-social {
  list-style: none;
  margin: 0.5rem 0;
  padding: 0;
  display: flex;
  gap: 0.4rem;
}

.reach-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  color: var(--navy);
  background: #fafafa;
}

.reach-social a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.reach-social svg {
  width: 16px;
  height: 16px;
}

/* Liderazgo — perfil editorial */
.leader-profile {
  display: grid;
  grid-template-columns: minmax(220px, 42%) 1fr;
  min-height: 420px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.leader-profile-visual {
  position: relative;
  background: var(--navy);
  min-height: 280px;
}

.leader-portrait {
  margin: 0;
  height: 100%;
  min-height: 280px;
}

.leader-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 12%;
}

.leader-portrait-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1.25rem 1.35rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
  pointer-events: none;
}

.leader-portrait-quote {
  font-family: var(--friendly);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--gold);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.leader-profile-body {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.75rem 1.5rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 35%);
}

.leader-profile-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 0.5rem;
}

.leader-profile-name {
  font-family: var(--friendly);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.leader-profile-role {
  font-size: 1rem;
  color: #4a4a4a;
  margin: 0 0 1.35rem;
  line-height: 1.55;
  max-width: 28rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.leader-credentials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  flex: 1;
}

.leader-credential {
  padding: 0.85rem 0 0;
  border-top: 2px solid #f0f0f0;
}

.leader-credential--highlight {
  border-top-color: var(--gold);
  background: linear-gradient(180deg, rgba(242, 195, 0, 0.08) 0%, transparent 100%);
  padding: 0.85rem 0.65rem 0.65rem;
  margin: -0.15rem -0.65rem 0;
  border-radius: 4px;
}

.leader-credential-value {
  display: block;
  font-family: var(--friendly);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.1rem;
}

.leader-credential--highlight .leader-credential-value {
  color: #000000;
}

.leader-credential-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 0.4rem;
}

.leader-credential p {
  font-size: 0.8125rem;
  color: #4a4a4a;
  margin: 0;
  line-height: 1.45;
}

.leader-tagline {
  margin: 1.15rem 0 0;
  padding: 1.15rem 1.35rem;
  font-size: 1rem;
  text-align: center;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  border-left: 4px solid var(--gold);
  line-height: 1.5;
}

.leader-tagline strong {
  font-family: var(--friendly);
  font-weight: 800;
  color: var(--gold);
}

/* Plan */
.plan-roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.plan-phase {
  padding: 1.35rem 1.15rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 3px solid var(--navy);
  border-radius: 4px;
}

.plan-phase--goal {
  background: linear-gradient(160deg, #fffdf2 0%, #fff 55%);
  border-top-color: var(--gold);
}

.plan-year {
  display: block;
  font-family: var(--friendly);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.plan-phase--goal .plan-year {
  color: #000000;
}

.plan-phase-title {
  font-family: var(--friendly);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.plan-phase p {
  font-size: 0.875rem;
  color: #3a3a3a;
  margin: 0;
  line-height: 1.55;
}

/* Impacto — resultados */
.result-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.result-card {
  position: relative;
  padding: 1.2rem 1.15rem 1.15rem 3.25rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.result-step {
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  font-family: var(--friendly);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
}

.result-title {
  font-family: var(--friendly);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.4rem;
}

.result-card p {
  font-size: 0.9375rem;
  color: #3a3a3a;
  margin: 0;
  line-height: 1.5;
}

.result-card--lead {
  grid-column: 1 / -1;
  border-left: 4px solid var(--gold);
  background: linear-gradient(145deg, #fffdf2 0%, #fff 50%);
}

/* Pestaña activa: contenido siempre visible (evita reveal “vacío”) */
.tabpanel.is-active .result-grid,
.tabpanel.is-active .result-card,
.tabpanel.is-active .panel-banner {
  opacity: 1;
  transform: none;
}

/* Aliados */
.ally-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.ally-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.2rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 3px solid var(--navy);
  border-radius: 4px;
  text-align: center;
}

.ally-card--lead {
  background: linear-gradient(160deg, #f5f5f5 0%, #fff 55%);
  border-top-color: var(--accent);
}

.ally-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  color: var(--navy);
}

.ally-icon svg {
  width: 22px;
  height: 22px;
}

.ally-title {
  font-family: var(--friendly);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.ally-card p {
  font-size: 0.9375rem;
  color: #3a3a3a;
  margin: 0 0 1rem;
  line-height: 1.5;
  flex: 1;
}

.ally-cta {
  display: inline-block;
  font-family: var(--friendly);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ally-cta:hover {
  background: #000000;
  text-decoration: none;
  color: #fff;
}

/* Inversión */
.invest-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.invest-card {
  padding: 1.15rem 1.1rem 1.1rem 3rem;
  position: relative;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid var(--navy);
  border-radius: 4px;
}

.invest-card--wide {
  grid-column: 1 / -1;
  border-left-color: var(--gold);
  background: linear-gradient(145deg, #fffdf2 0%, #fff 50%);
}

.invest-num {
  position: absolute;
  left: 0.85rem;
  top: 1rem;
  font-family: var(--friendly);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
}

.invest-card h3 {
  font-family: var(--friendly);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.35rem;
}

.invest-card p {
  font-size: 0.875rem;
  color: #3a3a3a;
  margin: 0;
  line-height: 1.5;
}

/* Crisis */
.crisis-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.crisis-card {
  padding: 1.25rem 1.15rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 4px solid var(--navy);
  border-radius: 4px;
}

.crisis-card--hot {
  background: linear-gradient(145deg, #f5f5f5 0%, #fff 55%);
  border-left-color: var(--crimson);
}

.crisis-stat {
  display: block;
  font-family: var(--friendly);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.crisis-stat-sub {
  display: block;
  font-family: var(--friendly);
  font-size: 0.875rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.5rem;
}

.crisis-card:first-child .crisis-stat {
  color: #000000;
}

.crisis-card:first-child {
  border-left-color: #000000;
}

.crisis-title {
  font-family: var(--friendly);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.45rem;
}

.crisis-card p {
  font-size: 0.9375rem;
  color: #3a3a3a;
  margin: 0;
  line-height: 1.5;
}

.crisis-card .crisis-stat:not(:only-of-type) {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Responsive paneles */
@media (max-width: 900px) {
  .plan-roadmap {
    grid-template-columns: 1fr;
  }

  .ally-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .how-duo,
  .reach-grid,
  .leader-credentials,
  .result-grid,
  .invest-grid,
  .crisis-grid {
    grid-template-columns: 1fr;
  }

  .reach-card--wide,
  .result-card--lead,
  .invest-card--wide,
  .leader-profile {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .leader-portrait img {
    min-height: 320px;
    max-height: 380px;
  }

  .leader-profile-body {
    padding: 1.35rem 1.25rem;
  }

  .leader-credentials {
    grid-template-columns: 1fr;
  }

  .trajectory-milestones {
    grid-template-columns: 1fr;
  }
}

.ps-pullquote--compact {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
}

.ps-plan--compact {
  gap: 0.65rem;
}

.ps-plan--compact li {
  padding: 0.85rem 0.9rem;
}

.ps-plan--compact p {
  font-size: 0.8125rem;
}

.ps-profile-card .ps-profile-top {
  padding: 1.25rem 1.5rem 1rem;
}

.ps-profile-card .ps-profile-photo {
  max-width: 120px;
}

.ps-profile-card .ps-profile-photo img {
  max-height: 150px;
}

.ps-profile-card .ps-profile-points {
  padding: 1rem 1.25rem 1.25rem;
  gap: 0.75rem 1.25rem;
}

.ps-section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 2rem;
  opacity: 0.75;
}

.ps-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.15), transparent);
}

.ps-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  counter-reset: ps-pillar;
}

.ps-pillars li {
  counter-increment: ps-pillar;
  padding: 1.5rem 1.75rem 1.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 3.25rem;
}

.ps-pillars li:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid #f0f0f0;
}

.ps-pillars li:nth-child(even) {
  padding-left: 3.75rem;
}

.ps-pillars li:nth-last-child(-n + 2) {
  border-bottom: none;
}

.ps-pillars li::before {
  content: counter(ps-pillar, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.45rem;
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.9;
}

.ps-pillar-title {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.ps-pillars p {
  margin: 0;
  font-size: 0.9375rem;
  color: #6b6b6b;
  line-height: 1.55;
}

.ps-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.ps-duo-col {
  padding: 1.75rem 1.65rem;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
}

.ps-duo-heading {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: #5c5c5c;
  line-height: 1.6;
}

.ps-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.9375rem;
}

.ps-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.ps-list li:last-child {
  margin-bottom: 0;
}

.ps-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #f0f0f0;
  border: 1px solid #f0f0f0;
}

.ps-channels li {
  padding: 1.35rem 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ps-channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ps-channels strong {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.ps-channel-desc,
.ps-channels li > span:not(.ps-channel-desc) {
  font-size: 0.875rem;
  color: #6b6b6b;
  line-height: 1.55;
}

.ps-social-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ps-social-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  color: #6b6b6b;
  text-decoration: none;
  background: #fafafa;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.ps-social-logos a:hover {
  color: var(--navy);
  border-color: rgba(0, 0, 0, 0.25);
  background: #fff;
  text-decoration: none;
}

.ps-social-logos svg {
  width: 15px;
  height: 15px;
  display: block;
}

.ps-profile-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  border-radius: 2px;
  color: #fff;
  overflow: hidden;
}

.ps-profile-top {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.25rem 1.75rem;
}

.ps-profile-photo {
  margin: 0;
  width: 100%;
  max-width: 200px;
  justify-self: center;
}

.ps-profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 280px;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.15);
}

.ps-profile-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0;
  border: none;
}

.ps-quote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--gold);
  margin: 0 0 1.25rem;
  border: none;
  padding: 0;
  line-height: 1.3;
}

.ps-quote::before {
  content: "\201C";
  opacity: 0.5;
  margin-right: 0.1em;
}

.ps-profile-name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem;
}

.ps-profile-role {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.45;
}

.ps-profile-points {
  list-style: none;
  margin: 0;
  padding: 1.5rem 2.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
  min-width: 0;
}

.ps-profile-points li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  padding: 0;
  border: none;
}

.ps-profile-points strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  margin-bottom: 0.2rem;
}

.ps-profile-points li > span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
}

.ps-muted {
  font-size: 1rem;
  color: #5c5c5c;
  margin: -0.75rem 0 1.75rem;
  line-height: 1.6;
  max-width: 36rem;
}

.ps-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.ps-timeline li {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
  display: block;
  border: none;
}

.ps-timeline li:last-child {
  padding-bottom: 0;
}

.ps-timeline li::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px #fff;
}

.ps-timeline-when {
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.ps-timeline-what {
  display: block;
  font-size: 0.9375rem;
  color: #5c5c5c;
  line-height: 1.6;
}

.ps-pullquote {
  margin: 2.5rem 0 0;
  padding: 1.75rem 2rem;
  background: #fafafa;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  text-align: left;
  line-height: 1.45;
}

.ps-plan {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.ps-plan li {
  padding: 1.5rem 1.35rem;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-top: 2px solid var(--navy);
  border-radius: 2px;
}

.ps-plan-year {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 0.5rem;
}

.ps-plan strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.ps-plan p {
  margin: 0;
  font-size: 0.875rem;
  color: #6b6b6b;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .ps-pillars {
    grid-template-columns: 1fr;
  }

  .ps-pillars li,
  .ps-pillars li:nth-child(odd),
  .ps-pillars li:nth-child(even) {
    padding: 1.35rem 0 1.35rem 3rem;
    border-right: none;
  }

  .ps-pillars li:nth-last-child(2) {
    border-bottom: 1px solid #f0f0f0;
  }

  .ps-channels {
    grid-template-columns: 1fr;
  }

  .ps-profile-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: 1.75rem 1.5rem 1.25rem;
  }

  .ps-profile-photo {
    max-width: 176px;
    margin: 0 auto;
  }

  .ps-profile-points {
    grid-template-columns: 1fr;
    padding: 1.25rem 1.5rem 1.75rem;
  }

  .ps-plan {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ps-profile-photo {
    max-width: 152px;
  }

  .ps-profile-photo img {
    max-height: 200px;
  }

  .ps-social-logos a {
    width: 28px;
    height: 28px;
  }

  .ps-social-logos svg {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 768px) {
  .ps-duo {
    grid-template-columns: 1fr;
  }

  .platform-story {
    padding: 2.5rem 16px 3.5rem;
  }

  .platform-story-inner {
    padding: 2.25rem 1.25rem 2.75rem;
  }
}

/* —— Impacto + carruseles —— */
.impact-zone {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  padding: 2rem 24px 2.5rem;
  border-top: 1px solid #f0f0f0;
}

.impact-inner {
  max-width: 880px;
  margin: 0 auto;
}

.impact-head {
  text-align: center;
  margin-bottom: 1.15rem;
}

.impact-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000000;
  margin: 0 0 0.75rem;
}

.impact-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.impact-lead {
  font-size: 1rem;
  color: #5c5c5c;
  margin: 0 auto;
  max-width: 34rem;
  line-height: 1.6;
}

.impact-section-label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.5rem;
  opacity: 0.8;
}

.impact-muted {
  font-size: 0.9375rem;
  color: #6b6b6b;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.impact-outcomes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #ebebeb;
  border: 1px solid #ebebeb;
  border-radius: 2px;
  overflow: hidden;
}

.impact-outcomes--compact li {
  padding: 0.75rem 0.9rem;
  grid-template-columns: 32px 1fr;
  gap: 0.6rem;
}

.impact-outcomes--compact h3 {
  font-size: 0.875rem;
}

.impact-outcomes--compact p {
  font-size: 0.8125rem;
}

.impact-muted--tight {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
}

.impact-block {
  margin-bottom: 0;
}

.impact-outcomes li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  background: #fff;
}

.impact-outcome-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  color: var(--navy);
}

.impact-outcome-icon svg {
  width: 18px;
  height: 18px;
}

.impact-outcomes h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.impact-outcomes p {
  font-size: 0.875rem;
  color: #6b6b6b;
  margin: 0;
  line-height: 1.5;
}

/* Carrusel */
.carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border: 1px solid #ebebeb;
  border-radius: 2px;
  background: #fff;
}

.carousel-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
}

.impact-ally-slide {
  padding: 1.35rem 1.5rem 1.5rem;
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.impact-ally-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  background: #fafafa;
  color: var(--navy);
}

.impact-ally-icon svg {
  width: 22px;
  height: 22px;
}

.impact-ally-slide h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.65rem;
}

.impact-ally-slide p {
  font-size: 0.9375rem;
  color: #5c5c5c;
  margin: 0 0 1.1rem;
  max-width: 28rem;
  line-height: 1.55;
}

.impact-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.impact-cta:hover {
  color: #000000;
  border-color: #000000;
  text-decoration: none;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.carousel-prev,
.carousel-next {
  width: 38px;
  height: 38px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.carousel-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d8d8d8;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-dot.is-active {
  background: var(--navy);
  transform: scale(1.15);
}

.carousel--storm .carousel-viewport {
  background: linear-gradient(135deg, #000000 0%, #000000 100%);
  border-color: rgba(0, 0, 0, 0.2);
}

.impact-storm-slide {
  padding: 1.35rem 1.5rem;
  min-height: 150px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.impact-storm-num {
  font-family: var(--serif);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.impact-storm-slide h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.impact-storm-slide p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 36rem;
  line-height: 1.55;
}

.carousel--storm .carousel-prev,
.carousel--storm .carousel-next {
  background: #fff;
}

.impact-storm-close {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  background: #fafafa;
  border-left: 3px solid var(--crimson);
  font-family: var(--serif);
  font-size: 0.9375rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
}

.impact-invest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.impact-invest-list li {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #f2f2f2;
  display: grid;
  gap: 0.15rem;
}

.impact-invest-list li:last-child {
  border-bottom: none;
}

.impact-invest-list strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.impact-invest-list span {
  font-size: 0.875rem;
  color: #6b6b6b;
  line-height: 1.5;
}

.impact-note {
  font-size: 0.8125rem;
  font-style: italic;
  color: #6b6b6b;
  margin: 1rem 0 0;
  text-align: center;
}

@media (max-width: 768px) {
  .impact-outcomes {
    grid-template-columns: 1fr;
  }

  .impact-ally-slide,
  .impact-storm-slide {
    padding: 1.5rem 1.25rem;
    min-height: 200px;
  }

  .impact-zone {
    padding: 2.5rem 16px 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}

/* —— Inicio: índice de temas —— */
.home-temas {
  background: #ffffff;
  padding: 2rem 24px 2.5rem;
  border-top: 1px solid #f0f0f0;
}

.home-temas-inner {
  max-width: 920px;
  margin: 0 auto;
}

.home-temas-title {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.home-temas-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

/* —— Spotlight / Retos —— */
.spotlight-area {
  --spotlight-img-w: 420px;
  --spotlight-img-h: 315px;
  position: relative;
  background: linear-gradient(165deg, #000000 0%, var(--navy) 48%, #000000 100%);
  padding: 2.75rem 24px 3.25rem;
  color: #fff;
  overflow: visible;
}

.spotlight-area::before {
  content: "";
  position: absolute;
  top: -35%;
  right: -8%;
  width: min(520px, 55vw);
  height: 70%;
  background: radial-gradient(ellipse, rgba(242, 195, 0, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.spotlight-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.spotlight-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 1.75rem;
  opacity: 1;
  transform: none;
  overflow: visible;
  position: relative;
  z-index: 30;
}

.spotlight-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--friendly);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.spotlight-title {
  font-family: var(--friendly);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

.spotlight-lead {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  margin: 0.65rem 0 0;
  max-width: 36rem;
  line-height: 1.55;
}

.spotlight-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-family: var(--friendly);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.spotlight-temas-dropdown {
  position: relative;
  flex-shrink: 0;
  align-self: flex-end;
  z-index: 40;
}

.spotlight-temas-dropdown:hover .nav-dropdown-menu,
.spotlight-temas-dropdown.is-hover .nav-dropdown-menu {
  display: block;
}

.spotlight-temas-dropdown .spotlight-more {
  cursor: default;
  user-select: none;
}

.spotlight-temas-dropdown:hover .spotlight-more,
.spotlight-temas-dropdown.is-hover .spotlight-more {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  text-decoration: none;
}

.spotlight-temas-dropdown:hover .nav-chevron,
.spotlight-temas-dropdown.is-hover .nav-chevron {
  transform: rotate(180deg);
}

.spotlight-temas-dropdown .nav-dropdown-menu {
  left: auto;
  right: 0;
  min-width: 260px;
  z-index: 10001;
}

.spotlight-temas-dropdown .nav-dropdown-menu a {
  color: #333333 !important;
}

.spotlight-carousel {
  opacity: 1 !important;
  visibility: visible !important;
}

.spotlight-carousel .carousel-viewport {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.spotlight-carousel .carousel-track {
  align-items: stretch;
}

.spotlight-carousel .carousel-slide {
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.spotlight-carousel .carousel-slide,
.spotlight-carousel .spotlight-slide,
.spotlight-carousel .spotlight-card {
  opacity: 1 !important;
  visibility: visible !important;
}

.spotlight-carousel.reveal {
  opacity: 1 !important;
  transform: none !important;
}

.spotlight-card {
  display: grid;
  grid-template-columns: var(--spotlight-img-w) 1fr;
  align-items: stretch;
  width: 100%;
  min-height: var(--spotlight-img-h);
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.spotlight-card:hover {
  text-decoration: none;
}

.spotlight-card-media {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: var(--spotlight-img-h);
  overflow: hidden;
  background: #000000;
  align-self: stretch;
}

.spotlight-card-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  object-fit: cover;
  object-position: center center;
}

.spotlight-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.35) 0%,
    transparent 45%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}

.spotlight-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 2rem 2.25rem 2rem 2rem;
  background: #fff;
  border-top: 4px solid var(--gold);
  box-sizing: border-box;
}

.spotlight-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.spotlight-card-num {
  font-family: var(--friendly);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.spotlight-card-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
  padding: 0.2rem 0.55rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.spotlight-card-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.85rem;
}

.spotlight-card-stat-value {
  font-family: var(--friendly);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.spotlight-card-stat-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #000000;
  line-height: 1.3;
  max-width: 14rem;
}

.spotlight-card-title {
  font-family: var(--friendly);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.75rem;
  line-height: 1.22;
}

.spotlight-card:hover .spotlight-card-title {
  color: #000000;
}

.spotlight-card-desc {
  font-size: 1rem;
  color: #4a4a4a;
  margin: 0 0 1.35rem;
  line-height: 1.58;
  max-width: 34rem;
}

.spotlight-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.6rem 1.15rem;
  font-family: var(--friendly);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border-radius: 6px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.spotlight-card:hover .spotlight-card-cta {
  background: #000000;
}

.spotlight-controls {
  margin-top: 1.1rem;
}

.spotlight-controls .carousel-prev,
.spotlight-controls .carousel-next {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.spotlight-controls .carousel-prev:hover,
.spotlight-controls .carousel-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.spotlight-controls .carousel-dot {
  background: rgba(255, 255, 255, 0.28);
}

.spotlight-controls .carousel-dot.is-active {
  background: var(--gold);
  transform: scaleX(1.35);
}

@media (max-width: 1100px) {
  .spotlight-area {
    --spotlight-img-w: 360px;
    --spotlight-img-h: 270px;
  }
}

@media (max-width: 900px) {
  .spotlight-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .spotlight-area {
    --spotlight-img-w: 100%;
    --spotlight-img-h: 220px;
  }

  .spotlight-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .spotlight-card-media {
    width: 100%;
    height: var(--spotlight-img-h);
    min-height: var(--spotlight-img-h);
  }

  .spotlight-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .spotlight-card-body {
    padding: 1.5rem 1.35rem 1.65rem;
  }

  .impact-invest-list {
    grid-template-columns: 1fr;
  }

  .ps-pillars--compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .spotlight-area {
    padding: 2rem 16px 2.5rem;
  }

  .spotlight-card-stat {
    margin-bottom: 0.65rem;
  }

}

/* —— Content zone (light) —— */
.content-zone {
  background: var(--surface-alt);
  padding: 0 0 3rem;
}

.content-zone-inner {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  max-width: 1280px;
  margin: 0 auto;
  gap: 0;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--popular-h));
  max-height: calc(100vh - var(--header-h) - var(--popular-h));
  overflow-y: auto;
  padding: 1.5rem 1rem 2rem 1.25rem;
  background: var(--surface);
  border-right: 1px solid var(--border);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.04);
}

.sidebar-head h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.sidebar-search input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.sidebar-search input:focus {
  outline: 2px solid var(--accent-light);
  border-color: var(--accent);
}

.sidebar-mini-title {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 1.25rem 0 0.5rem;
}

.topic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.6rem 0.65rem;
  border: none;
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  transition: background var(--transition);
}

.topic-btn:hover {
  background: var(--surface-alt);
}

.topic-btn.active {
  background: var(--accent-light);
  color: var(--owid-blue-dark);
  font-weight: 600;
}

.topic-btn .severity-bar {
  margin-left: auto;
  width: 40px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.topic-btn .severity-fill {
  height: 100%;
  border-radius: 2px;
}

.topic-divider {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1rem 0.65rem 0.35rem;
  list-style: none;
}

.topic-empty {
  padding: 0.75rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  list-style: none;
}

.main {
  padding: 2rem clamp(1.25rem, 3vw, 2.5rem) 3rem;
  min-width: 0;
  background: var(--surface-alt);
}

/* —— Topic panel —— */
.topic-header {
  margin-bottom: 1.75rem;
  animation: fadeUp 0.45s ease;
}

.topic-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topic-summary {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--topic-color, var(--accent));
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.45s ease backwards;
}

.metric-card:nth-child(2) { animation-delay: 0.05s; }
.metric-card:nth-child(3) { animation-delay: 0.1s; }

.metric-value {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.metric-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.45rem;
  color: var(--text-muted);
}

.trend-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-top: 0.35rem;
}

.trend-down {
  background: #f5f5f5;
  color: var(--crimson);
}

.trend-stable {
  background: #f0f0f0;
  color: var(--text-muted);
}

.charts-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .charts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .charts-grid .chart-card:only-child,
  .charts-grid .chart-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s ease backwards;
}

.chart-card h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: var(--navy);
}

.chart-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.chart-container {
  position: relative;
  height: 260px;
}

.chart-source {
  font-size: 0.72rem;
  color: #8a8a8a;
  margin-top: 0.65rem;
  font-style: italic;
}

.section-title {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.section-lead,
.prose {
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 0 1rem;
}

.problems-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  transition: box-shadow var(--transition);
}

.problem-card:hover {
  box-shadow: var(--shadow);
}

.problem-card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--accent);
}

.problem-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.source-tag {
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  background: var(--accent-light);
  color: var(--owid-blue-dark);
  border-radius: 999px;
}

.explorer-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.compare-chart-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  height: 340px;
  box-shadow: var(--shadow);
}

.topic-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.topic-check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  padding: 0.35rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.topic-check input {
  accent-color: var(--accent);
}

.timeline {
  position: relative;
  padding-left: 1.35rem;
  margin: 1rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
}

.timeline-item {
  position: relative;
  padding: 0 0 1rem 1rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.28rem;
  top: 0.3rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--surface);
}

.timeline-compact .timeline-item {
  padding-bottom: 0.65rem;
}

.timeline-compact .timeline-item div:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.timeline-year {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.82rem;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.vision-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
}

.gap-banner {
  background: #fffdf2;
  border: 1px solid #f2c300;
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  color: var(--text);
}

.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-top: 2rem;
  text-align: center;
}

.cta-block h3 {
  font-family: var(--serif);
  color: var(--gold-soft);
  margin: 0 0 0.65rem;
  font-size: 1.4rem;
}

.cta-block p {
  opacity: 0.88;
  max-width: 48ch;
  margin: 0 auto 1.25rem;
  font-size: 0.95rem;
}

.cta-block .btn-donate {
  background: var(--crimson);
  border-color: var(--crimson);
}

.map-teaser {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
}

.region-pill {
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.region-pill:hover,
.region-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.site-footer {
  background: linear-gradient(180deg, #000000 0%, var(--navy) 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 24px 1.75rem;
  border-top: 3px solid var(--gold);
  font-size: 0.875rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.footer-logo:hover {
  text-decoration: none;
}

.footer-logo:hover .footer-logo-title {
  color: var(--gold);
}

.footer-logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer-logo-title {
  font-family: var(--friendly);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.footer-tagline {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.footer-desc {
  margin: 0;
  max-width: 22rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
}

.footer-social {
  margin-top: 1.25rem;
}

.footer-social-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.footer-social-link:hover {
  color: #000;
  background: var(--gold);
  border-color: var(--gold);
}

.footer-social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 7rem;
}

.footer-nav-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-note {
  font-style: italic;
}

.footer-note a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-style: normal;
}

.footer-note a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-sep {
  margin: 0 0.35rem;
  opacity: 0.45;
  font-style: normal;
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-nav {
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

.hidden {
  display: none !important;
}

/* —— Mobile —— */
@media (max-width: 960px) {
  .content-zone-inner {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: -100%;
    top: calc(var(--header-h) + var(--popular-h));
    width: min(300px, 88vw);
    height: calc(100vh - var(--header-h) - var(--popular-h));
    z-index: 150;
    transition: left var(--transition);
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.15);
  }

  .sidebar.open {
    left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-left: 0;
    padding: 16px 24px 20px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header.nav-open .header-nav {
    display: flex;
  }

  .header-social {
    order: 2;
    margin-left: auto;
    margin-right: 0.15rem;
  }

  .menu-toggle {
    order: 0;
  }

  .logo {
    order: 1;
  }

  .header-nav {
    order: 3;
  }

  .header-nav .btn-donate {
    margin-left: 0;
    margin-top: 0.5rem;
    align-self: stretch;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    height: auto;
    padding: 4px 0;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.25);
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.is-hover .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    color: #ffffff !important;
  }

  .nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
  }

  .main {
    padding: 1.5rem 1rem 2.5rem;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .popular-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-home {
    min-height: clamp(320px, 58vh, 440px);
    padding: 2.25rem 16px 2.75rem;
  }

  .hero-search {
    border-radius: var(--radius);
  }

  .hero-search input {
    border-radius: var(--radius);
  }

  .logo-img {
    height: 32px;
    max-width: 100px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .header-inner {
    gap: 0.45rem;
  }

  .header-social {
    gap: 0.15rem;
    margin-right: 0;
    padding-left: 0.45rem;
    border-left-width: 1px;
  }

  .header-social-label {
    min-width: 3.8rem;
    max-width: 4.5rem;
    font-size: 0.5rem;
  }

  .header-social-label strong {
    font-size: 0.58rem;
  }

  .header-social-link {
    width: 24px;
    height: 28px;
  }

  .header-social-link svg {
    width: 14px;
    height: 14px;
  }

  .footer-logo-img {
    height: 32px;
    max-width: 100px;
  }

  .footer-logo-title {
    font-size: 1.1rem;
  }
}
