/*
 * [cta_banner_image] — Figma "Frame 76".
 */

.cta-banner-image {
    padding: 0 100px 120px;
    background: #1E1F2E;
}

/* When `[cta_banner_image]` follows `[charter_form_section]` at the bottom of
   the page (typical layout on route singles), the banner card should align to
   the same visual width as the form's glass card (max-width 1120px). Scoped
   strictly via `:has()` so standalone usages of the banner elsewhere are
   unaffected. Modern browsers only (Chrome 105+, Safari 15.4+, FF 121+). */
.vc_section:has(.charter-form-section) + .vc_section:has(.cta-banner-image) .cta-banner-image__card {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-image__container {
    max-width: 1240px;
    margin: 0 auto;
}

.cta-banner-image__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 100px;
    background-color: #2a2b38;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 54px;
    min-height: 365px;
    color: #fff;
}

.cta-banner-image__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 760px;
    text-align: center;
}

.cta-banner-image__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.cta-banner-image__suptitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    text-transform: uppercase;
    color: #D7C09B;
}

.cta-banner-image__title {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 130%;
    color: #FFFFFF;
}

.cta-banner-image__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    gap: 16px;
    background: #D7C09B;
    color: #1E1F2E !important;
    border-radius: 64px;
    text-decoration: none !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background-color .2s ease, color .2s ease;
}

.cta-banner-image__btn:hover {
    background: #1E1F2E;
    color: #D7C09B !important;
}

@media (max-width: 1199px) {
    .cta-banner-image {
        padding: 0 40px 80px;
    }
    .cta-banner-image__card {
        padding: 64px 32px;
        border-radius: 32px;
    }
    .cta-banner-image__title {
        font-size: 40px;
    }
}

@media (max-width: 575px) {
    .cta-banner-image {
        padding: 0 16px 56px;
    }
    .cta-banner-image__card {
        padding: 48px 20px;
        border-radius: 24px;
    }
    .cta-banner-image__inner {
        gap: 24px;
    }
    .cta-banner-image__title {
        font-size: 28px;
    }
}
