.banner-docentes {
    background-color: #FF0000;
    padding: 8px 0;
    width: 100%;
}

.banner-text {
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0;
}

.banner-text span {
    color: #FFDD01;
}

/* ==========================
   SECCIÓN HERO VIDEO
   ========================== */

.hero-video {
    color: #fff;
    padding: 50px 0;
    background-image: url('../../img/landingnombramiento/portada.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}


/* Título */
.hero-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

.hero-title span {
    color: #ffdb00;
}

/* Subtítulo */
.hero-subtitle {
    font-size: 16px;
    color: #fff;
    margin-top: 10px;
    font-weight: 600;
}

/* Indicador */
.hero-indicator {
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
}

.para-video {
    padding: 0 10%;
    margin-bottom: 20px;
}

/* CTA */
.cta-button {
    background: #ffdb00;
    color: #000;
    border-radius: 30px;
    font-weight: 800;
    padding: 15px 40px;
    text-transform: uppercase;
    transition: 0.2s ease;
    width: max-content;
    font-size: 16px;
    margin-top: 20px;
}


.cta-button:hover {
    color: #000;
}

.cta-text {
    margin-top: 8px;
    font-size: 13px;
    color: #fff;
    font-style: italic;
    font-weight: 600;
}

/* ==========================
   SECCIÓN EXCLUSIVO
   ========================== */

.exclusivo-section {
    background: #000;
    padding: 20px 0;
}

.exclusivo-box {
    border: 2px solid #ff0000;
    border-radius: 12px;
    padding: 25px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.exclusivo-title {
    margin: 0 0 12px;
    font-style: italic;
}

.exclusivo-title span {
    display: inline-block;
    border-bottom: 4px solid #FF0000;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exclusivo-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.exclusivo-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* ==========================
   SECCIÓN VENTAJA
   ========================== */

.ventaja-section {
    background: #000;
    padding-top: 60px;
    padding-bottom: 60px;
    color: #fff;
}


.ventaja-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin-top: 0;
}

.ventaja-title span {
    color: #FF0000;
    /* Rojo destacado */
    font-weight: 800;
}

.ventaja-sub {
    font-size: 20px;
    margin-top: 20px;
}

/* ==========================
   TESTIMONIOS
   ========================== */

.testimonios-section {
    background: #000;
    background-image: url('../../img/landingnombramiento/fondo-testimonios.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 80px;
    padding-bottom: 80px;
    color: #fff;
}


/* TEXTOS */
.testimonios-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.testimonios-title span {
    color: #ff3b3b;
}

.testimonios-subtitle {
    margin: 10px 0;
    color: #cfcfcf;
    font-size: 16px;
    font-style: italic;
}

/* === CONFIGURACIÓN BASE === */

.slider-wrapper {
    width: 100%;
    height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-container {
    width: 70%;
    height: 100%;
    position: relative;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: transform .35s ease, opacity .35s ease, z-index .35s ease;
}

/* Tarjeta */
.cardvideo {
    width: 320px;
    height: 550px;
    overflow: hidden;
    position: relative;
}

/* iframe / imagen */
.cardvideo iframe,
.cardvideo .preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Por defecto: mostrar solo la imagen, ocultar video */
.cardvideo .preview {
    display: block;
}

.cardvideo iframe {
    display: none;
}

/* En el slide CENTRAL (activo): mostrar video y ocultar imagen */
.slide.active .preview {
    display: none;
}

.slide.active iframe {
    display: block;
}


/* solo el slide central clickeable */
.slide {
    pointer-events: none;
}

.slide.active {
    pointer-events: auto;
}

.nav-img {
    width: 70px;
    height: auto;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    transition: .2s ease;
}

.nav-img.prev {
    left: -50px;
    /* ajusta según tu diseño */
}

.nav-img.next {
    right: -50px;
    /* ajusta según tu diseño */
}




/* CTA */
.testimonios-btn {
    display: inline-block;
    margin-top: 35px;
    background: #ffe600;
    color: #000 !important;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.testimonios-btn:hover {
    background: #fff44a;
}

.testimonios-note {
    margin-top: 8px;
    font-size: 13px;
    color: #cfcfcf;
}

@media only screen and (max-width: 1350px) {
    .hero-video {
        padding: 30px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-indicator {
        margin-top: 15px;
    }

    .cta-button {
        margin-top: 15px;
    }

    .exclusivo-box {
        width: 80%;
    }

    .ventaja-section {
        padding: 30px 0;
    }

    .ventaja-title {
        font-size: 20px;
    }

    .ventaja-sub {
        font-size: 16px;
        margin-top: 15px;
    }

    .testimonios-section {
        padding: 40px 0;
    }

    .testimonios-title {
        font-size: 24px;
    }

    .nav-img {
        width: 50px;
    }

    .nav-img.prev {
        left: -40px;
        /* ajusta según tu diseño */
    }

    .nav-img.next {
        right: -40px;
    }

}

@media only screen and (max-width: 1300px) {
    .nav-img {
        width: 40px;
    }

    .nav-img.prev {
        left: 0px;
        /* ajusta según tu diseño */
    }

    .nav-img.next {
        right: 0px;
    }

}

@media only screen and (max-width: 567px) {

    .banner-docentes {
        text-align: center;
    }

    .banner-text {
        font-size: 14px;
    }

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

    .hero-title {
        font-size: 18px;
    }

    .hero-indicator {
        margin-top: 10px;
    }

    .cta-button {
        margin-top: 10px;
    }

    .exclusivo-box {
        width: 90%;
        padding: 15px;
    }

    .ventaja-section {
        padding: 20px 0;
    }

    .ventaja-title {
        font-size: 16px;
    }

    .ventaja-sub {
        font-size: 13px;
        margin-top: 15px;
    }

    .testimonios-section {
        padding: 20px 0;
    }

    .testimonios-title {
        font-size: 18px;
    }

    .hero-subtitle,
    .hero-indicator,
    .exclusivo-text,
    .testimonios-subtitle {
        font-size: 13px;
    }

    .para-video {
        padding: 0;
        margin-bottom: 10px;
    }

    .cta-button {
        border-radius: 10px;
        padding: 10px 20px;
        font-size: 13px;
        margin-top: 10px;
    }

    .exclusivo-title span {
        border-bottom: 2px solid #FF0000;
        font-size: 16px;
    }

    .nav-img {
        width: 30px;
    }

    .nav-img.prev {
        left: -10px;
        /* ajusta según tu diseño */
    }

    .nav-img.next {
        right: -10px;
    }



}