/* Estilos generales del footer */
.footer {
    background-color: var(--secondary);
    color: white;
    padding: 3rem 0 0;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Columnas del footer */
.footer-col {
    padding: 0 1rem;
}

.logo-footer img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-description {
    color: #b1b1b1;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

/* Enlaces */
.footer-links li, .footer-contact li {
    margin-bottom: 0.8rem;
    list-style: none;
}

.footer-links a, .footer-contact a {
    color: #b1b1b1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links i, .footer-contact i {
    margin-right: 8px;
    color: var(--primary);
    font-size: 0.7rem;
}

/* Contacto */
.footer-contact span {
    color: #b1b1b1;
    font-size: 0.9rem;
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Footer inferior */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 1rem;
}

.footer-copyright {
    text-align: center;
    color: #b1b1b1;
    font-size: 0.85rem;
}

.footer-copyright span {
    color: var(--primary);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.8rem;
}

.footer-legal a {
    color: #b1b1b1;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-col {
        padding: 0;
        margin-bottom: 1.5rem;
    }
    
    .footer-title {
        margin-bottom: 1rem;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}