/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Variables de diseño */
:root {
  /* PALETA VERDES FUNES */
  --green-50: #e9ffe9;
  --green-100: #c7f5c1;
  --green-300: #7cd879;
  --green-500: #28a428;
  --green-600: #1c7b20;
  --green-800: #0c3f1f;

  /* NEUTROS */
  --neutral-50: #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-700: #374151;
  --neutral-900: #111827;

  /* GLOBALES */
  --bg-page: #ffffff;
  --text-main: var(--neutral-900);
  --text-muted: #6b7280;

  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.16);

  --max-width: 1180px;
  --transition-fast: 0.2s ease;
  --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}


body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}


/* Utilidades */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.alt-bg {
  background-color: var(--color-bg-alt);
}

h1,
h2,
h3 {
  font-weight: 700;
  color: var(--color-text);
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}
/* ==== LOGO EN EL NAV ==== */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 60px;        /* tamaño ideal para la barra superior */
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover img {
  transform: scale(1.04);
}

/* Ajustes responsive */
@media (max-width: 768px) {
  .brand-logo img {
    height: 48px;
  }
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  background: linear-gradient(135deg, var(--green-500), var(--green-300));
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.brand-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-800);
}

.brand-and {
  font-weight: 500;
}

/* Nav */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.main-nav a,
.nav-link-button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  color: var(--neutral-700);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after,
.nav-link-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green-500);
  transition: width var(--transition-fast);
}

.main-nav a:hover::after,
.nav-link-button:hover::after {
  width: 100%;
}

/* Submenú Donaciones */
/* ====== NAV PRINCIPAL Y SUBMENÚ DONACIONES ====== */

/* Estructura base */
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
}

.main-nav a,
.nav-link-button {
  font-size: 0.95rem;
  color: #111827;
  text-decoration: none;
  padding: 0.4rem 0;
}

/* Botón de Donaciones (texto) */
.nav-link-button {
  background: none;
  border: none;
  cursor: pointer;
}

/* SUBMENÚ */
/* ==== ARREGLO DEFINITIVO SUBMENÚ DONACIONES ==== */

/* Para que el menú principal NO afecte al submenu */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

/* Cada elemento del nav */
.main-nav li {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
}

/* Botón de Donaciones */
.nav-link-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  color: #111827;
  padding: 0.4rem 0;
}

/* ==== ARREGLO DEFINITIVO SUBMENÚ DONACIONES ==== */

/* Para que el menú principal NO afecte al submenu */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

/* Cada elemento del nav */
.main-nav li {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
}

/* Botón de Donaciones */
.nav-link-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  color: #111827;
  padding: 0.4rem 0;
}

/* ---------- SUBMENÚ ---------- */
.submenu {
  position: absolute;
  top: 110%;                 /* justo debajo del botón */
  left: 0; 
  margin-top: 10px;                  /* alineado correctamente */
  display: block !important; /* evita que se convierta en flex */
  
  min-width: 220px;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.6rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.2s ease;
  z-index: 1000;            /* asegura que aparezca sobre todo */
}

/* Mostrar submenu */
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Asegura que el mouse no "pierda" el hover */
.has-submenu {
  padding-bottom: 0;
}

/* Items del submenu */
.submenu li {
  width: 100%;
  display: block;
}

.submenu a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  color: #111827;
  white-space: nowrap;
}

.submenu a:hover {
  background: #f0fdf4;
  color: #16a34a;
}




/* Botón DONACIONES header */
.btn-outline-green {
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--green-500);
  color: var(--green-600);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--transition-fast),
    color var(--transition-fast), box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.btn-outline-green:hover {
  background-color: var(--green-500);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

/* Toggle móvil */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Responsive header */
@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem 1rem;
  }

  .submenu {
    position: static;
    box-shadow: none;
    padding-left: 0.5rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 0.3rem;
    border-left: 2px solid var(--green-100);
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}


/* Botón menú móvil */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero-funes {
  background: radial-gradient(circle at top left, #c7f5c1 0, #28a428 55%, #1c7b20 100%);
  color: #ffffff;
  padding: 4.5rem 0 5.5rem 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.747);
  margin-bottom: 0.75rem;
}

.hero-copy h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #14532d;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 32rem;
  color: #e8ffe4;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Botones hero */
.btn-primary-green {
  display: inline-block;
  padding: 0.9rem 2.1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #4cd964, #1c7b20);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary-green:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.btn-ghost-light {
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Card de video */
.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-video-card {
  width: 100%;
  max-width: 560px;      /* antes 420px */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  border-radius: 24px;   /* un poquito más redondeado */
  padding: 1.4rem 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}


.hero-video-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #064e3b;
}

.video-frame {
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;
}

.video-frame iframe {
  width: 100%;
  height: 310px;   /* antes 240px */
}


/* Responsive hero */
@media (max-width: 900px) {
  .hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}


  .hero-copy {
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .video-frame iframe {
    height: 200px;
  }
}

/* ==== Programas: Alojamiento / Alimentación / Apoyo ==== */

.programs-section {
  padding: 4rem 0 4.5rem 0;
  background-color: var(--neutral-50);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.8rem auto;
}

.section-head h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--neutral-900);
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Grid de tarjetas */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Tarjeta base */
.program-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  transform: translateY(0);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), border-radius var(--transition-fast);
}

.program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 5%,
    rgba(0, 0, 0, 0.4) 45%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.program-card-content {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  color: #ffffff;
  z-index: 1;
}

.program-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.program-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* Botón dentro de la tarjeta */
.program-card-btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background-color: var(--green-500);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.program-card-btn:hover {
  background-color: var(--green-300);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Hover de tarjeta */
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.55);
  border-radius: 20px;
}

/* Fondos específicos - reemplaza las imágenes por las tuyas */
.program-card--alojamiento {
  background-image: url("../img/program-alojamiento.jpg");
}

.program-card--alimentacion {
  background-image: url("../img/program-alimentacion.jpg");
}

.program-card--apoyo {
  background-image: url("../img/program-apoyo.jpg");
}

/* Responsive */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .program-card {
    min-height: 230px;
  }
}
/* ==== ¿Cómo apoyar a la Fundación? ==== */

.support-section {
  padding: 4rem 0 4.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--neutral-200);
}

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

/* Tarjeta base */
.support-card {
  background-color: var(--neutral-50);
  border-radius: 18px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast),
    background-color var(--transition-fast);
  cursor: default;
}

.support-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  border-color: rgba(34, 197, 94, 0.7);
  background-color: #f3fff4;
}

/* Icono circular */
.support-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem auto;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #bbf7d0, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.45);
}

.support-icon span {
  font-size: 1.8rem;
}

/* Textos */
.support-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--neutral-900);
}

.support-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}
/* ==== Sección Comprometidos ==== */

.compromiso-section {
  position: relative;
  margin-top: 0;
  background: linear-gradient(135deg, #3fbf4f, #1c7b20);
  color: #ffffff;
  padding: 6rem 0 5rem 0;
  overflow: hidden;
}

/* Onda superior */
.compromiso-wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  width: 100%;
}

.compromiso-wave svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* Layout */
.compromiso-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* Foto */
.compromiso-media {
  display: flex;
  justify-content: center;
}

.compromiso-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.35);
}

.compromiso-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
}

/* Texto */
.compromiso-content {
  max-width: 480px;
}

.compromiso-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.7rem;
}

.compromiso-content h2 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.compromiso-text {
  font-size: 0.98rem;
  color: #e5ffe7;
  margin-bottom: 1.8rem;
}

/* Lista */
.compromiso-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.4rem 0;
}

.compromiso-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: #ecfdf5;
}

.compromiso-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.85rem;
  color: #bbf7d0;
}

/* Botón */
.btn-light-on-green {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: none;
  background-color: #ffffff;
  color: #15803d;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast), color var(--transition-fast);
}

.btn-light-on-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
  background-color: #f9fafb;
  color: #166534;
}

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

  .compromiso-content {
    max-width: none;
    text-align: center;
  }

  .compromiso-list li {
    text-align: left;
  }

  .compromiso-media {
    order: -1;
  }
}

@media (max-width: 640px) {
  .compromiso-section {
    padding-top: 2.5rem;
  }

  .compromiso-content h2 {
    font-size: 1.9rem;
  }
}
/* ==== Banner Únete como voluntario ==== */

.voluntariado-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #14532d;
}

.voluntariado-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.voluntariado-hero-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: translateY(-15%)
}

.voluntariado-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 45%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.voluntariado-hero-content {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0;
}

.voluntariado-hero-text {
  max-width: 520px;
  color: #ffffff;
}

.voluntariado-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  margin-bottom: 0.7rem;
  color: rgba(226, 232, 240, 0.9);
}

.voluntariado-hero-text h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.voluntariado-hero-text p {
  font-size: 0.98rem;
  margin-bottom: 1.6rem;
  color: #e5f9ec;
}

/* En pantallas pequeñas centramos el contenido */
@media (max-width: 768px) {
  .voluntariado-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.6) 45%,
      rgba(0, 0, 0, 0.35) 100%
    );
  }

  .voluntariado-hero-content {
    padding: 2.8rem 0;
  }

  .voluntariado-hero-text {
    text-align: center;
    margin: 0 auto;
  }

  .voluntariado-hero-text h2 {
    font-size: 2rem;
  }

  .voluntariado-hero-text p {
    margin-bottom: 1.8rem;
  }
}

/* ==== Testimonios ==== */

.testimonios-section {
  padding: 4rem 0 4.5rem 0;
  background-color: #ffffff;
}

.section-head--left {
  text-align: left;
  max-width: 620px;
  margin-left: 0;
  margin-bottom: 2.4rem;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.testimonio-card {
  background-color: var(--neutral-50);
  border-radius: 16px;
  padding: 1.3rem 1.3rem 1.6rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.testimonio-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-900);
}

.testimonio-video {
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
}

.testimonio-video iframe {
  width: 100%;
  height: 180px;
  border: 0;
}

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

/* Ajustes responsive */
@media (max-width: 640px) {
  .testimonio-video iframe {
    height: 170px;
  }
}
/* ==== Banner listo para donar ==== */

.donar-banner {
  background-color: var(--green-500);
  color: #ffffff;
  padding: 2.6rem 0;
}

.donar-banner-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

.donar-banner-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.donar-banner-text p {
  font-size: 0.97rem;
  color: #ecfdf5;
}

.donar-banner-cta {
  flex-shrink: 0;
}

/* Reutilizamos .btn-light-on-green */

@media (max-width: 768px) {
  .donar-banner-layout {
    flex-direction: column;
    text-align: center;
  }
}
/* ==== Slider de aliados ==== */

.aliados-section {
  padding: 4rem 0;
  background-color: var(--neutral-50);
  border-top: 1px solid var(--neutral-200);
}

.aliados-slider {
  position: relative;
  overflow: hidden;
  margin-top: 1.8rem;
  padding: 1.2rem 0;
}

.aliados-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: aliados-scroll 26s linear infinite;
}

.aliado-item {
  flex: 0 0 auto;
  min-width: 120px;
  filter: grayscale(1);
  opacity: 0.9;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.aliado-item img {
  max-height: 48px;
  width: auto;
}

/* Hover: resaltar logo */
.aliado-item:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

/* Animación continua */
@keyframes aliados-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pausar al pasar el mouse por encima del contenedor */
.aliados-slider:hover .aliados-track {
  animation-play-state: paused;
}

/* ==== FOOTER ==== */

.site-footer {
  margin-top: 0;
}

/* Parte superior: columnas + mapa */
.footer-top {
  background-color: #e3f4e6; /* verde muy claro */
  padding: 3rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: var(--neutral-900);
}

.footer-about p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

/* Botón en footer */
.btn-footer-donar {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background-color: var(--green-500);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn-footer-donar:hover {
  background-color: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.6);
}

/* Links */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #15803d;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Contacto */
.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.footer-contact a {
  color: #15803d;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Redes sociales */
.footer-social {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background-color: #bbf7d0;
  color: #166534;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.footer-social a:hover {
  background-color: #4ade80;
  transform: translateY(-1px);
}

/* Mapa */
.footer-map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
  border: 2px solid rgba(34, 197, 94, 0.4);
}

.footer-map-wrapper iframe {
  width: 100%;
  height: 180px;
  border: 0;
}

/* Parte inferior: copyright */
.footer-bottom {
  background-color: #0f172a;
  color: #e5e7eb;
  padding: 0.9rem 0;
  font-size: 0.8rem;
}

.footer-bottom-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-made-by {
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

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

  .footer-bottom-layout {
    flex-direction: column;
    text-align: center;
  }
}


/* Responsivo */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background-color: #ffffff;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
  }

  .nav-toggle {
    display: block;
  }
}
/* ==== BLOG ==== */

.blog-hero {
  background: radial-gradient(circle at top left, #c7f5c1 0, #28a428 55%, #1c7b20 100%);
  color: #ffffff;
  padding: 3rem 0 3.5rem 0;
}

.blog-hero-layout {
  display: flex;
  align-items: center;
  min-height: 140px;
}

.blog-hero-copy h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.blog-hero-copy p {
  max-width: 520px;
  font-size: 0.98rem;
  color: #e5ffe7;
}

.blog-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
  color: rgba(226, 232, 240, 0.9);
}

/* Layout principal */
.blog-section {
  padding: 3rem 0 4rem 0;
  background-color: #ffffff;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 2.5rem;
}

/* Filtro */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-filter-btn {
  border-radius: 999px;
  border: 1px solid var(--neutral-200);
  background-color: #ffffff;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.blog-filter-btn.is-active {
  background-color: var(--green-500);
  color: #ffffff;
  border-color: var(--green-500);
}

/* Cards */
.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
}

.blog-card {
  background-color: var(--neutral-50);
  border-radius: 16px;
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.3);
  position: relative;
}

.blog-card-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background-color: #dcfce7;
  color: #166534;
  text-decoration: none;
}

.blog-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.blog-card h2 a {
  color: var(--neutral-900);
  text-decoration: none;
}

.blog-card h2 a:hover {
  text-decoration: underline;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.blog-card-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: #15803d;
  text-decoration: none;
}

.blog-card-more::after {
  content: " →";
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.blog-widget {
  background-color: var(--neutral-50);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.blog-widget h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.blog-widget p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.blog-categories li + li {
  margin-top: 0.35rem;
}

.blog-categories span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

  .blog-sidebar {
    order: -1;
  }
}

@media (max-width: 600px) {
  .blog-hero-copy h1 {
    font-size: 1.9rem;
  }
}

/* ==== PÁGINA NOSOTROS ==== */

.about-hero {
  background: radial-gradient(circle at top left, #c7f5c1 0, #28a428 55%, #1c7b20 100%);
  color: #ffffff;
  padding: 3.2rem 0 3.8rem 0;
}

.about-hero-layout {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: center;
}

.about-hero-copy h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.about-hero-copy p {
  max-width: 520px;
  font-size: 0.98rem;
  color: #e5ffe7;
}

.about-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  margin-bottom: 0.7rem;
  color: rgba(226, 232, 240, 0.9);
}

/* Tarjeta chiquita de años */
.about-hero-card {
  min-width: 210px;
  max-width: 240px;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.about-hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.about-hero-year {
  font-size: 2.2rem;
  font-weight: 800;
}

.about-hero-small {
  font-size: 0.8rem;
  color: #e0fbea;
}

/* Secciones */
.about-section {
  padding: 3.2rem 0;
  background-color: #ffffff;
}

.about-section-alt {
  background-color: var(--neutral-50);
}

/* ==== NOSOTROS – HERO CON FOTO ==== */

.about-hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  align-items: center;
  background-color: #14532d;
  color: #ffffff;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: translateY(-15%) ;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.5) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

.about-hero-banner-content {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0;
}

.about-hero-banner-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.about-hero-banner-content p {
  max-width: 520px;
  font-size: 0.98rem;
  color: #e5ffe7;
}

/* ==== ¿QUIÉNES SOMOS? ==== */

.about-who {
  padding: 3.5rem 0;
  background-color: #ffffff;
}

.about-who-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.about-who-media {
  display: flex;
  justify-content: center;
}

.about-who-photo {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.3);
  border: 3px solid rgba(34, 197, 94, 0.4);
  max-width: 460px;
}

.about-who-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-who-content h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--neutral-900);
}

.about-who-content p {
  font-size: 0.96rem;
  color: var(--text-muted);
}

/* Reutilizamos .about-kicker ya definido antes si existe,
   si no, define esto: */
.about-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
  color: #16a34a;
}

/* ==== MISIÓN · VISIÓN · OBJETIVOS ==== */

.about-mvo {
  padding: 3.5rem 0 3.8rem 0;
  background-color: var(--neutral-50);
}

.about-mvo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.mvo-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.mvo-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.9rem;
  color: #16a34a;
  letter-spacing: 0.06em;
}

.mvo-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: justify;
}

/* Responsive */
@media (max-width: 900px) {
  .about-who-layout {
    grid-template-columns: 1fr;
  }

  .about-who-content {
    text-align: left;
  }

  .about-mvo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-hero-banner-content h1 {
    font-size: 2rem;
  }

  .about-hero-banner-content p {
    font-size: 0.9rem;
  }
}

/* ==== PROGRAMAS ==== */

.programs-hero {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  align-items: center;
  background-color: #14532d;
  color: #ffffff;
}

.programs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.programs-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.programs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 1;
}

.programs-hero-content {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0;
}

.programs-hero-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.programs-hero-content p {
  max-width: 540px;
  font-size: 0.98rem;
  color: #e5ffe7;
}

.programs-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
  color: rgba(226, 232, 240, 0.9);
}

/* Resumen */
.programs-summary {
  padding: 3.2rem 0 3.6rem 0;
  background-color: #ffffff;
}

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

.program-summary-card {
  background-color: var(--neutral-50);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.program-summary-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.program-summary-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Detalle de cada programa */
.program-detail {
  padding: 3.2rem 0;
  background-color: #ffffff;
}

.program-detail:nth-of-type(even) {
  background-color: var(--neutral-50);
}

.program-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.program-detail--reverse .program-detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.program-detail-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.program-detail-text p {
  font-size: 0.96rem;
  color: var(--text-muted);
}

.program-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #16a34a;
  margin-bottom: 0.4rem;
}

/* Fotos */
.program-detail-media {
  display: flex;
  justify-content: center;
}

.program-photo {
  border-radius: 22px;
  overflow: hidden;
  max-width: 480px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.3);
  border: 3px solid rgba(34, 197, 94, 0.4);
}

.program-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
  .programs-hero-content {
    padding: 2.8rem 0;
  }

  .program-detail-layout,
  .program-detail--reverse .program-detail-layout {
    grid-template-columns: 1fr;
  }

  .program-detail-text {
    order: -1;
  }
}

@media (max-width: 640px) {
  .programs-hero-content h1 {
    font-size: 2rem;
  }

  .program-detail-text h2 {
    font-size: 1.6rem;
  }
}

/* === HERO DONACIONES === */
.donaciones-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  color: white;
}

.donaciones-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donaciones-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.donaciones-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.donaciones-hero-content h1 {
  font-size: 2.3rem;
  font-weight: 800;
}

/* === MÉTODOS === */
.donaciones-metodos {
  padding: 3.5rem 0;
  text-align: center;
}

.donaciones-metodos h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

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

.metodo-card {
  background: white;
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.metodo-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #15803d;
}

.metodo-label {
  font-weight: 600;
}

.metodo-numero {
  font-size: 1.4rem;
  font-weight: 800;
  color: #166534;
}

.metodo-icon {
  width: 120px;
  margin-top: 0.6rem;
}

.certificado {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #475569;
}

.mensaje-final {
  margin-top: 1rem;
  font-weight: 600;
  color: #16a34a;
}

.donar-cta {
  margin-top: 2rem;
}

.btn-green {
  background: #16a34a;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
}

.paypal-btn img {
  width: 150px;
  transition: transform 0.2s ease;
}

.paypal-btn:hover img {
  transform: scale(1.06);
}
.pse-btn img {
  width: 150px;
  transition: transform 0.2s ease;
}

.pse-btn:hover img {
  transform: scale(1.06);
}
/* ===== DONACIÓN EN ESPECIE ===== */

.especie-hero {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-color: #166534;
}

.especie-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.especie-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.especie-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

.especie-hero-content {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0;
}

.especie-hero-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.especie-hero-content p {
  max-width: 520px;
  font-size: 0.98rem;
  color: #e5ffe7;
}

/* Sección principal */
.especie-section {
  padding: 3.4rem 0;
  background-color: #ffffff;
}

.especie-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: center;
}

.especie-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.especie-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem;
  margin-bottom: 1.4rem;
}

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

.especie-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.especie-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: #22c55e;
}

.especie-note {
  font-size: 0.9rem;
  color: #065f46;
}

/* Foto */
.especie-media {
  display: flex;
  justify-content: center;
}

.especie-photo {
  max-width: 430px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.3);
  border: 3px solid rgba(34, 197, 94, 0.4);
}

.especie-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pasos de entrega */
.especie-steps {
  background-color: var(--neutral-50);
}

.especie-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  margin-top: 1.6rem;
}

.step-card {
  background-color: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  position: relative;
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: rgba(34, 197, 94, 0.35);
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

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

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

  .especie-media {
    order: -1;
  }

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

@media (max-width: 640px) {
  .especie-hero-content h1 {
    font-size: 2rem;
  }
}

/* ===== HERO PLAN PADRINO ===== */
.padrino-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(100deg, #22c55e, #15803d);
  color: white;
  text-align: center;
}

.padrino-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
}

.padrino-hero p {
  max-width: 620px;
  margin: 0.8rem auto 0;
  font-size: 1.1rem;
  color: #eaffea;
}

/* ===== SECCIÓN GENERAL ===== */
.padrino-section {
  padding: 3rem 0;
}

.bg-light {
  background: #f9fff9;
}

/* ===== LAYOUT ===== */
.padrino-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.padrino-card {
  background: white;
  padding: 1.6rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10, 25, 40, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

/* monto */
.monto h3 {
  margin-bottom: 0.4rem;
}
.monto-valor {
  font-size: 2rem;
  font-weight: 800;
  color: #16a34a;
}

/* datos */
.datos-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.datos-list li {
  padding-bottom: 0.6rem;
  font-size: 0.95rem;
}

.note {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: #065f46;
}

/* listas */
.beneficios-list,
.compromisos-list {
  list-style: none;
  padding: 0;
}

.beneficios-list li,
.compromisos-list li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

/* responsive */
@media (max-width: 900px) {
  .padrino-layout {
    grid-template-columns: 1fr;
  }
}
/* ===== VOLUNTARIADO ===== */

.vol-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(110deg, #22c55e, #16a34a);
  color: #ffffff;
  text-align: center;
}

.vol-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.vol-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
  color: #eaffea;
}

.vol-section {
  padding: 3rem 0;
}

.vol-section.bg-light {
  background-color: #f9fff9;
}

.vol-text-block {
  max-width: 780px;
}

.vol-text-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.7rem;
}

/* Lista de características */
.vol-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0 0;
  max-width: 820px;
}

.vol-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.96rem;
  color: var(--text-muted);
}

.vol-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: #22c55e;
}

/* Formulario */
.vol-form {
  margin-top: 1.8rem;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.8rem 1.9rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.vol-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.form-field--checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
}

.vol-form-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.btn-green-primary {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  background: #16a34a;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn-green-primary:hover {
  background-color: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(22, 163, 74, 0.6);
}

.vol-form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

  .btn-green-primary {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }
}
.form-alert {
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: left;
}

.form-alert--success {
  background-color: #dcfce7;
  border: 1px solid #22c55e;
  color: #166534;
}

.form-alert--error {
  background-color: #fee2e2;
  border: 1px solid #ef4444;
  color: #991b1b;
}
/* ===== CONTACTO ===== */

.contact-hero {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0;
  text-align: center;
}

.contact-hero-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.contact-hero-content p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: #e5ffe7;
}

/* Sección info + formulario */
.contact-section {
  padding: 3.2rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-info h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.contact-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-list a {
  color: var(--green-600);
}

.contact-hours {
  font-size: 0.9rem;
  color: #0f172a;
}

/* Formulario */
.contact-form-wrapper h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.contact-form {
  margin-top: 0.4rem;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.contact-form-actions {
  margin-top: 1rem;
}

/* Reutiliza form-field, btn-green-primary, form-alert, etc. ya definidos para voluntariado */

/* Mapa */
.contact-map-section {
  padding: 0 0 3rem 0;
}

.contact-map-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.contact-map-wrapper {
  width: 100%;
  height: 350px;
  margin-top: 0.4rem;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

.legal-page {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.legal-hero {
  text-align: center;
  margin-bottom: 40px;
}

.legal-hero h1 {
  color: #166534;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.legal-content h2 {
  color: #14532d;
  margin-top: 30px;
}

.legal-content p,
.legal-content li {
  line-height: 1.7;
  color: #334155;
}

.legal-content ul {
  padding-left: 20px;
}

/* ================================
   ESTILOS LEGALES
   Política de devolución de donativos
   ================================ */

.legal {
  background: #ffffff;
  padding-bottom: 60px;
}

/* Hero */
.legal-hero {
  background: linear-gradient(135deg, #dcfce7, #ffffff 55%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 48px 0 28px;
}

.legal-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 16px;
}

.legal-kicker {
  margin: 0 0 10px;
  color: #15803d;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.legal-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.2;
  color: #0f172a;
}

/* Card principal */
.legal-body {
  padding: 32px 0;
}

.legal-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.12);
  padding: 30px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Bloque de datos */
.legal-meta {
  background: rgba(21, 128, 61, 0.07);
  border: 1px solid rgba(21, 128, 61, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
  color: #334155;
}

.legal-meta p {
  margin: 6px 0;
  font-size: 0.95rem;
}

/* Títulos */
.legal-h2 {
  margin: 22px 0 12px;
  color: #14532d;
  font-size: 1.25rem;
}

/* Texto */
.legal p {
  margin: 10px 0;
  color: #475569;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* Listas */
.legal-list {
  margin: 10px 0 18px 20px;
  padding: 0;
  color: #475569;
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-list li {
  margin-bottom: 6px;
}

/* Nota destacada */
.legal-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid #15803d;
  background: rgba(21, 128, 61, 0.08);
  border-radius: 12px;
  color: #334155;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-card {
    padding: 22px 18px;
  }

  .legal-h2 {
    font-size: 1.15rem;
  }

  .legal p,
  .legal-list {
    font-size: 0.93rem;
  }
}
.support-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.support-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  cursor: pointer;
}

.support-link:hover .support-card {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.support-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #b7f7c6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
