/* Estilos separados desde el HTML principal */

:root {
      --verde-oscuro: #2e3b2b;
      --verde-medio:  #2e3b2b;
      --verde-claro: #2e3b2b;
      --dorado: #c8a84b;
      --dorado-claro: #e8c96a;
      --blanco: #ffffff;
      --blanco-roto: #ffffff;
      --gris-texto: #3a3a3a;
      --rojo-alerta: #87090c;
    }

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

    html { scroll-behavior: smooth; }

    body {
  font-family: 'Twogether Sans', sans-serif;
  background-color: var(--blanco-roto);
  color: var(--gris-texto);
  overflow-x: hidden;
  
}/* TIPOGRAFÍA ESTILO INSTITUCIONAL */
h1, h2, h3,
.section-title,
.card-title,
.ciclo-name,
.boletin-card-body h3,
.modal-info h2,
.video-info h3,
.footer-logo {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Texto general justificado */
p,
.card-text,
.sintoma-desc,
.ciclo-desc,
.control-list li,
.boletin-preview,
.boletin-card-body p,
.modal-info p,
.video-info p,
.hero-desc {
  text-align: justify;
}

/* Evita que botones, menús y etiquetas se justifiquen raro */
nav,
.nav-logo,
.nav-links,
.hero-eyebrow,
.hero-cta,
.section-label,
.boletin-tag,
.boletin-fecha,
.dato-label,
.hero-btn-label,
.hero-btn-sub,
button,
a,
.mapa-stats,
.footer-copy {
  text-align: initial;
}

/* Mantener números, badges y tarjetas centradas donde corresponde */
.dato,
.ciclo-step,
.hero-btn {
  text-align: center;
}

    /* ── NAV ── */
   nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--blanco);
  border-bottom: 3px solid var(--dorado);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 88px;
}
    .nav-logo {
      font-family: 'Courier Prime', monospace;
      color: var(--dorado);
      font-size: 0.8rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
    }.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  
  padding: 0.25rem;
  border-radius: 3px;
}
.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  color: var(--verde-claro);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
    .nav-links { display: flex; gap: 2.5rem; list-style: none; }
    .nav-links a {
      color: var(--verde-claro);
      text-decoration: none;
      font-size: 0.82rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      opacity: 0.85;
      transition: opacity 0.2s, color 0.2s;
    }.nav-brand {
  gap: 0.5rem;
}

.nav-logo-img {
  height: 63px;
}

.nav-logo-text {
  font-size: 0.58rem;
  white-space: normal;
  line-height: 1.2;
}


    .nav-links a:hover { opacity: 1; color: var(--dorado); }

    /* ── HERO ── */
    .hero {
      min-height: 100vh;
      background:
        radial-gradient(ellipse at 20% 50%, rgba(74,140,63,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200,168,75,0.10) 0%, transparent 50%),
        linear-gradient(160deg, var(--verde-oscuro) 0%, #0f1f0f 55%, #1c2e0e 100%);
      display: flex; align-items: center;
      padding: 100px 6rem 4rem;
      position: relative;
      overflow: hidden;
       padding-top: 120px;
      

    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a8c3f' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      opacity: 0.4;
    }
    .hero-content {
      position: relative; z-index: 2;
      max-width: 700px;
      animation: fadeUp 1s ease both;
    }
    .hero-eyebrow {
      font-family: 'Courier Prime', monospace;
      color: var(--dorado);
      font-size: 0.78rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      margin-bottom: 1.2rem;
      display: flex; align-items: center; gap: 0.8rem;
    }
    .hero-eyebrow::before {
      content: '';
      display: block; width: 40px; height: 1px;
      background: var(--dorado);
    }
    .hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.8rem, 6vw, 5.5rem);
      font-weight: 900;
      color: var(--blanco);
      line-height: 1.05;
      margin-bottom: 1.5rem;
    }
    .hero h1 span { color: var(--dorado-claro); }
    .hero-desc {
      color: rgba(245,240,232,0.75);
      font-size: 1.1rem;
      line-height: 1.75;
      max-width: 560px;
      margin-bottom: 2.5rem;
    }
    /* ── HERO BUTTONS GRID ── */
    .hero-buttons {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.2rem;
      width: 100%;
    }
    .hero-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      padding: 2.6rem 1.2rem 2rem;
      text-decoration: none;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s cubic-bezier(.22,.68,0,1.2), box-shadow 0.3s;
      border-radius: 2px;
    }
    /* Fondo con gradiente único por botón */
    .hero-btn.btn-boletines {
      background: linear-gradient(145deg, rgba(200,168,75,0.18) 0%, rgba(200,168,75,0.06) 60%, rgba(0,0,0,0.2) 100%);
      border: 1px solid rgba(200,168,75,0.45);
      box-shadow: 0 8px 32px rgba(200,168,75,0.08), inset 0 1px 0 rgba(200,168,75,0.2);
    }
    .hero-btn.btn-infografias {
      background: linear-gradient(145deg, rgba(74,140,63,0.22) 0%, rgba(74,140,63,0.08) 60%, rgba(0,0,0,0.2) 100%);
      border: 1px solid rgba(74,140,63,0.45);
      box-shadow: 0 8px 32px rgba(74,140,63,0.08), inset 0 1px 0 rgba(74,140,63,0.2);
    }
    .hero-btn.btn-videos {
      background: linear-gradient(145deg, rgba(80,120,220,0.22) 0%, rgba(80,120,220,0.06) 60%, rgba(0,0,0,0.2) 100%);
      border: 1px solid rgba(100,149,237,0.4);
      box-shadow: 0 8px 32px rgba(80,120,220,0.08), inset 0 1px 0 rgba(100,149,237,0.2);
    }
    .hero-btn.btn-mapa {
      background: linear-gradient(145deg, rgba(180,50,50,0.22) 0%, rgba(180,50,50,0.06) 60%, rgba(0,0,0,0.2) 100%);
      border: 1px solid rgba(192,57,43,0.45);
      box-shadow: 0 8px 32px rgba(180,50,50,0.1), inset 0 1px 0 rgba(192,57,43,0.2);
    }
    /* Línea superior coloreada */
    .hero-btn::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 4px;
      transition: height 0.3s ease;
    }
    .hero-btn.btn-boletines::before  { background: linear-gradient(90deg, var(--dorado), var(--dorado-claro)); }
    .hero-btn.btn-infografias::before { background: linear-gradient(90deg, var(--verde-claro), #7ec870); }
    .hero-btn.btn-videos::before     { background: linear-gradient(90deg, #5078dc, #90b4f8); }
    .hero-btn.btn-mapa::before       { background: linear-gradient(90deg, #c0392b, #e74c3c); }

    /* Resplandor de fondo al hover */
    .hero-btn::after {
      content: '';
      position: absolute; inset: 0;
      opacity: 0;
      transition: opacity 0.4s;
      pointer-events: none;
    }
    .hero-btn.btn-boletines::after  { background: radial-gradient(circle at 50% 80%, rgba(200,168,75,0.15) 0%, transparent 70%); }
    .hero-btn.btn-infografias::after { background: radial-gradient(circle at 50% 80%, rgba(74,140,63,0.18) 0%, transparent 70%); }
    .hero-btn.btn-videos::after     { background: radial-gradient(circle at 50% 80%, rgba(80,120,220,0.18) 0%, transparent 70%); }
    .hero-btn.btn-mapa::after       { background: radial-gradient(circle at 50% 80%, rgba(192,57,43,0.18) 0%, transparent 70%); }

    .hero-btn:hover { transform: translateY(-6px) scale(1.02); }
    .hero-btn:hover::before { height: 5px; }
    .hero-btn:hover::after { opacity: 1; }
    .hero-btn.btn-boletines:hover  { box-shadow: 0 20px 50px rgba(200,168,75,0.22), 0 0 0 1px rgba(200,168,75,0.5); }
    .hero-btn.btn-infografias:hover { box-shadow: 0 20px 50px rgba(74,140,63,0.22), 0 0 0 1px rgba(74,140,63,0.5); }
    .hero-btn.btn-videos:hover     { box-shadow: 0 20px 50px rgba(80,120,220,0.22), 0 0 0 1px rgba(100,149,237,0.5); }
    .hero-btn.btn-mapa:hover       { box-shadow: 0 20px 50px rgba(192,57,43,0.25), 0 0 0 1px rgba(192,57,43,0.5); }

    .hero-btn-emoji {
      font-size: 3.8rem;
      line-height: 1;
      filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
      transition: transform 0.35s cubic-bezier(.22,.68,0,1.4), filter 0.3s;
      position: relative; z-index: 1;
    }
    .hero-btn:hover .hero-btn-emoji {
      transform: scale(1.2) translateY(-4px);
      filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
    }
    .hero-btn-label {
      font-family: 'Playfair Display', serif;
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--blanco);
      text-align: center;
      line-height: 1.2;
      position: relative; z-index: 1;
    }
    .hero-btn-sub {
      font-family: 'Courier Prime', monospace;
      font-size: 0.66rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      text-align: center;
      opacity: 0.7;
      position: relative; z-index: 1;
    }
    .hero-btn.btn-boletines  .hero-btn-sub { color: var(--dorado-claro); }
    .hero-btn.btn-infografias .hero-btn-sub { color: #7ec870; }
    .hero-btn.btn-videos     .hero-btn-sub { color: #90b4f8; }
    .hero-btn.btn-mapa       .hero-btn-sub { color: #e07070; }

    .hero-btn-badge {
      position: absolute; top: 0.7rem; right: 0.7rem;
      background: var(--rojo-alerta);
      color: white;
      font-family: 'Courier Prime', monospace;
      font-size: 0.58rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.2rem 0.6rem;
      border-radius: 2px;
      animation: pulse 1.8s ease-in-out infinite;
      z-index: 2;
    }
    /* Flecha interior */
    .hero-btn-arrow {
      position: absolute; bottom: 0.8rem; right: 1rem;
      font-size: 0.75rem;
      opacity: 0;
      transform: translateX(-6px);
      transition: opacity 0.25s, transform 0.25s;
      z-index: 1;
    }
    .hero-btn.btn-boletines  .hero-btn-arrow { color: var(--dorado); }
    .hero-btn.btn-infografias .hero-btn-arrow { color: #7ec870; }
    .hero-btn.btn-videos     .hero-btn-arrow { color: #90b4f8; }
    .hero-btn.btn-mapa       .hero-btn-arrow { color: #e07070; }
    .hero-btn:hover .hero-btn-arrow { opacity: 1; transform: translateX(0); }

    .hero-cta {
      display: inline-flex; align-items: center; gap: 0.8rem;
      background: var(--dorado);
      color: var(--verde-oscuro);
      font-weight: 700;
      font-size: 0.82rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 0.9rem 2rem;
      transition: background 0.25s, transform 0.2s;
    }
    .hero-cta:hover { background: var(--dorado-claro); transform: translateY(-2px); }
    .hero-badge {
      position: absolute; right: 6rem; top: 50%;
      transform: translateY(-50%);
      width: 260px; height: 260px;
      border-radius: 50%;
      border: 1px solid rgba(200,168,75,0.3);
      display: flex; align-items: center; justify-content: center;
      flex-direction: column;
      text-align: center;
      color: var(--dorado);
      animation: rotate 40s linear infinite;
    }
    .hero-badge-inner {
      font-family: 'Playfair Display', serif;
      font-size: 4.5rem;
      line-height: 1;
      animation: counterRotate 40s linear infinite;
    }
    .hero-badge-label {
      font-family: 'Courier Prime', monospace;
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      opacity: 0.7;
      animation: counterRotate 40s linear infinite;
    }.hero-badge {
  position: absolute;
  right: 6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 3px solid rgba(200,168,75,0.5);
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(0,0,0,0.4),
    0 0 20px rgba(200,168,75,0.2);
  animation: rotate 40s linear infinite;
  background: #0f1f0f;
}

.hero-badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: counterRotate 40s linear infinite;
  transition: transform 0.4s ease;
}

.hero-badge:hover .hero-badge-img {
  transform: scale(1.08);
}

    /* ── ALERTA ── */
    .alerta-banner {
      background: var(--rojo-alerta);
      color: var(--blanco);
      text-align: center;
      padding: 0.85rem 2rem;
      font-family: 'Courier Prime', monospace;
      font-size: 0.82rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      display: flex; align-items: center; justify-content: center; gap: 1rem;
    }
    .alerta-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #87090c;
      animation: pulse 1.5s ease-in-out infinite;
    }

    /* ── SECCIONES ── */
    .section { padding: 6rem 6rem; }
    .section-alt { background: var(--blanco); }

    .section-header {
      display: flex; align-items: flex-start; gap: 2rem;
      margin-bottom: 4rem;
    }
    .section-num {
      font-family: 'Playfair Display', serif;
      font-size: 5rem;
      font-weight: 900;
      color: var(--dorado);
      opacity: 0.25;
      line-height: 1;
      flex-shrink: 0;
    }
    .section-title-block {}
    .section-label {
      font-family: 'Courier Prime', monospace;
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--verde-claro);
      margin-bottom: 0.5rem;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 3vw, 2.8rem);
      font-weight: 700;
      color: var(--verde-oscuro);
      line-height: 1.2;
    }

    /* ── GRID INFO ── */
    .info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border: 1px solid rgba(74,140,63,0.2);
    }
    .info-card {
      padding: 2.5rem;
      border-right: 1px solid rgba(74,140,63,0.15);
      border-bottom: 1px solid rgba(74,140,63,0.15);
      position: relative;
      transition: background 0.3s;
    }
    .info-card:hover { background: rgba(74,140,63,0.04); }
    .info-card:nth-child(2n) { border-right: none; }
    .info-card:nth-last-child(-n+2) { border-bottom: none; }
    .card-icon {
      font-size: 2rem; margin-bottom: 1rem;
      display: block;
    }
    .card-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--verde-oscuro);
      margin-bottom: 0.75rem;
    }
    .card-text {
      font-size: 0.95rem;
      line-height: 1.7;
      color: #5a5a5a;
    }
    .card-accent {
      position: absolute; top: 0; left: 0;
      width: 4px; height: 40px;
      background: var(--dorado);
    }

    /* ── CICLO DE VIDA ── */
    .ciclo-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }
    .ciclo-step {
      text-align: center;
      padding: 2rem 1.5rem;
      background: var(--verde-oscuro);
      color: var(--blanco);
      position: relative;
    }
    .ciclo-step::after {
      content: '→';
      position: absolute; right: -1rem; top: 50%;
      transform: translateY(-50%);
      color: var(--dorado);
      font-size: 1.5rem;
      z-index: 2;
    }
    .ciclo-step:last-child::after { display: none; }
    .ciclo-num {
      font-family: 'Courier Prime', monospace;
      color: var(--dorado);
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      margin-bottom: 0.8rem;
    }
    .ciclo-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
    .ciclo-name {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }
    .ciclo-desc { font-size: 0.82rem; opacity: 0.7; line-height: 1.5; }

    /* ── SÍNTOMAS ── */
    .sintomas-list {
      display: flex; flex-direction: column; gap: 1rem;
    }
    .sintoma-item {
      display: flex; align-items: flex-start; gap: 1.5rem;
      padding: 1.5rem 2rem;
      background: white;
      border-left: 4px solid var(--rojo-alerta);
      box-shadow: 0 2px 12px rgba(0,0,0,0.05);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .sintoma-item:hover { transform: translateX(4px); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
    .sintoma-num {
      font-family: 'Playfair Display', serif;
      font-size: 1.8rem;
      font-weight: 900;
      color: var(--rojo-alerta);
      opacity: 0.3;
      flex-shrink: 0;
      line-height: 1;
    }
    .sintoma-title { font-weight: 600; margin-bottom: 0.3rem; color: var(--verde-oscuro); }
    .sintoma-desc { font-size: 0.92rem; color: #666; line-height: 1.6; }

    /* ── CONTROL ── */
    .control-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .control-card {
      padding: 2.5rem;
      background: white;
      border-top: 3px solid var(--verde-claro);
      box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    }
    .control-card h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      color: var(--verde-oscuro);
      margin-bottom: 1.2rem;
    }
    .control-list { list-style: none; }
    .control-list li {
      font-size: 0.92rem;
      padding: 0.5rem 0;
      border-bottom: 1px solid rgba(0,0,0,0.06);
      display: flex; align-items: flex-start; gap: 0.6rem;
      line-height: 1.5;
      color: #555;
    }.boletines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}

.boletin-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,168,75,0.18);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.boletin-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  opacity: 0.88;
}

.boletin-card-body {
  padding: 1.6rem;
}

.boletin-card-body .boletin-fecha {
  font-family: 'Courier Prime', monospace;
  color: var(--dorado);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.boletin-card-body h3 {
  font-family: 'Playfair Display', serif;
  color: var(--blanco);
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0.8rem 0;
}

.boletin-card-body p {
  color: rgba(245,240,232,0.62);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.boletin-card-body button {
  background: transparent;
  border: 1px solid var(--dorado);
  color: var(--dorado);
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: 0.25s;
}

.boletin-card-body button:hover {
  background: var(--dorado);
  color: var(--verde-oscuro);
}

/* MODAL */
.boletin-modal {
  position: fixed;
  inset: 0;
  background: rgba(5,10,5,0.88);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.boletin-modal.active {
  display: flex;
}

.boletin-modal-content {
  width: min(1000px, 95%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--verde-oscuro);
  border: 1px solid rgba(200,168,75,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  background: var(--rojo-alerta);
  color: white;
  border: none;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.modal-carousel {
  position: relative;
  height: 430px;
  background: #0a150a;
}

.modal-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,21,10,0.75);
  color: var(--dorado);
  border: 1px solid rgba(200,168,75,0.4);
  font-size: 3rem;
  width: 52px;
  height: 64px;
  cursor: pointer;
  z-index: 3;
}

.carousel-btn.prev {
  left: 1rem;
}

.carousel-btn.next {
  right: 1rem;
}

.modal-info {
  padding: 2.5rem 3rem;
}

.modal-info span {
  font-family: 'Courier Prime', monospace;
  color: var(--dorado);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.modal-info h2 {
  font-family: 'Playfair Display', serif;
  color: var(--blanco);
  font-size: 2rem;
  margin: 1rem 0;
}

.modal-info p {
  color: rgba(245,240,232,0.75);
  line-height: 1.85;
  font-size: 1rem;
  white-space: pre-line;
}

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

  .modal-carousel {
    height: 280px;
  }

  .modal-info {
    padding: 2rem;
  }
}
    .control-list li::before { content: '▸'; color: var(--verde-claro); flex-shrink: 0; }
    .control-list li:last-child { border-bottom: none; }

    /* ── BOLETINES ── */
    #boletines { background: var(--verde-oscuro); }
    #boletines .section-num { color: var(--dorado); opacity: 0.2; }
    #boletines .section-label { color: var(--dorado-claro); }
    #boletines .section-title { color: var(--blanco); }

    .boletin-principal {
      display: grid;
      grid-template-columns: 1fr 1.3fr;
      gap: 0;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(200,168,75,0.2);
      overflow: hidden;
      margin-bottom: 3rem;
    }
    .boletin-imagen-wrap {
      position: relative;
      overflow: hidden;
      min-height: 420px;
      background: #0f1f0f;
    }
    .boletin-imagen-wrap img {
      width: 100%; height: 100%;
      object-fit: cover;
      opacity: 0.85;
      transition: opacity 0.4s, transform 0.6s;
    }
    .boletin-imagen-wrap:hover img { opacity: 1; transform: scale(1.03); }
    .boletin-img-label {
      position: absolute; bottom: 1rem; left: 1rem;
      background: var(--dorado);
      color: var(--verde-oscuro);
      font-family: 'Courier Prime', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.3rem 0.8rem;
      font-weight: 700;
    }
    .boletin-contenido {
      padding: 3rem 3rem;
      display: flex; flex-direction: column; justify-content: space-between;
    }
    .boletin-meta {
      display: flex; gap: 1.5rem; align-items: center;
      margin-bottom: 1.5rem;
    }
    .boletin-tag {
      font-family: 'Courier Prime', monospace;
      font-size: 0.68rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--dorado);
      border: 1px solid rgba(200,168,75,0.4);
      padding: 0.25rem 0.7rem;
    }
    .boletin-fecha {
      font-size: 0.8rem;
      color: rgba(245,240,232,0.4);
    }
    .boletin-contenido h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.9rem;
      font-weight: 700;
      color: var(--blanco);
      line-height: 1.25;
      margin-bottom: 1.5rem;
    }
    .boletin-resumen {
      color: rgba(245,240,232,0.7);
      font-size: 0.95rem;
      line-height: 1.8;
      margin-bottom: 2rem;
    }
    .boletin-resumen p { margin-bottom: 1rem; }
    .boletin-footer {
      display: flex; align-items: center; justify-content: space-between;
      border-top: 1px solid rgba(200,168,75,0.2);
      padding-top: 1.5rem;
    }
    .boletin-autor {
      font-size: 0.82rem;
      color: rgba(245,240,232,0.5);
    }
    .boletin-btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: transparent;
      border: 1px solid var(--dorado);
      color: var(--dorado);
      font-family: 'Courier Prime', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.6rem 1.4rem;
      cursor: pointer;
      transition: background 0.25s, color 0.25s;
      text-decoration: none;
    }
    .boletin-btn:hover { background: var(--dorado); color: var(--verde-oscuro); }

    /* ── FOOTER ── */
    footer {
      background: #0a150a;
      border-top: 1px solid rgba(200,168,75,0.15);
      padding: 3rem 6rem;
      display: flex; align-items: center; justify-content: space-between;
    }
    .footer-logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      color: var(--dorado);
    }
    .footer-copy {
      font-size: 0.8rem;
      color: rgba(245,240,232,0.3);
      font-family: 'Courier Prime', monospace;
    }

    /* ── ANIMACIONES ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes rotate {
      from { transform: translateY(-50%) rotate(0deg); }
      to   { transform: translateY(-50%) rotate(360deg); }
    }
    @keyframes counterRotate {
      from { transform: rotate(0deg); }
      to   { transform: rotate(-360deg); }
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.5; transform: scale(1.3); }
    }

    /* ── DIVISOR ── */
    .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--dorado), transparent);
      opacity: 0.3;
      margin: 0 6rem;
    }

    /* ── DATOS RÁPIDOS ── */
    .datos-rapidos {
      display: flex; gap: 0;
      border: 1px solid rgba(74,140,63,0.2);
      margin-top: 3rem;
    }
    .dato {
      flex: 1;
      padding: 2rem 2.5rem;
      border-right: 1px solid rgba(74,140,63,0.15);
      text-align: center;
    }
    .dato:last-child { border-right: none; }
    .dato-num {
      font-family: 'Playfair Display', serif;
      font-size: 2.8rem;
      font-weight: 900;
      color: var(--verde-claro);
      line-height: 1;
      margin-bottom: 0.4rem;
    }
    .dato-label {
      font-size: 0.82rem;
      color: #777;
      font-family: 'Courier Prime', monospace;
      letter-spacing: 0.05em;
    }

    @media (max-width: 900px) {
      nav { padding: 0 1.5rem; }
      .nav-links { gap: 1.2rem; }
      .hero { padding: 100px 2rem 4rem; }
      .hero-badge { display: none; }
      .hero-buttons { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
      .hero-btn { padding: 2rem 1rem 1.5rem; }
      .hero-btn-emoji { font-size: 3rem; }
      .hero-btn-label { font-size: 1rem; }
      .section { padding: 4rem 2rem; }
      .info-grid { grid-template-columns: 1fr; }
      .info-card { border-right: none; }
      .ciclo-grid { grid-template-columns: 1fr 1fr; }
      .ciclo-step::after { display: none; }
      .control-grid { grid-template-columns: 1fr; }
      .boletin-principal { grid-template-columns: 1fr; }
      .boletin-imagen-wrap { min-height: 280px; }
      footer { flex-direction: column; gap: 1rem; text-align: center; }
      .datos-rapidos { flex-wrap: wrap; }
      .dato { flex: 1 1 45%; }
      .divider { margin: 0 2rem; }
    }.boletin-preview {
  color: rgba(245,240,232,0.62);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.3rem;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;

  min-height: 105px;

}/* ── INFOGRAFÍAS ── */

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

/* Contenedor visual de cada infografía */
.infografias-grid img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  background: transparent !important;
  cursor: pointer;

  border: none !important;
  box-shadow: none !important;

  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.infografias-grid img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.22));
}

/* MODAL INFOGRAFÍAS */

.infografia-modal {
  position: fixed;
  inset: 0;
  background: rgba(5,10,5,0.96);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.infografia-modal.active {
  display: flex;
}

.infografia-modal-content {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

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

  padding: 3rem 5rem;
}

.infografia-modal-content img {
  width: auto;
  height: auto;

  max-width: 94vw;
  max-height: 94vh;

  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Flechas */
.infografia-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,21,10,0.82);
  color: var(--dorado);
  border: 1px solid rgba(200,168,75,0.45);
  font-size: 3.8rem;
  width: 64px;
  height: 78px;
  cursor: pointer;
  z-index: 3;
}

.infografia-carousel-btn.prev {
  left: 1.2rem;
}

.infografia-carousel-btn.next {
  right: 1.2rem;
}

/* Botón cerrar */
.infografia-modal .modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 5;
}

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

  .infografias-grid img {
    height: 520px;
  }

  .infografia-modal-content {
    padding: 3rem 3rem;
  }

  .infografia-modal-content img {
    max-width: 96vw;
    max-height: 92vh;
  }
}

@media (max-width: 520px) {
  .infografias-grid img {
    height: 420px;
  }

  .infografia-carousel-btn {
    width: 46px;
    height: 62px;
    font-size: 2.8rem;
  }

  .infografia-modal-content {
    padding: 3rem 2.5rem;
  }
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}

.video-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,168,75,0.15);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--verde-claro);
}

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


.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,46,26,0.35), rgba(10,15,10,0.65));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.video-card:hover .video-overlay {
  background: linear-gradient(135deg, rgba(26,46,26,0.15), rgba(10,15,10,0.4));
}

.video-play {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: rgba(200,168,75,0.92);
  color: var(--verde-oscuro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: bold;
  transition: transform 0.3s;
  box-shadow: 0 0 30px rgba(200,168,75,0.25);
}

.video-card:hover .video-play {
  transform: scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-info h3 {
  font-family: 'Playfair Display', serif;
  color: var(--blanco);
  font-size: 1rem;
  margin: 0.8rem 0;
  line-height: 1.3;
}

.video-info p {
  color: rgba(245,240,232,0.5);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* MODAL VIDEO */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(5,10,5,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: min(1200px,95%);
  background: #0a150a;
  border: 1px solid rgba(200,168,75,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.65);
  padding: 1rem;
}

.video-modal video {
  width: 100%;
  max-height: 85vh;
  background: black;
  display: block;
}

@media (max-width:900px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}.mapa-qgis2web {
  width: 100%;
  height: 650px;
  border: 1px solid rgba(74,140,63,0.25);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  overflow: hidden;
  background: #0a150a;
}

.mapa-qgis2web iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 900px) {
  .mapa-qgis2web {
    height: 480px;
  }
}.mapa-contenedor {
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: white;
}

.mapa-contenedor iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}.mapa-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  align-items: start;
}

.mapa-contenedor {
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: white;
}

.mapa-contenedor iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.mapa-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reporte-caso-wide {
  margin-top: 2rem;
  width: 100%;
  background: #fff8f8;
  border: 1px solid rgba(139,32,32,0.22);
  border-left: 6px solid var(--rojo-alerta);
  padding: 1.8rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.reporte-caso-wide-title {
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rojo-alerta);
  margin-bottom: 0.55rem;
}

.reporte-caso-wide p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #5a5a5a;
  margin: 0;
}

.reporte-caso-wide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  background: var(--rojo-alerta);
  color: white;
  padding: 0.9rem 1.5rem;
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.reporte-caso-wide a:hover {
  background: #a72a2a;
  transform: translateY(-2px);
}

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

  .mapa-contenedor {
    height: 420px;
  }

  .reporte-caso-wide {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .reporte-caso-wide a {
    width: 100%;
    min-width: 0;
  }
}/* ── GALERÍA ── */
/* ── GALERÍA ── */

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

.galeria-item {
  height: 320px;
  background: transparent;
  border: 1px solid rgba(74,140,63,0.18);
  box-shadow: 0 8px 26px rgba(0,0,0,0.10);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galeria-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.18);
  border-color: rgba(200,168,75,0.45);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  display: block;
}

/* MODAL GALERÍA */

.galeria-modal {
  position: fixed;
  inset: 0;
  background: rgba(5,10,5,0.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.galeria-modal.active {
  display: flex;
}

.galeria-modal-content {
  position: relative;
  width: 96vw;
  height: 94vh;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 4rem;
}

.galeria-modal-content img {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 20px 70px rgba(0,0,0,0.55);
}

.galeria-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,21,10,0.78);
  color: var(--dorado);
  border: 1px solid rgba(200,168,75,0.4);
  font-size: 3.4rem;
  width: 58px;
  height: 72px;
  cursor: pointer;
  z-index: 3;
}

.galeria-carousel-btn.prev {
  left: 1rem;
}

.galeria-carousel-btn.next {
  right: 1rem;
}

.galeria-contador {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,21,10,0.85);
  color: var(--dorado);
  border: 1px solid rgba(200,168,75,0.35);
  padding: 0.4rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

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

  .galeria-item {
    height: 280px;
  }

  .galeria-modal-content {
    width: 98vw;
    height: 90vh;
    padding: 1rem 3.2rem;
  }

  .galeria-modal-content img {
    max-height: 88vh;
  }
}

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

  .galeria-item {
    height: 340px;
  }

  .galeria-modal-content {
    padding: 1rem 2.8rem;
  }

  .galeria-carousel-btn {
    width: 44px;
    height: 58px;
    font-size: 2.6rem;
  }
}
  

/* ── AJUSTE NAV / LOGOS ──
   Reglas finales para que los logos del nav mantengan proporción,
   no se aplasten y el menú se acomode sin invadirlos. */
nav {
  height: 96px;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
  min-width: max-content;
}

.nav-logo-img {
  height: 68px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
 
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
 
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  list-style: none;
  min-width: 0;
}

.nav-links a {
  white-space: nowrap;
  font-size: clamp(0.66rem, 0.72vw, 0.8rem);
}

@media (max-width: 1100px) {
  nav {
    height: auto;
    min-height: 108px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .nav-brand {
    width: 100%;
    justify-content: center;
  }

  .nav-logo-img {
    height: 58px;
    max-width: 180px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 0.55rem 1rem;
  }

  .hero {
    padding-top: 170px !important;
  }
}

@media (max-width: 640px) {
  nav {
    min-height: 120px;
  }

  .nav-brand {
    gap: 0.55rem;
  }

  .nav-logo-img {
    height: 48px;
    max-width: 145px;
    padding: 0.35rem 0.5rem;
  }

  .nav-links a {
    font-size: 0.62rem;
  }

  .hero {
    padding-top: 190px !important;
  }
}

  

/* ── AJUSTE EXTRA: LOGOS MÁS GRANDES + HERO MÁS LLENO ── */
nav {
  height: 108px;
}

.nav-brand {
  gap: 1.15rem;
}

.nav-logo-img {
  height: 78px;
  max-width: 245px;
  padding: 0.5rem 0.8rem;
}

.hero-badge {
  width: clamp(320px, 25vw, 390px);
  height: clamp(320px, 25vw, 390px);
  right: clamp(2rem, 5vw, 6rem);
  border-width: 4px;
}

.hero-content {
  max-width: 720px;
}

@media (max-width: 1200px) {
  .nav-logo-img {
    height: 70px;
    max-width: 215px;
  }

  .hero-badge {
    width: 310px;
    height: 310px;
    right: 2rem;
  }
}

@media (max-width: 1100px) {
  nav {
    min-height: 118px;
  }

  .nav-logo-img {
    height: 64px;
    max-width: 200px;
  }
}

@media (max-width: 900px) {
  .hero-badge {
    display: none;
  }
}

@media (max-width: 640px) {
  nav {
    min-height: 132px;
  }

  .nav-logo-img {
    height: 54px;
    max-width: 165px;
    padding: 0.4rem 0.55rem;
  }
}

  

/* ── AJUSTE FINAL MAPA + CARRUSEL DE VIDEOS ── */
.videos-carousel {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0 4.4rem 3.2rem;
}

.videos-viewport {
  overflow: hidden;
  border: 1px solid rgba(200,168,75,0.22);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  background: rgba(255,255,255,0.035);
}

.videos-carousel .videos-grid {
  display: flex;
  grid-template-columns: none;
  gap: 0;
  transition: transform 0.45s ease;
  will-change: transform;
}

.videos-carousel .video-card {
  flex: 0 0 100%;
  max-width: 100%;
  border: none;
  cursor: pointer;
}

.videos-carousel .video-card:hover {
  transform: none;
}

.videos-carousel .video-thumb {
  aspect-ratio: 16 / 9;
}

.videos-carousel .video-info {
  min-height: 150px;
  padding: 1.8rem 2rem;
}

.videos-carousel .video-info h3 {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.video-carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 58px;
  height: 78px;
  border: 1px solid rgba(200,168,75,0.45);
  background: rgba(10,21,10,0.88);
  color: var(--dorado);
  font-size: 3.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s, transform 0.2s;
}

.video-carousel-btn:hover {
  background: var(--dorado);
  color: var(--verde-oscuro);
  transform: translateY(-50%) scale(1.04);
}

.video-carousel-btn.prev { left: 0; }
.video-carousel-btn.next { right: 0; }

.video-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
}

.video-carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(200,168,75,0.75);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}

.video-carousel-dot.active {
  width: 28px;
  background: var(--dorado);
}

#mapa .mapa-grid {
  align-items: stretch;
  margin-bottom: 2.2rem;
}

#mapa .mapa-stats {
  height: 100%;
}

#mapa .mapa-stats > div:last-child {
  height: 100%;
}

#mapa .reporte-caso-wide {
  margin-top: 2.4rem;
  grid-template-columns: minmax(0, 1fr) auto;
  position: relative;
  clear: both;
}

@media (max-width: 900px) {
  .videos-carousel {
    padding: 0 3rem 3rem;
  }

  .video-carousel-btn {
    width: 44px;
    height: 62px;
    font-size: 2.8rem;
  }

  .videos-carousel .video-info {
    min-height: 0;
    padding: 1.4rem;
  }

  #mapa .reporte-caso-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .videos-carousel {
    padding: 0 2.4rem 2.8rem;
  }

  .video-carousel-btn {
    width: 38px;
    height: 54px;
    font-size: 2.35rem;
  }
}


/* ── AJUSTES FINALES: 5 BOTONES, MENÚ RESPONSIVE Y AUTOPLAY ── */
@media (min-width: 1101px) {
  .hero-buttons {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(0.65rem, 1vw, 1.1rem);
  }

  .hero-btn {
    min-height: 205px;
    padding: 2.25rem 0.8rem 1.8rem;
  }

  .hero-btn-emoji {
    font-size: clamp(2.8rem, 3.2vw, 3.6rem);
  }

  .hero-btn-label {
    font-size: clamp(0.9rem, 1vw, 1.08rem);
  }

  .hero-btn-sub {
    font-size: clamp(0.54rem, 0.6vw, 0.64rem);
    line-height: 1.35;
  }
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(200,168,75,0.5);
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--dorado);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 1100px) {
  nav {
    height: auto !important;
    min-height: 92px !important;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem !important;
  }

  .nav-brand {
    width: auto !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    gap: 0.75rem !important;
  }

  .nav-logo-img {
    height: clamp(48px, 6vw, 64px) !important;
    max-width: clamp(130px, 28vw, 200px) !important;
    padding: 0.35rem 0.5rem !important;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    grid-column: 1 / -1;
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    padding: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.22s ease;
  }

  nav.nav-open .nav-links {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    padding-top: 0.65rem;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.55rem 0.45rem;
    border: 1px solid rgba(200,168,75,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
    white-space: normal !important;
    text-align: center;
    line-height: 1.15;
    font-size: clamp(0.62rem, 1.35vw, 0.76rem) !important;
  }

  nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 120px !important;
  }

  nav.nav-open + .hero,
  nav.nav-open ~ .hero {
    padding-top: 210px !important;
  }

  .hero-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  nav {
    min-height: 82px !important;
    padding: 0.65rem 0.75rem !important;
  }

  .nav-logo-img {
    height: 46px !important;
    max-width: 42vw !important;
  }

  .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 105px !important;
  }

  nav.nav-open + .hero,
  nav.nav-open ~ .hero {
    padding-top: 270px !important;
  }

  .hero-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .hero-btn {
    min-height: 165px;
    padding: 1.65rem 0.8rem 1.35rem;
  }
}

@media (max-width: 430px) {
  .nav-brand {
    gap: 0.35rem !important;
  }

  .nav-logo-img {
    height: 40px !important;
    max-width: 40vw !important;
  }

  .nav-toggle {
    width: 42px;
    height: 38px;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
  }

  .hero-btn {
    min-height: 145px;
  }
}


/* ── VIDEO MODAL CON URL / IFRAME ── */
.video-modal iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border: none;
  background: #000;
  display: none;
}

.video-modal video {
  display: none;
}

.video-modal iframe.active,
.video-modal video.active {
  display: block;
}

@media (max-width: 700px) {
  .video-modal iframe {
    min-height: 220px;
  }
}


/* ── AJUSTES SOLICITADOS: TIPOGRAFÍA, ALINEACIÓN Y REDONDEO ── */
*,
*::before,
*::after {
  font-family: 'Twogether Sans', sans-serif !important;
}

body,
p,
.card-text,
.sintoma-desc,
.ciclo-desc,
.control-list li,
.boletin-preview,
.boletin-card-body p,
.modal-info p,
.video-info p,
.hero-desc {
  text-align: left !important;
}

.dato,
.ciclo-step,
.hero-btn {
  text-align: center !important;
}

.hero-btn,
.dato,
.info-grid,
.info-card,
.ciclo-step,
.sintoma-item,
.control-card,
.boletin-card,
.boletin-modal-content,
.modal-carousel,
.infografias-grid img,
.infografia-modal-content,
.video-card,
.video-thumb,
.video-modal-content,
.galeria-item,
.galeria-modal-content,
.mapa-contenedor,
.mapa-grid,
.mapa-stats,
.reporte-caso-wide,
.nav-links.active {
  border-radius: 24px !important;
}

.info-grid,
.boletin-card,
.video-card,
.galeria-item,
.modal-carousel,
.video-thumb,
.mapa-contenedor {
  overflow: hidden;
}

.modal-close,
.carousel-btn,
.video-carousel-btn,
.infografia-carousel-btn,
.galeria-carousel-btn,
.hero-cta,
.boletin-card-body button {
  border-radius: 24px !important;
}

/* ── AJUSTES EXTRA: ESPACIADO, REDONDEO Y RESPONSIVE ── */
.datos-rapidos {
  gap: 1rem !important;
  border: 0 !important;
  overflow: visible !important;
}

.dato {
  border: 1px solid rgba(74,140,63,0.15) !important;
  border-right: 1px solid rgba(74,140,63,0.15) !important;
  background: #fff !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
}

.info-grid {
  gap: 1.2rem !important;
  border: 0 !important;
  overflow: visible !important;
}

.info-card {
  border: 1px solid rgba(74,140,63,0.15) !important;
  background: #fff !important;
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.info-card:nth-child(2n),
.info-card:nth-last-child(-n+2) {
  border: 1px solid rgba(74,140,63,0.15) !important;
}

.mapa-stats > div {
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.boletin-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}

.boletin-card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1;
}

.boletin-card-body h3 {
  min-height: 5.1em;
}

.boletin-preview,
.boletin-card-body p {
  flex: 1;
}

.boletin-card-body button {
  align-self: flex-start;
  margin-top: auto !important;
}

.ciclo-step {
  padding: 1.6rem 1.2rem !important;
  min-height: 260px;
  overflow: visible;
}

.ciclo-icon {
  height: 72px !important;
  margin-bottom: 0.75rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ciclo-icon img {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  display: block;
}

@media (max-width: 1100px) {
  .boletines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .boletin-card-body h3 {
    min-height: 4.2em;
  }

  .ciclo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .datos-rapidos {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem !important;
  }

  .dato {
    flex: initial !important;
    padding: 1.6rem 1.2rem !important;
  }

  .info-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .mapa-stats {
    gap: 1rem !important;
  }

  .boletin-card-body h3 {
    min-height: auto;
  }

  .ciclo-step {
    min-height: 245px;
  }
}

@media (max-width: 640px) {
  .datos-rapidos,
  .boletines-grid,
  .ciclo-grid {
    grid-template-columns: 1fr !important;
  }

  .info-card,
  .dato,
  .ciclo-step,
  .boletin-card-body {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .ciclo-step {
    min-height: auto;
  }

  .ciclo-icon {
    height: 62px !important;
  }

  .ciclo-icon img {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
  }
}

/* ── CAMBIOS GENERALES: ALERTA TICKER, CARRUSELES, VIDEOS GRID Y REPORTE ── */
.alerta-ticker {
  margin-top: 108px;
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  background: #7f1d1d;
  color: #fff;
  border-bottom: 3px solid var(--dorado);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.alerta-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.alerta-ticker-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.alerta-ticker-track {
  overflow: hidden;
  min-width: 0;
}

.alerta-ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  padding-left: 100%;
  animation: alertaTicker 26s linear infinite;
  font-size: 0.92rem;
}

.alerta-ticker-content span::before {
  content: '•';
  color: var(--dorado-claro);
  margin-right: 0.85rem;
  font-weight: 900;
}

@keyframes alertaTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.hero {
  padding-top: 5rem !important;
  min-height: calc(100vh - 155px) !important;
}

.hero > div:first-child {
  margin-bottom: 0 !important;
}

/* Carrusel base 3 en 3 */
.boletines-carousel,
.visuales-carousel {
  position: relative;
  width: 100%;
  padding: 0 4.4rem 3rem;
}

.media-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.media-carousel-track {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  transition: transform 0.42s ease;
  will-change: transform;
  touch-action: pan-y;
}

.boletines-carousel .boletin-card,
.visuales-carousel .infografias-grid > img,
.visuales-carousel .galeria-grid > .galeria-item {
  flex: 0 0 calc(33.333% - 1rem);
  margin-right: 1.5rem;
}

.boletines-carousel .boletin-card {
  min-height: 100%;
}

.media-carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 52px;
  height: 70px;
  border: 1px solid rgba(200,168,75,0.45);
  background: rgba(10,21,10,0.88);
  color: var(--dorado);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.media-carousel-btn:hover {
  background: var(--dorado);
  color: var(--verde-oscuro);
  transform: translateY(-50%) scale(1.04);
}

.media-carousel-btn.prev { left: 0; }
.media-carousel-btn.next { right: 0; }

.media-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
}

.media-carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(200,168,75,0.75);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}

.media-carousel-dot.active {
  width: 28px;
  background: var(--dorado);
}

.visuales-bloque + .visuales-bloque {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(74,140,63,0.14);
}

.visuales-subheader {
  margin-bottom: 1.5rem;
}

.visuales-subheader h3 {
  color: var(--verde-oscuro);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 0.4rem;
  font-weight: 800;
}

.visuales-subheader p {
  max-width: 720px;
  color: #666;
  line-height: 1.6;
}

.visuales-carousel .infografias-grid > img {
  height: 470px;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08) !important;
  padding: 0.5rem;
}

.visuales-carousel .galeria-grid > .galeria-item {
  height: 310px;
}

/* Modal: cierre limpio y visible */
.modal-close {
  top: 1rem !important;
  right: 1rem !important;
  width: 48px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--rojo-alerta) !important;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.75) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28) !important;
  line-height: 1 !important;
  padding: 0 !important;
  z-index: 20 !important;
}

.modal-close span {
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-1px);
}

/* Videos: grid responsivo sin carrusel */
.videos-grid-responsivo,
#videos .videos-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.35rem !important;
  transform: none !important;
}

#videos .video-card {
  border-radius: 24px !important;
  min-width: 0;
  touch-action: manipulation;
}

#videos .video-info {
  min-height: 150px;
  display: flex;
  flex-direction: column;
}

#videos .video-info h3 {
  min-height: 4em;
}

/* Contacto de emergencia */
.reporte-emergencia {
  background: linear-gradient(135deg, #fff8f8 0%, #fff 56%, rgba(139,32,32,0.08) 100%) !important;
  border: 2px solid rgba(139,32,32,0.28) !important;
  border-left: 10px solid var(--rojo-alerta) !important;
  border-radius: 32px !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  padding: 2rem !important;
  gap: 1.2rem !important;
  box-shadow: 0 18px 48px rgba(139,32,32,0.16) !important;
}

.reporte-emergencia-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: var(--rojo-alerta);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(139,32,32,0.25);
}

.reporte-emergencia-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.reporte-emergencia-info h3 {
  color: var(--verde-oscuro);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  margin-bottom: 0.45rem;
}

.reporte-call,
.reporte-call-mobile {
  align-self: center;
  border-radius: 999px !important;
  font-weight: 900 !important;
  text-align: center !important;
}

.reporte-call-mobile {
  display: none !important;
  background: var(--rojo-alerta);
  color: #fff;
  text-decoration: none;
  padding: 1.1rem 1.4rem;
  font-size: 1rem;
  box-shadow: 0 12px 28px rgba(139,32,32,0.28);
}

@media (max-width: 1100px) {
  .alerta-ticker { margin-top: 92px; }
  .hero { padding-top: 4rem !important; min-height: auto !important; }

  .boletines-carousel .boletin-card,
  .visuales-carousel .infografias-grid > img,
  .visuales-carousel .galeria-grid > .galeria-item {
    flex-basis: calc(50% - 0.75rem);
  }

  .videos-grid-responsivo,
  #videos .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .alerta-ticker {
    margin-top: 82px;
    grid-template-columns: 1fr;
  }

  .alerta-ticker-label {
    justify-content: center;
    padding: 0.72rem 1rem;
    font-size: 0.78rem;
  }

  .alerta-ticker-content {
    font-size: 0.82rem;
    gap: 2rem;
    padding: 0.65rem 0 0.65rem 100%;
  }

  .boletines-carousel,
  .visuales-carousel {
    padding: 0 2.75rem 2.8rem;
  }

  .boletines-carousel .boletin-card,
  .visuales-carousel .infografias-grid > img,
  .visuales-carousel .galeria-grid > .galeria-item {
    flex-basis: 100%;
    margin-right: 1rem;
  }

  .media-carousel-btn {
    width: 40px;
    height: 58px;
    font-size: 2.35rem;
  }

  .videos-grid-responsivo,
  #videos .videos-grid {
    grid-template-columns: 1fr !important;
  }

  #videos .video-info h3 {
    min-height: 0;
  }

  .reporte-emergencia {
    grid-template-columns: 1fr !important;
    padding: 1.5rem !important;
    text-align: center;
  }

  .reporte-emergencia-icon {
    margin: 0 auto;
  }

  .reporte-call-desktop {
    display: none !important;
  }

  .reporte-call-mobile {
    display: flex !important;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .boletines-carousel,
  .visuales-carousel {
    padding-left: 2.35rem;
    padding-right: 2.35rem;
  }

  .visuales-carousel .infografias-grid > img {
    height: 390px;
  }
}

.media-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%);
}

@media (prefers-reduced-motion: reduce) {
  .alerta-ticker-content,
  .media-carousel-track {
    animation: none !important;
    transition: none !important;
  }
}


/* Ajustes solicitados: carruseles, boletines uniformes y nav Reportar caso */
html {
  scroll-padding-top: 120px;
}

.boletines-carousel .media-carousel-track {
  align-items: stretch;
}

.boletines-carousel .boletin-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 610px;
}

.boletines-carousel .boletin-card > img {
  height: 220px !important;
  min-height: 220px;
  flex: 0 0 220px;
  object-fit: cover;
}

.boletines-carousel .boletin-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.boletines-carousel .boletin-fecha {
  min-height: 1.2rem;
}

.boletines-carousel .boletin-card-body h3 {
  min-height: 6.2em;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.boletines-carousel .boletin-preview {
  min-height: 7em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.boletines-carousel .boletin-card-body button {
  margin-top: auto;
  align-self: flex-start;
}

.media-carousel-btn:disabled {
  opacity: 1;
  cursor: pointer;
}

.nav-links a[href="#reportar-caso"] {
  color: var(--rojo-alerta);
  font-weight: 900;
}

.nav-links a[href="#reportar-caso"]::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.25rem;
  background: var(--rojo-alerta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a[href="#reportar-caso"]:hover::after {
  transform: scaleX(1);
}

@media (max-width: 1100px) {
  .boletines-carousel .boletin-card {
    min-height: 590px;
  }

  .boletines-carousel .boletin-card-body h3 {
    min-height: 5.1em;
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 150px;
  }

  .boletines-carousel .boletin-card {
    min-height: auto;
  }

  .boletines-carousel .boletin-card > img {
    height: 210px !important;
    min-height: 210px;
    flex-basis: 210px;
  }

  .boletines-carousel .boletin-card-body h3,
  .boletines-carousel .boletin-preview {
    min-height: auto;
  }
}
