/* Inter подключается один раз в common/header.twig */

.modern-footer {
    --emmet-footer-bg: #0a0a0a;
    --emmet-footer-glass: rgba(255, 255, 255, 0.03);
    --emmet-footer-accent: #f6d32d;
    --emmet-footer-accent-glow: rgba(246, 211, 45, 0.3);
    --emmet-footer-text-muted: #a0a0a0;
    --emmet-footer-text: #ffffff;
    --emmet-footer-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background-color: var(--emmet-footer-bg);
    color: var(--emmet-footer-text);
    padding: 60px 20px 20px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--emmet-footer-accent-glow);
    filter: blur(120px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.modern-footer .footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr auto 1.35fr;
    gap: 32px;
    position: relative;
    z-index: 1;
    align-items: start;
}

.modern-footer .footer-container--legal {
    display: block;
}

.modern-footer .footer-column h4 {
    color: var(--emmet-footer-accent);
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.modern-footer .catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.modern-footer .footer-link {
    color: var(--emmet-footer-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--emmet-footer-transition);
    display: flex;
    align-items: center;
    padding: 4px 0;
}

.modern-footer .footer-link:hover {
    color: var(--emmet-footer-accent);
    transform: translateX(8px);
}

.modern-footer .footer-link::before {
    content: '';
    width: 0;
    height: 2px;
    background: var(--emmet-footer-accent);
    margin-right: 0;
    transition: var(--emmet-footer-transition);
    flex-shrink: 0;
}

.modern-footer .footer-link:hover::before {
    width: 12px;
    margin-right: 8px;
}

.modern-footer .contact-card {
    background: var(--emmet-footer-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modern-footer .contact-card h4 {
    margin-top: 0;
}

.modern-footer .contact-item {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.modern-footer .contact-item span {
    font-size: 12px;
    color: var(--emmet-footer-text-muted);
    margin-bottom: 4px;
}

.modern-footer .contact-item a,
.modern-footer .contact-item .contact-address {
    color: var(--emmet-footer-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: var(--emmet-footer-transition);
}

.modern-footer .contact-item a:hover {
    color: var(--emmet-footer-accent);
}

.modern-footer .contact-address {
    font-weight: 600;
    line-height: 1.4;
    white-space: pre-line;
}

.modern-footer .social-row {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.modern-footer .social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--emmet-footer-transition);
    color: var(--emmet-footer-text);
}

.modern-footer .social-icon:hover {
    background: var(--emmet-footer-accent);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--emmet-footer-accent-glow);
}

.modern-footer .social-icon i {
    font-size: 20px;
    line-height: 1;
}

.modern-footer .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modern-footer .footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: #666;
    line-height: 1.6;
}

.modern-footer .legal-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.modern-footer .legal-info {
    max-width: 800px;
}

.modern-footer .legal-info p {
    margin: 0 0 0.75em;
}

.modern-footer .legal-info p:last-child {
    margin-bottom: 0;
}

.modern-footer .legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.modern-footer .legal-links a {
    color: var(--emmet-footer-text-muted);
    text-decoration: none;
    border-bottom: 1px dashed #444;
    transition: var(--emmet-footer-transition);
}

.modern-footer .legal-links a:hover {
    color: var(--emmet-footer-accent);
    border-color: var(--emmet-footer-accent);
}

@media (max-width: 1100px) {
    .modern-footer .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .modern-footer .footer-container {
        grid-template-columns: 1fr;
    }

    .modern-footer .catalog-grid {
        grid-template-columns: 1fr;
    }

    .modern-footer {
        padding: 40px 15px 24px;
    }
}
