.banner {
  position: relative;
  height: 92vh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-banner {
  position: absolute;
  inset: 0;
}
.banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7,32,96,0.78) 0%,
    rgba(11,61,145,0.55) 50%,
    rgba(0,134,172,0.35) 100%
  );
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 780px;
  padding: 0 32px;
  animation: heroFadeUp 0.9s ease both;
}
@keyframes heroFadeUp {
  from { opacity:0; transform: translateY(28px); }
  to   { opacity:1; transform: translateY(0); }
}

.banner-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.banner-eyebrow::before,
.banner-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 48px;
  background: var(--teal-light);
  opacity: 0.6;
}

.banner-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.banner-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.banner-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.banner-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--azul);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.28s ease;
  box-shadow: 0 4px 20px rgba(11,61,145,0.4);
}
.banner-btn-primary:hover {
  background: #fff;
  color: var(--azul);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,0.25);
}
.banner-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: all 0.28s ease;
}
.banner-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}

.banner-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.banner-scroll span {
  display: block;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: translateY(0); opacity:1; }
  75%      { transform: translateY(18px); opacity:0; }
}

.gif-archivo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: var(--fondo-alt, #eef1f8);
}

.gif-archivo {
  max-width: 270px;   
  width: 100%;
  height: auto;
  display: block;
  background: var(--fondo-alt, #eef1f8);
}

.seccion-archivo {
    width: 100%;
    padding: 68px 40px;
    text-align: center;
    background: var(--fondo-alt, #eef1f8);
}

.container-full {
    max-width: 1200px;
    margin: 0 auto;
}

.sec-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--teal, #0086AC);
    margin-bottom: 8px;
}

.sec-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--azul-dark, #072060);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.sec-desc {
    color: var(--texto-sub, #4a5568);
    font-size: 1rem;
    max-width: 700px;
    line-height: 1.7;
    margin: 0 auto 2.5rem auto;
}

.texto-archivo {
    width: 100%;
    text-align: left;
}

.texto-archivo p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--texto-sub, #4a5568);
    margin-bottom: 20px;
}

.texto-archivo p:last-child {
    margin-bottom: 0;
}

.texto-archivo strong {
    color: var(--teal, #0086AC);
    font-weight: 600;
}

@media (max-width: 768px) {
    .seccion-archivo {
        padding: 40px 20px;
    }
    
    .sec-title {
        font-size: 1.6rem;
    }
    
    .sec-desc {
        font-size: 0.9rem;
    }
    
    .texto-archivo p {
        font-size: 0.85rem;
        line-height: 1.7;
    }
}

.timeline-section {
  padding: 80px 0;
  background: var(--fondo-alt);
  width: 100%;
  overflow-x: auto;
}

.timeline-preview-small {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: 2rem auto 0 auto;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.timeline-preview-small img {
  width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.timeline-preview-small:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.preview-overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    rgba(11,61,145,0.1) 0%, 
    rgba(0,134,172,0.05) 50%,
    rgba(11,61,145,0.1) 100%);
  pointer-events: none;
  transition: all 0.3s ease;
}

.timeline-preview-small:hover .preview-overlay-light {
  background: linear-gradient(90deg, 
    rgba(11,61,145,0.05) 0%, 
    rgba(0,134,172,0.02) 50%,
    rgba(11,61,145,0.05) 100%);
}

.preview-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.7rem;
  color: white;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.timeline-preview-small:hover .preview-label {
  background: var(--teal);
}

.preview-label i {
  font-size: 0.75rem;
}

.preview-label span {
  font-size: 0.65rem;
}

.timeline-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-nav {
  background: var(--azul);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
}

.timeline-nav:hover {
  background: var(--teal);
  transform: scale(1.05);
}

.timeline-container {
  display: flex;
  align-items: center;
  gap: 60px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 40px 5% 100px 5%;
  position: relative;
  width: 100%;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(0,134,172,0.3) 5%,
    rgba(0,134,172,0.5) 50%,
    rgba(0,134,172,0.3) 95%,
    transparent 100%
  );
  transform: translateY(-50%);
  border-radius: 2px;
  pointer-events: none;
}

.timeline-item {
  scroll-snap-align: center;
  flex-shrink: 0;
  width: 300px;
  position: relative;
  transition: all 0.4s ease-out;
  opacity: 0;
  transform: translateY(30px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.top { margin-top: -80px; }
.timeline-item.bottom { margin-top: 80px; }

.year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--teal);
  background: var(--blanco);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--teal);
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.timeline-item.top .year { bottom: -30px; }
.timeline-item.bottom .year { top: -30px; background: var(--azul); color: var(--blanco); border-color: var(--oro); }

.timeline-content {
  background: var(--blanco);
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--borde);
  box-shadow: var(--sombra);
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
  border-color: var(--teal-light);
}

.timeline-content img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
}

.timeline-content h3 {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--azul);
  line-height: 1.4;
}

.timeline-content .text {
  margin-top: 0;
  color: var(--texto-sub);
  line-height: 1.6;
  font-size: 0.85rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.timeline-content.active .text {
  margin-top: 12px;
  max-height: 300px;
  opacity: 1;
}

.timeline-container::-webkit-scrollbar {
  height: 6px;
}

.timeline-container::-webkit-scrollbar-track {
  background: rgba(0,134,172,0.1);
  border-radius: 10px;
}

.timeline-container::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 10px;
}

@media (max-width: 900px) {
  .timeline-container {
    gap: 40px;
    padding: 40px 8% 80px 8%;
  }
  
  .timeline-item {
    width: 260px;
  }
  
  .timeline-item.top, 
  .timeline-item.bottom { 
    margin-top: 0; 
  }
  
  .year {
    top: -28px;
    bottom: auto;
  }
  
  .timeline-item.top .year {
    background: var(--azul);
    color: var(--blanco);
    border-color: var(--oro);
  }
  
  .timeline-content {
    margin-top: 28px;
  }
  
  .timeline-preview-small {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .timeline-section {
    padding: 50px 0;
  }
  
  .timeline-wrapper {
    gap: 0;
  }

  .timeline-container {
    gap: 20px;
    padding: 20px 15px 60px 15px;
    scroll-snap-type: x mandatory;
  }

  .timeline-item {
    width: 220px;
  }

  .timeline-item.top, 
  .timeline-item.bottom {
    margin-top: 0;
  }

  .timeline-item.top .year,
  .timeline-item.bottom .year {
    top: -25px;
    bottom: auto;
    background: var(--azul);
    color: var(--blanco);
    border-color: var(--oro);
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  .timeline-content {
    margin-top: 25px;
    padding: 12px;
  }

  .timeline-content img {
    height: 120px;
  }

  .timeline-content h3 {
    font-size: 0.85rem;
    margin-top: 8px;
  }

  .timeline-content .text {
    font-size: 0.75rem;
  }

  .timeline-nav {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
  }

  .timeline-nav.prev {
    left: 5px;
  }

  .timeline-nav.next {
    right: 5px;
  }

  .timeline-container::before {
    top: 50%;
  }
  
  .timeline-preview-small {
    max-width: 280px;
  }
  
  .preview-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .preview-overlay p {
    font-size: 0.7rem;
  }

  .preview-badge {
    font-size: 0.6rem;
  }
}

.voces-section {
    background: var(--fondo);
    padding: 4rem 0 5rem;
}

.voces-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.voces-section .section-desc {
    font-size: 0.88rem;
    color: var(--texto-sub);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.voces-grid {
    columns: 3 320px;
    column-gap: 2rem;
}

.voz-card {
    break-inside: avoid;
    margin-bottom: 2rem;
    background: var(--blanco);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

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

.voz-card__img {
    width: 100%;
    overflow: hidden;
}

.voz-card__img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.voz-card:hover .voz-card__img img {
    transform: scale(1.05);
}

.voz-card--large .voz-card__img img {
    height: 320px;
}

.voz-card__content {
    padding: 1.5rem;
}

.voz-card__tag {
    display: inline-block;
    background: var(--oro-light);
    color: var(--teal);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.voz-card__content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--azul-dark);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.voz-card__content p {
    font-size: 0.85rem;
    color: var(--texto-sub);
    line-height: 1.7;
}

.voz-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--borde);
}

.voz-card__author,
.voz-card__likes {
    font-size: 0.75rem;
    color: var(--texto-sub);
    display: flex;
    align-items: center;
    gap: 6px;
}

.voz-card__likes i {
    transition: all 0.2s ease;
    cursor: pointer;
}

.voz-card__likes i:hover {
    color: var(--rojo);
    transform: scale(1.1);
}

.voz-card--quote {
    background: linear-gradient(135deg, var(--azul) 0%, var(--teal) 100%);
    padding: 2rem 1.8rem;
    text-align: center;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1rem;
}

.voz-card--quote h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--blanco);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
}

.voz-card--note {
    background: #fffdf7;
    padding: 1.8rem;
    position: relative;
    border-left: 4px solid var(--oro);
}

.note-pin {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    background: var(--rojo);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.voz-card--note h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.voz-card--note p {
    font-size: 0.9rem;
    color: var(--texto-sub);
    line-height: 1.7;
    font-style: italic;
}