/* ===== Стиль футера ===== */
.footer {
    background: #f8f9fa;
    color: #495057;
    margin-top: auto;
    flex-shrink: 0;
    border-top: 1px solid #e9ecef;
}

.footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer__column {
    flex: 1;
    min-width: 0; /* Для правильного сжатия */
}

.footer__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #212529;
}

.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__item {
    margin: 0;
}

.footer__link {
    color: #6c757d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.footer__link:hover {
    color: #495057;
}

.footer__bottom {
    background: #e9ecef;
    border-top: 1px solid #dee2e6;
    padding: 15px 0;
}

.footer__bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer__copyright {
    color: #6c757d;
    font-size: 12px;
    margin: 0;
    font-weight: 400;
}

/* ===== Адаптация для планшетов ===== */
@media (max-width: 992px) {
    .footer__container {
        gap: 30px;
        padding: 25px 20px 15px;
    }
    
    .footer__column {
        flex: 1;
        min-width: 180px;
    }
}

/* ===== Адаптация для мобильных (горизонтальные ссылки со значками) ===== */
@media (max-width: 768px) {
    .footer__container {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 12px 15px 8px;
        text-align: center;
        align-items: center;
    }

    .footer__column {
        width: 100%;
        max-width: 320px;
    }
    
    .footer__title {
        /* Увеличиваем заголовок */
        font-size: 15px;
        margin-bottom: 4px;
        color: #212529;
        font-weight: 600;
    }
    
    .footer__list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        padding: 0;
        margin: 0;
    }
    
    .footer__item {
        margin: 0;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }
    
    /* Значок списка для каждого пункта */
    .footer__item::before {
        content: "•";
        color: #007bff;
        /* Увеличиваем значок */
        font-size: 16px;
        margin-right: 4px;
        flex-shrink: 0;
    }
    
    .footer__link {
        /* Увеличиваем текст ссылок */
        font-size: 14px;
        line-height: 1.2;
        padding: 1px 0;
        color: #6c757d;
        text-decoration: none;
        white-space: nowrap;
    }
    
    .footer__link:hover {
        color: #495057;
    }
    
    .footer__bottom {
        padding: 8px 0;
    }
    
    .footer__bottom-container {
        padding: 0 15px;
        text-align: center;
    }

    .footer__copyright {
        /* Увеличиваем копирайт */
        font-size: 13px;
    }
}

/* ===== Очень маленькие экраны ===== */
@media (max-width: 480px) {
    .footer__container {
        padding: 10px 12px 6px;
        gap: 4px;
    }

    .footer__column {
        max-width: 300px;
    }

    .footer__title {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .footer__list {
        gap: 6px 10px;
    }

    .footer__item::before {
        margin-right: 3px;
        font-size: 15px;
    }

    .footer__link {
        font-size: 13px;
        line-height: 1.1;
    }

    .footer__bottom {
        padding: 6px 0;
    }

    .footer__copyright {
        font-size: 12px;
    }
}

/* ===== Для совсем маленьких экранов ===== */
@media (max-width: 360px) {
    .footer__container {
        padding: 8px 10px 4px;
        gap: 3px;
    }

    .footer__column {
        max-width: 280px;
    }

    .footer__title {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .footer__list {
        gap: 4px 8px;
    }

    .footer__item::before {
        margin-right: 2px;
        font-size: 14px;
    }

    .footer__link {
        font-size: 12px;
    }
}