/* ==========================================================================
   COMPONENT: Footer – complete, deduplicated styles
   Includes logo, text social links, responsive layout.
   ========================================================================== */

.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-ghost);
    padding: 80px 0 0;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.footer-logo {
    margin-bottom: 10px;
}
.footer-logo .custom-logo-link img {
    max-height: 60px;
    width: auto;
    display: block;
}

.footer-site-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a,
.footer-col ul li {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: var(--accent-light);
}

/* Social links as safe plain text */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}
.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-ghost);
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive: constrain logo on small screens */
@media (max-width: 480px) {
    .footer-logo .custom-logo-link img {
        max-height: 45px;
    }
}