/* GG Phone Click-to-Call Widget */
.gg-phone-widget {
    position: fixed;
    z-index: 99998;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.gg-phone-widget.bottom-right { bottom: 20px; right: 20px; }
.gg-phone-widget.bottom-left { bottom: 20px; left: 20px; }

.gg-phone-widget-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.gg-phone-widget-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0,0,0,0.3);
    color: #fff;
    text-decoration: none;
}
.gg-phone-widget-btn:active { transform: scale(0.98); }

.gg-phone-widget-btn svg {
    width: 18px;
    height: 18px;
    animation: gg-phone-ring 2s ease-in-out infinite;
}

@keyframes gg-phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(0deg); }
}

/* Mobile: larger tap target */
@media (max-width: 768px) {
    .gg-phone-widget-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Pulse animation for attention */
.gg-phone-widget-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50px;
    animation: gg-phone-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gg-phone-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}
