.floating-contact {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9999;
}
.contact-toggle { display: none; }
.contact-trigger {
    width: 60px;
    height: 60px;
    background: #b5e0f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(43, 94, 59, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(43, 94, 59, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(43, 94, 59, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(43, 94, 59, 0); transform: scale(1); }
}
.trigger-icon { position: absolute; transition: all 0.3s ease; width: 60px; height: 60px;}
.trigger-icon-open { opacity: 1; transform: rotate(0deg); }
.trigger-icon-close { opacity: 0; transform: rotate(90deg); }
.trigger-icon-close svg { width: 24px; height: 24px; stroke: white; stroke-width: 2; }
#contact-toggle:checked + .contact-trigger .trigger-icon-open { opacity: 0; transform: rotate(-90deg); }
#contact-toggle:checked + .contact-trigger .trigger-icon-close { opacity: 1; transform: rotate(0deg); padding: 18px;}
.trigger-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    color: #2b5e3b;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 40px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    border: 1px solid rgba(43, 94, 59, 0.2);
}
.trigger-tooltip:after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-right: 1px solid rgba(43, 94, 59, 0.2);
    border-bottom: 1px solid rgba(43, 94, 59, 0.2);
}
.contact-trigger:hover .trigger-tooltip { opacity: 1; visibility: visible; bottom: 80px; }
.contact-buttons {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
    pointer-events: none;
}
#contact-toggle:checked ~ .contact-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(-80px);
    pointer-events: auto;
}
.contact-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    align-self: flex-end;
}
.contact-button:hover { transform: scale(1.15) translateX(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); }
.contact-label {
    position: absolute;
    right: 60px;
    background: white;
    color: #1e3a2a;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 15px;
    border-radius: 40px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    border: 1px solid rgba(43, 94, 59, 0.2);
}
.contact-button:hover .contact-label { opacity: 1; visibility: visible; right: 70px; }
.contact-button svg { transition: all 0.3s ease; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2)); }
.contact-button:hover svg { transform: scale(1.15); }
.contact-button.telegram:hover { background: #006699 !important; }
.contact-button.phone:hover { background: #02c47a !important; }
.contact-button.email:hover { background: #e03e52 !important; }
.contact-button.max:hover { background: #3688c4 !important; }
@media (max-width: 768px) {
    .floating-contact { bottom: 20px; right: 20px; }
    .contact-trigger { width: 50px; height: 50px; }
    .contact-button { width: 45px; height: 45px; }
    .contact-button svg { width: 20px; height: 20px; }
    .trigger-tooltip { font-size: 0.8rem; padding: 6px 12px; }
    .contact-label { font-size: 0.8rem; padding: 4px 12px; }
}
@media (max-width: 480px) {
    .contact-label { display: none; }
    .trigger-tooltip { right: -10px; font-size: 0.75rem; padding: 5px 10px; }
}