/* ============================================== */
/* === ESTILOS PARA EL VIDEO DE FONDO (HERO) ==== */
/* ============================================== */

/* Elimina el espacio entre el encabezado (menú) y el bloque del video */
.main-header {
    margin-bottom: 0;
    border-bottom: none;
    /* Elimina la línea divisoria para una fusión perfecta */
}

.hero-video-container {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Extiende el div al ancho total de la pantalla */
    min-height: 80vh;
    /* Altura del banner */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 80px;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.85);
    /* Color primary de tu web con 85% de opacidad */
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
}

/* Conservamos los tamaños originales de tu index */
.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

/* Responsividad para móviles respetando tu diseño previo */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .hero-video-container {
        min-height: 60vh;
    }
}