/* =========================================
   FINAL CTA
========================================= */

/* Mobile - 0rem+ */

.final-cta {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 44rem;
    padding: 6rem 0;

    background:
        radial-gradient(
            ellipse at 50% 28%,
            #30332e 0%,
            #181a17 30%,
            #0b0d0b 65%,
            #050605 100%
        );

    color: var(--white);

    overflow: hidden;
}

.final-cta__inner {
    position: relative;
    z-index: 10;

    width: 100%;

    text-align: center;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .final-cta {
        min-height: 48rem;
        padding: 7rem 0;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .final-cta {
        min-height: 52rem;
        padding: 8rem 0;
    }

}


/* =========================================
   FINAL CTA - SCENE
========================================= */

/* Mobile - 0rem+ */

.final-cta__scene {
    position: absolute;
    z-index: 1;

    inset: 0;

    overflow: hidden;

    pointer-events: none;
}

.final-cta__horizon {
    position: absolute;
    z-index: 1;

    top: 25%;
    left: 50%;

    width: 90%;
    height: 14rem;

    background:
        radial-gradient(
            ellipse at center,
            rgba(245, 184, 0, 0.13) 0%,
            rgba(245, 184, 0, 0.05) 35%,
            transparent 72%
        );

    transform: translateX(-50%);

    filter: blur(1rem);
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .final-cta__horizon {
        top: 23%;

        width: 70%;
        height: 16rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .final-cta__horizon {
        top: 21%;

        width: 58%;
        height: 18rem;
    }

}


/* =========================================
   FINAL CTA - ROAD
========================================= */

/* Mobile - 0rem+ */

.final-cta__road {
    position: absolute;
    z-index: 2;

    bottom: -4rem;
    left: 50%;

    width: 125%;
    height: 58%;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(255, 255, 255, 0.045) 0 1px,
            transparent 1.5px
        ),
        radial-gradient(
            circle at 75% 65%,
            rgba(255, 255, 255, 0.035) 0 1px,
            transparent 1.5px
        ),
        radial-gradient(
            circle at 45% 80%,
            rgba(0, 0, 0, 0.2) 0 1px,
            transparent 1.5px
        ),
        linear-gradient(
            90deg,
            #111310 0%,
            #1a1d19 20%,
            #292c27 50%,
            #1a1d19 80%,
            #111310 100%
        );

    background-size:
        0.55rem 0.55rem,
        0.7rem 0.7rem,
        0.9rem 0.9rem,
        auto;

    clip-path: polygon(
        46% 0,
        54% 0,
        100% 100%,
        0 100%
    );

    transform: translateX(-50%);
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .final-cta__road {
        bottom: -5rem;

        width: 115%;
        height: 62%;

        clip-path: polygon(
            46.5% 0,
            53.5% 0,
            94% 100%,
            6% 100%
        );
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .final-cta__road {
        bottom: -6rem;

        width: 105%;
        height: 65%;

        clip-path: polygon(
            47% 0,
            53% 0,
            88% 100%,
            12% 100%
        );
    }

}


/* =========================================
   FINAL CTA - ROAD EDGES
========================================= */

/* Mobile - 0rem+ */

.final-cta__road::before,
.final-cta__road::after {
    content: "";

    position: absolute;
    z-index: 3;

    top: 0;

    width: 0.15rem;
    height: 150%;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.45) 40%,
            rgba(255, 255, 255, 0.8) 100%
        );

    transform-origin: top center;
}

.final-cta__road::before {
    left: 46%;

    transform: rotate(31deg);
}

.final-cta__road::after {
    right: 46%;

    transform: rotate(-31deg);
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .final-cta__road::before {
        left: 46.5%;

        transform: rotate(34deg);
    }

    .final-cta__road::after {
        right: 46.5%;

        transform: rotate(-34deg);
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .final-cta__road::before {
        left: 47%;

        transform: rotate(37deg);
    }

    .final-cta__road::after {
        right: 47%;

        transform: rotate(-37deg);
    }

}


/* =========================================
   FINAL CTA - ROAD MARKINGS
========================================= */

/* Mobile - 0rem+ */

.final-cta__road-line {
    position: absolute;
    z-index: 4;

    left: 50%;

    display: block;

    background:
        linear-gradient(
            180deg,
            #ffd43b 0%,
            var(--yellow) 100%
        );

    transform: translateX(-50%);

    opacity: 0.9;
}

.final-cta__road-line--1 {
    top: 8%;

    width: 0.12rem;
    height: 0.8rem;
}

.final-cta__road-line--2 {
    top: 25%;

    width: 0.18rem;
    height: 1.5rem;
}

.final-cta__road-line--3 {
    top: 48%;

    width: 0.28rem;
    height: 2.8rem;
}

.final-cta__road-line--4 {
    top: 76%;

    width: 0.45rem;
    height: 5rem;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .final-cta__road-line--1 {
        width: 0.14rem;
        height: 1rem;
    }

    .final-cta__road-line--2 {
        width: 0.2rem;
        height: 1.8rem;
    }

    .final-cta__road-line--3 {
        width: 0.32rem;
        height: 3.3rem;
    }

    .final-cta__road-line--4 {
        width: 0.5rem;
        height: 5.8rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .final-cta__road-line--1 {
        width: 0.15rem;
        height: 1.1rem;
    }

    .final-cta__road-line--2 {
        width: 0.22rem;
        height: 2rem;
    }

    .final-cta__road-line--3 {
        width: 0.36rem;
        height: 3.7rem;
    }

    .final-cta__road-line--4 {
        width: 0.6rem;
        height: 6.5rem;
    }

}


/* =========================================
   FINAL CTA - CONTENT
========================================= */

/* Mobile - 0rem+ */

.final-cta .eyebrow {
    margin: 0;

    color: var(--yellow);

    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.final-cta h2 {
    max-width: 60rem;

    margin: 1.25rem auto 1.75rem;

    color: var(--white);

    font-family: var(--font-display);
    font-size: clamp(3.5rem, 15vw, 5.75rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.84;
    text-transform: uppercase;

    text-shadow:
        0 0.15rem 1rem rgba(0, 0, 0, 0.45);
}

.final-cta h2 span {
    color: var(--yellow);
}

.final-cta__text {
    max-width: 32rem;

    margin-inline: auto;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.95rem;
    line-height: 1.8;

    text-shadow:
        0 0.1rem 0.5rem rgba(0, 0, 0, 0.5);
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .final-cta .eyebrow {
        font-size: 0.8rem;
    }

    .final-cta h2 {
        font-size: 6.5rem;
    }

    .final-cta__text {
        font-size: 1rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .final-cta h2 {
        max-width: 70rem;

        font-size: clamp(6.5rem, 7vw, 8.5rem);
    }

}


/* =========================================
   FINAL CTA - ACTIONS
========================================= */

/* Mobile - 0rem+ */

.final-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;

    margin-top: 2.75rem;
}

.final-cta__primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;

    min-height: 3.75rem;
    padding: 0.9rem 1.6rem;

    background: var(--yellow);
    color: var(--black);

    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    clip-path: polygon(
        0.5rem 0,
        100% 0,
        calc(100% - 0.5rem) 100%,
        0 100%
    );

    transition:
        background-color 250ms ease,
        color 250ms ease,
        transform 250ms ease;
}

.final-cta__primary > span {
    font-size: 1.15rem;

    transition: transform 250ms ease;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .final-cta__actions {
        flex-direction: row;
        justify-content: center;
        gap: 2.5rem;

        margin-top: 3rem;
    }

    .final-cta__primary {
        min-height: 4rem;
        padding-inline: 1.9rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .final-cta__primary:hover,
    .final-cta__primary:focus-visible {
        background: var(--white);
        color: var(--black);

        transform: translateY(-0.2rem);
    }

    .final-cta__primary:hover > span,
    .final-cta__primary:focus-visible > span {
        transform: translateX(0.35rem);
    }

}


/* =========================================
   FINAL CTA - PHONE
========================================= */

/* Mobile - 0rem+ */

.final-cta__phone {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    color: var(--white);

    text-align: left;
}

.final-cta__phone-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 2.9rem;
    height: 2.9rem;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    color: var(--yellow);

    transition:
        background-color 250ms ease,
        border-color 250ms ease,
        color 250ms ease,
        transform 250ms ease;
}

.final-cta__phone-icon svg {
    display: block;

    width: 1.05rem;
    height: 1.05rem;
}

.final-cta__phone > span:last-child {
    display: flex;
    flex-direction: column;
}

.final-cta__phone small {
    color: rgba(255, 255, 255, 0.58);

    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.final-cta__phone strong {
    margin-top: 0.15rem;

    color: var(--white);

    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .final-cta__phone-icon {
        width: 3.1rem;
        height: 3.1rem;
    }

    .final-cta__phone strong {
        font-size: 1.2rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .final-cta__phone:hover .final-cta__phone-icon,
    .final-cta__phone:focus-visible .final-cta__phone-icon {
        background: var(--yellow);
        border-color: var(--yellow);
        color: var(--black);

        transform: rotate(-8deg);
    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

.final-cta__primary:focus-visible,
.final-cta__phone:focus-visible {
    outline: 0.18rem solid var(--white);
    outline-offset: 0.3rem;
}


/* =========================================
   REDUCED MOTION
========================================= */

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

    .final-cta__primary,
    .final-cta__primary > span,
    .final-cta__phone-icon {
        transition: none;
    }

}