footer {
    padding: 50px 80px;
}

footer h4 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
}

footer .footer__content {
    display: flex;
    justify-content: space-between;
}

footer .footer__info {
    max-width: 270px;
}

footer .footer__cases ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

footer .footer__cases li:not(:last-child) {
    margin-bottom: 10px;
}

footer .footer__cases li a {
    color: var(--main-color)
}

footer .footer__cases-logo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

footer .footer__info > a {
    margin-top: 48px;
    display: inline-block;
}

.footer__copyright {
    text-align: center;
    background: var(--background-color);
    padding: 16px;
    opacity: 0.7;
}

.form-check {
    margin-top: -24px;
}

.footer__copyright a,
.form-check-label a {
    text-decoration: underline !important;
}

footer form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer__body .footer__content:before, .footer__body .footer__content:after {
    content: none;
}

@media screen and (max-width: 1024px) {
    footer .footer__content {
        flex-direction: column;
        gap: 80px;
    }

    footer .footer__cases-logo {
        flex-direction: column-reverse;
    }

    footer .footer__logo:not(.footer-contacts .footer__logo) {
        margin-bottom: 50px;
    }

    footer .footer__logo img {
        margin: 0 auto;
    }

    footer .footer__body .footer__content:before, footer .footer__body .footer__content:after {
        content: none;
    }

    footer h4 {
        margin-bottom: 25px;
    }

    .footer-contacts .footer__cases {
        margin-top: -25px;
    }
}

@media screen and (max-width: 768px) {
    footer {
        padding: 30px 15px 25px 15px;
    }
    footer .footer__content {
        gap: 64px;
    }

    footer .footer__logo:not(.footer-contacts .footer__logo) {
        margin-bottom: 40px;
    }

    .footer__copyright {
        max-width: 300px;
        margin: 0 auto;
    }
}

footer .footer__logo img {
    max-width: 135px !important;
}

@media screen and (max-width: 480px) {
    footer .footer__logo img {
        max-width: 90px !important;
    }
}
