/* =============================================
   FOOTER — Red de Salud Aguaytía
   ============================================= */

.main-footer {
    background: #0a1628;
    color: #cbd5e1;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    margin-top: 4rem;
    transition: margin-left 0.3s;
}

.footer-top {
    padding: 3rem 3rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

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

.footer-col ul li a {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding: 1.25rem 3rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
}

.footer-bottom p a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom p a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-top {
        padding: 2rem 1.5rem 1.5rem;
    }

    .footer-bottom {
        text-align: center;
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
