/* ============ BOTONES FLOTANTES FAQ ============ */
.faq-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.faq-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.faq-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.faq-sub-btns {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1;
}

.faq-sub-btns.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-80px);
}

.faq-sub-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.faq-sub-btn:hover {
    transform: scale(1.1);
}

.faq-sub-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    white-space: nowrap;
    background: white;
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-sub-btn:hover::after {
    opacity: 1;
    right: 70px;
}

/* Animation for main button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.faq-main-btn.pulse {
    animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-container {
        bottom: 20px;
        right: 20px;
    }
    
    .faq-main-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .faq-sub-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .faq-sub-btn::after {
        font-size: 12px;
        right: 50px;
    }
    
    .faq-sub-btn:hover::after {
        right: 60px;
    }
}

@media (max-width: 480px) {
    .faq-container {
        bottom: 15px;
        right: 15px;
    }
    
    .faq-main-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .faq-sub-btns {
        gap: 10px;
    }
    
    .faq-sub-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .faq-sub-btns.active {
        transform: translateY(-70px);
    }
}