.footer .footer__wrapper .top .top-left {
    flex: 1;
    min-width: 0;
}

.footer .footer__wrapper .top .top-left .navigation-bottom {
    flex-wrap: wrap;
    gap: 12px 22px;
}

.footer-legal-links {
    max-width: 760px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-legal-links__title {
    margin-bottom: 12px;
    font-family: "Inter-Medium", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.footer-legal-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    padding: 0;
    list-style: none;
}

.footer-legal-links a {
    color: #fff;
    font-family: "CeraPro-Regular", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal-links a:hover {
    color: #f2e1f0;
}

.footer-legal-links a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 850px) {
    .footer .footer__wrapper .top {
        flex-direction: column;
        gap: 28px;
    }

    .footer .footer__wrapper .top .top-left,
    .footer .footer__wrapper .top .contacts {
        width: 100%;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 620px) {
    .footer-legal-links ul {
        grid-template-columns: 1fr;
    }

    .footer .footer__wrapper .top .top-left .navigation-bottom {
        margin-top: 24px;
    }
}
