/* Новая шапка и первый экран главной (вариант ?new-hero=1) */

:root {
  --nh-red: #c8202b;
  --nh-red-dark: #a3161f;
  --nh-navy: #12223a;
  --nh-navy-2: #1a355e;
  --nh-text: #1d2433;
  --nh-muted: #5b6577;
  --nh-line: #e6e9ef;
}

/* ---------- Кнопки ---------- */
.nh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.nh-btn--primary {
  background: var(--nh-red);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(200, 32, 43, .35);
}
.nh-btn--primary:hover {
  background: var(--nh-red-dark);
  transform: translateY(-1px);
}
.nh-btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .35);
  color: #fff !important;
}
.nh-btn--ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
}
.nh-btn--sm {
  padding: 11px 18px;
  font-size: 14px;
  box-shadow: none;
}

/* ---------- Шапка ---------- */
/* overflow: hidden у обёртки ломает position: sticky; clip обрезает так же, но не мешает */
.page-wrapper {
  overflow: visible;
  overflow-x: clip;
}
.nh-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--nh-line);
  transition: box-shadow .2s;
}
.nh-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(18, 34, 58, .08);
}
@media (min-width: 1200px) {
  .nh-header .container { max-width: 1320px; }
}
.nh-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.nh-logo { flex-shrink: 0; }
.nh-logo img {
  display: block;
  height: 52px;
  width: auto;
}
.nh-nav { flex: 1; }
.nh-nav .navbar-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nh-nav .navbar-nav > li { position: relative; }
/* «Главная» дублирует логотип */
.nh-nav .navbar-nav > li.menu-item-4452 { display: none; }
.nh-nav .navbar-nav > li > a {
  display: block;
  padding: 26px 10px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--nh-text);
  text-transform: none;
  text-decoration: none;
  background: transparent !important;
  transition: color .2s;
}
.nh-nav .navbar-nav > li > a:hover,
.nh-nav .navbar-nav > li.current-menu-item > a {
  color: var(--nh-red);
}
.nh-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--nh-line);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(18, 34, 58, .14);
}
.nh-nav .dropdown-menu li a {
  color: var(--nh-text) !important;
  font-size: 14px;
  text-transform: none;
  background: transparent;
}
.nh-nav .dropdown-menu li a:hover {
  color: var(--nh-red) !important;
  background: #f6f7f9;
}
.nh-nav .menu-item-4500 .dropdown-menu {
  width: 820px;
  left: -240px;
  list-style-type: none;
}

.nh-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.nh-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--nh-text) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.nh-phone i { color: var(--nh-red); }
.nh-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.nh-email {
  font-size: 13px;
  color: var(--nh-muted) !important;
  text-decoration: none !important;
}
.nh-email:hover { color: var(--nh-red) !important; }
/* email в раскрытом мобильном меню */
.nh-nav__email { display: none; }

.nh-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  border: 1px solid var(--nh-line);
  border-radius: 8px;
  background: #fff;
  flex-direction: column;
  justify-content: space-between;
}
.nh-burger span {
  display: block;
  height: 2px;
  background: var(--nh-text);
  border-radius: 2px;
}

@media (max-width: 1199px) {
  .nh-header__inner { flex-wrap: wrap; gap: 12px; min-height: 68px; }
  .nh-header__actions { margin-left: auto; }
  .nh-burger { display: flex; }
  .nh-nav {
    display: none;
    order: 3;
    flex-basis: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-top: 1px solid var(--nh-line);
  }
  .nh-header.is-open .nh-nav { display: block; }
  .nh-nav__email {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 4px 18px;
    border-top: 1px solid var(--nh-line);
    font-size: 15px;
    color: var(--nh-text) !important;
    text-decoration: none !important;
  }
  .nh-nav__email i { color: var(--nh-red); }
  .nh-nav .navbar-nav { flex-direction: column; }
  .nh-nav .navbar-nav > li > a { padding: 12px 4px; }
  .nh-nav .dropdown-menu,
  .nh-nav .menu-item-4500 .dropdown-menu {
    position: static;
    width: auto;
    height: auto;
    column-count: 1;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
  }
}
@media (max-width: 575px) {
  .nh-logo img { height: 40px; }
  .nh-phone span { display: none; }
  .nh-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid var(--nh-line);
    border-radius: 8px;
  }
  .nh-header__actions .nh-btn,
  .nh-email { display: none; }
  .nh-header__actions { gap: 8px; }
}

/* ---------- Первый экран ---------- */
.nh-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(200, 32, 43, .28), transparent 45%),
    linear-gradient(135deg, var(--nh-navy) 0%, var(--nh-navy-2) 100%);
  color: #fff;
}
.nh-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px;
  align-items: center;
}
.nh-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
}
.nh-badge:hover { border-color: rgba(255, 255, 255, .5); }
.nh-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, .2);
  flex-shrink: 0;
}
.nh-hero__title {
  margin: 0 0 20px;
  font-family: "Roboto", sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  text-transform: none;
}
.nh-hero__title span { color: #ff5a63; }
.nh-hero__lead {
  max-width: 600px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}
.nh-hero__lead strong { color: #fff; }
.nh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.nh-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
}
.nh-hero__checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nh-hero__checks i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(200, 32, 43, .9);
  font-size: 12px;
  color: #fff;
}
.nh-hero__media { position: relative; }
.nh-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.nh-hero__chip {
  position: absolute;
  left: -18px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: var(--nh-text);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

/* ---------- Каталог услуг ---------- */
.nh-catalog {
  scroll-margin-top: 80px;
  padding: 64px 0 56px;
  background: #fff;
}
.nh-catalog__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.nh-catalog__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--nh-text);
  text-transform: none;
}
.nh-catalog__title::before,
.nh-catalog__title::after { display: none !important; }
.nh-catalog__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--nh-red) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.nh-catalog__all:hover { color: var(--nh-red-dark) !important; }

.nh-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--nh-line);
  border-radius: 12px;
  background: #f4f5f8;
  overflow-x: auto;
  scrollbar-width: none;
}
.nh-tabs::-webkit-scrollbar { display: none; }
.nh-tab {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--nh-text);
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nh-tab:hover { background: #e9ebf0; }
.nh-tab.is-active {
  background: var(--nh-red);
  color: #fff;
}
.nh-tab__count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(18, 34, 58, .08);
  font-size: 12px;
  font-weight: 700;
}
.nh-tab.is-active .nh-tab__count { background: rgba(255, 255, 255, .22); }

.nh-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.nh-panel--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nh-panel[hidden] { display: none; }
.nh-service {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--nh-navy);
  text-decoration: none !important;
}
.nh-service__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.nh-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 38, .82) 0%, rgba(12, 22, 38, .45) 55%, rgba(12, 22, 38, .2) 100%);
  transition: background .3s;
}
.nh-service:hover .nh-service__img { transform: scale(1.06); }
.nh-service:hover::after {
  background: linear-gradient(180deg, rgba(163, 22, 31, .88) 0%, rgba(163, 22, 31, .5) 60%, rgba(163, 22, 31, .25) 100%);
}
.nh-service__title {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  right: 56px;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.nh-service__arrow {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  font-size: 12px;
  transition: background .2s, border-color .2s;
}
.nh-service:hover .nh-service__arrow {
  background: #fff;
  border-color: #fff;
  color: var(--nh-red);
}

@media (max-width: 1199px) {
  .nh-hero__title { font-size: 42px; }
}
@media (max-width: 991px) {
  .nh-panel,
  .nh-panel--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nh-hero { padding: 48px 0 72px; }
  .nh-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .nh-hero__media { max-width: 560px; }
  .nh-hero__chip { left: 16px; }
}
@media (max-width: 575px) {
  .nh-hero { padding: 32px 0 64px; }
  .nh-hero__title { font-size: 31px; }
  .nh-hero__lead { font-size: 16px; }
  .nh-hero__actions .nh-btn { width: 100%; }
  .nh-hero__checks { flex-direction: column; }
  .nh-catalog { padding: 44px 0 40px; }
  .nh-catalog__title { font-size: 28px; }
  .nh-tabs { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .nh-tab { flex: 0 0 auto; padding: 10px 14px; font-size: 14px; }
  .nh-panel,
  .nh-panel--4 { grid-template-columns: 1fr; gap: 10px; }
  .nh-service { height: 150px; }
}

/* ---------- Блок консультации: короткая форма в одну строку ---------- */
.nh-consult .consultation-form-wrapper { padding: 40px !important; }
.nh-consult .rt_form ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nh-consult .rt_form li { margin: 0; }
.nh-consult .rt_form li.form-input { flex: 1 1 200px; }
.nh-consult .rt_form li.submit-button { flex: 0 0 auto; position: relative; }
.nh-consult .wpcf7-form input[type="text"],
.nh-consult .wpcf7-form input[type="tel"] {
  height: 54px;
  margin-bottom: 0 !important;
}
.nh-consult .wpcf7-form input[type="submit"] {
  height: 54px;
  width: auto !important;
  padding: 0 32px !important;
  border-radius: 8px !important;
  background: var(--nh-red) !important;
  text-transform: none !important;
  box-shadow: 0 8px 24px rgba(200, 32, 43, .35);
}
.nh-consult .wpcf7-form input[type="submit"]:hover { background: var(--nh-red-dark) !important; }
.nh-consult .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #ff8a90; }
.nh-consult .wpcf7-spinner { position: absolute; right: -40px; top: 15px; margin: 0; }
@media (max-width: 575px) {
  .nh-consult .consultation-form-wrapper { padding: 28px 20px !important; }
  .nh-consult .rt_form li.submit-button { flex-basis: 100%; }
  .nh-consult .wpcf7-form input[type="submit"] { width: 100% !important; }
  .nh-consult .wpcf7-spinner { right: 50%; top: 64px; }
}
.nh-consult .consultation-form-wrapper p a[href="/privacy/"] { color: #fff !important; }

/* ---------- Лицензии и допуски ---------- */
.nh-licenses {
  scroll-margin-top: 80px;
  padding: 56px 0 64px;
  background: #fff;
}
.nh-licenses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.nh-license {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--nh-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 34, 58, .06);
}
.nh-license__doc {
  position: relative;
  display: block;
  height: 260px;
  padding: 20px 20px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(200, 32, 43, .25), transparent 55%),
    linear-gradient(135deg, var(--nh-navy) 0%, var(--nh-navy-2) 100%);
}
.nh-license__doc img {
  display: block;
  width: 78%;
  margin: 0 auto;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .4s;
}
.nh-license__doc:hover img { transform: translateY(-6px); }
.nh-license__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--nh-text);
  font-size: 13px;
  font-weight: 500;
  transition: background .2s;
}
.nh-license__doc:hover .nh-license__zoom { background: var(--nh-red); color: #fff; }
.nh-license__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 24px;
}
.nh-license__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--nh-text);
}
.nh-license__title i { color: var(--nh-red); }
.nh-license__num {
  font-size: 14px;
  font-weight: 600;
  color: var(--nh-text);
}
.nh-license__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--nh-muted);
}
@media (max-width: 991px) {
  .nh-licenses__grid { grid-template-columns: 1fr; max-width: 520px; }
  .nh-license__doc { height: 220px; }
}

/* ---------- Просмотр документов ---------- */
.nh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
  background: rgba(8, 14, 26, .92);
}
.nh-lightbox[hidden] { display: none; }
.nh-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
  max-height: 100%;
}
.nh-lightbox__img {
  max-width: min(820px, 80vw);
  max-height: calc(100vh - 100px);
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.nh-lightbox__caption {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  text-align: center;
}
.nh-lightbox__nav,
.nh-lightbox__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
}
.nh-lightbox__nav:hover,
.nh-lightbox__close:hover { background: var(--nh-red); }
.nh-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 30px;
  line-height: 1;
}
@media (max-width: 575px) {
  .nh-lightbox { padding: 64px 8px 16px; flex-wrap: wrap; align-content: center; }
  .nh-lightbox__figure { order: -1; flex-basis: 100%; }
  .nh-lightbox__img { max-width: 100%; max-height: calc(100vh - 200px); }
}

/* ---------- Какую задачу нужно решить ---------- */
.nh-tasks {
  scroll-margin-top: 80px;
  padding: 16px 0 64px;
  background: #fff;
}
.nh-tasks__head { margin-bottom: 24px; }
.nh-tasks__sub {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--nh-muted);
}
.nh-tasks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.nh-task {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--nh-line);
  border-radius: 12px;
  background: #f7f8fa;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.nh-task:hover {
  border-color: rgba(200, 32, 43, .4);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 34, 58, .08);
}
.nh-task__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--nh-red);
}
.nh-task__title {
  margin: 8px 0 10px;
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nh-text);
  text-transform: none;
}
.nh-task__text {
  flex: 1;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--nh-muted);
}
.nh-task__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.nh-task__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nh-red) !important;
  text-decoration: none !important;
}
.nh-task__links a i { font-size: 11px; transition: transform .2s; }
.nh-task__links a:hover i { transform: translateX(3px); }

.nh-tasks__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 26px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nh-navy) 0%, var(--nh-navy-2) 100%);
}
.nh-tasks__cta-title {
  margin: 0 0 4px;
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.nh-tasks__cta-text {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .75);
}
@media (max-width: 991px) {
  .nh-tasks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .nh-tasks__grid { grid-template-columns: 1fr; gap: 10px; }
  .nh-task { padding: 18px; }
  .nh-tasks__cta { flex-direction: column; align-items: stretch; padding: 22px 20px; }
}
@media (max-width: 575px) {
  .nh-catalog__head { flex-wrap: wrap; gap: 6px 16px; }
}

/* ---------- Калькулятор стоимости ---------- */
.nh-calc {
  scroll-margin-top: 80px;
  padding: 64px 0;
  background: #f4f5f8;
}
.nh-calc__head { margin-bottom: 24px; }
.nh-calc__box {
  position: relative;
  scroll-margin-top: 96px;
  padding: 32px;
  border: 1px solid var(--nh-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(18, 34, 58, .06);
}
.nh-calc__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.nh-calc__steps {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.nh-calc__steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--nh-line);
  font-size: 15px;
  font-weight: 600;
  color: var(--nh-muted);
  transition: border-color .3s, color .3s;
}
.nh-calc__steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nh-line);
  font-size: 13px;
  color: var(--nh-muted);
  transition: background .3s, color .3s;
}
.nh-calc__steps li.is-active,
.nh-calc__steps li.is-done { border-color: var(--nh-red); color: var(--nh-text); }
.nh-calc__steps li.is-active span,
.nh-calc__steps li.is-done span { background: var(--nh-red); color: #fff; }

.nh-calc__q {
  margin: 0 0 12px;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--nh-text);
}
.nh-calc__q:not(:first-child) { margin-top: 24px; }
.nh-calc__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nh-calc__options--services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.nh-opt { position: relative; margin: 0; cursor: pointer; }
.nh-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nh-opt__box {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--nh-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--nh-text);
  transition: border-color .2s, background .2s, color .2s;
}
.nh-opt:hover .nh-opt__box { border-color: rgba(200, 32, 43, .5); }
.nh-opt input:checked + .nh-opt__box {
  border-color: var(--nh-red);
  background: var(--nh-red);
  color: #fff;
}
.nh-opt input:focus-visible + .nh-opt__box { outline: 2px solid var(--nh-red); outline-offset: 2px; }
.nh-opt--card .nh-opt__box {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  width: 100%;
  height: 100%;
  padding: 18px;
  border-radius: 12px;
  background: #f7f8fa;
}
.nh-opt--card .nh-opt__box i {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200, 32, 43, .08);
  font-size: 18px;
  color: var(--nh-red);
}
.nh-opt__title { font-size: 16px; font-weight: 700; }
.nh-opt__hint { font-size: 13px; font-weight: 400; color: var(--nh-muted); }
.nh-opt--card input:checked + .nh-opt__box {
  border-color: var(--nh-red);
  background: #fff;
  color: var(--nh-text);
  box-shadow: 0 0 0 1px var(--nh-red);
}
.nh-opt--card input:checked + .nh-opt__box i { background: var(--nh-red); color: #fff; }

.nh-calc__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  font-size: 15px;
  color: var(--nh-text);
  cursor: pointer;
}
.nh-calc__check input { width: 18px; height: 18px; accent-color: var(--nh-red); }

.nh-calc__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--nh-line);
}
.nh-calc__nav .nh-calc__next { margin-left: auto; border: 0; cursor: pointer; }
.nh-calc__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--nh-muted);
  cursor: pointer;
}
.nh-calc__back:hover { color: var(--nh-text); }
.nh-calc__back[hidden], .nh-calc__next[hidden] { display: none; }
.nh-calc__error { margin: 0; font-size: 14px; color: var(--nh-red); }

.nh-calc__result {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}
.nh-calc__summary {
  padding: 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nh-navy) 0%, var(--nh-navy-2) 100%);
  color: #fff;
}
.nh-calc__result-label { margin: 0 0 6px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.nh-calc__price {
  margin: 0 0 18px;
  font-family: "Roboto", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.nh-calc__price.is-individual { font-size: 30px; }
.nh-calc__params {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.nh-calc__params li {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 13px;
}
.nh-calc__note { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .55); }
.nh-calc__lead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}
.nh-calc__lead-title { margin: 0; font-family: "Roboto", sans-serif; font-size: 20px; font-weight: 700; color: var(--nh-text); }
.nh-calc__lead-text { margin: 0 0 6px; font-size: 14px; color: var(--nh-muted); }
.nh-calc__input {
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--nh-line);
  border-radius: 8px;
  font-size: 16px;
  color: var(--nh-text);
}
.nh-calc__input:focus { outline: none; border-color: var(--nh-red); }
.nh-calc__submit { width: 100%; border: 0; cursor: pointer; }
.nh-calc__submit:disabled { opacity: .6; cursor: default; }
.nh-calc__msg { margin: 0; font-size: 14px; color: var(--nh-muted); }
.nh-calc__msg:empty { display: none; }
.nh-calc__msg.is-ok { color: #1e8e4e; font-weight: 600; }
.nh-calc__msg.is-error { color: var(--nh-red); }
.nh-calc__policy { margin: 0; font-size: 12px; color: var(--nh-muted); }
.nh-calc__policy a { color: var(--nh-muted) !important; text-decoration: underline; }

@media (max-width: 991px) {
  .nh-calc__options--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nh-calc__result { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .nh-calc { padding: 44px 0; }
  .nh-calc__box { padding: 20px 16px; border-radius: 12px; }
  .nh-calc__steps li { font-size: 13px; gap: 6px; }
  .nh-calc__options--services { grid-template-columns: 1fr; gap: 8px; }
  .nh-opt--card .nh-opt__box { padding: 14px; }
  .nh-opt__box { padding: 9px 13px; font-size: 13px; }
  .nh-calc__summary { padding: 22px 18px; }
  .nh-calc__price { font-size: 34px; }
  .nh-calc__price.is-individual { font-size: 24px; }
  .nh-calc__nav { flex-wrap: wrap; }
  .nh-calc__error { order: -1; flex-basis: 100%; }
}

/* ---------- Первый экран внутренних страниц (/services/) ---------- */
.nh-hero--page { padding: 32px 0 64px; }
.nh-breadcrumbs {
  margin-bottom: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}
.nh-breadcrumbs a { color: rgba(255, 255, 255, .8) !important; text-decoration: none !important; }
.nh-breadcrumbs a:hover { color: #fff !important; }
.nh-breadcrumbs .breadcrumb_last { color: rgba(255, 255, 255, .6); }
.nh-hero--page .nh-hero__title { font-size: 46px; }
.nh-hero--page .nh-hero__lead { margin-bottom: 26px; }

.nh-scenarios {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nh-scenario {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}
.nh-scenario:first-child {
  border-color: transparent;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.nh-scenario__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  font-size: 20px;
  color: #fff;
}
.nh-scenario:first-child .nh-scenario__icon { background: rgba(200, 32, 43, .1); color: var(--nh-red); }
.nh-scenario__title {
  margin: 0 0 6px;
  font-family: "Roboto", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}
.nh-scenario__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
}
.nh-scenario:first-child .nh-scenario__title { color: var(--nh-text); }
.nh-scenario:first-child .nh-scenario__text { color: var(--nh-muted); }
.nh-scenario__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}
.nh-scenario__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--nh-red) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.nh-scenario__link--light { color: #fff !important; }
.nh-scenario__link:hover { opacity: .8; }
.nh-scenario .nh-btn--ghost { box-shadow: none; }

/* якорь каталога под закреплённой шапкой */
#services-list { scroll-margin-top: 90px; }

@media (max-width: 1199px) {
  .nh-hero--page .nh-hero__title { font-size: 40px; }
}
@media (max-width: 575px) {
  .nh-hero--page { padding: 20px 0 44px; }
  .nh-breadcrumbs { margin-bottom: 18px; font-size: 13px; }
  .nh-hero--page .nh-hero__title { font-size: 30px; }
  .nh-scenario { flex-direction: column; gap: 12px; padding: 20px; }
  .nh-scenario__actions .nh-btn { width: 100%; }
}

/* ---------- Каталог по отделам (/services/) ---------- */
.nh-depts {
  scroll-margin-top: 80px;
  padding: 64px 0;
  background: #f4f5f8;
}
.nh-depts__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.nh-dept {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--nh-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 34, 58, .05);
}
.nh-dept__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.nh-dept__title {
  margin: 0 0 6px;
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--nh-text);
  text-transform: none;
}
.nh-dept__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--nh-muted);
}
.nh-dept__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(200, 32, 43, .08);
  font-size: 22px;
  color: var(--nh-red);
}
.nh-dept__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nh-dept__list > li { border-top: 1px solid var(--nh-line); }
.nh-dept__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--nh-text) !important;
  text-decoration: none !important;
  transition: color .2s;
}
.nh-dept__link > span:first-child { flex: 1; }
.nh-dept__link i {
  font-size: 11px;
  color: #b4bac6;
  transition: transform .2s, color .2s;
}
.nh-dept__link:hover { color: var(--nh-red) !important; }
.nh-dept__link:hover i { color: var(--nh-red); transform: translateX(3px); }
.nh-dept__price {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f3f6;
  font-size: 13px;
  font-weight: 600;
  color: var(--nh-text);
  white-space: nowrap;
}
.nh-dept__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -4px 0 14px;
}
.nh-dept__sub-label {
  margin-right: 2px;
  padding: 4px 0;
  font-size: 13px;
  color: var(--nh-muted);
}
.nh-dept__sub a {
  padding: 4px 10px;
  border: 1px solid var(--nh-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--nh-text) !important;
  text-decoration: none !important;
  transition: border-color .2s, color .2s;
}
.nh-dept__sub a:hover { border-color: var(--nh-red); color: var(--nh-red) !important; }

.nh-dept--cta {
  align-items: flex-start;
  justify-content: center;
  border: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(200, 32, 43, .3), transparent 50%),
    linear-gradient(135deg, var(--nh-navy) 0%, var(--nh-navy-2) 100%);
}
.nh-dept--cta .nh-dept__icon { margin-bottom: 18px; background: rgba(255, 255, 255, .1); color: #fff; }
.nh-dept--cta .nh-dept__title { color: #fff; }
.nh-dept--cta .nh-dept__text { margin-bottom: 22px; color: rgba(255, 255, 255, .75); }

@media (max-width: 991px) {
  .nh-depts__grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .nh-depts { padding: 44px 0; }
  .nh-dept { padding: 20px; }
  .nh-dept__title { font-size: 19px; }
  .nh-dept__icon { width: 46px; height: 46px; font-size: 18px; }
  .nh-dept__link { flex-wrap: wrap; row-gap: 4px; }
  .nh-dept--cta .nh-btn { width: 100%; }
}

/* ---------- Липкая навигация по странице (/services/) ---------- */
.nh-pagenav {
  position: sticky;
  top: 76px;
  z-index: 990;
  background: #fff;
  border-bottom: 1px solid var(--nh-line);
  transition: box-shadow .2s;
}
.nh-pagenav.is-stuck { box-shadow: 0 6px 18px rgba(18, 34, 58, .08); }
.nh-pagenav__list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.nh-pagenav__list::-webkit-scrollbar { display: none; }
.nh-pagenav__list li { flex-shrink: 0; }
.nh-pagenav__list a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nh-text) !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nh-pagenav__list a:hover { background: #f1f3f6; }
.nh-pagenav__list a.is-active {
  background: var(--nh-red);
  color: #fff !important;
}
/* при переходе по ссылке с якорем — с учётом шапки и навигации */
.nh-dept, #objects, #prices, #steps, #projects, #question { scroll-margin-top: 150px; }

@media (max-width: 1199px) {
  .nh-pagenav { top: 68px; }
}
@media (max-width: 575px) {
  .nh-pagenav__list { padding: 8px 0; }
  .nh-pagenav__list a { padding: 7px 12px; font-size: 13px; }
}

/* ---------- Цены карточками (/services/) ---------- */
.nh-prices {
  padding: 64px 0;
  background: #fff;
}
.nh-prices__group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 16px;
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--nh-text);
  text-transform: none;
}
.nh-prices__group span {
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f3f6;
  font-size: 13px;
  font-weight: 600;
  color: var(--nh-muted);
}
.nh-prices__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.nh-price {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--nh-line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.nh-price:hover {
  border-color: rgba(200, 32, 43, .35);
  box-shadow: 0 12px 30px rgba(18, 34, 58, .07);
}
.nh-price__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: #f1f3f6;
  font-size: 17px;
  color: var(--nh-text);
}
.nh-price__title {
  margin: 0 0 6px;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nh-text);
  text-transform: none;
}
.nh-price__title a { color: inherit !important; text-decoration: none !important; }
.nh-price__title a:hover { color: var(--nh-red) !important; }
.nh-price__desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--nh-muted);
}
.nh-price__cost {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding-top: 14px;
  border-top: 1px solid var(--nh-line);
}
.nh-price__cost strong {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--nh-text);
}
.nh-price__cost span { font-size: 13px; color: var(--nh-muted); }

.nh-price__details { margin-top: 12px; }
.nh-price__details summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nh-red);
  cursor: pointer;
  list-style: none;
}
.nh-price__details summary::-webkit-details-marker { display: none; }
.nh-price__details summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.nh-price__details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.nh-price__details summary span { font-weight: 400; color: var(--nh-muted); }
.nh-price__details ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.nh-price__details li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px dashed var(--nh-line);
  font-size: 13px;
  line-height: 1.4;
  color: var(--nh-text);
}
.nh-price__details li b { white-space: nowrap; }

.nh-price__btn {
  margin-top: 16px;
  background: #f1f3f6;
  color: var(--nh-text) !important;
}
.nh-price__btn:hover { background: var(--nh-red); color: #fff !important; }
.nh-prices__note {
  margin: 28px 0 0;
  font-size: 12px;
  color: var(--nh-muted);
}

@media (max-width: 991px) {
  .nh-prices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .nh-prices { padding: 44px 0; }
  .nh-prices__grid { grid-template-columns: 1fr; gap: 10px; }
  .nh-price { padding: 18px; }
}

/* ---------- Работаем с объектами (/services/) ---------- */
.nh-objects {
  padding: 64px 0;
  background: #fff;
}
.nh-objects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.nh-object {
  padding: 22px;
  border: 1px solid var(--nh-line);
  border-radius: 14px;
  background: #f7f8fa;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.nh-object:hover {
  border-color: rgba(200, 32, 43, .35);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 34, 58, .07);
}
.nh-object__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.nh-object__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--nh-navy);
  font-size: 19px;
  color: #fff;
}
.nh-object__title {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nh-text);
  text-transform: none;
}
.nh-object__links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nh-object__links li + li { border-top: 1px solid var(--nh-line); }
.nh-object__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--nh-text) !important;
  text-decoration: none !important;
}
.nh-object__links a i { font-size: 11px; color: #b4bac6; transition: transform .2s, color .2s; }
.nh-object__links a:hover { color: var(--nh-red) !important; }
.nh-object__links a:hover i { color: var(--nh-red); transform: translateX(3px); }

/* ---------- Как проходит работа (/services/) ---------- */
.nh-steps {
  padding: 24px 0 64px;
  background: #fff;
}
.nh-steps__box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(200, 32, 43, .28), transparent 45%),
    linear-gradient(135deg, var(--nh-navy) 0%, var(--nh-navy-2) 100%);
  color: #fff;
}
.nh-steps__title {
  margin: 0 0 10px;
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-transform: none;
}
.nh-steps__title::before, .nh-steps__title::after { display: none !important; }
.nh-steps__intro .nh-steps__title { flex-basis: 100%; margin: 0; }
.nh-steps__intro .nh-steps__text { flex: 1 1 300px; }
.nh-steps__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}
.nh-steps__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
}
.nh-steps__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.nh-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 2px solid rgba(255, 255, 255, .2);
}
.nh-step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--nh-red);
}
.nh-step__num {
  font-family: "Roboto", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .35);
}
.nh-step__title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.nh-step__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}

@media (max-width: 991px) {
  .nh-objects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nh-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
}
@media (max-width: 575px) {
  .nh-objects { padding: 44px 0; }
  .nh-objects__grid { grid-template-columns: 1fr; gap: 10px; }
  .nh-object { padding: 18px; }
  .nh-steps { padding: 8px 0 44px; }
  .nh-steps__box { padding: 26px 20px; border-radius: 14px; }
  .nh-steps__title { font-size: 26px; }
  .nh-steps__list { grid-template-columns: 1fr; }
  .nh-step { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
  .nh-step__num { font-size: 24px; }
  .nh-step__text { flex-basis: 100%; }
  .nh-steps__intro .nh-btn { width: 100%; }
}

/* ---------- Страница услуги: стоимость ---------- */
.nh-sprice {
  scroll-margin-top: 90px;
  padding: 64px 0;
  background: #f4f5f8;
}
.nh-sprice__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.nh-sprice__tariffs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.nh-sprice__tariffs .nh-price__title { font-size: 18px; }
.nh-sprice__tariffs .nh-price__cost { margin-top: 8px; }
.nh-sprice__par { margin: 12px 0 0; }
.nh-sprice__source { margin: 14px 0 0; font-size: 13px; color: var(--nh-muted); }
.nh-sprice__source a { color: var(--nh-red) !important; }
.nh-sprice__individual {
  padding: 32px;
  border: 1px solid var(--nh-line);
  border-radius: 14px;
  background: #fff;
}
.nh-sprice__big {
  margin: 0 0 10px;
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--nh-text);
}
.nh-sprice__individual p:not(.nh-sprice__big) { margin: 0; font-size: 15px; line-height: 1.6; color: var(--nh-muted); }
.nh-sprice__side {
  position: sticky;
  top: 96px;
  padding: 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--nh-navy) 0%, var(--nh-navy-2) 100%);
  color: #fff;
}
.nh-sprice__side-title {
  margin: 0 0 14px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.nh-sprice__factors {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.nh-sprice__factors li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .85);
}
.nh-sprice__factors i { width: 18px; margin-top: 2px; color: #ff8a90; text-align: center; }
.nh-sprice__side .nh-btn { width: 100%; }
.nh-sprice__note { margin: 12px 0 0; font-size: 11px; color: rgba(255, 255, 255, .5); }

/* ---------- Страница услуги: вопросы и ответы ---------- */
.nh-faq {
  scroll-margin-top: 90px;
  padding: 64px 0;
  background: #fff;
}
.nh-faq__layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.nh-faq__intro { position: sticky; top: 96px; }
.nh-faq__intro .nh-tasks__sub { margin-bottom: 22px; }
.nh-faq__expert {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 14px;
  border-radius: 12px;
  background: #f4f5f8;
}
.nh-faq__expert img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.nh-faq__expert-name { margin: 0; font-weight: 700; color: var(--nh-text); }
.nh-faq__expert-role { margin: 2px 0 0; font-size: 13px; color: var(--nh-muted); }
.nh-faq__item {
  border: 1px solid var(--nh-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.nh-faq__item + .nh-faq__item { margin-top: 10px; }
.nh-faq__item[open] { border-color: rgba(200, 32, 43, .35); box-shadow: 0 10px 26px rgba(18, 34, 58, .06); }
.nh-faq__item summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--nh-text);
  cursor: pointer;
  list-style: none;
}
.nh-faq__item summary::-webkit-details-marker { display: none; }
.nh-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: #f1f3f6;
  font-size: 18px;
  font-weight: 400;
  color: var(--nh-text);
  transition: transform .2s, background .2s, color .2s;
}
.nh-faq__item[open] summary::after { transform: rotate(45deg); background: var(--nh-red); color: #fff; }
.nh-faq__answer {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #3a4252;
}
.nh-faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Страница услуги: благодарственные письма ---------- */
.nh-letters {
  scroll-margin-top: 90px;
  padding: 64px 0;
  background: #f4f5f8;
}
.nh-letters__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.nh-letter { margin: 0; }
.nh-letter__scan {
  position: relative;
  display: block;
  height: 280px;
  padding: 16px 16px 0;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--nh-navy) 0%, var(--nh-navy-2) 100%);
}
.nh-letter__scan img {
  display: block;
  width: 100%;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .4s;
}
.nh-letter__scan:hover img { transform: translateY(-6px); }
.nh-letter__scan:hover .nh-license__zoom { background: var(--nh-red); color: #fff; }
.nh-letter figcaption { display: flex; flex-direction: column; gap: 4px; padding: 12px 4px 0; }
.nh-letter__company { font-weight: 700; color: var(--nh-text); }
.nh-letter__quote { font-size: 13px; line-height: 1.5; color: var(--nh-muted); }

/* ---------- Страница услуги: связанные услуги ---------- */
.nh-related {
  padding: 64px 0;
  background: #fff;
}
.nh-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.nh-related__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--nh-line);
  border-radius: 14px;
  background: #f7f8fa;
  text-decoration: none !important;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.nh-related__card:hover {
  border-color: rgba(200, 32, 43, .35);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 34, 58, .07);
}
.nh-related__title {
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--nh-text);
}
.nh-related__desc { flex: 1; font-size: 14px; line-height: 1.5; color: var(--nh-muted); }
.nh-related__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nh-red);
}
.nh-related__more i { font-size: 11px; transition: transform .2s; }
.nh-related__card:hover .nh-related__more i { transform: translateX(3px); }

@media (max-width: 1199px) {
  .nh-letters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .nh-sprice__layout, .nh-faq__layout { grid-template-columns: 1fr; }
  .nh-sprice__side, .nh-faq__intro { position: static; }
  .nh-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nh-letters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .nh-sprice, .nh-faq, .nh-letters, .nh-related { padding: 44px 0; }
  .nh-sprice__tariffs, .nh-related__grid { grid-template-columns: 1fr; }
  .nh-sprice__individual { padding: 22px; }
  .nh-sprice__big { font-size: 22px; }
  .nh-faq__item summary { padding: 16px 50px 16px 16px; font-size: 15px; }
  .nh-faq__answer { padding: 0 16px 16px; }
  .nh-letter__scan { height: 220px; }
}
.nh-license__check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nh-red) !important;
  text-decoration: none !important;
}
.nh-license__check i { font-size: 11px; }
.nh-license__check:hover { text-decoration: underline !important; }
.nh-nowrap { white-space: nowrap; }
