/* Estilos exclusivos para el Banner Responsivo */
.hero { 
    position: relative; 
    overflow: hidden; 
    width: 100%;
    /* Proporción exacta para fotos 1920x720 (720/1920*100 = 37.5) */
    height: 37.5vw; 
    min-height: 300px; /* Altura mínima para legibilidad en móviles */
    background: #000;
}

.slider-container { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* 'contain' asegura que la imagen se vea COMPLETA en cualquier pantalla */
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.slide.active { opacity: 1; z-index: 2; }

/* Capa de texto sobre el slider */
.hero-overlay { 
    z-index: 10; 
    position: relative; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    background: rgba(0,0,0,0.3); /* Sombra suave para leer el texto */
}

/* Ajustes para Pantallas Pequeñas (Móviles) */
@media (max-width: 768px) {
    .hero { height: 50vw; } /* Aumentamos un poco el alto en móvil para que el texto quepa */
    .hero-content h1 { font-size: 1.4rem !important; margin-bottom: 5px; }
    .hero-content p { font-size: 0.85rem !important; margin-bottom: 15px; }
    .btn-urgencia, .btn-secundario { padding: 8px 16px !important; font-size: 0.75rem; }
}