/* ===================================
FOOTER PADI - CORREGIDO
=================================== */

.footer{
    background: linear-gradient(135deg, #0f172a, #111827, #1f2937);
    color: white;
    padding: 90px 8% 25px;
}

/* ===================================
CONTENEDOR
=================================== */

.footer-container{
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

/* ===================================
LOGO
=================================== */

.footer-logo{
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-col p{
    color: #cbd5e1;
    line-height: 1.9;
}

/* ===================================
TITULOS
=================================== */

.footer-col h3{
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after{
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 10px;
    border-radius: 20px;
    background: linear-gradient(90deg, #ff7b00, #1ba83e);
}

/* ===================================
LINKS
=================================== */

.footer-col ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li{
    margin-bottom: 12px;
}

.footer-col ul li a{
    text-decoration: none;
    color: #cbd5e1;
    transition: .3s;
}

.footer-col ul li a:hover{
    color: #1cdd36;
    padding-left: 8px;
}

/* ===================================
CONTACTO
=================================== */

.footer-contact li{
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
}

.footer-contact i{
    color: #1cdd36;
}

/* ===================================
REDES SOCIALES
=================================== */

.footer-social{
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a{
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #ff7b00, #1ba83e);
    transition: .35s;
}

.footer-social a:hover{
    transform: translateY(-5px);
}

/* ===================================
COPYRIGHT
=================================== */

.footer-bottom{
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 25px;
    text-align: center;
    color: #94a3b8;
    font-size: .95rem;
}

/* ===================================
✅ RESPONSIVE MEJORADO - PANTALLAS CHICAS
=================================== */

/* Tablets y pantallas medianas */
@media(max-width: 992px){
    .footer-container{
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
    
    .footer-col h3{
        font-size: 1.1rem;
    }
}

/* Móviles grandes */
@media(max-width: 768px){
    .footer{
        padding: 60px 5% 20px;
        text-align: center;
    }
    
    .footer-container{
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }
    
    /* Logo centrado */
    .footer-logo{
        margin: 0 auto 20px;
        max-width: 150px;
    }
    
    /* Títulos centrados */
    .footer-col h3::after{
        margin: 10px auto 0;
    }
    
    /* Redes sociales centradas */
    .footer-social{
        justify-content: center;
    }
    
    /* Contacto centrado */
    .footer-contact li{
        justify-content: center;
    }
    
    .footer-col p{
        font-size: 14px;
    }
}

/* Móviles pequeños */
@media(max-width: 480px){
    .footer{
        padding: 50px 4% 15px;
    }
    
    .footer-container{
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-col{
        text-align: center;
    }
    
    .footer-col h3{
        font-size: 1rem;
        margin-bottom: 18px;
    }
    
    .footer-col h3::after{
        width: 40px;
        height: 3px;
        margin: 8px auto 0;
    }
    
    .footer-col ul li{
        margin-bottom: 8px;
    }
    
    .footer-col ul li a{
        font-size: 14px;
    }
    
    .footer-logo{
        max-width: 120px;
        margin: 0 auto 15px;
    }
    
    .footer-col p{
        font-size: 13px;
        line-height: 1.7;
    }
    
    .footer-social a{
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .footer-bottom{
        font-size: 12px;
        padding-top: 18px;
    }
}

/* ================================
   WHATSAPP FLOTANTE
================================ */

.whatsapp-float{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover{
    transform: scale(1.1);
    background: #1ebe5d;
}

/* Responsive WhatsApp en móvil */
@media(max-width: 480px){
    .whatsapp-float{
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
}

/* ================================
   BOTÓN SUBIR ARRIBA
================================ */

.scroll-top{
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(90deg, #0f8a00, #1ba83e, #ff7b00);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s ease;
}

.scroll-top:hover{
    transform: translateY(-5px);
    background: linear-gradient(90deg, #0f8a00, #1ba83e, #ff7b00);
}

/* Responsive botón subir */
@media(max-width: 480px){
    .scroll-top{
        width: 40px;
        height: 40px;
        font-size: 14px;
        bottom: 75px;
        right: 15px;
    }
}
