/* Closing CTA — fig 7033:6224. Photo plate, blurred ink wash, centred stack. */

.corp-cta-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 23px;
    box-sizing: border-box;
    min-height: 391px;
    /* the mock centres the stack 11px above the middle of the plate */
    padding: 49px 40px 71px;
    border-radius: 32px;
    overflow: hidden;
    text-align: center;
    justify-content: center;
}

.corp-cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.corp-cta-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(23, 27, 28, .65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.corp-cta-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.corp-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 10px 30px;
    border-radius: 36px;
    background: var(--corp-ink);
    color: #f5f5f5;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.corp-cta-title {
    margin: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.08px;
    text-transform: uppercase;
    color: #fff;
}

.corp-cta-text {
    margin: 0;
    max-width: 902px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.38;
    letter-spacing: -0.32px;
    color: #afafaf;
}

.corp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* 1920 and 1440 draw the same pill (7303:17059): Montserrat SemiBold 18 in a
   12/40 box. The narrower frames redraw it, so the sizes below override. */
.corp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 12px 40px;
    border-radius: 12px;
    background: #fff;
    color: var(--corp-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.corp-cta-btn:hover,
.corp-cta-btn:focus-visible {
    background: #ececec;
    color: var(--corp-ink);
}

.corp-cta-btn--orange {
    background: var(--corp-orange);
    color: #fff;
}

.corp-cta-btn--orange:hover,
.corp-cta-btn--orange:focus-visible {
    background: #e05f00;
    color: #fff;
}

.corp-cta-btn img {
    width: 15px;
    height: 15px;
}

/* Every frame under 1920 draws this photo at the width the 1920 one gives it and
   lets the narrower plate crop it from the left, rather than re-covering. */
@media (max-width: 1470px) and (min-width: 1200px) {
    .corp-cta-bg {
        left: 0;
        right: auto;
        width: 1880px;
        max-width: none;
        object-position: left center;
    }
}

/* fig 7048:10545 (768): a 708 card - 10 narrower a side than the panels above
   it - keeping the desktop title and redrawing the pills at 16/700 in a 13/40
   box, four across a wrapping row. */
@media (max-width: 1199px) {
    .corp-cta-card {
        margin-inline: 10px;
        padding: 40px 20px;
        border-radius: 24px;
    }

    .corp-cta-btn {
        min-width: 256px;
        padding: 13px 40px;
        border-radius: 13px;
        font-size: 16px;
        font-weight: 700;
    }
}

/* fig 7055:16976 (375): a flat 16 inset, the copy pulled into the title group
   at 10 and the button column 20 under it. */
@media (max-width: 767px) {
    .corp-cta-card {
        gap: 10px;
        min-height: 0;
        /* the phone frame gives the card the page gutter, not the 708 inset */
        margin-inline: 0;
        padding: 16px;
        border-radius: 16px;
    }

    .corp-cta-head {
        gap: 10px;
    }

    .corp-cta-title {
        font-size: 18px;
        letter-spacing: -0.54px;
    }

    .corp-cta-text {
        font-size: 14px;
        letter-spacing: -0.28px;
    }

    .corp-cta-actions {
        flex-direction: column;
        align-self: stretch;
        gap: 10px;
        /* 10 of card gap and 10 here: the frame parts the copy from the column
           by 20 and the title group by 10 */
        margin-top: 10px;
    }

    /* the phone frame draws each pill 46 tall on a 56 pitch */
    .corp-cta-btn {
        min-width: 0;
        width: 100%;
        padding: 12px 40px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 700;
        line-height: 22px;
    }
}
