/* ===== FLOATING PHONE WIDGET ===== */
.phone-widget {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 9000;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Tooltip label (slides out on hover) */
.phone-widget-label {
    background: #0a0a0a;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px 10px 16px;
    border-radius: 30px 0 0 30px;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    pointer-events: none;
    border: 1px solid rgba(0, 217, 213, 0.2);
    border-right: none;
}

.phone-widget:hover .phone-widget-label {
    opacity: 1;
    max-width: 250px;
    padding: 10px 20px 10px 16px;
    pointer-events: auto;
}

/* Main floating button */
.phone-widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-teal, #00D9D5);
    box-shadow:
        0 4px 20px rgba(0, 217, 213, 0.4),
        0 0 40px rgba(0, 217, 213, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
    text-decoration: none;
}

.phone-widget-btn:hover {
    transform: scale(1.1);
    box-shadow:
        0 6px 30px rgba(0, 217, 213, 0.5),
        0 0 60px rgba(0, 217, 213, 0.2);
}

.phone-widget-btn:active {
    transform: scale(0.95);
}

/* Phone icon */
.phone-widget-btn svg {
    width: 26px;
    height: 26px;
    fill: #0a0a0a;
    transition: transform 0.3s ease;
}

.phone-widget-btn:hover svg {
    transform: rotate(-10deg) scale(1.05);
}

/* Pulse ring animation */
.phone-widget-btn::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary-teal, #00D9D5);
    opacity: 0;
    animation: phoneWidgetPulse 2.5s ease-out infinite;
}

.phone-widget-btn::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary-teal, #00D9D5);
    opacity: 0;
    animation: phoneWidgetPulse 2.5s ease-out infinite 1.25s;
}

@keyframes phoneWidgetPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .phone-widget {
        bottom: 85px;
        right: 20px;
    }

    .phone-widget-btn {
        width: 52px;
        height: 52px;
    }

    .phone-widget-btn svg {
        width: 22px;
        height: 22px;
    }

    .phone-widget-label {
        font-size: 0.78rem;
        padding: 8px 14px 8px 12px;
    }

    .phone-widget:hover .phone-widget-label {
        padding: 8px 14px 8px 12px;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .phone-widget-btn::before,
    .phone-widget-btn::after {
        animation: none;
    }
}
