.elementor-970 .elementor-element.elementor-element-013ac0f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-970 .elementor-element.elementor-element-1efd0ed{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:15px;--padding-bottom:15px;--padding-left:15px;--padding-right:15px;}.elementor-970 .elementor-element.elementor-element-1efd0ed:not(.elementor-motion-effects-element-type-background), .elementor-970 .elementor-element.elementor-element-1efd0ed > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #F4F4F4 0%, #C7D7E4A1 100%);}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-970 .elementor-element.elementor-element-b7059e1{text-align:center;}.elementor-970 .elementor-element.elementor-element-b7059e1 .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:28px;font-weight:600;word-spacing:0px;-webkit-text-stroke-color:#000;stroke:#000;color:#002855;}.elementor-970 .elementor-element.elementor-element-6fa8981{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--flex-wrap:wrap;}.elementor-970 .elementor-element.elementor-element-374bebb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-970 .elementor-element.elementor-element-73c97fa{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-970 .elementor-element.elementor-element-691190c{--spacer-size:90px;}.elementor-970 .elementor-element.elementor-element-55d0eaa{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-970 .elementor-element.elementor-element-a22ee10{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}body.elementor-page-970:not(.elementor-motion-effects-element-type-background), body.elementor-page-970 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}@media(min-width:768px){.elementor-970 .elementor-element.elementor-element-374bebb{--width:33.3333%;}.elementor-970 .elementor-element.elementor-element-73c97fa{--width:33.3333%;}.elementor-970 .elementor-element.elementor-element-a22ee10{--width:33.3333%;}}@media(max-width:767px){.elementor-970 .elementor-element.elementor-element-b7059e1 .elementor-heading-title{font-size:17px;}.elementor-970 .elementor-element.elementor-element-691190c.elementor-element{--align-self:stretch;}}/* Start custom CSS for html, class: .elementor-element-8331e51 *//* --- 1. RESET Y ESTRUCTURA --- */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.qts-full-width-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 0;
    right: 0;
}

.qts-hero-carousel {
    height: 550px; 
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
}

/* --- 2. MANEJO DE FONDOS --- */
.qts-slide-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
}

/* Degradado para slides alineados a la izquierda (Slide 1 y 4) */
.swiper-slide:not(.qts-slide-centered) .qts-slide-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 65%; 
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(255,255,255,0.9) 45%, 
        rgba(255,255,255,0) 100%);
    z-index: 2;
}

/* --- CAPA DE FONDO BLANCA ESPECÍFICA PARA SLIDE 5 --- */
.qts-slider-5-integral .qts-slide-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Un degradado radial que aclara el centro y los bordes para el texto */
    background: rgba(255, 255, 255, 0.4); 
    z-index: 2;
}

/* --- 3. CONTENIDO GENERAL --- */
.qts-slide-content {
    position: relative;
    z-index: 3;
    max-width: 1140px; 
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qts-title {
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 900;
    color: #002855;
    line-height: 1.1;
    margin-bottom: 20px;
}

.qts-description {
    font-size: 18px;
    color: #333;
    max-width: 500px;
    margin-bottom: 20px;
}

/* --- 4. AJUSTE SLIDES CENTRADOS --- */
.qts-slide-centered .qts-slide-content {
    align-items: center; 
    text-align: center;
    justify-content: flex-start; 
    padding-top: 60px;
}

.qts-title-center {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 900;
    color: #002855;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 270px; 
}

/* --- 5. REGLAS ESPECÍFICAS DE SEPARACIÓN (PC) --- */
.qts-slider-3-extra .qts-title-center {
    margin-bottom: 330px !important; 
}

.qts-slider-5-integral .qts-slide-content {
    justify-content: space-between !important;
    padding-top: 60px;
    padding-bottom: 60px;
}

.qts-slider-5-integral .qts-title-center {
    margin-bottom: 0 !important;
    text-shadow: 0px 0px 15px rgba(255,255,255,0.8); /* Refuerzo de lectura */
}

/* --- 6. ESTILO DEL BOTÓN --- */
.btn-qts-rect-slider {
    display: inline-block;
    width: fit-content;
    padding: 16px 45px;
    background: linear-gradient(180deg, #ffb90f 0%, #ff8a00 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0px !important;
    box-shadow: 0 5px 15px rgba(255,138,0,0.3);
    transition: 0.3s ease;
}

/* --- 7. NAVEGACIÓN --- */
.qts-arrow { color: #002855 !important; width: 45px !important; height: 45px !important; background: rgba(255,255,255,0.6); border-radius: 50%; z-index: 10; }
.qts-pagination-bars .swiper-pagination-bullet { width: 45px !important; height: 5px !important; background: #002855 !important; border-radius: 0 !important; opacity: 0.3; }
.qts-pagination-bars .swiper-pagination-bullet-active { opacity: 1 !important; }

/* --- 8. MÓVIL: MINIATURA HORIZONTAL --- */
@media (max-width: 768px) {
    .qts-hero-carousel { 
        height: 220px !important; 
        min-height: 220px !important;
    }
    
    .qts-slide-bg {
        background-size: 100% 100% !important; 
        background-position: center center !important;
    }

    /* Quitamos los degradados automáticos pero dejamos un filtro suave para el slide 5 */
    .qts-slide-bg::before { display: none !important; }
    .qts-slider-5-integral .qts-slide-bg::before { 
        display: block !important; 
        background: rgba(255, 255, 255, 0.3); 
    }

    .qts-slide-content {
        padding: 0 15px !important;
        justify-content: center !important;
    }

    .swiper-slide:not(.qts-slide-centered) .qts-slide-content {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .qts-slide-centered .qts-slide-content {
        align-items: center !important;
        text-align: center !important;
        padding-top: 0 !important;
    }

    .qts-slider-5-integral .qts-slide-content {
        justify-content: space-between !important;
        padding-top: 20px !important;
        padding-bottom: 30px !important;
    }

    .qts-title, .qts-title-center {
        font-size: 14px !important;
        margin-bottom: 5px !important;
        max-width: 65% !important;
    }

    .qts-title-center { margin-bottom: 40px !important; }
    .qts-slider-3-extra .qts-title-center { margin-bottom: 50px !important; }
    .qts-slider-5-integral .qts-title-center { margin-bottom: 0 !important; }

    .qts-description {
        font-size: 9px !important;
        max-width: 50% !important;
        margin-bottom: 8px !important;
        line-height: 1.1 !important;
    }

    .btn-qts-rect-slider {
        padding: 6px 12px !important;
        font-size: 8px !important;
        width: auto !important;
    }

    .qts-arrow { display: none !important; }
    .qts-pagination-bars { bottom: 2px !important; transform: scale(0.5) !important; }
}/* End custom CSS */