/*==============================================
    Aseguradoras
===============================================*/
.aseguradoras {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 90px 0 100px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(5, 93, 209, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 95% 100%, rgba(5, 93, 209, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f4f9ff 45%, #eef5fc 100%);
    z-index: 1;
}

.aseguradoras .container {
    position: relative;
    z-index: 1;
}

.aseguradoras .section-title {
    max-width: 760px;
    margin: 0 auto 40px;
}

.aseguradoras__texto {
    margin: 18px auto 0;
    max-width: 680px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(0, 2, 33, 0.72);
}

.aseguradoras__carousel-wrap {
    position: relative;
    padding: 8px 0 4px;
}

.aseguradoras__carousel-wrap::before,
.aseguradoras__carousel-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 3;
    pointer-events: none;
}

.aseguradoras__carousel-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #eef5fc 0%, rgba(238, 245, 252, 0) 100%);
}

.aseguradoras__carousel-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #eef5fc 0%, rgba(238, 245, 252, 0) 100%);
}

.aseguradoras__carousel.owl-carousel .owl-stage-outer {
    overflow: visible;
}

.aseguradoras__carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.aseguradoras__carousel .owl-item {
    float: none;
    height: auto;
}

.aseguradoras__carousel .item {
    height: 100%;
    padding: 10px 4px;
}

.aseguradoras__logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 118px;
    padding: 22px 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(5, 93, 209, 0.1);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(5, 93, 209, 0.06);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.aseguradoras__logo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(5, 93, 209, 0.1), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.aseguradoras__logo img {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 100%;
    max-height: 52px;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.12) contrast(1.05);
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.aseguradoras__carousel .item:hover .aseguradoras__logo {
    transform: translateY(-6px);
    border-color: rgba(5, 93, 209, 0.28);
    box-shadow: 0 18px 36px rgba(5, 93, 209, 0.12);
}

.aseguradoras__carousel .item:hover .aseguradoras__logo::after {
    opacity: 1;
}

.aseguradoras__carousel .item:hover .aseguradoras__logo img {
    transform: scale(1.06);
    filter: grayscale(0) contrast(1.08);
}

.aseguradoras__carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin: 0;
    z-index: 4;
}

.aseguradoras__carousel .owl-nav button.owl-prev,
.aseguradoras__carousel .owl-nav button.owl-next {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid rgba(5, 93, 209, 0.12) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: var(--careon-base) !important;
    box-shadow: 0 8px 20px rgba(5, 93, 209, 0.1);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.aseguradoras__carousel .owl-nav button.owl-prev {
    margin-left: -8px;
}

.aseguradoras__carousel .owl-nav button.owl-next {
    margin-right: -8px;
}

.aseguradoras__carousel .owl-nav button.owl-prev:hover,
.aseguradoras__carousel .owl-nav button.owl-next:hover {
    background: var(--careon-base) !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

.aseguradoras__carousel .owl-nav button span {
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
}

.aseguradoras__carousel .owl-dots {
    margin-top: 18px;
}

.aseguradoras__carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: rgba(5, 93, 209, 0.28);
    transition: width 0.25s ease, background 0.25s ease;
}

.aseguradoras__carousel .owl-dots .owl-dot.active span,
.aseguradoras__carousel .owl-dots .owl-dot:hover span {
    width: 22px;
    border-radius: 999px;
    background: var(--careon-base);
}

@media only screen and (max-width: 991px) {
    .aseguradoras {
        padding: 70px 0 80px;
    }

    .aseguradoras__carousel-wrap::before,
    .aseguradoras__carousel-wrap::after {
        width: 40px;
    }

    .aseguradoras__logo {
        height: 104px;
        padding: 18px 14px;
        border-radius: 14px;
    }

    .aseguradoras__logo img {
        max-height: 46px;
    }
}

@media only screen and (max-width: 575px) {
    .aseguradoras .section-title {
        margin-bottom: 28px;
    }

    .aseguradoras__texto {
        font-size: 15px;
    }

    .aseguradoras__carousel-wrap::before,
    .aseguradoras__carousel-wrap::after {
        width: 24px;
    }

    .aseguradoras__logo {
        height: 92px;
        padding: 16px 12px;
    }

    .aseguradoras__logo img {
        max-height: 40px;
    }

    .aseguradoras__carousel .owl-nav button.owl-prev,
    .aseguradoras__carousel .owl-nav button.owl-next {
        width: 38px;
        height: 38px;
    }
}
