/* Floating WhatsApp and Telegram launchers */
.chat-launcher {
    position: fixed !important;
    right: 20px !important;
    width: 62px !important;
    height: 62px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    z-index: 99999 !important;
    animation: pulseGlow 2s infinite;
    text-decoration: none !important;
    color: inherit;
    line-height: 1;
}
.chat-launcher:hover, .chat-launcher:focus-visible {
    transform: scale(1.1);
    box-shadow: 0 8px 22px rgba(0,0,0,.35);
}
.chat-launcher img { width: 32px !important; height: 32px !important; object-fit: contain; display: block; }
#whatsapp-chat-launcher { bottom: 130px !important; background: #25D366; }
#telegram-chat-launcher { bottom: 60px !important; background: #0088cc; }
.chat-launcher::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    white-space: nowrap;
    background: #222;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.chat-launcher:hover::after, .chat-launcher:focus-visible::after { opacity: 1; }
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 50px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: badgeBounce 1.4s infinite;
}
.whatsapp-badge { background: #ff3b30; }
.telegram-badge { background: #ff9500; }
@keyframes badgeBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(.95); }
    75% { transform: scale(1.15); }
}
@media (max-width: 768px) {
    .chat-launcher { width: 58px !important; height: 58px !important; right: 14px !important; }
    #whatsapp-chat-launcher { bottom: 145px !important; }
    #telegram-chat-launcher { bottom: 70px !important; }
    .chat-launcher::after { display: none; }
}
