/* Шрифты: заголовки Tenor Sans (в настройках сайта), меню и кнопки Montserrat */
.t-menu__link-item,
.t-menu-base__link-item,
.t-menu-base__right_descr,
.t-btn,
.t-btnflex,
.t-btnflex__text,
.t-submit {
  font-family: 'Montserrat', Arial, sans-serif !important;
}

/* Плашка cookie: компактная карточка, кнопка «ОК» */
.t657.t657_rectangle {
  left: auto !important;
  right: 20px !important;
  bottom: 20px !important;
  width: 380px !important;
  max-width: calc(100% - 40px) !important;
}
.t657__wrapper {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 16px !important;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.15) !important;
  text-align: left !important;
}
.t657__text {
  flex: 1;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}
.t657__btn {
  flex: none;
  margin: 0 !important;
  padding: 0 18px !important;
  height: 32px !important;
  min-height: 0 !important;
}
.t657__close-button { display: none !important; }
@media (max-width: 640px) {
  .t657.t657_rectangle {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* Шапка (19.10.2026): обычное меню (ME100) на экранах от 1280 px и на телефонах; бургер-меню (ME400) на экранах 961–1279 px */
@media (min-width: 961px) and (max-width: 1279px) {
  .t-rec[data-record-type="1272"] { display: none !important; }
}
@media (max-width: 960px), (min-width: 1280px) {
  .t-rec[data-record-type="1362"] { display: none !important; }
}
/* Логотип слева, телефоны и кнопка справа, пункты меню по центру между ними */
@media (min-width: 1280px) {
  .t-rec[data-record-type="1272"] .t-menu-base__maincontainer { flex-wrap: nowrap !important; }
  .t-rec[data-record-type="1272"] .t-menu-base__logowrapper,
  .t-rec[data-record-type="1272"] .t-menu-base__rightwrapper { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
  .t-rec[data-record-type="1272"] .t-menu-base__leftwrapper { flex: 1 1 auto !important; display: flex !important; justify-content: center !important; }
}
/* Обычное меню: телефоны целиком, кнопка уже, иконки соцсетей ближе */
@media (min-width: 1280px) {
  .t-rec[data-record-type="1272"] .t-menu-base__maincontainer { column-gap: 24px !important; }
  .t-rec[data-record-type="1272"] ul.t-menu__list { column-gap: 14px !important; }
  .t-rec[data-record-type="1272"] .t-menu__list a,
  .t-rec[data-record-type="1272"] .t-menu__list .t-menu__link-item { font-size: 17px !important; }
  .t-rec[data-record-type="1272"] .t-menu-base__additionalwrapper { gap: 16px !important; }
  .t-rec[data-record-type="1272"] .t-menu-base__right_descr { white-space: nowrap !important; }
  .t-rec[data-record-type="1272"] .t-sociallinks__wrapper { gap: 0 !important; }
  .t-rec[data-record-type="1272"] .t-sociallinks__item { margin: 0 10px 0 0 !important; }
  .t-rec[data-record-type="1272"] .t-sociallinks__item:last-child { margin-right: 0 !important; }
  .t-rec[data-record-type="1272"] .t-menu-base__additionalwrapper .t-btn { padding-left: 18px !important; padding-right: 18px !important; }
}

/* Выпадающий список «Услуги»: каждый пункт в одну строку (17.10.2026) */
.t-rec[data-record-type="1272"] .t-menusub__innermenu-content { width: auto !important; min-width: 200px !important; }
.t-rec[data-record-type="1272"] .t-menusub__link-item { white-space: nowrap !important; }


/* Скрыть дату на страницах проектов (19.10.2026) */
.t-cms__page .t-cms__page__molecule:has(> .t-cms__page__atom.t-uptitle_sm),
.t-cms__page .t-cms__page__atom.t-uptitle_sm { display: none !important; }

/* Просмотр фото проекта поверх плашки cookie (19.10.2026) */
.r2g-lb { z-index: 2147483000 !important; }

/* Вертикальные линии между пунктами меню (19.10.2026): тёмные на светлой шапке, светлые на главной */
@media (min-width: 1280px) {
  .t-rec[data-record-type="1272"] ul.t-menu__list { column-gap: 26px !important; }
  .t-rec[data-record-type="1272"] ul.t-menu__list > li { position: relative; }
  .t-rec[data-record-type="1272"] ul.t-menu__list > li + li::before { content: ""; position: absolute; left: -13px; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: rgba(28, 28, 28, 0.6); pointer-events: none; }
  #rec2476743161 ul.t-menu__list > li + li::before { background: #cfcfcf; }
}
