.root {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #f6f6f9;
    gap: 48px;
    z-index: 0;
}

.row:last-child {
    padding-bottom: 48px;
}

.headerContainer {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    z-index: 0;
}

.headerContainer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 25%),
        url('./assets/bg-bubbles.webp') #f6f6f9 center 20% no-repeat;
    background-size: 100% auto;
    transform: rotate(180deg);
    z-index: -1;
    pointer-events: none;
}

.headerContent {
    width: 100%;
    max-width: var(--content-max-width);
    padding: 48px 50px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    z-index: 1;
}

.headerText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 600px;
}

.headerButton {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cardsContainer {
    width: 100%;
    max-width: var(--content-max-width);
    padding: 15px 50px 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 28px;
}

.mobile {
    display: none;
}

@media (width <= 1440px) {
    .headerContainer::before {
        background-size: var(--content-max-width) auto;
    }
}

@media (width <= 1024px) {
    .root {
        gap: 16px;
    }

    .row:last-child {
        padding-bottom: 40px;
    }

    .headerContainer {
        min-height: 496px;
    }

    .headerContainer::before {
        background-size: 1024px auto;
        background-position: center 10%;
    }

    .headerContent {
        padding: 40px 20px 0;
    }

    .cardsContainer {
        padding: 0 20px;
    }

    .mobile {
        display: inline-flex;
    }

    .desktop {
        display: none;
    }
}

@media (width <= 800px) {
    .headerText {
        gap: 16px;
    }
}

@media (width <= 600px) {
    .row:last-child {
        padding-bottom: 36px;
    }

    .cardsContainer {
        gap: 16px;
    }
}

@media (width <= 480px) {
    .root {
        gap: 24px;
    }

    .cardsContainer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 24px 16px;
    }
}
