/* HOME PAGE - CES VALI THEME */

#counters {
    background: linear-gradient(
        90deg,
        #05223d 0%,
        #07294e 25%,
        #0a3a6b 50%,
        #0d4a87 75%,
        #1058a0 100%
    );
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#counters::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: 0;
}

#counters .container {
    position: relative;
    z-index: 1;
}
#counters .mslide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}
#counters .cols-4 {
    align-items: center;
}
#counters .item-counter {
    display: grid;
    grid-template-columns: 60px auto;
    gap: 20px;
}
#counters .item-counter h3 {
    font-size: clamp(1.625rem, 1.4531rem + 0.625vw, 2rem);
}
#counters .item-titulo-imagen {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#counters .item-titulo-imagen h3 {
    font-size: clamp(1rem, 0.9427rem + 0.2083vw, 1.125rem);
    margin-bottom: 5px;
    font-weight: 600;
}
#counters .item-titulo-imagen img {
    width: auto;
    max-height: 50px;
}
#counters .item-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
}

:is(.product, .testimonial) {
    background: #fff;
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    color: var(--secondary-color);
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
:is(.product, .testimonial) h3 {
    font-weight: bold;
}
.product {
    overflow: hidden;
}
.product > * {
    z-index: 1;
    position: relative;
}
.product::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    left: 0;
    background: #eff3f8;
    border-radius: 50%;
    transition:
        width 0.5s ease,
        height 0.5s ease !important;
    transform: translate(-50%, 50%);
    pointer-events: none;
}
.product:hover::before {
    width: 300%;
    height: 300%;
}
#products {
    --content-width: 900px;
}

#trust {
    background: linear-gradient(
        90deg,
        rgba(7, 41, 78, 0) 0%,
        #0a3a6b 50%,
        #07294e 91.46%
    );
    position: relative;
}
#trust .trust-background,
#trust .trust-background::after {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}
#trust .trust-background::after {
    content: "";
    display: block;
    background: linear-gradient(
        90deg,
        rgba(7, 41, 78, 0) 0%,
        #0a3a6b 50%,
        #07294e 91.46%
    );
    z-index: 1;
}
#trust .trust-background img {
    height: 100%;
    width: auto;
    object-fit: contain;
    position: absolute;
}
#trust .container {
    z-index: 1;
}
#trust .section-title {
    text-align: left;
    color: #fff;
}
#trust .btn {
    display: inline-flex;
    color: #fff;
    background-color: var(--secondary-color);
    padding: 10px 30px;
    font-weight: bold;
    border-radius: 70px;
}
.trust-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.trust-item {
    display: grid;
    grid-template-columns: 75px calc(100% - 75px - 20px);
    gap: 20px;
    align-items: center;
    color: #fff;
}
.trust-item h3 {
    margin-top: 0;
    color: #C8D9E8;
}

#testimonials {
    background-color: var(--bg-1);
}
.testimonial {
    height: 100%;
}

@media screen and (min-width: 767px) {
    [data-mswiper] {
        position: relative;
    }
    [data-mswiper] .swiper-buttons {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    :is(#slider-products, #slider-testimonios) {
        padding-left: 40px !important;
        padding-right: 40px !important;
        margin-left: -30px !important;
        margin-right: -30px !important;
        margin-bottom: -20px;
        margin-top: -20px;
    }

    :is(#slider-products, #slider-testimonios) .mslide {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .product {
        padding: 20px;
    }
    .product > h3 {
        margin-top: 10px;
        font-size: 16px;
    }
    .product > div {
        display: none;
    }
    .product figure img {
        max-width: 50px;
    }

    #trust {
        background: linear-gradient(90deg, #0a3a6b 0%, #07294e 91.46%);
    }
    #trust .section-title {
        text-align: center;
    }
    #trust .btn {
        margin: 0 auto;
    }
    .trust-item__content > div {
        text-align: justify;
    }
}

@media screen and (max-width: 480px) {
    .product figure img {
        max-width: 40px;
    }
}
