#footer {
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-oscuro-contraste) 100%);
    color: var(--blanco);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

#footer-top {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

#footer-top a {
    color: var(--blanco);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

#footer-top a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--verde-corporativo);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#footer-top a:hover {
    color: var(--verde-corporativo);
    background: rgba(114, 190, 68, 0.1);
}

#footer-top a:hover::before {
    width: 80%;
}

#footer-center {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    align-items: center;
}

#footer-center article {
    text-align: left;
}

#footer-center h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--verde-corporativo);
}

#footer-center h2:not(:first-child) {
    margin-top: 1.5rem;
}

#footer-center h2:not(:first-child)::before {
    content: '📍 ';
}

#footer-center p,
#footer-center address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-logos a {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 45px;
    width: auto;
    transition: var(--transicion);
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-talleres {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

#footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

#footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

#footer-bottom a {
    color: var(--verde-corporativo);
    transition: color 0.3s ease;
}

#footer-bottom a:hover {
    color: var(--blanco);
}

#contenedor-iconos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

#contenedor-iconos a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

#contenedor-iconos a:hover {
    background: var(--verde-corporativo);
    transform: translateY(-4px);
}

#contenedor-iconos a i {
    font-size: 1.25rem;
    color: var(--blanco);
}

@media (max-width: 900px) {
    #footer-center {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    #footer-center article {
        text-align: center;
    }

    .footer-logos {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    #footer {
        padding: 3rem 1rem 1.5rem;
    }

    #footer-top {
        gap: 1rem;
    }

    #footer-top a {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    .footer-logos {
        gap: 0.5rem;
    }

    .footer-logo {
        height: 35px;
    }

    .footer-talleres {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    #contenedor-iconos a {
        width: 42px;
        height: 42px;
    }
}
