/*
Theme Name: asyste
Author: Emmanuel Cárdenas
Description: Tema base para USACH DIE
Version: 1.0
*/

:root{
    --blanco: #ffffff;
    --celeste-palido: #E5EFF8;
    --rosado: #F37A8A;
    --naranja: #FF4C00;
    --rojo: #EB0029;
    --celeste: #00B4DF;
    --azul: #005CB9;
    --verde: #65C5B4;
    --gris-oscuro: #394049;
    --negro: #000000;

}
html{
    lang: es;
}
body{
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
}
/*CONTAINER*/
@media (min-width: 1400px){
    .container{
        max-width: 1260px;
    }
}

main{
    padding-top: 120px;
}

/*BUTTONS*/
.btn{
    border-radius: 40px;
    font-size: 1.125rem;
    font-weight: 300;
    padding: 10.5px 36px;
}
.btn-blanco{
    background: var(--blanco);
    color: var(--azul);
}
.btn-blanco:hover{
    background: var(--blanco);
    color: var(--azul);
    opacity: .8;
}
.btn.btn-link{
    padding: 0;
    color: var(--naranja);
    font-weight: 500;
    font-size: 1rem;
    text-underline-offset: 2px;
}
.btn.btn-primary{
    background: var(--naranja);
    color: var(--blanco);
    border: 1px solid var(--naranja);
}
.btn.btn-primary:hover{
    background: var(--naranja);
    color: var(--blanco);
    opacity: .8;
}
.btn.btn-primary:disabled{
    background: #ccc;
    border-color: #ccc;
    color: #666;
    opacity: 0.7;
    cursor: not-allowed;
}
.btn.btn-primary:disabled:hover{
    background: #ccc;
    border-color: #ccc;
    color: #666;
    opacity: 0.7;
}
.btn.btn-outline-primary{
    border-color: var(--naranja);
    color: var(--gris-oscuro);
}
.btn.btn-outline-primary:hover{
    background: var(--naranja);
    color: var(--blanco);
}
.link-pdf{
    color: var(--naranja);
    font-weight: 700;
}
/* BADGES */
.badge.bg-primary,
.badge.bg-info{
    background-color: #FFEDE5 !important;
    border: 1px solid var(--naranja);
    color: var(--naranja);
}
.badge.bg-success{
    background-color: var(--celeste-palido) !important;
    border: 1px solid var(--celeste);
    color: var(--celeste);
}
.badge.bg-primary .btn-close,
.badge.bg-info .btn-close{
    filter: brightness(0) saturate(100%) invert(39%) sepia(97%) saturate(3540%) hue-rotate(360deg) brightness(103%) contrast(105%);
}
.badge.bg-success .btn-close{
    filter: brightness(0) saturate(100%) invert(21%) sepia(68%) saturate(2767%) hue-rotate(197deg) brightness(97%) contrast(101%);
}
/* FONTS */
p{
    font-size: 1.125rem;
    line-height: 1.875rem;
    font-weight: 300;
}
strong{
    font-weight: 700;
}
h1{
    font-size: 2.75rem;
    line-height: 3.375rem;
    color: var(--gris-oscuro);
    font-weight: 700;
}
h2{
    font-size: 2.5rem;
    line-height: 3.375rem;
    color: var(--negro);
    font-weight: 700;
}
h3{
    font-size: 1.75rem;
    line-height: 1.875rem;
    color: var(--gris-oscuro);
    font-weight: 700;
}
h4{
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: var(--gris-oscuro);
    font-weight: 700;
}
/* NAV */
nav.navbar{
    width: 100%;
    position: fixed;
    z-index: 1005;
    background: #fff !important;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    padding: 40px 0 20px;
}
@media (max-width: 991px){
    .navbar-brand,
    .navbar-toggler{
        position: relative;
        z-index: 1007;
        border: none;
    }
    .navbar-toggler:focus,
    .navbar-toggler:focus-visible{
        box-shadow: none;
        border: none;
    }
    .navbar-collapse{
        transition: none !important;
        transform: none !important;
    }
    
    .navbar-collapse.collapse.show{
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background: var(--celeste-palido);
        z-index: 1006;
        overflow-y: auto;
        padding: 100px 20px 20px;
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
    
    .navbar-collapse.collapsing{
        transition: none !important;
        height: auto !important;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background: var(--celeste-palido);
        z-index: 1006;
        overflow-y: auto;
        padding: 80px 20px 20px;
    }
}

/* ESTILOS PARA MENÚ MULTINIVEL MÓVIL */
@media (max-width: 991px){
    .mobile-menu-container {
        position: relative;
        width: 100%;
        height: calc(100vh - 160px);
        overflow: hidden;
    }
    
    .mobile-menu-level {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--celeste-palido);
        transition: transform 0.3s ease-in-out;
        padding: 20px 0;
        overflow-y: auto;
    }
    
    .mobile-menu-level.active {
        transform: translateX(0);
    }
    
    .mobile-menu-level.slide-left {
        transform: translateX(-100%);
    }
    
    .mobile-menu-level.slide-right {
        transform: translateX(100%);
    }
    
    .mobile-menu-header {
        display: flex;
        align-items: center;
        padding: 15px 0;
        border-bottom: 2px solid var(--naranja);
        margin-bottom: 20px;
    }
    
    .mobile-back-btn {
        background: none;
        border: none;
        color: var(--naranja);
        font-size: 1.2rem;
        margin-right: 15px;
        padding: 5px;
        cursor: pointer;
    }
    
    .mobile-menu-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--gris-oscuro);
        margin: 0;
    }
    
    .mobile-nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-nav-item {
        border-bottom: 1px solid rgba(255, 76, 0, 0.2);
    }
    
    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 0;
        color: var(--gris-oscuro);
        text-decoration: none;
        font-weight: 500;
        font-size: 1.1rem;
    }
    
    .mobile-nav-link:hover {
        color: var(--naranja);
    }
    
    .mobile-nav-arrow {
        color: var(--naranja);
        font-size: 1rem;
    }
    
    .mobile-nav-description {
        font-size: 0.9rem;
        color: #6c757d;
        margin-top: 5px;
        display: block;
    }
    
    /* Ocultar dropdown original en móvil */
    .navbar-nav .dropdown-menu {
        display: none !important;
    }
    
    /* Ocultar navegación original y mostrar multinivel */
    .navbar-nav {
        display: none;
    }
    
    .mobile-menu-container {
        display: block;
    }
}

@media (min-width: 992px){
    .mobile-menu-container {
        display: none;
    }
}
@media (min-width: 992px){
    nav.navbar .nav-link{
        font-weight: 600;
        padding: 10px;
    }
    .navbar-nav.shortcuts{
        border-left: 3px solid var(--naranja);
        padding-left: 50px;
        margin-left: 50px;
    }
    .navbar-nav.shortcuts .nav-link.agenda-reunion{
        background: var(--naranja);
        color: var(--blanco);
        padding: 10px 20px;
        border-radius: 30px;
        display: flex;
        align-items: center;
        margin-left: 10px;
    }
    .navbar-nav.shortcuts .nav-link.agenda-reunion:before{
        content: '';
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 4H16V2H18V4H19C20.1 4 21 4.9 21 6V20C21 21.1 20.1 22 19 22H5C3.89 22 3 21.1 3 20L3.00977 6C3.00977 4.9 3.89 4 5 4H6V2H8V4ZM5 9V20H19V9H5ZM9 11V13H7V11H9ZM13 11V13H11V11H13ZM17 11V13H15V11H17Z' fill='white'/%3E%3C/svg%3E%0A");
        width: 24px;
        height: 24px;
        display: inline-block;
        margin-right: 5px;
    }
}

.programa-thumb{
    filter: brightness(0) saturate(100%) invert(21%) sepia(89%) saturate(2339%) hue-rotate(198deg) brightness(94%) contrast(101%);
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.programa-info h6{
    font-weight: 600;
    color: var(--gris-oscuro);
}
/* Clases para el comportamiento de scroll */
nav.navbar.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0.8;
}

nav.navbar.navbar-visible {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.dropdown-menu {
    width: 100%;
    background-color: #F0F9F7;
    border-radius: 0;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    padding: 40px 0;
    display: none; /* Oculto por defecto */
}

.dropdown-menu.show {
    display: block; /* Mostrar cuando tiene clase show */
}

.dropdown-mega {
    position: static !important;
}

.dropdown-mega .dropdown-menu {
    left: 0 !important;
    right: 0 !important;
    margin-top: 0;
}

.card-sence-header{
    position: relative;
    padding: 25px 20px; 
    background: #66C5B4 url(images/card-sence-header-bg.svg) no-repeat;
    background-size: cover;
    background-position: center right;
}
.card-sence-header > img{
    position: absolute;
    right: 0;
    bottom: 0;
}

.card-sence-header h3{
    color: var(--blanco);
    font-size: 1.125rem;
    line-height: 1.5625rem;
    font-weight: 600;
}
.card-sence-header h3 span{
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--rojo);
}

/* MEGAMENU STYLES */
.programa-list .programa-link{
    color: var(--gris-oscuro);
    transition: all 0.3s ease;
    border-left: 10px solid transparent;
    font-weight: 500;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
}
.categoria-list .categoria-link{
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    color: var(--gris-oscuro);
}

.programa-list .programa-link:hover{
    color: var(--naranja);
    border-color: var(--naranja);
    transform: translateX(5px);
}
.categoria-list .categoria-link:hover {
    color: var(--naranja);
    text-decoration: underline;
}
.programa-list .programa-link.active {
    color: var(--naranja);
    border-color: var(--naranja);
    transform: translateX(5px);
    font-weight: 800;
}
.programa-list .programa-link.active::after{
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.99997 6.7793L8.58997 8.1893L13.17 12.7793L8.58997 17.3693L9.99997 18.7793L16 12.7793L9.99997 6.7793Z' fill='%23FF4C00'/%3E%3C/svg%3E%0A");
    width: 24px;
    height: 24px;
    display: block;
}

.categoria-list .categoria-link .badge {
    font-size: 0.7rem;
    transition: all 0.3s ease;
}


#categorias-container .spinner-border {
    color: var(--naranja);
}
.col-programas{
    padding-right: 50px;
}
.col-programas h4,
.col-categorias h4 {
    margin-bottom: 1.5rem;
}

#megamenu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}
body.megamenu-open {
    overflow: hidden;
}
/* BREADCRUMBS */

.breadcrumbs{
    border-bottom: .5px solid var(--gris-oscuro);
    padding: 9px 0;
    margin-bottom: 40px;
}
.breadcrumb i{
    color: var(--green);

}
.breadcrumb li{
    display: flex;
    align-items: center;
}
.breadcrumb li.active{
    font-weight: 600;
    color: var(--naranja);
    font-size: 0.75rem;
    line-height: 0.75rem;;
}
@media (max-width: 991px){
    .breadcrumb{
        flex-wrap: nowrap !important;
    }
    .breadcrumb li:first-child{
        flex-shrink: 0;
    }
    .breadcrumb li{
        max-width: 40vw;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        line-height: 150%;
    }
    .breadcrumb li.active{
        line-height: 200%;
    }

}
.breadcrumb li a{
    color: var(--gris-oscuro);
    font-size: 0.75rem;;
    line-height: 0.75rem;;
    text-decoration: none;
}
.breadcrumb li a i{
    color: var(--naranja);
    margin-right: 5px;
}
.breadcrumb .breadcrumb-item+.breadcrumb-item::before{
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-size: 0.75rem;;
    font-weight: 900;
    display: inline-block;
    vertical-align: middle;
    margin: 0 8px;
    color: var(--naranja);
}
/* SECTIONS */
.home section{
    padding: 60px 0 70px;
}
/*HERO*/
.home section.hero {
    background: #FFEDE5;
    position: relative;
    padding: 0 !important;
}
.home section.hero .owl-nav button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    color: var(--gris-oscuro);
}
.home section.hero .owl-nav button.owl-prev{
    left: 10px;
}
.home section.hero .owl-nav button.owl-next{
    right: 10px;
}

/* SLIDE */
.home section.hero .slide-content{
    height: 600px;
}
.home section.hero .slide-content .slide-thumbnail{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 10;
}
.home section.hero .slide-content .slide-thumbnail{
    display: none;
}
@media (min-width: 992px){
    .home section.hero .slide-content .slide-thumbnail{
        display: flex;
    }
}
.home section.hero .slide-content .slide-thumbnail img{
    height: 100%;
    width: auto;
}

.home section.hero .slide-content .slide-icono-section img{
    width: initial;
    height: 50px;
    margin: 0 auto;
}
@media (min-width: 992px){
    .home section.hero .slide-content .slide-icono-section img{
        width: initial;
        height: 100px;
        margin: initial;
    }
}
.home section.hero .slide-content .slide-icono-texto{
    font-weight: 700;
    color: var(--blanco);
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 36px;
    display: block;
}
@media (min-width: 992px){
    .home section.hero .slide-content .slide-icono-texto{
        font-size: 1.5rem;
    }
}
.home section.hero .slide-content .slide-subtitulo{
    font-weight: 200;
    color: var(--blanco);
    font-size: 1.2rem;
    line-height: 100%;
}
@media (min-width: 992px){
    .home section.hero .slide-content .slide-subtitulo{
        font-size: 2.5rem;
    }
}

.home section.hero .slide-content .slide-titulo{
    font-weight: 600;
    color: var(--blanco);
    font-size: 1.5rem;
    line-height: 100%;
    width: 70%;
    margin: 0 auto;
}
@media (min-width: 992px){
    .home section.hero .slide-content .slide-titulo{
        font-size: 3.5rem;
        width: 100%;
        margin: initial;
    }
}
.home section.hero .slide-content .slide-overlay{
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start;
    background-image: url('images/bg-slide-home.svg');
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (max-width: 991px){
    .home section.hero .slide-content .slide-overlay{
        background-size: 200%;
        background-position: center center;
    }
}
.home section.hero .slide-content .btn{
    margin-top: 3rem;
}
.home section.hero .owl-dots{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%);
    background: rgba(255, 255, 255, .9);
    padding: 5px 10px;
    border-radius: 50px;
}
/*PROGRAMAS*/
.programas{
    overflow: hidden;
}
.programas-servicios .owl-nav button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: var(--blanco) !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.programas-servicios .owl-nav button.owl-prev{
    left: -70px;
}
.programas-servicios .owl-nav button.owl-next{
    right: -70px;
}
.programas-servicios .owl-nav button.owl-prev.disabled,
.programas-servicios .owl-nav button.owl-next.disabled{
    opacity: 0.1;
    pointer-events: none;
}
.programas-servicios .owl-item{
    width: 100%;
    max-width: 365px;
}
.programas-servicios .owl-stage-outer{
    overflow: visible;
}
.programas-servicios .owl-dots{
    margin-top: 40px;
}
.card-programas{
    border: 1px solid var(--azul);
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    padding: 10px;
    background: var(--blanco);
}
/* BORDES COLORES */
.item.cursos-sence .card-programas{
    border-color: var(--naranja);
}
.item.normativo-diversidad-equidad-e-inclusion .card-programas{
    border-color: var(--azul);
}
.item.calidad-de-vida-laboral .card-programas{
    border-color: var(--verde);
}
.item.nivelacion-de-estudios .card-programas{
    border-color: var(--celeste);
}
.item.desarrollo-de-contenidos .card-programas{
    border-color: var(--rosado);
}
.card-programas:hover{
    background: var(--celeste-palido);
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}
/* BG COLORES */
.item.card-animation.cursos-sence .card-programas:hover{
    background: #FFEDE5;
}
.item.card-animation.normativo-diversidad-equidad-e-inclusion .card-programas:hover{
    background: #E5EFF8;
}
.item.card-animation.calidad-de-vida-laboral .card-programas:hover{
    background: #F0F9F7;
}
.item.card-animation.nivelacion-de-estudios .card-programas:hover{
    background: #E5F7FC;
}
.item.card-animation.desarrollo-de-contenidos .card-programas:hover{
    background: #FDE5EA;
}


.card-programas .card-body{
    padding: 30px 30px 35px;
}
.card-programas img{
    width: 95px;
    height: 85px;
    object-fit: contain;
    margin: 0 auto 18px;
}
.card-programas h3{
    min-height: 100px;
    line-height: 2.125rem;
    margin-bottom: 3px;
}
/* TITULO COLORES */
.item.cursos-sence .card-programas h3{
    color: var(--naranja);
}
.item.normativo-diversidad-equidad-e-inclusion .card-programas h3{
    color: var(--azul);
}
.item.calidad-de-vida-laboral .card-programas h3{
    color: var(--verde);
}
.item.nivelacion-de-estudios .card-programas h3{
    color: var(--celeste);
}
.item.desarrollo-de-contenidos .card-programas h3{
    color: var(--rosado);
}

.item .card-programas .ico-programa{
    filter: brightness(0) saturate(100%) invert(21%) sepia(97%) saturate(1941%) hue-rotate(196deg) brightness(95%) contrast(104%);
}

.card-programas .tag-color{
    position: absolute;
    right: 0px;
    top: 25px;
    width: 60px;
    height: 20px;
    background: var(--naranja);
}
.card-animation .card.card-programas:hover .card-body:after{
    background: var(--celeste-palido);
}
.item.card-animation.cursos-sence .card-programas:hover .card-body:after{
    background: #FFEDE5;
}
.item.card-animation.normativo-diversidad-equidad-e-inclusion .card-programas:hover .card-body:after{
    background: #E5EFF8;
}
.item.card-animation.calidad-de-vida-laboral .card-programas:hover .card-body:after{
    background: #F0F9F7;
}
.item.card-animation.nivelacion-de-estudios .card-programas:hover .card-body:after{
    background: #E5F7FC;
}
.item.card-animation.desarrollo-de-contenidos .card-programas:hover .card-body:after{
    background: #FDE5EA;
}


/* ANIMACION DEL BORDE */

.card-animation .card{
    z-index: 2;
}
.card-animation .card .card-body{
    overflow: hidden;
    position: relative;
}
.card-animation .card .card-body *{
    position: relative;
    z-index: 5;
}
.card-animation .card .card-body:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(10);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid var(--azul);
    background: none;
    z-index: 3;
}
/* BORDER COLORES */
.item.card-animation.cursos-sence .card-body:before{
    border-bottom-color: var(--naranja);
}
.item.card-animation.normativo-diversidad-equidad-e-inclusion .card-body:before{
    border-bottom-color: var(--azul);
}
.item.card-animation.calidad-de-vida-laboral .card-body:before{
    border-bottom-color: var(--verde);
}
.item.card-animation.nivelacion-de-estudios .card-body:before{
    border-bottom-color: var(--celeste);
}
.item.card-animation.desarrollo-de-contenidos .card-body:before{
    border-bottom-color: var(--rosado);
}
.card-animation .card .card-body:hover:before{
    animation: animate2 2s linear infinite;
}
.card-animation .card .card-body:after{
    inset: 0;
    position: absolute;
    content: '';
    background: var(--blanco);
    z-index: 4;
    transition: all 0.3s ease-in-out;
}
.card-animation .card .card-body:hover:after{
    inset: 1px;
    transition: all 0.3s ease-in-out;
}
.card-animation.item{
    padding: 10px;
    position: relative;
    overflow: hidden;
}
@media (min-width: 992px){
    .programas .card-animation.item{
        width: 392px;
    }
}
.card-animation.item:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(11);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 50px solid var(--azul);
    background: none;
}
/* BORDER COLORES */
.item.card-animation.cursos-sence:before{
    border-bottom-color: var(--naranja);
}
.item.card-animation.normativo-diversidad-equidad-e-inclusion:before{
    border-bottom-color: var(--azul);
}
.item.card-animation.calidad-de-vida-laboral:before{
    border-bottom-color: var(--verde);
}
.item.card-animation.nivelacion-de-estudios:before{
    border-bottom-color: var(--celeste);
}
.item.card-animation.desarrollo-de-contenidos:before{
    border-bottom-color: var(--rosado);
}

.card-animation.item:hover:before{
    animation: animate2 2s linear infinite reverse;
} 
.card-animation.item:after{
    content: '';
    position: absolute;
    background-color: var(--blanco);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0px;
    z-index: 1;
}
.card-animation.item:hover:after{
    inset: 1px;
}


/* BORDER ANIMATION */
@keyframes animate1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(11);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(11);
    }
}
@keyframes animate2 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(10);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(10);
    }
}
/*CURSOS*/
.cursos-destacados-home{
    overflow: hidden;
}
/* CARD CURSO */
.cursos-destacados .owl-nav button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: var(--blanco) !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.cursos-destacados .owl-nav button.owl-prev{
    left: -70px;
}
.cursos-destacados .owl-nav button.owl-next{
    right: -70px;
}
.cursos-destacados .owl-item{
    width: 100%;
    max-width: 365px;
}
.cursos-destacados .owl-stage-outer{
    overflow: visible;
}
.cursos-destacados .owl-dots{
    margin-top: 40px;
}
.card-curso{
    background: linear-gradient(322.65deg, #E5EFF8 44.71%, #DEDEDE 121.41%);
    border: 1px solid var(--azul);
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}
.card-animation .card.card-curso .card-body:after{
    background: linear-gradient(322.65deg, #E5EFF8 44.71%, #DEDEDE 121.41%);
}
.card-curso:hover{
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}
.card-curso .categoria{
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase;
    background: transparent;
    border: none;
    padding: 15px 15px 20px;
    display: flex;
    gap: 10px;
    text-align: left;
    font-weight: 700;
    color: var(--azul);
    align-items: center;
}
.card-curso .categoria img{
    width: 50px;
}
.card-curso .categoria .categoria{
    font-size: 1.125rem;
    line-height: 1.3125rem;
    font-weight: 700;
    color: var(--azul);
    text-transform: uppercase;
    display: flex;
    gap: 14px;

}
.card-curso{
    padding: 10px;
    min-height: 475px;
}

.card-curso .card-body{
    padding: 0px 0px 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-curso .card-body .badge{
    align-self: center;
}
.card-curso .modalidad,
.card-curso .duracion{
    font-size: 1.125rem;
    line-height: 1.875rem;
    font-weight: 700;
    color: var(--naranja);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}
.card-curso .modalidad img,
.card-curso .duracion img{
    width: 20px;
    height: 20px;
    margin-right: 5px;
    filter: brightness(0) saturate(100%) invert(37%) sepia(60%) saturate(4478%) hue-rotate(3deg) brightness(102%) contrast(108%);
}
.card-curso h3{
    font-size: 1.5rem;
    margin-top: 10px;
    margin-bottom: 20px;
}
.card-curso h3 a{
    text-decoration: none;
    color: var(--gris-oscuro);
}
.card-curso .codigo{
    font-size: 1.5rem;
    line-height: 1.875rem;
    font-weight: 700;
    color: var(--azul);
    margin-top: auto;
}
.card-curso .codigo span{
    font-size: 1.125rem;
    line-height: 1.875rem;
    display: block;
}
.card-curso .btn{
    align-self: center;
}
/* BANNER */
.banner{
    padding-bottom: 0 !important;
}
.banner .container{
    position: relative;
    z-index: 10;
}
.banner h2{
    margin-bottom: 15px;
}
/* AULA VIRTUAL */
.banner.banner-aula-virtual{
    padding-top: 0;
    background: linear-gradient(90deg, #FCFCFC 0%, #E5EFF8 100%);
    position: relative;
}
.banner.banner-aula-virtual::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('images/bg-aula-virtual.webp');
}
.banner.banner-soluciones{
    background: linear-gradient(90deg, #FCFCFC 0%, #F0F9F7 100%);
    position: relative;
}

.banner.banner-soluciones::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('images/bg-soluciones.webp');
}

/* NOTICIAS HOME */
section.blog-home figure{
    position: relative;
}
.card-noticia-principal figure{
    height: 100%;
}

.content-noticiaprincipal{
    background: var(--celeste-palido);
    padding: 34px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

section.blog-home img{
    border-radius: 20px 10px 20px 10px;
    height: 100%;
    object-fit: cover;
}
section.blog-home span.date{
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: var(--naranja);
    font-weight: 700;
    margin-bottom: 5px;
}
section.blog-home h4{
    font-size: 1.75rem;
    line-height: 1.875rem;
    font-weight: 700;
    color: var(--gris-oscuro);
}
section.blog-home p{
    font-size: 1.125rem;
    line-height: 1.875rem;
    color: var(--negro);
    font-weight: 400;
}
section.blog-home .noticias-secundarias .categoria{
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: .75rem;
    line-height: .75rem;
    font-weight: 400;
    text-transform: uppercase;
    background: #fff;
    padding: 8px 16px;
    border-radius: 32px;
}
section.blog-home .noticias-secundarias .date{
    font-size: 1.125rem;
    line-height: 1.125rem;
}
.noticias-secundarias .owl-nav{
    display: flex;
    gap: 0px;
}
@media (min-width: 992px){
    .noticias-secundarias .owl-nav{
        gap: 100px;
    }
}



.noticias-secundarias .owl-nav span{
    padding: 18px 25px;
    display: block;
}
.noticias-secundarias .owl-nav span i{
    font-size: 2.3125rem;
    line-height: 2.3125rem;
    color: var(--naranja)
}
.noticias-secundarias .owl-nav button{
    position: relative;
    top: 45px;
}
/* PRIMARIA */
.card-noticia-principal h4 a{
    color: var(--gris-oscuro);
    font-weight: 600;
    text-decoration: none;
}
.card-noticia-principal p{
    text-align: justify;
    text-justify: inter-word; /* Distribuye espacio entre palabras en lugar de letras */
    hyphens: auto;
}
/* SECUNDARIA */
.noticias-secundarias .item{
    background: var(--blanco);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    background: var(--celeste-palido);
}
.noticias-secundarias .item figure a img{
    height: 250px;
    object-fit: cover;
}
.noticias-secundarias .item .detalle-noticia{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
    padding: 0 16px 16px;
}

.noticias-secundarias .item h4 a{
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 500;
    margin: 0;
    text-decoration: none;
    display: flex;
    color: var(--negro);
    gap: 10px;
}
/* .noticias-secundarias .item h4 a:after{
    content: '';
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    flex-grow: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='426' height='426' viewBox='0 0 426 426' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M425.5 13V338C425.5 341.315 424.183 344.495 421.838 346.839C419.494 349.183 416.315 350.5 413 350.5C409.684 350.5 406.505 349.183 404.161 346.839C401.817 344.495 400.5 341.315 400.5 338V43.1758L21.8375 421.838C20.6769 422.998 19.2991 423.919 17.7827 424.547C16.2663 425.175 14.641 425.499 12.9996 425.499C11.3583 425.499 9.73301 425.175 8.21661 424.547C6.7002 423.919 5.32236 422.998 4.16175 421.838C3.00114 420.677 2.08049 419.299 1.45237 417.783C0.824257 416.267 0.500977 414.641 0.500977 413C0.500977 411.359 0.824257 409.733 1.45237 408.217C2.08049 406.701 3.00114 405.323 4.16175 404.162L382.824 25.5H87.9997C84.6844 25.5 81.505 24.183 79.1608 21.8388C76.8166 19.4946 75.4997 16.3152 75.4997 13C75.4997 9.68479 76.8166 6.50537 79.1608 4.16117C81.505 1.81696 84.6844 0.5 87.9997 0.5H413C416.315 0.500166 419.494 1.81718 421.838 4.16135C424.182 6.50552 425.499 9.68484 425.5 13Z' fill='%23FF4C00'/%3E%3C/svg%3E%0A");
    background-size: contain;
    margin-top: 8px;
    margin-right: 8px;
} */
.noticias-secundarias .item p{
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: #6b727b;
    margin: 0 0 16px;
    text-align: justify;
    text-justify: inter-word; /* Distribuye espacio entre palabras en lugar de letras */
    hyphens: auto;
}
section.blog-home .noticias-secundarias .date{
    margin-top: auto;
    font-size: .9rem;
    color: var(--gris-oscuro);
    font-weight: 400;
}
/* CLIENTES */
section.nuestros-clientes{
    overflow: hidden;
}
.testimonios-clientes.owl-carousel:before,
.testimonios-clientes.owl-carousel:after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
}
.testimonios-clientes.owl-carousel:before{
    right: 100%;
    background: linear-gradient(to right, var(--blanco) 30%, transparent 100%);
}
.testimonios-clientes.owl-carousel:after{
    left: 100%;
    background: linear-gradient(to left, var(--blanco) 30%, transparent 100%);
}
.testimonios-clientes.owl-carousel .owl-stage-outer{
    overflow: visible;
}
.testimonios-clientes .item{
    border-radius: 10px;
    padding: 30px 45px;
    display: flex;
    gap: 30px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    margin: 24px;
    flex-direction: column;
}
@media (min-width: 992px){
    .testimonios-clientes .item{
        flex-direction: row;
    }
}
.testimonios-clientes .item .thumbnail{
    width: 120px;
    flex-shrink: 0;
    border-radius: 50%;
}
.testimonios-clientes .item .thumbnail img{
    border-radius: 50%;
}
.testimonios-clientes .item .year{
    font-weight: 800;
    font-size: 18px;
    color: var(--naranja);
}
.testimonios-clientes .item h3{
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gris-oscuro);
}
.testimonios-clientes .item p{
    font-style: italic;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.875rem;
}
.testimonios-clientes .item .review-info{
    font-style: italic;
}
.testimonios-clientes .item .review-info h4{
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--naranja)
}
.testimonios-clientes .item .review-info span{
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--gris-oscuro);
}
.testimonios-clientes .owl-prev,
.testimonios-clientes .owl-next{
    color: var(--negro);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.testimonios-clientes .owl-prev:hover,
.testimonios-clientes .owl-next:hover{
    background: var(--azul);
    color: var(--blanco);
}
.testimonios-clientes .owl-prev{
    left: 0;
}
.testimonios-clientes .owl-next{
    right: 0;
}
@media (min-width: 992px){
    .testimonios-clientes .owl-prev{
        left: -60px;
    }
    .testimonios-clientes .owl-next{
        right: -60px;
    }   
}
/* OWL DOTS */
.owl-dots{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
@media (min-width: 992px) {
    .owl-dots{
        justify-content: center;
    }
}
@media (max-width: 991px){
    .noticias-secundarias .owl-dots{
        justify-content: flex-end;
    }
}

.owl-dot{
    display: flex;
    justify-content: center;
    align-items: center;
}
.owl-dot span{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--azul);
    display: inline-block;
    opacity: .2;
}
.owl-dot.active span{
    background: var(--naranja);
    opacity: 1;
    width: 15px;
    height: 15px;
}
/*FOOTER*/
footer{
    background: var(--azul);
    padding: 53px 0 35px;
    font-size: 1.125rem;
    line-height: 1.875rem;
    color: var(--blanco);
    margin-top: 250px;
}
footer a:not(.btn):hover{
    text-decoration: underline;
    text-underline-offset: 4px;
}
footer .logo{
    margin-bottom: 30px;
}
@media (min-width: 992px){
    footer .col-first{
        padding-right: 90px;
    }
}
footer h3{
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--blanco);
}
footer ul{
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}
footer ul li{
    margin-bottom: 20px;
    font-size: 1.125rem;
    line-height: 1.875rem;
    display: flex;
    gap: 10px;
}
footer ul li i{
    padding-top: 8px;
}
footer ul li a{
    color: var(--blanco);
    text-decoration: none;
    font-size: 1.125rem;
    line-height: 1.875rem;
}

footer .social-links a{
    border: 1px solid var(--blanco);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    transition: background 0.3s;
    color: var(--blanco);
    text-decoration: none;
    font-size: 1rem;
}
footer .social-links a:hover{
    background: var(--blanco);
    color: var(--azul);
}
footer .footer-program-list li a{
    display: flex;
    gap: 10px;
}
footer .ico-programa{
    width: 50px;
    object-fit: contain;
    object-position: center;
}

/* COPY CODE FUNCTIONALITY */
.copy-code {
    color: var(--naranja);
    text-decoration: none;
    margin-left: 8px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.copy-code:hover {
    color: var(--naranja);
    background-color: rgba(255, 76, 0, 0.1);
    transform: scale(1.1);
}

.copy-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--naranja);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-weight: 500;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 300px;
}

.copy-message.show {
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .copy-message {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/*COPYRIGHT*/
.copyright{
    padding: 25px 0;
}
.copyright p,
.copyright a{
    font-size: 1.125rem;
    color: var(--negro);
}
.copyright ul{
    list-style: none;
    padding: 0 0 0 30px;
    margin-left: 30px;
    border-left: 1px solid var(--negro);
}
.copyright ul li{
    display: inline;
    margin: 0 10px;
}

/*SVG*/
.draw-animation path {
    stroke: #005CB9;
    fill: none;
    stroke-width: .5;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.draw-animation.in-viewport path {
    animation: draw 4s ease-in-out forwards;
}

@keyframes draw {
    0% { stroke-dashoffset: 2000; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}

/* SINGLE */
.hero-single{
    background-color: #FFEDE5;
    /* background: linear-gradient(180deg, #FFEDE5 0%, #ddd8df 100%); */
    background-image: url(images/bg-header-cursos.svg);
    background-size: 200px;
    background-position: bottom right;
    background-repeat: no-repeat;
    padding: 20px;
}
@media (min-width: 992px){
    .hero-single{
        background-size: contain;
        background-position: right;
        height: 200px;
        padding: 0;
    }
    .main-content-col{
        padding-right: 70px;
    }
    .sidebar-col{
        padding-left: 40px;
    }
}

.meta-info{
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}
.meta-info span{
    display: flex;
    align-items: center;
    gap: 2px;
}

.accordion-item{
    background: transparent;
    padding: 0px;
    margin-bottom: 10px;
    border: none;
}
.accordion-header{
    background: transparent;
    padding: 0px;
}

.accordion-button,
.accordion-button:not(.collapsed){
    background: transparent;
    border: none !important;
    box-shadow: none;
    padding: 0 10px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    border-radius: 10px !important;
}

@media (max-width: 991px){
    .accordion-button,
    .accordion-button:not(.collapsed){
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        line-height: 100%;
        position: relative;
    }
    .accordion-button:after{
        position: absolute;
        top: 50%;
        transform: translateY(-50%) !important;
        right: 20px;
    }
    
}

.accordion-button strong{
    color: var(--naranja);
    margin-right: 5px;
}

/*SIDEBAR*/
.sidebar-col .card{
    padding: 27px 45px;
    border-radius: 10px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    border-color: #dce8e5;
}
.card-info{
    background: #F0F9F7;;
}
.card-info h3{
    margin-bottom: 20px;
}
.card-info ul{
    list-style: none;
    padding-left: 25px;
}
.card-info ul li{
    margin-bottom: 10px;
}
.card-info .info-titulo{
    color: var(--naranja);
    display: block;
    position: relative;
}

.card-info .info-titulo img{
    position: absolute;
    top: 2px;
    left: -25px;
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.tipos-descuento{
    padding-left: 0 !important;
}
.tipos-descuento li{
    position: relative;
}
.tipos-descuento li img{
    position: absolute;
    top: 4px;
    left: -25px;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.card-sence h4{
    margin-bottom: 30px;
}
.card-sence img{
    display: block;
    margin: 0 auto 20px;
}
.card-sence strong{
    color: var(--naranja);
}

@media (min-width: 992px) {
    .cursos-wrap {
        padding-left: 50px;
    }
}

@media (min-width: 992px){
    .info-fixed{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0px;
        z-index: 1000;
    }
    .info-fixed .container{
        background: linear-gradient(0deg, var(--celeste-palido), #FFEDE5);
        backdrop-filter: blur(10px);
        padding: 40px;
        border-radius: 20px 20px 0 0;
    }
    .info-fixed h2{
        font-size: 1.5rem;
        line-height: 1.875rem;
        font-weight: 700;
        color: var(--gris-oscuro);
    }
    .info-fixed h5{
        font-size: 2rem;
        line-height: 1.875rem;
        font-weight: 700;
        color: var(--naranja);
        margin-bottom: 0;
    }
    .info-fixed h5 span{
        font-size: 1rem;
        display: block;
        font-weight: 600;
    }
}

@media (max-width: 991px){
    /* Ocultar sidebar en móvil */
    .sidebar-col {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 80vh;
        background: var(--blanco);
        z-index: 1005;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 24px 0 rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    
    .sidebar-col.show {
        transform: translateY(0);
    }
    
    /* Overlay para cerrar sidebar en móvil */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1004;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }
    
    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    /* Botón cerrar para sidebar móvil */
    .sidebar-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: transparent;
        border: none;
        color: var(--gris-oscuro);
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 10;
        padding: 5px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar-close:hover {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .mobile-actions{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(0deg, var(--celeste-palido), #FFEDE5);
        padding: 15px 30px;
        box-shadow: 0 -4px 24px 0 rgba(0, 0, 0, 0.15);
        z-index: 1000;
        display: flex;
        gap: 20px;
        border-radius: 20px 20px 0 0;
    }
    .mobile-actions h5{
        font-size: 2rem;
        line-height: 1.875rem;
        font-weight: 700;
        color: var(--naranja);
        margin-bottom: 10px;
    }
    .mobile-actions h5 span{
        font-size: 1rem;
        display: block;
        font-weight: 600;
    }
    .mobile-actions .btn.btn-primary{
        width: 100%;
    }
    .mobile-actions .btn-more-info{
        background: transparent;
        border: 2px solid var(--naranja);
        color: var(--naranja);
        font-weight: 600;
        padding: 10px 20px;
        flex-shrink: 0;
    }
}
@media (min-width: 992px){
    .mobile-actions{
        display: none;
    }
}

.taxonomy-content h2{
    color: var(--gris-oscuro);
}

.filtro{
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    border-radius: 5px;
}
.filtro .title-filtros,
.filtro .filtros-modalidad{
    padding: 20px 20px 0;
}
.filtro .filtros-modalidad{
    position: relative;
    padding-bottom: 10px;
}
.filtro .filtros-acciones{
    padding: 20px 20px 40px;
}
.filtro h4{
    font-weight: 700;
    color: var(--naranja);
    font-size: 1.25rem;
    padding: 20px 20px 0;
}
.filtro .accordion{
    margin-bottom: 40px;
}
.filtro .accordion-item{
    position: relative;
    margin-bottom: 0;
}
.filtro .accordion-item:after,
.filtro .filtros-modalidad:after{
    content: '';
    position: absolute;
    width: calc(100% - 40px);
    height: .5px;
    background: var(--azul);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    pointer-events: none;
    background: #FFA580;
}
.filtro .accordion-button{
    box-shadow: none;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 0 !important;
}
.filtro .accordion-button.active{
    background: #FFEDE5;
}
.filtro .accordion-button:after{
    filter: brightness(0) saturate(100%) invert(37%) sepia(60%) saturate(4478%) hue-rotate(3deg) brightness(102%) contrast(108%);
    transform: scale(.7) rotate(-90deg);
}
.filtro .accordion-button:not(.collapsed):after{
    transform: scale(.7) rotate(0deg);
}

.filtro .form-check-input{
    margin-left: -10px;
    border: 2px solid #757575;
}
.filtro .form-check-input:checked{
    background: var(--blanco);
    border-color: var(--naranja);
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 0C17.11 0 18 0.9 18 2V16C18 17.1 17.11 18 16 18H2C0.89 18 0 17.1 0 16V2C0 0.9 0.89 0 2 0H16ZM7 11.1699L3.41016 7.58984L2 9L7 14L16 5L14.5898 3.58008L7 11.1699Z' fill='%23FF4C00'/%3E%3C/svg%3E%0A");
    background-position: center center;
    background-size: 15px;
    background-repeat: no-repeat;
}
.filtro .form-check-input:focus{
    box-shadow: none;
}
.filtro label{
    margin-left: 10px;
    font-weight: 600;
}

/* TOGGLE FILTROS MÓVIL */
@media (max-width: 991px) {
    .filtro {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 80vh;
        background: var(--blanco);
        z-index: 1005;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 24px 0 rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
    }
    
    .filtro.show {
        transform: translateY(0);
    }
    
    .filtro .filtros-acciones {
        position: sticky;
        bottom: 0;
        background: var(--blanco);
        padding: 20px 20px 30px;
        border-top: 1px solid #FFA580;
        margin-top: auto;
        z-index: 10;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .filtro .filtro-content {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 10px;
    }
    
    .toggle-filtros {
        position: fixed;
        bottom: 0px;
        left: 0;
        right: 0;
        background: var(--celeste-palido);
        text-decoration: none;
        padding: 15px 30px;
        border-radius: 30px 30px 0 0;
        box-shadow: 0 -4px 24px 0 rgba(0, 0, 0, 0.08);
        z-index: 1000;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--gris-oscuro);
    }
    
    .toggle-filtros h2{
        font-size: 1.25rem !important;
        margin: 0;
        color: var(--gris-oscuro);
    }
    
    .toggle-filtros svg {
        transition: transform 0.3s ease;
    }
    
    .toggle-filtros.active svg {
        transform: rotate(180deg);
    }
    
    /* Overlay para cerrar filtros */
    .filtros-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1004;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .filtros-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    /* Ajustes para el contenido de filtros en móvil */
    .filtro .title-filtros {
        padding: 20px 20px 10px;
        border-bottom: 2px solid var(--naranja);
        margin-bottom: 20px;
        position: sticky;
        top: 0;
        background: var(--blanco);
        z-index: 10;
    }
    
    .filtro .title-filtros h2 {
        margin: 0;
        font-size: 1.5rem;
    }
    
    /* Botón de cerrar en la parte superior de filtros */
    .filtro-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--gris-oscuro);
        cursor: pointer;
        padding: 5px;
        z-index: 10;
    }
}

@media (min-width: 992px) {
    .toggle-filtros,
    .filtros-overlay {
        display: none !important;
    }
    
    .filtro {
        position: static !important;
        transform: none !important;
        max-height: none !important;
        overflow-y: visible !important;
        border-radius: 5px !important;
        box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08) !important;
    }
}
/* COTIZADOR */
.main-content-cotizacion{
    padding: 25px 25px 40px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}
.main-content-cotizacion h2{
    font-family: Open Sans;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.875rem;
    color: var(--gris-oscuro);
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 20px;
    width: 100%;
    border-bottom: 5px solid var(--naranja);
}
.main-content-cotizacion h3{
    font-weight: 600;
    color: var(--gris-oscuro);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.main-content-cotizacion p{
    font-weight: 400;
    color: var(--gris-oscuro);
    font-size: 0.875rem;
}

.main-content-cotizacion .info{
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-content-cotizacion .info li{
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: flex-start;
}
.main-content-cotizacion .info li h4{
    color: var(--naranja);
    font-size: 1.25rem;
    font-weight: 500;
}
.main-content-cotizacion .info li h4 strong{
    font-size: 0.875rem;
    color: var(--gris-oscuro);
    display: block;
    font-weight: 400;
}


/* ===================================
   ESTILOS PARA SISTEMA DE COTIZACIONES
   =================================== */
   
.main-content-cotizacion h2 {
    color: var(--azul);
    font-weight: bold;
    margin-bottom: 2rem;
}

.main-content-cotizacion h3 {
    color: var(--gris-oscuro);
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.main-content-cotizacion h4 {
    margin: 20px 0;
    font-size: 1.125rem;
    line-height: 1.4;
    text-align: center;
    color: var(--naranja);
}

.main-content-cotizacion .info {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.main-content-cotizacion .info li img {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.main-content-cotizacion .info li h4 {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.4;
    text-align: left;
    color: var(--naranja);
}

.main-content-cotizacion .info-titulo {
    color: var(--azul);
    display: block;
    margin-bottom: 0.25rem;
}
#participantes{
    width: 100px;
    height: 50px;
    border-radius: 100px;
    border: 1px solid #0000008A;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}
#formulario-cotizacion {
    border-top: 2px solid #e9ecef;
    padding-top: 40px;
}
#formulario-cotizacion .paso-2{
    padding-top: 40px;
}
#formulario-cotizacion .paso-1,
#formulario-cotizacion .paso-2 {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.resultado-cotizacion-card {
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.resultado-cotizacion-card h5 {
    color: var(--azul);
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.cotizacion-detalle {
    margin-bottom: 1rem;
}

.linea-cotizacion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px 0;
}

.linea-cotizacion.descuento {
    margin-bottom: 40px;
}

.linea-cotizacion.total{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 412px;
    margin: 0 auto;
    text-align: center;
    border-radius: 10px;
    border-bottom: 10px solid var(--naranja);
}

.linea-cotizacion.descuento .monto {
    font-size: 1.5rem;
    font-weight: 700;
}

.linea-cotizacion .concepto {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--naranja);
}

.linea-cotizacion .monto {
    font-weight: 700;
    font-size: 1.5rem;
}
.formulario-cotizacion label{
    text-align: left;
    font-weight: 700;
    font-size: 0.875rem;
}
.formulario-cotizacion input{
    border: 1px solid #0000008A;
    border-radius: 50px;
    font-size: 0.875rem;
}
.formulario-cotizacion .form-check input{
    margin: 0;
    border: 2px solid #0000008A;
    margin-right: 6px;
}
.formulario-cotizacion .form-check label{
    font-weight: 300;
    font-size: 0.875rem;
    font-style: italic;
}
#recalcular{
    font-weight: 300;
    margin-top: 20px;
}
/* Estilos para página de éxito */
.exito-icon {
    animation: success-bounce 0.6s ease-in-out;
    margin: 0 auto;
    display: block;
}

@keyframes success-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.cotizacion-resumen {
    background: #f8f8f8 !important;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.exito-content {
    max-width: 600px;
    margin: 0 auto;
}

.exito-acciones .btn {
    margin: 0.25rem;
}

.contacto-adicional {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Responsive para formulario */
@media (max-width: 768px) {
    #formulario-cotizacion {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .resultado-cotizacion-card {
        padding: 1rem;
    }
    
    .linea-cotizacion {
        font-size: 0.9rem;
    }
    
    .linea-cotizacion.total {
        font-size: 1.1rem;
    }
}
/*STEPPER*/
.stepper{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 95%;
    max-width: 380px;
    margin: 50px auto;
}
.step{
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #E0E0E0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: var(--blanco);
    font-weight: bold;
    position: relative;
}
.step .bar{
    background: var(--naranja);
    height: 100%;
    width: 0%;
    display: block;
    transition: width 0.6s ease-in-out;
    border-radius: 6px;
}
.step .step-title{
    position: absolute;
    width: 100%;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 300;
    font-size: .875rem;
    color: var(--gris-oscuro);
    margin-top: 8px;
    transition: color 0.3s ease;
}
.step.active .step-title{
    color: var(--naranja);
    font-weight: 500;
}
.step.completed .bar{
    width: 100%;
}
.step.partial .bar{
    width: var(--progress-width, 0%);
}

/* BUSCADOR */
.buscador-toggle{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--naranja);
    color: var(--blanco);
    margin-left: 10px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.buscador-toggle:hover {
    color: var(--naranja);
    background: rgba(255, 76, 0, 0.1);
}

.buscador-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.buscador-modal.show {
    opacity: 1;
    visibility: visible;
}

.buscador-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.buscador-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 60px 0;
    overflow-y: auto;
}

.buscador-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.buscador-header h2 {
    color: var(--blanco);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.buscador-close {
    background: transparent;
    border: none;
    color: var(--blanco);
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buscador-close:hover {
    transform: rotate(90deg);
}

.buscador-form .input-group {
    background: var(--blanco);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.buscador-form .form-control {
    border: none;
    padding: 20px 25px;
    font-size: 1.1rem;
    background: transparent;
    box-shadow: none;
}

.buscador-form .form-control:focus {
    outline: none;
    box-shadow: none;
}

.buscador-form .btn {
    border: none;
    padding: 20px 25px;
    border-radius: 0 50px 50px 0;
}

.buscador-sugerencias {
    margin-top: 40px;
    text-align: center;
}

.buscador-sugerencias p {
    color: rgba(255, 255, 255, 0.7);
}

.sugerencias-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.sugerencia-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--blanco);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sugerencia-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--blanco);
    transform: translateY(-2px);
}

.buscador-resultados {
    margin-top: 40px;
    background: var(--blanco);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 60vh;
    overflow-y: auto;
}

.resultados-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--celeste-palido);
}

.resultados-header h4 {
    color: var(--gris-oscuro);
    margin: 0;
    font-weight: 700;
}

.resultados-count {
    color: var(--naranja);
    font-weight: 600;
    font-size: 0.9rem;
}

.resultado-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.resultado-item:last-child {
    border-bottom: none;
}

.resultado-item:hover {
    background: #f8f9fa;
    margin: 0 -20px;
    padding: 20px;
    border-radius: 10px;
}

.resultado-tipo {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.resultado-tipo.curso {
    background: var(--celeste-palido);
    color: var(--azul);
}

.resultado-tipo.noticia {
    background: #fff3cd;
    color: #856404;
}

.resultado-titulo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gris-oscuro);
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}

.resultado-titulo:hover {
    color: var(--naranja);
}

.resultado-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.resultado-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #999;
}

.buscador-loading {
    color: var(--blanco);
}

.no-resultados {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-resultados h5 {
    color: var(--gris-oscuro);
    margin-bottom: 15px;
}

.no-resultados p {
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .buscador-content {
        padding: 30px 15px;
    }
    
    .buscador-header h2 {
        font-size: 1.5rem;
    }
    
    .buscador-form .form-control,
    .buscador-form .btn {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .sugerencias-tags {
        gap: 8px;
    }
    
    .sugerencia-tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .buscador-resultados {
        padding: 20px;
        max-height: 50vh;
    }
}


/* PAGINACIÓN CON BOOTSTRAP */
.page-numbers {
    display: inline-flex;
    padding: 0.375rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--azul);
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    position: relative;
}

.page-numbers:hover {
    z-index: 2;
    color: var(--naranja);
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.page-numbers:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.page-numbers.current {
    z-index: 3;
    color: #fff;
    background-color: var(--naranja);
    border-color: var(--naranja);
}

.page-numbers.prev,
.page-numbers.next {
    font-weight: 600;
}

.page-numbers:first-child {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-numbers:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-numbers.dots {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/* Contenedor de paginación */
#paginacion-container nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#paginacion-container .page-numbers {
    margin: 0 2px;
    border-radius: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-numbers {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .page-numbers.prev .page-link,
    .page-numbers.next .page-link {
        padding: 0.25rem 0.4rem;
    }
}

