/**
 * footer-styles.css - Стили для Footer
 * Версия: 1.0 | 29.01.2026
 * 
 * Расположение: /includes/footer-styles.css
 * 
 * Цветовая схема (stone):
 * - Фон: #292524 (stone-800)
 * - Текст заголовков: #ffffff
 * - Текст ссылок: #a8a29e (stone-400)
 * - Hover: #ffffff
 * - Разделители: #44403c (stone-700)
 * - Copyright: #78716c (stone-500)
 */
html {
    scrollbar-gutter: stable;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #292524;
    color: #ffffff;
    padding: 32px 0;
}

/* Mobile: footer скрыт */
@media (max-width: 767px) {
    .site-footer {
        display: none;
    }
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== FOOTER GRID ===== */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== КОЛОНКА 1: ЛОГОТИП ===== */
.footer-logo {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .footer-logo {
        grid-column: span 1;
    }
}

.footer-logo-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-logo-inner span:first-child {
    font-size: 1.5rem;
}

.footer-description {
    color: #a8a29e;
    font-size: 0.875rem;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

/* ===== СОЦСЕТИ ===== */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #44403c;
    border-radius: 8px;
    color: #a8a29e;
    font-size: 18px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: #57534e;
    color: #ffffff;
}

/* VK hover - синий */
.footer-social a[title="VK"]:hover {
    background: #0077ff;
    color: #ffffff;
}

/* Telegram hover - голубой */
.footer-social a[title="Telegram"]:hover {
    background: #0088cc;
    color: #ffffff;
}

/* ===== КОЛОНКИ 2-4 ===== */
.footer-column h4 {
    font-weight: 600;
    margin: 0 0 12px 0;
    font-size: 1rem;
    color: #ffffff;
}

.footer-column h4.section-title {
    margin-top: 20px;
}

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

.footer-column ul li a {
    color: #a8a29e;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

/* ===== КОЛОНКА КОНТАКТОВ ===== */
.footer-contacts ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a8a29e;
    font-size: 0.875rem;
}

.footer-contacts ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a8a29e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contacts ul li a:hover {
    color: #ffffff;
}

.footer-contacts ul li i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* ===== TELEGRAM-КАНАЛ ===== */
.telegram-channel {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #44403c;
}

.telegram-channel a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a8a29e;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.telegram-channel a:hover {
    color: #ffffff;
}

.telegram-channel a:hover .channel-name {
    color: #0088cc;
}

.telegram-channel i {
    font-size: 20px;
    color: #0088cc;
}

.telegram-channel .channel-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.telegram-channel .channel-label {
    font-size: 0.75rem;
    color: #78716c;
    margin-top: 2px;
}

/* ===== COPYRIGHT ===== */
.footer-copyright {
    padding-top: 24px;
    border-top: 1px solid #44403c;
    text-align: center;
    color: #78716c;
    font-size: 0.875rem;
}

/* ===== STICKY BUTTONS ===== */
.sticky-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 767px) {
    .sticky-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
        display: none !important;
    }
}

.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

@media (max-width: 767px) {
    .sticky-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

.sticky-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Telegram кнопка */
.sticky-btn.btn-telegram {
    background-color: #3b82f6;
}

.sticky-btn.btn-telegram:hover {
    background-color: #2563eb;
}

/* Телефон кнопка */
.sticky-btn.btn-phone {
    background-color: #22c55e;
}

.sticky-btn.btn-phone:hover {
    background-color: #16a34a;
}

.sticky-btn.btn-phone i {
    font-size: 20px;
}

@media (max-width: 767px) {
    .sticky-btn.btn-phone i {
        font-size: 18px;
    }
}
