/* ============================================
   SITE FOOTER - Componente compartido
   Variables globales en: css/app.css
   ============================================ */
.site-footer {
    background: var(--color-primary-dark);
    padding: 2rem 2rem 1.5rem;
}

.site-footer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h5 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: color var(--transition-normal);
}

.footer-col a:hover {
    color: var(--color-secondary);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.15rem;
}

.footer-slogan {
    color: var(--color-secondary) !important;
    font-weight: 600;
    margin-bottom: 0.75rem !important;
}

.footer-desc {
    line-height: 1.6;
}

/* ============================================
   REDES SOCIALES — Iconos con bounce sutil
   ============================================ */
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: socialBounce 2s ease-in-out infinite;
}

.social-icon:nth-child(2) { animation-delay: 0.15s; }
.social-icon:nth-child(3) { animation-delay: 0.3s; }
.social-icon:nth-child(4) { animation-delay: 0.45s; }

.social-icon:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.35);
    animation: none;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

@keyframes socialBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-legal {
    margin-top: 0.5rem !important;
    font-size: 0.8rem !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: span 3;
        max-width: 100%;
    }
}

/* Mobile y Tablet pequeño */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 1.5rem 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
        padding: 1.5rem 0;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }
    .footer-col {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
}

/* Mobile pequeño */
@media (max-width: 480px) {
    .site-footer {
        padding: 1.75rem 1.25rem 1.25rem;
    }
    .footer-grid {
        padding: 1.25rem 0;
        gap: 1.25rem;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }
    .footer-legal {
        font-size: 0.75rem !important;
    }
}
