/* ═══════════════════════════════════════════════
   FOOTER.CSS
   Site footer. Used on every page.
   ═══════════════════════════════════════════════ */

footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    margin-top: 0rem;
}

.footer-container {
    width: 100%
    margin: 0 auto;
    padding: 5rem 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand .nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-brand .logo-img { width: 50px;}
.footer-brand .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}
.footer-brand p {
    max-width: 320px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column li {margin-bottom: 0.9rem;}
.footer-column a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-column a:hover {
    color: var(--accent);
}
.footer-column p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--muted);
}
.social-links {display: flex; gap: 1rem;}
.social-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
}
.social-links a:hover {color: var(--accent);}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 0.85rem;
}

@media (max-width: 1200px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}