/* Основной layout */
.contacts-page {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* ЛЕВАЯ ЧАСТЬ */
.contacts-left {
    flex: 1 1 300px;
}

.contacts-left h1 {
    font-size: 26px;
    margin-bottom: 12px;
}

.contacts-left h3 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 6px;
}

.contacts-left p {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* КНОПКИ */
.contacts-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    flex-shrink: 0;
    transition: 0.2s;
}

.btn-contact svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.btn-contact.tg { background: #229ED9; }
.btn-contact.vk { background: #4C75A3; }
.btn-contact.email { background: #555; }

.btn-contact:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}

/* ПРАВАЯ ЧАСТЬ */
.contacts-right {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* КАРТА */
.contacts-map {
    width: 100%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 18px;
}

/* СОЦСЕТИ ПОД КАРТОЙ */
.contacts-socials {
    display: flex;
    gap: 12px;
}

.contacts-socials a {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.contacts-socials a:hover {
    background: #e8e8e8;
    transform: translateY(-1px);
}

.contacts-socials svg {
    width: 17px;
    height: 17px;
    fill: #333;
}

/* АДАПТИВ */
@media (max-width: 768px) {
    .contacts-page {
        flex-direction: column;
        gap: 20px;
    }

    .contacts-map {
        height: 250px;
    }

    .contacts-buttons {
        gap: 8px;
    }
}