
/* ========================================
   CTA — CONFIGURATION
   ======================================== */

.cta {
    --cta-background: var(--primary-50, #edf5ff);

    --cta-blue: var(--primary-700, #006cff);
    --cta-text: var(--neutral-900, #0d1014);
    --cta-muted: var(--neutral-700, #424b57);

    --cta-green: #17a700;
    --cta-green-hover: #117e00;
    --cta-green-active: #0e6900;

    position: relative;

    width: calc(100% - 2 * var(--page-inset, 16px));

    margin:
        0
        auto
        16px;

    border-radius: var(--section-radius, 20px);

    background: var(--cta-background);
    color: var(--cta-text);
}


/* ========================================
   CTA — CONTAINER
   ======================================== */

.cta__container {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 1440px;

    gap: 20px;

    margin: 0 auto;

    padding:
        40px
        clamp(24px, 4vw, 56px);

    text-align: center;
}


/* ========================================
   CTA — CUSTOMER TRUST
   ======================================== */

.cta__eyebrow {
    color: var(--cta-blue);

    font-size: 12px;
    font-weight: 700;

    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ========================================
   CTA — HEADER
   ======================================== */

.cta__header {
    width: 100%;
    max-width: 1200px;
}

.cta__header h2 {
    margin: 0;

    font-family:
        var(--font-heading, "Plus Jakarta Sans", sans-serif);

    font-size: clamp(32px, 3vw, 48px);
    font-weight: 700;

    line-height: 1.2;
    letter-spacing: -0.035em;
}

.cta__header h2 span {
    display: block;

    margin-top: 8px;

    color: var(--cta-blue);

    font-size: clamp(22px, 2.3vw, 34px);
    font-weight: 600;

    line-height: 1.3;
    letter-spacing: -0.025em;
}


/* ========================================
   CTA — ACTIONS
   ======================================== */

.cta__actions {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 4px;
}


/* ========================================
   CTA — REGISTRATION BUTTON
   ======================================== */

.cta__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    gap: 14px;
    padding: 14px 30px;

    border: 0;
    border-radius: 10px;

    background: var(--cta-green);
    color: #ffffff;

    font-family:
        var(--navbar-font, Roboto, sans-serif);

    font-size: 17px;
    font-weight: 700;

    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    transition:
        background 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.cta__button svg {
    display: block;

    flex-shrink: 0;

    width: 20px;
    height: 20px;

    transition: transform 180ms ease;
}

.cta__button:hover {
    background: var(--cta-green-hover);

    transform: translateY(-2px);

    box-shadow:
        0 6px 16px rgba(17, 126, 0, 0.15);
}

.cta__button:hover svg {
    transform: translateX(4px);
}

.cta__button:active {
    background: var(--cta-green-active);

    transform: translateY(0);
}

.cta__button:focus-visible {
    outline: 2px solid var(--cta-green-hover);
    outline-offset: 4px;
}


/* ========================================
   CTA — REGISTRATION BENEFITS
   ======================================== */

.cta__benefits {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.cta__benefit {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--cta-muted);

    font-size: 14px;
    font-weight: 500;

    line-height: 1.5;
}

.cta__benefit svg {
    display: block;

    flex-shrink: 0;

    width: 19px;
    height: 19px;

    color: var(--cta-green);
}


/* ========================================
   CTA — TABLET
   ======================================== */

@media (max-width: 1024px) {

    .cta__container {
        gap: 20px;

        padding: 36px 24px;
    }

    .cta__header h2 {
        font-size: clamp(30px, 4vw, 40px);
    }

    .cta__header h2 span {
        font-size: clamp(23px, 3vw, 29px);
    }

    .cta__benefits {
        gap: 12px 20px;
    }

    .cta__benefit {
        font-size: 13px;
    }

}


/* ========================================
   CTA — MOBILE
   ======================================== */

@media (max-width: 760px) {

    .cta__container {
        gap: 18px;

        padding: 32px 20px;
    }

    .cta__eyebrow {
        max-width: 300px;

        font-size: 10px;

        line-height: 1.6;
    }

    .cta__header h2 {
        font-size: clamp(28px, 7vw, 34px);

        line-height: 1.2;
    }

    .cta__header h2 span {
        margin-top: 12px;

        font-size: clamp(20px, 5vw, 26px);

        line-height: 1.4;
    }

    .cta__actions {
        width: 100%;

        margin-top: 2px;
    }

    .cta__button {
        width: 100%;
        max-width: 320px;

        min-height: 48px;

        padding: 12px 24px;

        font-size: 16px;
    }

    .cta__benefits {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }

    .cta__benefit {
        font-size: 13px;

        text-align: left;
    }

    .cta__benefit svg {
        width: 17px;
        height: 17px;
    }

}


/* ========================================
   CTA — REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {

    .cta *,
    .cta *::before,
    .cta *::after {
        animation: none !important;
        transition: none !important;
    }

    .cta__button:hover,
    .cta__button:hover svg {
        transform: none;
    }

}
