.final {
    overflow: hidden;
    isolation: isolate;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    background: #08253f url("../../assets/cali11.jpeg") center 35% / cover no-repeat;
    color: #ffffff;
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}

.final-content-wrapper {
    flex-direction: column;
    justify-content: center;
}

.final::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 22, 40, 0.92),
        rgba(7, 22, 40, 0.64) 52%,
        rgba(7, 22, 40, 0.32)
    );
    content: "";
}

.final-card {
    position: relative;
    z-index: 2;
    max-width: 700px;
    width: 60%;
    margin-right: auto;
    padding: 70px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: rgba(7, 22, 40, 0.72);
    box-shadow: 0 24px 70px rgba(8, 30, 55, 0.14);
    backdrop-filter: blur(8px);
    text-align: left;
}

.final-eyebrow {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.final-title {
    margin: 8px 0 28px;
    color: #ffffff;
    font-family: "PT Serif", Georgia, serif;
    font-weight: 700;
    font-size: 45px;
    line-height: 50px;
}

.final-text,
.final-tagline {
    max-width: 880px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    line-height: 26px;
}

.final-tagline {
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    line-height: 29px;
}

.final-button {
    display: inline-flex;
    margin-top: 22px;
    height: 41px;
    padding: 0 23px;
    align-items: center;
    justify-content: center;
    border: 1px solid #38a9e8;
    background: #38a9e8;
    box-shadow: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 17px;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .final-title {
        font-size: 44px;
        line-height: 50px;
    }
}

@media (max-width: 860px) {
    .final {
        justify-content: flex-end;
        background: #08253f url("../../assets/final_responsive.png") center top / cover no-repeat;
    }

    .final::before {
        background: linear-gradient(
            0deg,
            rgba(7, 22, 40, 0.92) 0%,
            rgba(7, 22, 40, 0.76) 42%,
            rgba(7, 22, 40, 0.28) 72%,
            rgba(7, 22, 40, 0.08) 100%
        );
    }

    .final-content-wrapper {
        justify-content: flex-end;
        padding-top: 260px;
    }

    .final-card {
        width: 100%;
        padding: 34px;
        text-align: center;
    }

    .final-title {
        font-size: 34px;
        line-height: 38px;
    }
}

@media (max-width: 560px) {
    .final-content-wrapper {
        padding-top: 330px;
    }

    .final-card {
        padding: 30px 24px;
    }

    .final-tagline {
        font-size: 20px;
        line-height: 26px;
    }
}
