@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;

}

p,
h2 {
    margin: 0 !important;
}

body {
    background-color: var(--bg-color-7) !important;
}

.ali-item img {
    filter: grayscale(100);
}

.ali-item:hover img {
    filter: grayscale(0);
    transition: .5s;
}

/* 
####
BANNER #1
####
*/
.banner-1 {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.item1 {
    background: var(--bg-gradiente-3);

}

.contenido-item {
    max-width: 1300px;
}

.item2 {
    background: linear-gradient(270deg, #0086A5 16.42%, #041B2C 118.25%);

}

.item3 {
    background: linear-gradient(270deg, #0086A5 16.42%, #041B2C 118.25%);

}

.banner-1 .carousel-indicators [data-bs-target] {
    background-color: var(--bg-color-8) !important;
}

.banner-1 .carousel-indicators .active {
    background-color: var(--bg-color) !important;
}

.banner-1 .carousel-item {
    height: 440px;
}

.banner-1 .contenido-item {
    height: 100%;
    width: 100%;
    padding: 0 5%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.banner-1 .contenido-item .txt-item {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.banner-1 .contenido-item .txt-item h2,
.banner-1 .contenido-item .txt-item p {
    color: var(--txt-color-1);
    letter-spacing: 0%;
}

.banner-1 .contenido-item .txt-item h2 {
    font-size: 35px;
    font-weight: var(--txt-fw-1);
    line-height: 100%;
}

.banner-1 .contenido-item .txt-item p {
    font-size: 13px;
    line-height: 18px;
    font-weight: var(--txt-fw);
}

.banner-1 .contenido-item .img-item {
    width: 70%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.banner-1 .contenido-item .img-item img {
    height: auto;
    max-width: none;
    transform: scale(1.1) translateX(8%) translateY(10%);
}

/* 
####
ALIANZAS
####
*/
.alianza {
    display: flex;
    justify-content: center;
}

.alianza>div {
    margin: 8rem 0;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.alianza h2 {
    font-size: 25px;
    line-height: 100%;
    letter-spacing: -3%;
    font-weight: var(--txt-fw);
    color: var(--txt-color);
    margin-bottom: 2rem !important;
}

.alianza p {
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0%;
    font-weight: var(--txt-fw-2);
    margin-bottom: 3rem !important;
    color: var(--txt-color-cuerpo);
}

.alianza .ali-contenido {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
}

.alianza .ali-contenido a {
    width: 24%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color-10);
    border-radius: 15px;
}

.alianza .ali-contenido .ali-item img {
    object-fit: contain;
    height: 54px;
}


/* 
#####
LIBROS + VENDIDOS
####
*/
.librosVendidos {
    display: flex;
    justify-content: center;
}

.librosVendidos>div {
    width: 90%;
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    margin: 7rem 0;
}

.librosVendidos>div>h2 {
    width: 90%;
    max-width: 1000px;
    font-size: 25px;
    font-weight: var(--txt-fw);
    line-height: 100%;
    letter-spacing: -3%;
    color: var(--txt-color);
    margin: 0 auto !important;
}

.librosVendidos .libros-slide {
    display: flex;
    justify-content: center;
}

.librosVendidos .slide-Vendidos {
    width: 100%;
    max-width: 1300px;
}

.librosVendidos .swiper-wrapper {
    max-width: 1000px;
}

.librosVendidos .swiper-slide {
    width: 240px;
    height: 430px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
}

.librosVendidos .swiper-slide>div {
    width: 100%;
    height: 100%;
    padding: 1.25rem 2rem;
    background-color: var(--bg-color-10);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.librosVendidos .swiper-slide img {
    width: 100%;
    object-fit: contain;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.05);
}

.librosVendidos .slide-txt h2 {
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 3%;
    font-weight: var(--txt-fw);
    color: var(--txt-color);
    margin-bottom: .625rem !important;
}

.librosVendidos .slide-txt p {
    font-size: 11px;
    line-height: 100%;
    letter-spacing: -3%;
    color: var(--txt-color-cuerpo);
    margin-bottom: 1.5rem !important;
}

.librosVendidos .slide-txt span {
    font-size: 11px;
    line-height: 100%;
    letter-spacing: -3%;
    color: var(--txt-color);
}

.librosVendidos .slide-txt span,
.librosVendidos .slide-txt span .simbolo {
    font-size: 11px;
    line-height: 100%;
    letter-spacing: -3%;
    color: var(--txt-color);
}

.librosVendidos .slide-txt button {
    width: 100%;
    border: 0;
    border-radius: 25px;
    padding: .6rem 0;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: -3%;
    color: var(--txt-color-1);
    background: var(--bg-color-button);
    margin-top: 1.25rem !important;
}

.librosVendidos .swiper-button-next,
.librosVendidos .swiper-button-prev {
    color: var(--txt-color);
    background-color: var(--bg-color-9);
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.librosVendidos .swiper-button-prev {
    left: 6%;
}

.librosVendidos .swiper-button-next {
    right: 6%;
}

.librosVendidos .swiper-button-next::after,
.librosVendidos .swiper-button-prev::after {
    font-size: 13px !important;
}


/* 
####
METODOS PAGO
####
*/
.mtd-pagos {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: end;
    position: relative;
    overflow: hidden;
}

.mtd-pagos>div {
    width: 100%;
    max-width: 1200px;
    height: 200px;
    background: var(--bg-gradiente-6);
    display: flex;
    justify-content: center;
    position: relative;
}

.mtd-pagos .mtd-contenido {
    width: 90%;
    max-width: 1000px;
    max-height: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 250px;
}

.mtd-pagos .mtd-txt {
    width: 25%;
    max-width: 250px;
    flex: 1;
}

.mtd-pagos .mtd-txt h2 {
    font-size: 25px;
    line-height: 100%;
    letter-spacing: -3%;
    font-weight: var(--txt-fw);
    color: var(--txt-color-1);
}

.mtd-pagos .mtd-tag {
    width: 37%;
    max-width: 445px;
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    flex: 1.78;
}

.mtd-pagos .mtd-img {
    width: fit-content;
    max-width: 294px;
    position: absolute;
    right: 2%;
    bottom: 0;
}

.mtd-pagos .mtd-img img {
    width: 100%;
    object-fit: contain;
}




/* 
####
BENEFICIOS
####
*/
.BO {
    display: flex;
    justify-content: center;
}

.BO>div {
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    padding: 7rem 0;
}

.BO .BO-item {
    width: 27%;
    max-width: 255px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.BO .BO-item img {
    object-fit: contain;
    width: 43px;
}

.BO .BO-txt {
    width: 100%;
    max-width: 200px;
}

.BO .BO-txt h2 {
    font-size: 15px;
    line-height: 140%;
    letter-spacing: 0%;
    font-weight: var(--txt-fw);
    color: var(--txt-color);
}

.BO .BO-txt p {
    font-size: 11px;
    line-height: 140%;
    letter-spacing: 0%;
    font-weight: var(--txt-fw-2);
    color: var(--txt-color);
}



/* 
####
DARK MODE
####
*/
/* Fix para selectores correctos basados en el HTML */
.dark-mode body {
    background-color: var(--bg-dm-2) !important;
}

.dark-mode .banner-1,
.dark-mode .alianza,
.dark-mode .librosVendidos,
.dark-mode .mtd-pagos,
.dark-mode .BO,
.dark-mode .section-7 {
    background-color: var(--bg-dm-2) !important;
}

/* Tarjetas y elementos secundarios */
.dark-mode .alianza .ali-contenido a,
.dark-mode .librosVendidos .swiper-slide>div,
.dark-mode .section-7 .accordion-item,
.dark-mode .swiper-button-next,
.dark-mode .swiper-button-prev {
    background-color: var(--bg-dm-1) !important;
}

/* Textos */
.dark-mode .banner-1 h2,
.dark-mode .banner-1 p,
.dark-mode .alianza h2,
.dark-mode .alianza p,
.dark-mode .librosVendidos h2,
.dark-mode .librosVendidos .slide-txt h2,
.dark-mode .librosVendidos .slide-txt span,
.dark-mode .librosVendidos .slide-txt span .simbolo,
.dark-mode .mtd-pagos .mtd-txt h2,
.dark-mode .BO h2,
.dark-mode .BO p,
.dark-mode .section-7 .txt-section7,
.dark-mode .section-7 .accordion-button,
.dark-mode .section-7 .accordion-button::after,
.dark-mode .section-7 .accordion-button.active::after,
.dark-mode .swiper-button-next,
.dark-mode .swiper-button-prev {
    color: var(--txt-color-1) !important;
}

/* Accordion */
.dark-mode .section-7 .accordion-button:not(.collapsed) {
    background-color: var(--bg-dm-1) !important;
}


/* 
####
RESPONSIBLE
####
*/

@media screen and (min-width: 1301px) {

    .banner-1>div,
    .mtd-pagos>div {
        border-radius: 15px;
    }

}

@media screen and (min-width: 1201px) {

    .mtd-pagos>div {
        border-radius: 15px;
    }

}

@media screen and (max-width: 768px) {

    /* #### BANNER #1 (SLIDE) #### */
    .banner-1 {
        margin-top: 10rem;
    }
}




@media screen and (max-width: 360px) {

    /* #### BANNER #1 (SLIDE) #### */
    .banner-1 .carousel-item {
        height: 35.813rem;
    }

    .banner-1 .contenido-item {
        flex-direction: column;
        justify-content: center;
    }

    .banner-1 .contenido-item .txt-item {
        width: 100%;
        height: fit-content;
    }

    .banner-1 .contenido-item .img-item {
        width: 100%;
        height: 60%;
    }

    .banner-1 .contenido-item .img-item img {
        transform: scale(1.5) translateX(4%) translateY(10%);
    }

    /* #### ALIANZAS #### */
    .alianza .ali-contenido .ali-item {
        width: 40%;
    }

    .alianza .ali-contenido .ali-item img {
        width: 80%;
    }

    /* #### MTD-PAGOS #### */
    .mtd-pagos {
        height: auto;
    }

    .mtd-pagos>div {
        height: 38.875rem;
    }

    .mtd-pagos .mtd-contenido {
        flex-direction: column;
        padding: 20% 0 0 0;
        max-height: 45%;
    }

    .mtd-pagos .mtd-txt {
        width: 100%;
        text-align: center;
        flex: none;
    }

    .mtd-pagos .mtd-tag {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        flex: none;
    }

    .mtd-pagos .mtd-tag img {
        width: 56px;
        height: 40px;
        object-fit: contain;
    }

    .mtd-pagos .mtd-img {
        right: 8%;
    }

    /* #### BENEFICIOS #### */
    .BO>div {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .BO .BO-item {
        width: 100%;
    }

}