/** Кнопки мессенджеров */
.messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    position: relative;
    z-index: 1;
}

.messengers a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 12px;
    color: #fff !important;
    text-decoration: none !important;
    font: 16px/22px Manrope-Bold;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

.messengers a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    color: #fff !important;
}

.messengers a svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    flex-shrink: 0;
}

.messengers a.msgr-tg {
    background: linear-gradient(135deg, #37BBFE, #0078B7);
}

.messengers a.msgr-wa {
    background: linear-gradient(135deg, #2DD860, #1FA84A);
}

@media (max-width: 750px) {
    .messengers {
        flex-direction: column;
    }

    .messengers a {
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
}

header .contacts-info {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-bottom: 1px solid #E8E8E8;
}
header .contacts-info .item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 15px/20px Manrope-Regular;
    text-decoration: none;
    color: #2C2C2C;
}
header .contacts-info .item svg { width: 20px; height: 20px; flex-shrink: 0; }
header .contacts-info .item svg path { stroke: #175D54; }
header .contacts-info .item.adress { margin-right: auto; }

/* Иконки мессенджеров — 34×34, без фона, официальный МАКС */
header .contacts-info .item.social-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
header .contacts-info .item.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 0 0 auto;
    transition: transform .15s ease;
}
header .contacts-info .item.social-links a:hover { transform: translateY(-2px); }
header .contacts-info .item.social-links a img {
    width: 34px;
    height: 34px;
    display: block;
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
}
/* Подправить МАКС, если он выше Телеграма */
header .contacts-info .item.social-links a:nth-child(2) img {
    transform: translateY(0px);
}

@media (max-width: 1150px) {
    header .contacts-info .item.adress { display: none; }
}
@media (max-width: 750px) {
    header .contacts-info { gap: 12px; justify-content: space-between; }
    header .contacts-info .item:not(.social-links):not(.adress) span { display: none; }
}

/* Логотипы в подвале — не обрезать */
footer .logos {
    height: auto !important;
    min-height: 50px !important;
    padding: 16px 0 !important;
    align-items: center !important;
}
footer .logos .logo {
    display: flex !important;
    align-items: center !important;
}
footer .logos .logo img {
    height: auto !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 220px !important;
}
footer .logos .logo:last-child img {
    max-height: 36px !important;
}

/* Подвал: выравнивание секций */
footer .info .contacts > section { margin-bottom: 16px; }
footer .info .contacts > section:last-child { margin-bottom: 0; }
footer .info .contacts > section:first-child { margin-bottom: 8px !important; }

/* Заголовки */
footer .info .contacts > section .section-title {
    margin: 0 0 6px 0 !important;
    line-height: 22px;
    font: 16px/22px Manrope-Bold;
    color: #2C2C2C;
}

/* Номер телефона */
footer .info .contacts .footer-phone {
    display: block;
    margin: 0 0 8px 0 !important;
    line-height: 22px;
    color: #2C2C2C;
    text-decoration: none;
}

/* Иконки — без фона, без border-radius, чистые логотипы */
.list-msgrs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.list-msgrs .msgr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 0 0 50px;
    transition: transform .15s ease;
    /* background и border-radius убраны */
}
.list-msgrs .msgr:hover { transform: translateY(-2px); }

.list-msgrs .msgr img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 0;
    box-sizing: border-box;
}
/* Подтянуть МАКС вверх в подвале */
footer .info .list-msgrs .msgr:nth-child(2) img {
    transform: translateY(-6px);
}