/* Shared footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    color: var(--accent);
}

.footer-brand p {
    color: var(--fg-muted);
    margin-top: 16px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--border-strong);
    border-radius: 10px;
    color: var(--fg-muted);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-15);
    color: var(--accent);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-social-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 16px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--fg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--fg-muted);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--fg-subtle);
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-brand p {
        margin: 16px auto 0;
    }

    .footer-links ul {
        align-items: center;
    }

    .footer-social-col .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}
