footer {
    width: 100%;
    background: #333333;
    color: white;

    padding: 10px 10px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 1.3;

    box-sizing: border-box;

     max-width: none !important; /* Принудительно убираем ограничения */
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.footer-column {
    flex: 1;
    min-width: 100px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-contacts {
    text-align: left;
}

.footer-nav {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* равномерное распределение по высоте */
    flex-grow: 1;
    align-self: stretch; /* растягивает колонку на всю высоту */
    margin: 0 auto;
}

.footer-nav a {
    text-align: center;
    width: 100%;
    padding: 6px 0;
    min-height: 32px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #FFD700;
}

.footer-social {
    text-align: right;
}

.footer-column h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.footer-column p,
.footer-column a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 3px;
}

.social-icons a {
    margin-left: 6px;
    font-size: 14px;
}

    @media (max-width: 768px) {
        footer {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .footer-column {
            min-width: 100%;
            margin-bottom: 20px;
            text-align: center;
        }

        .footer-nav a {
            padding-left: 0; /* Remove padding for mobile */
        }

        .footer-social {
            text-align: center;
        }
    }