.footer {
    padding-block: 14rem 4rem;
    position: relative;
}

.footer__bg {
    width: 100%;
    max-height: unset;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

.footer__content {
    align-items: normal;
    gap: 5rem;
    padding: 6rem;
}

.footer__main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5rem;
    margin-bottom: 1.2rem;
}

.footer__logo {
    width: 16rem;
}

.footer__form {
    gap: 2.4rem;
    width: 46.5rem;
    max-width: 100%;
}

.footer__form-shortcode {
    width: 100%;
    position: relative;
}

.footer__form .form__submit {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 1;
}

.footer__form .form__submit::after {
    display: none;
}

.form__submit .form__submit-inner {
    padding-inline: 2rem;
}

.footer__form input {
    height: 6.4rem;
}

.footer__nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5rem;
}

.footer__contacts {
    gap: 1.2rem;
}

@media screen and (max-width: 1024.9px) {
    .footer {
        padding-top: 7rem;
    }
}

@media screen and (max-width: 767.9px) {
    .footer__logo {
        margin-inline: auto;
    }
}

@media screen and (max-width: 575.9px) {
    .footer {
        padding-top: 2rem;
    }

    .footer__main {
        gap: 4.5rem;
        margin-bottom: 0;
    }

    .footer__content {
        padding-inline: 2rem;
    }

    .footer__logo {
        width: 12rem;
    }

    .footer__form {
        width: 100%;
    }

    .footer__form .form__submit {
        width: 12rem;
    }

    .footer__nav {
        gap: 4.5rem;
    }

    .footer__contacts {
        width: 100%;
    }
}