/* ========================================
   FLOATING CONTACT BUTTONS
   ======================================== */

.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    align-items: center;
}

.contact-main-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700 0%, #f0c800 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.contact-main-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.contact-main-button i {
    font-size: 24px;
    color: #1a365d;
    transition: transform 0.3s ease;
}

.contact-main-button.active i {
    transform: rotate(45deg);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 0.3s ease-out;
}

.contact-option:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-option:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-option:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-option i {
    font-size: 22px;
    color: white;
}

.contact-phone {
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
}

.contact-phone:hover {
    transform: translateX(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.4);
}

.contact-email {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.contact-email:hover {
    transform: translateX(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.contact-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.contact-whatsapp:hover {
    transform: translateX(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Tooltip */
.contact-option::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 65px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

.contact-option:hover::before {
    opacity: 1;
    visibility: visible;
    left: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-contact {
        left: 20px;
        bottom: 20px;
    }

    .contact-main-button {
        width: 55px;
        height: 55px;
    }

    .contact-main-button i {
        font-size: 22px;
    }

    .contact-option {
        width: 45px;
        height: 45px;
    }

    .contact-option i {
        font-size: 20px;
    }

    .contact-option::before {
        display: none;
    }
}