.footer {
    background: #E8F0F9;
    padding-bottom: 46px;
}

.footer a {
    color: #E8F0F9;
}

.footer__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 180px;
    gap: 60px;
}

.footer__motto {
    max-width: 1153px;
    font-size: 64px;
    font-weight: 400;
    line-height: 96.64px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 31px;
    background: #05070F;
    border-radius: 25px;
    color: #E8F0F9;
    padding: 50px;
    width: 100%;
    max-width: 567px;
}

.footer__contacts p {
    display: flex;
    gap: 25px;
    font-size: 26px;
    font-weight: 700;
    line-height: 39.26px;
    align-items: center;
}

.footer__contacts p:first-child {
    color: #FFFFFFA6;
    font-weight: 400;
}

.footer__copyright {
    font-weight: 400;
    line-height: 28.6px;
    letter-spacing: 0.02em;
}

@media (max-width: 1670px) {
    .footer__body {
        flex-wrap: wrap;
    }

    .footer__motto {
        max-width: 100%;
    }

    .footer__contacts {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .footer__body {
        gap: 50px;
        margin-bottom: 50px;
    }

    .footer__motto {
        font-size: 36px;
        font-weight: 400;
        line-height: 39.6px;
        letter-spacing: 0.02em;
    }

    .footer__contacts {
        padding: 25px 20px;
    }

    .footer__contacts p {
        font-size: 16px;
        line-height: 17.6px;
        letter-spacing: 0.02em;
        gap: 20px;
    }
}
