﻿footer {
    background: var(--deep);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top:46px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 300px;
    margin-top: 1.2rem;
}

.footer-col h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--muted);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.footer-col ul {
    list-style: none;
}

    .footer-col ul li {
        margin-bottom: 0.7rem;
    }

        .footer-col ul li a {
            text-decoration: none;
            color: var(--muted);
            font-size: 0.85rem;
            transition: color 0.2s;
        }

            .footer-col ul li a:hover {
                color: var(--gold);
            }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: rgba(122,139,160,0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-made {
    font-size: 0.75rem;
    color: rgba(122,139,160,0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =========================================
   FOOTER RESPONSIVE
   ========================================= */

.footer-grid > div,
.footer-bottom > div {
    min-width: 0;
}

.footer-about p,
.footer-copy,
.footer-made,
.footer-col h4,
.footer-col a,
.footer-brand-text {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 992px) {
    .footer {
        padding: 3rem 0 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 2rem;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

        .footer-about p {
            max-width: 100%;
        }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .footer-logo-wrap {
        height: 70px;
    }

    .footer-brand-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.4rem 0 1.4rem;
        margin-top: 32px;
    }

    .footer-col h4 {
        font-size: 0.58rem;
        letter-spacing: 0.18em;
    }

    .footer-about p,
    .footer-col ul li a {
        font-size: 0.8rem;
    }

    .footer-copy,
    .footer-made {
        font-size: 0.62rem;
        line-height: 1.6;
    }

    .footer-logo-wrap {
        height: 58px;
    }

    .footer-brand {
        gap: 10px;
    }

    .footer-brand-text {
        font-size: 1rem;
    }
}