/* ================================
   Footer
================================ */

.site-footer {
    margin-top: 4rem;
    padding: 3rem 0 0;
    background: transparent;
    border-top: 1px solid var(--border);

    /* prevent WhatsApp overlap */
    padding-bottom: 90px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ================================
   Top footer content
================================ */

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2rem;
}

.footer-brand {
    max-width: 520px;
}

.footer-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
}

.footer-brand .logo-mark {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 6px rgba(47,124,255,.45));
}

.footer-brand p {
    margin: .75rem 0 0;
    font-size: .9rem;
    color: var(--muted);
}

/* ================================
   Footer navigation
================================ */

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
}

.footer-nav a {
    font-size: .9rem;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}

.footer-nav a:hover {
    color: var(--text);
    border-bottom-color: var(--border);
}

/* ================================
   Footer bottom bar
================================ */

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 1rem;
}

/* Left */
.footer-copy {
    font-size: .85rem;
    color: var(--muted);
}

/* Center */
.footer-legal {
    text-align: center;
    font-size: .85rem;
}

.footer-legal a {
    color: var(--muted);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--text);
}

.footer-legal span {
    margin: 0 .35rem;
    color: var(--border);
}

/* Right */
.footer-credit {
    text-align: right;
    font-size: .85rem;
    color: var(--muted);
}

.footer-credit a {
    color: var(--accent);
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ================================
   Responsive
================================ */

@media (max-width: 820px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .footer-bottom-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-credit {
        text-align: center;
    }
}
