html {
  font-size: 1px;
}
@media screen and (max-width: 1440px) and (min-width: 860px) {
  html {
    font-size: 0.0694444444vw;
  }
}
@media screen and (max-width: 859px) {
  html {
    font-size: 0.2564102564vw;
  }
}

body * {
  box-sizing: border-box;
}

main.case-iv {
  padding-bottom: 80rem;
  background: #fff;
  color: #000;
  font-family: 'Ubuntu Regular', sans-serif;
  overflow-x: hidden;
}

.iv-inner {
  margin: 0 auto;
  width: 100%;
  max-width: 1440rem;
  padding: 0 60rem;
}

.iv-container-1050 {
  max-width: 1050rem;
}

.iv-h2 {
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  font-size: 48rem;
  line-height: 1.15;
  color: #000;
  text-align: center;
  margin: 0;
}

/* 1. Hero */
.iv-hero {
  position: relative;
  width: 100%;
  height: 666rem;
  overflow: hidden;
  background: url('../img/hero_backdrop.jpg') no-repeat center / cover;
}
.iv-hero__stage {
  position: relative;
  width: 100%;
  max-width: 1440rem;
  height: 100%;
  margin: 0 auto;
}
.iv-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iv-hero__title-box {
  position: absolute;
  top: 118rem;
  left: 0;
  width: 535rem;
  min-height: 135rem;
  padding: 28rem 48rem 28rem 60rem;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(12rem);
          backdrop-filter: blur(12rem);
  box-shadow: 0 0 40rem rgba(0, 0, 0, 0.12);
  border-radius: 0 10rem 10rem 0;
  z-index: 3;
}
@media screen and (min-width: 1441px) {
  .iv-hero__bg {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  }
  .iv-hero__title-box {
    width: calc(50vw - 720px + 535px);
    padding-left: calc(50vw - 720px + 60px);
  }
}
.iv-hero__title-box h1 {
  margin: 0;
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  font-size: 32rem;
  line-height: 1.25;
  color: #000;
}

/* 2. Проблема и Задача */
.iv-intro {
  padding: 85rem 0 90rem;
}
.iv-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80rem;
}
.iv-intro__heading {
  display: flex;
  align-items: center;
  gap: 16rem;
  margin-bottom: 24rem;
}
.iv-intro__icon {
  width: 34rem;
  height: 36rem;
  object-fit: contain;
  flex-shrink: 0;
}
.iv-intro__heading h2 {
  margin: 0;
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  font-size: 30rem;
  line-height: 1.2;
  color: #000;
}
.iv-intro__col p {
  margin: 0 0 18rem;
  font-size: 16rem;
  line-height: 1.55;
  color: #111;
}
.iv-intro__col p:last-child {
  margin-bottom: 0;
}

/* 3. Цифры проекта */
.iv-stats {
  padding-bottom: 95rem;
}
.iv-stats .iv-h2 {
  margin-bottom: 50rem;
}
.iv-stats__board {
  position: relative;
  width: 100%;
  min-height: 550rem;
  padding: 72rem 120rem;
  background: url('../img/stats_bg.svg') no-repeat center / 100% 100%;
  display: flex;
  align-items: center;
}
.iv-stats__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56rem 90rem;
}
.iv-stats__item {
  display: flex;
  align-items: center;
  gap: 28rem;
}
.iv-stats__star {
  width: 145rem;
  height: 145rem;
  flex-shrink: 0;
}
.iv-stats__num {
  font-family: 'Ubuntu Bold', sans-serif;
  font-size: 62rem;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 10rem;
}
.iv-stats__label {
  font-size: 17rem;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.9);
  max-width: 240rem;
}

/* 4. Решение: «Дорога к штабу» */
.iv-solution {
  padding: 50rem 0 180rem;
  background: url('../img/solution_curve.svg?2') no-repeat center top / 100% 100%;
}
.iv-solution__head {
  width: 100%;
  max-width: 860rem;
  margin: 0 auto 36rem;
  padding: 0 20rem;
}
.iv-solution__title-row {
  display: flex;
  align-items: flex-start;
  gap: 18rem;
  margin-bottom: 18rem;
}
.iv-solution__icon {
  width: 44rem;
  height: 44rem;
  flex-shrink: 0;
  margin-top: 2rem;
}
.iv-solution__title-row h2 {
  margin: 0;
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  font-size: 30rem;
  line-height: 1.25;
  color: #000;
}
.iv-solution__desc {
  margin: 0 0 0 62rem;
  font-size: 16rem;
  line-height: 1.55;
  color: #111;
}
.iv-solution__band {
  position: relative;
  padding: 10rem 0 0;
  margin-top: 20rem;
}
.iv-solution__video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1320 / 742;
  overflow: hidden;
  border: 1rem solid rgba(0, 0, 0, 0.25);
  background: #0e141b;
  cursor: pointer;
}
.iv-solution__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iv-solution__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 86rem;
  height: 86rem;
  transition: transform 0.2s ease;
  z-index: 2;
}
.iv-solution__video-box:hover .iv-solution__play-btn {
  transform: translate(-50%, -50%) scale(1.07);
}
.iv-solution__play-circle {
  width: 100%;
  height: 100%;
  display: block;
}
.iv-solution__play-tri {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44rem;
  height: 44rem;
  transform: translate(-50%, -50%);
}
.iv-solution__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: #000;
  z-index: 3;
}
.iv-solution__video-box.is-playing .iv-solution__poster,
.iv-solution__video-box.is-playing .iv-solution__play-btn {
  opacity: 0;
  pointer-events: none;
}
.iv-solution__video-box.is-playing .iv-solution__video {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 5. Механика выбора */
.iv-mechanics {
  padding: 20rem 0 90rem;
  margin-top: -70rem;
}
.iv-mechanics__lead {
  max-width: 860rem;
  margin: 0 auto 60rem;
  text-align: center;
  font-size: 28rem;
  line-height: 1.4;
  color: #777;
}
.iv-mechanics__lead strong {
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  color: #000;
}
.iv-mechanics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32rem;
}
.iv-mechanics__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 20rem;
  background: #111;
}
.iv-mechanics__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iv-mechanics__img-wrap--red::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(190, 20, 20, 0.42), rgba(140, 10, 10, 0.28));
  pointer-events: none;
}
.iv-mechanics__card p {
  margin: 0;
  font-size: 16rem;
  line-height: 1.5;
  color: #111;
}

/* 6. Как устроен сюжет */
.iv-story {
  padding: 20rem 0 80rem;
}
.iv-story .iv-h2 {
  margin-bottom: 52rem;
}
.iv-story__viewport {
  overflow: hidden;
  margin-right: -60rem;
  padding-right: 60rem;
}
.iv-story__track {
  display: flex;
  gap: 24rem;
  transition: transform 0.35s ease;
}
.iv-story__card {
  flex: 0 0 426rem;
}
.iv-story__frame {
  padding: 8rem;
  background: #090909;
  border-radius: 3rem;
  box-shadow: 0 4rem 18rem rgba(0, 0, 0, 0.14);
  margin-bottom: 14rem;
  filter: url(#iv-torn);
}
.iv-story__frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
main.case-iv .iv-story__badge {
  position: relative;
  display: inline-block;
  background: transparent;
  color: #fff !important;
  padding: 12rem 28rem;
  font-family: 'Ubuntu Bold', sans-serif;
  font-size: 24rem;
  line-height: 1.15;
  z-index: 1;
}
main.case-iv .iv-story__badge::before {
  content: '';
  position: absolute;
  inset: -6rem -16rem;
  background: url('../img/story_badge_1.svg') no-repeat center / 100% 100%;
  z-index: -1;
  pointer-events: none;
}
main.case-iv .iv-story__card:nth-child(2) .iv-story__badge::before {
  background-image: url('../img/story_badge_2.svg');
}
main.case-iv .iv-story__card:nth-child(3) .iv-story__badge::before {
  background-image: url('../img/story_badge_3.svg');
}
main.case-iv .iv-story__badge span {
  color: #fff !important;
}
.iv-story__nav {
  display: flex;
  justify-content: flex-end;
  gap: 24rem;
  margin-top: 40rem;
  padding-right: 120rem;
}
.iv-story__btn {
  width: 48rem;
  height: 48rem;
  border-radius: 50%;
  border: none;
  background: #888;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.iv-story__btn:hover {
  background: #555;
  transform: scale(1.06);
}

/* 7. Как AI помогал создавать этот проект */
.iv-ai {
  position: relative;
  background: url('../img/ai_curve.svg?2') no-repeat center / 100% 100%;
  padding: 95rem 0 120rem;
  margin: 20rem 0 60rem;
}
.iv-ai .iv-h2 {
  margin-bottom: 65rem;
}
.iv-ai__timeline {
  max-width: 960rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60rem;
}
.iv-ai__step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 32rem;
  max-width: 680rem;
}
.iv-ai__step--left {
  align-self: flex-start;
  margin-left: 60rem;
}
.iv-ai__step--right {
  align-self: flex-end;
  margin-right: 20rem;
}
.iv-ai__circle {
  width: 112rem;
  height: 112rem;
  flex-shrink: 0;
}
.iv-ai__circle img {
  width: 100%;
  height: 100%;
  display: block;
}
.iv-ai__content {
  font-size: 16rem;
  line-height: 1.55;
  color: #666;
}
.iv-ai__content strong {
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  color: #000;
}
.iv-ai__arrow {
  position: absolute;
  pointer-events: none;
}
.iv-ai__arrow--1 {
  left: 65rem;
  bottom: -68rem;
  width: 240rem;
  height: 74rem;
}
.iv-ai__arrow--2 {
  left: -135rem;
  bottom: -65rem;
  width: 135rem;
  height: 85rem;
}
.iv-ai__arrow--3 {
  left: 68rem;
  bottom: -62rem;
  width: 55rem;
  height: 72rem;
}

/* 8. Оборудование и режим работы */
.iv-equip {
  padding: 20rem 0 95rem;
}
.iv-equip .iv-h2 {
  margin-bottom: 50rem;
}
.iv-equip__board {
  width: 100%;
  padding: 68rem 180rem;
  background: url('../img/equip_bg.svg') no-repeat center / 100% 100%;
}
.iv-equip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 36rem;
}
main.case-iv .iv-equip__list li,
main.case-iv .iv-equip__list li span {
  display: flex;
  align-items: center;
  gap: 28rem;
  font-size: 18rem;
  line-height: 1.45;
  color: #fff !important;
}
main.case-iv .iv-equip__list li span {
  display: inline;
  gap: 0;
}
.iv-equip__icon {
  width: 40rem;
  height: 40rem;
  flex-shrink: 0;
}

/* 9. Результат */
.iv-result {
  padding-bottom: 90rem;
}
.iv-result .iv-h2 {
  margin-bottom: 50rem;
}
.iv-result__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32rem;
  margin-bottom: 70rem;
}
.iv-result__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 22rem;
  background: #111;
}
.iv-result__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.iv-result__col p {
  margin: 0;
  font-size: 16rem;
  line-height: 1.55;
  color: #111;
}
.iv-result__accent {
  max-width: 820rem;
  margin: 0 auto;
  text-align: center;
  font-size: 28rem;
  line-height: 1.4;
  color: #777;
}
.iv-result__accent strong {
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  color: #000;
}

/* 10. Отзыв */
.iv-review {
  padding-bottom: 90rem;
}
.iv-review .iv-h2 {
  margin-bottom: 65rem;
}
.iv-review__card {
  position: relative;
  max-width: 1090rem;
  margin: 0 auto;
  padding: 58rem 82rem;
  background: #F5F6F8;
  border-radius: 16rem;
}
.iv-review__quotes {
  position: absolute;
  top: -28rem;
  right: 110rem;
  width: 64rem;
  height: 52rem;
}
.iv-review__text {
  margin: 0;
  font-size: 18rem;
  line-height: 1.6;
  color: #111;
}
.iv-review__name {
  font-family: 'Ubuntu Bold', sans-serif;
  font-size: 22rem;
  line-height: 1.25;
  color: #000;
  margin-bottom: 6rem;
}
.iv-review__role {
  font-size: 14rem;
  line-height: 1.4;
  color: #222;
}

/* 11. Общий вид экспозиции */
.iv-expo-video {
  padding-top: 20rem;
  padding-bottom: 60rem;
}
.iv-expo-video .iv-h2 {
  margin-bottom: 24rem;
}
.iv-expo-video__lead {
  max-width: 780rem;
  margin: 0 auto 36rem;
  text-align: center;
  font-size: 24rem;
  line-height: 1.4;
  color: #777;
}
.iv-expo-video__lead strong {
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  color: #000;
}
.iv-expo-video__wrap {
  width: 100%;
  border-radius: 10rem;
  overflow: hidden;
  box-shadow: 0 12rem 36rem rgba(0, 0, 0, 0.14);
  background: #000;
}
.iv-expo-video__wrap video {
  width: 100%;
  max-height: 620rem;
  display: block;
}

/* 12. Синяя форма .bl8 — 1 строка, как на /cases/put-gvardejca/ и /cases/ozhivshee-vooruzhenie/ */
main.case-iv .bl8 {
  padding: 40rem 0 0;
  background: transparent;
}
main.case-iv .bl8 .in {
  max-width: 1320rem;
  width: 100%;
  margin: 0 auto;
  padding: 58rem 112rem 52rem;
  background: #1A8BE8;
  border-radius: 20rem;
}
main.case-iv .bl8 .title {
  margin: 0 0 36rem;
  max-width: 810rem;
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  font-size: 28rem;
  line-height: 1.3;
  color: #fff;
  text-align: left;
}
main.case-iv .bl8 form.main-form {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  align-items: center;
  gap: 18rem 25rem;
  margin: 0;
}
main.case-iv .bl8 form.main-form .inp {
  flex: 1 1 200rem;
  min-width: 0;
  width: auto;
  max-width: none;
  height: 50rem;
  margin: 0;
  padding: 0 20rem;
  border-radius: 50rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
  font-size: 16rem;
}
main.case-iv .bl8 form.main-form .inp::placeholder {
  color: rgba(255, 255, 255, 0.9);
}
main.case-iv .bl8 form.main-form .btn.btn-green {
  flex: 0 0 255rem;
  width: 255rem;
  height: 50rem;
  margin: 0;
  border-radius: 50rem;
  background: #fff;
  color: #000;
  font-family: 'Ubuntu Bold', sans-serif;
  font-weight: 400;
  font-size: 16rem;
  border: none;
  cursor: pointer;
}
main.case-iv .bl8 form.main-form .btn.btn-green:hover {
  background: #f0f5fa;
}
main.case-iv .bl8 form.main-form label {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8rem;
  font-size: 13rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-top: 4rem;
}
main.case-iv .bl8 form.main-form label span {
  font-size: 13rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95) !important;
}
main.case-iv .bl8 form.main-form label a {
  font-size: 13rem;
  color: #fff !important;
  text-decoration: underline;
}

/* Mobile (< 860px) */
@media screen and (max-width: 859px) {
  .iv-inner {
    padding: 0 18rem;
  }
  .iv-h2 {
    font-size: 28rem;
  }
  .iv-hero {
    height: 300rem;
  }
  .iv-hero__title-box {
    top: 90rem;
    width: 310rem;
    min-height: 90rem;
    padding: 18rem 22rem;
  }
  .iv-hero__title-box h1 {
    font-size: 20rem;
  }
  .iv-intro {
    padding: 45rem 0;
  }
  .iv-intro__grid {
    grid-template-columns: 1fr;
    gap: 32rem;
  }
  .iv-stats__board {
    padding: 40rem 24rem;
    min-height: auto;
    background-size: cover;
    border-radius: 10rem;
  }
  .iv-stats__grid {
    grid-template-columns: 1fr;
    gap: 28rem;
  }
  .iv-stats__star {
    width: 80rem;
    height: 80rem;
  }
  .iv-stats__num {
    font-size: 42rem;
  }
  .iv-solution__desc {
    margin-left: 0;
  }
  .iv-mechanics {
    padding: 80rem 0 50rem;
  }
  .iv-mechanics__lead {
    font-size: 20rem;
    margin-bottom: 34rem;
  }
  .iv-mechanics__grid {
    grid-template-columns: 1fr;
    gap: 28rem;
  }
  .iv-story__viewport {
    margin-right: -18rem;
    padding-right: 18rem;
  }
  .iv-story__card {
    flex: 0 0 300rem;
  }
  .iv-story__badge {
    font-size: 18rem;
  }
  .iv-story__nav {
    padding-right: 0;
  }
  .iv-ai__step--left,
  .iv-ai__step--right {
    align-self: stretch;
    margin: 0;
    gap: 16rem;
  }
  .iv-ai__circle {
    width: 64rem;
    height: 64rem;
  }
  .iv-ai__arrow {
    display: none;
  }
  .iv-equip__board {
    padding: 38rem 20rem;
    background-size: cover;
    border-radius: 10rem;
  }
  .iv-equip__list li {
    font-size: 15rem;
    gap: 16rem;
  }
  .iv-result__grid {
    grid-template-columns: 1fr;
    gap: 28rem;
    margin-bottom: 40rem;
  }
  .iv-result__accent {
    font-size: 20rem;
  }
  .iv-review__card {
    padding: 36rem 22rem;
  }
  .iv-review__quotes {
    right: 24rem;
    width: 44rem;
    height: 36rem;
    top: -18rem;
  }
  .iv-review__text {
    font-size: 15rem;
  }
  .iv-expo-video {
    padding-top: 10rem;
    padding-bottom: 30rem;
  }
  .iv-expo-video__lead {
    font-size: 18rem;
    text-align: left;
    margin-bottom: 20rem;
  }
  main.case-iv .bl8 {
    padding: 24rem 18rem 0;
  }
  main.case-iv .bl8 .in {
    padding: 30rem 20rem;
    border-radius: 16rem;
  }
  main.case-iv .bl8 .title {
    font-size: 20rem;
    margin-bottom: 22rem;
  }
  main.case-iv .bl8 form.main-form {
    flex-direction: column;
    align-items: stretch;
    gap: 14rem;
  }
  main.case-iv .bl8 form.main-form .inp {
    flex: none;
    width: 100%;
  }
  main.case-iv .bl8 form.main-form .btn.btn-green {
    flex: none;
    width: 100%;
  }
}
