/* ==========================================================================
   SECCIÓN: FOOTER GLOBAL
   ========================================================================== */
.site-footer {
    background-color: #222; /* Fondo oscuro elegante */
    color: #ffffff;
    padding: 80px 0 0;
    font-family: 'Montserrat', sans-serif;
}

/* Contenedor Grid de 4 Columnas */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Estilo de Títulos de Columnas */
.footer-col h3 {
    color: #e65c00; /* Naranja corporativo */
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Columna 1: Branding */
.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.branding p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #e65c00;
    transform: translateY(-3px);
}

/* Columna 2: Sellos de Autoridad */
.auth-logos {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.auth-logos img {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1); /* Los hace blancos */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.auth-logos img:hover {
    opacity: 1;
}

/* Listas de Enlaces y Contacto */
.footer-links, .contact-data {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-links li a:hover {
    color: #e65c00;
    padding-left: 5px; /* Efecto sutil de desplazamiento */
}

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

.contact-data i {
    color: #e65c00;
    margin-top: 4px;
}

/* ==========================================================================
   FOOTER BOTTOM & CRÉDITOS
   ========================================================================== */
.footer-bottom {
    background-color: #111;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Estilo Firma: Glitch Marketing */
.creator-credit {
    font-weight: 500;
}

.glitch-link {
    color: #e65c00;
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.glitch-link:hover {
    color: #fff;
    text-shadow: 2px 0 #002e5d, -2px 0 #e65c00; /* Efecto Glitch sutil */
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */

/* Tablets */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

/* Móviles */
@media (max-width: 650px) {
    .site-footer {
        padding-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social, .auth-logos, .contact-data li {
        justify-content: center;
    }

    .bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Estado inicial: oculto y un poco desplazado hacia abajo */
.site-footer .footer-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Clase que activa la entrada */
.site-footer .footer-col.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos escalonados para que las 4 columnas entren una tras otra */
.site-footer .footer-col:nth-child(1) { transition-delay: 0.1s; }
.site-footer .footer-col:nth-child(2) { transition-delay: 0.3s; }
.site-footer .footer-col:nth-child(3) { transition-delay: 0.5s; }
.site-footer .footer-col:nth-child(4) { transition-delay: 0.7s; }