/* ===== ОСНОВНЫЕ СТИЛИ ФУТЕРА ===== */
.footer {
    background: linear-gradient(135deg, #5D4037 0%, #3E2723 100%);
    color: #FFFFFF;
    padding: 50px 0 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35, #FF8C42, #FF6B35);
}

/* Сетка футера */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Колонки футера */
.footer-column {
    padding: 10px;
}

/* Заголовки колонок */
.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FF8C42;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #FF8C42;
}

/* Ссылки в футере */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #E0E0E0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-size: 0.95rem;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #FF8C42;
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    color: #BCAAA4;
}

/* Контакты */
.footer-contacts {
    margin-top: 15px;
}

.footer-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #EEEEEE;
}

.footer-text i {
    color: #FF8C42;
    margin-right: 8px;
}

.footer-phone, .footer-email {
    margin-bottom: 12px;
}

.footer-phone a, .footer-email a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-phone a:hover, .footer-email a:hover {
    color: #FF8C42;
}

.footer-phone i, .footer-email i {
    color: #4CAF50;
    margin-right: 10px;
    width: 20px;
}

/* Социальные сети */
.social-links {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #FF8C42;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

.social-link.fa-vk:hover { background: #4C75A3; }
.social-link.fa-odnoklassniki:hover { background: #F2720C; }
.social-link.fa-telegram:hover { background: #2AABEE; }
.social-link.fa-whatsapp:hover { background: #25D366; }

/* Документы */
.footer-documents {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.footer-documents p {
    margin-bottom: 8px;
}

.footer-documents a {
    color: #BCAAA4;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-documents a:hover {
    color: #FF8C42;
    text-decoration: underline;
}

/* Колонка с логотипом */
.footer-logo-column {
    text-align: center;
}

.footer-logo {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #FF8C42, #FF6B35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.8rem;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-logo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-logo-subtitle {
    font-size: 0.9rem;
    color: #BCAAA4;
}

.footer-certificate {
    background: rgba(76, 175, 80, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #4CAF50;
}

.footer-certificate p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-certificate i {
    color: #4CAF50;
}

/* Колонка "О нас" */
.footer-about {
    line-height: 1.6;
}

.footer-about p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #E0E0E0;
}

.footer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #BCAAA4;
}

.footer-features i {
    color: #FF8C42;
}

/* Нижняя часть футера */
.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #BCAAA4;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-payment span {
    font-size: 0.9rem;
    color: #BCAAA4;
}

.footer-payment i {
    font-size: 1.5rem;
    color: #E0E0E0;
    transition: color 0.3s;
}

.footer-payment i:hover {
    color: #FF8C42;
}

.fa-cc-visa:hover { color: #1A1F71 !important; }
.fa-cc-mastercard:hover { color: #EB001B !important; }

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-logo-column {
        text-align: left;
    }
    
    .footer-logo-icon {
        margin: 0 0 15px 0;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        padding: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo-icon {
        margin: 0 auto 15px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-links a,
    .footer-text,
    .footer-phone a,
    .footer-email a {
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
    }
}