/* =========================
   FOOTER PRINCIPAL
========================= */

.site-footer {
    background: linear-gradient(180deg, #1a1828 0%, #0f0e18 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(166, 107, 211, 0.2);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Columna 1 */
.footer-col:first-child {
    max-width: 350px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: white;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #a66bd3, #5267D9);
    transform: translateY(-3px);
}

.social-link:hover svg {
    opacity: 1;
    fill: white;
}

/* Columnas de enlaces */
.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #a66bd3;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #a66bd3;
    transform: translateX(5px);
}

/* Contacto */
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact li svg {
    width: 20px;
    height: 20px;
    fill: #a66bd3;
    flex-shrink: 0;
}

/* Línea divisoria */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(166, 107, 211, 0.3), rgba(82, 103, 217, 0.3), transparent);
    margin: 30px 0 20px;
}

/* Copyright */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #a66bd3;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-col:first-child {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col:first-child {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Efecto de glow en hover del footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a66bd3, #5267D9, transparent);
    animation: footerGlow 3s linear infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}