.footer {
    background: linear-gradient(135deg, var(--azul-oscuro) 0%, #1a1f4e 100%);
    color: var(--blanco);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--dorado), var(--rojo-vino));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--dorado);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: var(--dorado);
    border-radius: 2px;
}
.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 0.8rem;
}
.footer-section ul li a {
    color: var(--blanco);
    opacity: 0.87;
    transition: all 0.2s;
    text-decoration: none;
}
.footer-section ul li a:hover {
    color: var(--dorado);
    padding-left: 5px;
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--blanco);
    transition: all 0.2s;
    text-decoration: none;
    font-size: 1.2rem;
}
.social-links a:hover {
    background: var(--dorado);
    color: var(--azul-oscuro);
    transform: translateY(-2px);
}
.footer-bottom {
    text-align: center;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.97rem;
    opacity: 0.85;
}

/* Footer responsive */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
@media (max-width: 500px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
