/* =========================================================
   FUNDACIÓN PROMUNDIS
   HOJA DE ESTILOS PRINCIPAL
   Versión limpia y responsive
   ========================================================= */

@font-face {
  font-family: 'FredokaLocal';
  src: url('../font/Fredoka-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'FredokaLocal';
  src: url('../font/Fredoka-Medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'FredokaLocal';
  src: url('../font/Fredoka-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'FredokaLocal';
  src: url('../font/Fredoka-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* =========================================================
   1. VARIABLES DE DISEÑO
   Colores, sombras, bordes y medidas generales
   ========================================================= */

:root {
  --blue: #1A477C;
  --green-dark: #014A38;
  --green: #019956;
  --yellow: #FFC936;

  --ink: #17324D;
  --text: #425466;
  --muted: #6B7B8C;

  --light: #F5FAF8;
  --light-blue: #F2F7FC;
  --white: #FFFFFF;

  --border: #DCE7E2;

  --shadow: 0 12px 35px rgba(16, 53, 79, 0.10);

  --radius: 18px;
}


/* =========================================================
   2. CONFIGURACIÓN GLOBAL
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;

  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: #FFFFFF;

  line-height: 1.7;
}


/* =========================================================
   3. TIPOGRAFÍAS
   ========================================================= */

/*
   Montserrat:
   títulos, navegación, botones y elementos destacados.
*/

h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.btn,
.eyebrow,
.topbar,
.brand-title,
.kicker,
.team-table th,
.form-card label,
.faq summary {
  font-family: "Montserrat", Arial, sans-serif;
}


/*
   Fredoka:
   clase especial para textos de marca PROMUNDIS.
*/

.font-promundis {
  font-family: 'FredokaLocal', 'Fredoka', 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 600;
}


/* =========================================================
   4. TÍTULOS Y ELEMENTOS GENERALES
   ========================================================= */

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin-top: 0;
}

a {
  color: var(--blue);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* =========================================================
   5. CONTENEDOR PRINCIPAL
   ========================================================= */

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}


/* =========================================================
   6. ACCESIBILIDAD
   ========================================================= */

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
}

.skip:focus {
  left: 10px;
  z-index: 9999;

  background: #FFFFFF;
  padding: 10px 14px;
  border-radius: 8px;
}


/* =========================================================
   7. BARRA SUPERIOR
   ========================================================= */

.topbar {
  background: var(--green-dark);
  color: #FFFFFF;
  font-size: 0.82rem;
}

.topbar .container {
  min-height: 38px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;
}

.topbar-right {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}


/* =========================================================
   8. CABECERA / MENÚ
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--border);
}

.navbar-wrap {
  min-height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}


/* =========================================================
   9. MARCA / LOGO
   ========================================================= */

.brand {
  display: flex;
  align-items: center;

  gap: 12px;

  text-decoration: none;
  color: var(--ink);

  min-width: 0;
}

.brand img {
  width: 64px;
  height: 64px;

  object-fit: contain;
  flex: 0 0 64px;
}

.brand-copy {
  display: flex;
  flex-direction: column;

  line-height: 1.15;
  min-width: 0;
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--muted);

  max-width: 320px;
  margin-top: 4px;
}


/* =========================================================
   10. BOTÓN DEL MENÚ MÓVIL
   ========================================================= */

.nav-toggle {
  display: none;

  border: 1px solid var(--border);
  background: #FFFFFF;

  border-radius: 10px;

  padding: 9px 12px;

  font-weight: 700;
  font-family: "Montserrat", Arial, sans-serif;

  color: var(--green-dark);

  cursor: pointer;
}


/* =========================================================
   11. NAVEGACIÓN
   ========================================================= */

.main-nav {
  display: flex;
  align-items: center;

  gap: 5px;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;

  padding: 10px 11px;

  border-radius: 9px;

  font-size: 0.86rem;
  font-weight: 600;

  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: #EAF5EF;
  color: var(--green-dark);
}


/* Botón DONAR del menú */

.nav-donate {
  background: var(--green) !important;
  color: #FFFFFF !important;

  padding: 11px 15px !important;

  margin-left: 6px;
}


/* =========================================================
   12. HERO PRINCIPAL
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  background: linear-gradient(115deg,
      #F1F9F6 0%,
      #FFFFFF 58%);
}

.hero-grid {
  display: grid;

  grid-template-columns: 1.02fr 0.98fr;

  align-items: center;

  gap: 46px;

  padding: 58px 0 66px;
}

.hero h1 {
  margin: 12px 0 20px;
}

.hero .lead {
  font-size: 1.08rem;
  max-width: 680px;
}


/* =========================================================
   13. ETIQUETA / EYEBROW
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  color: var(--green-dark);

  background: #E6F5ED;

  border: 1px solid #C7E7D7;

  padding: 7px 12px;

  border-radius: 999px;

  font-size: 0.75rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* =========================================================
   14. BOTONES
   ========================================================= */

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  margin-top: 25px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  border-radius: 10px;

  padding: 12px 16px;

  font-weight: 600;

  text-decoration: none;

  border: 1px solid transparent;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: #017F48;
  color: #FFFFFF;
}

.btn-blue {
  background: var(--blue);
  color: #FFFFFF;
}

.btn-yellow {
  background-color: var(--yellow) !important;
  color: #17324D !important;
  border: 1px solid var(--yellow) !important;
  text-decoration: none !important;
}

.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:focus-visible,
.btn-yellow:active,
.btn-yellow:visited {
  background-color: var(--yellow) !important;
  color: #17324D !important;
  border-color: var(--yellow) !important;
  text-decoration: none !important;
}

.btn-outline {
  background: #FFFFFF;
  color: var(--blue);
  border-color: #B8C9D8;
}


/* =========================================================
   15. IMAGEN PRINCIPAL DEL HOME
   ========================================================= */

/*
   IMPORTANTE:

   La fotografía hero contiene texto incorporado dentro
   de la propia imagen.

   Por eso en escritorio usamos "cover", pero en tablet
   y móvil cambiamos a "contain" para NO cortar partes
   de la fotografía ni el texto que viene dentro de ella.
*/

.hero-media {
  position: relative;
  width: 100%;
  min-width: 0;
}

.hero-media img {
  display: block;

  width: 100%;
  height: 430px;

  object-fit: cover;
  object-position: center center;

  border-radius: 24px;

  box-shadow: var(--shadow);
}


/* =========================================================
   16. RECUADRO SOBRE LA IMAGEN HERO
   ========================================================= */

.hero-badge {
  position: absolute;

  left: 22px;
  bottom: 22px;

  background: #FFFFFF;

  padding: 16px 18px;

  border-radius: 14px;

  box-shadow: var(--shadow);

  max-width: 300px;
}

.hero-badge strong {
  display: block;

  font-family: "Montserrat", Arial, sans-serif;

  color: var(--green-dark);
}

.hero-badge span {
  display: block;
}


/* =========================================================
   17. SECCIONES
   ========================================================= */

.section {
  padding: 76px 0;
}

.section-sm {
  padding: 48px 0;
}

.section.alt {
  background: var(--light);
}

.section.blue {
  background: var(--blue);
  color: #FFFFFF;
}

.section.blue h2,
.section.blue h3 {
  color: #FFFFFF;
}


/* =========================================================
   18. CABECERA DE SECCIÓN
   ========================================================= */

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.kicker {
  color: var(--green);

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 12px;
}


/* =========================================================
   19. SISTEMA DE GRILLAS
   ========================================================= */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}


/* =========================================================
   20. TARJETAS
   ========================================================= */

.card {
  background: #FFFFFF;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  padding: 26px;

  box-shadow: 0 8px 24px rgba(16, 53, 79, 0.05);
}

.card-media {
  overflow: hidden;

  border-radius: 14px;

  margin: -8px -8px 20px;
}

.card-media img {
  width: 100%;
  height: 190px;

  object-fit: cover;

  display: block;
}

.feature-title {
  margin: 0 0 8px;
}


/* =========================================================
   21. ICONOS
   ========================================================= */

.icon-circle {
  width: 50px;
  height: 50px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: #E7F5EE;
  color: var(--green-dark);

  font-size: 1.35rem;

  margin-bottom: 15px;
}


/* =========================================================
   22. ESTADÍSTICAS
   ========================================================= */

.stat-strip {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;

  margin-top: 30px;
}

.stat {
  background: #FFFFFF;

  border: 1px solid var(--border);

  border-radius: 14px;

  padding: 16px;
}

.stat strong {
  display: block;

  font-family: "Montserrat", Arial, sans-serif;

  color: var(--blue);

  font-size: 1rem;

  margin-bottom: 2px;
}

.stat span {
  font-size: 0.9rem;
}


/* =========================================================
   23. LISTAS CON CHECK
   ========================================================= */

.list-check {
  list-style: none;

  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;

  padding-left: 30px;

  margin: 11px 0;
}

.list-check li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--green);

  font-weight: 700;
}


/* =========================================================
   24. IMÁGENES INTERNAS
   ========================================================= */

.image-panel img {
  width: 100%;
  height: 100%;

  min-height: 330px;

  object-fit: cover;

  border-radius: 20px;
}


/* =========================================================
   25. SECCIONES DIVIDIDAS
   ========================================================= */

.split {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 46px;

  align-items: center;
}


/* =========================================================
   26. BLOQUES DESTACADOS
   ========================================================= */

.callout {
  background: linear-gradient(135deg,
      var(--green-dark),
      var(--green));

  color: #FFFFFF;

  border-radius: 22px;

  padding: 36px;
}

.callout h2,
.callout h3 {
  color: #FFFFFF;
}

.callout .btn {
  background: #FFFFFF;
  color: var(--green-dark);
}


/* =========================================================
   27. BANNERS
   ========================================================= */

.banner {
  position: relative;

  display: flex;
  align-items: flex-start;

  min-height: 392px;

  padding: 19px;

  border-radius: 24px;

  overflow: hidden;
}

.banner-home img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.banner-content {
  position: relative;

  z-index: 1;

  color: #FFFFFF;

  padding: 5px;

  max-width: 650px;
}

.banner-home .banner-content {
  padding-top: 16px;
}

.banner-navidad {
  align-items: flex-start;
}

.banner-navidad .banner-content {
  padding-top: 100px;
}

.banner-content h2 {
  color: #FFFFFF;
  margin-bottom: 10px;
}

.banner-content p {
  color: #FFFFFF;
}


/* =========================================================
   28. BANNER DE NAVIDAD
   ========================================================= */

/*
   En pantallas grandes conserva la composición original.

   En tablet y móvil se muestra la fotografía completa.
   El botón pasa debajo de la fotografía.
*/

@media (max-width: 1199px) {

  .banner.banner-navidad {
    display: block;

    min-height: 0;

    padding: 0;

    overflow: visible;

    background: transparent;
  }

  .banner.banner-navidad img {
    position: relative;

    inset: auto;

    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;
    object-position: center;

    border-radius: 18px;
  }

  .banner.banner-navidad .banner-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: none;

    padding: 16px 0 0;

    color: inherit;

    display: flex;

    justify-content: center;
  }

  .banner.banner-navidad .btn-banner-navidad {
    position: relative;

    display: inline-flex;

    width: auto;
    min-width: 220px;

    margin: 0 auto;
  }

  .banner.banner-navidad::after {
    display: none;
  }
}


/* =========================================================
   29. HERO HOME — TABLET Y MÓVIL
   ========================================================= */

/*
   Esta es una de las correcciones IMPORTANTES.

   La imagen contiene texto dentro de la fotografía.

   NO debemos utilizar:

       aspect-ratio: 4 / 3
       object-fit: cover

   porque eso puede cortar información.

   En tablet y móvil dejamos que la imagen determine
   automáticamente su altura.
*/

@media (max-width: 1199px) {

  .hero-media {
    width: 100%;
    min-width: 0;
  }

  .hero-media img {
    width: 100%;
    height: auto;

    aspect-ratio: auto;

    object-fit: contain;
    object-position: center center;

    display: block;
  }
}


/* =========================================================
   30. BANNER GENERAL EN MÓVIL
   ========================================================= */

@media (max-width: 767px) {

  .banner {
    min-height: 430px;

    border-radius: 18px;

    align-items: flex-end;
  }

  .banner img {
    object-position: center center;
  }

  /*
     Capa oscura para facilitar la lectura del texto.
  */

  .banner::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(180deg,
        rgba(1, 74, 56, 0.03) 5%,
        rgba(1, 74, 56, 0.12) 35%,
        rgba(1, 74, 56, 0.88) 100%);

    z-index: 0;
  }

  .banner-content {
    position: relative;

    z-index: 1;

    width: 100%;
    max-width: none;

    padding: 24px 20px;
  }

  .banner-content .btn {
    width: 100%;
  }
}


/* =========================================================
   31. HERO BADGE EN MÓVIL
   ========================================================= */

/*
   En móvil el recuadro deja de estar encima de la foto.

   Esto evita que tape rostros o información importante.

   NOTA:
   La fotografía hero ya contiene parte del mensaje.
*/

@media (max-width: 767px) {

  .hero-badge {
    position: relative;

    left: auto;
    right: auto;
    bottom: auto;

    width: calc(100% - 24px);
    max-width: none;

    margin: -18px 12px 0;

    padding: 15px 16px;

    box-sizing: border-box;

    border-radius: 12px;
  }

  .hero-badge strong {
    display: block;

    font-size: 0.86rem;

    line-height: 1.35;
  }

  .hero-badge span {
    display: block;

    margin-top: 5px;

    font-size: 0.82rem;

    line-height: 1.45;
  }
}


/* =========================================================
   32. HERO MÓVIL
   ========================================================= */

@media (max-width: 767px) {

  .hero-grid {
    padding: 34px 0 44px;

    gap: 28px;
  }

  .hero h1 {
    margin: 12px 0 16px;
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .eyebrow {
    font-size: 0.67rem;

    padding: 6px 10px;

    max-width: 100%;
  }
}


/* =========================================================
   33. HERO MUY PEQUEÑO
   ========================================================= */

@media (max-width: 390px) {

  .hero-grid {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-badge {
    width: calc(100% - 16px);

    margin: -12px 8px 0;

    padding: 12px;
  }

  .hero-badge strong {
    font-size: 0.78rem;
  }

  .hero-badge span {
    font-size: 0.74rem;
  }
}


/* =========================================================
   34. ENCABEZADOS INTERNOS / PAGE HERO
   ========================================================= */

.page-hero {
  background: linear-gradient(110deg,
      #EFF8F5,
      #F3F8FC);

  padding: 58px 0 45px;
}

.breadcrumb {
  font-size: 0.85rem;

  color: var(--muted);

  margin-bottom: 14px;
}

.prose {
  max-width: 900px;
}

.prose h2 {
  margin-top: 36px;
}

.prose h3 {
  margin-top: 26px;
}

.prose ul {
  padding-left: 20px;
}


/* =========================================================
   35. CITA / QUOTE
   ========================================================= */

.quote {
  border-left: 5px solid var(--yellow);

  background: #FFF9E9;

  padding: 18px 22px;

  border-radius: 0 14px 14px 0;
}


/* =========================================================
   36. TARJETAS DE ÁREAS
   ========================================================= */

.area-card {
  border-top: 4px solid var(--green);
}

.area-card:nth-child(2n) {
  border-top-color: var(--blue);
}

.area-card:nth-child(3n) {
  border-top-color: var(--yellow);
}


/* =========================================================
   37. TABLA INSTITUCIONAL
   ========================================================= */

/*
   Esta es la tabla normal para escritorio.

   En móvil será transformada mediante el bloque
   responsive que aparece más adelante.
*/

.team-table {
  width: 100%;

  border-collapse: collapse;

  background: #FFFFFF;

  border: 1px solid var(--border);

  border-radius: 14px;

  overflow: hidden;
}

.team-table th,
.team-table td {
  padding: 14px 15px;

  border-bottom: 1px solid var(--border);

  text-align: left;
}

.team-table th {
  background: #F1F7F5;

  font-family: "Montserrat", Arial, sans-serif;

  color: var(--green-dark);
}


/* =========================================================
   38. TABLA BOOTSTRAP — ESCRITORIO
   ========================================================= */

/*
   La página Nosotros utiliza:

       <div class="table-responsive">
           <table class="table ...">

   Estas reglas mantienen el aspecto correcto en escritorio.
*/

.table-responsive {
  width: 100%;
}

.table-responsive .table {
  width: 100%;
}


/* =========================================================
   39. TABLA INSTITUCIONAL — MÓVIL
   ========================================================= */

/*
   ESTA ES LA CORRECCIÓN PRINCIPAL PARA NOSOTROS.

   En lugar de permitir desplazamiento horizontal,
   cada fila se convierte en una tarjeta:

       PRESIDENTE Y REPRESENTANTE LEGAL
       Leonardo Meza Romero

       VICEPRESIDENTA
       Diana Marcela Conejo Torres

   etc.

   Esto evita que el texto quede comprimido.
*/

@media (max-width: 767px) {

  /* Contenedor */
  .table-responsive {
    width: 100% !important;

    overflow: visible !important;

    margin: 0 !important;
  }


  /* Tabla */
  .table-responsive .table {
    width: 100% !important;

    margin: 0 !important;

    table-layout: fixed !important;

    border-collapse: separate !important;

    border-spacing: 0 !important;
  }


  /* Ocultamos los encabezados en móvil */
  .table-responsive .table thead {
    display: none !important;
  }


  /* Cuerpo de tabla */
  .table-responsive .table tbody {
    display: block !important;

    width: 100% !important;
  }


  /* Cada fila se convierte en una tarjeta */
  .table-responsive .table tr {
    display: block !important;

    width: 100% !important;

    margin: 0 0 14px 0 !important;

    padding: 0 !important;

    border: 1px solid var(--border) !important;

    border-radius: 14px !important;

    overflow: hidden !important;

    background: #FFFFFF !important;
  }


  /* Cada celda ocupa una línea completa */
  .table-responsive .table td {
    display: block !important;

    width: 100% !important;

    max-width: 100% !important;

    box-sizing: border-box !important;

    padding: 10px 14px !important;

    text-align: center !important;

    white-space: normal !important;

    overflow: visible !important;

    text-overflow: clip !important;

    overflow-wrap: anywhere !important;

    word-break: normal !important;

    border: 0 !important;
  }


  /*
     PRIMERA CELDA
     = CARGO
  */

  .table-responsive .table td:first-child {
    padding-top: 11px !important;

    padding-bottom: 5px !important;

    background: #F1F7F5 !important;

    color: var(--green-dark) !important;

    font-family: "Montserrat", Arial, sans-serif !important;

    font-weight: 700 !important;

    font-size: 0.84rem !important;

    line-height: 1.35 !important;
  }


  /*
     SEGUNDA CELDA
     = NOMBRE
  */

  .table-responsive .table td:last-child {
    padding-top: 5px !important;

    padding-bottom: 11px !important;

    background: #FFFFFF !important;

    color: var(--ink) !important;

    font-family: "Open Sans", Arial, sans-serif !important;

    font-weight: 600 !important;

    font-size: 0.94rem !important;

    line-height: 1.45 !important;
  }
}


/* =========================================================
   40. TABLA EN CELULARES DE 390 PX O MENOS
   ========================================================= */

@media (max-width: 390px) {

  .table-responsive .table td {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .table-responsive .table td:first-child {
    font-size: 0.82rem !important;
  }

  .table-responsive .table td:last-child {
    font-size: 0.93rem !important;
  }
}


/* =========================================================
   41. CONTACTO
   ========================================================= */

.contact-grid {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 28px;
}

.contact-item {
  display: flex;

  gap: 14px;

  margin: 18px 0;

  min-width: 0;
}

.contact-item .icon-circle {
  flex: 0 0 46px;

  width: 46px;
  height: 46px;

  margin: 0;
}


/* =========================================================
   42. CONTACTO — MÓVIL
   ========================================================= */

@media (max-width: 767px) {

  .contact-grid {
    gap: 18px;
  }

  .contact-item {
    width: 100%;
    min-width: 0;

    align-items: flex-start;
  }

  .contact-item>div:last-child {
    min-width: 0;

    flex: 1 1 auto;

    overflow-wrap: anywhere;

    word-break: break-word;
  }

  .contact-item a {
    display: inline-block;

    max-width: 100%;

    overflow-wrap: anywhere;

    word-break: break-word;
  }
}


/* =========================================================
   43. FORMULARIOS
   ========================================================= */

.form-card label {
  display: block;

  font-size: 0.86rem;

  font-weight: 600;

  color: var(--ink);

  margin-bottom: 6px;
}

.form-control,
.form-select,
textarea {
  width: 100%;

  padding: 12px 13px;

  border: 1px solid #C8D5DE;

  border-radius: 9px;

  font: inherit;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  outline: 3px solid rgba(1, 153, 86, 0.14);

  border-color: var(--green);
}

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}


/* =========================================================
   44. FORMULARIO — MÓVIL
   ========================================================= */

@media (max-width: 767px) {

  .form-card {
    width: 100%;

    min-width: 0;

    box-sizing: border-box;

    padding: 20px !important;

    overflow: hidden;
  }

  .form-card form,
  .form-row,
  .form-group {
    width: 100%;

    min-width: 0;

    box-sizing: border-box;
  }

  .form-row {
    display: grid;

    grid-template-columns: 1fr;

    gap: 0;
  }

  .form-control,
  .form-select,
  textarea {
    width: 100%;

    max-width: 100%;

    min-width: 0;

    box-sizing: border-box;

    font-size: 16px;
  }

  .form-card .btn {
    width: 100%;
  }
}


/* =========================================================
   45. AVISOS / NOTICE
   ========================================================= */

.notice {
  background: #EEF6FC;

  border: 1px solid #CFE1EE;

  border-radius: 14px;

  padding: 16px;
}

.notice.success {
  background: #EAF7F0;

  border-color: #C9E9D7;
}


/* =========================================================
   46. DONACIONES
   ========================================================= */

.donation-card {
  border: 2px solid #D9EAE2;
}

.donation-card .amount {
  font-family: "Montserrat", Arial, sans-serif;

  font-size: 1.6rem;

  color: var(--green-dark);
}


/* =========================================================
   47. PREGUNTAS FRECUENTES
   ========================================================= */

.faq details {
  background: #FFFFFF;

  border: 1px solid var(--border);

  border-radius: 12px;

  padding: 16px 18px;

  margin: 10px 0;
}

.faq summary {
  cursor: pointer;

  font-weight: 600;

  color: var(--ink);
}


/* =========================================================
   48. FOOTER
   ========================================================= */

footer {
  background: #0E2D3B;

  color: #DCE7EA;

  padding: 55px 0 20px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 1.4fr 1fr 1fr;

  gap: 35px;
}

.footer-logo {
  width: 86px;

  background: #FFFFFF;

  padding: 8px;

  border-radius: 12px;

  margin-bottom: 12px;
}

footer h3 {
  color: #FFFFFF;

  font-size: 1rem;

  margin-bottom: 12px;
}

footer a {
  color: #CBEDE0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);

  margin-top: 35px;

  padding-top: 17px;

  font-size: 0.82rem;

  color: #AFC2C8;
}


/* =========================================================
   49. PÁGINA DE MANTENIMIENTO / 404
   ========================================================= */

.maintenance {
  min-height: 72vh;

  display: grid;

  place-items: center;

  text-align: center;

  background: linear-gradient(135deg,
      #F2F8F6,
      #F3F7FB);
}

.maintenance .card {
  max-width: 620px;
}


/* =========================================================
   50. ANIMACIÓN
   ========================================================= */

.fade-up {
  opacity: 0;

  transform: translateY(14px);

  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;

  transform: none;
}


/* =========================================================
   51. TABLET
   1000 PX O MENOS
   ========================================================= */

@media (max-width: 1000px) {

  .topbar .container {
    padding-inline: 4%;
  }


  /* -------------------------
     CABECERA
     ------------------------- */

  .navbar-wrap {
    position: relative;

    min-height: 80px;
  }


  /* -------------------------
     BOTÓN MENÚ
     ------------------------- */

  .nav-toggle {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    min-width: 92px;

    cursor: pointer;
  }


  /* -------------------------
     MENÚ CERRADO
     ------------------------- */

  .main-nav {
    display: none;

    position: absolute;

    top: 80px;

    left: 0;
    right: 0;

    width: 100%;

    max-height: calc(100vh - 80px);

    overflow-y: auto;

    background: #FFFFFF;

    border-bottom: 1px solid var(--border);

    padding: 12px 4% 18px;

    flex-direction: column;

    align-items: stretch;

    gap: 4px;

    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
  }


  /* -------------------------
     MENÚ ABIERTO
     ------------------------- */

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

  .main-nav a {
    display: block;

    width: 100%;

    padding: 12px 14px;

    font-size: 0.95rem;
  }

  .nav-donate {
    margin: 4px 0 0 !important;

    text-align: center;
  }


  /* -------------------------
     HERO Y COLUMNAS
     ------------------------- */

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-media {
    order: 2;
  }


  /*
     La imagen hero se deja automática.
     NO se recorta en tablet.
  */

  .hero-media img {
    height: auto;

    aspect-ratio: auto;

    object-fit: contain;
  }


  /* -------------------------
     GRILLA DE 4
     ------------------------- */

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


/* =========================================================
   52. MÓVIL
   767 PX O MENOS
   ========================================================= */

@media (max-width: 767px) {

  /* -------------------------
     CONTENEDOR
     ------------------------- */

  .container {
    width: min(100% - 28px, 1180px);
  }


  /* -------------------------
     BARRA SUPERIOR
     ------------------------- */

  .topbar {
    font-size: 0.72rem;
  }

  .topbar .container {
    min-height: auto;

    padding-block: 7px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 2px;
  }

  .topbar-right {
    width: 100%;

    display: flex;

    justify-content: flex-start;

    gap: 8px 14px;

    line-height: 1.3;
  }

  .topbar-right span:last-child {
    display: none;
  }


  /* -------------------------
     CABECERA
     ------------------------- */

  .site-header {
    position: sticky;

    top: 0;
  }

  .navbar-wrap {
    min-height: 72px;

    gap: 10px;
  }

  .brand {
    gap: 9px;

    min-width: 0;

    max-width: calc(100% - 104px);
  }

  .brand img {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-title {
    font-size: 0.88rem;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
  }

  .brand-subtitle {
    display: -webkit-box;

    font-size: 0.61rem;

    line-height: 1.25;

    max-width: 210px;

    margin-top: 2px;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
  }


  /* -------------------------
     BOTÓN MENÚ
     ------------------------- */

  .nav-toggle {
    min-width: 86px;

    padding: 9px 10px;

    font-size: 0.8rem;
  }

  .main-nav {
    top: 72px;

    max-height: calc(100vh - 72px);
  }


  /* -------------------------
     TÍTULOS
     ------------------------- */

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);

    line-height: 1.08;

    letter-spacing: -0.025em;

    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.65rem, 7.5vw, 2.25rem);
  }

  h3 {
    font-size: 1.2rem;
  }


  /* -------------------------
     BOTONES
     ------------------------- */

  .actions {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;

    margin-top: 20px;
  }

  .actions .btn,
  .btn {
    width: 100%;

    min-height: 48px;

    padding: 12px 16px;
  }


  /* -------------------------
     SECCIONES
     ------------------------- */

  .section {
    padding: 48px 0;
  }

  .section-sm {
    padding: 32px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }


  /* -------------------------
     GRILLAS
     ------------------------- */

  .grid-3,
  .grid-4,
  .grid-2,
  .stat-strip,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2 {
    gap: 16px;
  }


  /* -------------------------
     TARJETAS
     ------------------------- */

  .card {
    padding: 20px;

    border-radius: 15px;
  }

  .card-media {
    margin: -5px -5px 16px;
  }

  .card-media img {
    height: auto;

    aspect-ratio: 16 / 10;

    object-fit: cover;
  }


  /* -------------------------
     ESTADÍSTICAS
     ------------------------- */

  .stat-strip {
    gap: 10px;

    margin-top: 22px;
  }

  .stat {
    padding: 13px;
  }


  /* -------------------------
     SECCIONES DIVIDIDAS
     ------------------------- */

  .split {
    gap: 26px;
  }


  /* -------------------------
     IMÁGENES INTERNAS
     ------------------------- */

  .image-panel img {
    min-height: 0;

    height: auto;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    border-radius: 16px;
  }


  /* -------------------------
     PAGE HERO
     ------------------------- */

  .page-hero {
    padding: 38px 0 32px;
  }

  .page-hero .lead {
    font-size: 1rem;
  }

  .breadcrumb {
    font-size: 0.78rem;

    overflow-wrap: anywhere;
  }


  /* -------------------------
     FOOTER
     ------------------------- */

  footer {
    padding: 42px 0 18px;
  }

  .footer-grid {
    gap: 26px;
  }

  .footer-logo {
    width: 76px;
  }

  .footer-bottom {
    margin-top: 26px;

    line-height: 1.6;
  }
}


/* =========================================================
   53. NAVIDAD — CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 390px) {

  .banner.banner-navidad img {
    width: 100%;

    height: auto;

    aspect-ratio: auto;

    object-fit: contain;
  }

  .banner.banner-navidad .banner-content {
    padding-top: 14px;
  }

  .banner.banner-navidad .btn-banner-navidad {
    width: 100%;

    min-width: 0;

    max-width: 100%;
  }
}


/* =========================================================
   54. CELULARES MUY PEQUEÑOS
   380 PX O MENOS
   ========================================================= */

@media (max-width: 380px) {

  .container {
    width: min(100% - 22px, 1180px);
  }

  .brand img {
    width: 46px;
    height: 46px;

    flex-basis: 46px;
  }

  .brand-title {
    font-size: 0.8rem;
  }

  .brand-subtitle {
    font-size: 0.56rem;

    max-width: 175px;
  }

  .nav-toggle {
    min-width: 78px;

    font-size: 0.74rem;

    padding: 8px;
  }


  /* Contacto */

  .contact-item {
    gap: 10px;
  }

  .contact-item .icon-circle {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    font-size: 1rem;
  }

  .contact-item>div:last-child {
    font-size: 0.9rem;

    line-height: 1.5;
  }


  /* Tabla */

  .table-responsive .table td {
    padding-left: 10px !important;

    padding-right: 10px !important;
  }

  .table-responsive .table td:first-child {
    font-size: 0.80rem !important;
  }

  .table-responsive .table td:last-child {
    font-size: 0.92rem !important;
  }


  /* Banner */

  .banner {
    min-height: 390px;
  }

  .banner-content {
    padding: 20px 16px;
  }
}


/* =========================================================
   55. ACCESIBILIDAD
   Reduce animaciones si el usuario lo solicita
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;

    transition: none !important;
  }
}




/* =========================================================
   56. AJUSTE FINAL — BOTONES DE LOS BANNERS
   PROMUNDIS
   ---------------------------------------------------------
   BOTONES INDEPENDIENTES:

   HOME:
   .btn-banner-home
   "Conocer la campaña →"

   NAVIDAD:
   .btn-banner-navidad
   "Coordinar donación →"

   IMPORTANTE:
   left = mueve izquierda / derecha
   top  = mueve arriba / abajo
   ========================================================= */


/* =========================================================
   56.1 REGLAS GENERALES DE LOS DOS BOTONES
   ========================================================= */

.banner-home,
.banner-navidad {
  position: relative;
}


/* El botón amarillo conserva siempre su color */
.banner-home .btn-banner-home,
.banner-navidad .btn-banner-navidad {
  background-color: var(--yellow) !important;
  color: #17324D !important;
  border: 1px solid var(--yellow) !important;
  opacity: 1 !important;
  text-decoration: none !important;
}


/* Hover */
.banner-home .btn-banner-home:hover,
.banner-navidad .btn-banner-navidad:hover {
  background-color: var(--yellow) !important;
  color: #17324D !important;
  border-color: var(--yellow) !important;
  text-decoration: none !important;
}


/* Cuando se hace clic */
.banner-home .btn-banner-home:active,
.banner-navidad .btn-banner-navidad:active {
  background-color: var(--yellow) !important;
  color: #17324D !important;
  border-color: var(--yellow) !important;
}


/* Cuando recibe foco */
.banner-home .btn-banner-home:focus,
.banner-home .btn-banner-home:focus-visible,
.banner-navidad .btn-banner-navidad:focus,
.banner-navidad .btn-banner-navidad:focus-visible {
  background-color: var(--yellow) !important;
  color: #17324D !important;
  border-color: var(--yellow) !important;
  outline: 3px solid rgba(255, 201, 54, 0.35);
  outline-offset: 2px;
}


/* =========================================================
   56.2 ESCRITORIO
   1200 PX EN ADELANTE
   ========================================================= */

@media (min-width: 1200px) {

  /* -------------------------------------------------------
     HOME
     ------------------------------------------------------- */

  .banner-home {
    position: relative;
    min-height: 392px;
    overflow: hidden;
  }

  .banner-home>img {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100% !important;

    max-width: 100%;

    object-fit: contain;
    object-position: center center;
  }


  /* Contenedor que ocupa todo el banner */
  .banner-home .banner-content {
    position: absolute;
    inset: 0;
    z-index: 5;

    width: 100%;
    max-width: none;
    height: 100%;

    padding: 0;

    box-sizing: border-box;

    display: block;
  }


  /* Quitamos cualquier posición heredada */
  .banner-home .banner-home-kicker {
    position: static;

    width: auto;

    margin: 0;
    padding: 0;
  }


  /* -------------------------------------------------------
     BOTÓN HOME
     
     ESTE ES EL BOTÓN:
     "Conocer la campaña →"
     
     PARA MOVERLO:
     
     left: 50% = centro
     left: 45% = izquierda
     left: 55% = derecha

     top: 50% = centro
     top: 40% = arriba
     top: 60% = abajo
     ------------------------------------------------------- */

  .banner-home .btn-banner-home {
    position: absolute;

    left: 9%;
    top: 9%;

    right: auto;
    bottom: auto;

    z-index: 10;

    display: inline-flex;

    width: auto;
    min-width: 220px;

    margin: 0;
    padding: 12px 16px;

    transform: none;

    background-color: var(--yellow) !important;
    color: #17324D !important;
    border: 1px solid var(--yellow) !important;

    opacity: 1 !important;
  }


  /* HOME — no cambia de posición al pasar el mouse */
  .banner-home .btn-banner-home:hover {
    background-color: var(--yellow) !important;
    color: #17324D !important;
    border-color: var(--yellow) !important;

    transform: translateY(-1px);
  }


  /* HOME — clic */
  .banner-home .btn-banner-home:active {
    background-color: var(--yellow) !important;
    color: #17324D !important;
    border-color: var(--yellow) !important;

    transform: none;
  }


  /* -------------------------------------------------------
     NAVIDAD 2026
     ------------------------------------------------------- */

  .banner-navidad {
    position: relative;
    min-height: 392px;
    overflow: hidden;
  }

  .banner-navidad>img {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100% !important;

    max-width: 100%;

    object-fit: contain;
    object-position: center center;
  }


  /* Contenedor que ocupa todo el banner */
  .banner-navidad .banner-content {
    position: absolute;
    inset: 0;
    z-index: 5;

    width: 100%;
    max-width: none;
    height: 100%;

    padding: 0;

    box-sizing: border-box;

    display: block;
  }


  /* -------------------------------------------------------
     BOTÓN NAVIDAD
     
     ESTE ES EL BOTÓN:
     "Coordinar donación →"
     
     PARA MOVERLO:
     
     left: 5%  = muy a la izquierda
     left: 15% = izquierda
     left: 30% = más hacia el centro
     left: 50% = centro
     left: 70% = derecha

     top: 40% = arriba
     top: 60% = centro
     top: 75% = abajo
     ------------------------------------------------------- */

  .banner-navidad .btn-banner-navidad {
    position: absolute;

    left: 7%;
    top: 4%;

    right: auto;
    bottom: auto;

    z-index: 10;

    display: inline-flex;

    width: auto;
    min-width: 220px;

    margin: 0;
    padding: 12px 16px;

    transform: none;

    background-color: var(--yellow) !important;
    color: #17324D !important;
    border: 1px solid var(--yellow) !important;

    opacity: 1 !important;
  }


  /* NAVIDAD — hover */
  .banner-navidad .btn-banner-navidad:hover {
    background-color: var(--yellow) !important;
    color: #17324D !important;
    border-color: var(--yellow) !important;

    transform: translateY(-1px);
  }


  /* NAVIDAD — clic */
  .banner-navidad .btn-banner-navidad:active {
    background-color: var(--yellow) !important;
    color: #17324D !important;
    border-color: var(--yellow) !important;

    transform: none;
  }

}


/* =========================================================
   56.3 TABLET
   1199 PX O MENOS
   ========================================================= */

@media (max-width: 1199px) {

  /* -------------------------------------------------------
     HOME
     ------------------------------------------------------- */

  .banner-home {
    min-height: 0;
    padding: 0;
    overflow: visible;
    display: block;
  }

  .banner-home>img {
    position: relative;
    inset: auto;

    display: block;

    width: 100%;
    height: auto !important;

    max-width: 100%;

    object-fit: contain;
    object-position: center center;

    border-radius: 18px;
  }

  .banner-home .banner-content {
    position: relative;

    width: 100%;
    height: auto;
    min-height: 0;

    padding: 16px 0 0;

    display: flex;

    justify-content: center;
    align-items: center;
  }

  .banner-home .banner-home-kicker {
    position: relative;

    width: 100%;

    display: flex;

    justify-content: center;
    align-items: center;
  }

  .banner-home .btn-banner-home {
    position: relative;

    left: auto;
    right: auto;
    top: auto;
    bottom: auto;

    width: auto;
    min-width: 220px;

    margin: 0;

    transform: none;
  }


  /* -------------------------------------------------------
     NAVIDAD 2026
     ------------------------------------------------------- */

  .banner-navidad {
    min-height: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    display: block !important;
  }

  .banner-navidad>img {
    position: relative;
    inset: auto;

    display: block;

    width: 100%;
    height: auto !important;

    max-width: 100%;

    object-fit: contain;
    object-position: center center;

    border-radius: 18px;
  }

  .banner-navidad .banner-content {
    position: relative;

    width: 100%;
    height: auto;
    min-height: 0;

    padding: 16px 0 0;

    display: flex;

    justify-content: center;
    align-items: center;
  }

  .banner-navidad .btn-banner-navidad {
    position: relative;

    left: auto;
    right: auto;
    top: auto;
    bottom: auto;

    width: auto;
    min-width: 220px;

    margin: 0;

    transform: none;
  }

}


/* =========================================================
   56.4 MÓVIL
   767 PX O MENOS
   ========================================================= */

@media (max-width: 767px) {

  /* HOME */

  .banner-home .banner-content {
    padding: 16px 0 0;
  }

  .banner-home .btn-banner-home {
    position: relative;

    left: auto;
    right: auto;
    top: auto;
    bottom: auto;

    width: 100%;
    max-width: 360px;

    min-width: 0;
    min-height: 48px;

    margin: 0 auto;

    transform: none;
  }


  /* NAVIDAD */

  .banner-navidad .banner-content {
    padding: 16px 0 0;
  }

  .banner-navidad .btn-banner-navidad {
    position: relative;

    left: auto;
    right: auto;
    top: auto;
    bottom: auto;

    width: 100%;
    max-width: 360px;

    min-width: 0;
    min-height: 48px;

    margin: 0 auto;

    transform: none;
  }

}


/* =========================================================
   56.5 CELULARES PEQUEÑOS
   390 PX O MENOS
   ========================================================= */

@media (max-width: 390px) {

  .banner-home .btn-banner-home,
  .banner-navidad .btn-banner-navidad {

    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

}


/* ============================================================
   HONEYPOT ANTI-BOT — FORMULARIO DE CONTACTO
   ============================================================ */

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}