/* =================================================== */
/* === 8. FOOTER ===================================== */
/* =================================================== */

#footer {
    background-color: var(--color-fondo-oscuro);
    color: #aaa;
    padding: 60px 20px;
}

#footer .content-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

#footer .footer-col .logo {
    height: 50px;
    margin-bottom: 20px;
}

#footer .footer-col h4 {
    font-family: var(--fuente-titulos);
    color: #fff;
    margin-bottom: 20px;
}

#footer .footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 100%;
    text-align: left;
    margin-left: 0;
}

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

#footer .footer-col li {
    margin-bottom: 10px;
}

#footer .footer-col a {
    text-decoration: none;
    color: #aaa;
    transition: color 0.3s ease;
}

#footer .footer-col a:hover {
    color: #fff;
}

#footer .social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

#footer .social-icons img {
    height: 28px;
    filter: grayscale(1) brightness(1.5);
    transition: filter 0.3s ease;
}

#footer .social-icons a:hover img {
    filter: grayscale(0) brightness(1);
}

#footer .footer-bottom {
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    /* Este es un caso especial donde el grid no aplica, así que lo reseteamos */
    display: block;
}