.app-container {
  .reviews-company {
    .reviews-company__container {
      position: relative;
      z-index: 2;
      max-width: 1400px;
      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-company__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-company__header-wrapper {
        max-width: 584px;
        p {
          margin-bottom: 0;
        }
      }
    }
    .reviews-company__items {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      justify-content: center;
      @media (max-width:768px) {
        gap:16px;

 
       }
      
    }
    .reviews-company__item {
      display: flex;
      align-items: center;
      gap: 24px;
      width: 100%;
      border:1px solid #E8E7E9;
      padding: 32px;
border-radius: 8px;

      @media (max-width:768px) {
       width: 100%;
       padding: 24px;
       flex-direction: column;
       align-items: flex-start;
      }
      &.half {
        width: calc(50% - 16px);
        flex-direction: column;
align-items: flex-start;
@media (max-width:768px) {
  width: 100%;

 }
        .reviews-company__info {
          width: 100%;
        }
        .reviews-company__item-content {
          width: 100%;
        }
      }
      &.with-video {
        width: 100%;

        margin: auto;

        @media (max-width:768px) {
        flex-direction: column;
   
         }
        &.right {
          flex-direction: row-reverse;
          @media (max-width:768px) {
            flex-direction: column;
       
             }
        }
      }
      .reviews-company__info {
        width: 50%;
        margin-bottom: auto;
        @media (max-width:768px) {
          width: 100%;
   
         }
        img {
          max-width: 200px;
          object-fit: contain;
          margin-bottom: 20px;
        }
        .button-nd {
          margin-top: 32px;
        }
      }
      .reviews-company__item-content {
        display: flex;
        flex-direction: column;
        width: 50%;
        @media (max-width:768px) {
          width: 100%;
   
         }
        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-company__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-company__header.is-prep .subheader,
.reviews-company__header.is-prep :where(h1,h2,h3,h4,h5,h6,p.title),
.reviews-company__header.is-prep .button-nd {
  opacity: 0; transform: translateY(20px);
}

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

.reviews-company__item.with-video.is-prep .reviews-company__video video,
.reviews-company__item.with-video.is-prep .reviews-company__video .video-image {
  opacity: 0; transform: scale(.97);
}

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

.reviews-company__item.animate-in {
  animation: rvCardIn .6s cubic-bezier(.22,.65,.25,1) both;
}
.reviews-company__item.animate-in.left  { animation-name: rvCardInLeft; }
.reviews-company__item.animate-in.right { animation-name: rvCardInRight; }

.reviews-company__item.with-video.animate-in .reviews-company__video video,
.reviews-company__item.with-video.animate-in .reviews-company__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-company__header.animate-in .subheader,
  .reviews-company__header.animate-in :where(h1,h2,h3,h4,h5,h6,p.title),
  .reviews-company__header.animate-in .button-nd,
  .reviews-company__item.animate-in,
  .reviews-company__item.with-video.animate-in .reviews-company__video video,
  .reviews-company__item.with-video.animate-in .reviews-company__video .video-image {
    animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important;
  }
}
