.reviews-section {
  padding: 100px 0;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

.reviews-section__glow-lines {
  position: absolute;
  top: -230px;
  width: 100vw;
  height: auto;
}

.reviews-section__container {
  text-align: center;
}

.reviews-section__header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.reviews-section__title {
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 100%;
  letter-spacing: -0.04em;
  text-transform: uppercase;

  background: linear-gradient(
    135deg,
    rgb(0, 0, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgb(0, 0, 0) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-section__subtitle {
  position: relative;
  top: -52px;
  font-family: "Astrados", sans-serif;
  font-weight: 400;
  font-size: 128px;
  line-height: 100%;
  letter-spacing: 0;
  color: #d6001c;
}

.reviews-section__buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  bottom: 0;
}

.reviews-section__button {
  cursor: pointer;
  padding: 18px;
  width: 60px;
  height: 60px;
  background-color: #d6001c;
  border-radius: 100%;
  border: none;
  transition: background-color 0.3s ease-in-out;
}

.reviews-section__button:hover {
  background-color: #af0000;
}

.reviews-section__list {
  position: relative;

  z-index: 3;
  bottom: 80px;
  overflow: hidden;
}

.reviews-section__item {
  flex-shrink: 0;
  width: 314px;
  height: 645px;
  position: relative;
  flex-shrink: 0;
  text-align: left;
}

.reviews-section__item-border-buttons {
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 318px;
  height: auto;
}

.reviews-section__item-screen {
  position: absolute;
  left: 0;
  top: 0;
  width: 310px;
  height: auto;
}

.reviews-section__item-screen-border {
  position: absolute;
  z-index: 1;
  left: 5px;
  top: 5px;
  width: 300px;
  height: auto;
}

.reviews-section__item-black-bg,
.reviews-section__item-screen-bg {
  left: 10px;
  top: 9px;
  position: absolute;
  z-index: 2;
  width: 290px;
  height: auto;
}

.reviews-section__item-camera {
  position: absolute;
  z-index: 3;
  width: 91px;
  height: auto;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
}

.reviews-section__item-top-icons {
  position: absolute;
  z-index: 3;
  left: 40px;
  width: 240px;
  height: auto;
  top: 22px;
}

.reviews-section__item-screen-content {
  position: relative;
  z-index: 2;
  border-radius: 42.76px;
  margin-left: 10px;
  margin-top: 10px;
  width: calc(100% - 23px);
  height: calc(100% - 20px);
}

.reviews-section__item-screen-inner-content {
  padding: 65px 20px 30px 20px;
}

.reviews-section__item-photo {
  width: 250px;
  height: auto;
  border-radius: 16px;
  max-height: 150px;
  object-fit: cover;
}

.reviews-section__item-title {
  margin-top: 22px;
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: -0.04em;
  text-transform: uppercase;

  background: linear-gradient(
    to left,
    rgb(255, 255, 255) 0%,
    rgb(255, 255, 255) 70%,
    rgb(90, 90, 90) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-section__item-text {
  margin-top: 30px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0;
  color: #afafaf;
}

.reviews-section__item-bottom-text {
  margin-top: 10px;
  margin-left: 18px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0;
  color: #fff;
}

.reviews-section__item-interval {
  margin-top: 40px;
  position: relative;
}

.reviews-section__item-interval::before {
  margin-top: 10px;
  margin-left: 3.1px;
  content: "";
  position: absolute;
  display: block;
  height: calc(100% - 20px);
  width: 2px;
  background-color: #d6001c;
}

.reviews-section__item-point {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-section__item-point::before {
  content: "";
  flex-shrink: 0;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: #d6001c;
}

.reviews-section__item-point-text {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0;
  color: #d6001c;
}

.reviews-section__item-interval-text {
  margin-left: 15px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 25px;
  margin-top: 10px;
}

@media (max-width: 930px) {
  .reviews-section__header {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .reviews-section__header {
    justify-content: center;
  }

  .reviews-section__title {
    font-size: 40px;
    background: linear-gradient(
      135deg,
      rgb(36, 36, 36) 0%,
      rgba(255, 255, 255, 1) 25%,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 1) 75%,
      rgb(36, 36, 36) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .reviews-section__subtitle {
    font-size: 64px;
    top: -66px;
  }

  .reviews-section__list {
    bottom: 30px;
  }

  .reviews-section__item {
    width: 243px;
    height: 500px;
  }

  .reviews-section__item-border-buttons {
    width: 243px;
  }

  .reviews-section__item-screen {
    width: 236px;
  }

  .reviews-section__item-screen-border {
    width: 228px;
    left: 4px;
    top: 4px;
  }

  .reviews-section__item-black-bg,
  .reviews-section__item-screen-bg {
    width: 220px;
    left: 8px;
    top: 9px;
  }

  .reviews-section__item-camera {
    width: 70px;
    top: 15px;
  }

  .reviews-section__item-top-icons {
    width: 186px;
    left: 30px;
    top: 19px;
  }

  .reviews-section__item-photo {
    width: 193px;
    border-radius: 12px;
  }

  .reviews-section__item-title {
    font-size: 28px;
    margin-top: 17px;
  }

  .reviews-section__item-text {
    font-size: 12px;
    margin-top: 23px;
  }

  .reviews-section__item-screen-content {
    margin-top: 0;
    margin-left: 0;
    width: 100%;
    height: 100%;
  }

  .reviews-section__item-screen-inner-content {
    padding: 42px 24px 30px 22px;
    transform: scale(0.95);
  }

  .reviews-section__item-interval {
    margin-top: 30px;
  }

  .reviews-section__item-point::before {
    width: 6px;
    height: 6px;
  }

  .reviews-section__item-interval-text {
    margin-top: 8px;
    margin-bottom: 19px;
    font-size: 15px;
  }

  .reviews-section__item-point-text {
    font-size: 10px;
  }

  .reviews-section__item-bottom-text {
    margin-top: 8px;
    font-size: 15px;
  }

  .reviews-section__footer {
    position: relative;
    top: -20px;
  }
}
