/* =========================================================
   FLOATING CALL + WHATSAPP BUTTONS
========================================================= */

.vh-floating-contact {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.vh-float-btn {
    pointer-events: auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(10, 37, 72, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, width 0.25s ease;
    overflow: hidden;
}

.vh-float-btn i {
    font-size: 22px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.vh-float-label {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    background: #0A2548;
    color: #fff;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 20px rgba(10, 37, 72, 0.18);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.vh-float-call {
    background: #025fbe;
}

.vh-float-whatsapp {
    background: #25D366;
}

body.vh-nav-open .vh-floating-contact {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.vh-float-call:hover,
.vh-float-call:focus-visible {
    background: #024a96;
}

.vh-float-whatsapp:hover,
.vh-float-whatsapp:focus-visible {
    background: #1ebe57;
}

.vh-float-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    opacity: 0.35;
    transform: scale(1);
    animation: vh-float-pulse 2.2s ease-out infinite;
    z-index: 0;
}

.vh-float-btn:hover,
.vh-float-btn:focus-visible {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 32px rgba(10, 37, 72, 0.28);
    color: #fff !important;
}

.vh-float-btn:hover .vh-float-label,
.vh-float-btn:focus-visible .vh-float-label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@keyframes vh-float-pulse {
    0% {
        transform: scale(1);
        opacity: 0.45;
    }
    70% {
        transform: scale(1.55);
        opacity: 0;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@media (hover: none) {
    .vh-float-label {
        display: none;
    }
}

@media (max-width: 767px) {
    .vh-floating-contact {
        right: 14px;
        bottom: 16px;
        gap: 10px;
    }

    .vh-float-btn {
        width: 50px;
        height: 50px;
    }

    .vh-float-btn i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .vh-floating-contact {
        right: 12px;
        bottom: 14px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .vh-float-btn::before {
        animation: none;
    }

    .vh-float-btn {
        transition: none;
    }
}
