/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background-color: #EEEEEE;
    background-image: url('/static/core/assets/homepage/cta/cta_bg.png');
    background-image: -webkit-image-set(url('/static/core/assets/homepage/cta/cta_bg.webp') 1x);
    background-image: image-set(url('/static/core/assets/homepage/cta/cta_bg.webp') 1x);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.cta-container {
    padding: 64px 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
    min-height: 600px;
    justify-content: space-between;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Label */
.cta-label {
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0px;
    text-transform: uppercase;
    color: var(--color-charcoal);
    margin: 0;
}

/* Heading */
.cta-heading {
    font-family: "loew-variable", sans-serif;
    font-weight: 700;
    font-stretch: 10%;
    font-size: 38px;
    line-height: 90%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0;
    max-width: 100%;
}

/* Text */
.cta-text {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: 0%;
    color: var(--color-charcoal);
    margin: 0;
    max-width: 100%;
}

/* Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 343px;
    height: 64px;
    padding: 22px 32px;
    gap: 8px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 110%;
    letter-spacing: -3%;
    text-align: center;
    color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal);
    text-decoration: none;
    cursor: pointer;
    transition: color 300ms ease, border-color 300ms ease, transform 200ms ease, box-shadow 200ms ease;
    align-self: center;

    /* Fancy Hover Setup */
    position: relative;
    overflow: hidden;
    z-index: 1;

}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-fluoro);
    z-index: -2;
    transition: background-color 300ms ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--color-charcoal);
    transition: height 300ms ease;
    z-index: -1;
}

.cta-button:hover {
    opacity: 1;
    color: var(--color-fluoro);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover::after {
    height: 100%;
}

.cta-button:active {
    transform: translateY(0);
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
    .cta-content {
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }

    .cta-button {
        align-self: center;
    }
}

@media screen and (min-width: 1440px) {
    .cta-container {
        padding: 80px 64px;
        gap: 0;
        justify-content: flex-start;
    }

    .cta-content {
        gap: 0;
    }

    .cta-label {
        margin-bottom: 16px;
    }

    .cta-heading {
        margin-bottom: 32px;
        font-size: 64px;
        line-height: 90%
    }

    .cta-button {
        align-self: flex-start;
        width: 210px;
        height: 64px;
        padding: 0;
    }

    .cta-text {
        margin-bottom: 64px;
    }

    .cta-section {
        background-position: center;
    }
}