.app-container {
  .reviews {
    .reviews__container {
      position: relative;
      z-index: 2;
      max-width: 1192px;
      padding: 48px 100px;
      width: 100%;
      margin: auto;
      gap: 8px;
      display: flex;
      flex-direction: column;
      @media (max-width: 1400px) {
        padding: 48px 50px;
      }
      @media (max-width: 1000px) {
        padding: 32px 16px;
      }
    }
    .reviews__header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 48px;
      @media (max-width:1000px) {
        flex-direction: column;
        align-items: flex-start;
      }
      .reviews__header-wrapper {
        max-width: 584px;
        p {
          margin-bottom: 0;
        }
      }
    }
    .reviews__items {
      display: flex;
      flex-wrap: wrap;
      gap: 48px;
      justify-content: center;
      
    }
    .reviews__item {
      display: flex;
      align-items: center;
      gap: 24px;
      width: calc(50% - 24px);
      @media (max-width:768px) {
       width: 100%;

      }
      &.with-video {
        width: 100%;

        max-width: 696px;
        margin: auto;
        margin-bottom: 16px;
        @media (max-width:768px) {
        flex-direction: column;
   
         }
        &.right {
          flex-direction: row-reverse;
          @media (max-width:768px) {
            flex-direction: column;
       
             }
        }
      }
      .reviews__item-content {
        display: flex;
        flex-direction: column;
        p.desc {
          background-color: #f4f2ff;
          padding: 32px;
          border-radius: 4px 4px 4px 0px;
          position: relative;
          margin-bottom: 24px;
          font-size: 16px;
          font-weight: 600;
          color: #191325;
          .quote {
            position: absolute;
            left: 30px;
            top: -7px;
          }
          .sharp {
            position: absolute;

            left: 0;
            bottom: -21px;
          }
        }
      }
      .reviews__item-author {
        display: flex;
        gap: 12px;
        align-items: center;
        p.title {
          font-size: 16px;
          font-weight: 600;
          color: #191325;
          margin-bottom: 0;
        }
        p.position {
          margin-bottom: 0;
          font-size: 13px;
        }
        img {
          width: 64px;
          height: 64px;
          object-fit: cover;
          border-radius: 50%;
        }
      }
      .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;
          left: 0;
          border-radius: 4px;

          top: 0;
        }
        &.play {
          opacity: 0;
          visibility: hidden;
        }
      }
      .video {
        width: 40%;
        height: 356px;
        position: relative;
        display: flex;
        width: 200px;
        border-radius: 4px;

        video {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 4px;
        }
        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;
            }
          }
        }
      }
    }
  }
}

.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(.98);
}
.reviews__item.is-prep.left  { transform: translateX(-28px) scale(.98); }
.reviews__item.is-prep.right { transform: translateX(28px)  scale(.98); }

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

.reviews__header.animate-in .subheader {
  animation: rvFadeUp .55s cubic-bezier(.22,.65,.25,1) both;
}
.reviews__header.animate-in :where(h1,h2,h3,h4,h5,h6,p.title) {
  animation: rvFadeUp .6s cubic-bezier(.22,.65,.25,1) .08s both;
}
.reviews__header.animate-in .button-nd {
  animation: rvFadeUp .6s cubic-bezier(.22,.65,.25,1) .18s both;
}

.reviews__item.animate-in {
  animation: rvCardIn .6s cubic-bezier(.22,.65,.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 .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(.98); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    filter: blur(0); }
}
@keyframes rvCardInLeft {
  from { opacity: 0; transform: translateX(-28px) scale(.98); filter: blur(2px); }
  to   { opacity: 1; transform: translateX(0)     scale(1);    filter: blur(0); }
}
@keyframes rvCardInRight {
  from { opacity: 0; transform: translateX(28px) scale(.98); filter: blur(2px); }
  to   { opacity: 1; transform: translateX(0)    scale(1);    filter: blur(0); }
}
@keyframes rvVideoIn {
  from { opacity: 0; transform: scale(.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;
  }
}
