/* ==========================================================================
   EVRAZ STEEL BOX — стили по макету Figma (figma.nm-css)
   Основа: flexbox + grid
   ========================================================================== */

:root {
  --color-bg: #F9F9F9;
  --color-white: #FFFFFF;
  --color-text: #2C2C2C;
  --color-text-2: #424242;
  --color-text-3: #616161;
  --color-muted: #999999;
  --color-border: #D9D9D9;
  --color-orange: #FF6600;
  --color-orange-light: #FEF4EC;
  --color-purple: #722082;
  --color-purple-light: #A16AAC;
  --color-purple-bg: #F6F0F7;
  --color-purple-bg-1: #B88FC0;
  /* EvrazSans: Regular 400 / Medium 500 / Bold 700 — см. /boxexpress/css/EvrazSans.nm-css */
  --font: EvrazSans, system-ui, sans-serif;
  --evraz-weight-regular: 400;
  --evraz-weight-medium: 500;
  --evraz-weight-bold: 700;
  --container: 1330px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: var(--evraz-weight-regular);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 1%;
  color: var(--color-text);
  background: var(--color-bg);
}

button,
input,
textarea,
select {
  font-family: var(--font);
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
sup {
  font-size: 0.5em;
}
/* Сброс глобальных h1–h4/p из CSS шаблона Bitrix (text-align:center, uppercase и т.п.) */
h1,
h2,
h3,
h4,
p,
blockquote {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-align: left;
  text-transform: none;
}

.nm-container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Типографика секций
   -------------------------------------------------------------------------- */

.nm-section-title {
  font-family: var(--font);
  font-weight: var(--evraz-weight-medium);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 1%;
  color: var(--color-text);
  text-align: left;
  text-transform: none;
}

.nm-section-desc {
  font-size: 22px;
  line-height: 1.45;
  color: var(--color-text);
  max-width: 80%;
}

.nm-section-footer {
  display: flex;
  justify-content: center;
  /* margin-top: 40px;*/
}

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

.nm-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 8px 24px;
  min-height: 40px;
  font-family: var(--font);
  font-weight: var(--evraz-weight-regular);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1%;
  border: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}

.nm-btn--orange {
  background: var(--color-orange);
  color: var(--color-white);
}

.nm-btn--orange:hover {
  background: #e05a00;
}

.nm-btn--outline {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-2);
}

.nm-btn--outline:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.nm-btn--lg {
  min-height: 60px;
  padding: 10px 40px;
}

.nm-btn--330 {
  min-height: 60px;
  min-width: 330px;
}

.nm-btn--300 {
  height: 60px;
  width: 300px;
}

/* --------------------------------------------------------------------------
   Стрелки слайдеров
   -------------------------------------------------------------------------- */

.nm-slider-arrows {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nm-slider-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-purple);
  cursor: pointer;
  transition: border-color .2s, color .2s, opacity .2s;
}

.nm-slider-arrow:hover {
  border-color: var(--color-purple);
}

.nm-slider-arrow:disabled {
  opacity: .4;
  cursor: default;
  color: var(--color-muted);
}

.nm-slider-arrow:disabled:hover {
  border-color: var(--color-border);
}

.nm-slider-arrow--light {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.nm-slider-arrow--light.nm-slider-arrow--filled {
  background: var(--color-white);
  color: var(--color-purple);
}

.nm-slider-arrow--light:hover {
  border-color: var(--color-white);
  opacity: .85;
}

/* --------------------------------------------------------------------------
   ШАПКА
   -------------------------------------------------------------------------- */

.nm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.nm-header__inner {
  display: flex;
  align-items: center;
  gap: 43px;
  min-height: 127px;
  padding-top: 25px;
  padding-bottom: 30px;
}

.nm-header__logo,
.nm-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nm-logo-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 34px;
  font-weight: var(--evraz-weight-bold);
}

.nm-logo-mark--light {
  background: var(--color-white);
  color: var(--color-orange);
}

.nm-logo-text {
  font-size: 15px;
  font-weight: var(--evraz-weight-bold);
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.nm-header__center {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 auto;
}

.nm-header__nav,
.nm-header__subnav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}

.nm-header__nav-link {
  font-size: 16px;
  color: var(--color-text-2);
  transition: color .2s;
}

.nm-header__nav-link:hover,
.nm-header__nav-link--active {
  color: var(--color-orange);
}

.nm-header__subnav-link {
  font-size: 18px;
  color: var(--color-text);
  transition: color .2s;
  white-space: nowrap;
}

.nm-header__subnav-link:hover {
  color: var(--color-orange);
}

.nm-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex: none;
}

.nm-header__contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nm-header__phone {
  color: var(--color-text);
}

.nm-header__email {
  color: var(--color-orange);
}

.nm-header__burger {
  /*display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;*/
}

.nm-header__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-orange);
}

.nm-header__callback {
  padding: 11.5px 15.5px 13.5px 15.5px;
}

/* --------------------------------------------------------------------------
   ГЛАВНЫЙ БАННЕР (слайдер)
   -------------------------------------------------------------------------- */

.nm-hero {
  position: relative;
}

.nm-hero__slider {
  position: relative;
  overflow: hidden;
}

.nm-hero__track {
  display: flex;
  transition: transform .6s ease;
}

.nm-hero__slide {
  flex: 0 0 100%;
  min-height: 720px;
  display: flex;
  align-items: stretch;
  background-size: cover;
  background-position: center;

  transition: opacity .6s ease;
  background-blend-mode: multiply;
  background-color: rgba(44, 44, 44, .35);
}



.nm-hero__slide1 {
  background-image: url('images/sl_1.webp');
  /* у sl_1 более «высокий» кадр — смещаем, чтобы здание не обрезалось */
  background-position: center 40%;
}

.nm-hero__slide2 {
  background-image: url('images/sl_2.webp');
}

.nm-hero__slide3 {
  background-image: url('images/sl_3.webp');
}

.nm-hero__content {
  display: flex;
  align-items: flex-start;
  padding-top: 91px;
}

.nm-hero__text {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 768px;
}

.nm-text-primary {
  color: #FF6600;
}

.nm-hero__rotator {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  transition: width 0.4s ease;
}

.nm-hero__rotator-word {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Уходит вниз */
.nm-hero__rotator-word.nm-is-out {
  opacity: 0;
  transform: translateY(110%);
}

/* Старт появления сверху (без transition — мгновенно) */
.nm-hero__rotator-word.nm-is-prepare {
  transition: none;
  opacity: 0;
  transform: translateY(-110%);
}

/* Появляется сверху → на место */
.nm-hero__rotator-word.nm-is-in {
  opacity: 0;
  transform: translateY(-110%);
}

@media (prefers-reduced-motion: reduce) {
  .nm-hero__rotator,
  .nm-hero__rotator-word {
    transition: none;
  }

  .nm-hero__rotator-word.nm-is-out,
  .nm-hero__rotator-word.nm-is-prepare,
  .nm-hero__rotator-word.nm-is-in {
    transform: none;
  }
}

.nm-hero__title {
  font-weight: var(--evraz-weight-bold);
  font-size: 40px;
  line-height: 55px;
  letter-spacing: 1%;
  text-transform: uppercase;
  color: var(--color-white);
}

.nm-hero__features {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.nm-hero__feature {
  flex: 0 1;
  padding: 8px 16px;
  border-left: 2px solid var(--color-orange);
  font-size: 22px;
  line-height: 28px;
  color: var(--color-white);
}

.nm-hf_240 {
  flex-basis: 240px;
}

.nm-hf_616 {
  flex-basis: 616px;
}

.nm-hero__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.nm-hero__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 27px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nm-hero__progress-line {
  flex: 1 1 0;
  height: 2px;
  padding: 0;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background-color .3s;
}

.nm-hero__progress-line--active {
  background: var(--color-purple);
}

/* --------------------------------------------------------------------------
   ПОДБОРЩИК — быстровозводимые здания (слайдер)
   -------------------------------------------------------------------------- */

.nm-podborshik {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 80px;
}

.nm-podborshik__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.nm-podborshik__panel .nm-btn--outline {
  padding: 14.5px 20.5px;
}

.nm-podborshik__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.nm-podborshik__subtitle {
  font-weight: var(--evraz-weight-medium);
  font-size: 22px;
  line-height: 28px;
}

/* слайдер типовых зданий */

.nm-type-slider {
  position: relative;
}

.nm-type-slider__viewport {
  overflow: hidden;
}

.nm-type-slider__track {
  display: flex;
  gap: 24px;
  transition: transform .5s ease;
}

.nm-type-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 260px;
  width: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: box-shadow .2s;
}

.nm-type-card:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.nm-type-card__img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
}


.nm-type-card__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px;
  font-weight: var(--evraz-weight-medium);
  font-size: 16px;
}

.nm-type-card__arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  color: var(--color-muted);
  transition: background-color .2s, color .2s;
}

.nm-type-card:hover .nm-type-card__arrow {
  background: var(--color-orange);
  color: var(--color-white);
}

.nm-type-slider__prev,
.nm-type-slider__next {
  position: absolute;
  top: 80px;
  z-index: 2;
}

.nm-type-slider__prev {
  left: -24px;
}

/* стрелка «назад» скрыта в начале и появляется после начала прокрутки */
.nm-type-slider__prev:disabled {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.nm-type-slider__next {
  right: -24px;
}

/* нижний ряд подборщика */

.nm-podborshik__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.nm-wide-card {
  display: flex;
  align-items: center;
  min-height: 170px;
  padding-left: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow .2s;
}

.nm-wide-card:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.nm-wide-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 1 1 auto;
  padding: 27.5px 24px 27.5px 0;
}

.nm-wide-card__title {
  font-weight: var(--evraz-weight-medium);
  font-size: 22px;
  line-height: 28px;
  max-width: 375px;
}

.nm-wide-card__img {
  flex: 0 0 250px;
  align-self: stretch;
  background-size: cover;
  background-position: center;
}

.nm-parking-title span {
  display: block;
  /* Превращает строку в блочный элемент и переносит её */
}

.nm-wide-card__body a {
  padding: 14.5px 23px;
}

/* --------------------------------------------------------------------------
   РЕАЛИЗОВАННЫЕ ПРОЕКТЫ (слайдер + фильтр)
   -------------------------------------------------------------------------- */

.nm-projects {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.nm-projects .nm-section-footer {
  margin-top: -32px;
}

.nm-projects__head {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nm-projects__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}


.nm-tabs {
  display: flex;
  gap: 16px;
  padding: 4px;
  flex-wrap: wrap;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}



.nm-tabs__btn {
  padding: 10.5px 24px;
  font-family: var(--font);
  font-weight: var(--evraz-weight-regular);
  font-size: 16px;
  background: var(--color-white);
  border: 0px solid var(--color-border);
  color: var(--color-text-2);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}

.nm-tabs__btn:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.nm-tabs__btn--active,
.nm-tabs__btn--active:hover {
  background: var(--color-purple-light);
  border-color: var(--color-purple-light);
  color: var(--color-white);
}

.nm-projects-slider__viewport {
  overflow: hidden;
}

.nm-projects-slider__track {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  transition: transform .5s ease;
}

.nm-project-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 2 * 32px) / 3);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: box-shadow .2s;
  letter-spacing: 0%;
}

.nm-project-card:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.nm-project-card.nm-is-hidden {
  display: none;
}

.nm-project-card__img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.nm-project-card__slides {
  display: flex;
  height: 100%;
  transition: transform .4s ease;
}

.nm-project-card__slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.nm-project-card__year {
  position: absolute;
  right: 0px;
  top: 0px;
  z-index: 1;
  padding: 4px 12px;
  background: var(--color-purple-bg-1);
  color: var(--color-white);
  font-size: 14px;
  font-weight: var(--evraz-weight-medium);
}

.nm-project-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 24px 24px;
}

.nm-project-card__lines {
  display: flex;
  gap: 4px;
}

.nm-project-card__lines span.nm-is-active {
  background: var(--color-purple);
}

.nm-project-card__lines span {
  flex: 1 1 0;
  height: 1px;
  background: #E0E0E0;
  cursor: pointer;
  transition: background .2s;
}

.nm-project-card__title {
  font-size: 18px;
  font-weight: var(--evraz-weight-regular);
  line-height: 26px;
  height: 52px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  text-overflow: ellipsis;
}

.nm-project-card__city {
  display: flex;
  align-items: center;
  gap: 8px;
  /*color: var(--color-muted);*/
  font-size: 14px;
}

.nm-project-card__city svg {
  display: none;
}

.nm-project-card__city::before {
  content: "";
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  background: url('images/location.svg') no-repeat center / contain;
}

.nm-project-card__specs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--color-purple-bg);
  font-size: 15px;
  line-height: 1;
  flex-wrap: wrap;
  text-align: center;
}



.nm-project-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* всегда место под 2 строки: Проектирование + Монтаж */
  min-height: calc(26px * 2 + 8px);
}

.nm-project-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 26px;
  color: var(--color-muted);
}

.nm-project-card__meta-value {
  color: var(--color-text);
  font-weight: var(--evraz-weight-regular);
}

/* --------------------------------------------------------------------------
   ПРЕИМУЩЕСТВА
   -------------------------------------------------------------------------- */

.nm-advantages {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 80px;
}

.nm-advantages__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nm-advantages__head .nm-section-desc {
  max-width: 977px;
}

.nm-advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.nm-advantage-card {
  display: flex;
  flex-direction: column;
  width: 308px;
  gap: 16px;
  /*background: var(--color-white);*/
  /*border: 1px solid var(--color-border);*/
  padding-bottom: 24px;
}

.nm-advantage-card__img {
  width: 120px;
  height: 120px;
  border-radius: 60px;
  background: var(--color-orange-light);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  flex: none;
}


.nm-advantage-card__title {
  padding: 0 0px;
  font-weight: var(--evraz-weight-medium);
  color: var(--color-orange);
  font-size: 24px;
  text-align: left;
}

.nm-advantage-card__text {
  font-weight: var(--evraz-weight-regular);
  padding: 0 0px;
  font-size: 16px;
  color: var(--color-text-3);
}

/* --------------------------------------------------------------------------
   О КОМПАНИИ
   -------------------------------------------------------------------------- */

.nm-about-company {
  background-color: #FFFFFF;
  padding-top: 80px;
  padding-bottom: 80px;
}

.nm-about {
  background-color: #FFFFFF;
  padding-top: 80px;
  padding-bottom: 80px;
}

.nm-about > .nm-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.nm-about__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nm-about__top .nm-section-desc {
  max-width: 900px;
  font-size: 22px;
}

.nm-about__img {
  display: flex;
  align-items: center;
  /* Выравнивает картинку и блоки статистики по центру высоты */
  gap: 32px;
  /* Отступ между картинкой и блоком статистики */
}

.nm-about__top_img {
  display: flex;
  flex-direction: column;
  gap: 48px;
  /* Отступ между картинкой и блоком статистики */
}

.nm-about__picture {
  flex: 0 0 40%;
  /* Картинка занимает ровно 40% ширины */
  max-width: 100%;
  width: 606px;
  height: 310px;
  object-fit: cover;
  /* Чтобы картинка аккуратно заполняла свою область */
}

.nm-video_container__frame {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #000;
}

.nm-video_container .nm-about__picture {
  position: absolute;
  inset: 0;
  flex: none;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.nm-video-play-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity .2s ease;
}

.nm-video-play-mask__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, background-color .2s ease;
}

.nm-video-play-mask:hover .nm-video-play-mask__btn {
  transform: scale(1.05);
  background: #ff751a;
}

.nm-video-play-mask__icon {
  display: block;
  flex: none;
}

.nm-video-play-mask__icon--pause {
  display: none;
}

.nm-video_container.nm-is-playing .nm-video-play-mask__icon--play {
  display: none;
}

.nm-video_container.nm-is-playing .nm-video-play-mask__icon--pause {
  display: block;
}

.nm-video_container.nm-is-playing .nm-video-play-mask {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) {
  .nm-video_container__frame:hover .nm-video-play-mask,
  .nm-video_container.nm-is-playing .nm-video-play-mask:focus-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .nm-video-play-mask__btn {
    width: 56px;
    height: 56px;
  }

  .nm-video-play-mask__icon {
    width: 22px;
    height: 22px;
  }
}



.nm-about__stats {
  flex: 1;
  /* Статистика занимает все оставшееся место (60%) */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 32px;
  max-width: 665px;
}

.nm-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 8px 24px;
  border-left: 2px solid var(--color-orange);
  /*background: var(--color-white);
  border: 1px solid var(--color-border);*/
}

.nm-stat__value {
  font-family: var(--font);
  font-weight: var(--evraz-weight-medium);
  font-size: 24px;
  line-height: 120%;
  color: var(--color-orange);
}

.nm-stat__value span {
  font-size: 48px;
}

.nm-stat__label {
  margin-top: 0px;
  font-weight: var(--evraz-weight-regular);
  font-size: 16px;
  color: var(--color-text-3);
}

.nm-about__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  padding: 32px;
  background: var(--color-orange-light);
  border-left: 2px solid var(--color-orange);
}

.nm-about__note {
  max-width: 1075px;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
  margin: 0 auto;
}

.nm-about__button {
  width: 300px;
  margin: 0 auto;
  height: 60px;
  font-size: 16px;
  margin-top: -50px;
}

/* --------------------------------------------------------------------------
   СЕТЬ ПАРТНЕРОВ (слайдер)
   -------------------------------------------------------------------------- */

.nm-about-partners {
  background-color: #f9f9f9;
  padding-top: 80px;
  padding-bottom: 80px;
}

.nm-partners {
  display: flex;
  flex-direction: column;
  gap: 48px;

}

.nm-partners__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.nm-partners__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nm-partners__intro .nm-section-desc {
  font-size: 22px;
  max-width: 100%;
}

.nm-partners-slider__viewport {
  overflow: hidden;
}

.nm-partners-slider__track {
  display: flex;
  gap: 32px;
  transition: transform .5s ease;
}

.nm-partner-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 calc((100% - 2 * 32px) / 3);
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: box-shadow .2s;
  letter-spacing: 0%;
}

.nm-partner-card:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.nm-partner-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.nm-partner-name__region {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.nm-partner-card__name {
  font-weight: var(--evraz-weight-regular);
  font-size: 18px;
  line-height: 26px;
  white-space: nowrap;
}

.nm-partner-card__name-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.nm-partner-card__badge {
  flex: none;
  padding: 4px 8px;
  background: var(--color-purple-bg-1);
  color: var(--color-white);
  font-size: 13px;
}

.nm-partner-card__region {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 14px;
}

.nm-partner-card__img {
  flex: none;
  width: 109px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
}

.nm-partner-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nm-partner-card__blockquote {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-direction: column;
  align-items: flex-start;
  border-left: 2px solid var(--color-orange);
  padding-left: 16px;
}

.nm-partner-card__tags .nm-tag {
  padding: 8px;
  text-align: center;
  flex: 1;
  background: var(--color-purple-bg);
  /*border: 1px solid var(--color-border);*/
  font-size: 14px;
  color: var(--color-text-2);
  white-space: nowrap;
  box-sizing: content-box;
}

.nm-partner-card__quote {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted);
}

.nm-partner-card__more {
  color: var(--color-orange);
  text-decoration: underline;
  font-size: 15px;
}

.nm-partner-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  gap: 8px;
  border-top: 1px solid var(--color-border);
}

.nm-partner-card__footer_left {
  display: flex;
  align-items: center;
  margin-top: auto;
  gap: 8px;
}


.nm-partner-card__projects {
  font-weight: var(--evraz-weight-regular);
  font-size: 14px;
}

.nm-partners__cta {
  display: flex;
  flex-direction: column;
  /*justify-content: space-between;*/
  gap: 56px;
  /*margin-top: 24px;*/
  padding: 48px;
  background: var(--color-white);
  background-image: url('images/ispartner.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--color-border);
}

.nm-partners__cta-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nm-partners__cta-text h3 {
  font-weight: var(--evraz-weight-medium);
  font-size: 28px;
}

.nm-partners__cta-text p {
  max-width: 690px;
  font-size: 22px;
  color: var(--color-text-2);
  line-height: 32px;
}

/* --------------------------------------------------------------------------
   БЛОГ
   -------------------------------------------------------------------------- */

.nm-blog {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 80px;
}

.nm-blog__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nm-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.nm-blog-card {
  display: flex;
  flex-direction: column;
  height: 533px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: box-shadow .2s;
  letter-spacing: 0%;
  overflow: hidden;
}

.nm-blog-card:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

.nm-blog-card__img {
  position: relative;
  flex: none;
  height: 253px;
  width: 100%;
  background: var(--card-bg, #ccc);
  background-size: cover;
  background-position: center;
}

.nm-blog-card__tag {
  position: absolute;
  left: 0px;
  top: 0px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--color-white);
}



.nm-blog-card__tag--tech {
  background: #A16AAC;
}

.nm-blog-card__tag--interview {
  background: #D0B5D5;
}

.nm-blog-card__tag--news {
  background: var(--color-orange);
}

.nm-blog-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: none;
  height: 280px;
  padding: 24px;
  padding-bottom: 40px;
  box-sizing: border-box;
}

.nm-blog-card__title {
  flex: none;
  height: 100px;
  max-height: 100px;
  width: 100%;
  max-width: 343px;
  overflow: hidden;
  font-weight: var(--evraz-weight-regular);
  font-size: 22px;
  line-height: 110%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.nm-blog-card__text {
  flex: none;
  margin: 16px 0 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text-3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
}

.nm-blog-card__date {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  font-size: 14px;
  color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   ФОРМА / КОНТАКТЫ
   -------------------------------------------------------------------------- */

.nm-contacts {
  margin-top: 80px;
  padding: 82px 0;
  background: var(--color-white);
}

.nm-contacts__inner {
  display: grid;
  grid-template-columns: 598px 1fr;
  gap: 32px;
  align-items: start;
}

.nm-contacts__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 0;
}

.nm-contacts__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nm-contacts__intro .nm-section-desc {
  max-width: 540px;
  font-size: 20px;
}

.nm-contacts__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nm-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.nm-contact-item__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  background: var(--color-orange-light);
  border-radius: 50%;
}

.nm-contact-item__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 488px;
}

.nm-contact-item__label {
  font-size: 16px;
  color: var(--color-muted);
}

.nm-contact-item__value {
  font-weight: var(--evraz-weight-bold);
  font-size: 18px;
  line-height: 1.35;
  color: var(--color-text);
}

.nm-contact-item__link {
  font-size: 16px;
  color: var(--color-orange);
  text-decoration: underline;
}

/* форма */

.nm-contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.nm-contact-form__title {
  font-weight: var(--evraz-weight-medium);
  font-size: 30px;
}

.nm-contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nm-contact-form__row {
  display: flex;
  gap: 32px;
}

.nm-contact-form__row--split>.nm-field {
  flex: 1 1 0;
}

.nm-field--textarea {
  height: 80px;
  /* Растягиваем на все 80px родительского блока */
  resize: none;
  /* Запрещаем пользователю вручную растягивать поле мышкой за угол */
  border-bottom: none !important;
  /* Убираем нижнюю линию, так как у вас уже есть рамка у родителя contact-form__describe */
}

.nm-field {
  flex: 1 1 auto;
  width: 100%;
  padding: 10px;
  font-family: var(--font);
  font-weight: var(--evraz-weight-regular);
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  outline: none;
  transition: border-color .2s;
}

.nm-field::placeholder {
  color: var(--color-muted);
}

.nm-field:focus {
  border-bottom-color: var(--color-orange);
}

.nm-contact-form__checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nm-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.nm-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nm-check__box {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  background: var(--color-white);
  border: 1px solid var(--color-muted);
  border-radius: 3px;
  position: relative;
  transition: background-color .2s, border-color .2s;
}

.nm-check input:checked+.nm-check__box {
  background: var(--color-orange);
  border-color: var(--color-orange);
}

.nm-check input:checked+.nm-check__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.nm-check__label {
  font-size: 15px;
  line-height: 22px;
  color: #6b6b6b;
}

.nm-check__label a {
  color: var(--color-orange);
  text-decoration: underline;
}

.nm-check__label a:hover {
  color: var(--color-orange);
  text-decoration: none;
}

.nm-contact-form__describe {
  border: 1px solid var(--color-border);
  width: 553px;
  height: 80px;
}

.nm-contact-form__submit {
  width: 300px;
  margin: auto;
}

/* --------------------------------------------------------------------------
   ПОДВАЛ
   -------------------------------------------------------------------------- */

.nm-footer {
  background: #2C2C2C;
  color: var(--color-white);
  padding: 64px 0;
}

.nm-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}

.nm-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.nm-footer__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: var(--evraz-weight-medium);
  color: var(--color-white);
}

.nm-footer__col a {
  color: #cfcfcf;
  transition: color .2s;
}

.nm-footer__col a:hover {
  color: var(--color-orange);
}

.nm-footer__col p {
  color: #cfcfcf;
  line-height: 1.5;
}

.nm-footer__copy {
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */
.nm-mob-version {
  display: none;
}

br.nm-mob-br {
  display: none;
}

.nm-mail-icom {
  width: 20px;
  height: 20px;
}

.nm-project-card__meta-item1 {
  position: relative;
  padding-left: 30px;
}

.nm-project-card__meta-item1::before {
  position: absolute;
  content: "";
  background: url('images/proect-icon.svg');
  background-repeat: no-repeat;
  background-size: cover;
  width: 24px;
  height: 24px;
  top: 0px;
  left: 0px;
}

.nm-project-card__meta-item2 {
  position: relative;
  padding-left: 30px;
}

.nm-project-card__meta-item2::before {
  position: absolute;
  content: "";
  background: url('images/house-icon.svg');
  background-repeat: no-repeat;
  background-size: cover;
  width: 24px;
  height: 24px;
  top: 0px;
  left: 0px;
}

@media (max-width: 1200px) {
  .nm-type-card {
    flex: 0 0 260px;
    width: 260px;
  }

  .nm-project-card,
  .nm-partner-card {
    flex-basis: calc((100% - 32px) / 2);
  }

  .nm-advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nm-blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nm-contacts__inner {
    grid-template-columns: 1fr;
  }

  .nm-header__subnav {
    display: none;
  }
}

@media (max-width: 900px) {
  .nm-hero__title {
    font-size: 32px;
    line-height: 42px;
  }

  .nm-hero .nm-slider-arrows--hero {
    display: none;
  }

  .nm-hero__bottom {
    justify-content: flex-start;
  }

  .nm-hero__track {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    transform: none !important;
    transition: none;
  }

  .nm-hero__track::-webkit-scrollbar {
    display: none;
  }

  .nm-hero__slide {
    scroll-snap-align: start;
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }

  br.nm-mob-br {
    display: revert;
  }

  .nm-type-card {
    flex-basis: calc((100% - 2 * 24px) / 3);
  }

  .nm-type-slider__prev,
  .nm-type-slider__next {
    display: none;
  }

  .nm-type-slider__track {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    transform: none !important;
    transition: none;
    gap: 16px;
    width: 100%;
  }

  .nm-type-slider__track::-webkit-scrollbar {
    display: none;
  }

  .nm-type-slider__track .nm-type-card {
    scroll-snap-align: start;
    flex: 0 0 calc(100% - 120px);
    min-width: calc(100% - 120px);
    max-width: calc(100% - 120px);
  }

  .nm-podborshik__row {
    grid-template-columns: 1fr;
  }

  .nm-advantages__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nm-advantages__grid::-webkit-scrollbar {
    display: none;
  }

  .nm-advantage-card {
    flex: 0 0 calc(100% - 120px);
    width: auto;
    min-width: calc(100% - 120px);
    max-width: calc(100% - 120px);
    scroll-snap-align: start;
    padding-bottom: 0;
  }

  .nm-blog__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nm-blog__grid::-webkit-scrollbar {
    display: none;
  }

  .nm-blog-card {
    flex: 0 0 calc(100% - 64px);
    width: auto;
    min-width: calc(100% - 64px);
    max-width: calc(100% - 64px);
    scroll-snap-align: start;
    height: auto;
    min-height: 0;
  }

  .nm-blog-card__img {
    width: 100%;
    height: 200px;
  }

  .nm-blog-card__body {
    height: auto;
    min-height: 160px;
  }

  .nm-blog-card__title {
    max-width: 100%;
  }

  .nm-about__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nm-about__bottom,
  .nm-partners__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .nm-projects__controls {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .nm-projects__controls .nm-slider-arrows {
    display: none;
  }

  .nm-projects-slider__viewport {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nm-projects-slider__viewport::-webkit-scrollbar {
    display: none;
  }

  .nm-projects-slider__track {
    display: contents;
    transform: none !important;
    transition: none;
  }

  .nm-projects-slider__viewport .nm-project-card {
    scroll-snap-align: start;
    flex: 0 0 calc(100% - 40px);
    min-width: calc(100% - 40px);
    max-width: calc(100% - 40px);
  }

  .nm-partners__head .nm-slider-arrows {
    display: none;
  }

  .nm-partners-slider__viewport {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nm-partners-slider__viewport::-webkit-scrollbar {
    display: none;
  }

  .nm-partners-slider__track {
    display: contents;
    transform: none !important;
    transition: none;
  }

  .nm-partners-slider__viewport .nm-partner-card {
    scroll-snap-align: start;
    flex: 0 0 calc(100% - 64px);
    min-width: calc(100% - 64px);
    max-width: calc(100% - 64px);
  }

  .nm-projects .nm-tabs {
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .nm-projects .nm-tabs::-webkit-scrollbar {
    display: none;
  }

  .nm-projects .nm-tabs__btn {
    flex: none;
    white-space: nowrap;
  }

  .nm-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .nm-header__contacts .nm-header__email {
    display: none;
  }

  .nm-header__nav {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .nm-type-slider__track .nm-type-card {
    flex: 0 0 calc(100% - 120px);
    min-width: calc(100% - 120px);
    max-width: calc(100% - 120px);
  }

  .nm-project-card,
  .nm-partner-card {
    flex-basis: 100%;
  }

  .nm-partners-slider__viewport .nm-partner-card {
    flex: 0 0 calc(100% - 64px);
    min-width: calc(100% - 64px);
    max-width: calc(100% - 64px);
  }

  .nm-about__stats,
  .nm-footer__inner {
    grid-template-columns: 1fr;
  }

  .nm-hero__features {
    flex-direction: column;
  }

  .nm-hero__bottom {
    flex-direction: column;
    align-items: flex-start;
    bottom: 48px;
  }

  .nm-contact-form {
    padding: 24px;
  }

  .nm-contact-form__row--split {
    flex-direction: column;
    gap: 24px;
  }

  .nm-header__inner {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nm-header__right {
    align-items: flex-start;
  }

  .nm-contact-form__describe,
  .nm-btn--330 {
    width: 100%;
  }

  .nm-header__nav,
  .nm-header__callback,
  .nm-icon-man-block {
    display: none;
  }

  .nm-mob-version {
    display: block;
  }

  .nm-header__inner {
    min-height: 60px;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nm-hero__content,
  .nm-podborshik,
  .nm-projects {
    padding: 57px 16px 0px;
  }

  .nm-projects {
    padding-bottom: 64px;
  }

  .nm-advantages {
    padding-top: 64px;
  }

  .nm-about-company {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .nm-hf_240,
  .nm-hf_616 {
    flex-basis: 100%;
  }

  .nm-about__img {
    flex-direction: column;
    align-items: stretch;
  }

  .nm-video_container {
    flex: unset;
    width: 100%;
    max-width: 100%;
  }

  .nm-about__stats {
    flex: none;
    max-width: 100%;
  }

  .nm-podborshik__panel {
    padding: 24px 16px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  }

  .nm-desk-version {
    display: none;
  }

  .nm-mob-version.nm-catalog-but {
    margin-top: 24px;
    text-align: center;
  }

  .nm-type-slider__viewport {
    display: flex;
    flex-direction: column;
  }

  .nm-wide-card {
    flex-direction: column-reverse;
    align-items: flex-start;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  }

  .nm-wide-card--highlight .nm-btn--orange {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text-2);
  }

  .nm-wide-card--highlight .nm-btn--orange:hover {
    background: var(--color-white);
    border-color: var(--color-orange);
    color: var(--color-orange);
  }

  .nm-wide-card__body {
    padding: 16px;
    gap: 24px;
    width: 100%;
  }

  .nm-wide-card__title {
    max-width: 100%;
  }

  .nm-wide-card {
    padding-left: 0px;
  }

  .nm-projects,
  .nm-partners,
  .nm-blog {
    gap: 32px;
  }

  .nm-projects .nm-section-footer {
    margin-top: 8px;
  }

  .nm-about__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .nm-stat {
    padding: 8px 0 8px 8px;
  }

  .nm-stat__value span {
    font-size: 32px;
  }

  .nm-stat__value {
    font-size: 20px;
  }

  .nm-stat__label {
    margin-top: 12px;
  }

  .nm-about > .nm-container {
    gap: 64px;
  }

  .nm-about__button {
    margin-top: -30px;
  }

  .nm-blog__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    grid-template-columns: none;
  }

  .nm-blog__grid::-webkit-scrollbar {
    display: none;
  }

  .nm-blog-card {
    flex: 0 0 calc(100% - 64px);
    width: auto;
    min-width: calc(100% - 64px);
    max-width: calc(100% - 64px);
    scroll-snap-align: start;
    height: auto;
  }

  .nm-blog-card__body {
    height: auto;
    min-height: 160px;
  }

  .nm-advantages__grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    grid-template-columns: none;
  }

  .nm-advantage-card {
    flex: 0 0 calc(100% - 120px);
    width: auto;
    min-width: calc(100% - 120px);
    max-width: calc(100% - 120px);
    padding-bottom: 0;
  }

  .nm-about-partners,
  .nm-blog, .nm-contacts {
    padding-top: 64px;
  }

  .nm-partners__head .nm-slider-arrows,
  .nm-blog-card__text {
    display: none;
  }

  .nm-partners__cta {
    height: 450px;
    background-image: url('images/partner_mobile.png');
    background-position: center;
    padding: 32px 16px 24px;
    gap: 0;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .nm-partners__cta .nm-btn {
    align-self: center;
    width: 326px;
    max-width: 100%;
    min-width: 0;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
  }

  .nm-partners__cta-text h3 {
    font-family: var(--font);
    font-weight: var(--evraz-weight-medium);
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 1%;
    color: var(--color-text);
  }

  .nm-partners__cta-text p {
    font-family: var(--font);
    font-weight: var(--evraz-weight-regular);
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 1%;
    color: var(--color-text);
  }

  .nm-section-desc,
  .nm-blog-card__title {
    font-size: 18px;
    max-width: 100%;
  }

  .nm-blog-card__img {
    width: 100%;
    height: 200px;
  }

  .nm-blog-card__title {
    min-height: 80px;
  }
  .nm-contacts {
    margin-top: 64px;
    padding-bottom: 64px;
  }
  .nm-contacts__info {
    padding-top: 0px;
  }
  .nm-section-title {
    font-size: 28px;
  }
}

@media (max-width: 550px) {

  .nm-btn--lg,
  .nm-wide-card__body a {
    width: 100%;
  }
}


.nm-video_container {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 1 606px;
  width: 100%;
  max-width: 606px;
  height: auto;
  aspect-ratio: 606 / 411;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.nm-about__video {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  object-fit: cover; /* либо contain, если видео нельзя обрезать */
  display: block;
}
.nm-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(26, 26, 26, 0.92);
  padding: 12px 14px;
  box-sizing: border-box;
  gap: 12px;
  border-radius: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .2s ease, visibility .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nm-video-controls {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nm-video_container:hover .nm-video-controls,
  .nm-video_container:focus-within .nm-video-controls,
  .nm-video_container.nm-is-controls-visible .nm-video-controls {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.nm-video-controls-buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 16px;
  color: #fff;
  padding: 0;
  box-sizing: border-box;
}

.nm-control-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nm-control-group__label {
  font-family: var(--font);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}

.nm-speed-control,
.nm-volume-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.nm-control-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.nm-control-chip:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nm-speed-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-align: center;
}

.nm-volume-control {
  padding: 2px 10px 2px 8px;
  gap: 6px;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.nm-volume-control__icon {
  flex: none;
  color: rgba(255, 255, 255, 0.85);
}

.nm-volume-bar,
.nm-seek-bar {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  outline: none;
  cursor: pointer;
  accent-color: var(--color-orange);
}

.nm-seek-bar {
  width: 100%;
  margin: 0;
}

.nm-volume-bar {
  width: 96px;
  margin: 0;
}

.nm-volume-bar::-webkit-slider-thumb,
.nm-seek-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-orange);
  border: 0;
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.nm-volume-bar::-moz-range-thumb,
.nm-seek-bar::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-orange);
  border: 0;
}

.nm-volume-bar::-moz-range-track,
.nm-seek-bar::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.nm-fullscreen-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}

.nm-fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nm-fullscreen-btn__icon--exit {
  display: none;
}

.nm-fullscreen-btn.nm-is-active .nm-fullscreen-btn__icon--enter {
  display: none;
}

.nm-fullscreen-btn.nm-is-active .nm-fullscreen-btn__icon--exit {
  display: block;
}

.nm-video_container:fullscreen,
.nm-video_container:-webkit-full-screen {
  max-width: none;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #000;
  justify-content: center;
}

.nm-video_container:fullscreen .nm-video_container__frame,
.nm-video_container:-webkit-full-screen .nm-video_container__frame {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.nm-video_container:fullscreen .nm-about__picture,
.nm-video_container:-webkit-full-screen .nm-about__picture {
  object-fit: contain;
}

.nm-video_container:fullscreen .nm-video-controls,
.nm-video_container:-webkit-full-screen .nm-video-controls {
  border-radius: 0;
  width: 100%;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nm-video_container:fullscreen .nm-video-controls-buttons,
.nm-video_container:-webkit-full-screen .nm-video-controls-buttons {
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .nm-video_container {
    flex: unset;
  }

  .nm-video-controls {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding: 6px 8px;
    gap: 6px;
  }

  .nm-seek-bar {
    flex: 1 1 auto;
    width: auto;
    min-width: 48px;
  }

  .nm-video-controls-buttons {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    max-width: none;
    gap: 4px;
    margin: 0;
  }

  .nm-control-group__label {
    display: none;
  }

  .nm-control-group {
    gap: 0;
  }

  .nm-control-volume {
    min-width: 0;
  }

  .nm-speed-control,
  .nm-volume-control,
  .nm-fullscreen-btn {
    min-height: 28px;
    border-radius: 4px;
  }

  .nm-speed-control {
    gap: 0;
    padding: 0;
  }

  .nm-volume-control {
    width: 72px;
    max-width: 72px;
    padding: 0 6px 0 4px;
    gap: 4px;
  }

  .nm-volume-bar {
    width: 100%;
    min-width: 0;
  }

  .nm-volume-control__icon {
    width: 14px;
    height: 14px;
  }

  .nm-control-chip {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .nm-speed-value {
    min-width: 26px;
    font-size: 11px;
  }

  .nm-fullscreen-btn {
    width: 28px;
    height: 28px;
    margin-left: 0;
  }

  .nm-volume-bar::-webkit-slider-thumb,
  .nm-seek-bar::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
  }

  .nm-volume-bar::-moz-range-thumb,
  .nm-seek-bar::-moz-range-thumb {
    width: 12px;
    height: 12px;
  }
}

.nm-partner-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.nm-partner-modal[hidden] {
  display: none;
}

.nm-partner-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 44, 0.65);
}

.nm-partner-modal__dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.nm-partner-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 1;
  padding: 0;
  border: 0;
  color: var(--color-text);
  background: transparent;
  font: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.nm-partner-modal__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  letter-spacing: 0%;
}

.nm-partner-modal__content .nm-partner-card__top {
  padding-right: 32px;
}

.nm-partner-modal__blockquote {
  padding-left: 16px;
  border-left: 2px solid var(--color-orange);
}

.nm-partner-modal__quote {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-2);
}

.nm-partner-modal__author {
  margin-top: 16px;
  font-family: var(--font);
  font-weight: var(--evraz-weight-regular);
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0%;
  color: #999999;
}

@media (max-width: 640px) {
  .nm-partner-modal {
    padding: 12px;
  }

  .nm-partner-modal__dialog {
    max-height: calc(100vh - 24px);
    padding: 32px 20px 24px;
  }

  .nm-partner-modal__content .nm-partner-card__top {
    flex-direction: column;
  }

  .nm-partner-modal__content .nm-partner-card__img {
    background-position: left center;
  }
}