/*==============================================
    Aseguradoras
===============================================*/
.aseguradoras {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 90px 0 100px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(133, 175, 203, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 95% 100%, rgba(27, 69, 94, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #eef3f7 45%, #f7fafc 100%);
    z-index: 1;
}

.aseguradoras__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    opacity: 0.55;
    z-index: 0;
}

.aseguradoras__glow--one {
    width: 280px;
    height: 280px;
    top: -80px;
    right: 8%;
    background: rgba(133, 175, 203, 0.35);
    animation: aseguradoras-float 9s ease-in-out infinite;
}

.aseguradoras__glow--two {
    width: 220px;
    height: 220px;
    bottom: -60px;
    left: 6%;
    background: rgba(27, 69, 94, 0.18);
    animation: aseguradoras-float 11s ease-in-out infinite reverse;
}

.aseguradoras .container {
    position: relative;
    z-index: 1;
}

.aseguradoras__header {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.aseguradoras__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    color: var(--color2);
    background: rgba(74, 122, 153, 0.1);
    border: 1px solid rgba(74, 122, 153, 0.18);
    border-radius: 999px;
    padding: 8px 16px;
    margin-bottom: 16px;
}

.aseguradoras__title {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--careon-black);
    margin: 0;
}

.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, #f2f6f9 0%, rgba(242, 246, 249, 0) 100%);
}

.aseguradoras__carousel-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #f2f6f9 0%, rgba(242, 246, 249, 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(27, 69, 94, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(18, 48, 63, 0.05);
    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(133, 175, 203, 0.14), 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(74, 122, 153, 0.28);
    box-shadow: 0 18px 36px rgba(18, 48, 63, 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(27, 69, 94, 0.12) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: var(--careon-base) !important;
    box-shadow: 0 8px 20px rgba(18, 48, 63, 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(74, 122, 153, 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);
}

.aseguradoras__urgencias {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 42px;
    padding: 26px 28px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #12303f 0%, #1b455e 55%, #4a7a99 100%);
    box-shadow: 0 18px 40px rgba(18, 48, 63, 0.22);
}

.aseguradoras__urgencias::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -40px;
    top: -70px;
    border-radius: 50%;
    background: rgba(133, 175, 203, 0.22);
    pointer-events: none;
}

.aseguradoras__urgencias::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    left: 38%;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.aseguradoras__urgencias-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 26px;
    animation: aseguradoras-pulse 2.4s ease-in-out infinite;
}

.aseguradoras__urgencias-content {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.aseguradoras__urgencias-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.aseguradoras__urgencias-title {
    margin: 0 0 4px;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.aseguradoras__urgencias-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.aseguradoras__urgencias-phone {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--careon-black);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aseguradoras__urgencias-phone:hover,
.aseguradoras__urgencias-phone:focus {
    color: var(--careon-black);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.aseguradoras__urgencias-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1b455e 0%, #4a7a99 100%);
    color: #ffffff;
    font-size: 16px;
}

.aseguradoras__urgencias-phone-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.aseguradoras__urgencias-phone-kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: rgba(18, 48, 63, 0.55);
}

.aseguradoras__urgencias-phone-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--careon-base);
    letter-spacing: 0.3px;
}

@keyframes aseguradoras-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.18);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

@keyframes aseguradoras-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(18px);
    }
}

@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__header {
        margin-bottom: 28px;
    }

    .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;
    }

    .aseguradoras__urgencias {
        margin-top: 28px;
        padding: 22px 18px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .aseguradoras__urgencias-phone {
        width: 100%;
        justify-content: center;
    }
}

@media only screen and (max-width: 991px) and (min-width: 576px) {
    .aseguradoras__urgencias {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .aseguradoras__urgencias-content {
        flex: 1 1 100%;
    }
}
