@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================
   FOOTER BASE
   ========================================== */
.site-footer {
    background-color: #f8fafc;
    color: #0f172a;
    padding: 80px 0 40px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    font-family: 'Mulish', sans-serif;
}

.site-footer a {
    text-decoration: none;
}

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

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Brand */
.footer-brand {
    margin-bottom: 48px;
}

.footer-brand .logo {
    font-size: 26px;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.footer-brand .logo-bold {
    font-weight: 800;
    color: #2563eb;
}

.footer-brand .logo-light {
    font-weight: 700;
    color: #0f172a;
}

/* Nav Grid - Desktop 4 columns */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
    width: 100%;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col ul li a {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: #2563eb;
}

/* Socials */
.footer-socials {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.footer-socials a:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

/* Divider */
.footer-divider {
    height: 1px;
    background-color: #e2e8f0;
    margin-bottom: 36px;
    width: 100%;
}

/* Legal text */
.footer-legal-text {
    font-size: 12px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 40px;
}

.footer-legal-text p {
    margin-bottom: 14px;
}

.footer-legal-text p strong {
    color: #0f172a;
    font-weight: 700;
}

.footer-legal-text a {
    color: #2563eb;
    text-decoration: underline;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #475569;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #2563eb;
}

.footer-copyright {
    font-weight: 600;
    color: #94a3b8;
}

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

/* Tablet */
@media (max-width: 1024px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 30px;
    }

    .footer-container {
        padding: 0 16px;
        max-width: 100%;
    }

    .footer-brand {
        margin-bottom: 32px;
    }

    .footer-brand .logo {
        font-size: 22px;
    }

    .footer-nav-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        margin-bottom: 36px;
    }

    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .footer-col ul li {
        margin-bottom: 9px;
    }

    .footer-col ul li a {
        font-size: 13px;
    }

    .footer-socials {
        gap: 12px;
        margin-bottom: 28px;
    }

    .footer-socials a {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .footer-divider {
        margin-bottom: 24px;
    }

    .footer-legal-text {
        font-size: 11px;
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .footer-legal-text p {
        margin-bottom: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-top: 20px;
    }

    .footer-bottom-links {
        gap: 12px 16px;
    }

    .footer-bottom-links a {
        font-size: 12px;
    }

    .footer-copyright {
        font-size: 12px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .site-footer {
        padding: 40px 0 24px;
    }

    .footer-nav-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand .logo {
        font-size: 20px;
    }

    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-col ul li a {
        font-size: 13px;
    }

    .footer-socials {
        gap: 10px;
    }

    .footer-legal-text {
        font-size: 11px;
    }
}