/* Green Effect: шапка видна целиком только по hover (от 1000px и шире) */
@media (min-width: 1000px) {
  .header-green-effect {
    border: transparent !important;
  }

  .header-green-effect .header__right {
    border-left: none;
  }

  .header-green-effect .menu,
  .header-green-effect .header-socilas,
  .header-green-effect .language-switcher,
  .header-green-effect .header__right {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .header-green-effect:hover .menu,
  .header-green-effect:hover .header-socilas,
  .header-green-effect:hover .language-switcher,
  .header-green-effect:hover .header__right {
    opacity: 1;
    pointer-events: auto;
  }

  .show-menu .header-green-effect .menu,
  .show-menu .header-green-effect .header-socilas,
  .show-menu .header-green-effect .language-switcher,
  .show-menu .header-green-effect .header__right {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* important: main.js на смене слайда пишет inline background: transparent */
  .header-green-effect:hover {
    background-color: #015689 !important;
  }

  /* На белом слайде ховер возвращает белые элементы поверх синего фона */
  .header-green-effect_on-white:hover {
    border-bottom-color: rgba(255, 255, 255, 0.36);
  }

  .header-green-effect_on-white:hover .logo img,
  .header-green-effect_on-white:hover .logo_mobile img,
  .header-green-effect_on-white:hover .header-socilas__link img,
  .header-green-effect_on-white:hover .language-switcher__current::after {
    filter: none;
  }

  .header-green-effect_on-white:hover .menu__link,
  .header-green-effect_on-white:hover .menu-sub__link,
  .header-green-effect_on-white:hover .language-switcher__current,
  .header-green-effect_on-white:hover .language-switcher__item,
  .header-green-effect_on-white:hover .menu-burger span {
    color: #fff;
  }

  .header-green-effect_on-white:hover .menu__link svg path,
  .header-green-effect_on-white:hover .header-socilas__link path {
    fill: #fff;
  }

  .header-green-effect_on-white:hover .menu-burger>b>b,
  .header-green-effect_on-white:hover .menu-burger>i i {
    background-color: #fff;
  }
}

@media (max-width: 1919px) {
  body:has(.header-green-effect) .home-slider__navigation {
    display: none;
  }
}

.header-green-effect {
  border-bottom: none;
}

.header-green-effect .header__right {
  border-left: none;
}


/* Green Effect: тёмная шапка над блоком .white */
.header-green-effect .logo img,
.header-green-effect .logo_mobile img,
.header-green-effect .menu__link,
.header-green-effect .menu__link svg path,
.header-green-effect .menu-sub__link,
.header-green-effect .header-socilas__link path,
.header-green-effect .header-socilas__link img,
.header-green-effect .language-switcher__current,
.header-green-effect .language-switcher__current::after,
.header-green-effect .language-switcher__item,
.header-green-effect .menu-burger span,
.header-green-effect .menu-burger>b>b,
.header-green-effect .menu-burger>i i {
  transition: color 0.35s ease, fill 0.35s ease, background-color 0.35s ease, filter 0.35s ease, border-color 0.35s ease;
}

.header-green-effect {
  transition: opacity 0.35s ease, visibility 0.35s ease, border-color 0.35s ease;
}

.header-green-effect_on-white .logo img,
.header-green-effect_on-white .logo_mobile img {
  /* белый SVG → #282929 */
  filter: brightness(0) saturate(100%) invert(14%) sepia(6%) saturate(314%) hue-rotate(314deg) brightness(94%) contrast(91%);
}

.header-green-effect_on-white .menu__link,
/* .header-green-effect_on-white .menu-sub__link, */
.header-green-effect_on-white .language-switcher__current,
/* .header-green-effect_on-white .language-switcher__item, */
.header-green-effect_on-white .menu-burger span {
  color: #282929;
}

.header-green-effect_on-white .menu__link svg path,
.header-green-effect_on-white .header-socilas__link path {
  fill: #282929;
}

.header-green-effect_on-white .header-socilas__link img {
  filter: brightness(0) saturate(100%) invert(14%) sepia(6%) saturate(314%) hue-rotate(314deg) brightness(94%) contrast(91%);
}

.header-green-effect_on-white .language-switcher__current::after {
  filter: brightness(0) saturate(100%) invert(14%) sepia(6%) saturate(314%) hue-rotate(314deg) brightness(94%) contrast(91%);
}

.header-green-effect_on-white .menu-burger>b>b,
.header-green-effect_on-white .menu-burger>i i {
  background-color: #282929;
}

body:has(.header-green-effect) .mobile-homeslider-nav {
  display: none;
}

.home-slider__navigation-item span:has(.nexttitle) {
  opacity: 0;
}



/* При открытом меню (.show-menu) тёмную окраску не применяем — оставляем белый */
.show-menu .header-green-effect_on-white {
  border-bottom-color: rgba(255, 255, 255, 0.36);
}

.show-menu .header-green-effect_on-white .logo img,
.show-menu .header-green-effect_on-white .logo_mobile img,
.show-menu .header-green-effect_on-white .header-socilas__link img,
.show-menu .header-green-effect_on-white .language-switcher__current::after {
  filter: none;
}

.show-menu .header-green-effect_on-white .menu__link,
.show-menu .header-green-effect_on-white .menu-sub__link,
.show-menu .header-green-effect_on-white .language-switcher__current,
.show-menu .header-green-effect_on-white .language-switcher__item,
.show-menu .header-green-effect_on-white .menu-burger span {
  color: #fff;
}

.show-menu .header-green-effect_on-white .menu__link svg path,
.show-menu .header-green-effect_on-white .header-socilas__link path {
  fill: #fff;
}

.show-menu .header-green-effect_on-white .menu-burger>b>b,
.show-menu .header-green-effect_on-white .menu-burger>i i {
  background-color: #fff;
}


/* Green Effect: тёмная боковая навигация над блоком .white */
.home-slider__navigation {
  transition: color 0.35s ease;
}

.home-slider__navigation path,
.home-slider__navigation .home-slider__navigation-item-arrow-pulse-circle {
  transition: fill 0.35s ease, stroke 0.35s ease, background-color 0.35s ease;
}

.home-slider__navigation_on-white {
  color: #282929;
}

.home-slider__navigation_on-white path:not([stroke]),
.home-slider__navigation_on-white path:not(.path-line) {
  fill: #282929;
}

.home-slider__navigation_on-white .path-line,
.home-slider__navigation_on-white path[stroke] {
  stroke: #282929;
  fill: none;
}


/* Green Effect: заглушка «поверните телефон» на этой странице не показывается
   и не перехватывает жесты. media.css включает её fixed-слоем на весь экран. */
.mobile-orientation-info {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: static !important;
  inset: auto !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  z-index: -1 !important;
}

.home-slider__navigation_on-white .home-slider__navigation-item-arrow-pulse-circle {
  background-color: rgba(40, 41, 41, 0.1);
}

/* Green Effect: на ширине до 999px шапка только в начале экрана.
   Класс вешает js.js, когда .home-slider__section-scroller активного слайда уехал от верха. */
@media (max-width: 999px) {
  .header-green-effect_scrolled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.show-menu .header-green-effect_scrolled {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}








.home-slider__background:has(.x2-j-first-screen__picture) {
  background-color: var(--blue, #015689);
}

.x2-j-first-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #f5f5f5;
}

/* Фон всегда full-bleed на весь слайд. Кадр только для текста. */
.x2-j-first-screen__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.x2-j-first-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.x2-j-first-screen__frame .x2-j-first-screen__copy {
  pointer-events: auto;
}

.x2-j-first-screen__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.x2-j-first-screen__bg {
  position: absolute;
  left: 0;
  top: -21.89%;
  width: 132.66%;
  height: 150.26%;
  max-width: none;
  display: block;
}

.x2-j-first-screen__shade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(270deg, rgba(0, 0, 0, 0) 30.104%, rgba(0, 0, 0, 0.72) 88.646%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
}

.x2-j-first-screen__copy {
  position: absolute;
  left: 256px;
  top: calc(50% + 1.5px);
  width: 456px;
  transform: translateY(-50%);
  text-align: right;
  z-index: 1;
}

.x2-j-first-screen__title,
.x2-j-first-screen__subtitle {
  margin: 0;
}

.x2-j-first-screen__title {
  margin-bottom: 32px;
  font-family: EurostileWebregularplus;
  font-weight: 700;
  font-size: 64px;
  line-height: 1.1;
  color: #fff;
}

.x2-j-first-screen__subtitle {
  /* width: 443px; */
  margin-left: auto;
  font-family: EurostileWebregularplus;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
}

.x2-j-first-screen__line {
  font-family: 'EurostileWebblackextendedplus';
  display: block;
}

.x2-j-first-screen__word {
  font-family: 'EurostileWebblackextendedplus';
  display: inline-block;
  opacity: 0;
  transform: translateY(var(--x2-j-shift, 75px));
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-duration, 950ms);
  transition-timing-function: cubic-bezier(0, 0, 0.58, 1);
  transition-delay: var(--x2-j-delay, 0ms);
}

.x2-j-first-screen__line .x2-j-first-screen__word+.x2-j-first-screen__word {
  margin-left: 0.4em;
}

.x2-j-first-screen__word_green {
  color: #0d9344;
}

.x2-j-first-screen.animated .x2-j-first-screen__word {
  opacity: 1;
  transform: translateY(0);
}

/* Макет 1280×832: ниже 1920 сразу композиция текста 1280; фон по-прежнему на весь слайд. */
@media (max-width: 1919px) {
  .x2-j-first-screen__frame {
    max-width: 1280px;
  }

  .x2-j-first-screen__bg {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .x2-j-first-screen__copy {
    left: 84px;
    top: 50%;
    width: 368px;
  }

  .x2-j-first-screen__title {
    margin-bottom: 20px;
    font-size: 48px;
  }

  .x2-j-first-screen__subtitle {
    width: 100%;
    font-size: 20px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-second-screen .home-slider__content {
    position: absolute;
    inset: 0;
  }

  .x2-j-first-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* 686–999: отдельного макета нет — продолжаем scale кадра 1280. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-first-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* Мобильная 390: анимация слов остаётся. */
@media (max-width: 685px) {
  .x2-j-first-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-first-screen__bg {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .x2-j-first-screen__shade {
    background-image:
      linear-gradient(270deg, rgba(0, 0, 0, 0) 12.179%, rgba(0, 0, 0, 0.72) 84.359%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.12) 100%);
  }

  .x2-j-first-screen__copy {
    left: 16px;
    top: 50%;
    width: 368px;
    max-width: calc(100% - 32px);
    text-align: left;
  }

  .x2-j-first-screen__title {
    margin-bottom: 16px;
    font-size: 36px;
  }

  .x2-j-first-screen__subtitle {
    width: 100%;
    margin-left: 0;
    font-size: 18px;
  }

  .x2-j-first-screen__line .x2-j-first-screen__word+.x2-j-first-screen__word {
    margin-left: 0;
  }

  .x2-j-first-screen__subtitle .x2-j-first-screen__word {
    display: block;
  }
}






.x2-j-second-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #015689 !important;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */
.x2-j-second-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
}

.x2-j-second-screen__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #015689;
}

/* Карта — фон текстового блока, поэтому размер и скролл берутся от него, а не от кадра слайда. */
.x2-j-second-screen__geo {
  position: absolute;
  z-index: 0;
  left: -80px;
  top: calc(var(--vh, 100vh) * 0.5 - var(--vh, 100vh) * 172 / 952 - 0.37px);
  width: 892px;
  height: 883.255px;
  transform: translateY(-50%);
  pointer-events: none;
}

.x2-j-second-screen__map {
  position: absolute;
  inset: 0;
  background: #e6eef3;
  opacity: 0.07;
  -webkit-mask-image: url("img/second-screen-map.png");
  mask-image: url("img/second-screen-map.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.x2-j-second-screen__points {
  position: absolute;
  left: 21.08%;
  top: 50%;
  width: 52.25%;
  height: 56.55%;
  transform: translateY(-50%);
  opacity: 0.07;
}

.x2-j-second-screen__points img {
  display: block;
  width: 100%;
  height: 100%;
}

.x2-j-second-screen__copy {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 172 / 952);
  width: 730px;
  z-index: 1;
  color: #fff;
}

.x2-j-second-screen__heading,
.x2-j-second-screen__title,
.x2-j-second-screen__lead,
.x2-j-second-screen__text {
  position: relative;
  z-index: 1;
}

.x2-j-second-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 24px;
}

.x2-j-second-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-second-screen__label,
.x2-j-second-screen__title,
.x2-j-second-screen__lead,
.x2-j-second-screen__text,
.x2-j-second-screen__num,
.x2-j-second-screen__sign,
.x2-j-second-screen__desc,
.x2-j-second-screen__note-text,
.x2-j-second-screen__facts-title,
.x2-j-second-screen__fact-text {
  margin: 0;
}

.x2-j-second-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
}

.x2-j-second-screen__title {
  margin-bottom: 24px;
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-second-screen__line {
  display: block;
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-second-screen__lead {
  margin-bottom: 20px;
  font-family: EurostileWebmediumplus, sans-serif;
  font-weight: normal;
  font-size: 22px;
  line-height: 1.15;
}

.x2-j-second-screen__text {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.2;
}

.x2-j-second-screen__text+.x2-j-second-screen__text {
  margin-top: 20px;
}

.x2-j-second-screen__panel {
  position: absolute;
  left: 976px;
  width: 944px;
  height: calc(var(--vh, 100vh) / 2);
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  transform: translateY(var(--x2-j-shift, 100%));
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1650ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.x2-j-second-screen__panel_top {
  top: 0;
  --x2-j-shift: -100%;
}

.x2-j-second-screen__panel_bottom {
  top: calc(var(--vh, 100vh) / 2);
  --x2-j-shift: 100%;
}

.x2-j-second-screen__panel_on {
  opacity: 1;
  transform: translateY(0);
}

.x2-j-second-screen__values {
  display: flex;
  align-items: center;
  padding: 0 14px 0 36px;
}

.x2-j-second-screen__media {
  position: absolute;
  inset: 0;
}

.x2-j-second-screen__media-fill {
  position: absolute;
  inset: 0;
  background: #fff;
}

.x2-j-second-screen__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.x2-j-second-screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-second-screen__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  pointer-events: none;
}

.x2-j-second-screen__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 162px);
  width: 894px;
  height: 324px;
}

.x2-j-second-screen__stat {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 24px 4px 24px 24px;
  box-sizing: border-box;
  overflow: hidden;
}

.x2-j-second-screen__stat_note {
  align-items: flex-start;
  padding: 28px 14px 27px 16px;
}

.x2-j-second-screen__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.x2-j-second-screen__value {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.x2-j-second-screen__num,
.x2-j-second-screen__sign,
.x2-j-second-screen__note-text {
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  color: #fff;
}

.x2-j-second-screen__num {
  font-size: 52px;
  line-height: 1;
  white-space: nowrap;
}

.x2-j-second-screen__sign {
  width: 108px;
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
}

.x2-j-second-screen__sign_wide {
  width: 111px;
}

.x2-j-second-screen__sign-line,
.x2-j-second-screen__note-line {
  font-family: EurostileWebblackextendedplus, sans-serif;
  display: block;
}

.x2-j-second-screen__desc {
  font-family: EurostileWebmediumplus, sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.1;
  color: #fff;
}

.x2-j-second-screen__note {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.x2-j-second-screen__arrow {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 89px;
}

.x2-j-second-screen__arrow img {
  position: absolute;
  left: -18.51%;
  top: -6.24%;
  width: 40.377px;
  height: 100.107px;
  max-width: none;
  display: block;
}

.x2-j-second-screen__note-text {
  width: 218px;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.38px;
}

.x2-j-second-screen__note-line+.x2-j-second-screen__note-line {
  margin-top: 3px;
}

.x2-j-second-screen__facts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 52px 36px;
  background: #044b76;
  color: #fff;
}

.x2-j-second-screen__facts-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
  height: 318px;
}

.x2-j-second-screen__facts-main .x2-j-second-screen__facts-title .x2-j-second-screen__line {
  font-family: EurostileWebboldplus, sans-serif;
  font-weight: 700;
}

.x2-j-second-screen__facts-slider {
  width: 100%;
  height: 190px;
  margin: 0;
  overflow: hidden;
}

.x2-j-second-screen__facts-slider .swiper-slide {
  height: 190px;
  box-sizing: border-box;
}

.x2-j-second-screen__facts-title {
  font-family: EurostileWebboldplus, sans-serif;
  font-weight: normal;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.64px;
}

.x2-j-second-screen__fact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 24px 12px 12px;
}

.x2-j-second-screen__pagination {
  --swiper-pagination-bullet-size: 6px;
  --swiper-pagination-bullet-horizontal-gap: 0px;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: 0.3;
  --swiper-pagination-color: #fff;
  --swiper-pagination-bottom: auto;
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: auto;
  height: 6px;
  margin: 0;
  line-height: 0;
}

.x2-j-second-screen__pagination.swiper-pagination-lock {
  display: none;
}

.x2-j-second-screen__pagination .swiper-pagination-bullet:only-child {
  display: inline-block !important;
}

.x2-j-second-screen__pagination.swiper-pagination-horizontal .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0.3;
  transition: width 0.3s ease, border-radius 0.3s ease, opacity 0.3s ease;
}

.x2-j-second-screen__pagination.swiper-pagination-horizontal .swiper-pagination-bullet-active {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  opacity: 1;
}

.x2-j-second-screen__quote {
  flex: 0 0 29px;
  width: 29px;
  height: 20px;
  display: block;
}

.x2-j-second-screen__fact-text {
  flex: 1;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.15;
}

/* Ниже 1920 сразу кадр 1280: композиция из макета, по центру окна. Анимацию панелей не трогаем. */
@media (max-width: 1919px) {
  .x2-j-second-screen__frame {
    max-width: 1280px;
  }

  .x2-j-second-screen__geo {
    left: -32px;
    top: calc(92px - var(--vh, 100vh) * 200 / 832);
    width: 654px;
    height: 647.59px;
    transform: none;
  }

  .x2-j-second-screen__copy {
    left: 32px;
    top: calc(var(--vh, 100vh) * 200 / 832);
    width: 594px;
  }

  .x2-j-second-screen__heading {
    gap: 4px;
    margin-bottom: 20px;
  }

  .x2-j-second-screen__mark {
    height: 4px;
  }

  .x2-j-second-screen__label {
    font-size: 14px;
  }

  .x2-j-second-screen__title {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .x2-j-second-screen__lead {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .x2-j-second-screen__text {
    font-size: 16px;
  }

  .x2-j-second-screen__text+.x2-j-second-screen__text {
    margin-top: 16px;
  }

  .x2-j-second-screen__panel {
    left: 654px;
    width: 626px;
  }

  .x2-j-second-screen__values {
    padding: 0 16px;
  }

  .x2-j-second-screen__stats {
    grid-template-rows: repeat(2, 99px);
    width: 100%;
    height: 198px;
  }

  .x2-j-second-screen__stat,
  .x2-j-second-screen__stat_note {
    align-items: center;
    padding: 12px;
  }

  .x2-j-second-screen__num {
    font-size: 28px;
  }

  .x2-j-second-screen__sign,
  .x2-j-second-screen__sign_wide {
    width: 82px;
    font-size: 13px;
  }

  .x2-j-second-screen__desc {
    font-size: 11px;
  }

  .x2-j-second-screen__note {
    gap: 12px;
  }

  .x2-j-second-screen__arrow {
    flex-basis: 22px;
    width: 22px;
    height: 64px;
  }

  .x2-j-second-screen__arrow img {
    width: 29px;
    height: 72px;
  }

  .x2-j-second-screen__note-text {
    width: auto;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.24px;
  }

  .x2-j-second-screen__note-line+.x2-j-second-screen__note-line {
    margin-top: 0;
  }

  .x2-j-second-screen__facts {
    padding: 52px 16px;
  }

  .x2-j-second-screen__facts-main {
    justify-content: flex-start;
    gap: 40px;
    height: auto;
  }

  .x2-j-second-screen__facts-slider,
  .x2-j-second-screen__facts-slider .swiper-slide {
    height: 140px;
  }

  .x2-j-second-screen__facts-title {
    font-size: 26px;
    letter-spacing: 0.52px;
  }

  .x2-j-second-screen__fact {
    padding: 20px 8px 8px;
  }

  .x2-j-second-screen__fact-text {
    font-size: 18px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна: высота до scale = 100%/scale, после scale заполняет вьюпорт, по центру. Панели — 50% высоты кадра. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-second-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }

  .x2-j-second-screen__panel {
    height: 50%;
  }

  .x2-j-second-screen__panel_bottom {
    top: 50%;
  }
}

/* Промежуточный кадр 686: колонка текст → цифры 3×2 → факты по 2. Шапка не входит. Вход панелей без анимации. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-second-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-second-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-second-screen__geo {
    left: calc(16 / 654 * 65.5vw);
    top: calc(92 / 654 * 65.5vw);
    width: 65.5vw;
    height: auto;
    aspect-ratio: 654 / 647.59;
    transform: none;
  }

  .x2-j-second-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 48px;
  }

  .x2-j-second-screen__heading {
    gap: 4px;
    margin-bottom: 20px;
  }

  .x2-j-second-screen__mark {
    height: 4px;
  }

  .x2-j-second-screen__label {
    font-size: 14px;
  }

  .x2-j-second-screen__title {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .x2-j-second-screen__lead {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .x2-j-second-screen__text {
    font-size: 16px;
  }

  .x2-j-second-screen__text+.x2-j-second-screen__text {
    margin-top: 16px;
  }

  .x2-j-second-screen__panel,
  .x2-j-second-screen__panel_on {
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
    width: auto;
    height: 416px;
    margin: 0 32px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-second-screen__values {
    align-items: center;
    justify-content: center;
    padding: 0 16px;
  }

  .x2-j-second-screen__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, 99px);
    width: 100%;
    height: 198px;
  }

  .x2-j-second-screen__facts {
    align-items: center;
    justify-content: center;
    padding: 52px 16px;
  }

  .x2-j-second-screen__facts-main {
    justify-content: center;
    gap: 66px;
    width: 100%;
    height: 352px;
  }

  .x2-j-second-screen__facts-slider,
  .x2-j-second-screen__facts-slider .swiper-slide {
    height: 140px;
  }

  .x2-j-second-screen__facts-title {
    font-size: 26px;
    letter-spacing: 0.52px;
  }

  .x2-j-second-screen__fact {
    padding: 20px 8px 8px;
  }

  .x2-j-second-screen__fact-text {
    font-size: 18px;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Вход панелей здесь без анимации. */
@media (max-width: 685px) {
  .x2-j-second-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-second-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-second-screen__geo {
    left: calc(-72 / 390 * 100vw);
    top: 0;
    width: calc(560.5 / 390 * 100vw);
    height: auto;
    aspect-ratio: 560.5 / 555;
    transform: none;
  }

  .x2-j-second-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 39px;
  }

  .x2-j-second-screen__heading {
    gap: 4px;
    margin-bottom: 20px;
  }

  .x2-j-second-screen__mark {
    height: 4px;
  }

  .x2-j-second-screen__label {
    font-size: 14px;
  }

  .x2-j-second-screen__title {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .x2-j-second-screen__lead {
    margin-bottom: 16px;
    font-size: 16px;
  }

  .x2-j-second-screen__text {
    font-size: 15px;
  }

  .x2-j-second-screen__text+.x2-j-second-screen__text {
    margin-top: 16px;
  }

  .x2-j-second-screen__panel,
  .x2-j-second-screen__panel_on {
    position: relative;
    z-index: 1;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    margin: 0;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-second-screen__values {
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
  }

  .x2-j-second-screen__stats {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 10px;
    width: 100%;
    height: auto;
  }

  .x2-j-second-screen__stat,
  .x2-j-second-screen__stat_note {
    align-items: flex-start;
    padding: 12px 0;
  }

  .x2-j-second-screen__num {
    font-size: 44px;
  }

  .x2-j-second-screen__sign {
    width: 101px;
    font-size: 16px;
  }

  .x2-j-second-screen__sign_wide {
    width: 105px;
  }

  .x2-j-second-screen__desc {
    font-size: 14px;
  }

  .x2-j-second-screen__note {
    align-items: center;
    gap: 24px;
  }

  .x2-j-second-screen__arrow {
    flex-basis: 28px;
    width: 28px;
    height: 98px;
  }

  .x2-j-second-screen__arrow img {
    left: -9.75%;
    top: -2.78%;
    width: 33px;
    height: 103px;
  }

  .x2-j-second-screen__note-text {
    width: 184px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.32px;
  }

  .x2-j-second-screen__note-line+.x2-j-second-screen__note-line {
    margin-top: 3px;
  }

  .x2-j-second-screen__facts {
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
  }

  .x2-j-second-screen__facts-main {
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    height: auto;
  }

  .x2-j-second-screen__facts-slider,
  .x2-j-second-screen__facts-slider .swiper-slide {
    height: 152px;
  }

  .x2-j-second-screen__facts-title {
    width: 100%;
    font-size: 20px;
    letter-spacing: 0.4px;
  }

  .x2-j-second-screen__fact {
    padding: 16px 8px 8px;
  }

  .x2-j-second-screen__fact-text {
    font-size: 18px;
  }
}











.x2-j-third-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */
.x2-j-third-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  container-type: size;
}

.x2-j-third-screen__background {
  position: absolute;
  inset: 0;
  background: #fff;
}

.x2-j-third-screen__copy {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 172 / 952);
  width: 730px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  z-index: 1;
  color: #282929;
}

.x2-j-third-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-third-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-third-screen__label,
.x2-j-third-screen__title,
.x2-j-third-screen__lead,
.x2-j-third-screen__text,
.x2-j-third-screen__fact-text,
.x2-j-third-screen__badge-text {
  margin: 0;
}

.x2-j-third-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
}

.x2-j-third-screen__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.x2-j-third-screen__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.x2-j-third-screen__title {
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-third-screen__line {
  display: block;
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-third-screen__accent {
  color: #0d9344;
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-third-screen__texts,
.x2-j-third-screen__paragraphs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.x2-j-third-screen__lead {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
}

.x2-j-third-screen__text,
.x2-j-third-screen__fact-text {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.2;
}

.x2-j-third-screen__fact-text {
  line-height: 1.15;
}

.x2-j-third-screen__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.x2-j-third-screen__fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
  overflow: hidden;
}

.x2-j-third-screen__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: #0d9344;
}

.x2-j-third-screen__icon img {
  display: block;
  width: 48px;
  height: 48px;
}

.x2-j-third-screen__cards {
  position: absolute;
  left: 976px;
  top: 52px;
  bottom: 52px;
  width: 892px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
}

.x2-j-third-screen__card {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(var(--x2-j-shift, 100cqh));
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1650ms);
  transition-delay: var(--x2-j-delay, 0ms), var(--x2-j-delay, 0ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1), cubic-bezier(0.42, 0, 0.58, 1);
}

/* Старт чуть ниже кадра: на 952px это 902 / 615.33 / 328.67, как в макете. */
.x2-j-third-screen__card:nth-child(1) {
  --x2-j-shift: calc(100cqh - 50px);
}

.x2-j-third-screen__card:nth-child(2) {
  --x2-j-shift: calc(100cqh - 62px - (100cqh - 128px) / 3);
}

.x2-j-third-screen__card:nth-child(3) {
  --x2-j-shift: calc(100cqh - 50px - 2 * ((100cqh - 128px) / 3 + 12px));
}

.x2-j-third-screen__card_on {
  opacity: 1;
  transform: translateY(0);
}

.x2-j-third-screen__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.x2-j-third-screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-third-screen__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  box-sizing: border-box;
  width: 171px;
  padding: 12px;
  background: #015689;
  z-index: 1;
}

.x2-j-third-screen__badge-text {
  width: 147px;
  font-family: EurostileWebmediumplus, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.1;
  color: #fff;
}

/* Ниже 1920 сразу кадр 1280: композиция из макета, по центру окна. Анимацию карточек не трогаем. */
@media (max-width: 1919px) {
  .x2-j-third-screen__frame {
    max-width: 1280px;
  }

  .x2-j-third-screen__copy {
    left: 32px;
    top: calc(var(--vh, 100vh) * 116 / 832);
    width: 594px;
    gap: 24px;
  }

  .x2-j-third-screen__heading {
    gap: 4px;
  }

  .x2-j-third-screen__mark {
    height: 4px;
  }

  .x2-j-third-screen__label {
    font-size: 14px;
  }

  .x2-j-third-screen__body {
    gap: 24px;
  }

  .x2-j-third-screen__intro {
    gap: 20px;
  }

  .x2-j-third-screen__title {
    font-size: 28px;
  }

  .x2-j-third-screen__texts,
  .x2-j-third-screen__paragraphs {
    gap: 16px;
  }

  .x2-j-third-screen__lead {
    font-size: 18px;
  }

  .x2-j-third-screen__text {
    font-size: 16px;
  }

  .x2-j-third-screen__fact-text {
    font-size: 16px;
  }

  .x2-j-third-screen__fact {
    padding-bottom: 16px;
  }

  .x2-j-third-screen__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .x2-j-third-screen__icon img {
    width: 40px;
    height: 40px;
  }

  .x2-j-third-screen__cards {
    left: 654px;
    top: 32px;
    bottom: 32px;
    width: 594px;
    gap: 8px;
  }

  .x2-j-third-screen__card:nth-child(1) {
    --x2-j-shift: calc(100cqh - 32px);
  }

  .x2-j-third-screen__card:nth-child(2) {
    --x2-j-shift: calc(100cqh - 40px - (100cqh - 80px) / 3);
  }

  .x2-j-third-screen__card:nth-child(3) {
    --x2-j-shift: calc(100cqh - 32px - 2 * ((100cqh - 80px) / 3 + 8px));
  }

  .x2-j-third-screen__badge {
    width: 142px;
    padding: 8px;
  }

  .x2-j-third-screen__badge-text {
    width: 100%;
    font-size: 16px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-third-screen .home-slider__content {
    position: absolute;
    inset: 0;
  }

  .x2-j-third-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* Отдельного макета 686 нет: колонка текст → картинки под ним. Шапка не входит. Вход карточек без анимации. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-third-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-third-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-third-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 32px;
    gap: 24px;
  }

  .x2-j-third-screen__heading {
    gap: 4px;
  }

  .x2-j-third-screen__mark {
    height: 4px;
  }

  .x2-j-third-screen__label {
    font-size: 14px;
  }

  .x2-j-third-screen__body {
    gap: 24px;
  }

  .x2-j-third-screen__intro {
    gap: 20px;
  }

  .x2-j-third-screen__title {
    font-size: 28px;
  }

  .x2-j-third-screen__texts,
  .x2-j-third-screen__paragraphs {
    gap: 16px;
  }

  .x2-j-third-screen__lead {
    font-size: 18px;
  }

  .x2-j-third-screen__text {
    font-size: 16px;
  }

  .x2-j-third-screen__fact-text {
    font-size: 16px;
  }

  .x2-j-third-screen__fact {
    padding-bottom: 16px;
  }

  .x2-j-third-screen__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .x2-j-third-screen__icon img {
    width: 40px;
    height: 40px;
  }

  .x2-j-third-screen__cards {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0 32px 48px;
    gap: 8px;
  }

  .x2-j-third-screen__card,
  .x2-j-third-screen__card_on {
    flex: 0 0 auto;
    height: 280px;
    min-height: 280px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-third-screen__badge {
    left: 16px;
    bottom: 16px;
    width: 142px;
    padding: 8px;
  }

  .x2-j-third-screen__badge-text {
    width: 100%;
    font-size: 16px;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Вход карточек здесь без анимации. */
@media (max-width: 685px) {
  .x2-j-third-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-third-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-third-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 24px;
    gap: 20px;
  }

  .x2-j-third-screen__heading {
    gap: 4px;
  }

  .x2-j-third-screen__mark {
    height: 4px;
  }

  .x2-j-third-screen__label {
    font-size: 14px;
  }

  .x2-j-third-screen__body {
    gap: 24px;
  }

  .x2-j-third-screen__intro {
    gap: 20px;
  }

  .x2-j-third-screen__title {
    font-size: 24px;
  }

  .x2-j-third-screen__texts,
  .x2-j-third-screen__paragraphs {
    gap: 16px;
  }

  .x2-j-third-screen__lead {
    font-size: 16px;
  }

  .x2-j-third-screen__text {
    font-size: 15px;
  }

  .x2-j-third-screen__fact-text {
    font-size: 15px;
  }

  .x2-j-third-screen__fact {
    gap: 16px;
    padding-bottom: 16px;
  }

  .x2-j-third-screen__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .x2-j-third-screen__icon img {
    width: 40px;
    height: 40px;
  }

  .x2-j-third-screen__cards {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0 16px 24px;
    gap: 8px;
  }

  .x2-j-third-screen__card,
  .x2-j-third-screen__card_on {
    flex: 0 0 auto;
    height: 232px;
    min-height: 232px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-third-screen__badge {
    left: 12px;
    bottom: 12px;
    width: 142px;
    padding: 8px;
  }

  .x2-j-third-screen__badge-text {
    width: 100%;
    font-size: 13px;
  }
}






.x2-j-fourth-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */
.x2-j-fourth-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
  container-type: size;
}

.x2-j-fourth-screen__background {
  position: absolute;
  inset: 0;
  background: #fff;
}

.x2-j-fourth-screen__copy {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 172 / 952);
  width: 730px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  z-index: 1;
  color: #282929;
}

.x2-j-fourth-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-fourth-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-fourth-screen__label,
.x2-j-fourth-screen__title,
.x2-j-fourth-screen__lead,
.x2-j-fourth-screen__projects-title,
.x2-j-fourth-screen__project-text,
.x2-j-fourth-screen__panel-title,
.x2-j-fourth-screen__panel-text,
.x2-j-fourth-screen__amount-label,
.x2-j-fourth-screen__amount-value,
.x2-j-fourth-screen__amount-sign {
  margin: 0;
}

.x2-j-fourth-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
}

.x2-j-fourth-screen__main {
  display: flex;
  flex-direction: column;
  gap: 52px;
  width: 100%;
}

.x2-j-fourth-screen__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.x2-j-fourth-screen__title {
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-fourth-screen__line {
  font-family: EurostileWebblackextendedplus, sans-serif;
  display: block;
}

.x2-j-fourth-screen__accent {
  color: #0d9344;
}

.x2-j-fourth-screen__lead {
  font-family: EurostileWebmediumplus, sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.15;
}

.x2-j-fourth-screen__projects {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.x2-j-fourth-screen__projects-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
}

.x2-j-fourth-screen__project-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.x2-j-fourth-screen__project-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.x2-j-fourth-screen__project {
  flex: 0 0 359px;
  width: 359px;
  padding-bottom: 20px;
}

.x2-j-fourth-screen__project-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.x2-j-fourth-screen__project-body_narrow {
  width: 319px;
}

.x2-j-fourth-screen__icon {
  height: 48px;
}

.x2-j-fourth-screen__icon img {
  display: block;
  height: 48px;
  width: auto;
}

.x2-j-fourth-screen__project-text {
  max-width: 100%;
	min-width: 0;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.x2-j-fourth-screen__aside {
  position: absolute;
  left: 976px;
  top: 0;
  bottom: 0;
  width: 944px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.x2-j-fourth-screen__photos {
  flex: 0 0 calc(580 / 952 * 100%);
  height: calc(580 / 952 * 100%);
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 324fr 254fr;
  gap: 2px;
}

.x2-j-fourth-screen__cell {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.x2-j-fourth-screen__cell_train {
  grid-column: 1 / -1;
}

.x2-j-fourth-screen__motion {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(var(--x2-j-x, 0), var(--x2-j-y, 0), 0);
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1650ms);
  transition-delay: var(--x2-j-delay, 0ms), var(--x2-j-delay, 0ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1), cubic-bezier(0.42, 0, 0.58, 1);
}

.x2-j-fourth-screen__motion_train {
  --x2-j-y: calc(-387 * 100cqh / 952);
}

.x2-j-fourth-screen__motion_control {
  --x2-j-x: -472px;
}

.x2-j-fourth-screen__motion_equipment {
  --x2-j-x: 471px;
}

.x2-j-fourth-screen__motion_on {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.x2-j-fourth-screen__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.x2-j-fourth-screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-fourth-screen__panel {
  position: relative;
  flex: 0 0 calc(372 / 952 * 100%);
  height: calc(372 / 952 * 100%);
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 36px;
  background: #015689;
  opacity: 0;
  transform: translate3d(0, calc(400 * 100cqh / 952), 0);
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1580ms);
  transition-delay: var(--x2-j-delay, 420ms), var(--x2-j-delay, 420ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1), cubic-bezier(0.42, 0, 0.58, 1);
}

.x2-j-fourth-screen__panel .x2-j-fourth-screen__line {
  font-family: EurostileWebregularplus;
  font-weight: 700;
}

.x2-j-fourth-screen__panel.x2-j-fourth-screen__motion_on {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.x2-j-fourth-screen__panel-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.x2-j-fourth-screen__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.x2-j-fourth-screen__emblem {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.x2-j-fourth-screen__emblem img {
  display: block;
  width: 42px;
  height: 44px;
  object-fit: cover;
}

.x2-j-fourth-screen__panel-title {
  width: 785px;
  font-family: EurostileWebboldplus, sans-serif;
  font-weight: normal;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
}

.x2-j-fourth-screen__panel-row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.x2-j-fourth-screen__panel-texts {
  flex: 0 0 568px;
  width: 568px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.x2-j-fourth-screen__panel-text {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
}

.x2-j-fourth-screen__amount {
  position: relative;
  flex: 0 0 296px;
  width: 296px;
  height: 175px;
  box-sizing: border-box;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.x2-j-fourth-screen__amount-label {
  position: absolute;
  left: 27px;
  top: calc(50% - 53.5px);
  width: 224px;
  font-family: EurostileWebmediumplus, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.2;
}

.x2-j-fourth-screen__amount-label .x2-j-fourth-screen__line {
  font-weight: 500;
}

.x2-j-fourth-screen__amount-value {
  position: absolute;
  left: 27px;
  top: calc(50% + 2.5px);
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 52px;
  line-height: 1;
  white-space: nowrap;
}

.x2-j-fourth-screen__amount-sign {
  position: absolute;
  left: 184px;
  top: calc(50% + 28.5px);
  width: 99px;
  transform: translateY(-50%);
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
}

.x2-j-fourth-screen__amount-sign .x2-j-fourth-screen__line {
  font-family: EurostileWebblackextendedplus, sans-serif;
}

/* Ниже 1920 сразу кадр 1280: композиция из макета, по центру окна. Анимацию не трогаем. */
@media (max-width: 1919px) {
  .x2-j-fourth-screen__frame {
    max-width: 1280px;
  }

  .x2-j-fourth-screen__copy {
    left: 32px;
    top: calc(50% - 45.5px);
    width: 594px;
    gap: 20px;
    transform: translateY(-50%);
  }

  .x2-j-fourth-screen__heading {
    gap: 4px;
  }

  .x2-j-fourth-screen__mark {
    height: 4px;
  }

  .x2-j-fourth-screen__label {
    font-size: 14px;
  }

  .x2-j-fourth-screen__main {
    gap: 24px;
  }

  .x2-j-fourth-screen__intro {
    gap: 20px;
  }

  .x2-j-fourth-screen__title {
    font-size: 28px;
  }

  .x2-j-fourth-screen__lead {
    font-size: 18px;
  }

  .x2-j-fourth-screen__projects {
    gap: 20px;
  }

  .x2-j-fourth-screen__projects-title {
    font-size: 20px;
  }

  .x2-j-fourth-screen__project {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-bottom: 16px;
  }

  .x2-j-fourth-screen__project-body_narrow {
    width: auto;
  }

  .x2-j-fourth-screen__icon {
    height: 40px;
  }

  .x2-j-fourth-screen__icon img {
    height: 40px;
  }

  .x2-j-fourth-screen__project-text {
    font-size: 16px;
  }

  .x2-j-fourth-screen__aside {
    left: 654px;
    width: 626px;
  }

  .x2-j-fourth-screen__photos {
    flex: 0 0 calc(456 / 832 * 100%);
    height: calc(456 / 832 * 100%);
    grid-template-rows: 254.5fr 200fr;
  }

  .x2-j-fourth-screen__motion_train {
    --x2-j-y: calc(-255 * 100cqh / 832);
  }

  .x2-j-fourth-screen__motion_control {
    --x2-j-x: -312px;
  }

  .x2-j-fourth-screen__motion_equipment {
    --x2-j-x: 312px;
  }

  .x2-j-fourth-screen__panel {
    flex: 0 0 calc(376 / 832 * 100%);
    height: calc(376 / 832 * 100%);
    padding: 48px 36px;
    transform: translate3d(0, calc(400 * 100cqh / 832), 0);
  }

  .x2-j-fourth-screen__panel-main {
    width: 562px;
  }

  .x2-j-fourth-screen__panel-head {
    gap: 12px;
    width: 100%;
  }

  .x2-j-fourth-screen__emblem {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }

  .x2-j-fourth-screen__emblem img {
    width: 35px;
    height: 37px;
  }

  .x2-j-fourth-screen__panel-title {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    font-size: 20px;
  }

  .x2-j-fourth-screen__panel-row {
    gap: 16px;
  }

  .x2-j-fourth-screen__panel-texts {
    flex: 0 0 328px;
    width: 328px;
    gap: 20px;
  }

  .x2-j-fourth-screen__panel-text {
    font-size: 16px;
  }

  .x2-j-fourth-screen__panel-text+.x2-j-fourth-screen__panel-text {
    font-size: 17px;
  }

  .x2-j-fourth-screen__amount {
    flex: 0 0 227px;
    width: 227px;
    height: auto;
    align-self: stretch;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-content: center;
    justify-content: start;
    column-gap: 8px;
    row-gap: 12px;
    padding: 0 16px;
  }

  .x2-j-fourth-screen__amount-label {
    position: static;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    width: 100%;
    font-size: 16px;
  }

  .x2-j-fourth-screen__amount-value {
    position: static;
    left: auto;
    top: auto;
    align-self: center;
    font-size: 36px;
  }

  .x2-j-fourth-screen__amount-sign {
    position: static;
    left: auto;
    top: auto;
    width: 93px;
    align-self: center;
    transform: none;
    font-size: 16px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. Плашка тянется на остаток высоты кадра. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-fourth-screen .home-slider__content {
    position: absolute;
    inset: 0;
  }

  .x2-j-fourth-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }

  .x2-j-fourth-screen__panel {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
  }
}

/* Отдельного макета 686 нет: колонка текст → картинки и плашка под ним. Шапка не входит. Вход без анимации. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-fourth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-fourth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-fourth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 32px;
    gap: 20px;
    transform: none;
  }

  .x2-j-fourth-screen__heading {
    gap: 4px;
  }

  .x2-j-fourth-screen__mark {
    height: 4px;
  }

  .x2-j-fourth-screen__label {
    font-size: 14px;
  }

  .x2-j-fourth-screen__main {
    gap: 24px;
  }

  .x2-j-fourth-screen__intro {
    gap: 20px;
  }

  .x2-j-fourth-screen__title {
    font-size: 28px;
  }

  .x2-j-fourth-screen__lead {
    font-size: 18px;
  }

  .x2-j-fourth-screen__projects {
    gap: 20px;
  }

  .x2-j-fourth-screen__projects-title {
    font-size: 20px;
  }

  .x2-j-fourth-screen__project {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-bottom: 16px;
  }

  .x2-j-fourth-screen__project-body_narrow {
    width: auto;
  }

  .x2-j-fourth-screen__icon {
    height: 40px;
  }

  .x2-j-fourth-screen__icon img {
    height: 40px;
  }

  .x2-j-fourth-screen__project-text {
    font-size: 16px;
  }

  .x2-j-fourth-screen__aside {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0 32px 48px;
  }

  .x2-j-fourth-screen__photos {
    flex: 0 0 auto;
    height: 456px;
    grid-template-rows: 254.5fr 200fr;
  }

  .x2-j-fourth-screen__motion,
  .x2-j-fourth-screen__motion_on,
  .x2-j-fourth-screen__panel,
  .x2-j-fourth-screen__panel.x2-j-fourth-screen__motion_on {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-fourth-screen__panel {
    flex: 0 0 auto;
    height: auto;
    padding: 48px 36px;
  }

  .x2-j-fourth-screen__panel-main {
    width: 100%;
  }

  .x2-j-fourth-screen__panel-head {
    gap: 12px;
    width: 100%;
  }

  .x2-j-fourth-screen__emblem {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }

  .x2-j-fourth-screen__emblem img {
    width: 35px;
    height: 37px;
  }

  .x2-j-fourth-screen__panel-title {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    font-size: 20px;
  }

  .x2-j-fourth-screen__panel-row {
    gap: 16px;
  }

  .x2-j-fourth-screen__panel-texts {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    gap: 20px;
  }

  .x2-j-fourth-screen__panel-text {
    font-size: 16px;
  }

  .x2-j-fourth-screen__panel-text+.x2-j-fourth-screen__panel-text {
    font-size: 17px;
  }

  .x2-j-fourth-screen__amount {
    flex: 0 0 227px;
    width: 227px;
    height: auto;
    align-self: stretch;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-content: center;
    justify-content: start;
    column-gap: 8px;
    row-gap: 12px;
    padding: 0 16px;
  }

  .x2-j-fourth-screen__amount-label {
    position: static;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    width: 100%;
    font-size: 16px;
  }

  .x2-j-fourth-screen__amount-value {
    position: static;
    left: auto;
    top: auto;
    align-self: center;
    font-size: 36px;
  }

  .x2-j-fourth-screen__amount-sign {
    position: static;
    left: auto;
    top: auto;
    width: 93px;
    align-self: center;
    transform: none;
    font-size: 16px;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Вход здесь без анимации. */
@media (max-width: 685px) {
  .x2-j-fourth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-fourth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-fourth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 24px;
    gap: 20px;
    transform: none;
  }

  .x2-j-fourth-screen__heading {
    gap: 4px;
  }

  .x2-j-fourth-screen__mark {
    height: 4px;
  }

  .x2-j-fourth-screen__label {
    font-size: 14px;
  }

  .x2-j-fourth-screen__main {
    gap: 20px;
  }

  .x2-j-fourth-screen__intro {
    gap: 20px;
  }

  .x2-j-fourth-screen__title {
    font-size: 24px;
  }

  .x2-j-fourth-screen__lead {
    font-size: 16px;
  }

  .x2-j-fourth-screen__projects {
    gap: 16px;
  }

  .x2-j-fourth-screen__projects-title {
    font-size: 18px;
  }

  .x2-j-fourth-screen__project {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-bottom: 16px;
  }

  .x2-j-fourth-screen__project-body_narrow {
    width: auto;
  }

  .x2-j-fourth-screen__icon {
    height: 40px;
  }

  .x2-j-fourth-screen__icon img {
    height: 40px;
  }

  .x2-j-fourth-screen__project-text {
    font-size: 15px;
  }

  .x2-j-fourth-screen__aside {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0;
  }

  .x2-j-fourth-screen__photos {
    flex: 0 0 auto;
    height: 390px;
    grid-template-rows: 232fr 156fr;
  }

  .x2-j-fourth-screen__motion,
  .x2-j-fourth-screen__motion_on,
  .x2-j-fourth-screen__panel,
  .x2-j-fourth-screen__panel.x2-j-fourth-screen__motion_on {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-fourth-screen__panel {
    flex: 0 0 auto;
    height: auto;
    padding: 16px 16px 24px;
  }

  .x2-j-fourth-screen__panel-main {
    gap: 16px;
    width: 100%;
  }

  .x2-j-fourth-screen__panel-head {
    gap: 12px;
    width: 100%;
  }

  .x2-j-fourth-screen__emblem {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }

  .x2-j-fourth-screen__emblem img {
    width: 35px;
    height: 37px;
  }

  .x2-j-fourth-screen__panel-title {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    font-size: 20px;
  }

  .x2-j-fourth-screen__panel-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .x2-j-fourth-screen__panel-texts {
    flex: 0 0 auto;
    width: 100%;
    gap: 12px;
  }

  .x2-j-fourth-screen__panel-text,
  .x2-j-fourth-screen__panel-text+.x2-j-fourth-screen__panel-text {
    font-size: 15px;
  }

  .x2-j-fourth-screen__amount {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    align-self: stretch;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-content: start;
    justify-content: start;
    column-gap: 8px;
    row-gap: 12px;
    padding: 16px 0 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .x2-j-fourth-screen__amount-label {
    position: static;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    width: 224px;
    font-size: 16px;
  }

  .x2-j-fourth-screen__amount-value {
    position: static;
    left: auto;
    top: auto;
    align-self: center;
    font-size: 36px;
  }

  .x2-j-fourth-screen__amount-sign {
    position: static;
    left: auto;
    top: auto;
    width: 93px;
    align-self: center;
    transform: none;
    font-size: 16px;
  }
}








.x2-j-fifth-screen {
  position: relative;
  height: 100%;
  /*overflow: hidden;*/
  background: #015689 !important;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */

.x2-j-fifth-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
}

.x2-j-fifth-screen__background {
  position: absolute;
  inset: 0;
  background: #015689;
}

.x2-j-fifth-screen__copy {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 172 / 952);
  width: 1736px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  z-index: 1;
  color: #fff;
}

.x2-j-fifth-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-fifth-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-fifth-screen__label,
.x2-j-fifth-screen__title,
.x2-j-fifth-screen__main-name,
.x2-j-fifth-screen__main-text,
.x2-j-fifth-screen__preview-name,
.x2-j-fifth-screen__place-text {
  margin: 0;
}

.x2-j-fifth-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
}

.x2-j-fifth-screen__title {
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-fifth-screen__main,
.x2-j-fifth-screen__preview {
  position: absolute;
  top: 363px;
  margin: 0;
  overflow: hidden;
}

/* Большой слайд макета: 812×537, отступ от края кадра 132. */
.x2-j-fifth-screen__main {
  left: 132px;
  width: 812px;
  height: 537px;
}

.x2-j-fifth-screen__main .swiper-slide {
  width: 812px;
  height: 537px;
}

.x2-j-fifth-screen__main.swiper-fade .swiper-slide {
  pointer-events: none;
}

.x2-j-fifth-screen__main.swiper-fade .swiper-slide-active {
  pointer-events: auto;
}

/* Превью: карточки 380×312, зазор 32, первая начинается в 976. */
.x2-j-fifth-screen__preview {
  left: 976px;
  right: 0;
  height: 312px;
}

.x2-j-fifth-screen__preview .swiper-slide {
  width: 380px;
  height: 312px;
  cursor: pointer;
}

.x2-j-fifth-screen__main-card,
.x2-j-fifth-screen__preview-card {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 24px;
  background: #044b76;
  color: #fff;
}

.x2-j-fifth-screen__main-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.x2-j-fifth-screen__photo {
  position: relative;
  overflow: hidden;
  flex: none;
}

.x2-j-fifth-screen__photo_main {
  height: 300px;
}

.x2-j-fifth-screen__photo_preview {
  height: 219px;
}

.x2-j-fifth-screen__picture,
.x2-j-fifth-screen__img {
  display: block;
  width: 100%;
  height: 100%;
}

.x2-j-fifth-screen__img {
  object-fit: cover;
}

.x2-j-fifth-screen__photo_crop .x2-j-fifth-screen__img {
  position: absolute;
  left: 0;
  top: -54.25%;
  width: 100%;
  height: 170.32%;
  object-fit: cover;
}

.x2-j-fifth-screen__place {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 32px);
  padding: 4px 8px;
  border-radius: 25px;
  background: rgba(1, 86, 137, 0.44);
  backdrop-filter: blur(21px);
}

.x2-j-fifth-screen__pin {
  flex: 0 0 11px;
  width: 11px;
  height: 14px;
  display: block;
}

.x2-j-fifth-screen__place-text {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
}

.x2-j-fifth-screen__main-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.x2-j-fifth-screen__main-name,
.x2-j-fifth-screen__preview-name {
  font-family: EurostileWebboldplus, sans-serif;
  font-weight: normal;
}

.x2-j-fifth-screen__main-name {
  font-size: 32px;
  line-height: 36px;
}

.x2-j-fifth-screen__preview-name {
  margin-top: 20px;
  font-size: 22px;
  line-height: 25px;
}

.x2-j-fifth-screen__name-note {
  font-family: EurostileWebregularplus, sans-serif;
}

.x2-j-fifth-screen__main-text {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.2;
}

.x2-j-fifth-screen__controls {
  position: absolute;
  left: 976px;
  top: 844px;
  /* bottom: 52px; */
  width: 892px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.x2-j-fifth-screen__switchers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.x2-j-fifth-screen__switch {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.x2-j-fifth-screen__switch img {
  display: block;
  width: 52px;
  height: 52px;
}

.x2-j-fifth-screen__switch_next img {
  transform: rotate(180deg);
}

.x2-j-fifth-screen__amount {
  box-sizing: border-box;
  min-width: 52px;
  height: 52px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #044b76;
  color: #fff;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1919px) {
  .x2-j-fifth-screen__frame {
    max-width: 1280px;
  }

  .x2-j-fifth-screen__copy {
    left: 32px;
    top: calc(var(--vh, 100vh) * 116 / 832);
    width: 1216px;
    gap: 20px;
  }

  .x2-j-fifth-screen__heading {
    gap: 4px;
  }

  .x2-j-fifth-screen__mark {
    height: 4px;
  }

  .x2-j-fifth-screen__label {
    font-size: 14px;
  }

  .x2-j-fifth-screen__title {
    font-size: 28px;
  }

  .x2-j-fifth-screen__main,
  .x2-j-fifth-screen__preview {
    top: calc(var(--vh, 100vh) * 249 / 832);
  }

  .x2-j-fifth-screen__main {
    left: 32px;
    width: 594px;
    height: 551px;
  }

  .x2-j-fifth-screen__main .swiper-slide {
    width: 594px;
    height: 551px;
  }

  .x2-j-fifth-screen__photo_main {
    height: 276px;
  }

  .x2-j-fifth-screen__photo_crop .x2-j-fifth-screen__img {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .x2-j-fifth-screen__main-name {
    font-size: 24px;
    line-height: normal;
  }

  .x2-j-fifth-screen__main-text {
    font-size: 18px;
  }

  .x2-j-fifth-screen__preview {
    left: 654px;
    height: 306px;
  }

  .x2-j-fifth-screen__preview .swiper-slide {
    width: 380px;
    height: 306px;
  }

  .x2-j-fifth-screen__preview-name {
    margin-top: 16px;
    font-size: 20px;
    line-height: normal;
  }

  .x2-j-fifth-screen__controls {
    left: 654px;
    top: calc((var(--vh, 100vh) * 249 / 832) + 499px);
    /* bottom: 32px; */
    width: 594px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-fifth-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* Отдельного макета 686 нет: один слайдер как на мобиле, чуть крупнее. Превью скрыто. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-fifth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-fifth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-fifth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 24px;
    gap: 20px;
  }

  .x2-j-fifth-screen__heading {
    gap: 4px;
  }

  .x2-j-fifth-screen__mark {
    height: 4px;
  }

  .x2-j-fifth-screen__label {
    font-size: 14px;
  }

  .x2-j-fifth-screen__title {
    font-size: 28px;
  }

  .x2-j-fifth-screen__main {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin: 0 32px;
  }

  .x2-j-fifth-screen__main .swiper-slide {
    width: 100%;
    height: auto;
  }

  .x2-j-fifth-screen__main-card {
    gap: 20px;
    height: 100%;
    padding: 24px;
  }

  .x2-j-fifth-screen__photo_main {
    height: 276px;
  }

  .x2-j-fifth-screen__photo_crop .x2-j-fifth-screen__img {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .x2-j-fifth-screen__main-copy {
    gap: 12px;
  }

  .x2-j-fifth-screen__main-name {
    font-size: 24px;
    line-height: normal;
  }

  .x2-j-fifth-screen__main-text {
    font-size: 18px;
  }

  .x2-j-fifth-screen__preview {
    display: none;
  }

  .x2-j-fifth-screen__controls {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 12px 32px 48px;
  }

  .x2-j-fifth-screen__switch {
    width: 52px;
    height: 52px;
  }

  .x2-j-fifth-screen__switch img {
    width: 52px;
    height: 52px;
  }

  .x2-j-fifth-screen__amount {
    min-width: 52px;
    height: 52px;
    font-size: 16px;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Один слайдер, превью скрыто. */
@media (max-width: 685px) {
  .x2-j-fifth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-fifth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-fifth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 20px;
    gap: 20px;
  }

  .x2-j-fifth-screen__heading {
    gap: 4px;
  }

  .x2-j-fifth-screen__mark {
    height: 4px;
  }

  .x2-j-fifth-screen__label {
    font-size: 14px;
  }

  .x2-j-fifth-screen__title {
    font-size: 24px;
  }

  .x2-j-fifth-screen__main {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin: 0 16px;
  }

  .x2-j-fifth-screen__main .swiper-slide {
    width: 100%;
    height: auto;
  }

  .x2-j-fifth-screen__main-card {
    gap: 20px;
    height: 100%;
    padding: 16px;
  }

  .x2-j-fifth-screen__photo_main {
    height: 232px;
  }

  .x2-j-fifth-screen__photo_crop .x2-j-fifth-screen__img {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .x2-j-fifth-screen__place {
    left: 12px;
    top: 12px;
  }

  .x2-j-fifth-screen__main-copy {
    gap: 8px;
  }

  .x2-j-fifth-screen__main-name {
    font-size: 24px;
    line-height: normal;
  }

  .x2-j-fifth-screen__main-text {
    font-size: 16px;
  }

  .x2-j-fifth-screen__preview {
    display: none;
  }

  .x2-j-fifth-screen__controls {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 12px 16px 24px;
  }

  .x2-j-fifth-screen__switch {
    width: 48px;
    height: 48px;
  }

  .x2-j-fifth-screen__switch img {
    width: 48px;
    height: 48px;
  }

  .x2-j-fifth-screen__amount {
    min-width: 48px;
    height: 48px;
    font-size: 14px;
  }
}






.x2-j-sixth-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */
.x2-j-sixth-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
  container-type: size;
}

.x2-j-sixth-screen__background {
  position: absolute;
  inset: 0;
  background: #fff;
}

.x2-j-sixth-screen__copy {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 172 / 952);
  width: 757px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  z-index: 1;
  color: #282929;
}

.x2-j-sixth-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-sixth-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-sixth-screen__label,
.x2-j-sixth-screen__title,
.x2-j-sixth-screen__lead,
.x2-j-sixth-screen__solutions-title,
.x2-j-sixth-screen__solution-text,
.x2-j-sixth-screen__number,
.x2-j-sixth-screen__unit,
.x2-j-sixth-screen__caption,
.x2-j-sixth-screen__effect {
  margin: 0;
}

.x2-j-sixth-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
}

.x2-j-sixth-screen__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.x2-j-sixth-screen__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.x2-j-sixth-screen__title {
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-sixth-screen__title .x2-j-sixth-screen__line {
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-sixth-screen__title .x2-j-sixth-screen__accent {
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-sixth-screen__line {
  display: block;
}

.x2-j-sixth-screen__accent {
  color: #0d9344;
}

.x2-j-sixth-screen__lead {
  font-family: EurostileWebmediumplus, sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.15;
}

.x2-j-sixth-screen__solutions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 730px;
}

.x2-j-sixth-screen__solutions-title {
  font-family: EurostileWebboldplus, sans-serif;
  font-weight: normal;
  font-size: 24px;
  line-height: 1.2;
}

.x2-j-sixth-screen__solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.x2-j-sixth-screen__solution {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
  overflow: hidden;
}

.x2-j-sixth-screen__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: #0d9344;
}

.x2-j-sixth-screen__icon img {
  display: block;
  width: 48px;
  height: 48px;
}

.x2-j-sixth-screen__solution-text {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.15;
}

.x2-j-sixth-screen__aside {
  position: absolute;
  left: 976px;
  top: 0;
  bottom: 0;
  width: 944px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.x2-j-sixth-screen__photo-wrap {
  position: relative;
  flex: 0 0 calc(476 / 952 * 100%);
  height: calc(476 / 952 * 100%);
  min-height: 0;
  overflow: hidden;
}

.x2-j-sixth-screen__motion {
  opacity: 0;
  transform: translate3d(0, var(--x2-j-y, 0), 0);
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1650ms);
  transition-delay: var(--x2-j-delay, 0ms), var(--x2-j-delay, 0ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1), cubic-bezier(0.42, 0, 0.58, 1);
}

.x2-j-sixth-screen__motion_photo {
  position: absolute;
  inset: 0;
  --x2-j-y: calc(-586 * 100cqh / 952);
}

.x2-j-sixth-screen__motion_on {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.x2-j-sixth-screen__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.x2-j-sixth-screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-sixth-screen__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.x2-j-sixth-screen__panel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0 69px;
  background: #044b76;
  color: #fff;
  overflow: hidden;
  --x2-j-y: calc(494 * 100cqh / 952);
}

.x2-j-sixth-screen__facts {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.x2-j-sixth-screen__stat {
  flex: 0 0 348px;
  width: 348px;
}

.x2-j-sixth-screen__value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.x2-j-sixth-screen__value .x2-j-sixth-screen__line {
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-sixth-screen__number {
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 84px;
  line-height: 1;
}

.x2-j-sixth-screen__unit {
  width: 96px;
  padding: 25px 0 11px;
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.x2-j-sixth-screen__caption {
  margin-top: 4px;
  font-weight: normal;
  font-size: 24px;
  line-height: 1.1;
}

.x2-j-sixth-screen__divider {
  flex: 0 0 1px;
  width: 1px;
  height: 148px;
  background: rgba(255, 255, 255, 0.11);
}

.x2-j-sixth-screen__effects {
  flex: 0 0 393px;
  width: 393px;
}

.x2-j-sixth-screen__effect {
  padding: 12px 0;
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: 0.34px;
}

@media (max-width: 1919px) {
  .x2-j-sixth-screen__frame {
    max-width: 1280px;
  }

  .x2-j-sixth-screen__copy {
    left: 32px;
    top: calc(50% - 3.5px);
    width: 594px;
    gap: 20px;
    transform: translateY(-50%);
  }

  .x2-j-sixth-screen__heading {
    gap: 4px;
  }

  .x2-j-sixth-screen__mark {
    height: 4px;
  }

  .x2-j-sixth-screen__label {
    font-size: 14px;
  }

  .x2-j-sixth-screen__main {
    gap: 24px;
  }

  .x2-j-sixth-screen__intro {
    gap: 20px;
  }

  .x2-j-sixth-screen__title {
    font-size: 28px;
  }

  .x2-j-sixth-screen__lead {
    font-size: 18px;
  }

  .x2-j-sixth-screen__solutions {
    gap: 20px;
    width: 100%;
  }

  .x2-j-sixth-screen__solutions-title {
    font-size: 20px;
  }

  .x2-j-sixth-screen__solution {
    padding-bottom: 16px;
  }

  .x2-j-sixth-screen__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .x2-j-sixth-screen__icon img {
    width: 40px;
    height: 40px;
  }

  .x2-j-sixth-screen__solution-text {
    font-size: 16px;
  }

  .x2-j-sixth-screen__aside {
    left: 654px;
    width: 626px;
  }

  .x2-j-sixth-screen__photo-wrap {
    flex: 0 0 calc(494 / 832 * 100%);
    height: calc(494 / 832 * 100%);
  }

  .x2-j-sixth-screen__motion_photo {
    --x2-j-y: calc(-512 * 100cqh / 832);
  }

  .x2-j-sixth-screen__panel {
    flex: 0 0 calc(338 / 832 * 100%);
    height: calc(338 / 832 * 100%);
    padding: 0 32px;
    --x2-j-y: calc(400 * 100cqh / 832);
  }

  .x2-j-sixth-screen__facts {
    gap: 20px;
  }

  .x2-j-sixth-screen__stat {
    flex: 0 0 auto;
    width: auto;
    max-width: 260px;
  }

  .x2-j-sixth-screen__value {
    justify-content: flex-start;
    gap: 12px;
    width: auto;
  }

  .x2-j-sixth-screen__number {
    font-size: 48px;
  }

  .x2-j-sixth-screen__unit {
    width: 80px;
    padding: 0;
    font-size: 20px;
  }

  .x2-j-sixth-screen__caption {
    margin-top: 8px;
    font-size: 16px;
  }

  .x2-j-sixth-screen__effects {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .x2-j-sixth-screen__effect {
    font-size: 13px;
    letter-spacing: 0.26px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. Плашка тянется на остаток высоты. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-sixth-screen .home-slider__content {
    position: absolute;
    inset: 0;
  }

  .x2-j-sixth-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }

  .x2-j-sixth-screen__panel {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
  }
}

/* Отдельного макета 686 нет: колонка текст → фото и плашка под ним. Шапка не входит. Вход без анимации. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-sixth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-sixth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-sixth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 32px;
    gap: 20px;
    transform: none;
  }

  .x2-j-sixth-screen__heading {
    gap: 4px;
  }

  .x2-j-sixth-screen__mark {
    height: 4px;
  }

  .x2-j-sixth-screen__label {
    font-size: 14px;
  }

  .x2-j-sixth-screen__main {
    gap: 24px;
  }

  .x2-j-sixth-screen__intro {
    gap: 20px;
  }

  .x2-j-sixth-screen__title {
    font-size: 28px;
  }

  .x2-j-sixth-screen__lead {
    font-size: 18px;
  }

  .x2-j-sixth-screen__solutions {
    gap: 20px;
    width: 100%;
  }

  .x2-j-sixth-screen__solutions-title {
    font-size: 20px;
  }

  .x2-j-sixth-screen__solution {
    padding-bottom: 16px;
  }

  .x2-j-sixth-screen__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .x2-j-sixth-screen__icon img {
    width: 40px;
    height: 40px;
  }

  .x2-j-sixth-screen__solution-text {
    font-size: 16px;
  }

  .x2-j-sixth-screen__aside {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0 32px 48px;
  }

  .x2-j-sixth-screen__photo-wrap {
    flex: 0 0 auto;
    height: 360px;
  }

  .x2-j-sixth-screen__motion,
  .x2-j-sixth-screen__motion_on,
  .x2-j-sixth-screen__panel,
  .x2-j-sixth-screen__panel.x2-j-sixth-screen__motion_on {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-sixth-screen__motion_photo {
    position: absolute;
    inset: 0;
  }

  .x2-j-sixth-screen__panel {
    flex: 0 0 auto;
    height: auto;
    padding: 48px 32px;
  }

  .x2-j-sixth-screen__facts {
    gap: 20px;
  }

  .x2-j-sixth-screen__stat {
    flex: 0 0 auto;
    width: auto;
    max-width: 260px;
  }

  .x2-j-sixth-screen__value {
    justify-content: flex-start;
    gap: 12px;
    width: auto;
  }

  .x2-j-sixth-screen__number {
    font-size: 48px;
  }

  .x2-j-sixth-screen__unit {
    width: 80px;
    padding: 0;
    font-size: 20px;
  }

  .x2-j-sixth-screen__caption {
    margin-top: 8px;
    font-size: 16px;
  }

  .x2-j-sixth-screen__effects {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .x2-j-sixth-screen__effect {
    font-size: 13px;
    letter-spacing: 0.26px;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Вход здесь без анимации. */
@media (max-width: 685px) {
  .x2-j-sixth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-sixth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-sixth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 20px;
    gap: 20px;
    transform: none;
  }

  .x2-j-sixth-screen__heading {
    gap: 4px;
  }

  .x2-j-sixth-screen__mark {
    height: 4px;
  }

  .x2-j-sixth-screen__label {
    font-size: 14px;
  }

  .x2-j-sixth-screen__main {
    gap: 20px;
  }

  .x2-j-sixth-screen__intro {
    gap: 20px;
  }

  .x2-j-sixth-screen__title {
    font-size: 24px;
  }

  .x2-j-sixth-screen__intro .x2-j-sixth-screen__title .x2-j-sixth-screen__line br {
    display: none;
  }

  .x2-j-sixth-screen__lead {
    font-size: 16px;
  }

  .x2-j-sixth-screen__solutions {
    gap: 20px;
    width: 100%;
  }

  .x2-j-sixth-screen__solutions-title {
    font-size: 18px;
  }

  .x2-j-sixth-screen__solution {
    padding-bottom: 16px;
  }

  .x2-j-sixth-screen__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .x2-j-sixth-screen__icon img {
    width: 40px;
    height: 40px;
  }

  .x2-j-sixth-screen__solution-text {
    font-size: 15px;
  }

  .x2-j-sixth-screen__aside {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0;
  }

  .x2-j-sixth-screen__photo-wrap {
    flex: 0 0 auto;
    height: 232px;
  }

  .x2-j-sixth-screen__motion,
  .x2-j-sixth-screen__motion_on,
  .x2-j-sixth-screen__panel,
  .x2-j-sixth-screen__panel.x2-j-sixth-screen__motion_on {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-sixth-screen__motion_photo {
    position: absolute;
    inset: 0;
  }

  .x2-j-sixth-screen__panel {
    flex: 0 0 auto;
    height: auto;
    align-items: stretch;
    padding: 24px 16px;
  }

  .x2-j-sixth-screen__facts {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .x2-j-sixth-screen__stat {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }

  .x2-j-sixth-screen__value {
    justify-content: flex-start;
    gap: 12px;
    width: auto;
  }

  .x2-j-sixth-screen__number {
    font-size: 48px;
  }

  .x2-j-sixth-screen__unit {
    width: 80px;
    padding: 0;
    font-size: 20px;
  }

  .x2-j-sixth-screen__caption {
    margin-top: 8px;
    font-size: 16px;
  }

  .x2-j-sixth-screen__divider {
    flex: 0 0 auto;
    width: 100%;
    height: 1px;
  }

  .x2-j-sixth-screen__effects {
    flex: 0 0 auto;
    width: 100%;
  }

  .x2-j-sixth-screen__effect {
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.26px;
  }
}









.x2-j-seventh-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */
.x2-j-seventh-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
  container-type: size;
}

.x2-j-seventh-screen__background {
  position: absolute;
  inset: 0;
  background: #fff;
}

.x2-j-seventh-screen__copy {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 172 / 952);
  width: 730px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  z-index: 1;
  color: #282929;
}

.x2-j-seventh-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-seventh-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-seventh-screen__label,
.x2-j-seventh-screen__title,
.x2-j-seventh-screen__lead,
.x2-j-seventh-screen__fact-text {
  margin: 0;
}

.x2-j-seventh-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
}

.x2-j-seventh-screen__body {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.x2-j-seventh-screen__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.x2-j-seventh-screen__title {
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-seventh-screen__title .x2-j-seventh-screen__line {
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-seventh-screen__line {
  display: block;
}

.x2-j-seventh-screen__accent {
  color: #0d9344;
}

.x2-j-seventh-screen__lead {
  font-family: EurostileWebmediumplus, sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.15;
}

.x2-j-seventh-screen__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.x2-j-seventh-screen__fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
  overflow: hidden;
}

.x2-j-seventh-screen__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: #0d9344;
}

.x2-j-seventh-screen__icon img {
  display: block;
  width: 48px;
  height: 48px;
}

.x2-j-seventh-screen__fact-text {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.15;
}

.x2-j-seventh-screen__cards {
  position: absolute;
  left: 976px;
  top: 52px;
  bottom: 52px;
  width: 892px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
}

.x2-j-seventh-screen__card {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(var(--x2-j-shift, 100cqh));
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1650ms);
  transition-delay: var(--x2-j-delay, 0ms), var(--x2-j-delay, 0ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1), cubic-bezier(0.42, 0, 0.58, 1);
}

/* Старт чуть ниже кадра: на 952px это 902 / 615.33 / 328.67, как в макете. */
.x2-j-seventh-screen__card:nth-child(1) {
  --x2-j-shift: calc(100cqh - 50px);
}

.x2-j-seventh-screen__card:nth-child(2) {
  --x2-j-shift: calc(100cqh - 62px - (100cqh - 128px) / 3);
}

.x2-j-seventh-screen__card:nth-child(3) {
  --x2-j-shift: calc(100cqh - 50px - 2 * ((100cqh - 128px) / 3 + 12px));
}

.x2-j-seventh-screen__card_on {
  opacity: 1;
  transform: translateY(0);
}

.x2-j-seventh-screen__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.x2-j-seventh-screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-seventh-screen__photo_crop {
  inset: auto;
  left: 0;
  top: -87.8%;
  width: 100%;
  height: 243.57%;
  object-fit: fill;
}

@media (max-width: 1919px) {
  .x2-j-seventh-screen__frame {
    max-width: 1280px;
  }

  .x2-j-seventh-screen__copy {
    left: 32px;
    top: calc(50% - 24px);
    width: 594px;
    gap: 20px;
    transform: translateY(-50%);
  }

  .x2-j-seventh-screen__heading {
    gap: 4px;
  }

  .x2-j-seventh-screen__mark {
    height: 4px;
  }

  .x2-j-seventh-screen__label {
    font-size: 14px;
  }

  .x2-j-seventh-screen__body {
    gap: 24px;
  }

  .x2-j-seventh-screen__intro {
    gap: 20px;
  }

  .x2-j-seventh-screen__title {
    font-size: 28px;
  }

  .x2-j-seventh-screen__lead {
    font-size: 18px;
  }

  .x2-j-seventh-screen__fact {
    padding-bottom: 16px;
  }

  .x2-j-seventh-screen__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .x2-j-seventh-screen__icon img {
    width: 40px;
    height: 40px;
  }

  .x2-j-seventh-screen__fact-text {
    font-size: 16px;
  }

  .x2-j-seventh-screen__cards {
    left: 654px;
    top: 32px;
    bottom: 32px;
    width: 594px;
    gap: 8px;
  }

  .x2-j-seventh-screen__card:nth-child(1) {
    --x2-j-shift: calc(100cqh - 32px);
  }

  .x2-j-seventh-screen__card:nth-child(2) {
    --x2-j-shift: calc(100cqh - 40px - (100cqh - 80px) / 3);
  }

  .x2-j-seventh-screen__card:nth-child(3) {
    --x2-j-shift: calc(100cqh - 32px - 2 * ((100cqh - 80px) / 3 + 8px));
  }

  .x2-j-seventh-screen__photo_crop {
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-seventh-screen .home-slider__content {
    position: absolute;
    inset: 0;
  }

  .x2-j-seventh-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* Отдельного макета 686 нет: колонка текст → картинки под ним. Шапка не входит. Вход карточек без анимации. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-seventh-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-seventh-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-seventh-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 32px;
    gap: 20px;
    transform: none;
  }

  .x2-j-seventh-screen__heading {
    gap: 4px;
  }

  .x2-j-seventh-screen__mark {
    height: 4px;
  }

  .x2-j-seventh-screen__label {
    font-size: 14px;
  }

  .x2-j-seventh-screen__body {
    gap: 24px;
  }

  .x2-j-seventh-screen__intro {
    gap: 20px;
  }

  .x2-j-seventh-screen__title {
    font-size: 28px;
  }

  .x2-j-seventh-screen__lead {
    font-size: 18px;
  }

  .x2-j-seventh-screen__fact {
    padding-bottom: 16px;
  }

  .x2-j-seventh-screen__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .x2-j-seventh-screen__icon img {
    width: 40px;
    height: 40px;
  }

  .x2-j-seventh-screen__fact-text {
    font-size: 16px;
  }

  .x2-j-seventh-screen__cards {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0 32px 48px;
    gap: 8px;
  }

  .x2-j-seventh-screen__card,
  .x2-j-seventh-screen__card_on {
    flex: 0 0 auto;
    height: 280px;
    min-height: 280px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-seventh-screen__photo_crop {
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Вход карточек здесь без анимации. */
@media (max-width: 685px) {
  .x2-j-seventh-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-seventh-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-seventh-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 24px;
    gap: 20px;
    transform: none;
  }

  .x2-j-seventh-screen__heading {
    gap: 4px;
  }

  .x2-j-seventh-screen__mark {
    height: 4px;
  }

  .x2-j-seventh-screen__label {
    font-size: 14px;
  }

  .x2-j-seventh-screen__body {
    gap: 20px;
  }

  .x2-j-seventh-screen__intro {
    gap: 20px;
  }

  .x2-j-seventh-screen__title {
    font-size: 24px;
  }

  .x2-j-seventh-screen__lead {
    font-size: 16px;
  }

  .x2-j-seventh-screen__fact {
    gap: 12px;
    padding-bottom: 16px;
  }

  .x2-j-seventh-screen__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .x2-j-seventh-screen__icon img {
    width: 40px;
    height: 40px;
  }

  .x2-j-seventh-screen__fact-text {
    font-size: 15px;
  }

  .x2-j-seventh-screen__cards {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0 16px 24px;
    gap: 8px;
  }

  .x2-j-seventh-screen__card,
  .x2-j-seventh-screen__card_on {
    flex: 0 0 auto;
    height: 232px;
    min-height: 232px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-seventh-screen__photo_crop {
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}








.x2-j-eighth-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #015689 !important;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */
.x2-j-eighth-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
  container-type: size;
}

.x2-j-eighth-screen__background {
  position: absolute;
  inset: 0;
  background: #015689;
}

.x2-j-eighth-screen__copy {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 172 / 952);
  width: 812px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  z-index: 1;
  color: #fff;
}

.x2-j-eighth-screen__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.x2-j-eighth-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-eighth-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-eighth-screen__label,
.x2-j-eighth-screen__title,
.x2-j-eighth-screen__tech-title,
.x2-j-eighth-screen__tech-text,
.x2-j-eighth-screen__panel-title,
.x2-j-eighth-screen__fact-text {
  margin: 0;
}

.x2-j-eighth-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
}

.x2-j-eighth-screen__title {
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-eighth-screen__title .x2-j-eighth-screen__line {
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-eighth-screen__line {
  display: block;
}

.x2-j-eighth-screen__techs {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.x2-j-eighth-screen__tech {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  width: 100%;
}

.x2-j-eighth-screen__tech-picture {
  position: relative;
  flex: 0 0 235px;
  width: 235px;
  height: 172px;
  margin: 0;
  overflow: hidden;
}

.x2-j-eighth-screen__tech-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.x2-j-eighth-screen__tech-copy {
  flex: 0 0 494px;
  width: 494px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.x2-j-eighth-screen__tech-title {
  font-family: EurostileWebmediumplus, sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.2;
}

.x2-j-eighth-screen__tech-title_narrow {
  width: 382px;
}

.x2-j-eighth-screen__tech-text {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.15;
}

.x2-j-eighth-screen__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.11);
}

.x2-j-eighth-screen__aside {
  position: absolute;
  left: 976px;
  top: 0;
  bottom: 0;
  width: 944px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.x2-j-eighth-screen__photo-wrap {
  position: relative;
  flex: 0 0 calc(476 / 952 * 100%);
  height: calc(476 / 952 * 100%);
  min-height: 0;
  overflow: hidden;
}

.x2-j-eighth-screen__motion {
  opacity: 0;
  transform: translate3d(0, var(--x2-j-y, 0), 0);
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1650ms);
  transition-delay: var(--x2-j-delay, 0ms), var(--x2-j-delay, 0ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1), cubic-bezier(0.42, 0, 0.58, 1);
}

.x2-j-eighth-screen__motion_photo {
  position: absolute;
  inset: 0;
  --x2-j-y: calc(-586 * 100cqh / 952);
}

.x2-j-eighth-screen__motion_on {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.x2-j-eighth-screen__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.x2-j-eighth-screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-eighth-screen__panel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 48px 95px;
  background: #044b76;
  color: #fff;
  overflow: hidden;
  --x2-j-y: calc(494 * 100cqh / 952);
}

.x2-j-eighth-screen__panel-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.x2-j-eighth-screen__panel-title {
  font-family: EurostileWebboldplus, sans-serif;
  font-weight: normal;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0.64px;
}

.x2-j-eighth-screen__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  width: 730px;
}

.x2-j-eighth-screen__fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
}

.x2-j-eighth-screen__icon {
  flex: 0 0 48px;
  height: 48px;
}

.x2-j-eighth-screen__icon img {
  display: block;
  width: 40px;
  height: 48px;
}

.x2-j-eighth-screen__icon_trains img {
  width: 39px;
}

.x2-j-eighth-screen__fact-text {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.15;
}

/* Композиция 1280. Шапка в макет не входит. */
@media (max-width: 1919px) {
  .x2-j-eighth-screen__frame {
    max-width: 1280px;
  }

  .x2-j-eighth-screen__copy {
    left: 32px;
    top: calc(50% + 21px);
    width: 594px;
    gap: 20px;
    transform: translateY(-50%);
  }

  .x2-j-eighth-screen__intro {
    gap: 20px;
  }

  .x2-j-eighth-screen__heading {
    gap: 4px;
  }

  .x2-j-eighth-screen__mark {
    height: 4px;
  }

  .x2-j-eighth-screen__label {
    font-size: 14px;
  }

  .x2-j-eighth-screen__title {
    font-size: 28px;
  }

  .x2-j-eighth-screen__line {
    display: inline;
  }

  .x2-j-eighth-screen__line:not(:first-child)::before {
    content: " ";
  }

  .x2-j-eighth-screen__techs {
    gap: 24px;
  }

  .x2-j-eighth-screen__tech {
    gap: 16px;
  }

  .x2-j-eighth-screen__tech-copy {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    gap: 8px;
  }

  .x2-j-eighth-screen__tech-title {
    font-size: 18px;
  }

  .x2-j-eighth-screen__tech-title_narrow {
    width: auto;
  }

  .x2-j-eighth-screen__tech-text {
    font-size: 15px;
  }

  .x2-j-eighth-screen__aside {
    left: 654px;
    width: 626px;
  }

  .x2-j-eighth-screen__photo-wrap {
    flex: 0 0 calc(416 / 832 * 100%);
    height: calc(416 / 832 * 100%);
  }

  .x2-j-eighth-screen__motion_photo {
    --x2-j-y: calc(-512 * 100cqh / 832);
  }

  .x2-j-eighth-screen__photo {
    inset: auto;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .x2-j-eighth-screen__panel {
    flex: 0 0 calc(416 / 832 * 100%);
    height: calc(416 / 832 * 100%);
    padding: 32px;
    --x2-j-y: calc(432 * 100cqh / 832);
  }

  .x2-j-eighth-screen__panel-body {
    gap: 20px;
  }

  .x2-j-eighth-screen__panel-title {
    font-size: 26px;
    letter-spacing: 0.52px;
  }

  .x2-j-eighth-screen__facts {
    column-gap: 16px;
    width: 100%;
  }

  .x2-j-eighth-screen__fact {
    padding-bottom: 16px;
  }

  .x2-j-eighth-screen__icon {
    flex: 0 0 40px;
    height: 40px;
  }

  .x2-j-eighth-screen__icon img {
    width: 33px;
    height: 40px;
  }

  .x2-j-eighth-screen__icon_trains img {
    width: 33px;
  }

  .x2-j-eighth-screen__fact-text {
    font-size: 15px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-eighth-screen .home-slider__content {
    position: absolute;
    inset: 0;
  }

  .x2-j-eighth-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* Отдельного макета 686 нет: колонка текст → фото и плашка под ним. Шапка не входит. Вход без анимации. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-eighth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-eighth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-eighth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 32px;
    gap: 20px;
    transform: none;
  }

  .x2-j-eighth-screen__intro {
    gap: 20px;
  }

  .x2-j-eighth-screen__heading {
    gap: 4px;
  }

  .x2-j-eighth-screen__mark {
    height: 4px;
  }

  .x2-j-eighth-screen__label {
    font-size: 14px;
  }

  .x2-j-eighth-screen__title {
    font-size: 28px;
  }

  .x2-j-eighth-screen__line {
    display: inline;
  }

  .x2-j-eighth-screen__line:not(:first-child)::before {
    content: " ";
  }

  .x2-j-eighth-screen__techs {
    gap: 24px;
  }

  .x2-j-eighth-screen__tech {
    gap: 16px;
  }

  .x2-j-eighth-screen__tech-copy {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    gap: 8px;
  }

  .x2-j-eighth-screen__tech-title {
    font-size: 18px;
  }

  .x2-j-eighth-screen__tech-title_narrow {
    width: auto;
  }

  .x2-j-eighth-screen__tech-text {
    font-size: 15px;
  }

  .x2-j-eighth-screen__aside {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0 32px 48px;
  }

  .x2-j-eighth-screen__photo-wrap {
    flex: 0 0 auto;
    height: 360px;
  }

  .x2-j-eighth-screen__motion,
  .x2-j-eighth-screen__motion_on,
  .x2-j-eighth-screen__panel,
  .x2-j-eighth-screen__panel.x2-j-eighth-screen__motion_on {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-eighth-screen__motion_photo {
    position: absolute;
    inset: 0;
  }

  .x2-j-eighth-screen__photo {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .x2-j-eighth-screen__panel {
    flex: 0 0 auto;
    height: auto;
    align-items: stretch;
    padding: 32px;
  }

  .x2-j-eighth-screen__panel-body {
    gap: 20px;
  }

  .x2-j-eighth-screen__panel-title {
    font-size: 26px;
    letter-spacing: 0.52px;
  }

  .x2-j-eighth-screen__facts {
    column-gap: 16px;
    width: 100%;
  }

  .x2-j-eighth-screen__fact {
    padding-bottom: 16px;
  }

  .x2-j-eighth-screen__icon {
    flex: 0 0 40px;
    height: 40px;
  }

  .x2-j-eighth-screen__icon img {
    width: 33px;
    height: 40px;
  }

  .x2-j-eighth-screen__icon_trains img {
    width: 33px;
  }

  .x2-j-eighth-screen__fact-text {
    font-size: 15px;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Вход здесь без анимации. */
@media (max-width: 685px) {
  .x2-j-eighth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-eighth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-eighth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 20px;
    gap: 20px;
    transform: none;
  }

  .x2-j-eighth-screen__intro {
    gap: 20px;
  }

  .x2-j-eighth-screen__heading {
    gap: 4px;
  }

  .x2-j-eighth-screen__mark {
    height: 4px;
  }

  .x2-j-eighth-screen__label {
    font-size: 14px;
  }

  .x2-j-eighth-screen__title {
    font-size: 24px;
  }

  .x2-j-eighth-screen__line {
    display: inline;
  }

  .x2-j-eighth-screen__line:not(:first-child)::before {
    content: " ";
  }

  .x2-j-eighth-screen__techs {
    gap: 20px;
  }

  .x2-j-eighth-screen__tech {
    flex-direction: column;
    gap: 16px;
  }

  .x2-j-eighth-screen__tech-picture {
    flex: 0 0 auto;
    width: 100%;
    height: 232px;
  }

  .x2-j-eighth-screen__tech-copy {
    flex: 0 0 auto;
    width: 100%;
    gap: 8px;
  }

  .x2-j-eighth-screen__tech-title {
    font-size: 18px;
  }

  .x2-j-eighth-screen__tech-title_narrow {
    width: auto;
  }

  .x2-j-eighth-screen__tech-text {
    font-size: 16px;
  }

  .x2-j-eighth-screen__aside {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0;
  }

  .x2-j-eighth-screen__photo-wrap {
    flex: 0 0 auto;
    height: 232px;
  }

  .x2-j-eighth-screen__motion,
  .x2-j-eighth-screen__motion_on,
  .x2-j-eighth-screen__panel,
  .x2-j-eighth-screen__panel.x2-j-eighth-screen__motion_on {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-eighth-screen__motion_photo {
    position: absolute;
    inset: 0;
  }

  .x2-j-eighth-screen__photo {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .x2-j-eighth-screen__panel {
    flex: 0 0 auto;
    height: auto;
    align-items: stretch;
    padding: 24px 16px;
  }

  .x2-j-eighth-screen__panel-body {
    gap: 20px;
  }

  .x2-j-eighth-screen__panel-title {
    font-size: 20px;
    letter-spacing: 0.4px;
  }

  .x2-j-eighth-screen__facts {
    column-gap: 12px;
    row-gap: 12px;
    width: 100%;
  }

  .x2-j-eighth-screen__fact {
    padding-bottom: 16px;
  }

  .x2-j-eighth-screen__icon {
    flex: 0 0 40px;
    height: 40px;
  }

  .x2-j-eighth-screen__icon img {
    width: 33px;
    height: 40px;
  }

  .x2-j-eighth-screen__icon_trains img {
    width: 33px;
  }

  .x2-j-eighth-screen__fact-text {
    font-size: 15px;
  }
}








.x2-j-ninth-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */
.x2-j-ninth-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
  container-type: size;
}

.x2-j-ninth-screen__background {
  position: absolute;
  inset: 0;
  background: #fff;
}

.x2-j-ninth-screen__main {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 172 / 952);
  width: 1656px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  z-index: 1;
  color: #282929;
}

.x2-j-ninth-screen__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.x2-j-ninth-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-ninth-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-ninth-screen__label,
.x2-j-ninth-screen__title,
.x2-j-ninth-screen__column-title,
.x2-j-ninth-screen__item-text {
  margin: 0;
}

.x2-j-ninth-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.x2-j-ninth-screen__title {
  width: 1487px;
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-ninth-screen__title .x2-j-ninth-screen__accent {
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-ninth-screen__accent {
  color: #0d9344;
}

.x2-j-ninth-screen__slider {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.x2-j-ninth-screen__slider .swiper-wrapper {
  align-items: flex-start;
}

/* Анимация на внутреннем блоке: у .swiper-slide на проекте transform перебивается (backface-hidden). */
.x2-j-ninth-screen__slide {
  height: auto;
  box-sizing: border-box;
}

.x2-j-ninth-screen__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: auto;
  gap: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(var(--x2-j-shift, 596px));
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1650ms);
  transition-delay: var(--x2-j-delay, 0ms), var(--x2-j-delay, 0ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1), cubic-bezier(0.42, 0, 0.58, 1);
  box-sizing: border-box;
}

.x2-j-ninth-screen__column_tight {
  gap: 18px;
}

.x2-j-ninth-screen__column_on {
  opacity: 1;
  transform: translateY(0);
}

.x2-j-ninth-screen__picture {
  position: relative;
  display: block;
  width: 100%;
  height: 240px;
  margin: 0;
  overflow: hidden;
  flex: 0 0 auto;
}

.x2-j-ninth-screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-ninth-screen__column-title {
  width: 100%;
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: 0.34px;
  color: #0d9344;
}

.x2-j-ninth-screen__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.x2-j-ninth-screen__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.x2-j-ninth-screen__bullet {
  position: relative;
  flex: 0 0 10px;
  width: 10px;
  height: 23px;
  overflow: hidden;
}

.x2-j-ninth-screen__bullet::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8.5px;
  width: 6px;
  height: 6px;
  background: #0d9344;
}

.x2-j-ninth-screen__item-text {
  flex: 1 1 auto;
  min-width: 0;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.15;
}

.x2-j-ninth-screen__controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.x2-j-ninth-screen__switchers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.x2-j-ninth-screen__switch {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.x2-j-ninth-screen__switch img {
  display: block;
  width: 48px;
  height: 48px;
}

.x2-j-ninth-screen__switch_next img {
  transform: rotate(180deg);
}

.x2-j-ninth-screen__amount {
  box-sizing: border-box;
  min-width: 48px;
  height: 48px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #015689;
  color: #fff;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Композиция 1280. Шапка в макет не входит. */
@media (max-width: 1919px) {
  .x2-j-ninth-screen__frame {
    max-width: 1280px;
  }

  .x2-j-ninth-screen__main {
    left: 32px;
    top: calc(50% + 64px);
    width: 1216px;
    gap: 20px;
    transform: translateY(-50%);
  }

  .x2-j-ninth-screen__intro {
    gap: 20px;
  }

  .x2-j-ninth-screen__heading {
    gap: 4px;
  }

  .x2-j-ninth-screen__mark {
    height: 4px;
  }

  .x2-j-ninth-screen__label {
    font-size: 14px;
  }

  .x2-j-ninth-screen__title {
    width: 100%;
    font-size: 28px;
  }

  .x2-j-ninth-screen__column {
    gap: 12px;
  }

  .x2-j-ninth-screen__column_tight {
    gap: 12px;
  }

  .x2-j-ninth-screen__column-title {
    font-size: 15px;
    letter-spacing: 0.3px;
  }

  .x2-j-ninth-screen__item-text {
    font-size: 15px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-ninth-screen .home-slider__content {
    position: absolute;
    inset: 0;
  }

  .x2-j-ninth-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* Отдельного макета 686 нет: как у 5-го — колонка + один слайдер карточек. Шапка не входит. Вход без анимации. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-ninth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-ninth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-ninth-screen__main {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 48px;
    gap: 24px;
    transform: none;
  }

  .x2-j-ninth-screen__intro {
    gap: 20px;
  }

  .x2-j-ninth-screen__heading {
    gap: 4px;
  }

  .x2-j-ninth-screen__mark {
    height: 4px;
  }

  .x2-j-ninth-screen__label {
    font-size: 14px;
  }

  .x2-j-ninth-screen__title {
    width: 100%;
    font-size: 28px;
  }

  .x2-j-ninth-screen__slider {
    overflow: hidden;
  }

  .x2-j-ninth-screen__column,
  .x2-j-ninth-screen__column.x2-j-ninth-screen__column_on {
    width: 100%;
    gap: 12px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-ninth-screen__column_tight {
    gap: 12px;
  }

  .x2-j-ninth-screen__picture {
    height: 276px;
  }

  .x2-j-ninth-screen__column-title {
    font-size: 15px;
    letter-spacing: 0.3px;
  }

  .x2-j-ninth-screen__item-text {
    font-size: 15px;
  }

  .x2-j-ninth-screen__controls {
    display: flex;
  }

  .x2-j-ninth-screen__switch {
    width: 52px;
    height: 52px;
  }

  .x2-j-ninth-screen__switch img {
    width: 52px;
    height: 52px;
  }

  .x2-j-ninth-screen__amount {
    min-width: 52px;
    height: 52px;
    font-size: 16px;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Карточки — слайдер. Вход без анимации. */
@media (max-width: 685px) {
  .x2-j-ninth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-ninth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-ninth-screen__main {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 24px;
    gap: 20px;
    transform: none;
  }

  .x2-j-ninth-screen__intro {
    gap: 20px;
  }

  .x2-j-ninth-screen__heading {
    gap: 4px;
  }

  .x2-j-ninth-screen__mark {
    height: 4px;
  }

  .x2-j-ninth-screen__label {
    font-size: 14px;
  }

  .x2-j-ninth-screen__title {
    width: 100%;
    font-size: 24px;
  }

  .x2-j-ninth-screen__slider {
    overflow: hidden;
  }

  .x2-j-ninth-screen__column,
  .x2-j-ninth-screen__column.x2-j-ninth-screen__column_on {
    width: 100%;
    gap: 12px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-ninth-screen__column_tight {
    gap: 12px;
  }

  .x2-j-ninth-screen__picture {
    height: 232px;
  }

  .x2-j-ninth-screen__column-title {
    font-size: 15px;
    letter-spacing: 0.3px;
  }

  .x2-j-ninth-screen__item-text {
    font-size: 15px;
  }

  .x2-j-ninth-screen__controls {
    display: flex;
  }

  .x2-j-ninth-screen__switch {
    width: 48px;
    height: 48px;
  }

  .x2-j-ninth-screen__switch img {
    width: 48px;
    height: 48px;
  }

  .x2-j-ninth-screen__amount {
    min-width: 48px;
    height: 48px;
    font-size: 14px;
  }
}










.x2-j-tenth-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */
.x2-j-tenth-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
  container-type: size;
}

.x2-j-tenth-screen__background {
  position: absolute;
  inset: 0;
  background: #fff;
}

.x2-j-tenth-screen__copy {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 327 / 952);
  width: 757px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  z-index: 1;
  color: #282929;
}

.x2-j-tenth-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-tenth-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-tenth-screen__label,
.x2-j-tenth-screen__title,
.x2-j-tenth-screen__slide-title,
.x2-j-tenth-screen__slide-lead,
.x2-j-tenth-screen__slide-text {
  margin: 0;
}

.x2-j-tenth-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.x2-j-tenth-screen__title {
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-tenth-screen__title .x2-j-tenth-screen__accent {
  font-family: EurostileWebblackextendedplus, sans-serif;
}

.x2-j-tenth-screen__accent {
  color: #0d9344;
}

.x2-j-tenth-screen__aside {
  position: absolute;
  left: 976px;
  top: 0;
  bottom: 0;
  width: 944px;
  z-index: 1;
}

.x2-j-tenth-screen__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.x2-j-tenth-screen__slider .swiper-wrapper {
  height: 100%;
}

.x2-j-tenth-screen__slider .swiper-slide {
  height: 100%;
  box-sizing: border-box;
}

.x2-j-tenth-screen__slider.swiper-fade .swiper-slide {
  pointer-events: none;
}

.x2-j-tenth-screen__slider.swiper-fade .swiper-slide-active {
  pointer-events: auto;
}

.x2-j-tenth-screen__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.x2-j-tenth-screen__photo-wrap {
  position: relative;
  flex: 0 0 calc(496 / 952 * 100%);
  height: calc(496 / 952 * 100%);
  min-height: 0;
  overflow: hidden;
}

.x2-j-tenth-screen__motion {
  opacity: 0;
  transform: translate3d(0, var(--x2-j-y, 0), 0);
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1650ms);
  transition-delay: var(--x2-j-delay, 0ms), var(--x2-j-delay, 0ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1), cubic-bezier(0.42, 0, 0.58, 1);
}

.x2-j-tenth-screen__motion_photo {
  position: absolute;
  inset: 0;
  --x2-j-y: calc(-586 * 100cqh / 952);
}

.x2-j-tenth-screen__motion_on {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.x2-j-tenth-screen__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  overflow: hidden;
}

.x2-j-tenth-screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-tenth-screen__photo_fish {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: auto;
  bottom: auto;
  object-fit: cover;
}

.x2-j-tenth-screen__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.x2-j-tenth-screen__panel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 100px 10px 52px;
  background: #044b76;
  color: #fff;
  overflow: hidden;
  --x2-j-y: calc(494 * 100cqh / 952);
}

.x2-j-tenth-screen__panel-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 742px;
  height: 100%;
}

.x2-j-tenth-screen__slide-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.x2-j-tenth-screen__slide-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.x2-j-tenth-screen__slide-title {
  width: 100%;
  font-family: EurostileWebboldplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
}

.x2-j-tenth-screen__slide-lead {
  width: 100%;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.15;
  color: #fff;
}

.x2-j-tenth-screen__slide-text {
  width: 728px;
  max-width: 100%;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
}

.x2-j-tenth-screen__slider.swiper-horizontal>.x2-j-tenth-screen__pagination.swiper-pagination-bullets,
.x2-j-tenth-screen__pagination {
  --swiper-pagination-bullet-size: 6px;
  --swiper-pagination-bullet-horizontal-gap: 0px;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: 0.3;
  --swiper-pagination-color: #fff;
  --swiper-pagination-bottom: auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 6px;
  margin: 0;
  transform: none;
  line-height: 0;
}

.x2-j-tenth-screen__pagination.swiper-pagination-lock {
  display: flex;
}

.x2-j-tenth-screen__pagination .swiper-pagination-bullet:only-child {
  display: inline-block !important;
}

.x2-j-tenth-screen__pagination.swiper-pagination-horizontal .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0.3;
  transition: width 0.3s ease, border-radius 0.3s ease, opacity 0.3s ease;
}

.x2-j-tenth-screen__pagination.swiper-pagination-horizontal .swiper-pagination-bullet-active {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  opacity: 1;
}

/* Композиция 1280. Шапка в макет не входит. */
@media (max-width: 1919px) {
  .x2-j-tenth-screen__frame {
    max-width: 1280px;
  }

  .x2-j-tenth-screen__copy {
    left: 32px;
    top: calc(50% + 0.5px);
    width: 594px;
    gap: 24px;
    transform: translateY(-50%);
  }

  .x2-j-tenth-screen__heading {
    gap: 4px;
  }

  .x2-j-tenth-screen__mark {
    height: 4px;
  }

  .x2-j-tenth-screen__label {
    font-size: 14px;
  }

  .x2-j-tenth-screen__title {
    font-size: 28px;
  }

  .x2-j-tenth-screen__aside {
    left: 654px;
    width: 626px;
  }

  .x2-j-tenth-screen__photo-wrap {
    flex: 0 0 calc(416 / 832 * 100%);
    height: calc(416 / 832 * 100%);
  }

  .x2-j-tenth-screen__motion_photo {
    --x2-j-y: calc(-512 * 100cqh / 832);
  }

  /* .x2-j-tenth-screen__photo_fish {
    width: 143.28%;
    height: 161.36%;
    left: -24.85%;
    top: -17.47%;
  } */

  .x2-j-tenth-screen__panel {
    flex: 0 0 calc(416 / 832 * 100%);
    height: calc(416 / 832 * 100%);
    padding: 52px 16px;
    --x2-j-y: calc(432 * 100cqh / 832);
  }

  .x2-j-tenth-screen__panel-inner {
    width: 577px;
    max-width: 100%;
  }

  .x2-j-tenth-screen__slide-content {
    gap: 20px;
  }

  .x2-j-tenth-screen__slide-title {
    font-size: 32px;
    letter-spacing: 0.64px;
  }

  .x2-j-tenth-screen__slide-lead {
    font-size: 16px;
  }

  .x2-j-tenth-screen__slide-text {
    width: 100%;
    font-size: 18px;
  }

  .x2-j-tenth-screen__slider.swiper-horizontal>.x2-j-tenth-screen__pagination.swiper-pagination-bullets,
  .x2-j-tenth-screen__pagination {
    bottom: 52px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-tenth-screen .home-slider__content {
    position: absolute;
    inset: 0;
  }

  .x2-j-tenth-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* Отдельного макета 686 нет: колонка текст → фото/плашка. Шапка не входит. Вход без анимации. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-tenth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-tenth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-tenth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 32px;
    gap: 20px;
    transform: none;
  }

  .x2-j-tenth-screen__heading {
    gap: 4px;
  }

  .x2-j-tenth-screen__mark {
    height: 4px;
  }

  .x2-j-tenth-screen__label {
    font-size: 14px;
  }

  .x2-j-tenth-screen__title {
    font-size: 28px;
  }

  .x2-j-tenth-screen__aside {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0 32px 48px;
  }

  .x2-j-tenth-screen__slider {
    position: relative;
    inset: auto;
    height: auto;
  }

  .x2-j-tenth-screen__slider .swiper-wrapper,
  .x2-j-tenth-screen__slider .swiper-slide {
    height: auto;
  }

  .x2-j-tenth-screen__card {
    height: auto;
  }

  .x2-j-tenth-screen__photo-wrap {
    flex: 0 0 auto;
    height: 360px;
  }

  .x2-j-tenth-screen__motion,
  .x2-j-tenth-screen__motion_on,
  .x2-j-tenth-screen__panel,
  .x2-j-tenth-screen__panel.x2-j-tenth-screen__motion_on {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-tenth-screen__motion_photo {
    position: absolute;
    inset: 0;
  }

  .x2-j-tenth-screen__photo {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  /* .x2-j-tenth-screen__photo_fish {
    width: 143.28%;
    height: 161.36%;
    left: -24.85%;
    top: -17.47%;
    right: auto;
    bottom: auto;
  } */

  .x2-j-tenth-screen__panel {
    flex: 0 0 auto;
    height: auto;
    min-height: 280px;
    align-items: stretch;
    padding: 32px 16px 55px;
  }

  .x2-j-tenth-screen__panel-inner {
    width: 100%;
    height: auto;
  }

  .x2-j-tenth-screen__slide-content {
    gap: 16px;
  }

  .x2-j-tenth-screen__slide-title {
    font-size: 28px;
    letter-spacing: 0.56px;
  }

  .x2-j-tenth-screen__slide-lead {
    font-size: 16px;
  }

  .x2-j-tenth-screen__slide-text {
    width: 100%;
    font-size: 18px;
  }

  .x2-j-tenth-screen__slider.swiper-horizontal>.x2-j-tenth-screen__pagination.swiper-pagination-bullets,
  .x2-j-tenth-screen__pagination {
    bottom: 32px;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Соседние слайды — только заголовок в плашке. Вход без анимации. */
@media (max-width: 685px) {
  .x2-j-tenth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-tenth-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-tenth-screen__copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 24px;
    gap: 20px;
    transform: none;
  }

  .x2-j-tenth-screen__heading {
    gap: 4px;
  }

  .x2-j-tenth-screen__mark {
    height: 4px;
  }

  .x2-j-tenth-screen__label {
    font-size: 14px;
  }

  .x2-j-tenth-screen__title {
    font-size: 24px;
  }

  .x2-j-tenth-screen__aside {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin: 0;
  }

  .x2-j-tenth-screen__slider {
    position: relative;
    inset: auto;
    height: auto;
  }

  .x2-j-tenth-screen__slider .swiper-wrapper,
  .x2-j-tenth-screen__slider .swiper-slide {
    height: auto;
  }

  .x2-j-tenth-screen__card {
    height: auto;
  }

  .x2-j-tenth-screen__photo-wrap {
    flex: 0 0 auto;
    height: 312px;
  }

  .x2-j-tenth-screen__motion,
  .x2-j-tenth-screen__motion_on,
  .x2-j-tenth-screen__panel,
  .x2-j-tenth-screen__panel.x2-j-tenth-screen__motion_on {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-tenth-screen__motion_photo {
    position: absolute;
    inset: 0;
  }

  .x2-j-tenth-screen__photo {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  /* .x2-j-tenth-screen__photo_fish {
    width: 143.28%;
    height: 161.36%;
    left: -24.85%;
    top: -17.47%;
    right: auto;
    bottom: auto;
  } */

  .x2-j-tenth-screen__panel {
    flex: 0 0 auto;
    height: auto;
    min-height: 266px;
    align-items: stretch;
    padding: 24px 16px 45px;
  }

  .x2-j-tenth-screen__panel-inner {
    width: 100%;
    height: auto;
  }

  .x2-j-tenth-screen__slide-content {
    gap: 12px;
  }

  .x2-j-tenth-screen__slide-title {
    font-size: 24px;
    letter-spacing: 0.48px;
  }

  .x2-j-tenth-screen__slide-lead {
    font-size: 15px;
  }

  .x2-j-tenth-screen__slide-text {
    width: 100%;
    font-size: 16px;
  }

  .x2-j-tenth-screen__slider.swiper-horizontal>.x2-j-tenth-screen__pagination.swiper-pagination-bullets,
  .x2-j-tenth-screen__pagination {
    bottom: 24px;
  }
}








.x2-j-eleventh-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #015689 !important;
}

/* Кадр макета 1920. На более широком окне композиция остаётся этой ширины и стоит по центру. */
.x2-j-eleventh-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
  container-type: size;
}

.x2-j-eleventh-screen__background {
  position: absolute;
  inset: 0;
  background: #015689;
}

.x2-j-eleventh-screen__main {
  position: absolute;
  left: 132px;
  top: calc(var(--vh, 100vh) * 172 / 952);
  width: 1658px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  z-index: 1;
  color: #fff;
}

.x2-j-eleventh-screen__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.x2-j-eleventh-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-eleventh-screen__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.x2-j-eleventh-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-eleventh-screen__label,
.x2-j-eleventh-screen__title,
.x2-j-eleventh-screen__lead,
.x2-j-eleventh-screen__card-title,
.x2-j-eleventh-screen__card-text {
  margin: 0;
}

.x2-j-eleventh-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.x2-j-eleventh-screen__title {
  width: 1482px;
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-eleventh-screen__lead {
  width: 1454px;
  font-family: EurostileWebmediumplus, sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.15;
}

.x2-j-eleventh-screen__slider {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.x2-j-eleventh-screen__slider .swiper-wrapper {
  align-items: flex-start;
}

/* Анимация на внутреннем блоке: у .swiper-slide на проекте transform перебивается (backface-hidden). */
.x2-j-eleventh-screen__slide {
  height: auto;
  box-sizing: border-box;
}

.x2-j-eleventh-screen__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 475px;
  padding: 24px;
  box-sizing: border-box;
  background: #044b76;
  overflow: hidden;
  opacity: 0;
  transform: translateY(var(--x2-j-shift, 596px));
  transition-property: opacity, transform;
  transition-duration: var(--x2-j-opacity-duration, 1150ms), var(--x2-j-move-duration, 1650ms);
  transition-delay: var(--x2-j-delay, 0ms), var(--x2-j-delay, 0ms);
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1), cubic-bezier(0.42, 0, 0.58, 1);
}

.x2-j-eleventh-screen__card_on {
  opacity: 1;
  transform: translateY(0);
}

.x2-j-eleventh-screen__card-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  height: 100%;
}

.x2-j-eleventh-screen__picture {
  position: relative;
  display: block;
  width: 100%;
  height: 252px;
  margin: 0;
  overflow: hidden;
  flex: 0 0 auto;
}

.x2-j-eleventh-screen__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-eleventh-screen__card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.x2-j-eleventh-screen__card-title {
  width: 100%;
  font-family: EurostileWebboldplus, sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
}

.x2-j-eleventh-screen__card-text {
  width: 100%;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.15;
  color: #fff;
}

.x2-j-eleventh-screen__controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.x2-j-eleventh-screen__switchers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.x2-j-eleventh-screen__switch {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.x2-j-eleventh-screen__switch img {
  display: block;
  width: 48px;
  height: 48px;
}

.x2-j-eleventh-screen__switch_next img {
  transform: rotate(180deg);
}

.x2-j-eleventh-screen__amount {
  box-sizing: border-box;
  min-width: 48px;
  height: 48px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #044b76;
  color: #fff;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1919px) {
  .x2-j-eleventh-screen__frame {
    max-width: 1280px;
  }

  .x2-j-eleventh-screen__main {
    left: 32px;
    top: 116px;
    /* top: calc(var(--vh, 100vh) * 116 / 832); */
    width: 1216px;
    gap: 24px;
  }

  .x2-j-eleventh-screen__intro {
    gap: 20px;
  }

  .x2-j-eleventh-screen__heading {
    gap: 4px;
  }

  .x2-j-eleventh-screen__copy {
    gap: 20px;
  }

  .x2-j-eleventh-screen__mark {
    height: 4px;
  }

  .x2-j-eleventh-screen__label {
    font-size: 14px;
  }

  .x2-j-eleventh-screen__title {
    width: 100%;
    font-size: 28px;
  }

  .x2-j-eleventh-screen__lead {
    width: 100%;
    font-size: 18px;
  }

  .x2-j-eleventh-screen__card {
    height: 485px;
  }

  .x2-j-eleventh-screen__picture {
    height: 220px;
  }

  .x2-j-eleventh-screen__card-title {
    font-size: 18px;
  }

  .x2-j-eleventh-screen__card-text {
    font-size: 16px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-eleventh-screen .home-slider__content {
    position: absolute;
    inset: 0;
  }

  .x2-j-eleventh-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* Отдельного макета 686 нет: как у 9-го — колонка + один слайдер карточек. Шапка не входит. Вход без анимации. */
@media (max-width: 999px) and (min-width: 686px) {

  .x2-j-eleventh-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-eleventh-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-eleventh-screen__main {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 108px 32px 48px;
    gap: 24px;
  }

  .x2-j-eleventh-screen__intro {
    gap: 20px;
  }

  .x2-j-eleventh-screen__heading {
    gap: 4px;
  }

  .x2-j-eleventh-screen__copy {
    gap: 20px;
  }

  .x2-j-eleventh-screen__mark {
    height: 4px;
  }

  .x2-j-eleventh-screen__label {
    font-size: 14px;
  }

  .x2-j-eleventh-screen__title {
    width: 100%;
    font-size: 28px;
  }

  .x2-j-eleventh-screen__lead {
    width: 100%;
    font-size: 18px;
  }

  .x2-j-eleventh-screen__slider {
    overflow: hidden;
  }

  .x2-j-eleventh-screen__card,
  .x2-j-eleventh-screen__card.x2-j-eleventh-screen__card_on {
    height: auto;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-eleventh-screen__picture {
    height: 276px;
  }

  .x2-j-eleventh-screen__card-title {
    font-size: 18px;
  }

  .x2-j-eleventh-screen__card-text {
    font-size: 16px;
  }

  .x2-j-eleventh-screen__controls {
    display: flex;
  }

  .x2-j-eleventh-screen__switch {
    width: 52px;
    height: 52px;
  }

  .x2-j-eleventh-screen__switch img {
    width: 52px;
    height: 52px;
  }

  .x2-j-eleventh-screen__amount {
    min-width: 52px;
    height: 52px;
    font-size: 16px;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. Карточки — слайдер. Вход без анимации. */
@media (max-width: 685px) {
  .x2-j-eleventh-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-eleventh-screen .home-slider__section-scroller {
    position: relative;
    z-index: 11;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .x2-j-eleventh-screen__main {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 65px 16px 24px;
    gap: 20px;
  }

  .x2-j-eleventh-screen__intro {
    gap: 20px;
  }

  .x2-j-eleventh-screen__heading {
    gap: 4px;
  }

  .x2-j-eleventh-screen__copy {
    gap: 20px;
  }

  .x2-j-eleventh-screen__mark {
    height: 4px;
  }

  .x2-j-eleventh-screen__label {
    font-size: 14px;
  }

  .x2-j-eleventh-screen__title {
    width: 100%;
    font-size: 24px;
  }

  .x2-j-eleventh-screen__lead {
    width: 100%;
    font-size: 16px;
  }

  .x2-j-eleventh-screen__slider {
    overflow: hidden;
  }

  .x2-j-eleventh-screen__card,
  .x2-j-eleventh-screen__card.x2-j-eleventh-screen__card_on {
    height: auto;
    padding: 16px;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .x2-j-eleventh-screen__picture {
    height: 232px;
  }

  .x2-j-eleventh-screen__card-title {
    font-size: 18px;
  }

  .x2-j-eleventh-screen__card-text {
    font-size: 16px;
  }

  .x2-j-eleventh-screen__controls {
    display: flex;
  }

  .x2-j-eleventh-screen__switch {
    width: 48px;
    height: 48px;
  }

  .x2-j-eleventh-screen__switch img {
    width: 48px;
    height: 48px;
  }

  .x2-j-eleventh-screen__amount {
    min-width: 48px;
    height: 48px;
    font-size: 14px;
  }
}














.x2-j-twelfth-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #000;
}

/* Слайдер на весь экран: в каждом слайде свой фон. Заголовок лежит поверх и не листается. */
.x2-j-twelfth-screen__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 0;
}

.x2-j-twelfth-screen__slider .swiper-wrapper,
.x2-j-twelfth-screen__slider .swiper-slide {
  height: 100%;
}

.x2-j-twelfth-screen__slider .swiper-slide {
  overflow: hidden;
}

.x2-j-twelfth-screen__slider.swiper-fade .swiper-slide {
  pointer-events: none;
}

.x2-j-twelfth-screen__slider.swiper-fade .swiper-slide-active {
  pointer-events: auto;
}

/* Фон на всю ширину слайда, не ограничен кадром 1920. */
.x2-j-twelfth-screen__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Кадр макета 1920 только для контента. На более широком окне стоит по центру. */
.x2-j-twelfth-screen__frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1920px;
  margin: auto;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.x2-j-twelfth-screen__frame_heading {
  z-index: 2;
}

.x2-j-twelfth-screen__pin {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.x2-j-twelfth-screen__switch {
  pointer-events: auto;
}

.x2-j-twelfth-screen__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  overflow: hidden;
}

.x2-j-twelfth-screen__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.x2-j-twelfth-screen__shade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(270deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
}

.x2-j-twelfth-screen__main {
  position: absolute;
  left: 132px;
  top: 172px;
  width: 812px;
  height: 728px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 1;
  color: #fff;
}

.x2-j-twelfth-screen__main_copy {
  top: auto;
  height: auto;
  bottom: 140px;
}

.x2-j-twelfth-screen__main_heading {
  height: auto;
  justify-content: flex-start;
}

.x2-j-twelfth-screen__main_controls {
  top: auto;
  height: 52px;
  bottom: 52px;
  pointer-events: none;
}

.x2-j-twelfth-screen__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.x2-j-twelfth-screen__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.x2-j-twelfth-screen__mark {
  width: 108px;
  height: 6px;
  background: #0d9344;
}

.x2-j-twelfth-screen__label,
.x2-j-twelfth-screen__title,
.x2-j-twelfth-screen__text {
  margin: 0;
}

.x2-j-twelfth-screen__label {
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

.x2-j-twelfth-screen__title {
  width: 100%;
  font-family: EurostileWebblackextendedplus, sans-serif;
  font-weight: normal;
  font-size: 40px;
  line-height: 1.2;
}

.x2-j-twelfth-screen__description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  width: 100%;
}

.x2-j-twelfth-screen__text {
  width: 100%;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 24px;
  line-height: 1.15;
  color: #fff;
}

.x2-j-twelfth-screen__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.x2-j-twelfth-screen__switchers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.x2-j-twelfth-screen__switch {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.x2-j-twelfth-screen__switch img {
  display: block;
  width: 52px;
  height: 52px;
}

.x2-j-twelfth-screen__switch_next img {
  transform: rotate(180deg);
}

.x2-j-twelfth-screen__amount {
  position: static;
  box-sizing: border-box;
  width: auto;
  min-width: 52px;
  height: 52px;
  margin: 0;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  font-family: EurostileWebregularplus, sans-serif;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Макет 1280×832: ниже 1920 сразу композиция 1280; фон по-прежнему на весь слайд. */
@media (max-width: 1919px) {
  .x2-j-twelfth-screen__frame {
    max-width: 1280px;
  }

  .x2-j-twelfth-screen__main {
    left: 32px;
    top: calc(var(--vh, 100vh) * 116 / 832);
    width: 594px;
    height: calc(var(--vh, 100vh) * 684 / 832);
  }

  .x2-j-twelfth-screen__intro {
    gap: 24px;
  }

  .x2-j-twelfth-screen__heading {
    gap: 4px;
  }

  .x2-j-twelfth-screen__mark {
    height: 4px;
  }

  .x2-j-twelfth-screen__label {
    font-size: 14px;
  }

  .x2-j-twelfth-screen__title {
    font-size: 28px;
  }

  .x2-j-twelfth-screen__main_copy {
    top: auto;
    height: auto;
    bottom: 116px;
  }

  .x2-j-twelfth-screen__main_controls {
    top: auto;
    height: 52px;
    bottom: 32px;
  }

  .x2-j-twelfth-screen__description {
    gap: 32px;
  }

  .x2-j-twelfth-screen__text {
    font-size: 20px;
  }
}

/* От 1000 до 1279 кадр 1280 сжимается под ширину окна, по центру. */
@media (max-width: 1279px) and (min-width: 1000px) {
  .x2-j-twelfth-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* 686–999: отдельного макета нет — как у 1-го, продолжаем scale кадра 1280. */
@media (max-width: 999px) and (min-width: 686px) {
  .x2-j-twelfth-screen__frame {
    width: 1280px;
    max-width: none;
    right: auto;
    bottom: auto;
    left: 50%;
    top: 50%;
    height: calc(100% * 1280px / 100vw);
    margin: 0;
    transform: translate(-50%, -50%) scale(calc(100vw / 1280px));
    transform-origin: center center;
  }
}

/* Мобильный кадр 390. Шапка сайта на этот слайд не входит. */
@media (max-width: 685px) {
  .x2-j-twelfth-screen__frame {
    max-width: none;
    transform: none;
  }

  .x2-j-twelfth-screen__main {
    left: 16px;
    top: calc(var(--vh, 100vh) * 88 / 844);
    width: calc(100% - 32px);
    height: calc(var(--vh, 100vh) * 732 / 844);
  }

  .x2-j-twelfth-screen__intro {
    gap: 20px;
  }

  .x2-j-twelfth-screen__heading {
    gap: 4px;
  }

  .x2-j-twelfth-screen__mark {
    height: 4px;
  }

  .x2-j-twelfth-screen__label {
    font-size: 14px;
  }

  .x2-j-twelfth-screen__title {
    font-size: 24px;
  }

  .x2-j-twelfth-screen__main_copy {
    top: auto;
    height: auto;
    bottom: 100px;
  }

  .x2-j-twelfth-screen__main_controls {
    top: auto;
    height: 48px;
    bottom: 24px;
  }

  .x2-j-twelfth-screen__description {
    gap: 28px;
  }

  .x2-j-twelfth-screen__text {
    font-size: 17px;
  }

  .x2-j-twelfth-screen__switch {
    width: 48px;
    height: 48px;
  }

  .x2-j-twelfth-screen__switch img {
    width: 48px;
    height: 48px;
  }

  .x2-j-twelfth-screen__amount {
    min-width: 48px;
    height: 48px;
  }
}