/* Шапка/футер единые на всех страницах */
html, body, .t-records {
  background-color: #ffffff !important;
}

#rec2309201543 .t396__artboard {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background-color: #000000 !important;
}

#rec2309201543 .kctk-nav-desktop .tn-atom,
#rec2309201543 .kctk-nav-desktop .tn-atom a {
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 25;
}

#rec2309201543 .kctk-nav-desktop .tn-atom a:hover {
  color: #b8945a !important;
}

@media (min-width: 960px) {
  #rec2309201543 .tn-elem.kctk-nav-desktop {
    display: table !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  #rec2309201543 .tn-elem[data-elem-id="1779720686244000001"] {
    display: none !important;
  }
}

@media (max-width: 959px) {
  #rec2309201543 .tn-elem.kctk-nav-desktop {
    display: none !important;
  }
  #rec2309201543 .tn-elem[data-elem-id="1779720686244000001"] {
    display: table !important;
  }
}

/* 24–27" и шире (от 1200px): доп. сдвиг меню от блока лого+подпись */
@media (min-width: 1200px) {
  #rec2309201543 .tn-elem.kctk-nav-desktop {
    transform: translateX(clamp(0px, calc((100vw - 1200px) * 0.06), 120px));
  }
}

@media (min-width: 1920px) {
  #rec2309201543 .tn-elem.kctk-nav-desktop {
    transform: translateX(clamp(40px, calc((100vw - 1920px) * 0.08 + 40px), 160px));
  }
}

#rec2309545853 .t450__menu a.t-menu__link-item {
  pointer-events: auto !important;
}

#rec2309205603,
#rec2309205603 .t464 {
  background-color: #000000 !important;
}

/* Футер: подпись у логотипа как в шапке */
#rec2309205603 .t464__col.t-col_4 {
  display: flex !important;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  float: none;
}

#rec2309205603 .t464__logo-link {
  flex-shrink: 0;
}

#rec2309205603 .t464__logo {
  max-width: 90px;
  width: 90px;
}

#rec2309205603 .t464__text {
  margin-top: 0 !important;
  color: #cdcccb !important;
  font-size: 14px;
  line-height: 1.55;
  max-width: 280px;
  text-transform: none;
}

@media screen and (max-width: 960px) {
  #rec2309205603 .t464__col.t-col_4 {
    max-width: 100%;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 480px) {
  #rec2309205603 .t464__col.t-col_4 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  #rec2309205603 .t464__text {
    max-width: 100%;
    font-size: 12px;
  }
}

body:not(.t-body_scroll-disabled) .t-records > .r:first-child:not(#rec2309201543) {
  scroll-margin-top: 100px;
}

/* Hero «было → стало» на всех страницах */
#rec2309476543 .t396__artboard,
#rec5453388801 .t396__artboard,
#rec5453403001 .t396__artboard,
#rec5453403601 .t396__artboard {
  min-height: 85vh;
}

#rec2309476543 .tn-elem[data-elem-type="html"] .tn-atom,
#rec5453388801 .tn-elem[data-elem-type="html"] .tn-atom,
#rec5453403001 .tn-elem[data-elem-type="html"] .tn-atom,
#rec5453403601 .tn-elem[data-elem-type="html"] .tn-atom {
  width: 100% !important;
  height: 100% !important;
}


/* Блок контроля качества — крупные чёткие фото */
#rec5453788301 .t1032__img {
  width: 220px !important;
  height: 220px !important;
  max-width: 220px !important;
  object-fit: cover;
  object-position: center top;
}
#rec5453788301 .t1032__img_circle {
  border: 3px solid #b8945a;
}
@media (max-width: 640px) {
  #rec5453788301 .t1032__img {
    width: 180px !important;
    height: 180px !important;
    max-width: 180px !important;
  }
}

/* Форма «Обсудим проект» — имя и телефон столбиком, кнопка справа */
#rec2309709263 .t-form__inputsbox,
#rec2309716023 .t-form__inputsbox {
  max-width: 680px !important;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 961px) {
  #rec2309709263 .t-form__inputsbox_horizontal,
  #rec2309716023 .t-form__inputsbox_horizontal {
    display: grid !important;
    grid-template-columns: minmax(280px, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 12px;
    align-items: stretch;
  }

  #rec2309709263 .t-form__inputsbox_horizontal .t-input-group_nm,
  #rec2309716023 .t-form__inputsbox_horizontal .t-input-group_nm {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  #rec2309709263 .t-form__inputsbox_horizontal .t-input-group_ph,
  #rec2309716023 .t-form__inputsbox_horizontal .t-input-group_ph {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  #rec2309709263 .t-form__inputsbox_horizontal .t-form__submit,
  #rec2309716023 .t-form__inputsbox_horizontal .t-form__submit {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0 !important;
    display: flex !important;
    align-items: stretch;
    height: auto !important;
  }

  #rec2309709263 .t-form__inputsbox_horizontal .t-form__submit .t-submit,
  #rec2309716023 .t-form__inputsbox_horizontal .t-form__submit .t-submit,
  #rec2309709263 .t-form__inputsbox_horizontal .t-form__submit .t-btnflex,
  #rec2309716023 .t-form__inputsbox_horizontal .t-form__submit .t-btnflex {
    width: auto !important;
    min-width: 220px;
    max-width: 260px;
    height: 100% !important;
    min-height: 124px;
    white-space: normal;
    line-height: 1.25;
    padding-left: 24px;
    padding-right: 24px;
  }

  #rec2309709263 .t-form__inputsbox_horizontal .t-form__errorbox-middle,
  #rec2309716023 .t-form__inputsbox_horizontal .t-form__errorbox-middle {
    grid-column: 1 / -1;
  }

  #rec2309709263 .t-input-group .t-input-block,
  #rec2309716023 .t-input-group .t-input-block,
  #rec2309709263 .t-input-group .t-input,
  #rec2309716023 .t-input-group .t-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}
