.hero {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.hero__container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.hero__title {
    margin-bottom: var(--spacing-md);
}

.hero__description {
    max-width: 60ch;
    margin-bottom: var(--spacing-lg);
}

.hero__image-wrapper {
    display: none;
}

.hero__image {
    border-top-left-radius: var(--spacing-11xl);
    width: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__cards-container {
    position: absolute;
    bottom: -2%;
    left: 20%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (max-width: 1023px) {
    .hero__cards-container {
        display: none;
    }
}

@media (max-width: 1023px) {
    .hero {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }

    .hero__title {
        font-size: var(--font-size-xxxl);
        line-height: 1.2;
    }

    .hero__description {
        font-size: var(--font-size-base);
        max-width: none;
    }

}

@media (min-width: 1024px) {
    .hero {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }

    .hero__container {
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-xxl);
    }

    .hero__title {
        font-size: var(--font-size-4xl);
        line-height: 1.1;
    }

    .hero__description {
        font-size: var(--font-size-md);
        max-width: 500px;
    }

    .hero__image-wrapper {
        display: flex;
        position: relative;
        flex: 1 1 60%;
        order: 2;
        justify-content: flex-end;
        max-width: none;
        margin-right: calc(-1 * (100vw - 100%) / 2);
    }

    .hero__image {
        width: 100%;
        max-width: 650px;
        height: 700px;
        border-top-left-radius: var(--border-radius-hero);
        object-fit: cover;
        object-position: center top;
    }
}