/* ===== SECCIÓN DE VIDEO PANTALLA COMPLETA ===== */
.video-section {
    position: relative;
    margin-top: 50px;
    width: 100%;
    height: clamp(60vh, 80vh, 100vh);
    /* Altura adaptable */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: "Inter", sans-serif;
    text-align: center;
    box-sizing: border-box;
}

/* ===== VIDEO DE FONDO ===== */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ===== CAPA DE SOMBRA ===== */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 30, 0.45);
    /* mejora contraste en todas las pantallas */
    z-index: 2;
    backdrop-filter: brightness(0.9);
}

/* ===== CONTENIDO CENTRAL ===== */
.video-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 clamp(12px, 4vw, 40px);
    text-align: center;
    animation: fadeInVideo 1.2s ease-out forwards;
    opacity: 0;
}

/* Animación suave */
@keyframes fadeInVideo {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== TIPOGRAFÍA RESPONSIVA ===== */
.video-content h1 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: #f2f4f7;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* ===== BOTÓN OPCIONAL ===== */
.video-content .btn-video {
    margin-top: 30px;
    padding: 12px 28px;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    background: #d01341;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-content .btn-video:hover {
    background: #ffffff;
    color: #d01341;
}

/* ===== RESPONSIVE ===== */

/* 💻 Tablets (≤1024px) */
@media (max-width: 1024px) {
    .video-section {
        height: 70vh;
    }

    .video-content h1 {
        font-size: 2.5rem;
    }
}

/* 📱 Celulares grandes (≤768px) */
@media (max-width: 768px) {
    .video-section {
        height: 65vh;
        margin-top: 30px;
    }

    .video-overlay {
        background: rgba(10, 20, 30, 0.55);
        /* más oscura para texto legible */
    }

    .video-content {
        padding: 0 20px;
    }

    .video-content h1 {
        font-size: 2rem;
    }

    .video-content p {
        font-size: 1rem;
    }

    .video-content .btn-video {
        padding: 10px 24px;
        font-size: 1rem;
    }
}

/* 📲 Celulares pequeños (≤480px) */
@media (max-width: 480px) {
    .video-section {
        height: 55vh;
        margin-top: 20px;
        width: 100vw;
    }

    .video-content h1 {
        font-size: 1.6rem;
    }

    .video-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .video-content .btn-video {
        padding: 8px 20px;
        font-size: 0.9rem;
    }


}