/* =========================
   CTA SECTION MODULE
   Global Reusable Component
========================= */

.cta-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 70px;
    background-color: var(--gr1p-cta-bg);
    padding: 5.65rem 0;
    overflow: hidden;
}

/* =========================
   BACKGROUND HEADING (Marquee Stroke Text)
========================= */

.cta-marquee {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.cta-marquee-track {
    display: flex;
    align-items: center;
    height: 100%;
    animation: marquee-scroll 25s linear infinite;
    white-space: nowrap;
}

.cta-marquee-text {
    flex-shrink: 0;
    font-family: var(--gr1p-font);
    font-size: 6.8792em;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.3em;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(204, 204, 204, 0.07);
    padding-right: 0.5em;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* =========================
   CONTENT CONTAINER
========================= */

.cta-container {
    position: relative;
    width: 66.62%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 1;
}

/* =========================
   PRIMARY HEADING
========================= */

.cta-heading {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    text-align: center;
    color: var(--gr1p-gold);
    margin: 0;
}

/* =========================
   DESCRIPTION
========================= */

.cta-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.1rem;
    text-align: center;
    color: var(--gr1p-gold);
    max-width: 650px;
    margin: 0;
}

/* =========================
   CTA BUTTON
========================= */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--gr1p-font);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    background-color: var(--gr1p-gold);
    color: #ffffff;
    border: 1px solid var(--gr1p-gold);
    border-radius: 5px;
    padding: 10px 10px;
    transition: all 0.25s ease;
}

.cta-button:hover {
    background-color: #ffffff;
    color: var(--gr1p-gold);
    border-color: var(--gr1p-gold);
}

.cta-button i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* =========================
   TABLET (768px - 1023px)
========================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .cta-section {
        margin-top: 50px;
        padding: 3rem 0;
    }

    .cta-marquee-text {
        font-size: 4.6em;
    }

    .cta-container {
        width: 85vw;
        gap: 20px;
    }

    .cta-heading {
        font-size: 2rem;
        line-height: 2;
    }

    .cta-description {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* =========================
   MOBILE (<=767px)
========================= */

@media (max-width: 767px) {

    .cta-section {
        margin-top: 40px;
        padding: 2rem 0;
    }

    .cta-marquee-text {
        font-size: 4em;
    }

    .cta-container {
        width: 100%;
        gap: 10px;
    }

    .cta-heading {
        font-size: 1.1rem;
        line-height: 1;
    }

    .cta-description {
        font-size: 0.8rem;
        line-height: 1;
        letter-spacing: 0.04rem;
    }

    .cta-button {
        font-size: 0.6rem;
    }
}
