.app-container {
  .reviews {
    .reviews__container {
      position: relative;
      z-index: 2;
      max-width: 1292px;
      padding: 48px 100px;
      width: 100%;
      margin: auto;
      display: flex;
      flex-direction: column;
      @media (max-width: 1400px) {
        padding: 48px 50px;
      }
      @media (max-width: 1000px) {
        padding: 32px 16px;
      }
    }
    .reviews__header {
      margin: auto;
      margin-bottom: 48px;
      display: flex;
      flex-direction: column;
      p {
        max-width: 584px;
        text-align: center;
        margin: auto;
      }
      @media (max-width: 768px) {
        margin-bottom: 24px;
      }
    }
    .reviews__items {
      display: flex;
      flex-wrap: wrap;
      gap: 32px 24px;
      align-items: stretch;
      transition: 0.3s;
    }
    .reviews__item {
      display: flex;
      flex-direction: column;
      gap: 32px;
      flex: 1 1 100%;
      max-width: 100%;
      background-color: #faf6f1;
      padding: 32px;
      border-radius: 30px;
      @media (max-width: 768px) {
        padding: 28px 24px;
      }
      p.desc {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .reviews__item-body {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
      .reviews__item-title {
        font-size: 19px;
        font-weight: 600;
        color: #44403C;
        margin: 0;
      }
      .reviews__item-desc {
     p {
      margin-bottom: 0;
     }
      }
      .reviews__item-screens {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      }
      .reviews__screen {
        margin: 0;
        border-radius: 20px;
        background: #fff;
        padding: 12px 8px;
        min-height: 170px;
        display: flex;
        align-items: center;
        img {
          display: block;
          width: 100%;
          height: auto;
          border-radius: 12px;
        }
      }
      .reviews__item-texts {
    display: flex;
        gap: 32px;
      }
      .reviews__text-block {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 24px;
        background-color: #FFFFFF;
        border-radius: 20px;
      }
      .reviews__text-title {
        font-weight: 600;
        margin: 0;
        color: #44403C;
      }
      .reviews__text-desc {
        margin: 0;
        color: #44403C;
        line-height: 1.6;
        font-style: italic;
      }
      .video-image {
        position: absolute;
        border-radius: 4px;
        top: -1px;
        left: -1px;
        width: calc(100% + 1px);
        height: calc(100% + 1px);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 0;
        transition: 0.3s;
        &::after {
          content: "";
          width: 100%;
          height: 100%;
          background-color: black;
          opacity: 0.2;
          position: absolute;
          border-radius: 30px;

          left: 0;

          top: 0;
        }
        &.play {
          opacity: 0;
          visibility: hidden;
        }
      }
      .reviews__video {
        height: 392px;
      }
      .video {
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        border-radius: 8px;

        video {
          width: 100%;
          height: 100%;
          object-fit: contain;
          border-radius: 8px;
          background: black;
          border-radius: 30px;
        }
        button {
          border: 0;
          background-color: transparent;
          cursor: pointer;
          position: absolute;
          width: 100%;
          height: 100%;
          left: 0;
          top: 0;
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 3;
          svg {
            transition: 0.3s;
          }

          &.icon-play {
            svg {
              opacity: 0;
            }
          }
        }
      }
    }
    @media (min-width: 640px) {
      .reviews__item {
        flex: 1 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
      }
    }
    @media (min-width: 1024px) {
      .reviews__item {
        flex: 1 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
      }
      .reviews__item:nth-child(4n + 1),
      .reviews__item:nth-child(4n + 4) {
        flex-basis: calc(36.8% - 16px);
        max-width: calc(36.8% - 16px);
      }
      .reviews__item:nth-child(4n + 2),
      .reviews__item:nth-child(4n + 3) {
        flex-basis: calc(63.2% - 16px);
        max-width: calc(63.2% - 16px);
      }
    }
  }
}

.reviews__header.is-prep .subheader,
.reviews__header.is-prep :where(h1, h2, h3, h4, h5, h6, p.title),
.reviews__header.is-prep .button-nd {
  opacity: 0;
  transform: translateY(20px);
}

.reviews__item.is-prep {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
}
.reviews__item.is-prep.left {
  transform: translateX(-28px) scale(0.98);
}
.reviews__item.is-prep.right {
  transform: translateX(28px) scale(0.98);
}

.reviews__item.with-video.is-prep .reviews__video video,
.reviews__item.with-video.is-prep .reviews__video .video-image {
  opacity: 0;
  transform: scale(0.97);
}

.reviews__header.animate-in .subheader {
  animation: rvFadeUp 0.55s cubic-bezier(0.22, 0.65, 0.25, 1) both;
}
.reviews__header.animate-in :where(h1, h2, h3, h4, h5, h6, p.title) {
  animation: rvFadeUp 0.6s cubic-bezier(0.22, 0.65, 0.25, 1) 0.08s both;
}
.reviews__header.animate-in .button-nd {
  animation: rvFadeUp 0.6s cubic-bezier(0.22, 0.65, 0.25, 1) 0.18s both;
}

.reviews__item.animate-in {
  animation: rvCardIn 0.6s cubic-bezier(0.22, 0.65, 0.25, 1) both;
}
.reviews__item.animate-in.left {
  animation-name: rvCardInLeft;
}
.reviews__item.animate-in.right {
  animation-name: rvCardInRight;
}

.reviews__item.with-video.animate-in .reviews__video video,
.reviews__item.with-video.animate-in .reviews__video .video-image {
  animation: rvVideoIn 0.7s ease-out both;
}

@keyframes rvFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes rvCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes rvCardInLeft {
  from {
    opacity: 0;
    transform: translateX(-28px) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}
@keyframes rvCardInRight {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}
@keyframes rvVideoIn {
  from {
    opacity: 0;
    transform: scale(0.97);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews__header.animate-in .subheader,
  .reviews__header.animate-in :where(h1, h2, h3, h4, h5, h6, p.title),
  .reviews__header.animate-in .button-nd,
  .reviews__item.animate-in,
  .reviews__item.with-video.animate-in .reviews__video video,
  .reviews__item.with-video.animate-in .reviews__video .video-image {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
