.hero {
    position: relative;
    z-index: 1;
    overflow-x: clip;
}

.hero__inner {
    padding-block: 7rem 4rem;
}

.hero__image {
    position: absolute;
    z-index: -1;
}

.hero__image-1 {
    width: 47%;
    top: 0;
    left: 0;
    translate: 2% -23%;
}

.hero__image-2 {
    width: 25%;
    bottom: 0;
    right: 0;
    translate: 21% 14%;
}

@media screen and (max-width: 575.9px) {
    .hero__image-1 {
        width: 140%;
        top: 0;
        left: 0;
        translate: -31% -51%;
    }

    .hero__image-2 {
        width: 80%;
        right: 0;
        bottom: unset;
        top: 50%;
        translate: unset;
    }

    .hero__inner {
        gap: 2rem;
        padding-bottom: 27.5rem;
    }

    .hero__btn {
        margin-top: 2rem;
    }
}