@font-face {
    font-family: 'Aller';
    src: url('/fonts/Aller/AllerRg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AllerDisplay';
    src: url('/fonts/Aller/AllerDisplay.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AllerLt';
    src: url('/fonts/Aller/Aller_Lt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Exo';
    src: url('/fonts/Aller/Exo-VariableFont_wght.ttf');
}

.html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'AllerLt', sans-serif !important;
    color: #FFF !important;
    font-size: 16px !important;
}

#header .barra-superior {
    width: 100%;
    height: 65px;
    background-color: #031641;
}

#header h1 {
    color: #FFF;
    /* color:#ffd800; */
    font-size: clamp(12px, 1.8vw, 23px) !important;
    margin-right: clamp(4px, .10vw, 18px);
    font-family: 'AllerDisplay', sans-serif !important;
    margin-bottom: 0;
}

#header .escudo-unam {
    height: 55px;
}

#header .logo-sa {
    height: 35px;
}

#header .logo-cec {
    height: 55px;
}

#header .logo475-unam {
    height: 55px;
}

@media (max-width: 768px) {

    #header .escudo-unam {
        height: 45px;
    }

    #header .logo-sa {
        height: 25px;
    }

    #header .logo-cec {
        height: 45px;
    }

    #header .logo475-unam {
        height: 45px;
    }
}



@media (min-width: 992px) {
    #header h1 {
        margin-right: clamp(10px, 5vw, 95px);
    }
}

#header .titulo-cec {
    text-align: right;
    flex: 1;
}

#header .navbar {
    background-color: #16476A !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#header .navbar.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#header .bi-house-fill {
    font-size: 20px;
}

#header .navbar .nav-link {
    color: #FFF !important;
    font-size: 16px !important;
}

#carrusel-principal {
    height: 93vh;
}

#carrusel-principal .carousel-inner,
#carrusel-principal .carousel-item {
    height: 93vh;
}

#carrusel-principal .carousel-item {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
    position: absolute;
    background-size: cover;
    background-position: center;
    /* background-color: #1a1a1a; */
}

#carrusel-principal .carousel-item img {
    width: 100%;
    height: 93vh;
    object-fit: cover;
    object-position: center;
}

#carrusel-principal .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    pointer-events: none;
    z-index: 2;
}


/* #carrusel-principal .carousel-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} */
/* 
.bg-slide-2 {
    background-image: url('/img/recinto/cec-2.JPEG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-slide-3 {
    background-image: url('/img/recinto/cec-3.JPEG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-slide-4 {
    background-image: url('/img/recinto/cec-1.JPEG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-slide-5 {
    background-image: url('/img/recinto/cec-5.JPEG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-slide-6 {
    background-image: url('/img/recinto/cec-6.JPEG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-slide-1::after,
.bg-slide-2::after,
.bg-slide-3::after,
.bg-slide-4::after,
.bg-slide-5::after,
.bg-slide-6::after,
.bg-slide-vid::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    pointer-events: none;
    z-index: 2;
} */

/* 
#carrusel-principal .eventos {
    position: absolute;
    z-index: 3;
    margin-top: 20px;
}

#carrusel-principal .card-evento {
    position: relative;
    background-color: #000;
    width: 250px;
    height: 100px;
    border-radius: 15px;
}

#carrusel-principal .icono-evento {
    width: 80px;
    position: absolute;
    top: 10px;
    left: 10px;
} */
.video-carrusel {
    width: 100vw;
    object-fit: cover;
    height: 100vh;

}

.titulo-degradado {
    font-size: clamp(40px, 12vw, 150px);
    font-weight: bold;
    letter-spacing: -2px;

    /* background: linear-gradient(to bottom, rgb(255, 255, 255) 20%, rgb(64, 77, 119) 55%, rgb(12, 24, 62) 100%); */
    background: linear-gradient(to bottom, rgb(255, 255, 255) 20%, rgb(124, 129, 147) 55%, rgb(15, 46, 69) 80%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    color: transparent;
    font-family: 'AllerDisplay', sans-serif !important;
    align-self: center;

}

.subtitulo {
    font-size: 28px;
    color: #FFF;
    font-family: 'AllerDisplay', sans-serif !important;
}

#carrusel-principal {
    position: relative;
}

#carrusel-principal .contenedor-eventos {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

#carrusel-principal .superpuesto-eventos {
    position: relative;
}

@media (min-width: 1000px) {
    #carrusel-principal .superpuesto-eventos .owl-nav {
        display: none !important;
    }
}

@media (max-width: 999px) {
    #carrusel-principal .superpuesto-eventos .owl-nav {
        display: flex !important;
    }
}

@media (max-width:766px) {
    #carrusel-principal .contenedor-eventos {
        max-width: 700px !important;
    }
}

@media (min-width: 530px) and (max-width: 649px) {
    #carrusel-principal .superpuesto-eventos .owl-nav {
        /* display: flex !important; */
        width: clamp(90%, 95%, 100%) !important;
    }

    #carrusel-principal .contenedor-eventos {
        max-width: 500px !important;
    }

    #carrusel-principal .superpuesto-eventos .owl-nav .owl-prev {
        left: -25px !important;
    }

    #carrusel-principal .superpuesto-eventos .owl-nav .owl-next {
        right: -25px !important;
    }
}

#carrusel-principal .superpuesto-eventos .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    justify-content: space-between;
    pointer-events: none;
    margin-top: 0px !important;
    z-index: 5;
}

#carrusel-principal .superpuesto-eventos .owl-nav button {
    pointer-events: all;
    position: relative;
    background: transparent !important;
    color: #fff !important;
    border-radius: 0;
    width: auto;
    height: auto;
    font-size: 42px;
    line-height: 1;
    box-shadow: none !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, color 0.2s ease;
}

#carrusel-principal .superpuesto-eventos .owl-nav button span {
    display: block;
    line-height: 1;
}

#carrusel-principal .superpuesto-eventos .owl-nav button:hover {
    background: transparent !important;
    color: #f3f6f8 !important;
    transform: scale(1.08);
}

#carrusel-principal .superpuesto-eventos .owl-nav .owl-prev {
    left: 12px;
}

#carrusel-principal .superpuesto-eventos .owl-nav .owl-next {
    right: 12px;
}

@media (max-width: 649px) {
    #carrusel-principal .superpuesto-eventos .owl-nav button {
        font-size: 34px;
    }

    #carrusel-principal .superpuesto-eventos .owl-nav .owl-prev {
        left: 8px;
    }

    #carrusel-principal .superpuesto-eventos .owl-nav .owl-next {
        right: 8px;
    }
}

#carrusel-principal .superpuesto-eventos .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

#carrusel-principal .superpuesto-eventos .owl-item {
    display: flex !important;
    height: auto !important;
    align-self: stretch;
    padding: 10px;
}

#carrusel-principal .superpuesto-eventos .item {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
}

#carrusel-principal .card-evento {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(7.6px);
    -webkit-backdrop-filter: blur(7.6px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    width: min(400px, 100%);
    min-width: 0;
    max-width: 100%;
    min-height: 150px;
    height: 100%;
    flex: 1;
    display: flex;
}

#carrusel-principal .card-evento-link {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

#carrusel-principal .card-evento>div:first-child {
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#carrusel-principal .card-evento>div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

#carrusel-principal .icono-evento {
    width: 60px;
    position: relative;
    margin: 0;
}

/* .titulo-evento {
    color: #FDC23B;
    font-size: 18px;
    font-family: 'AllerDisplay', sans-serif !important;
    margin-bottom: 5px;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
} */

#carrusel-principal .titulo-evento {
    color: #000;
    font-size: 16px;
    font-family: 'Aller', sans-serif !important;
    margin-bottom: 0;
    line-height: 1.25;
    min-height: 0;
    display: block;
    overflow-wrap: anywhere;
    /* text-shadow:
        -2px -2px 3px #fff, 2px -2px 3px #fff, -2px 2px 3px #fff, 2px 2px 3px #fff; */

}

#carrusel-principal .fecha-evento {
    color: #073C61;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.25;
    min-height: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    /* text-shadow:
        -2px -2px 3px #000,
        2px -2px 3px #000,
        -2px 2px 3px #000,
        2px 2px 3px #000; */
    font-weight: 600;
}

#carrusel-principal .detalle-evento {
    color: #680000;
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.25;
    min-height: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    /* text-shadow: -1px -1px 2px #fff, 1px -1px 2px #fff, -1px 1px 2px #FFF, 1px 1px 2px #FFF; */
    font-weight: bold;
}

@media (max-width: 576px) {
    #carrusel-principal .superpuesto-eventos .owl-item {
        padding: 8px;
    }

    #carrusel-principal .card-evento {
        min-height: 138px;
        padding: 10px;
    }

    #carrusel-principal .card-evento>div:first-child {
        flex: 0 0 48px;
    }

    #carrusel-principal .icono-evento {
        width: 48px;
    }

    #carrusel-principal .titulo-evento {
        font-size: 16px;
    }

    #carrusel-principal .fecha-evento,
    #carrusel-principal .detalle-evento {
        font-size: 14px;
    }
}

#carrusel-principal .descripcion-cec {
    font-family: "Exo", sans-serif;
    font-weight: bold;
    color: #fff;
    font-size: clamp(32px, 8vw, 60px);
    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.9),
        0 6px 30px rgba(0, 0, 0, 0.8),
        0 8px 40px rgba(0, 0, 0, 0.7);
}

#nosotros {
    background-image: url('/img/fondos/Fondo_azul_4.webp');
    background-size: cover;
    background-position: center 20%;
    background-color: #162248;
}

#nosotros .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
}

/* @media (max-width: 540px) {
    .swiper-slide {
        width: 300px !important;
        height: 200px !important;
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.5s ease;
        transform: scale(0.9);
        opacity: 0.6;

    }
} */

#nosotros .swiper-slide {
    width: 350px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s ease;
    transform: scale(0.9);
    opacity: 0.6;
}

@media (max-width: 640px) {
    #nosotros .swiper-slide {
        width: 350px;
        height: 250px;
        border-radius: 20px;
        overflow: hidden;
        transition: all 0.5s ease;
        transform: scale(0.8) !important;
        opacity: 0.6;
    }

    #nosotros .swiper-slide-active {
        transform: none !important;
        opacity: 1;
        z-index: 10;
    }
}

/* Efecto para el slide CENTRAL (activo) */
#nosotros .swiper-slide-active {
    transform: scale(1.1);
    opacity: 1;
    z-index: 10;
}

#nosotros .slide-content {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Aller', sans-serif !important;
    position: relative;
}

#nosotros .slide-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

#nosotros .floating-icon {
    width: 100px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.descripcion {
    text-align: justify;
}

#fondoUNAM {
    background-image: url('/img/fondos/fondo-UNAM.webp');
    background-size: cover;
    background-position: center top;
    width: 100%;
    height: 80vh;
}

#servicios {
    background-image: url('/img/fondos/Fondo_azul.webp');
    background-size: cover;
    background-position: center;
    background-color: #162248;
}

#servicios .escalar {
    transform: scale(1);
    transition: all ease .3s;
}

#servicios .escalar:hover {
    transform: scale(1.1);
}

#servicios .galeria-experiencias {
    display: flex;
    /* flex-wrap: wrap; */
    /* gap: 20px; */
    justify-content: center;
}

#servicios .galeria-experiencias img {
    width: calc(90% - 12px);
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    justify-self: center;
}

#servicios .galeria-experiencias img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

#servicios .album {
    display: grid;
}

@media (max-width: 1200px) {
    #servicios .galeria-experiencias img {
        width: calc(100% - 10px);
    }
}

@media (max-width: 768px) {
    #servicios .galeria-experiencias img {
        width: calc(80% - 10px);
        height: 230px;
    }
}

@media (max-width: 576px) {
    #servicios .galeria-experiencias img {
        width: calc(70% - 8px);
        height: 180px;
    }
}

#servicios .descripcion-form {
    color: #FFF;
    font-size: 20px;
}

#mapaCEC {
    position: relative;
}

#mapaCEC .contactanos {
    color: #000;
    font-size: 16px;
    border: 2px solid rgba(0, 0, 89, 0.3);
    border-radius: 10px;
    background-color: #f5f5f5ed;
    box-shadow: 0 0 20px rgba(0, 0, 89, 0.4),
        0 0 40px rgba(0, 0, 89, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.2);
}

#mapaCEC .sub-card {
    font-size: 22px;
    color: #384a73;
    font-family: 'AllerDisplay', sans-serif !important;
}

#mapaCEC .bi-telephone-fill {
    color: #384a73 !important
}

.barra-sup-footer {
    height: 20px;
    background-color: #F0BE52;
}

#footer {
    background-color: #152147;
}

#footer p {
    font-size: 14px;
    margin-bottom: 8px;
}

#footer .nav-link {
    color: #FFF !important;
    font-size: 14px !important;
}

/* Personalización de lightGallery con iconos de Bootstrap */
/* Ocultar los iconos originales de lightGallery */
.lg-icon {
    background-image: none !important;
}

/* Botón cerrar (X) */
.lg-close::after {
    content: '\F62A' !important;
    /* bi-x-lg */
    font-family: 'bootstrap-icons' !important;
    font-size: 32px;
    color: white;
}

.lg-close::before {
    display: none !important;
}

/* Flecha izquierda */
.lg-prev::after {
    content: '\F284' !important;
    /* bi-chevron-left */
    font-family: 'bootstrap-icons' !important;
    font-size: 36px;
    color: white;
}

.lg-prev::before {
    display: none !important;
}

/* Flecha derecha */
.lg-next::after {
    content: '\F285' !important;
    /* bi-chevron-right */
    font-family: 'bootstrap-icons' !important;
    font-size: 36px;
    color: white;
}

.lg-next::before {
    display: none !important;
}

#calendario h1 {
    font-family: 'AllerDisplay', sans-serif !important;
    color: #16476a !important;


}



.calendario-wrapper {
    position: relative;
    background: #5E7F9712;
    overflow: hidden;
}

.calendario-bg-image {
    position: fixed;
    left: 5%;
    top: 175px;
    transform: translateY(0);
    width: auto;
    z-index: -1;
    pointer-events: none;
    width: 55px;
}

/* Ajustes responsivos para la imagen de calendario */
@media (min-width: 1400px) {
    .calendario-bg-image {
        left: 15%;
        max-width: 400px;
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .calendario-bg-image {
        left: 8%;
        max-width: 350px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .calendario-bg-image {
        left: 5%;
        max-width: 280px;
        height: 40vh;
    }
}

@media (max-width: 767px) {
    .calendario-bg-image {
        left: 2%;
        max-width: 200px;
        height: 30vh;
        opacity: 0.3;
    }
}

#calendario {
    --primary-blue: #4facfe;
    --secondary-cyan: #00f2fe;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --text-dark: #1a2a3a;
    --text-muted: #64748b;
    position: relative;
    z-index: 1;
}

#calendario {
    height: calc(100vh - 90px);
    min-height: 520px;
    overflow-y: auto;
    padding: 50px 20px;
    position: relative;
    z-index: 1;
}

#calendario .timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

#calendario .timeline::before {
    content: "";
    position: absolute;
    top: 0;
    height: var(--line-height, 100%);
    left: 130px;
    width: 3px;
    background: #324e91;
    border-radius: 10px;
    opacity: 0.4;
    transform: translateX(-1.5px);
}

#calendario .timeline-item {
    display: grid;
    grid-template-columns: 110px 40px 1fr;
    align-items: start;
    margin-bottom: 35px;
    position: relative;
    padding-right: 10px;
}

#calendario .timeline-month {
    text-align: right;
    padding-right: 15px;
    font-family: 'AllerDisplay', sans-serif !important;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-top: 15px;
}

#calendario .timeline-month.active {
    transform: scale(1.1);
    color: #0269c5;
}

#calendario .timeline-month--toggle {
    cursor: pointer;
    user-select: none;
}

#calendario .timeline-month--toggle:hover {
    color: #0269c5;
}

#calendario .timeline-item.mes-colapsado[data-mes-primero="false"] {
    display: none;
}

#calendario .timeline-item.mes-colapsado[data-mes-primero="true"] .timeline-content {
    display: none;
}

#calendario .timeline-item.mes-colapsado[data-mes-primero="true"] {
    margin-bottom: 14px;
}

#calendario .timeline-item[data-mes-primero="true"] .timeline-dot {
    cursor: pointer;
}

#calendario .timeline-dot {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 15px;
}

#calendario .timeline-dot::before {
    content: "";
    width: 14px;
    height: 14px;
    background: white;
    border: 3px solid #000;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 8px rgba(79, 172, 254, 0.4);
}

#calendario .timeline-content {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#calendario .timeline-event-item--link {
    cursor: pointer;
}

#calendario .timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

#calendario .timeline-content.con-evento {
    border-left: 4px solid #395fb6;
}

#calendario .badge-tipo {
    float: right;
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    background: rgba(79, 172, 254, 0.1);
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.25);
    animation: badge-latido 1.8s ease-in-out infinite;
    isolation: isolate;
}

#calendario .badge-tipo::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: rgba(79, 172, 254, 0.16);
    z-index: -1;
    animation: badge-halo 1.8s ease-out infinite;
}

@keyframes badge-latido {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.25);
    }

    35% {
        transform: scale(1.06);
        box-shadow: 0 0 0 8px rgba(79, 172, 254, 0);
    }

    55% {
        transform: scale(1.02);
        box-shadow: 0 0 12px 1px rgba(79, 172, 254, 0.18);
    }
}

@keyframes badge-halo {
    0% {
        opacity: 0.55;
        transform: scale(0.96);
    }

    70% {
        opacity: 0;
        transform: scale(1.22);
    }

    100% {
        opacity: 0;
        transform: scale(1.26);
    }
}

#calendario .nombre-evento {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    padding-right: 60px;
}

#calendario .organizador,
#calendario .fecha {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 5px;
}

#calendario .organizador i,
#calendario .fecha i {
    color: #3a6e9c;
}

#calendario .no-evento {
    color: var(--text-muted);
    font-style: italic;
}

.calendario-buscador .input-group-text {
    background-color: #fff;
    border-color: #ced4da;
    color: #16476a;
}

.calendario-buscador .form-control:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.2);
}

.calendario-buscador-ayuda {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.calendario-sin-resultados {
    max-width: 900px;
    margin: 0 auto 1rem;
}

.calendario-vista-opciones {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.calendario-vista-opcion {
    margin-bottom: 0;
}

.calendario-vista-opcion .form-check-label {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    cursor: pointer;
}

.calendario-vista-opcion-titulo {
    color: #16476a;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
}

.calendario-vista-opcion-desc {
    color: var(--text-muted, #64748b);
    font-size: 0.8rem;
    line-height: 1.3;
}

.calendario-vista-opcion .form-check-input:checked {
    background-color: #16476a;
    border-color: #16476a;
}

@media (min-width: 768px) {
    .calendario-vista-opciones {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 0.75rem;
    }

    .calendario-vista-opcion {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        align-items: center;
        padding: 0.55rem 0.75rem;
        padding-left: 0.75rem;
        border: 1px solid #d7e2eb;
        border-radius: 0.5rem;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .calendario-vista-opcion .form-check-input {
        float: none;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0.5rem;
        flex-shrink: 0;
    }

    .calendario-vista-opcion .form-check-label {
        flex: 1;
        min-width: 0;
    }

    .calendario-vista-opcion-titulo {
        font-size: 0.875rem;
        text-align: left;
    }
}

.tit-instalaciones {
    font-family: 'AllerDisplay', sans-serif !important;
    color: #16476a !important;
}

body:has(#instalaciones) {
    background: #5E7F9712 !important;
}

#instalaciones {
    margin-bottom: 4rem !important;
}

#instalaciones h1 {
    font-family: 'AllerDisplay', sans-serif !important;
    color: #16476a;
}


@media (max-width: 768px) {
    #instalaciones {
        margin-bottom: 4rem !important;
    }
}

@media (max-width: 576px) {
    #instalaciones {
        margin-bottom: 4rem !important;
    }
}


#instalaciones .secciones-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 0;
    box-shadow: 15px 0 30px rgba(0, 0, 0, 0.05);
    max-width: 280px;
    max-height: 600px;
}


#instalaciones .secciones-header {
    padding: 0 25px 15px 25px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
}

#instalaciones .secciones-header h5 {
    font-weight: 500;
    color: #1a2b3c;
    margin: 0;
}

#instalaciones .secciones-container .nav-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #334155;
    /* font-weight: 600; */
    transition: all 0.2s ease;
    position: relative;
}

#instalaciones .dot-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

#instalaciones .icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
}

#instalaciones .secciones-container .nav-link.active {
    background: linear-gradient(90deg, #fff 0%, #faefe1 100%) !important;
    color: #1a2b3c !important;
    /* border-radius: 0 15px 15px 0; */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.03);
}

#instalaciones .bg-aqua {
    background-color: #00a99d;
}

#instalaciones .bg-aqua-soft {
    background-color: #00a99d1a;
    color: #00a99d;
}

#instalaciones .bg-dorado {
    background-color: #FFBB28;
}

#instalaciones .bg-dorado-soft {
    background-color: #FFBB281a;
    color: #FFBB28;
}

#instalaciones .bg-azul-2-soft {
    background-color: #d8efff;
    color: #2886FF;
}

#instalaciones .bg-morado {
    background-color: #8557a7;
}

#instalaciones .bg-morado-soft {
    background-color: #8557a71a;
    color: #8557a7;
}

#instalaciones .bg-azul {
    background-color: #338dc9;
}

#instalaciones .bg-azul-soft {
    background-color: #338dc91a;
    color: #338dc9;
}

#instalaciones .bg-verde {
    background-color: #61c46e;
}

#instalaciones .bg-verde-soft {
    background-color: #61c46e1a;
    color: #61c46e;
}

#instalaciones .bg-verde-2 {
    background-color: #a3d165;
}

#instalaciones .bg-verde-2-soft {
    background-color: #a3d1651a;
    color: #a3d165;
}

#instalaciones .bg-azul-2 {
    background-color: #53bbe7;
}

#instalaciones .bg-azul-2-soft {
    background-color: #53bbe71a;
    color: #53bbe7;
}

#instalaciones .bg-amarillo {
    background-color: #FDF14D;
}

#instalaciones .bg-amarillo-soft {
    background-color: #FDF14D1a;
    color: #DACB00;
}

#instalaciones .bg-rosa {
    background-color: #FF95BD;
}

#instalaciones .bg-rosa-soft {
    background-color: #FF95BD1a;
    color: #FF95BD;
}

#instalaciones .bg-naranja {
    background-color: #f47b50;
}

#instalaciones .bg-naranja-soft {
    background-color: #f47b501a;
    color: #f47b50;
}

#instalaciones .bg-rosa-2 {
    background-color: #dd437b;
}

#instalaciones .bg-rosa-2-soft {
    background-color: #dd437b1a;
    color: #dd437b;
}

#instalaciones .bg-rojo {
    background-color: #ff4a51;
}

#instalaciones .bg-rojo-soft {
    background-color: #ff4a511a;
    color: #ff4a51;
}

#instalaciones .label {
    font-size: 0.95rem;
}

#instalaciones .accordion-item {
    border: none;
}

#instalaciones .accordion-button {
    font-size: 1.15rem;
}

#instalaciones .accordion-button:not(.collapsed) {
    box-shadow: none !important;
    background-color: transparent !important;
}

#myTabContent {
    width: 100%;
}

#myTabContent img {
    width: 100%;
    height: auto;
    display: block;
}

#instalaciones .secciones-container #areaGeneralTab.active {
    background: linear-gradient(90deg, #fff 0%, #d8efff 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #exhibicionTab.active {
    background: linear-gradient(90deg, #fff 0%, #00a99d1a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #salaUnoTab.active {
    background: linear-gradient(90deg, #fff 0%, #8557a71a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #salaDosTab.active {
    background: linear-gradient(90deg, #fff 0%, #338dc91a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #salaATab.active {
    background: linear-gradient(90deg, #fff 0%, #61c46e1a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #salaBTab.active {
    background: linear-gradient(90deg, #fff 0%, #a3d1651a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #oficinasTab.active {
    background: linear-gradient(90deg, #fff 0%, #53bbe71a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #areaGeneralPPTab.active {
    background: linear-gradient(90deg, #fff 0%, #ffbb282e 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #salaTresTab.active {
    background: linear-gradient(90deg, #fff 0%, #FDF14D1a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #salaCuatroTab.active {
    background: linear-gradient(90deg, #fff 0%, #FF95BD1a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #salaCincoTab.active {
    background: linear-gradient(90deg, #fff 0%, #f47b501a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #salaConjuntoTab.active {
    background: linear-gradient(90deg, #fff 0%, #dd437b1a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .secciones-container #salaTerrazaTab.active {
    background: linear-gradient(90deg, #fff 0%, #ff4a511a 100%) !important;
    transform: translateY(-3px);
}

#instalaciones .descripcion-galeria {
    background-color: rgb(255, 255, 255);
    box-shadow: 15px 0 30px rgba(0, 0, 0, 0.09);
    padding: 20px;
    border-radius: 15px;
    position: relative;
    top: -60px;

}

@media (min-width: 576px) and (max-width: 768px) {
    #instalaciones .descripcion-galeria {
        gap: 1rem !important;
    }

    #instalaciones .descripcion-galeria>.col-sm-3 {
        width: 30% !important;
    }

    #instalaciones .descripcion-galeria>.col-sm-9 {
        width: calc(70% - 1rem) !important;
        min-width: 0;
    }

    #instalaciones .descripcion-galeria p,
    #instalaciones .descripcion-galeria span {
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

@media (max-width: 576px) {
    #instalaciones .descripcion-galeria {
        top: 20px;
    }
}

#instalaciones .btn-planta-baja {
    background-color: #00a99d;
    border-color: #00a99d;
    color: white;
}

#instalaciones .btn-planta-baja:hover {
    background-color: #008f85;
    border-color: #008f85;
    color: white;
}

#instalaciones .btn-planta-baja-outline {
    background-color: transparent;
    border-color: #16476a;
    color: #16476a;
}

#instalaciones .btn-planta-baja-outline:hover {
    background-color: #00a99d;
    border-color: #00a99d;
    color: white;
}

#instalaciones .btn-planta-alta {
    background-color: #16476a;
    border-color: #16476a;
    color: white;
}

#instalaciones .btn-planta-alta:hover {
    background-color: #123a56;
    border-color: #123a56;
    color: white;
}

#instalaciones .btn-planta-alta-outline {
    background-color: transparent;
    border-color: #16476a;
    color: #16476a;
}

#instalaciones .btn-planta-alta-outline:hover {
    background-color: #16476a;
    border-color: #16476a;
    color: white;
}

#instalaciones .clic-galeria {
    color: #0f4a50 !important;
    font-weight: 600;
    font-style: italic;
}

#instalaciones p {
    text-align: justify;
    margin-top: 10px;
    margin-bottom: 10px;
}

#instalaciones span {
    text-align: justify;
}

body:has(#creditos) {
    background: #5E7F9712 !important;
}

#creditos {
    color: #000;
}

#creditos h1,
#creditos h2,
#creditos h3,
#creditos h4,
#creditos h5,
#creditos h6 {
    font-family: 'AllerDisplay', sans-serif !important;
    color: #16476a;
}

.creditos-section {
    margin-bottom: 2rem !important;
}

#creditos h5 {
    font-size: 1.15rem;
}

#avisoPrivacidad h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'AllerDisplay', sans-serif !important;
    color: #16476a;
}

#avisoPrivacidad h5 {
    font-size: 1.15rem;
}

#avisoPrivacidad p {
    text-align: justify;
}

body:has(#avisoPrivacidad) {
    background: #5E7F9712 !important;
}