.footer {
    background: var(--dark);
    padding: 80px 8% 30px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

/* Caja del Logo */
.footer-logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    max-width: 160px;
    transition: var(--transition);
}

.footer-logo-box:hover {
    border-color: var(--blue);
    background: rgba(0, 145, 234, 0.05);
    transform: translateY(-5px);
}

.footer-logo-img { width: 100%; height: auto; }

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Links de Navegación */
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--gray); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--blue); transform: translateX(5px); }

/* Datos de Contacto */
.contact-meta { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }
.contact-meta a { 
    color: var(--gray); 
    font-size: 0.9rem; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    transition: var(--transition); 
}
.contact-meta i { color: var(--blue); min-width: 20px; text-align: center; }
.contact-meta a:hover { color: var(--white); }

/* --- REDES SOCIALES (CON BRILLO) --- */
.footer-social-container { display: flex; gap: 15px; }

.social-link {
    display: flex !important; /* Forzamos que sea un círculo */
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset de iconos para redes sociales */
.social-link i {
    color: white !important; 
    margin: 0 !important;
    font-size: 1.1rem !important;
    min-width: auto !important;
}

.social-link:hover { transform: translateY(-5px) scale(1.1); color: white; }

.social-link.facebook:hover { background: #1877F2; box-shadow: 0 0 20px rgba(24, 119, 242, 0.6); border-color: #1877F2; }
.social-link.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 0 20px rgba(214, 36, 159, 0.6); border-color: transparent; }
.social-link.whatsapp:hover { background: #25D366; box-shadow: 0 0 20px rgba(37, 211, 102, 0.6); border-color: #25D366; }

/* Línea de Copyright */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    text-align: center;
}
.footer-bottom p { color: #444; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col, .footer-logo-box, .contact-meta a, .footer-social-container { 
        align-items: center; justify-content: center; margin-left: auto; margin-right: auto;
    }
}

/* =========================================
   [TAG] REDES SOCIALES CON BRILLO (GLOW)
   ========================================= */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* Un poco más grandes para mejor visibilidad */
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto elástico */
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-col {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo-box {
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-meta p {
        justify-content: center;
    }
    
    .footer-social-container {
        justify-content: center;
    }
}
