/* ── Be Vietnam Pro – fuente corporativa rediseño online/b-learning/sabatino ── */
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Be Vietnam Pro';
    src: url('../fonts/BeVietnamPro/BeVietnamPro-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Fuente global para las páginas de rediseño */
body {
    font-family: 'Be Vietnam Pro', sans-serif;
}

/* Clases utilitarias de fuente */
.font-vietnam {
    font-family: 'Be Vietnam Pro', sans-serif;
}
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Botones laterales */
.container-btns {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 150px;
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    align-items: flex-end;
}


.section-carrusel {
    height: 920px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background: #0F0E24;
}

.slider {
    height: 920px;
}

.item {
    width: 220px;
    height: 260px;
    list-style-type: none;
    position: absolute;
    top: 61%;
    transform: translateY(-20%);
    z-index: 1;
    background-position: top;
    background-size: cover;
    border-radius: 20px;
    box-shadow: 0 20px 30px rgba(255, 255, 255, 0.3) inset;
    transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;

    &:nth-child(1),
    &:nth-child(2) {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transform: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
    }

    &:nth-child(3) {
        left: 60%;
        transform: scale(1.2);
        top: 53%;
        border: 3px solid #fff;
        background-position: top;
    }

    &:nth-child(4) {
        left: calc(65% + 220px);
    }


    &:nth-child(5) {
        left: calc(82% + 220px);
    }

    &:nth-child(6) {
        left: calc(100% + 220px);
        opacity: 0;
    }
}

.content {
    width: min(40vw, 550px);
    position: absolute;
    top: 50%;
    left: 7rem;
    transform: translateY(-50%);
    color: white;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: none;

    & .title {
        text-transform: uppercase;
        font-size: 70px;
        font-weight: 800;

        & span.online {
            font-size: 50px;
            font-weight: 700;
            font-style: italic;
        }
    }

    & .description {
        font-weight: 400;
        margin: 1rem 0 1.5rem;
        font-size: 34px;
    }

    & a {
        width: fit-content;
        background-color: rgba(0, 0, 0, 0.1);
        color: white;
        border: 2px solid white;
        border-radius: 10px;
        padding: 0.75rem;
        cursor: pointer;
        text-decoration: none;
        font-size: 19px;
    }
}

.item:nth-of-type(2) .content {
    display: block;
    animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
    0% {
        filter: blur(5px);
        transform: translateY(calc(-50% + 75px));
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    user-select: none;

    & .btn {
        background-color: rgba(255, 255, 255, 0.5);
        color: rgba(0, 0, 0, 0.7);
        border: 2px solid rgba(0, 0, 0, 0.6);
        margin: 0 0.25rem;
        padding: 0.75rem;
        border-radius: 50%;
        cursor: pointer;

        &:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }
    }
}

@media (width > 650px) and (width < 900px) {
    .content {
        padding-top: 100px;

        & .title {
            font-size: 2.3rem;
        }

        & .description {
            font-size: 1rem;
        }

        & button {
            font-size: 0.7rem;
        }
    }

    .item {
        width: 220px;
        height: 260px;
        top: 64%;

        &:nth-child(3) {
            left: 78%;
        }

        &:nth-child(4) {
            left: calc(80% + 170px);
        }

        /* &:nth-child(5) {
                                                                                                                                left: calc(66% + 340px);
                                                                                                                            }

                                                                                                                            &:nth-child(6) {
                                                                                                                                left: calc(66% + 510px);
                                                                                                                                opacity: 0;
                                                                                                                            } */
    }
}

@media (width < 650px) {
    .content {
        position: static;
        width: 90%;
        margin: 250px auto;
        padding-top: 100px;

        & .title {
            font-size: 1.5rem;
        }

        & .description {
            font-size: 1.2rem;
        }

        & button {
            font-size: 0.9rem;
        }
    }

    .item {
        width: 220px;
        height: 260px;


        &:nth-child(3) {
            left: 10%;
            top: 60%;
        }

        &:nth-child(4) {
            left: calc(40% + 150px);
            top: 68%;
        }

        /* &:nth-child(5) {
            left: calc(65% + 280px);
        }

        &:nth-child(6) {
            left: calc(65% + 420px);
            opacity: 0;
        } */
    }
}


/* Section online */
.section-online {
    background: #EAF2FF;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 10px;
}

.section-online div.container-online {
    background: #100E24;
    border-radius: 20px;
    width: 90%;
    margin: auto;
    padding: 40px 10px;
}

.section-online div.container-online img.computadora {
    width: 80%;
    margin: auto;
    max-width: 127px;
}

.section-online div.container-online h2 {
    font-size: 32px;
    font-weight: 500;
    width: 70%;
    margin: auto
}

.section-online div.container-online p {
    font-size: 24px;
    font-weight: 400;
}

.section-online div.container-online a.btn-acceder-online {
    width: 287px;
    border-radius: 10px;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    background: #ffffff00;
    display: inline-block;
    text-decoration: none;
    padding: 15px 0;
}

/* End section online */

.section-estadisticas .porcentaje {
    color: #5F0DA6;
}

/* section-estadisticas-nueva → convertida a Tailwind */

.section-online div.container-online img.img-estudiante {
    width: 45%;
}

/* ── Anular reglas de posgrados.css que conflictan con el diseño Online ── */

/* section-oferta-academica (sidebar + grid) → convertida a Tailwind */

/* section-pasos → convertida a Tailwind */

/* section-plataforma → convertida a Tailwind */

/* section-modalidad-online → convertida a Tailwind */

/* section-info-online → convertida a Tailwind */

/* Paso a Paso */
/* .paso_a_paso {
                                                                background-color: #100E24;
                                                            } */

.paso_a_paso h3 {
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #91268F;
    color: #FFFFFF;
    font-size: 66px;
    font-weight: 700;
    margin-top: 45px;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.paso_a_paso h4 {
    color: #91268F;
    font-size: 50px;
    font-weight: 700;
    margin-top: 5px;
}

.paso_a_paso .line-paso {
    height: 95%;
    width: 10px;
    background-repeat: no-repeat;
    background: url("/assets/img/online-redi/linea-uvp.svg");
    background-size: cover;
    background-position: center;
}

.paso_a_paso .logo-uvp-paso {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%)
}

.paso_a_paso span.resaltar {
    color: #FECD01;
}

.paso_a_paso p.numero {
    font-size: 144px;
    color: #91268F;
    font-weight: bold;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.paso_a_paso a.btn_paso_a_paso {
    border: 1px solid #333333;
    border-radius: 15px;
    padding: 7px 40px;
    margin: 10px 0;
    display: inline-block;
    text-decoration: none;
}

.paso_a_paso .contenedor-pasos {
    height: 520px;
}

.paso_a_paso .contenedor-pasos p {
    font-size: 24px;

}

.paso_a_paso .contenedor-pasos p.numero {
    font-size: 146px;
}

/* Oferta Academica */
.section-info-academica .container-oferta .carousel-cell .body-card {
    border-radius: 30px
}

.section-beneficios .card-beneficios {
    max-width: 440px;
    height: 282px;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section-info {
    background: none;
    max-width: 1020px;
    margin: 80px auto;
}

.section-info h2 {
    font-size: 70px;
    color: #333333;
}

.section-info p {
    font-size: 34px;
    color: #333333;
}

/* Beneficios */
.section-beneficios {
    background-color: #F9F9F9;
}

.section-beneficios .card-beneficios {
    background-color: #91268F;
    color: #fff;
}

.section-beneficios .card-beneficios h3 {
    color: #FED900;
}


/* .section-banner::before desactivado para que el fondo del hero coincida exactamente con posgrados-re */

.section-beneficios .card-beneficios.online {
    background-color: #91268F !important;
    color: #ffffff;
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-beneficios .card-beneficios.online-beneficios {
    background-color: #5F0DA6 !important;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.section-beneficios .card-beneficios.online-beneficios h3 {
    color: #FED900 !important;
}

/* .btn-inscribete {
    background-color: ;
} */

@media screen and (min-width: 768px) {
    .section-online div.container-online h2 {
        font-size: 68px;
    }

    .section-online div.container-online img.computadora {
        width: 20%;
        max-width: 296px;
    }

    .section-online {
        padding: 81px 10px;
    }

    .section-online div.container-online {
        padding: 66px 10px;
    }
}

.btn.btn-primary {
    background-color: #8D11F9;
    border-radius: 10px;
    /* padding: 0 25px; */
    line-height: 12px;
    margin-right: 8px;
    height: 40px;
    width: 114px;
    font-size: 13px;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.navbar-toggler {
    padding: 0;
    border: none;
}

.btn-uvp-online{
	background-color: #F9C300;
	color: #8901C3 !important;
	display: inline-block;
	text-align: center !important;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	font-family: 'Be Vietnam Pro', sans-serif;
	border-radius: 30px;
	border: none;
	padding: 8px 20px !important;
	max-width: 240px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	width: 100%;
}

@media (max-width: 768px) {
    .btn-uvp-online{
        width: 100%;
        display: block !important;
        border-radius: 0 0 16px 16px;
        max-width: 100%;
    }
}

@media (min-width: 2400px) {
    .slider, .section-carrusel {
        height: 1200px;
    }
}

/* ============================================================
   Hero carousel — online_re
   ============================================================ */

/* Banner background gradient */
.section-banner {
    background: radial-gradient(76.21% 163.19% at 16.01% 115.12%, rgba(255, 204, 0, 1) 0%, rgba(209, 19, 49, 1) 39.7%, rgba(151, 29, 122, 1) 76.32%, rgba(95, 13, 166, 1) 100%) !important;
    display: flex !important;
    align-items: center !important;
}

.section-banner .container-title {
    max-width: 624px !important;
    left: 15%;
}

.section-banner .container-title a {
    font-size: 16px !important;
}

.section-banner .container-title h1 {
    font-size: 58px;
    line-height: 116%;
    letter-spacing: -5%;
}

.section-banner .container-title p {
    font-size: 20px;
    line-height: 150%;
    letter-spacing: -3%;
    margin-top: 24px;
}

main:has(.section-banner) {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Custom Swiper dimensions and styles scoped to swiper-online */
.swiper-online {
    width: 100%;
    height: 1020px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-online .swiper-slide {
    width: 100%;
    height: 1040px !important;
    overflow: visible;
    z-index: 2;
    background: transparent !important;
}

.swiper-online .swiper-slide > .homscarousel {
    background-position: bottom;
    background-size: cover;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    box-sizing: border-box;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    max-width: 500px;
}

.swiper-online .swiper-wrapper > .swiper-slide:not(.swiper-slide-active) > .homscarousel {
    opacity: 0.04;
}

.swiper-online .swiper-wrapper > .swiper-slide-active > .homscarousel {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.4);
}

.swiper-online .swiper-slide::before {
    content: none !important;
    display: none !important;
}

.swiper-online .swiper-slide-shadow-left,
.swiper-online .swiper-slide-shadow-right,
.swiper-online .swiper-slide-shadow-coverflow,
.swiper-online .swiper-slide-shadow {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* .cotizador-beca {
    background: url(../img/online-redi/images/B8.jpg);
    background-repeat: no-repeat;
    background-size: cover;

} */

@media screen and (min-width: 768px) {
    .swiper-online {
        height: 820px;
    }

    .swiper-online .swiper-slide {
        width: 100%;
        height: 820px !important;
        background: transparent !important;
    }

    .swiper-online .swiper-wrapper > .swiper-slide:not(.swiper-slide-active) > .homscarousel {
        opacity: 1; /* Reset mobile style */
    }

    .swiper-online .swiper-wrapper > .swiper-slide-active > .homscarousel {
        border-color: transparent; /* Reset mobile active border */
    }

    .swiper-online .swiper-wrapper > .swiper-slide:not(.swiper-slide-next) > .homscarousel {
        opacity: 0.05;
        border-color: transparent;
    }

    .swiper-online .swiper-wrapper > .swiper-slide-next > .homscarousel {
        opacity: 1;
        border-color: rgba(255, 255, 255, 0.4);
    }
}

/* ── Responsive Móvil ── */
@media (max-width: 767px) {
    /* Hero: layout columna en móvil */
    .section-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        height: auto !important;
        min-height: 0 !important;
        overflow-x: hidden; /* Recorta el desbordamiento horizontal del swiper */
        padding-top: 132px !important;
        padding-bottom: 72px !important;
    }

    .swiper-online {
        height: 460px;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 24px; /* Alineación con el contenido (info + botón) */
        overflow: visible;  /* Permite que la slide siguiente asome a la derecha */
    }

    .swiper-online .swiper-slide {
        height: 460px !important;
    }

    /* Solo la slide activa es visible en móvil; las demás al 10% */
    .swiper-online .swiper-wrapper > .swiper-slide > .homscarousel {
        opacity: 0.1 !important;
        border-color: transparent !important;
        border-radius: 40px;
    }

    .swiper-online .swiper-wrapper > .swiper-slide-active > .homscarousel {
        opacity: 1 !important;
    }

    /* Botón ocupa el ancho completo en el banner móvil */
    .section-banner .btn-gradiente {
        width: 100%;
    }

    /* Grid de cards modalidad: 1 columna en móvil */
    .modalidad-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Sección Becas: reordenamiento en móvil ── */
@media (max-width: 900px) {
    /* Reduce el gap entre los bloques reordenados */
    .beca-inner-container {
        gap: 32px !important;
    }

    /* Hace "transparente" el div contenedor izquierdo para que sus hijos
       participen directamente en el flex-col padre y se puedan reordenar */
    .beca-form-col {
        display: contents;
    }

    /* 1. Encabezado al tope */
    .beca-header {
        order: 1;
        width: 100%;
    }

    /* 2. Card informativa en medio */
    .beca-card {
        order: 2;
    }

    /* 3. Slider + botón al fondo */
    .beca-slider-btn {
        order: 3;
        width: 100%;
    }

    /* Ocultar select de programa en móvil */
    .beca-select {
        display: none !important;
    }

    /* Botón Calcular Ahora: ancho completo */
    .beca-slider-btn .btn-gradiente {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }
}

