/* ===== ФУТЕР САЙТА ===== */
.site-footer {
    background: linear-gradient(135deg, var(--card-bg-color), rgba(24, 24, 24, 0.9));
    border-top: 1px solid var(--card-hover-bg-color);
    padding: 3rem 0 2rem 0; /* ИЗМЕНЕНО: убран боковой padding */
    margin-top: 4rem;
    text-align: center;
    color: var(--secondary-text-color);
    position: relative;
    z-index: 1;
    width: 100vw; /* ДОБАВЛЕНО: полная ширина экрана */
    margin-left: calc(50% - 50vw); /* ДОБАВЛЕНО: центрирование на полную ширину */
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem; /* ДОБАВЛЕНО: внутренний отступ для контента */
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 1.2rem;
    color: var(--primary-text-color);
    font-weight: 600;
    margin: 0;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    max-width: 400px;
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 120px;
}

.footer-section h4 {
    color: var(--primary-text-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.footer-section a {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.email-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.email-link:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    color: var(--secondary-text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-link:hover {
    color: var(--accent-color);
    background: rgba(29, 185, 84, 0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.copyright {
    margin: 0;
    font-size: 0.85rem;
    color: var(--secondary-text-color);
}

.footer-note {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Мобильная адаптивность */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 1rem 1.5rem 1rem;
        margin-top: 2rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
    
    .footer-section {
        min-width: 100px;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
    }
    
    .footer-section a {
        font-size: 0.8rem;
    }
    
    .email-link {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright,
    .footer-note {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}
