@charset "utf-8";
/* =========================================================
   SLIDER GENERAL
========================================================= */
.ac-slide .carousel-item {
    height: 600px;
    min-height: 0;
    position: relative;
    opacity: 1;
    overflow: hidden;
}
/* =========================================================
   IMAGEN DEL SLIDER
========================================================= */
.ac-slide .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
/* =========================================================
   CAPTION GENERAL
========================================================= */
.ac-slide .carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    user-select: none;
    padding: 0 15px;
}
/* =========================================================
   ALINEACIÓN IZQUIERDA
========================================================= */
.ac-slide .carousel-caption.ac-sl-caption--left {
    align-items: flex-start;
    text-align: left;
}
.ac-slide .carousel-caption.ac-sl-caption--left .ac-sl-content {
    margin-left: 0;
    margin-right: auto;
}
/* =========================================================
   ALINEACIÓN DERECHA
========================================================= */
.ac-slide .carousel-caption.ac-sl-caption--right {
    align-items: flex-end;
    text-align: right;
}
.ac-slide .carousel-caption.ac-sl-caption--right .ac-sl-content {
    margin-left: auto;
    margin-right: 0;
}
/* =========================================================
   ALINEACIÓN CENTRO
========================================================= */
.ac-slide .carousel-caption.ac-sl-caption--center {
    align-items: center;
    text-align: center;
}
.ac-slide .carousel-caption.ac-sl-caption--center .ac-sl-content {
    margin-left: auto;
    margin-right: auto;
}
/* =========================================================
   CONTENIDO DEL SLIDER
========================================================= */
.ac-slide .ac-sl-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 650px;
    padding: 30px;
    background: transparent;
}
/* =========================================================
   SOMBRAS DEL TEXTO
========================================================= */
.ac-slide .ac-sl-content .sl-title,
.ac-slide .ac-sl-content p,
.ac-slide .ac-sl-content .sl-detalles {
    text-shadow: none;
}
/* =========================================================
   MANCHA DIFUMINADA - IZQUIERDA
========================================================= */
/*
.ac-slide .ac-sl-caption--left .ac-sl-content::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: rgba(14, 33, 103, 0.3);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(25px);
    z-index: -1;
    pointer-events: none;
}
*/
/* =========================================================
   MANCHA DIFUMINADA - DERECHA
========================================================= */
/*
.ac-slide .ac-sl-caption--right .ac-sl-content::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: rgba(255, 255, 255, 0.20);
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
    filter: blur(25px);
    z-index: -1;
    pointer-events: none;
}
*/
/* =========================================================
   MANCHA DIFUMINADA - CENTRO
========================================================= */
/*
.ac-slide .ac-sl-caption--center .ac-sl-content::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
}
*/
/* =========================================================
   ADAPTACIÓN AL CONTAINER DE BOOTSTRAP
========================================================= */
@media (min-width: 1400px) {
    .ac-slide .carousel-caption.ac-sl-caption--left,
    .ac-slide .carousel-caption.ac-sl-caption--right {
        padding-left: calc((100vw - 1320px) / 2);
        padding-right: calc((100vw - 1320px) / 2);
    }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .ac-slide .carousel-caption.ac-sl-caption--left,
    .ac-slide .carousel-caption.ac-sl-caption--right {
        padding-left: calc((100vw - 1140px) / 2);
        padding-right: calc((100vw - 1140px) / 2);
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ac-slide .carousel-caption.ac-sl-caption--left,
    .ac-slide .carousel-caption.ac-sl-caption--right {
        padding-left: calc((100vw - 960px) / 2);
        padding-right: calc((100vw - 960px) / 2);
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .ac-slide .carousel-caption.ac-sl-caption--left,
    .ac-slide .carousel-caption.ac-sl-caption--right {
        padding-left: calc((100vw - 720px) / 2);
        padding-right: calc((100vw - 720px) / 2);
    }
}
/* =========================================================
   ANIMACIONES
========================================================= */
.ac-slide .carousel-caption h2,
.ac-slide .carousel-caption p,
.ac-slide .sl-title,
.ac-slide .sl-detalles,
.ac-slide .ac-sl-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
/* Contenido */
.ac-slide .carousel-item.active .ac-sl-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
/* Título */
.ac-slide .carousel-item.active .carousel-caption h2,
.ac-slide .carousel-item.active .sl-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}
/* Descripción */
.ac-slide .carousel-item.active .carousel-caption p,
.ac-slide .carousel-item.active .sl-detalles {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}
/* =========================================================
   TIPOGRAFÍA
========================================================= */
.ac-slide .sl-title {
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 700;
}
.ac-slide .sl-detalles {
    max-width: 700px;
    margin: auto;
}
/* =========================================================
   INDICADORES
========================================================= */
.ac-slide .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.7;
    z-index: 600;
}
.ac-slide .carousel-indicators .active {
    opacity: 1;
}
/* =========================================================
   FLECHAS
========================================================= */
.ac-slide .carousel-control-prev span,
.ac-slide .carousel-control-next span {
    font-size: 2.3rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, color 0.3s ease;
}
.ac-slide .carousel-control-prev:hover span {
    color: #ffffff;
    transform: translateX(-4px);
}
.ac-slide .carousel-control-next:hover span {
    color: #ffffff;
    transform: translateX(4px);
}
/* =========================================================
   CONTENEDOR GENERAL
========================================================= */
#cont_slider {
    position: relative;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#cont_slider::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: inherit;
    background-repeat: inherit;
    background-position: inherit;
    background-size: inherit;
    z-index: -1;
    pointer-events: none;
}
/* =========================================================
   NOTEBOOKS CON POCA ALTURA
   Ajuste vertical sin deformar las imágenes
   IMPORTANTE:
   --ac-header-height representa la altura del header.
   Valor inicial: 100px.
   Si el header está superpuesto al slider, utiliza 0px.
========================================================= */
:root {
    --ac-header-height: 100px;
}
@media (min-width: 992px) and (max-height: 800px) {
    .ac-slide .carousel-item {
        height: calc(100vh - var(--ac-header-height));
        min-height: 0;
        overflow: hidden;
    }
    .ac-slide .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}
/* =========================================================
   TABLETS Y MÓVILES
========================================================= */
@media (max-width: 991.98px) {
    .ac-slide .carousel-item {
        height: 420px;
        min-height: 0;
    }
    .ac-slide .carousel-caption,
    .ac-slide .carousel-caption.ac-sl-caption--left,
    .ac-slide .carousel-caption.ac-sl-caption--right {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .ac-slide .carousel-caption .ac-sl-content {
        width: 100%;
        max-width: 650px;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 20px;
        text-align: center !important;
    }
    .ac-slide .carousel-caption .ac-sl-content .ac-sl-label {
        justify-content: center;
        text-align: center;
    }
    .ac-slide .carousel-caption .ac-sl-content .ac-sl-description {
        max-width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
    .ac-slide .carousel-caption .ac-sl-content .ac-sl-buttons {
        justify-content: center;
    }
    .ac-slide .carousel-caption .ac-sl-content > * {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
}
/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */
@media (max-width: 576px) {
    .ac-slide .carousel-item {
        height: 360px;
        min-height: 0;
    }
}