/* ==========================================================================
   assets/css/footerfront.css
   DESIGN: PREMIUM COMPACT SOLID (FIX: STICKY BOTTOM)
   ========================================================================== */
:root {
    --ww-foot-primary: #0ea5e9;
    --ww-foot-dark: #0f172a;
    --ww-foot-gray: #64748b;
    --ww-foot-border: #e2e8f0;
    --ww-foot-white: #ffffff;
    --ww-foot-bg-icon: #f8fafc;
}

/* FIX: Convertimos el cuerpo entero de la página en un contenedor flexible
   Esto asegura que, sin importar lo corta que sea la página, el contenido
   crece y empuja al footer hasta abajo. */

.ww-footer {
    position: relative;
    z-index: 10;
    width: 100%; /* Fix del recorte de F5 (sin usar 100vw) */
    padding: 0;
    font-family: 'Poppins', sans-serif;
    
    /* FIX DE SUPERPOSICIÓN: */
    clear: both; /* Fuerza al footer a quedarse debajo de TODO el contenido */
    margin-top: 80px; /* Le da un margen seguro para no encimarse */
}

.ww-footer-container {
    width: 100%;
    background: var(--ww-foot-white);
    padding: 45px 30px 25px 30px; 
    text-align: center;
    border-top: 1px solid var(--ww-foot-border);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.02); 
    
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ww-footer-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ww-footer-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem; 
    font-weight: 800;
    color: var(--ww-foot-dark);
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.ww-footer-title .footer-accent {
    color: var(--ww-foot-primary); 
}

.ww-footer-desc {
    font-size: 1rem; 
    color: var(--ww-foot-gray);
    max-width: 650px;
    margin: 0 auto 25px auto; 
    line-height: 1.6;
    font-weight: 400;
}

.ww-footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px; 
}

.ww-footer-social-btn {
    width: 44px; 
    height: 44px;
    border-radius: 12px; 
    background: var(--ww-foot-bg-icon);
    border: 1px solid var(--ww-foot-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ww-footer-social-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--ww-foot-dark);
    transition: fill 0.3s ease;
}

.ww-footer-social-btn:hover {
    transform: translateY(-4px);
    background: var(--ww-foot-primary);
    border-color: var(--ww-foot-primary);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25); 
}

.ww-footer-social-btn:hover svg {
    fill: var(--ww-foot-white); 
}

.ww-footer-bottom {
    border-top: 1px solid var(--ww-foot-border);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--ww-foot-gray);
    font-weight: 500;
}

@media (max-width: 768px) {
    .ww-footer-title {
        font-size: 1.8rem;
    }
    .ww-footer-container {
        padding: 35px 20px 20px 20px;
    }
}