/* ============================================================
   acercade.css — Juguetes por Sonrisas Honduras — página
   ¿QUIÉNES SOMOS? (antes vivía dentro de inicio.html)
   Este archivo es independiente: no depende de ningún otro CSS.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,600;0,700;1,600&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #16213E;
  --navy-light: #223561;
  --navy-glass: rgba(22, 33, 62, 0.72);
  --cream: #FBF9F5;
  --white: #ffffff;
  --ink: #1C1C2B;
  --muted: #6b7280;

  --gold: #D9A441;
  --gold-dark: #B9832A;
  --gold-light: #F0C976;

  --violet: #6C5CE7;
  --coral: #FF6F59;
  --mint: #2ECC87;
  --teal: #22C9C9;

  --marca-j: #AC5295;
  --marca-p: #CC907C;
  --marca-s: #5F94C1;
  --marca-h: #469A52;

  --shadow-soft: 0 10px 30px rgba(22, 33, 62, 0.12);
  --shadow-strong: 0 20px 45px rgba(22, 33, 62, 0.22);

  --radius: 22px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

.contenedor { width: 100%; }

@media (min-width: 768px) {
  .contenedor { width: 50%; }
}

.color1 { color: var(--marca-j); }
.color2 { color: var(--marca-p); }
.color3 { color: var(--marca-s); }
.color4 { color: var(--marca-h); }

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

::selection {
  background: var(--gold-light);
  color: var(--navy);
}

/* ----- BODY ----- */
body {
  font-family: 'Nunito Sans', sans-serif;
  min-height: 100vh;
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; }
a { font-family: inherit; }

/* ----- HEADER (igual en todas las páginas) ----- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 14px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: var(--navy-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 164, 65, 0.25);
  transition: background var(--transition);
}

header .logo {
  display: flex;
  align-items: center;
  font-size: 1.9rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: white;
  letter-spacing: 0.5px;
  transition: transform var(--transition);
}

header .logo:hover { transform: scale(1.04); }
header .logo span { transition: text-shadow var(--transition); }
header .logo:hover .color1 { text-shadow: 0 0 14px var(--marca-j); }
header .logo:hover .color2 { text-shadow: 0 0 14px var(--marca-p); }
header .logo:hover .color3 { text-shadow: 0 0 14px var(--marca-s); }
header .logo:hover .color4 { text-shadow: 0 0 14px var(--marca-h); }

header .navbar ul { list-style: none; display: flex; gap: 0.25rem; }
header .navbar ul li { position: relative; }

header .navbar ul li a {
  position: relative;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

header .navbar ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width var(--transition), left var(--transition);
  border-radius: 2px;
}

header .navbar ul li a:hover { color: var(--gold-light); }
header .navbar ul li a:hover::after { width: 70%; left: 15%; }

header .navbar ul li ul.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(22, 33, 62, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(217, 164, 65, 0.25);
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-strong);
}

header .navbar ul li:hover ul.dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

/* Botón hamburguesa (100% CSS) */
#toggle { display: none; }

header label {
  display: none;
  position: relative;
  width: 28px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--transition);
}

header label::before,
header label::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  transition: transform var(--transition), top var(--transition), opacity var(--transition);
}

header label::before { top: -9px; }
header label::after { top: 9px; }

header .navbar ul li .dropdown-toggle { display: none; }

#toggle:checked + label { background: transparent; }
#toggle:checked + label::before { top: 0; transform: rotate(45deg); }
#toggle:checked + label::after { top: 0; transform: rotate(-45deg); }

.jph { width: 38px; height: auto; margin-right: 10px; }

/* ============================================================
   SELECTOR DE IDIOMA (ES / EN) — agrupa el menú y el botón de
   idioma del lado derecho del header, para que el toggle
   hamburguesa siga funcionando igual en móvil.
   ============================================================ */
.header-derecha {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 164, 65, 0.3);
  border-radius: 50px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-switch .lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-switch .lang-btn:hover { color: white; }

.lang-switch .lang-btn.activo {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

/* ============================================================
   FOOTER — rediseño (fondo navy tipo "constelación", igual
   recurso visual que las secciones oscuras de ¿Quiénes somos? /
   Centro de Ayuda / Campaña activa). 4 columnas: marca + 3 de
   siempre. Redes sociales como círculos que se "encienden" con
   el color de cada red al pasar el mouse. Mismas fuentes de
   siempre (Poppins para títulos, Nunito Sans para el resto).
   ============================================================ */
.footer {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 55%, #1b2d52 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 6.5rem 8% 2.2rem;
  margin-top: 3rem;
  overflow: hidden;
}

/* Onda de transición crema → navy, igual recurso que ya usaban
   las otras secciones oscuras, solo que ahora "entra" al footer */
.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Puntitos tipo "constelación" de fondo — mismo recurso que
   .logrado::before / .presencia en las demás páginas */
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(217,164,65,0.45) 100%, transparent),
    radial-gradient(1.5px 1.5px at 82% 14%, rgba(108,92,231,0.4) 100%, transparent),
    radial-gradient(1.5px 1.5px at 60% 58%, rgba(34,201,201,0.4) 100%, transparent),
    radial-gradient(1.5px 1.5px at 28% 78%, rgba(217,164,65,0.35) 100%, transparent),
    radial-gradient(1.5px 1.5px at 94% 68%, rgba(255,255,255,0.25) 100%, transparent);
  background-size: 260px 260px;
  opacity: 0.9;
  pointer-events: none;
}

.footer-marco { position: relative; max-width: 1250px; margin: 0 auto; }

/* Franjita de acento en los 3 colores que más se repiten en el
   sitio (dorado / violeta / turquesa) — el toque "familiar" que
   ya venía usando el resto de la página, ahora también acá */
.footer-linea-top {
  display: block;
  height: 4px;
  width: 64px;
  margin-bottom: 2.6rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--violet), var(--teal));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.6rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  text-decoration: none;
  color: white;
  margin-bottom: 1.1rem;
  transition: transform var(--transition);
}

.footer-logo:hover { transform: scale(1.03); }
.footer-logo .jph { width: 34px; height: auto; margin-right: 8px; }

.footer-eslogan {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-socials { display: flex; gap: 0.7rem; }

.footer-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.footer-social:hover { transform: translateY(-4px) scale(1.06); }

.footer-social--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.45);
}

.footer-social--instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.4);
}

.footer-eyebrow {
  display: block;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-columna h3 {
  color: white;
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}

.footer-columna a,
.footer-marca a:not(.footer-logo):not(.footer-social) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.55rem 0;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-columna a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-columna a i { color: var(--teal); font-size: 0.85rem; flex-shrink: 0; }
.footer-columna a:hover i { color: var(--gold-light); }

.footer-creditos {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-creditos p { margin: 0; }

.footer-marca-nombre {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 950px) {
  .footer { padding-top: 5.5rem; text-align: center; }
  .footer-linea-top { margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: center; }
  .footer-marca { grid-column: 1 / -1; }
  .footer-eslogan { margin-left: auto; margin-right: auto; }
  .footer-socials { justify-content: center; }
  .footer-columna a,
  .footer-marca a:not(.footer-logo):not(.footer-social) { justify-content: center; }
  .footer-creditos { justify-content: center; text-align: center; }
}
/* ----- MENÚ MÓVIL (base, igual en todas las páginas) ----- */
@media (max-width: 950px) {
  header label { display: block; }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(22, 33, 62, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    max-height: 0;
    overflow: hidden;
    border-bottom: 2px solid var(--gold);
    transition: max-height 0.45s ease;
  }

  .navbar ul { flex-direction: column; padding: 0.5rem 6%; }
  header .navbar ul li a::after { display: none; }

  header .navbar ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
  }

  header .navbar ul li > a { flex: 1; }

  header .navbar ul li .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    padding: 10px 16px;
    cursor: pointer;
  }

  header .navbar ul li .dropdown-toggle i { transition: transform var(--transition); }
  header .navbar ul li.abierta .dropdown-toggle i { transform: rotate(180deg); }

  header .navbar ul li ul.dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    max-height: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: none;
    box-shadow: none;
    transition: max-height 0.35s ease;
  }

  header .navbar ul li.abierta > ul.dropdown { max-height: 400px; }
  #toggle:checked ~ .header-derecha .navbar { max-height: 80vh; overflow-y: auto; }

  .header-derecha {
    /* Antes esto sacaba TODO (menú + selector ES/EN) del header y lo
       tiraba debajo como un panel aparte -- por eso el switch de
       idioma "se perdía" en móvil. Ahora .header-derecha se queda
       en su fila normal del header (junto al logo/hamburguesa) y
       solo el <nav class="navbar"> se convierte en panel desplegable
       (ver la regla base ".navbar { position: absolute; ... }" más
       arriba en este mismo archivo) -- así el switch ES/EN siempre
       queda visible arriba, sin importar si el menú está abierto. */
    gap: 0.6rem;
  }

  .lang-switch {
    /* Achicado un poco para que quepa cómodo junto al logo y la
       hamburguesa en pantallas angostas. */
    transform: scale(0.88);
    transform-origin: right center;
  }
}

/* ----- Vista previa de imagen en el submenú Galería ----- */
header .navbar ul li .dropdown li {
  position: relative;
  padding: 4px;
  transition: background 0.3s ease;
}

header .navbar ul li .dropdown li:hover { background: rgba(217, 164, 65, 0.12); }
header .navbar ul li .dropdown li a::after { display: none; }

header .navbar ul li .dropdown li .preview {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  text-align: center;
  margin-top: 5px;
}

header .navbar ul li .dropdown li:hover .preview { max-height: 300px; opacity: 1; }

header .navbar ul li .dropdown li .preview img {
  width: 200px;
  max-width: 90vw;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  display: block;
  margin: 0 auto 10px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

header .navbar ul li .dropdown li:hover .preview img { transform: scale(1.05); }

/* ============================================================
   CONTENIDO PROPIO DE ¿QUIÉNES SOMOS?
   ============================================================ */

/* ----- ENCABEZADO DE PÁGINA (mismo estilo "cabecera" que Noticias/Atención) ----- */
.pagina-hero {
  text-align: center;
  padding: 9rem 8% 3.5rem;
  color: white;
  background: linear-gradient(160deg, var(--navy), var(--navy-light) 130%);
  position: relative;
  overflow: hidden;
}

.pagina-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(217,164,65,0.06) 0 1px, transparent 1px 64px);
  pointer-events: none;
}

.pagina-hero .migaja { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 0.8rem; position: relative; }
.pagina-hero .migaja a { color: rgba(255,255,255,0.9); text-decoration: none; }
.pagina-hero .migaja a:hover { text-decoration: underline; }

.kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
}

.pagina-hero h1 {
  position: relative;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.pagina-hero p {
  position: relative;
  max-width: 620px;
  margin: 1rem auto 0;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

/* ----- SERVICES (quiénes somos, apoyo, actividades, fundador) ----- */
.services {
  margin: 6rem auto;
  max-width: 1200px;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.service { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.service.reverse { flex-direction: row-reverse; }
.service .text { flex: 1; min-width: 280px; }

.service .text h1,
.service .text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.service .text h1::after,
.service .text h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

.service .text p { color: var(--muted); line-height: 1.7; font-size: 1.02rem; }

.service .text ul.lista-apoyo {
  list-style: none;
  margin-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service .text ul.lista-apoyo li {
  color: var(--ink);
  font-weight: 600;
  background: var(--white);
  border: 1px solid rgba(22,33,62,0.08);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  box-shadow: var(--shadow-soft);
}

.service img {
  flex: 1;
  max-width: 500px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service img:hover {
  transform: perspective(800px) rotateX(2deg) rotateY(-3deg) scale(1.03);
  box-shadow: var(--shadow-strong);
}

/* ----- Ajustes móviles propios de ¿Quiénes somos? ----- */
@media (max-width: 950px) {
  .service, .service.reverse { flex-direction: column; text-align: center; }
  .service .text h1::after,
  .service .text h2::after { margin-left: auto; margin-right: auto; }
}

/* ============================================================
   FUNDADORES — 3 tarjetas rectangulares "muy futuristas". En
   escritorio: al pasar el mouse por una tarjeta, esta se expande
   y revela su información (nombre/cargo/bio) a la derecha de la
   foto, mientras las otras dos se achican y se oscurecen un
   poco (todo con CSS puro, con :hover en la tarjeta y en el
   contenedor). En celular no hay mouse, así que js/fundadores.js
   agrega/quita una clase ".activa" al tocar la tarjeta, con el
   mismo resultado visual, y aparece un botón "✕" para cerrarla.
   Mismo recurso visual (fondo navy + puntitos) que "Lo que hemos
   logrado" para que se sienta parte del mismo sitio.
   ============================================================ */
.fundadores {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 120%);
  padding: 5.5rem 8%;
  overflow: hidden;
}

.fundadores::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(217,164,65,0.5) 100%, transparent),
    radial-gradient(1.5px 1.5px at 75% 15%, rgba(108,92,231,0.5) 100%, transparent),
    radial-gradient(1.5px 1.5px at 50% 75%, rgba(34,201,201,0.5) 100%, transparent),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(217,164,65,0.4) 100%, transparent),
    radial-gradient(1.5px 1.5px at 25% 85%, rgba(255,255,255,0.3) 100%, transparent);
  background-size: 220px 220px;
  opacity: 0.9;
  pointer-events: none;
}

.fundadores-cabecera { position: relative; max-width: 640px; margin: 0 auto 3rem; text-align: center; }

.fundadores-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(108, 92, 231, 0.15);
  color: #c9bdff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.fundadores-cabecera h2 { color: white; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.fundadores-cabecera p { color: rgba(255,255,255,0.75); margin-top: 0.7rem; line-height: 1.6; }

.fundadores-grid {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  gap: 1.4rem;
  height: 480px;
}

.fundador-card {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  cursor: pointer;
  transition: flex var(--transition), filter var(--transition);
}

.fundadores-grid:hover .fundador-card:not(:hover),
.fundadores-grid.tiene-activa .fundador-card:not(.activa) {
  flex: 0.55;
  filter: grayscale(0.4) brightness(0.55);
}

.fundador-card:hover,
.fundador-card.activa {
  flex: 2.5;
  filter: none;
}

/* La foto es un carril propio dentro de la tarjeta (no un fondo
   que el panel de info tapa): ocupa el 100% mientras la tarjeta
   está cerrada y solo se angosta (sin desaparecer) cuando se
   expande, para que el sujeto de la foto siempre se vea completo. */
.fundador-foto {
  position: relative;
  flex: 1 1 100%;
  min-width: 0;
  transition: flex-basis var(--transition);
}
.fundador-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fundador-card:hover .fundador-foto,
.fundador-card.activa .fundador-foto {
  flex-basis: 42%;
}

/* Ajuste fino de encuadre por tarjeta (cada foto es distinta, así
   que acá se corrige qué parte de la imagen se ve). El segundo
   valor mueve la foto verticalmente: 0% = se ve la parte de
   arriba, 100% = se ve la parte de abajo. Ajustá el porcentaje
   hasta que la cara quede centrada. */
.fundador-card:nth-child(1) .fundador-foto img { object-position: center 10%; }
.fundador-card:nth-child(2) .fundador-foto img { object-position: center 100%; }

/* Etiqueta con nombre/cargo, visible por defecto sobre la foto */
.fundador-chip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.3rem 1.2rem 1.1rem;
  background: linear-gradient(to top, rgba(11, 18, 38, 0.92), transparent);
  transition: opacity var(--transition);
}

.fundador-chip h3 { color: white; font-size: 1.05rem; }
.fundador-chip .fundador-cargo { color: var(--gold-light); font-size: 0.82rem; font-weight: 700; }

.fundador-card:hover .fundador-chip,
.fundador-card.activa .fundador-chip { opacity: 0; }

/* Panel de información: es el segundo carril de la tarjeta (junto
   a la foto, no encima), así que al desplegarse empuja el ancho
   en vez de tapar la fotografía. */
.fundador-info {
  position: relative;
  flex: 0 0 0%;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 140%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  transition: flex-basis var(--transition), padding var(--transition);
}

.fundador-card:hover .fundador-info,
.fundador-card.activa .fundador-info {
  flex-basis: 58%;
  padding: 2rem 1.8rem;
}

.fundador-info h3 {
  color: white;
  font-size: 1.15rem;
  white-space: normal;
}

.fundador-info .fundador-cargo {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0.35rem 0 0.9rem;
}

.fundador-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.65;
  white-space: normal;
}

/* Botón "✕" — solo aparece cuando js/fundadores.js marca la
   tarjeta como activa (táctil); en escritorio no hace falta
   porque basta con quitar el mouse. */
.fundador-cerrar {
  display: none;
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 5;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(11, 18, 38, 0.6);
  color: white;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.fundador-cerrar:hover { background: rgba(11, 18, 38, 0.85); transform: scale(1.08); }
.fundador-card.activa .fundador-cerrar { display: flex; }

@media (max-width: 900px) {
  .fundadores-grid { flex-direction: column; height: auto; gap: 1.1rem; }
  .fundador-card {
    flex: none !important;
    flex-direction: column;
    width: 100%;
    min-height: 210px;
  }
  .fundador-card.activa { min-height: 420px; }

  .fundador-foto { flex-basis: 100% !important; }
  .fundador-card:hover .fundador-foto,
  .fundador-card.activa .fundador-foto {
    flex-basis: 55% !important;
  }

  .fundador-info {
    flex-basis: 0 !important;
    transition: flex-basis var(--transition), padding var(--transition);
  }

  .fundador-card:hover .fundador-info,
  .fundador-card.activa .fundador-info {
    flex-basis: 45% !important;
    padding: 1.6rem 1.4rem;
  }
}

/* ============================================================
   LO QUE HEMOS LOGRADO — cifras animadas (estilo "futurista":
   fondo oscuro con puntos, tarjetas tipo vidrio, número con
   degradado). Los datos se arman desde js/alcance-datos.js.
   ============================================================ */
.logrado {
  position: relative;
  background: linear-gradient(160deg, var(--navy), var(--navy-light) 130%);
  padding: 5.5rem 8%;
  overflow: hidden;
}

.logrado::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(217,164,65,0.5) 100%, transparent),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(108,92,231,0.5) 100%, transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(34,201,201,0.5) 100%, transparent),
    radial-gradient(1.5px 1.5px at 85% 20%, rgba(217,164,65,0.4) 100%, transparent),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(255,255,255,0.35) 100%, transparent);
  background-size: 220px 220px;
  opacity: 0.9;
  pointer-events: none;
}

.logrado-cabecera { position: relative; max-width: 640px; margin: 0 auto 3rem; text-align: center; }

.logrado-kicker,
.programas-kicker,
.presencia-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217, 164, 65, 0.15);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.programas-kicker { background: rgba(108, 92, 231, 0.12); color: var(--violet); }
.presencia-kicker { background: rgba(34, 201, 201, 0.12); color: var(--teal); }

.logrado-cabecera h2 { color: white; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.logrado-cabecera p { color: rgba(255,255,255,0.75); margin-top: 0.7rem; line-height: 1.6; }

.cifras-grid {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.cifra-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 164, 65, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.cifra-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(217, 164, 65, 0.18);
}

.cifra-icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.15);
  color: var(--gold-light);
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.cifra-numero { display: flex; align-items: baseline; justify-content: center; gap: 0.2rem; }

.cifra-numero .numero {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  background: linear-gradient(90deg, var(--gold-light), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cifra-sufijo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--gold-light);
}

.cifra-etiqueta { margin-top: 0.6rem; color: rgba(255,255,255,0.8); font-weight: 600; font-size: 0.95rem; }

/* ============================================================
   PROGRAMAS QUE IMPULSAMOS — cuadrícula de tarjetas claras
   ============================================================ */
.programas { max-width: 1200px; margin: 6rem auto; padding: 0 1.5rem; }
.programas-cabecera { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.programas-cabecera h2 { color: var(--navy); font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.programas-cabecera p { color: var(--muted); margin-top: 0.7rem; line-height: 1.6; }

/* Cada "programas-subgrupo" es un bloque (Latinoamérica / EE. UU.)
   con su propio subtítulo y su propia cuadrícula de tarjetas, para
   que se note a simple vista qué apoyo fue en un lado y cuál en
   el otro. "grupo-latam" y "grupo-usa" solo cambian el color de
   acento del subtítulo y del ícono de las tarjetas de ese grupo. */
.programas-subgrupo + .programas-subgrupo { margin-top: 3.5rem; }

.programas-subtitulo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  margin-bottom: 1.6rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid rgba(22,33,62,0.08);
}

.programas-subtitulo i { font-size: 1.1rem; }

.grupo-latam .programas-subtitulo i { color: var(--teal); }
.grupo-usa .programas-subtitulo i { color: var(--gold); }
.grupo-usa .programas-subtitulo { border-bottom-color: rgba(217,164,65,0.25); }

.grupo-usa .programa-icono { background: rgba(217,164,65,0.14); color: var(--gold-dark, var(--gold)); }

.programas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.programa-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  border: 1px solid rgba(22,33,62,0.06);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.programa-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }

.programa-icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.12);
  color: var(--violet);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.programa-card h4 { color: var(--navy); font-size: 1.08rem; margin-bottom: 0.5rem; }
.programa-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* ============================================================
   PRESENCIA INTERNACIONAL — mapa real de América (contorno de
   países, sin relleno) como fondo, con Honduras como sede al
   centro y los demás países marcados con un pin sobre su
   ubicación real dentro de ESTA imagen. Los pines se posicionan
   con "x"/"y" en porcentaje (ver js/alcance-datos.js), calculados
   a mano sobre img/mapas/america-contorno.jpg — por eso el
   contenedor usa el mismo aspect-ratio que esa imagen (735x1011),
   así el mapa nunca se recorta ni desalinea los pines.
   La imagen que se usa como fondo (america-contorno-teal.png) es
   una versión ya procesada de tu foto original: mismo contorno,
   pero con fondo TRANSPARENTE y las líneas en el mismo color teal
   del sitio, para que se vea fusionado con el diseño y no como
   una foto blanca pegada encima.
   ============================================================ */
.presencia {
  position: relative;
  background: linear-gradient(160deg, var(--navy), var(--navy-light) 130%);
  padding: 5.5rem 8% 6rem;
  overflow: hidden;
}

.presencia-cabecera { position: relative; max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.presencia-cabecera h2 { color: white; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.presencia-cabecera p { color: rgba(255,255,255,0.75); margin-top: 0.7rem; line-height: 1.6; }

.mapa-americas {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  aspect-ratio: 735 / 1011;
  min-width: 280px;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 201, 201, 0.25);
  background:
    radial-gradient(circle at 55% 45%, rgba(217,164,65,0.16), transparent 55%),
    rgba(255,255,255,0.03);
  box-shadow: inset 0 0 60px rgba(0,0,0,0.25);
  overflow: hidden;
}

.mapa-americas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/america-contorno-teal.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.85;
  pointer-events: none;
}

.mapa-lineas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mapa-linea {
  stroke: var(--teal);
  stroke-width: 0.25;
  stroke-dasharray: 1.4 1.2;
  opacity: 0.6;
}

@media (prefers-reduced-motion: no-preference) {
  .mapa-linea { animation: lineaFluir 2.4s linear infinite; }
}

@keyframes lineaFluir {
  to { stroke-dashoffset: -20; }
}

.mapa-pines { position: absolute; inset: 0; }

/* .pais-pin ya no es un contenedor flex: es solo un punto de
   referencia (0,0) ubicado con left/top en porcentaje. El punto,
   la líneita conectora y la tarjeta se posicionan cada uno por su
   cuenta a partir de ese mismo punto, así la tarjeta se puede
   separar (con "despl" en alcance-datos.js) sin mover el punto. */
.pais-pin {
  position: absolute;
  width: 0;
  height: 0;
}

.pais-punto {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(34, 201, 201, 0.22), 0 0 14px rgba(34, 201, 201, 0.7);
  z-index: 2;
}

.pais-conector {
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  background: rgba(34, 201, 201, 0.55);
  transform-origin: 0 0;
  z-index: 1;
}

.pais-pin-sede .pais-punto {
  width: 16px;
  height: 16px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(217, 164, 65, 0.25), 0 0 18px rgba(217, 164, 65, 0.8);
}

@media (prefers-reduced-motion: no-preference) {
  .pais-punto { animation: puntoLatido 2.4s ease-in-out infinite; }
}

@keyframes puntoLatido {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.pais-etiqueta {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(22, 33, 62, 0.85);
  border: 1px solid rgba(34, 201, 201, 0.3);
  border-radius: 50px;
  padding: 0.3rem 0.7rem 0.3rem 0.5rem;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  transition: border-color var(--transition);
}

.pais-pin:hover .pais-etiqueta { border-color: var(--teal); }

.pais-pin-sede .pais-etiqueta {
  border-color: var(--gold);
  background: rgba(217, 164, 65, 0.2);
  box-shadow: 0 0 20px rgba(217, 164, 65, 0.25);
}

.pais-bandera { font-size: 1.1rem; line-height: 1; }
.pais-nombre { color: white; font-weight: 700; font-size: 0.78rem; }

.pais-chip {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem;
  border-radius: 50px;
}

.pais-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
}

.pais-nota { display: none; }

.pais-pin:hover .pais-nota,
.pais-pin:focus-within .pais-nota {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.4rem;
  width: 160px;
  background: rgba(22, 33, 62, 0.95);
  border: 1px solid rgba(34, 201, 201, 0.3);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  z-index: 2;
}

@media (max-width: 700px) {
  .mapa-americas { min-width: 0; }
  .pais-nombre { font-size: 0.68rem; }
  .pais-bandera { font-size: 0.95rem; }
  .pais-etiqueta { padding: 0.22rem 0.5rem 0.22rem 0.4rem; gap: 0.25rem; }
}

/* Accesibilidad: foco visible para navegación por teclado */
a:focus-visible,
label:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}