/* Исправленные стили для кнопок контактов */
.contact-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 0;
    justify-content: center;
}
.phone-column, .messenger-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 700px) {
    .contact-buttons-row {
        justify-content: center !important;
        margin-left: 0 !important;
    }
    .contact-btn {
        margin: 8px 4px !important;
    }
}

.contact-btn {
    flex: 0 0 auto;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 1rem;
    background-color: #4CAF50;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s;
    border: 2px solid transparent;
    margin: 5px;
}

.contact-btn span {
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.contact-btn:hover,
.contact-btn.highlight {
    color: #fff;
    border: 2px solid #45a049;
    background-color: #45a049;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(76,175,80,0.8);
    border-radius: 20px;
}

.contact-btn.phone {
    background-color: #ff3333;
}

.contact-btn.phone:hover,
.contact-btn.phone.highlight {
    background-color: #ff1a1a;
    border-color: #ff1a1a;
    box-shadow: 0 4px 20px rgba(255,77,77,0.8);
}

.contact-btn.whatsapp {
    background-color: #1ed65f;
}

.contact-btn.whatsapp:hover,
.contact-btn.whatsapp.highlight {
    background-color: #00cc4e;
    border-color: #00cc4e;
    box-shadow: 0 4px 20px rgba(37,211,102,0.8);
}

.contact-btn.telegram {
    background-color: #0099e6;
}

.contact-btn.telegram:hover,
.contact-btn.telegram.highlight {
    background-color: #0088cc;
    border-color: #0088cc;
    box-shadow: 0 4px 20px rgba(0,136,204,0.8);
}

.contact-btn i {
    font-size: 1.3rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.contact-btn.phone i {
    color: #ffffff;
    background: #ff3333;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.contact-btn.phone:hover i {
    background: #ff1a1a;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    transform: scale(1.1);
}

.contact-btn.whatsapp i {
    color: #fff;
    background: #25D366;
    box-shadow: 0 2px 4px rgba(37,211,102,0.3);
}

.contact-btn.whatsapp:hover i {
    background: #22c35e;
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(37,211,102,0.5);
}

.contact-btn.telegram i {
    color: #fff;
    background: #0088cc;
    box-shadow: 0 2px 4px rgba(0,136,204,0.3);
}

.contact-btn.telegram:hover i {
    background: #0077b3;
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0,136,204,0.5);
}

.contact-btn:hover i {
    transform: scale(1.1);
}