  /* ============ VARIABLES ============ */
:root {
  --color-blanco: #ffffff;
  --color-rojo: #c32f35;
  --color-verde: #a3a914;
  --color-amarillo: #eeaa3d;
  --color-gris: #54585a;
  --color-gris-texto: #4d4d4d;
  --color-gris-claro: #f4f4f4;

  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);

  --container-width: 1120px;
  --header-height: 100px;
}

/* ============ TIPOGRAFÍAS ============ */
@font-face {
  font-family: "Nunito BAMX";
  src: url("/fonts/Nunito-Black.woff2") format("woff2"),
        url("/fonts/NunitoSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito BAMX";
  src: url("/fonts/Nunito-Black.woff2") format("woff2"),
        url("../fonts/Nunito-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans Extra Bold BAMX";
  src: url("/fonts/NunitoSans-ExtraBold.woff2") format("woff2"),
        url("../fonts/NunitoSans-ExtraBold.woff2") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-gris-texto);
  background-color: var(--color-blanco);
}

/* Contenedor */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============ HEADER / MENÚ ============ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-gris);
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-bar__logo img {
  height: 80px;
  display: block;
}

.top-bar__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "Nunito Sans Extra Bold BAMX";
}

.top-bar__link {
  color: var(--color-blanco);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}

.top-bar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--color-rojo);
  transition: width 0.2s ease-out;
}

.top-bar__link:hover::after,
.top-bar__link:focus-visible::after {
  width: 100%;
}

.top-bar__donar {
  white-space: nowrap;
}

/* Móvil: solo logo + botón */
@media (max-width: 768px) {
  .top-bar__nav {
    display: none;
  }

  .top-bar__logo img {
    height: 45px;
  }

  .top-bar__inner {
    gap: 12px;
  }

  .top-bar__donar {
    padding-inline: 14px;
    font-size: 0.9rem;
  }
}

/* Compensar header fijo: TODO el cuerpo se recorre 72px,
   así el banner queda pegadito al menú sin huecos blancos */
body {
  padding-top: var(--header-height);
}


/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: "Nunito BAMX", sans-serif;
  font-weight: 800;
  padding: 12px 28px;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background-color 0.15s ease-out;
}

.btn--primary {
  background-color: #eeaa3d;
  color: var(--color-blanco);
}

.btn--primary:hover {
  transform: translateY(-1px);
  background-color: #aa252a;
}

/* MODAL (DEBE EMPEZAR OCULTO) */
.modal {
  position:fixed;
  inset:0;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}

.modal[aria-hidden="false"] {
  opacity:1;
  pointer-events:auto;
}

.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.5);
}

 .modal__dialog{
   position:relative;
   background:#fff;
   border-radius:20px;
   max-width: 500px;
   width:100%;
   max-height:90vh;
   display:flex;
   flex-direction:column;
   overflow:hidden;
   transform:translateY(10px);
   box-shadow:0 18px 45px rgba(15,23,42,.35);
   transition:transform .25s ease,opacity .25s ease;
   z-index: 1;
}

.modal__title{
  margin: 0;
  padding: 18px 56px 16px 24px;  /* espacio extra a la derecha para la X */
  font-family: "Nunito BAMX", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #333;
  border-bottom: 1px solid #eee;
}

.modal[aria-hidden="false"] .modal__dialog{
   transform:translateY(0);
   opacity:1;
}

.modal__close{
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  color: #333;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}

.modal__close:hover{
  background: #f3f3f3;
}

#form-bamx-modal{
  display: block;
  width: 100%;
  border: 0;
  flex: 1;             /* se estira dentro del modal */
  min-height: 70vh;    /* alto cómodo en desktop */
}


/* ============ HERO / BANNER ============ */
.hero {
  position: relative;
  min-height: 95vh;
  color: var(--color-blanco);
  display: flex;
  align-items: flex-end;     /* antes center: lo pegamos hacia abajo */
  overflow: hidden;
}

/* Foto de las señoras como FONDO */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15) 20%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url("../img/BannerChiapasB.webp"); /* AQUÍ tu foto de las señoras */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero__content {
  width: 100%;
  padding-top: 90px;
  padding-bottom: 60px;  /* más espacio abajo para que no tape las caras */
  display: flex;
  align-items: flex-end;
}

.hero__text {
  max-width: 580px;
}

/* Imagen “TU AYUDA ALIMENTA” */
.hero__claim {
  width: 450px;       /* tamaño perfecto ❤️ */
  max-width: 95%;
  height: auto;
  display: block;
  margin-bottom: 22px;
}


/* Título y subtítulo como en la original */
.hero__title {
  margin: 0 0 10px;
  font-family: "Nunito Sans Extra Bold BAMX";
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.2;
}

.hero__subtitle {
  font-family: "Nunito Sans Extra Bold BAMX";
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    min-height: 520px;
  }

  .hero__content {
    padding-top: 40px;
    padding-bottom: 56px;
    align-items: flex-end;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__claim {
    max-width: 320px;
  }

  .hero__title {
    font-size: 1.9rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }
}

/* ============================
   3. DATOS BAMX — GOTITAS
============================ */

.section--datos {
  padding-top: 40px;   /* ANTES 80px */
  padding-bottom: 80px;
  background-image: url("../img/manos-1-scaled.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* GRID DATOS – 4 GOTITAS EN UNA SOLA LÍNEA EN ESCRITORIO */
.datos-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cada tarjeta ocupa exactamente 1/4 */
.dato-pill {
  flex: 1 1 25%;
  border-radius: 20px 20px 160px 160px;
  padding: 40px 24px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

/* Colores */
.dato-pill--verde    { background-color: var(--color-verde); }
.dato-pill--rojo     { background-color: var(--color-rojo); }
.dato-pill--amarillo { background-color: var(--color-amarillo); }
.dato-pill--gris     { background-color: var(--color-gris); }

/* Icono dentro de cada tarjeta */
.dato-pill__icon img {
  max-width: 70px;
  max-height: 70px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Títulos y texto */
.dato-pill__title {
  margin: 0 0 12px;
  font-family: "Nunito Sans Extra Bold BAMX";
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1.2;
}

.dato-pill__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 240px;
}

.dato-pill__title,
.dato-pill__text {
  color:#fff !important;
}

/* Tablet: 2 por fila */
@media (max-width: 992px) {
  .dato-pill {
    flex: 1 1 calc(50% - 24px);
  }
}

/* Móvil: 1 por fila */
@media (max-width: 600px) {

  .datos-grid {
    flex-wrap: wrap;          /* Permite que bajen */
    flex-direction: column;   /* Una debajo de otra */
    gap: 16px;                /* Espaciado vertical */
  }

  .dato-pill {
    flex: 1 1 100%;
    border-radius: 20px 20px 130px 130px;
  }
}


/* ============================
   4. ¿QUÉ CAUSAS ALIMENTA TU AYUDA?
============================ */

.section-causas {
  padding: 60px 0 70px;
}

/* Título con línea roja */
.section-title {
  margin: 0 0 32px;
  text-align: center;
  font-family: "Nunito BAMX", sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--color-gris);
}

.section-title--underline {
  position: relative;
  display: inline-block;
  padding-bottom: 6px; /* Distancia más pequeña con el texto */
}

.section-title--underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 340px;        /* ⟵ Igual al tamaño de la original */
  height: 6px;         /* ⟵ Grueso original */
  border-radius: 999px;
  background-color: var(--color-rojo);
}


/* Grid de cajitas */
.causas-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* Caja individual */
.causa-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 32px 24px 36px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

/* Hover con zoom suave */
.causa-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

/* Icono */
.causa-card__icon {
  margin-bottom: 20px;
}

.causa-card__icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Texto */
.causa-card__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #000000;
}

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

@media (max-width: 600px) {
  .section-causas {
    padding: 40px 0 50px;
  }

  .causas-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 40px auto 0;
  }
}

/* ============================
   5. ALIADOS QUE CONFÍAN EN NOSOTROS
============================ */

.section-aliados {
  padding: 60px 0 70px;
}

.aliados-wrapper {
  max-width: 1200px;
  margin: 36px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Carrusel horizontal */
.aliados-carousel {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 0;
  scrollbar-width: none;         /* Firefox */
}
.aliados-carousel::-webkit-scrollbar {
  display: none;                 /* Chrome/Safari */
}

/* Cada logo ocupa un “slot” */
.aliado-item {
  flex: 0 0 20%;                 /* ~5 logos visibles en escritorio */
  max-width: 20%;
  scroll-snap-align: center;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tamaño uniforme de logos */
.aliado-item img {
  max-height: 70px;              /* 👉 aquí controlas la altura */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Flechas */
.aliados-arrow {
  border: none;
  background: rgba(0, 0, 0, 0.04);
  width: 32px;
  height: 80px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  color: #999;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.aliados-arrow:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #666;
  transform: translateY(-1px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .aliado-item {
    flex: 0 0 33.33%;            /* ~3 logos visibles */
    max-width: 33.33%;
  }
}

@media (max-width: 600px) {
  .aliados-wrapper {
    margin-top: 28px;
  }

  .aliado-item {
    flex: 0 0 60%;               /* 1–2 logos visibles, estilo carrusel */
    max-width: 60%;
  }

  .aliados-arrow {
    height: 60px;
    width: 28px;
    font-size: 18px;
  }
}

/* ===========================
      SECCIÓN MOTOR
=========================== */

.motor {
  padding: 90px 0;
  text-align: center;
}

.motor__title {
  font-family: "Nunito BAMX";
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-gris);
  margin-bottom: 6px;
  line-height: 1.2;
}

.motor__underline {
  width: 240px;
  height: 6px;
  background: var(--color-rojo);
  display: inline-block;
  border-radius: 999px;
  margin-bottom: 24px;
}

.motor__subtitle {
  font-size: 1.08rem;
  margin-bottom: 50px;
  color: var(--color-gris-texto);
}

/* CONTENIDO: IMAGEN + LISTA */
.motor__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  flex-wrap: wrap;
}

/* IMAGEN (ya incluye los círculos) */
.motor__image-box {
  max-width: 420px;      /* súbelo a 440 si la quieres aún más grande */
  flex: 0 0 auto;
}

.motor__image {
  width: 100%;
  height: auto;
  display: block;
}

/* LISTA DERECHA */
.motor__list {
  max-width: 520px;
  text-align: left;
}

.motor__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 26px;
}

.motor__item h4 {
  font-size: 1.25rem;    /* un poco más grande */
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--color-gris);
}

.motor__item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Puntos de color */
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
  margin-top: 5px;
}

.dot--naranja { background: #FFA73B; }
.dot--rojo    { background: #C32F35; }
.dot--gris    { background: #54585A; }
.dot--verde   { background: #34A853; }
.dot--amarillo{ background: #EEAA3D; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .motor__content {
    flex-direction: column;
    gap: 40px;
  }

  .motor__image-box {
    max-width: 360px;
  }

  .motor__list {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .motor {
    padding: 70px 0;
  }

  .motor__title {
    font-size: 2rem;
  }

  .motor__subtitle {
    font-size: 1rem; 
  }

  .motor__image-box {
    max-width: 300px;
  }

  .motor__item h4 {
    font-size: 1.1rem;
  }

  .motor__item p {
    font-size: 0.95rem;
  }
}

/* Contenedor general de la sección */
.meta-section {
    padding-top: 8px;   /* antes 40px */
    padding-bottom: 60px;
}

/* Pastilla pegada a la derecha, sin bordes redondos a la derecha */
.meta-card {
  max-width: 1180px;
  margin: 0 0 0 auto;          /* 👈 pegado a la derecha */
  border-radius: 140px 0 0 140px; /* 👈 súper redondo a la izquierda, 0 en derecha */
  position: relative;
  overflow: hidden;
  padding: 30px 50px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  background: transparent;
}

/* Fondo: imagen + overlay rojo, usando <img> */
.meta-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.meta-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center; /* 👈 la imagen se “pega” hacia la derecha */
  display: block;
}

.meta-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(195, 47, 53, 0.78); /* filtro rojito */
}

.hero__title_meta{
  font-family: "Nunito BAMX", system-ui, sans-serif;
  font-size: 30px;
}

/* Contenido encima del fondo */
.meta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
}

.meta-icon img {
  width: 120px;
  height: auto;
}

.meta-text {
  color: #ffffff;
}

.meta-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 10px;
}

.meta-sub {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.meta-label {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

/* BARRA (tu código actual funciona, solo lo dejo por si no lo tienes) */
.meta-progress__track {
  width: 100%;
  height: 18px;
  background: #e7e7e7;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.meta-progress__fill {
  height: 100%;
  width: 55%;                 /* 55% del 100% */
  background: #eeaa3d;
  border-radius: 999px;
  position: relative;
  display: flex;
  align-items: center;
}

.meta-progress__amount {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.meta-progress__percent {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: #d88f29;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

/* Responsive básico */
@media (max-width: 900px) {
  .meta-card {
    border-radius: 70px 0 0 70px;
    padding: 24px 22px;
  }

  .meta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .meta-icon img {
    width: 90px;
  }

  .meta-title {
    font-size: 24px;
  }

  .meta-sub {
    font-size: 16px;
  }
}

/* ============ SECCIÓN KIT: ELIGE TU IMPACTO ============ */

.section--kit {
  padding: 60px 0 80px; /* un poco ajustado para no dejar tanto hueco */
}

/* Header de la sección (título + texto derecha) */
.kit-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 16px;
}

/* Bloque del título grande */
.kit-title-block {
  max-width: 520px;
}

.kit-title {
  margin: 0 0 10px;
  font-family: "Nunito BAMX", system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.25;
  color: #404549;
}

.kit-title__line {
  position: relative;
  display: inline-block;
  padding-bottom: 6px; /* Distancia más pequeña con el texto */
}

.kit-title__line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(0%);
  width: 340px;        /* ⟵ Igual al tamaño de la original */
  height: 6px;         /* ⟵ Grueso original */
  border-radius: 999px;
  background-color: var(--color-rojo);
}

/* Texto que va a la derecha del título */
.kit-header__text {
  margin: 6px 0 0;
  max-width: 540px;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Subtítulo centrado abajo del header */
.kit-subtitle {
  text-align: center;
  margin: 30px auto 32px;
  font-size: 1.3rem;
}

/* Tarjeta roja del kit */
.kit-card {
  background-color: #cf4848;
  color: #ffffff;
  border-radius: 60px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: center;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

/* Columnas internas */
.kit-card__col {
  position: relative;
}

/* Columna imagen */
.kit-card__col--image {
  text-align: center;
}

.kit-card__img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 22px;
}

/* Texto blanco debajo de la imagen */
.kit-card__claim {
  font-family: "Nunito BAMX", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 18px;
}

/* Botón dentro de la tarjeta */
.kit-card__btn {
  margin-top: 4px;
}

/* Columna texto derecha */
.kit-card__title {
  font-family: "Nunito BAMX", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0 0 10px;
}

.kit-card__divider {
  width: 220px;
  height: 4px;
  background-image: linear-gradient(
    to right,
    #ffffff 0,
    #ffffff 40%,
    transparent 40%,
    transparent 60%
  );
  background-size: 12px 4px;
  margin: 10px 0 18px;
}

.kit-card__col--text p {
  margin: 0 0 10px;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Botón amarillo de esta sección */
.btn.btn--yellow {
  background-color: #eeaa3d;
  color: #ffffff;
  border-radius: 999px;
  border: 2px solid #eeaa3d;
  padding-inline: 28px;
  font-size: 0.95rem;
}

.btn.btn--yellow:hover {
  background-color: #ffffff;
  color: #eeaa3d;
  border-color: #eeaa3d;
}

/* ============ RESPONSIVE KIT ============ */
@media (max-width: 1024px) {
  .kit-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
  }

  .kit-header__text {
    max-width: 100%;
  }

  .kit-card {
    grid-template-columns: 1fr;
    border-radius: 40px;
    gap: 24px;
  }

  .kit-card__col--image {
    text-align: center;
    margin-bottom: 0;
  }

  .kit-card__col--text {
    text-align: left;
    padding: 0;
  }
}

/* ===== FIX ÚNICO MÓVIL: SECCIÓN DONAR ===== */
@media (max-width: 640px) {

  /* Menos aire arriba/abajo de la sección */
  .section--donar {
    padding: 24px 0 32px !important;
  }

  /* Cabecera mucho más compacta y limitada de alto */
  .section--donar .donar-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
    max-height: none !important;     /* elimina límite superior */
    overflow: visible !important;     /* permite mostrar texto */
  }

  /* Texto derecho más compacto */
  .section--donar .donar-header__copy {
    font-size: 14px !important;
    line-height: 1.3 !important;
  }

  /* Subtítulo más pegado */
  .section--donar .donar-subtitle {
    margin: 8px auto 16px !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }

  /* Layout más compacto y formulario más bajo */
  .section--donar .donar-layout {
    gap: 16px !important;
  }

  .section--donar .donar-layout__form {
    padding: 14px 8px !important;
  }

  #form-bamx {
    min-height: 620px !important;
  }
}



/* ==================== BENEFICIOS DONANTE ==================== */

.section--beneficios {
  background-color: #f4f4f4;     /* gris clarito de fondo */
  padding: 36px 0 48px;
}

/* Pastilla blanca con bordes súper redondeados */
.beneficios-pill {
  background-color: #ffffff;
  border-radius: 120px;
  padding: 28px 64px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Cada beneficio */
.beneficio {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 0;
  min-width: 0; /* para que no rompa el flex en pantallas medianas */
}

/* Iconos */
.beneficio__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

/* Texto */
.beneficio__text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--color-gris-texto);
  font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .beneficios-pill {
    padding: 24px 32px;
    border-radius: 80px;
    flex-wrap: wrap;
    row-gap: 24px;
  }

  .beneficio {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .section--beneficios {
    padding: 28px 0 40px;
  }

  .beneficios-pill {
    border-radius: 32px;
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .beneficio {
    flex: 1 1 100%;
  }

  .beneficio__text {
    font-size: 0.95rem;
  }
}

/* ====== SECCIÓN DONATIVO ÚNICO O MENSUAL ====== */

.section--donativo {
  background: #f4f4f4;      /* gris clarito del fondo */
  padding: 60px 0;
}

/* Reutilizamos la tipografía general de títulos, solo centramos */
.section--donativo .section-title {
  text-align: center;
  margin-bottom: 32px;
}

/* Línea rojita debajo del título */
.donativo-underline {
  width: 120px;            /* mismo ancho que los títulos anteriores */
  height: 4px;
  background: #c52f35;     /* rojo BAMX */
  margin: 12px auto 40px;  /* centrada + separación correcta */
  border-radius: 10px;
}


/* Layout principal */
.donativo-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 32px;
}

/* Tarjetas laterales */
.donativo-col {
  flex: 1;
  display: flex;
}

.donativo-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

/* Cabecera verde (bordes superiores curveados) */
.donativo-card-header {
  background: #2f9740;      /* verde BAMX aproximado */
  color: #ffffff;
  padding: 16px 24px;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 28px 28px 0 0;
}

/* Cuerpo del texto */
.donativo-card-body {
  padding: 24px 32px 28px;
}

.donativo-card-body p {
  margin: 0 0 14px;
  line-height: 1.6;
}

/* Imagen central */
.donativo-image {
  flex: 0 0 30%;              /* más estrecha que antes */
  max-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donativo-image img {
  width: 100%;
  height: auto;
  max-height: 470px;          /* evita que se haga gigantesca */
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
  display: block;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 960px) {
  .section--donativo {
    padding: 48px 0;
  }

  .donativo-inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .donativo-col {
    width: 100%;
    max-width: 480px;
  }

  .donativo-card {
    border-radius: 24px;
  }

  .donativo-card-header {
    border-radius: 24px 24px 0 0;
  }

  .donativo-card-body {
    padding: 20px 22px 24px;
  }

  .donativo-image {
    order: 2;                /* Imagen al centro entre las dos tarjetas */
    max-width: 360px;
    width: 100%;
  }

  /* Orden: Único (1) / Imagen (2) / Mensual (3) */
  .donativo-col:first-child {
    order: 1;
  }

  .donativo-col:last-child {
    order: 3;
  }
}

@media (max-width: 600px) {
  .donativo-card-body p {
    margin-bottom: 10px;
  }

  .donativo-image img {
    max-height: 380px;
  }
}

/* ========== SECCIÓN MAPA BAMX ========== */

.section--mapa {
  padding: 0;
  background-color: #ffffff;
}

/* Fondo gris con ondas arriba y abajo */
.mapa-wave {
  position: relative;
  background-color: #f3f3f3;
  padding: 70px 0 80px;
  overflow: hidden;
}

/* Onditas con SVG embebido (no necesitas archivo extra) */
.mapa-wave::before,
.mapa-wave::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,64L48,58.7C96,53,192,43,288,37.3C384,32,480,32,576,32C672,32,768,32,864,42.7C960,53,1056,75,1152,74.7C1248,75,1344,53,1392,42.7L1440,32L1440,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
  z-index: 0;
}

.mapa-wave::before {
  top: -1px;
}

.mapa-wave::after {
  bottom: -1px;
  transform: scaleY(-1);
}

.mapa-inner {
  position: relative;
  z-index: 1; /* por encima de las ondas */
}

/* Título y rayita roja igual que el resto de secciones */
.mapa-header {
  max-width: 3000px;
  margin-bottom: 32px;
}

.section--mapa .section-title {
  font-family: "Nunito BAMX", system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1.25;
  color: var(--color-gris-texto);
  margin: 0;
  text-align: left;
}

.section--mapa .section-title__underline {
  display: block;
  width: 180px;
  height: 4px;
  background-color: var(--color-rojo);
  margin-top: 12px;
}

/* Contenido principal */
.mapa-body {
  position: relative;
  margin-top: 24px;
}

.mapa-img {
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: 0 auto;
}

/* Indicadores 60 / 30 sobre el mapa */
.mapa-kpis {
  position: absolute;
  left: 7%;
  bottom: 8%;
  display: flex;
  gap: 60px;
  align-items: flex-end;
}

.mapa-kpi__num {
  display: block;
  font-family: "Nunito BAMX", sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1;
}

.mapa-kpi:nth-child(1) .mapa-kpi__num {
  color: #eeaa3d; /* naranja BAMX */
}

.mapa-kpi:nth-child(2) .mapa-kpi__num {
  color: #3ba63a; /* verde BAMX */
}

.mapa-kpi__text {
  display: block;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--color-gris-texto);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 960px) {
  .mapa-wave {
    padding: 54px 0 64px;
  }

  .mapa-header {
    max-width: none;
    text-align: center;
  }

  .section--mapa .section-title {
    text-align: center;
    font-size: 1.8rem;
  }

  .section--mapa .section-title__underline {
    margin-left: auto;
    margin-right: auto;
    width: 160px;
  }

  .mapa-body {
    margin-top: 20px;
  }

  .mapa-kpis {
    position: static;
    margin-top: 16px;
    justify-content: center;
    gap: 40px;
  }

  .mapa-kpi {
    text-align: center;
  }

  .mapa-kpi__num {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .mapa-wave {
    padding: 42px 0 52px;
  }

  .section--mapa .section-title {
    font-size: 1.5rem;
  }

  .mapa-kpis {
    flex-direction: row;
    gap: 28px;
  }

  .mapa-kpi__num {
    font-size: 1.6rem;
  }

  .mapa-kpi__text {
    font-size: 0.75rem;
  }
}

/* ============ HISTORIAS REALES ============ */

.section--stories {
  padding: 60px 0 80px;
  background-color: #ffffff;
}

.stories-header {
  text-align: center;
  margin-bottom: 40px;
}

.stories-title {
  margin: 0;
  font-family: "Nunito BAMX", system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1.25;
  color: var(--color-gris);
}

.stories-title__line {
  width: 140px;
  height: 4px;
  margin: 14px auto 0;
  background-color: var(--color-rojo);
  border-radius: 999px;
}

/* grid de videos */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* tarjeta de video */
.story-video {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000;
  box-shadow: var(--shadow-soft);
  /* parecido a los videos verticales de la original */
  aspect-ratio: 9 / 16;
}

/* iframe responsivo ocupando toda la tarjeta */
.story-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

@media (max-width: 720px) {
  .section--stories {
    padding: 40px 0 60px;
  }

  .stories-title {
    font-size: 1.8rem;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ─────────────────────────────── */
/*  SECCIÓN ROJA “EL HAMBRE NO ESPERA” */
/* ─────────────────────────────── */

.impacto-rojo {
  background: #c52d35;         /* rojo BAMX */
  padding: 80px 0;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* texto igual que el resto */
}

.impacto-rojo__wrapper {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 60px;
}

/* TÍTULO – misma tipografía que los otros h2 grandes */
.impacto-title {
  font-family: "Nunito BAMX", system-ui, sans-serif;
  font-weight: 500;
  font-size: 34px;                         /* tamaño similar a los otros */
  line-height: 1.3;
  margin: 0 0 20px;
  color: #ffffff;
}

/* SUBTÍTULO + LÍNEA AMARILLA */
.impacto-sub {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 28px;
  position: relative;
  padding-bottom: 14px;                    /* espacio para la línea */
}

.impacto-sub::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 140px;
  height: 4px;
  background: #f7c948;                     /* línea amarilla */
  border-radius: 999px;
}

/* LISTA */
.impacto-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.impacto-lista li {
  font-size: 17px;
  margin-bottom: 9px;
  line-height: 1.5;
  position: relative;
  padding-left: 18px;
}

.impacto-lista li::before {
  content: "•";
  color: #ffffff;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 0;
}

/* IMAGEN */
.impacto-rojo__imagen img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

/* ─────────────────────────────── */
/* RESPONSIVE */
/* ─────────────────────────────── */

@media (max-width: 900px) {
  .impacto-rojo {
    padding: 60px 0;
  }

  .impacto-rojo__wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .impacto-title {
    font-size: 26px;
  }

  .impacto-sub {
    font-size: 18px;
  }

  .impacto-sub::after {
    left: 50%;
    transform: translateX(-50%);  /* línea amarilla centrada en móvil */
  }

  .impacto-lista {
    text-align: left;
  }
}

/* ===========================
   SECCIÓN DONAR ONLINE
   =========================== */

.section--donar {
  padding: 80px 0 90px;
  background-color: #ffffff;
  font-family: "Nunito BAMX", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.donar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.donar-header__left {
  flex: 0 0 auto;
}

.donar-title {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 800;
  color: #414042;
  margin: 0 0 10px;
}

.donar-title__underline {
  display: block;
  width: 180px;
  height: 4px;
  border-radius: 1500px;
  background-color: #d03733;
}

.donar-header__copy {
  margin: 6px 0 0;
  font-size: 20px;
  line-height: 1.6;
  color: #414042;
}

.donar-header__copy p {
    font-family: "Open Sans", sans-serif;
    font-weight: 400; /* o el peso que quieras */
    font-size: 17px;
    line-height: 1.6;
    color: #414042;
}


/* Subtítulo centrado bajo el header */
.donar-subtitle {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: #414042;
}



/* Layout de imagen + formulario */
.donar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: flex-start;
}

.donar-image {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.donar-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Columna formulario */
.donar-form {
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .donar-title {
    font-size: 30px;
  }

  .donar-subtitle {
    margin-top: 32px;
    margin-bottom: 28px;
    font-size: 18px;
  }

  .donar-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .donar-image {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section--donar {
    padding: 60px 0 70px;
  }

  .donar-header__title {
    margin: 0;
    padding: 0px;
  }
    

  .donar-header {
    flex-direction: column;
    gap: 18px;
  }

  .donar-title {
    font-size: 26px;
  }

  .donar-title__underline {
    width: 140px;
  }

  .donar-header__copy {
    font-size: 15px;
    padding: 1px;
  }

  .donar-subtitle {
    font-size: 17px;
    margin-top: 26px;
    margin-bottom: 22px;
  }

  .donar-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .donar-title {
    font-size: 24px;
  }

  .donar-subtitle {
    font-size: 16px;
  }
}

/* ===========================
   SECCIÓN DONAR MENSUAL
   =========================== */

.section--donar {
  padding: 80px 0 100px;
  background: #ffffff;
  font-family: "Nunito BAMX", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.donar-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cabecera título + texto */

.donar-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.donar-header__title {
  flex: 1 1 320px;
}

.donar-header__copy {
  flex: 1 1 320px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: #555a5f;
}

.donar-title {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 42px;
  line-height: 1.15;
  color: #414547;
}

.donar-title__underline {
  display: block;
  width: 190px;
  height: 4px;
  background: #d64541; /* rojo BAMX */
}

/* Subtítulo centrado */

.donar-subtitle {
  margin: 10px auto 40px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  color: #414547;
}

/* Layout foto + formulario */

.donar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: flex-start;
}

.donar-layout__image img {
  width: 100%;
  display: block;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

/* Tarjeta que envuelve el formulario */
.donar-layout__form {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: visible;
}

/* Iframe Donar Online visible sí o sí */
#form-bamx {
  width: 100% !important;
  min-height: 800px !important;
  border: 0;
  display: block;
  overflow: visible !important;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 992px) {
  .donar-title {
    font-size: 32px;
  }

  .donar-header {
    flex-direction: column;
  }

  .donar-header__copy {
    max-width: 100%;
  }

  .donar-layout {
    grid-template-columns: 1fr;
  }

  .donar-layout__image {
    max-width: 520px;
    margin: 0 auto;
  }

  .donar-layout__form {
    margin-top: 24px;
    padding: 20px 16px;
  }

  #form-bamx {
    min-height: 800px !important;
  }
}

@media (max-width: 600px) {
  .donar-container {
    padding: 0 16px;
  }

  .donar-title {
    font-size: 26px;
  }

  .donar-title__underline {
    width: 150px;
  }

  .donar-subtitle {
    font-size: 17px;
  }

  .donar-layout__form {
    padding: 16px 10px;
    border-radius: 18px;
  }

  #form-bamx {
    min-height: 950px !important;
  }
}

/* ===== FAQ ===== */

.faq {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.faq-header {
  margin-bottom: 2rem;
}

.faq-title {
  /* Deja que herede tu tipografía de títulos */
  font-family: "Nunito BAMX";
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.faq-underline {
  display: inline-block;
  width: 80px;
  height: 3px;
  background-color: #e53935; /* tu rayita roja */
}

/* GRID 2 COLUMNAS EN ESCRITORIO */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
}

/* Una columna en móvil */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
}

/* Botón de la pregunta */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

/* Número (lo coloreamos con nth-child abajo) */
.faq-number {
  font-weight: 800;
  min-width: 3.5rem;
  font-size: 1rem; /* AUMENTA EL TAMAÑO */
}

/* Texto pregunta */
.faq-question-text {
  font-family: "Open Sans", sans-serif;
  flex: 1;
  font-weight: 600;
  font-size: 1rem; /* AUMENTA EL TAMAÑO */
  color: #282727; /* GRIS MEDIO */
}

/* Icono + / - */
.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

/* Respuesta (colapsable con max-height) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0 0 0.75rem;
  font-weight: 400;
  font-size: 1rem; /* Tamaño más grande */
  color: #3f3e3e; /* Gris más suave que el negro */
}

/* Estado abierto */
.faq-item.is-open .faq-answer {
  /* Se ajusta por JS con scrollHeight, pero esto ayuda a la animación */
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg); /* de + a x */
}

/* ===== Colores diferentes para los números sin romper armonía ===== */
/* Izquierda */
.faq-column:first-child .faq-item:nth-child(1) .faq-number { color: #f4511e; } /* naranja */
.faq-column:first-child .faq-item:nth-child(2) .faq-number { color: #43a047; } /* verde */
.faq-column:first-child .faq-item:nth-child(3) .faq-number { color: #fb8c00; }
.faq-column:first-child .faq-item:nth-child(4) .faq-number { color: #8e24aa; }
.faq-column:first-child .faq-item:nth-child(5) .faq-number { color: #039be5; }
.faq-column:first-child .faq-item:nth-child(6) .faq-number { color: #6d4c41; }
.faq-column:first-child .faq-item:nth-child(7) .faq-number { color: #c0ca33; }
.faq-column:first-child .faq-item:nth-child(8) .faq-number { color: #e53935; }

/* Derecha (ajusta según cuántas tengas) */
.faq-column:last-child .faq-item:nth-child(1) .faq-number { color: #f4511e; }
.faq-column:last-child .faq-item:nth-child(2) .faq-number { color: #43a047; }
.faq-column:last-child .faq-item:nth-child(3) .faq-number { color: #fb8c00; }
.faq-column:last-child .faq-item:nth-child(4) .faq-number { color: #8e24aa; }
.faq-column:last-child .faq-item:nth-child(5) .faq-number { color: #039be5; }
.faq-column:last-child .faq-item:nth-child(6) .faq-number { color: #6d4c41; }
.faq-column:last-child .faq-item:nth-child(7) .faq-number { color: #c0ca33; }

/* ============== FOOTER RED BAMX ============== */

.bamx-footer {
  background-color: #565a5c;  /* gris oscuro */
  color: #ffffff;
}

.bamx-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* TÍTULO GENERAL */
.bamx-footer-title {
  font-family: "Nunito BAMX", sans-serif;
  font-weight: 900;
  font-size: 1.9rem;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
}

/* CONTENEDOR DE COLUMNAS */
.bamx-footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.footer-col {
  flex: 1;
}

/* Columna izquierda */
.footer-col-brand {
  max-width: 290px;
}

.footer-logo {
  display: block;
  max-width: 130px;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: none;
  color: #ffffff;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Oficinas */
.footer-office-title {
  font-family: "Nunito BAMX", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: capitalize;
  margin: 0 0 1rem;
}

.footer-office-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.footer-office-text {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
}

.footer-office-phone {
  text-decoration: none;
  color: #ffffff;
}

.footer-office-phone:hover {
  text-decoration: underline;
}

/* Iconos como imágenes dentro de círculo */
.footer-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f6a623; /* naranja */
  padding: 5px;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
  .bamx-footer-inner {
    padding: 2.5rem 1.5rem;
  }

  .bamx-footer-columns {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 2rem;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col-brand {
    max-width: none;
  }

  .footer-links {
    align-items: left;
  }

  .footer-office-row {
    justify-content: left
  }
}


/* =========================
   FIX: eliminar espacio arriba
   ========================= */
body.page-agradecimiento {
  margin: 0;
  padding: 0;
}

body.page-agradecimiento main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================
   HERO AGRADECIMIENTO
   ========================= */
.thankyou-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 0;
  background-image: url("../img/img-01-1_11zon-scaled.webp"); /* CAMBIA LA IMAGEN */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.thankyou-panel {
  margin-left: auto;
  margin-right: 5%;
  max-width: 650px;
  padding: 2.5rem 3rem;
  background: rgba(153, 0, 0, 0.88);
  color: #fff;
}

.thankyou-title {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 800;
  color: #fecf3c;
}

.thankyou-intro,
.thankyou-text {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.thankyou-text {
  margin-bottom: 2rem;
}

.thankyou-banner {
  max-width: 100%;
  display: block;
}

/* =========================
   RESPONSIVO
   ========================= */
@media (max-width: 900px) {
  .thankyou-panel {
    max-width: 75%;
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .thankyou-hero {
    justify-content: center;
  }

  .thankyou-panel {
    margin: 2rem;
    max-width: 100%;
  }

  .thankyou-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .thankyou-panel {
    margin: 1.2rem;
    padding: 1.5rem;
  }

  .thankyou-title {
    font-size: 1.4rem;
  }
}

.section--datos,
.section-causas,
.motor,
.meta-section,
.section-aliados,
.section--stories {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
