/* ========================================
   FOOTER - Estilos
   ======================================== */

.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-contact-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--text-sm);
}

.footer-contact-item i {
    color: var(--accent-light);
    font-size: 1.25rem;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    background: var(--primary);
}

.footer-logo .logo-accent {
    color: rgba(255, 255, 255, 0.9);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-logo-img-small {
    height: 32px;
    width: auto;
}

.footer-description {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-social .social-link:hover {
    background: var(--primary);
}

.footer-title {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--accent-light);
    width: 16px;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Footer Compacto */
.footer-compact {
    padding: 1.5rem 0;
}

.footer-compact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.footer-logo-compact {
    display: inline-block;
}

.footer-nav-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
}

.footer-nav-compact a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-nav-compact a:hover {
    color: var(--white);
}

.footer-copyright-compact {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ========== WHATSAPP FLOTANTE ========== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    font-size: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 65px;
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 480px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .footer-simple {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-contact-simple {
        flex-direction: row;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .footer-compact-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 340px) {
    .footer-simple {
        padding: 2rem 0;
    }
    
    .footer-logo-simple img {
        height: 32px;
    }
    
    .footer-contact-item {
        font-size: var(--text-xs);
    }
    
    .footer-contact-item i {
        font-size: var(--text-sm);
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: var(--text-sm);
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: var(--text-lg);
    }
}
