/* ==============================================================
   4. SECCIÓN INICIO Y CONTADOR (Hero)
   ============================================================== */
#inicio {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75vh !important;
  min-height: 500px; 
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px; 
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.overlay {
  background: radial-gradient(circle,rgba(3, 53, 96, 0.94) 20%, rgba(19, 95, 144, 0.75) 91%);
  opacity: 0.75;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
#inicio .container {
  z-index: 2;
  position: relative;
  width: 100%;
}
#inicio h1 {
  color: #ffffff;
  font-size: 35px;
  line-height: 1.2;
}
#inicio p {
  color: #f9f9f9;
}
/* Cajas del Contador */
.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}
.countdown-box {
  background: linear-gradient(135deg, #135F90 0%, #033560 100%);
  border-radius: 12px;
  padding: 15px 20px;
  min-width: 95px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(126, 168, 217, 0.3);
  backdrop-filter: blur(5px);
}
.countdown-box .number {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 5px;
}
.countdown-box .label {
  font-size: 14px;
  text-transform: uppercase;
  color: #7EA8D9;
  font-weight: 600;
  letter-spacing: 1px;
}
.btn-hero-cta {
    background: linear-gradient(0deg, #135F90 0%, #033560 100%);
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 45px;
    border-radius: 50px;
    border: 2px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 25px;
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: #033560 !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}
@media (max-width: 1220px) {
  #inicio, .overlay {
    height: auto !important; /* Permite que el contenedor crezca si es necesario */
    min-height: 90vh !important;
  }
}
@media (max-width: 574px) {
  #inicio, .overlay {
   height: auto !important; /* Permite que el contenedor crezca si es necesario */
   min-height: 100vh !important;
  }		
}
@media (max-width: 480px) {
  /* Forzamos la reducción tipográfica en móvil para evitar el desbordamiento */
  #inicio h1 { font-size: 26px !important; line-height: 1.2 !important; }
  #inicio p:nth-of-type(1) { font-size: 18px !important; line-height: 1.4 !important; } /* Subtítulo principal */
  #inicio p:nth-of-type(2) { font-size: 16px !important; } /* Fecha */
  #inicio p:nth-of-type(3) { font-size: 15px !important; } /* Texto del contador */
  #inicio .container { padding-top: 30px; }

  .countdown-wrapper {
    gap: 8px;
    margin: 15px 0;
  }
  .countdown-box {
    padding: 10px 12px;
    min-width: 70px;
  }
  .countdown-box .number {
    font-size: 28px;
  }
  .countdown-box .label {
    font-size: 11px;
  }
}