.fixed-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* Для экранов шире 1920px (2K, 4K) */
@media (min-width: 1920px) {
    .fixed-buttons {
        right: calc(50% - 940px); /* Центрируем относительно контента */
    }
}

/* Для экранов шире 2560px (2.5K, 4K) */
@media (min-width: 2560px) {
    .fixed-buttons {
        right: calc(50% - 1220px);
    }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .fixed-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .contact-btn {
        width: 48px;
        height: 48px;
    }
}

/* Остальные стили без изменений */
.contact-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    background-color: transparent;
}

.call-btn {
    color: #FFD700;
}

.call-btn::before,
.call-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.4);
    -webkit-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    -webkit-animation: golden-ripple 2s infinite ease-out;
    animation: golden-ripple 2s infinite ease-out;
    z-index: -1;
}

.call-btn::after {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.call-btn:hover {
    color: #FFC200;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.wa-btn {
    color: #FFD700;
}

.wa-btn::before,
.wa-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.4);
    -webkit-transform: translate(-50%, -50%) scale(0);
    -ms-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    -webkit-animation: golden-ripple 2s infinite ease-out;
    animation: golden-ripple 2s infinite ease-out;
    z-index: -1;
}

.wa-btn::after {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.wa-btn:hover {
    color: #FFC200;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@-webkit-keyframes golden-ripple {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(0.8);
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(2.2);
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

@keyframes golden-ripple {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(0.8);
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(2.2);
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .fixed-buttons {
        position: absolute;
        bottom: 20px;
        right: 20px;
    }
    
    .contact-btn {
        margin-top: 12px;
    }
    
    .call-btn::before,
    .call-btn::after,
    .wa-btn::before,
    .wa-btn::after {
        display: none;
    }
}