.site-footer {
    background: var(--footer-bg);
    padding: var(--space-20) var(--container-padding) var(--space-10);
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0;
}

/* ─── Footer Top (Columns) ─── */

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

/* ─── Brand Column ─── */

.footer-brand {
    padding-right: var(--space-8);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: var(--space-4);
}

.footer-logo img {
    display: block;
    margin-top: -8px;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--footer-heading);
    letter-spacing: var(--tracking-tight);
}

.footer-description {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--footer-text);
    max-width: 400px;
    margin: 0;
}

/* ─── Footer Columns ─── */

.footer-col {
    min-width: 0;
}

.footer-col-title {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--footer-heading);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    margin-bottom: var(--space-5);
}

.footer-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col-list li {
    margin-bottom: var(--space-3);
}

.footer-col-list a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--footer-link);
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.footer-col-list a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

/* ─── Social Icons ─── */

.footer-social-icon {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.footer-col-list a:hover .footer-social-icon {
    opacity: 1;
}

/* ─── Footer Divider ─── */

.footer-divider {
    height: 1px;
    background: var(--footer-divider);
    margin-bottom: var(--space-8);
}

/* ─── Footer Bottom ─── */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: var(--text-xs);
    color: var(--color-grey-500);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.footer-copyright u {
    text-underline-offset: 3px;
}

.footer-credit {
    font-size: var(--text-xs);
    color: var(--color-grey-500);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
}

span.sep {
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
    color: var(--color-brand);
    text-decoration: none;
    transition: color var(--transition-fast);
    text-underline-offset: 2px;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════
   Responsive
   ═══════════════════════════════════════ */

@media (max-width: 1023px) {
    .site-footer {
        padding: var(--space-16) var(--space-4) var(--space-8);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10);
        margin-bottom: var(--space-12);
    }

    .footer-brand {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: var(--space-12) var(--space-4) var(--space-8);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        margin-bottom: var(--space-10);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .footer-credit {
        justify-content: center;
    }
}