.zerapy-main-banner {
  position: relative;
  z-index: 0;

  height: 100dvh;
  width: 100%;

  & video {
    position: absolute;
    inset: 0;

    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  & .zerapy-main-banner__button {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);

    display: inline-flex;
    padding: 20px 12px;
    border-radius: 30px;
    border: 1px solid #E6E7ED;
    outline: none;
    background: none;

    color: #E6E7ED;
  }
}

.zerapy-stages {
  position: relative;
  z-index: 0;

  padding: 105px 0;
  background: #E6E7ED;

  & .zerapy-stages__background-images {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
  }

  & .zerapy-stages__bg-image-1 {
    position: absolute;
    top: 0;
    right: 0;

    max-height: 100%;
    max-width: 100%;
  }

  & .zerapy-stages__container {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  & .zerapy-stages__header {
    max-width: 760px;

    color: #5A5B6C;
  }

  & .zerapy-stages__body {
    position: relative;
  }

  & .zerapy-stages__stages {
    display: flex;
    flex-direction: column;

    &>* {
      width: 33%;
    }

    &>*:nth-child(1) {
      margin-top: 280px;
      margin-bottom: 32px;
      align-self: flex-start;
    }

    &>*:nth-child(2) {
      margin-bottom: 20px;
      align-self: flex-end;
    }

    &>*:nth-child(3) {
      margin-bottom: 120px;
      align-self: flex-start;
    }
  }

  & .zerapy-stages__image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    &>picture {
      display: block;
      height: 100%;
    }

    &>picture img,
    &>img {
      position: sticky;
      top: 100px;
    }
  }

  @media (max-width: 960px) {

    & .zerapy-stages__image {
      right: 0;
      transform: unset;
    }

    & .zerapy-stages__stages {
      &>* {
        width: 75%;
      }

      &>*:nth-child(2) {
        align-self: flex-start;
      }
    }
  }

  @media (max-width: 600px) {
    & .zerapy-stages__stages {
      &>* {
        width: 60%;
      }

      &>*:nth-child(1) {
        margin-top: 90px;
      }
    }

    & .zerapy-stages__image {
      left: 40%;
      right: -15px;

      &>picture img,
      &>img {
        margin-left: auto;
      }
    }
  }
}

.zerapy-stage {
  display: flex;
  flex-direction: column;

  & .zerapy-stage__number {
    color: #5A5B6C;
  }

  & .zerapy-stage__body {
    position: relative;
  }

  & .zerapy-stage__bg-icon {
    position: relative;

    color: #5A5B6C;
    opacity: 0.2;

    &>svg {
      position: absolute;
      top: 0;

      width: calc(100% + 150px);
      height: 100px;
    }
  }

  & .zerapy-stage__text {
    color: #5A5B6C;
  }

  &.zerapy-stage--left {

    & .zerapy-stage__bg-icon {
      &>svg {
        left: 0;
      }
    }
  }

  &.zerapy-stage--right {

    & .zerapy-stage__bg-icon {
      &>svg {
        right: 0;
      }
    }
  }

  @media (max-width: 960px) {
    & .zerapy-stage__bg-icon {
      &>svg {
        width: calc(100% + 70px);
        height: 80px;
      }
    }

    &.zerapy-stage--right {

      & .zerapy-stage__bg-icon {
        &>svg {
          left: 0;
          right: unset;

          transform: scale(-1, 1)
        }
      }
    }
  }
}

.zerapy-horizontal-scroll {
  position: relative;

  height: 300vh;
  background: #E6E7ED;

  & .zerapy-horizontal-scroll__container {
    position: sticky;
    top: 0;

    display: flex;
    height: 100dvh;
    align-items: center;
  }

  & .zerapy-horizontal-scroll__background-images {
    position: absolute;
    inset: 0;
    z-index: 0;

    height: 100dvh;
    will-change: transform;
    overflow: hidden;

    &>img {
      object-fit: cover;

      &:nth-child(1) {
        position: absolute;
        top: 20dvh;
        left: -10%;

        max-height: 100%;
        max-width: 100%;
      }

      &:nth-child(2) {
        position: absolute;
        top: 0;
        right: -20%;
        bottom: 0;

        height: 100%;
        max-width: 100%;
      }
    }
  }

  & .zerapy-horizontal-scroll__block {
    display: flex;
    padding-top: 20dvh;
    align-items: flex-end;
    overflow: hidden;
  }

  & .zerapy-horizontal-scroll__header {
    margin: 0 24px;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 554px;

    color: #5A5B6C;
    position: relative;
    z-index: 2;
  }

  & .zerapy-horizontal-scroll__viewport {
    position: relative;
    z-index: 1;

    width: 100%;
    flex-grow: 1;
    overflow: hidden;
  }

  & .zerapy-horizontal-scroll__body {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 60px;
    flex-grow: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
  }

  & .zerapy-horizontal-scroll__card {
    position: relative;

    min-width: 400px;
    padding: 20px 40px;
    border-radius: 5px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.00);
    overflow: hidden;
    opacity: 0.3;

    color: #5A5B6C;

    transition: none;

    &::before {
      content: "";

      position: absolute;
      inset: 0;
      z-index: -1;

      opacity: 0.8;
      background: #ffffff;
    }

    &.zerapy-horizontal-scroll__card--active {
      opacity: 1;
    }
  }

  @media (max-width: 1200px) {
    & .zerapy-horizontal-scroll__header {
      flex-basis: 450px;
    }

    & .zerapy-horizontal-scroll__card {
      min-width: 350px;
    }
  }

  @media (max-width: 960px) {
    & .zerapy-horizontal-scroll__header {
      flex-basis: 350px;
    }
  }

  @media (max-width: 600px) {
    & .zerapy-horizontal-scroll__block {
      flex-direction: column;
      gap: 40px;
    }

    & .zerapy-horizontal-scroll__header {
      margin: 0;
      flex-basis: auto;
    }
  }
}

.zerapy-products {
  background: #E6E7ED;
  overflow: hidden;

  & .zerapy-products__container {
    position: relative;

    display: flex;
    height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  & .zerapy-products__background-image-before {
    position: absolute;
    inset: 0;
    z-index: 0;

    height: 100%;
    object-fit: cover;

    will-change: transform;
  }

  & .zerapy-products__image {
    position: absolute;
    bottom: 0;
    z-index: 1;

    max-width: none;
    height: 100%;
  }

  & .zerapy-products__background-image-after {
    position: absolute;
    inset: 0;
    z-index: 2;

    will-change: transform;
  }

  & .zerapy-products__button {
    position: relative;
    z-index: 3;
  }
}

.zerapy-advantages {
  position: relative;

  min-height: 400vh;
  padding: 70px 0;
  background: #E6E7ED;

  & .zerapy-products__background-image-1 {
    position: absolute;
    top: 0;
    left: 0;

    height: auto;
  }

  & .zerapy-products__background-image-2 {
    position: absolute;
    top: 0;
    right: 0;
    height: auto;
  }

  & .zerapy-advantages__container {
    position: sticky;
    top: 0;

    display: flex;
    min-height: 100dvh;
    /* padding-top: 70px; */
    flex-direction: column;
    justify-content: flex-end;
    gap: 84px;
  }

  & .zerapy-advantages__header {
    max-width: 1010px;
    align-self: center;

    text-align: center;
    color: #5A5B6C;
  }

  & .zerapy-advantages__body {
    display: flex;
    flex-direction: column;
  }

  & .zerapy-advantages__group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    & .zerapy-advantage-card {
      flex-basis: 250px;
      flex-grow: 1;
    }
  }

  & .zerapy-advantages__description {
    max-width: 582px;
    padding-top: 70px;
    align-self: center;

    color: #5A5B6C;
    text-align: center;
  }

  & .zerapy-advantages__plus,
  & .zerapy-advantages__equals {
    align-self: flex-start;
    opacity: 0;
    transform: translateY(30px);

    font-size: 46px;
    font-style: normal;
    font-weight: 300;
    line-height: 71px;

    color: #5A5B6C;
  }

  @media (max-width: 1200px) {
    & .zerapy-advantages__group {
      gap: 0;
    }

    & .zerapy-advantage-card__wrap {
      padding: 20px;
    }
  }

  @media (max-width: 960px) {
    & .zerapy-advantages__group {
      flex-direction: column;
    }

    & .zerapy-advantages__plus,
    & .zerapy-advantages__equals {
      align-self: center;
    }

    & .zerapy-advantages__group {
      & .zerapy-advantage-card {
        width: 100%;
        max-width: 360px;
        flex-basis: auto;
      }
    }
  }
}

.zerapy-advantage-card {
  display: flex;
  flex-direction: column;
  gap: 35px;

  & .zerapy-advantage-card__icon {
    display: inline-flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);

    &>* {
      max-width: 115px;
      max-height: 115px;
      height: 100%;
      width: 100%;
      object-fit: contain;
      object-position: center;
    }
  }

  & .zerapy-advantage-card__wrap {
    position: relative;

    display: flex;
    min-height: 128px;
    padding: 24px 28px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);

    text-align: center;
    color: #5A5B6C;

    &::after {
      content: "";

      position: absolute;
      inset: 0;
      z-index: -1;

      border-radius: 5px;
      opacity: 0.7;
      background: #ffffff;
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.00);
    }
  }
}

.zerapy-banner {
  position: relative;
  z-index: 0;

  padding: 100px;
  background: #E6E7ED;

  .zerapy-banner__container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 32px;
  }

  & .zerapy-banner__content {
    position: relative;
    z-index: 2;

    flex-basis: 400px;
    flex-grow: 1;
  }

  & .zerapy-banner__header {
    color: #5A5B6C;
  }

  & .zerapy-banner__body {
    margin-top: 18px;

    color: #5A5B6C;
  }

  & .zerapy-banner__footer {
    display: flex;
    margin-top: 40px;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8px 12px;

    color: #5A5B6C;
  }

  & .zerapy-banner__list {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-basis: 400px;
    flex-grow: 1;

    &>img {
      position: absolute;
      inset: 0;
      z-index: -1;

      height: 100%;
      width: 100%;
      object-fit: contain;
      object-position: center;
    }
  }

  @media (max-width: 960px) {
    & .zerapy-banner__container {
      flex-direction: column;
    }
  }

  @media (max-width: 600px) {
    padding: 60px 0 60px 0;

    & .zerapy-banner__content {
      flex-basis: auto;
    }
  }
}

.zerapy-banner-list-item {
  position: absolute;

  display: flex;
  flex-direction: column;
  gap: 20px;

  & .zerapy-banner-list-item__icon {
    display: inline-flex;
    margin: 0 60px;

    color: #5A5B6C;
  }

  & .zerapy-banner-list-item__content {
    display: inline-flex;
    position: relative;
  }

  & .zerapy-banner-list-item__title {
    position: absolute;

    width: 100%;

    color: #5A5B6C;

    opacity: 1;
    transition: opacity .2s ease-out;
  }

  & .zerapy-banner-list-item__text {
    padding: 20px;
    border-radius: 5px;
    opacity: 0.7;
    background: #ffffff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.00);

    color: #5A5B6C;

    opacity: 0;

    transition: opacity .2s ease-out;
  }

  &.zerapy-banner-list-item--1 {
    top: 0%;
    left: 30%;
  }

  &.zerapy-banner-list-item--2 {
    top: 48%;
    right: 0%;

    & .zerapy-banner-list-item__icon {
      margin-right: 120px;
    }
  }

  &.zerapy-banner-list-item--3 {
    bottom: -20%;
    left: 15%;
  }

  &.zerapy-banner-list-item--row-left {
    align-items: flex-start;

    & .zerapy-banner-list-item__title,
    & .zerapy-banner-list-item__text {
      text-align: left;
    }
  }

  &.zerapy-banner-list-item--row-right {
    align-items: flex-end;

    & .zerapy-banner-list-item__title,
    & .zerapy-banner-list-item__text {
      text-align: right;
    }
  }

  &.zerapy-banner-list-item--reverse {
    flex-direction: column-reverse;

    & .zerapy-banner-list-item__title {
      bottom: 0;
    }
  }

  &:has(.zerapy-banner-list-item__icon:hover) {
    & .zerapy-banner-list-item__title {
      opacity: 0;
    }

    & .zerapy-banner-list-item__text {
      opacity: 1;
      z-index: 10;
    }
  }

  @media (max-width: 960px) {
    &.zerapy-banner-list-item--1 {}

    &.zerapy-banner-list-item--2 {
      right: 12%;
    }

    &.zerapy-banner-list-item--3 {
      left: 22%;
    }
  }

  @media (max-width: 600px) {
    &.zerapy-banner-list-item--1 {
      top: -28%;
    }

    &.zerapy-banner-list-item--2 {
      right: 35%;
      top: 38%;
    }

    &.zerapy-banner-list-item--3 {
      left: 19%;
      bottom: -42%;
    }
  }
}

.zerapy-section-list {
  padding-top: 60px;
  padding-bottom: 120px;
  background: #E6E7ED;
}