.bgWrapper {
    width: 100vw;
    position: relative;
    background: var(--color-bg-base-dark);
    overflow: hidden;
}
.root {
    max-width: var(--content-max-width);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.topContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    width: 100%;
}

.imageContainer {
    position: relative;
    width: 100%;
    max-height: 776px;
    min-height: 320px;
    flex-shrink: 0;
    border-radius: var(--border-radius-xl);
    background-image: var(--desktop-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    overflow: visible;
}

.bottomContainer {
    background: linear-gradient(
        0deg,
        #fff 0%,
        #d3d4e0 11.11%,
        #a8a9c1 22.22%,
        #7a87a6 33.33%,
        #496e8d 44.44%,
        #195675 55.56%,
        #13435b 66.67%,
        #0e3041 77.78%,
        #081d27 88.89%,
        #000 100%
    );
    width: 100%;
    height: 405px;
}

.cardsContainer {
    position: relative;
    bottom: 120px;
    width: 1200px;
    z-index: 2;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

.imageTextContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
    gap: 32px;
    padding: 180px 240px;
    height: 100%;
}

.imageLabel {
    color: var(--color-text-primary-inverted);
    position: relative;
    text-align: center;
    top: 0;
    left: 0;
    z-index: 3;
}

.imageTitle {
    color: var(--color-text-primary-inverted);
    position: relative;
    text-align: center;
    top: 0;
    left: 0;
    z-index: 3;
}

@media (width <= 1440px) {
    .topContainer {
        padding: 20px;
    }

    .imageTextContainer {
        justify-content: center;
        padding: 140px 120px;
    }

    .imageTitle {
        color: var(--color-text-primary-inverted);
        position: relative;
        text-align: center;
        left: 0;
    }

    .imageLabel {
        font-size: var(--font-size-xs);
        font-family: var(--font-decorative);
    }

    .cardsContainer {
        align-items: center;
        justify-content: center;
        gap: 24px;
        bottom: 0;
        width: 100%;
        padding: 8px 20px 25px 20px;
    }

    .bottomContainer {
        height: auto;
    }
}

@media (width <= 1220px) {
    .imageTitle {
        font-size: 96px;
    }
}

@media (width <= 1120px) {
    .cardsContainer {
        flex-direction: column;
        max-width: 480px;
    }

    .imageTitle {
        margin: 0 auto;
        max-width: 287px;
        width: 100%;
        font-size: 48px;
    }

    .imageTextContainer {
        padding: 24px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .imageContainer {
        width: 100%;
        max-height: 450px;
        min-height: 320px;
        height: auto;
        flex-shrink: 0;
        border-radius: var(--border-radius-lg);
        background-image: var(--mobile-image);
        position: relative;
    }

    .imageContainer::before {
        content: '';
        display: block;
        padding-top: 200%;
    }
}

@media (width <= 768px) {
    .cardsContainer {
        padding: 8px 25px 25px 25px;
    }
}
