/* ===================================
   FOOTER.CSS - ФУТЕР САЙТА
   =================================== */

/* ===================================
   1. ОСНОВНОЙ ФУТЕР
   =================================== */
.footer {
    background: var(--gradient-dark);
    color: var(--color-text-secondary);
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы фона */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 10% 20%, rgba(0, 166, 232, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Верхняя граница с градиентом */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

/* ===================================
   2. ОСНОВНАЯ ЧАСТЬ ФУТЕРА
   =================================== */
.footer__main {
    position: relative;
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    z-index: 1;
}

/* ===================================
   3. СЕТКА ФУТЕРА
   =================================== */
.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    animation: fadeInUp 0.8s ease;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Первая колонка шире для логотипа */
.footer__col:first-child {
    grid-column: span 1;
}

/* ===================================
   4. ЛОГОТИП В ФУТЕРЕ
   =================================== */
.logo--footer {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--spacing-sm);
    transition: var(--transition-base);
    width: fit-content; /* ДОБАВЛЕНО */
}

.logo--footer:hover {
    transform: scale(1.03);
}

.logo--footer img {
    height: 56px;
    width: auto; /* ВАЖНО: сохраняет пропорции */
    max-width: 100%; /* ДОБАВЛЕНО */
    object-fit: contain; /* ДОБАВЛЕНО: сохраняет пропорции */
    filter: brightness(1);
    transition: var(--transition-base);
}

.logo--footer:hover img {
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(0, 166, 232, 0.4));
}

/* ===================================
   5. ОПИСАНИЕ КОМПАНИИ
   =================================== */
.footer__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-tertiary);
    margin: 0;
    max-width: 320px;
}

/* ===================================
   6. ЗАГОЛОВКИ КОЛОНОК
   =================================== */
.footer__title {
    font-family: var(--font-secondary), serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-md);
    position: relative;
    padding-bottom: 12px;
}

/* Подчёркивание заголовков */
.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.footer__col:hover .footer__title::after {
    width: 60px;
}

/* ===================================
   7. ССЫЛКИ В ФУТЕРЕ
   =================================== */
.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links li {
    position: relative;
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
    padding-left: 20px;
}

/* Иконка стрелки */
.footer__links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-base);
    color: var(--color-primary);
    font-weight: 700;
}

.footer__links a:hover {
    color: var(--color-primary);
    padding-left: 24px;
    transform: translateX(4px);
}

.footer__links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ===================================
   8. КОНТАКТЫ В ФУТЕРЕ
   =================================== */
.footer__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.footer__contacts li:hover {
    background: rgba(0, 166, 232, 0.08);
    border-color: rgba(0, 166, 232, 0.3);
    transform: translateX(4px);
}

/* Иконки контактов */
.footer__contacts svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.footer__contacts li:hover svg {
    color: var(--color-gold);
    transform: scale(1.1);
}

/* Ссылки и текст контактов */
.footer__contacts a,
.footer__contacts span {
    color: var(--color-text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-base);
    word-break: break-word;
}

.footer__contacts a:hover {
    color: var(--color-primary);
}

/* ===================================
   9. НИЖНЯЯ ЧАСТЬ ФУТЕРА
   =================================== */
.footer__bottom {
    background: var(--color-bg-dark-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-lg) 0;
    position: relative;
}

.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

/* ===================================
   10. КОПИРАЙТ
   =================================== */
.footer__copy {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-tertiary);
    font-weight: 500;
}

.footer__copy a {
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.footer__copy a:hover {
    color: var(--color-primary);
}

/* ===================================
   11. СОЦИАЛЬНЫЕ СЕТИ
   =================================== */
.footer__socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Эффект свечения при наведении */
.footer__social::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-primary);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.footer__social:hover::before {
    width: 100%;
    height: 100%;
}

.footer__social svg {
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.footer__social:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 166, 232, 0.3);
}

.footer__social:hover svg {
    color: white;
    transform: scale(1.1);
}

/* Специфичные цвета для соцсетей */
.footer__social[aria-label*="WhatsApp"]:hover::before {
    background: #25D366;
}

.footer__social[aria-label*="WhatsApp"]:hover {
    border-color: #25D366;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.footer__social[aria-label*="Telegram"]:hover::before {
    background: #0088cc;
}

.footer__social[aria-label*="Telegram"]:hover {
    border-color: #0088cc;
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3);
}

.footer__social[aria-label*="VK"]:hover::before {
    background: #0077FF;
}

.footer__social[aria-label*="VK"]:hover {
    border-color: #0077FF;
    box-shadow: 0 8px 24px rgba(0, 119, 255, 0.3);
}

/* ===================================
   12. ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ
   =================================== */

/* Разделитель (если нужен) */
.footer__divider {
    height: 1px;
    background: var(--color-border);
    margin: var(--spacing-xl) 0;
    opacity: 0.5;
}

/* Бейдж "Мы в соцсетях" */
.footer__socials-label {
    font-size: 13px;
    color: var(--color-text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 8px;
}

/* ===================================
   13. АДАПТИВНОСТЬ
   =================================== */

/* Большие экраны */
@media (max-width: 1400px) {
    .footer__grid {
        gap: var(--spacing-lg);
    }
}

/* Средние экраны */
@media (max-width: 1200px) {
    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__col:first-child {
        grid-column: span 1;
    }

    .footer__col:last-child {
        grid-column: span 3;
    }
}

/* Планшеты */
@media (max-width: 992px) {
    .footer__main {
        padding: var(--spacing-2xl) 0 var(--spacing-xl);
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }

    .footer__col:first-child,
    .footer__col:last-child {
        grid-column: span 2;
    }

    .footer__col:nth-child(2),
    .footer__col:nth-child(3) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .footer__main {
        padding: var(--spacing-xl) 0;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer__col,
    .footer__col:first-child,
    .footer__col:last-child {
        grid-column: span 1;
    }

    .logo--footer img {
        height: 48px;
        width: auto; /* ВАЖНО */
        max-width: 200px; /* ДОБАВЛЕНО */
    }

    /* Центрирование первой колонки на мобильных */
    .footer__col:first-child {
        align-items: center;
        text-align: center;
    }

    .logo--footer {
        margin: 0 auto; /* ДОБАВЛЕНО для центрирования */
    }

    .footer__desc {
        max-width: 100%;
    }

    .footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer__col:hover .footer__title::after {
        width: 80px;
    }

    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .footer__copy {
        order: 2;
    }

    .footer__socials {
        order: 1;
        justify-content: center;
    }
}

/* Мобильные устройства */
@media (max-width: 576px) {
    .footer__main {
        padding: var(--spacing-lg) 0;
    }

    .footer__grid {
        gap: var(--spacing-lg);
    }

    .footer__title {
        font-size: 16px;
        margin-bottom: var(--spacing-sm);
    }

    .footer__links,
    .footer__contacts {
        gap: 10px;
    }

    .footer__links a,
    .footer__contacts a,
    .footer__contacts span {
        font-size: 14px;
    }

    .footer__contacts li {
        padding: 10px;
    }

    .logo--footer img {
        height: 48px;
    }

    .footer__desc {
        font-size: 14px;
    }

    .footer__social {
        width: 40px;
        height: 40px;
    }

    .footer__social svg {
        width: 18px;
        height: 18px;
    }

    .footer__copy {
        font-size: 13px;
    }

    .footer__bottom {
        padding: var(--spacing-md) 0;
    }

    .logo--footer img {
        height: 44px;
        width: auto; /* ВАЖНО */
        max-width: 180px; /* ДОБАВЛЕНО */
    }

}

/* ===================================
   14. АНИМАЦИИ
   =================================== */

/* Плавное появление колонок */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer__col {
    animation: fadeInUp 0.6s ease backwards;
}

.footer__col:nth-child(1) { animation-delay: 0.1s; }
.footer__col:nth-child(2) { animation-delay: 0.2s; }
.footer__col:nth-child(3) { animation-delay: 0.3s; }
.footer__col:nth-child(4) { animation-delay: 0.4s; }

/* Волновой эффект при загрузке */
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.footer__social {
    animation: wave 3s ease-in-out infinite;
}

.footer__social:nth-child(1) { animation-delay: 0s; }
.footer__social:nth-child(2) { animation-delay: 0.1s; }
.footer__social:nth-child(3) { animation-delay: 0.2s; }
.footer__social:nth-child(4) { animation-delay: 0.3s; }

/* Отключение анимаций при скролле на мобильных */
@media (max-width: 768px) {
    .footer__col {
        animation: none;
    }

    .footer__social {
        animation: none;
    }
}

/* ===================================
   15. ДЕКОРАТИВНЫЕ ЭФФЕКТЫ
   =================================== */

/* Светящиеся частицы (опционально) */
.footer__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.3;
}

.footer__particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.footer__particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.footer__particle:nth-child(2) { left: 25%; animation-delay: 3s; }
.footer__particle:nth-child(3) { left: 40%; animation-delay: 6s; }
.footer__particle:nth-child(4) { left: 60%; animation-delay: 9s; }
.footer__particle:nth-child(5) { left: 80%; animation-delay: 12s; }

/* ===================================
   16. БЕЙДЖИ И НАГРАДЫ
   =================================== */
.footer__badges {
    display: flex;
    gap: 16px;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.footer__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 166, 232, 0.1);
    border: 1px solid rgba(0, 166, 232, 0.2);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.footer__badge:hover {
    background: rgba(0, 166, 232, 0.15);
    border-color: rgba(0, 166, 232, 0.4);
    transform: translateY(-2px);
}

.footer__badge svg {
    width: 16px;
    height: 16px;
}

/* ===================================
   17. ФОРМА ПОДПИСКИ (опционально)
   =================================== */
.footer__subscribe {
    margin-top: var(--spacing-md);
    max-width: 400px;
}

.footer__subscribe-form {
    display: flex;
    gap: 8px;
}

.footer__subscribe-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 14px;
    transition: var(--transition-base);
}

.footer__subscribe-input::placeholder {
    color: var(--color-text-tertiary);
}

.footer__subscribe-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0, 166, 232, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 166, 232, 0.1);
}

.footer__subscribe-btn {
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.footer__subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

/* ===================================
   18. ПЛАТЁЖНЫЕ СИСТЕМЫ
   =================================== */
.footer__payments {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.footer__payment {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.footer__payment:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.footer__payment img {
    height: 20px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition-base);
}

.footer__payment:hover img {
    opacity: 1;
}


/* ===================================
   19. ACCESSIBILITY
   =================================== */

/* Улучшенная видимость фокуса */
.footer__links a:focus-visible,
.footer__contacts a:focus-visible,
.footer__social:focus-visible,
.footer__subscribe-input:focus-visible,
.footer__subscribe-btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

/* Skip link для клавиатурной навигации */
.footer__skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    z-index: 100;
    transition: var(--transition-base);
}

.footer__skip-link:focus {
    top: 10px;
}

/* Высокая контрастность */
@media (prefers-contrast: more) {
    .footer {
        background: #000;
        border-top: 3px solid var(--color-primary);
    }

    .footer__links a,
    .footer__contacts a {
        border: 1px solid transparent;
    }

    .footer__links a:hover,
    .footer__contacts a:hover {
        border-color: var(--color-primary);
    }

    .footer__social {
        border-width: 2px;
    }

    .footer__contacts li {
        border-width: 2px;
    }
}

/* Screen reader only элементы */
.footer__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===================================
   20. УМЕНЬШЕНИЕ ДВИЖЕНИЯ
   =================================== */
@media (prefers-reduced-motion: reduce) {
    .footer__col,
    .footer__social,
    .footer__links a,
    .footer__contacts li,
    .footer__social::before,
    .footer__badge,
    .footer__particle {
        animation: none !important;
        transition: none !important;
    }

    .footer__links a:hover,
    .footer__social:hover,
    .footer__contacts li:hover {
        transform: none !important;
    }
}

/* ===================================
   21. ПЕЧАТЬ
   =================================== */
@media print {
    .footer {
        background: white;
        color: black;
        page-break-inside: avoid;
    }

    .footer::before,
    .footer::after,
    .footer__particles {
        display: none;
    }

    .footer__main {
        padding: 20px 0;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer__bottom {
        background: transparent;
        border-top: 2px solid #000;
        padding: 15px 0;
    }

    .footer__socials,
    .footer__subscribe,
    .footer__badges,
    .footer__particles,
    .footer__social::before {
        display: none;
    }

    .footer__links a::before,
    .footer__title::after {
        display: none;
    }

    .footer__links a,
    .footer__contacts a,
    .footer__contacts span {
        color: black;
        text-decoration: none;
    }

    .footer__contacts li {
        background: transparent;
        border: 1px solid #ccc;
        padding: 8px;
    }

    .footer__contacts svg {
        color: black;
    }

    /* Добавление URL для ссылок */
    .footer__links a::after,
    .footer__contacts a::after {
        content: " (" attr(href) ")";
        font-size: 11px;
        color: #666;
    }

    .footer__copy {
        color: black;
        text-align: center;
    }
}

/* ===================================
   22. ТЕМНАЯ ТЕМА (ДОПОЛНИТЕЛЬНО)
   =================================== */
[data-theme="dark"] .footer {
    background: linear-gradient(135deg, #000000 0%, #0A0A0A 100%);
}

[data-theme="dark"] .footer__bottom {
    background: #000000;
}

[data-theme="dark"] .footer__contacts li {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .footer__social {
    background: rgba(255, 255, 255, 0.03);
}

/* ===================================
   23. СВЕТЛАЯ ТЕМА (ОПЦИОНАЛЬНО)
   =================================== */
[data-theme="light"] .footer {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    color: var(--color-bg-dark);
}

[data-theme="light"] .footer::before {
    background:
            radial-gradient(circle at 10% 20%, rgba(0, 166, 232, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .footer__title,
[data-theme="light"] .footer__links a,
[data-theme="light"] .footer__contacts a,
[data-theme="light"] .footer__contacts span,
[data-theme="light"] .footer__copy {
    color: var(--color-bg-dark);
}

[data-theme="light"] .footer__desc,
[data-theme="light"] .footer__copy {
    color: rgba(15, 23, 42, 0.6);
}

[data-theme="light"] .footer__links a:hover,
[data-theme="light"] .footer__contacts a:hover {
    color: var(--color-primary);
}

[data-theme="light"] .footer__bottom {
    background: rgba(226, 232, 240, 0.5);
    border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .footer__contacts li {
    background: rgba(0, 166, 232, 0.05);
    border-color: rgba(0, 166, 232, 0.1);
}

[data-theme="light"] .footer__social {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.1);
    color: var(--color-bg-dark);
}

[data-theme="light"] .footer__social:hover {
    color: white;
}

/* ===================================
   24. ИНФОРМАЦИЯ О КОМПАНИИ
   =================================== */
.footer__company-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.footer__company-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-tertiary);
}

.footer__company-item strong {
    color: var(--color-text-secondary);
    font-weight: 600;
    min-width: 80px;
}

/* ===================================
   25. РЕЙТИНГИ И ОТЗЫВЫ
   =================================== */
.footer__ratings {
    display: flex;
    gap: 16px;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.footer__rating {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    min-width: 140px;
}

.footer__rating:hover {
    background: rgba(0, 166, 232, 0.08);
    border-color: rgba(0, 166, 232, 0.3);
    transform: translateY(-2px);
}

.footer__rating-platform {
    font-size: 12px;
    color: var(--color-text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
}

.footer__rating-stars {
    display: flex;
    gap: 4px;
    color: var(--color-gold);
}

.footer__rating-stars svg {
    width: 16px;
    height: 16px;
}

.footer__rating-score {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.footer__rating-count {
    font-size: 11px;
    color: var(--color-text-tertiary);
}

/* ===================================
   26. СЕРТИФИКАТЫ И ПАРТНЁРЫ
   =================================== */
.footer__partners {
    display: flex;
    gap: 16px;
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.footer__partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition-base);
}

.footer__partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ===================================
   27. РАБОЧЕЕ ВРЕМЯ
   =================================== */
.footer__schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: var(--radius-md);
}

.footer__schedule-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer__schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--color-text-secondary);
    padding: 4px 0;
}

.footer__schedule-day {
    font-weight: 500;
}

.footer__schedule-time {
    font-weight: 600;
    color: var(--color-text-primary);
}

.footer__schedule-item--today {
    background: rgba(255, 107, 0, 0.1);
    margin: 0 calc(var(--spacing-md) * -1);
    padding: 8px var(--spacing-md);
    border-radius: var(--radius-sm);
}

.footer__schedule-item--today .footer__schedule-day,
.footer__schedule-item--today .footer__schedule-time {
    color: var(--color-gold);
    font-weight: 700;
}

/* ===================================
   28. БЫСТРЫЕ ССЫЛКИ НА ДОКУМЕНТЫ
   =================================== */
.footer__legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.footer__legal-link {
    font-size: 13px;
    color: var(--color-text-tertiary);
    transition: var(--transition-base);
    position: relative;
}

.footer__legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.footer__legal-link:hover {
    color: var(--color-primary);
}

.footer__legal-link:hover::after {
    width: 100%;
}

/* ===================================
   29. NEWSLETTER УСПЕХ
   =================================== */
.footer__subscribe-success {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-success);
    font-size: 14px;
    font-weight: 600;
    animation: slideInRight 0.4s ease;
}

.footer__subscribe-success.show {
    display: flex;
}

.footer__subscribe-success svg {
    width: 20px;
    height: 20px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   30. МОБИЛЬНАЯ ОПТИМИЗАЦИЯ
   =================================== */
@media (max-width: 480px) {
    .footer__main {
        padding: var(--spacing-md) 0;
    }

    .footer__grid {
        gap: var(--spacing-md);
    }

    .footer__title {
        font-size: 15px;
        margin-bottom: var(--spacing-sm);
        padding-bottom: 8px;
    }

    .footer__title::after {
        height: 2px;
        width: 30px;
    }

    .footer__links a,
    .footer__contacts a,
    .footer__contacts span {
        font-size: 13px;
    }

    .footer__contacts li {
        padding: 8px;
        gap: 10px;
    }

    .footer__contacts svg {
        width: 16px;
        height: 16px;
    }

    .logo--footer img {
        height: 44px;
    }

    .footer__desc {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer__social {
        width: 36px;
        height: 36px;
    }

    .footer__social svg {
        width: 16px;
        height: 16px;
    }

    .footer__socials {
        gap: 8px;
    }

    .footer__bottom {
        padding: var(--spacing-sm) 0;
    }

    .footer__bottom-inner {
        gap: var(--spacing-sm);
    }

    .footer__copy {
        font-size: 12px;
        line-height: 1.5;
    }

    /* Компактное расположение форм */
    .footer__subscribe-form {
        flex-direction: column;
    }

    .footer__subscribe-btn {
        width: 100%;
    }

    /* Рейтинги */
    .footer__ratings {
        gap: 12px;
    }

    .footer__rating {
        min-width: auto;
        flex: 1;
    }

    /* Партнёры */
    .footer__partners {
        justify-content: center;
    }

    .footer__partner-logo {
        height: 32px;
    }

    /* Рабочее время */
    .footer__schedule {
        padding: var(--spacing-sm);
        margin-top: var(--spacing-sm);
    }

    .footer__schedule-item {
        font-size: 13px;
    }

    .footer__schedule-item--today {
        margin: 0 calc(var(--spacing-sm) * -1);
        padding: 6px var(--spacing-sm);
    }

    /* Документы */
    .footer__legal {
        gap: 12px;
        margin-top: var(--spacing-sm);
        padding-top: var(--spacing-sm);
    }

    .footer__legal-link {
        font-size: 12px;
    }

    /* Информация о компании */
    .footer__company-info {
        padding: var(--spacing-sm);
        gap: 10px;
    }

    .footer__company-item {
        font-size: 13px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .footer__company-item strong {
        min-width: auto;
    }

    .logo--footer img {
        height: 40px;
        width: auto; /* ВАЖНО */
        max-width: 160px; /* ДОБАВЛЕНО */
    }
}

/* ===================================
   31. LANDSCAPE МОБИЛЬНАЯ ОРИЕНТАЦИЯ
   =================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .footer__main {
        padding: var(--spacing-lg) 0;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__col:first-child {
        grid-column: span 2;
    }
}

/* ===================================
   32. ОПТИМИЗАЦИЯ ПРОИЗВОДИТЕЛЬНОСТИ
   =================================== */

/* GPU-ускорение для анимированных элементов */
.footer__social,
.footer__links a,
.footer__contacts li,
.footer__badge,
.footer__rating,
.footer__partner-logo {
    will-change: transform;
}

/* Удаление will-change после окончания взаимодействия */
.footer:not(:hover) .footer__social,
.footer:not(:hover) .footer__links a,
.footer:not(:hover) .footer__contacts li {
    will-change: auto;
}

/* Оптимизация для Touch устройств */
@media (hover: none) and (pointer: coarse) {
    .footer__links a:hover,
    .footer__social:hover,
    .footer__contacts li:hover,
    .footer__badge:hover,
    .footer__rating:hover {
        transform: none;
    }

    .footer__links a:active {
        transform: scale(0.95);
    }

    .footer__social:active {
        transform: scale(0.9);
    }
}

/* ===================================
   33. ДОПОЛНИТЕЛЬНЫЕ ВАРИАНТЫ ФУТЕРА
   =================================== */

/* Минималистичный вариант */
.footer--minimal .footer__grid {
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.footer--minimal .footer__col {
    animation: none;
}

.footer--minimal .footer::before,
.footer--minimal .footer__particles {
    display: none;
}

/* Широкий вариант */
.footer--wide .container {
    max-width: 1600px;
}

.footer--wide .footer__grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Центрированный вариант */
.footer--centered {
    text-align: center;
}

.footer--centered .footer__col {
    align-items: center;
}

.footer--centered .footer__links a {
    padding-left: 0;
}

.footer--centered .footer__links a::before {
    display: none;
}

.footer--centered .footer__title::after {
    left: 50%;
    transform: translateX(-50%);
}

.footer--centered .footer__contacts li {
    justify-content: center;
}

/* ===================================
   34. СОСТОЯНИЯ ЗАГРУЗКИ
   =================================== */
.footer--loading .footer__col {
    animation: none;
}

.footer--loading .footer__title,
.footer--loading .footer__links a,
.footer--loading .footer__desc {
    background: linear-gradient(
            90deg,
            var(--color-surface) 0%,
            var(--color-surface-elevated) 50%,
            var(--color-surface) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    color: transparent;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===================================
   35. ИНТЕГРАЦИЯ С CMS
   =================================== */

/* WordPress класс */
.footer .widget {
    margin-bottom: var(--spacing-lg);
}

.footer .widget-title {
    font-family: var(--font-secondary), serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.footer .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .widget li {
    margin-bottom: 10px;
}

/* ===================================
   36. RTL ПОДДЕРЖКА
   =================================== */
[dir="rtl"] .footer__links a::before {
    right: 0;
    left: auto;
    content: '←';
}

[dir="rtl"] .footer__links a {
    padding-right: 20px;
    padding-left: 0;
}

[dir="rtl"] .footer__links a:hover {
    padding-right: 24px;
    padding-left: 0;
}

[dir="rtl"] .footer__title::after {
    right: 0;
    left: auto;
}

[dir="rtl"] .footer__contacts li {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer__company-item {
    flex-direction: row-reverse;
}

/* ===================================
   37. БЕЗОПАСНОСТЬ И ПРИВАТНОСТЬ
   =================================== */
.footer__privacy-notice {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--color-text-tertiary);
    line-height: 1.6;
}

.footer__privacy-notice a {
    color: var(--color-gold);
    font-weight: 600;
    text-decoration: underline;
}

.footer__privacy-notice a:hover {
    color: var(--color-primary);
}

/* Кнопка управления cookies */
.footer__cookie-settings {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.footer__cookie-settings:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.footer__cookie-settings svg {
    width: 16px;
    height: 16px;
}

/* ===================================
   38. МУЛЬТИЯЗЫЧНОСТЬ
   =================================== */
.footer__language-switcher {
    display: flex;
    gap: 8px;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.footer__language-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
}

.footer__language-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.footer__language-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* ===================================
   39. СТАТИСТИКА И СЧЕТЧИКИ
   =================================== */
.footer__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: var(--spacing-md);
}

.footer__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.footer__stat:hover {
    background: rgba(0, 166, 232, 0.08);
    border-color: rgba(0, 166, 232, 0.3);
    transform: translateY(-4px);
}

.footer__stat-number {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-secondary), serif;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.footer__stat-label {
    font-size: 13px;
    color: var(--color-text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

/* ===================================
   40. КАРТА И АДРЕС
   =================================== */
.footer__map-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: var(--spacing-sm);
    padding: 12px;
    background: rgba(0, 166, 232, 0.08);
    border: 1px solid rgba(0, 166, 232, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-base);
}

.footer__map-link:hover {
    background: rgba(0, 166, 232, 0.15);
    border-color: rgba(0, 166, 232, 0.4);
    transform: translateX(4px);
}

.footer__map-link svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Встроенная мини-карта */
.footer__map-embed {
    margin-top: var(--spacing-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    border: 1px solid var(--color-border);
}

.footer__map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) invert(92%) contrast(90%);
    transition: filter 0.4s ease;
}

.footer__map-embed:hover iframe {
    filter: grayscale(0%) invert(0%) contrast(100%);
}

/* ===================================
   41. КАЛЬКУЛЯТОР ИЛИ ВИДЖЕТЫ
   =================================== */
.footer__widget {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.footer__widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__widget-title svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.footer__widget-content {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================
   42. АККОРДЕОН ДЛЯ МОБИЛЬНЫХ
   =================================== */
@media (max-width: 768px) {
    .footer__col {
        border-bottom: 1px solid var(--color-border);
        padding-bottom: var(--spacing-md);
    }

    .footer__col:last-child {
        border-bottom: none;
    }

    .footer__title {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        user-select: none;
    }

    .footer__title::before {
        content: '+';
        font-size: 24px;
        font-weight: 700;
        color: var(--color-primary);
        transition: transform 0.3s ease;
        order: 2;
    }

    .footer__title.active::before {
        content: '−';
        transform: rotate(180deg);
    }

    .footer__title::after {
        display: none;
    }

    /* Скрываем содержимое по умолчанию */
    .footer__col--collapsible .footer__links,
    .footer__col--collapsible .footer__contacts,
    .footer__col--collapsible .footer__desc {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
    }

    .footer__col--collapsible.active .footer__links,
    .footer__col--collapsible.active .footer__contacts,
    .footer__col--collapsible.active .footer__desc {
        max-height: 1000px;
        opacity: 1;
        margin-top: var(--spacing-sm);
    }

    /* Первая колонка всегда развернута */
    .footer__col:first-child .footer__title::before {
        display: none;
    }

    .footer__col:first-child .footer__desc {
        max-height: none;
        opacity: 1;
    }
}

/* ===================================
   43. КНОПКА "ВЕРНУТЬСЯ НАВЕРХ"
   =================================== */
.footer__scroll-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-colored);
    cursor: pointer;
    transition: var(--transition-smooth);
    margin: var(--spacing-md) auto 0;
}

.footer__scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 16px 40px rgba(0, 166, 232, 0.5);
}

.footer__scroll-top svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   44. QR-КОД ДЛЯ КОНТАКТОВ
   =================================== */
.footer__qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    width: fit-content;
}

.footer__qr-code img {
    width: 120px;
    height: 120px;
}

.footer__qr-label {
    font-size: 12px;
    color: var(--color-bg-dark);
    font-weight: 600;
    text-align: center;
}

/* ===================================
   45. ПРОГРЕСС-БАР ЗАГРУЗКИ
   =================================== */
.footer__progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 166, 232, 0.2);
    overflow: hidden;
}

.footer__progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0;
    transition: width 0.3s ease;
}

/* ===================================
   46. TOOLTIPS
   =================================== */
.footer__tooltip {
    position: relative;
    display: inline-block;
}

.footer__tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: var(--color-bg-dark-secondary);
    color: var(--color-text-primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    pointer-events: none;
    z-index: var(--z-tooltip);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.footer__tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--color-bg-dark-secondary);
}

.footer__tooltip:hover .footer__tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}

/* ===================================
   47. УВЕДОМЛЕНИЯ В ФУТЕРЕ
   =================================== */
.footer__notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 166, 232, 0.1);
    border: 1px solid rgba(0, 166, 232, 0.3);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    animation: slideInUp 0.6s ease;
}

.footer__notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer__notification-icon svg {
    width: 20px;
    height: 20px;
}

.footer__notification-content {
    flex: 1;
}

.footer__notification-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.footer__notification-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.footer__notification-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-text-tertiary);
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition-base);
}

.footer__notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   48. ВЕРСИЯ САЙТА И ДАТА ОБНОВЛЕНИЯ
   =================================== */
.footer__version {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--color-text-tertiary);
}

.footer__version-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer__version-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* ===================================
   49. КАСТОМНЫЙ КУРСОР (ОПЦИОНАЛЬНО)
   =================================== */
.footer a,
.footer button {
    cursor: pointer;
}

@media (pointer: fine) {
    .footer a:hover,
    .footer button:hover {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2300A6E8" stroke-width="2"><path d="M9 18l6-6-6-6"/></svg>'), auto;
    }
}

/* ===================================
   50. ФИНАЛЬНЫЕ ОПТИМИЗАЦИИ
   =================================== */

/* Lazy loading изображений */
.footer img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.footer img[loading="lazy"].loaded {
    opacity: 1;
}

/* Prefetch для критических ресурсов */
.footer a[rel*="prefetch"]::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Оптимизация для старых браузеров */
@supports not (backdrop-filter: blur(20px)) {
    .footer__contacts li,
    .footer__social,
    .footer__subscribe-input {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* Fallback для CSS Grid */
@supports not (display: grid) {
    .footer__grid {
        display: flex;
        flex-wrap: wrap;
    }

    .footer__col {
        flex: 1 1 250px;
    }
}

/* ===================================
   51. MEDIA QUERIES ДЛЯ ULTRA-WIDE
   =================================== */
@media (min-width: 1920px) {
    .footer__main {
        padding: var(--spacing-3xl) 0 var(--spacing-3xl);
    }

    .footer__grid {
        gap: var(--spacing-2xl);
    }

    .logo--footer img {
        height: 64px;
    }

    .footer__title {
        font-size: 20px;
    }

    .footer__links a,
    .footer__contacts a,
    .footer__contacts span {
        font-size: 16px;
    }
}

/* ===================================
   52. КОНТРОЛЬНЫЕ ТОЧКИ ЗАГРУЗКИ
   =================================== */
.footer[data-load-state="loading"] {
    pointer-events: none;
}

.footer[data-load-state="loading"] * {
    animation-play-state: paused;
}

.footer[data-load-state="loaded"] {
    animation: fadeIn 0.6s ease;
}

.footer[data-load-state="error"] {
    opacity: 0.5;
}

.footer[data-load-state="error"]::before {
    content: 'Ошибка загрузки';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 16px 32px;
    background: var(--color-error);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 100;
}

/* ===================================
   КОНЕЦ FOOTER.CSS
   =================================== */


