@media screen and (max-width: 1365px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .wrapper {
    padding: 0 40px;
  }

  .header {
    padding: 15px 0;
  }

  .header-phone {
    font-size: 22px;
  }
  .header-menu__link {
    font-size: 16px;
    margin-right: 35px;
  }

  .title {
    font-size: 30px;
  }

  .hero__subtitle {
    font-size: 19px;
  }

  .benefits-item {
    flex: 33.33%;
  }

  .benefits-item:nth-child(n)::before,
  .benefits-item:nth-child(n)::after {
    display: none;
  }

  .benefits-item:nth-child(1)::before,
  .benefits-item:nth-child(2)::before,
  .benefits-item:nth-child(4)::before,
  .benefits-item:nth-child(5)::before {
    display: block;
    background: -moz-linear-gradient(
      left,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    background: -webkit-linear-gradient(
      left,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    background: linear-gradient(
      to right,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00bfbfbf', endColorstr='#00bfbfbf',GradientType=1 );
  }

  .benefits-item:nth-child(1)::after,
  .benefits-item:nth-child(2)::after,
  .benefits-item:nth-child(4)::after,
  .benefits-item:nth-child(5)::after {
    display: block;
    background: -moz-linear-gradient(
      top,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    background: -webkit-linear-gradient(
      top,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    background: linear-gradient(
      to bottom,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00bfbfbf', endColorstr='#00bfbfbf',GradientType=0 );
  }

  .capabilities__title {
    text-align: center;
  }

  .capabilities__video {
    width: 480px;
    height: 300px;
  }

  .capabilities__info {
    padding-left: 45px;
  }

  .capabilities__list-item {
    font-size: 15px;
    margin-bottom: 25px;
  }
}

@media screen and (max-width: 1060px) {
  .wrapper {
    padding: 0 20px;
  }

  .main::before {
    background-size: 45% auto;
  }

  .header-menu__link {
    display: none;
  }

  .header-phone {
    font-size: 20px;
  }

  .hero__content {
    display: block;
    text-align: center;
  }

  .hero__info {
    padding-right: 0;
  }

  .hero-product {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 25px;
    display: flex;
    justify-content: center;
  }

  .capabilities__content {
    display: block;
  }

  .capabilities__video {
    margin: 0 auto 45px;
  }

  .capabilities__btn {
    margin: 0 auto;
  }

  .hero__label {
    left: auto;
    margin: 0 auto;

    max-width: 100%;
    height: auto;
  }

  .product {
    width: 100%;
    max-width: 600px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 640px) {
  .btn {
    height: 40px;
    padding: 0 35px;
    font-size: 14px;
  }

  .main::before {
    background-size: 70% auto;
  }

  .title {
    font-size: 24px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .header-phone__icon {
    width: 40px;
    height: 40px;
  }

  .header-phone__text {
    display: none;
  }

  .hero-product__price {
    padding: 0px 50px;
    height: 70px;
    padding-bottom: 20px;
    font-size: 20px;
    bottom: 0;
    left: 0;
  }

  .benefits__wrapper {
    padding: 0;
  }

  .benefits-item {
    box-sizing: border-box;
    flex: 50%;
    padding: 40px 20px;
  }

  .benefits-item__image {
    margin-bottom: 25px;
  }

  .benefits-item__text {
    font-size: 14px;
  }

  .benefits-item:nth-child(odd)::before {
    display: block;
    background: -moz-linear-gradient(
      top,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    background: -webkit-linear-gradient(
      top,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    background: linear-gradient(
      to bottom,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00bfbfbf', endColorstr='#00bfbfbf',GradientType=0 );
  }

  .benefits-item:nth-child(odd)::after {
    display: block;
    background: -moz-linear-gradient(
      top,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    background: -webkit-linear-gradient(
      top,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    background: linear-gradient(
      to bottom,
      rgba(191, 191, 191, 0) 0%,
      rgba(191, 191, 191, 1) 51%,
      rgba(191, 191, 191, 0) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00bfbfbf', endColorstr='#00bfbfbf',GradientType=0 );
  }

  .benefits-item:nth-child(even)::before,
  .benefits-item:nth-child(even)::after,
  .benefits-item:last-child::before,
  .benefits-item:last-child::after,
  .benefits-item:nth-last-child(2)::before,
  .benefits-item:nth-last-child(2)::after {
    display: none;
  }

  .capabilities__info {
    padding-left: 0;
  }

  .capabilities__btn {
    height: 54px;
    font-size: 18px;
  }

  .scm-item__title-text {
    font-size: 20px;
  }

  .scm-item__hint-text {
    font-size: 14px;
  }

  .product__variant {
    width: 100%;
    margin-bottom: 20px;
  }

  .product__buttons {
    max-width: 350px;
    margin: 0 auto;
  }

  .product__footer {
    flex-wrap: wrap;
  }

  .product__price {
    width: 100%;
    margin-right: 0;
  }

  .product__button {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding: 15px 70px;
    font-size: 28px;
  }

  .modal__inner {
    top: 0;
    left: 0;
    transform: none;

    border-radius: 0;
    padding: 30px;
    margin: 0;

    min-height: 100%;
  }

  .modal__close {
    top: 10px;
    right: 10px;

    bottom: auto;
    left: auto;
  }

  .modal__scrollbox {
    padding: 0;
  }

  .socials {
    right: 15px;
    bottom: 15px;
  }

  .socials__toggle button {
    width: 50px;
    height: 50px;
  }

  .socials__dropdown {
    left: 0;
  }
}

@media screen and (max-width: 550px) {
  .capabilities__video {
    width: 100%;
    height: 320px;
  }
}

@media screen and (max-width: 440px) {
  .capabilities__video {
    height: 220px;
  }
}
