/**
 * CTA component styles
 *
 * @package MBM_Theme
 * @since 1.0.0
 */

.cta-section {
    position: relative;
    isolation: isolate;
    padding: clamp(3.25rem, 12vw, 8rem) 0;
    overflow: visible;
}

.cta-section__globe {
    position: absolute;
    right: clamp(-11rem, -15vw, -4rem);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(220px, 35vw, 620px);
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    user-select: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section__card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: clamp(210px, 24vw, 300px);
    border-radius: 12px;
    padding: 3rem;
    background-color: #070e6a;
    background-image: var(--cta-card-bg-image, linear-gradient(125deg, #0b1678 0%, #020754 100%));
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 14px 34px rgba(8, 18, 50, 0.16);
    overflow: visible;
}

.cta-section__plane {
    position: absolute;
    left: -4%;
    bottom: 16%;
    width: clamp(420px, 50%, 700px);
    height: auto;
    max-width: none;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.cta-section__content {
    position: relative;
    z-index: 2;
    width: max-content;
    color: var(--la-white, #ffffff);
}

.cta-section__title {
    margin: 0;
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    color: var(--la-white, #ffffff);
}

@media (min-width: 992px) {
    .cta-section__title {
        white-space: nowrap;
    }
}

.cta-section__text {
    margin: 0.35rem 0 0;
    font-size: 2rem;
    line-height: 1.35;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
}

.cta-section__action {
    margin-top: clamp(1.1rem, 2.4vw, 1.6rem);
}

@media (min-width: 992px) and (max-width: 1248px) {
    .cta-section__plane {
        left: -6%;
        bottom: 25%;
        width: clamp(430px, 52%, 620px);
    }
}

@media (min-width: 1104px) and (max-width: 1198px) {
    .cta-section__plane {
        left: -8%;
        width: clamp(420px, 48%, 560px);
    }
}

@media (max-width: 991px) {
    .cta-section__globe {
        right: -5%;
        top: 10%;
        transform: none;
        width: 110%;
        opacity: .5;
    }

    .cta-section__card {
        min-height: 0;
        justify-content: center;
        padding: 2rem 1.2rem 1.8rem;
        width: 100%;
    }

    .cta-section__plane {
        position: relative;
        left: 50%;
        transform: translateX(-54%);
        bottom: auto;
        width: min(115%, 520px);
        margin: 0 0 0.9rem;
    }

    .cta-section__card {
        display: block;
        text-align: center;
    }

    .cta-section__content {
        width: 100%;
    }

    .cta-section__title {
        font-size: clamp(1.85rem, 6vw, 2.2rem);
    }

    .cta-section__text {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
    }
}
