.home-reviews {
  position: relative;
  width: 1920px;
  height: 1011px;
  margin-inline: auto;
  background: #fff;
  overflow: hidden;
}

.home-rv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-rv__bg-dots {
  position: absolute;
  top: -41px;
  left: -67px;
  width: 1987px;
  height: 1487px;
  background: url("../img/home-reviews/bg-dots.webp") center / cover no-repeat;
  opacity: 0.1;
}

.home-rv__bg-squares {
  position: absolute;
  top: -663px;
  left: -282px;
  width: 2598px;
  height: 2598px;
  background: url("../img/home-reviews/bg-squares.webp") center / cover no-repeat;
  opacity: 0.1;
}

.home-rv__title {
  position: absolute;
  top: 129px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 592px;
  margin: 0;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -0.96px;
  line-height: 57.6px;
  text-align: center;
  color: #000;
}

.home-rv__title-accent {
  font-family: "Barlow Condensed", "Barlow", Helvetica, sans-serif;
  font-weight: 700;
  color: #43328a;
}

.home-rv__grid {
  display: contents;
}

.home-rv__card {
  position: absolute;
  z-index: 1;
  width: 640px;
  height: 240px;
  background: #fbfafe;
  border-radius: 10px;
  box-shadow: 0 0 10px #43328a;
}

.home-rv__card--tl {
  top: 332px;
  left: 295px;
}

.home-rv__card--tr {
  top: 332px;
  left: 988px;
}

.home-rv__card--bl {
  top: 642px;
  left: 295px;
}

.home-rv__card--br {
  top: 642px;
  left: 988px;
}

.home-rv__avatar {
  position: absolute;
  top: 18px;
  left: 17px;
  width: 115px;
  height: 107px;
  border: 0;
  border-radius: 900px;
  object-fit: cover;
  /* Figma 4394:304 — no stroke/frame on photos */
  box-shadow: none;
  pointer-events: none;
}

.home-rv__card--tr .home-rv__avatar {
  top: 19px;
  left: 24px;
  height: 105px;
}

.home-rv__card--br .home-rv__avatar {
  top: 18px;
  left: 24px;
  height: 110px;
}

.home-rv__badge {
  position: absolute;
  top: 24px;
  left: 182px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 236px;
  height: 37px;
  border-radius: 20px 5px 20px 5px;
  box-shadow: 0 0 10px #43328a;
  background: linear-gradient(90deg, #dfe8ff 0%, #ebe6ff 100%);
}

.home-rv__card--tr .home-rv__badge,
.home-rv__card--br .home-rv__badge {
  left: 177px;
}

.home-rv__name {
  margin: 0;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 24px;
  text-align: center;
  color: #202020;
  white-space: nowrap;
}

.home-rv__card--bl .home-rv__name {
  font-weight: 600;
}

.home-rv__stars {
  position: absolute;
  top: 24px;
  left: 447px;
  display: flex;
  width: 175px;
  height: 35px;
}

.home-rv__card--tr .home-rv__stars,
.home-rv__card--br .home-rv__stars {
  top: 21px;
  left: 442px;
}

.home-rv__card--bl .home-rv__stars {
  top: 21px;
}

.home-rv__stars img {
  width: 35px;
  height: 35px;
  object-fit: cover;
  flex-shrink: 0;
}

.home-rv__role-row {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  top: 80px;
  left: 182px;
  max-width: calc(100% - 182px);
}

.home-rv__card--tr .home-rv__role-row {
  left: 177px;
  max-width: calc(100% - 177px);
}

.home-rv__card--bl .home-rv__role-row {
  top: 82px;
}

.home-rv__card--br .home-rv__role-row {
  top: 84px;
  left: 177px;
  max-width: calc(100% - 177px);
}

.home-rv__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: #43328a;
  border-radius: 2px;
}

.home-rv__role {
  margin: 0;
  min-width: 0;
  font-family: "Goldman", "Manrope", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 24px;
  color: #000;
  white-space: nowrap;
}

.home-rv__text {
  position: absolute;
  top: 126px;
  left: 182px;
  margin: 0;
  width: 424px;
  font-family: "Manrope", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 26px;
  color: #000;
}

.home-rv__card--tr .home-rv__text {
  left: 177px;
  width: 440px;
}

.home-rv__card--bl .home-rv__text {
  top: 130px;
  width: 409px;
  color: #1b1b1b;
}

.home-rv__card--br .home-rv__text {
  top: 127px;
  left: 177px;
  width: 419px;
}

@media (max-width: 1679px) {
  .home-reviews {
    width: 1440px;
    height: 920px;
    zoom: calc(100cqw / 1440px);
    margin-inline: 0;
    margin-bottom: 0;
  }

  .home-rv__bg-dots {
    top: 51px;
    left: 6px;
    width: 1987px;
    height: 1487px;
  }

  .home-rv__bg-squares {
    top: -571px;
    left: -209px;
    width: 2598px;
    height: 2598px;
  }

  .home-rv__title {
    top: 129px;
    width: 592px;
    height: 72px;
    font-size: 36px;
    letter-spacing: -0.72px;
    line-height: 1.2;
  }

  .home-rv__card {
    width: 600px;
    height: 230px;
  }

  .home-rv__card--tl {
    top: 279px;
    left: 106px;
  }

  .home-rv__card--tr {
    top: 279px;
    left: 730px;
  }

  .home-rv__card--bl {
    top: 561px;
    left: 106px;
  }

  .home-rv__card--br {
    top: 561px;
    left: 730px;
  }

  .home-rv__avatar {
    top: 18px;
    left: 17px;
    width: 105px;
    height: 97px;
  }

  .home-rv__card--tr .home-rv__avatar {
    top: 19px;
    left: 24px;
    height: 96px;
  }

  .home-rv__card--bl .home-rv__avatar {
    top: 18px;
    left: 17px;
    height: 98px;
  }

  .home-rv__card--br .home-rv__avatar {
    top: 18px;
    left: 24px;
    height: 100px;
  }

  .home-rv__badge {
    top: 23px;
    left: 147px;
    width: 236px;
    height: 37px;
  }

  .home-rv__card--tr .home-rv__badge,
  .home-rv__card--br .home-rv__badge {
    top: 24px;
    left: 158px;
  }

  .home-rv__name {
    font-size: 18px;
    letter-spacing: -0.36px;
    line-height: 1.2;
  }

  .home-rv__stars {
    top: 23px;
    left: 412px;
    width: 125px;
    height: 25px;
  }

  .home-rv__card--tr .home-rv__stars,
  .home-rv__card--br .home-rv__stars {
    top: 21px;
    left: 423px;
  }

  .home-rv__card--bl .home-rv__stars {
    top: 21px;
    left: 412px;
  }

  .home-rv__stars img {
    width: 25px;
    height: 25px;
  }

  .home-rv__role-row {
    top: 79px;
    left: 147px;
    max-width: calc(100% - 147px);
  }

  .home-rv__card--tr .home-rv__role-row {
    top: 80px;
    left: 158px;
    max-width: calc(100% - 158px);
  }

  .home-rv__card--bl .home-rv__role-row {
    top: 83px;
  }

  .home-rv__card--br .home-rv__role-row {
    top: 83px;
    left: 158px;
    max-width: calc(100% - 158px);
  }

  .home-rv__role {
    font-size: 18px;
    letter-spacing: -0.36px;
    line-height: 1.2;
  }

  .home-rv__text {
    top: 120px;
    left: 147px;
    width: 424px;
    font-size: 18px;
    letter-spacing: -0.36px;
    line-height: 1.3;
  }

  .home-rv__card--tr .home-rv__text {
    top: 117px;
    left: 158px;
    width: 419px;
  }

  .home-rv__card--bl .home-rv__text {
    top: 120px;
    left: 147px;
    width: 409px;
  }

  .home-rv__card--br .home-rv__text {
    top: 120px;
    left: 158px;
    width: 419px;
  }
}

@media (max-width: 1023px) and (min-width: 750px) {
  .home-reviews {
    width: 100%;
    height: auto;
    aspect-ratio: 768 / 781;
    zoom: unset;
    margin-inline: 0;
    margin-bottom: 0;
    overflow: hidden;
    container-type: inline-size;
    container-name: home-reviews;
  }

  .home-rv__bg-dots {
    top: calc(-275 / 781 * 100%);
    left: calc(-11 / 768 * 100%);
    width: calc(1517 / 768 * 100%);
    height: calc(1135 / 781 * 100%);
  }

  .home-rv__bg-squares {
    top: calc(-147 / 781 * 100%);
    left: calc(-406 / 768 * 100%);
    width: calc(1792 / 768 * 100%);
    height: calc(1792 / 781 * 100%);
  }

  .home-rv__title {
    top: calc(81 / 781 * 100%);
    left: 50%;
    transform: translateX(-50%);
    width: calc(377 / 768 * 100%);
    height: auto;
    font-size: 3.906cqi;
    letter-spacing: -0.078cqi;
    line-height: 1.2;
  }

  .home-rv__card {
    width: calc(316 / 768 * 100%);
    height: calc(250 / 781 * 100%);
    border-radius: calc(10 / 768 * 100cqi);
    box-shadow: 0 0 calc(10 / 768 * 100cqi) #43328a;
  }

  .home-rv__card--tl {
    top: calc(168 / 781 * 100%);
    left: calc(60 / 768 * 100%);
  }

  .home-rv__card--tr {
    top: calc(168 / 781 * 100%);
    left: calc(392 / 768 * 100%);
  }

  .home-rv__card--bl {
    top: calc(450 / 781 * 100%);
    left: calc(59 / 768 * 100%);
  }

  .home-rv__card--br {
    top: calc(450 / 781 * 100%);
    left: calc(392 / 768 * 100%);
  }

  .home-rv__avatar {
    top: calc(20 / 250 * 100%);
    left: calc(11 / 316 * 100%);
    width: calc(60 / 316 * 100%);
    height: calc(56 / 250 * 100%);
    border-radius: 50%;
    object-fit: cover;
  }

  .home-rv__card--tr .home-rv__avatar {
    top: calc(22 / 250 * 100%);
    left: calc(13 / 316 * 100%);
    height: calc(55 / 250 * 100%);
  }

  .home-rv__card--bl .home-rv__avatar {
    top: calc(20 / 250 * 100%);
    left: calc(12 / 316 * 100%);
    height: calc(56 / 250 * 100%);
  }

  .home-rv__card--br .home-rv__avatar {
    top: calc(19 / 250 * 100%);
    left: calc(13 / 316 * 100%);
    height: calc(57 / 250 * 100%);
  }

  .home-rv__badge {
    top: calc(20 / 250 * 100%);
    left: calc(79 / 316 * 100%);
    width: calc(128 / 316 * 100%);
    height: calc(46 / 250 * 100%);
    border-radius: calc(20 / 768 * 100cqi) calc(5 / 768 * 100cqi) calc(20 / 768 * 100cqi) calc(5 / 768 * 100cqi);
    box-shadow: 0 0 calc(10 / 768 * 100cqi) #43328a;
  }

  .home-rv__card--tr .home-rv__badge {
    top: calc(21 / 250 * 100%);
    left: calc(85 / 316 * 100%);
    width: calc(130 / 316 * 100%);
  }

  .home-rv__card--br .home-rv__badge {
    top: calc(20 / 250 * 100%);
    left: calc(84 / 316 * 100%);
    width: calc(130 / 316 * 100%);
  }

  .home-rv__name {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.953cqi;
    letter-spacing: -0.039cqi;
    line-height: 1.2;
    white-space: normal;
  }

  .home-rv__stars {
    top: calc(20 / 250 * 100%);
    left: calc(215 / 316 * 100%);
    width: calc(86 / 768 * 100cqi);
    height: calc(18 / 768 * 100cqi);
    gap: 0;
  }

  .home-rv__card--tr .home-rv__stars {
    top: calc(22 / 250 * 100%);
    left: calc(221 / 316 * 100%);
  }

  .home-rv__card--bl .home-rv__stars {
    top: calc(20 / 250 * 100%);
    left: calc(216 / 316 * 100%);
  }

  .home-rv__card--br .home-rv__stars {
    top: calc(19 / 250 * 100%);
    left: calc(221 / 316 * 100%);
  }

  .home-rv__stars img {
    flex: 0 0 calc(18 / 768 * 100cqi);
    width: calc(18 / 768 * 100cqi);
    height: calc(18 / 768 * 100cqi);
    object-fit: cover;
  }

  .home-rv__stars img:not(:last-child) {
    margin-right: calc(-1 / 768 * 100cqi);
  }

  .home-rv__role-row {
    top: calc(97 / 250 * 100%);
    left: calc(22 / 316 * 100%);
    gap: calc(8 / 768 * 100cqi);
    max-width: calc(294 / 316 * 100%);
  }

  .home-rv__card--tr .home-rv__role-row {
    top: calc(95 / 250 * 100%);
    left: calc(22 / 316 * 100%);
    max-width: calc(294 / 316 * 100%);
  }

  .home-rv__card--bl .home-rv__role-row {
    top: calc(95 / 250 * 100%);
    left: calc(20 / 316 * 100%);
    max-width: calc(296 / 316 * 100%);
  }

  .home-rv__card--br .home-rv__role-row {
    top: calc(91 / 250 * 100%);
    left: calc(22 / 316 * 100%);
    max-width: calc(294 / 316 * 100%);
  }

  .home-rv__dot {
    width: calc(5 / 768 * 100cqi);
    height: calc(5 / 768 * 100cqi);
    border-radius: calc(2 / 768 * 100cqi);
  }

  .home-rv__role {
    font-size: 1.953cqi;
    letter-spacing: -0.039cqi;
    line-height: 1.2;
    white-space: normal;
  }

  .home-rv__text {
    top: calc(131 / 250 * 100%);
    left: calc(19 / 316 * 100%);
    width: calc(277 / 316 * 100%);
    font-size: 2.083cqi;
    letter-spacing: -0.042cqi;
    line-height: 1.3;
    color: #1b1b1b;
  }

  .home-rv__card--tr .home-rv__text {
    top: calc(131 / 250 * 100%);
    left: calc(22 / 316 * 100%);
    width: calc(268 / 316 * 100%);
    color: #000;
  }

  .home-rv__card--bl .home-rv__text {
    top: calc(138 / 250 * 100%);
    left: calc(20 / 316 * 100%);
    width: calc(273 / 316 * 100%);
  }

  .home-rv__card--br .home-rv__text {
    top: calc(138 / 250 * 100%);
    left: calc(22 / 316 * 100%);
    width: calc(276 / 316 * 100%);
    color: #000;
  }
}

@media (max-width: 749px) {
  .home-reviews {
    width: 100%;
    height: auto;
    aspect-ratio: 360 / 1134;
    zoom: unset;
    margin-inline: 0;
    margin-bottom: 0;
    overflow: hidden;
    container-type: inline-size;
    container-name: home-reviews;
  }

  .home-rv__bg-dots {
    top: calc(46 / 1134 * 100%);
    left: calc(-536 / 360 * 100%);
    width: calc(1517 / 360 * 100%);
    height: calc(1135 / 1134 * 100%);
  }

  .home-rv__bg-squares {
    top: calc(-39 / 1134 * 100%);
    left: calc(-267 / 360 * 100%);
    width: calc(1178 / 360 * 100%);
    height: calc(1178 / 1134 * 100%);
  }

  .home-rv__title {
    top: calc(70 / 1134 * 100%);
    left: 50%;
    transform: translateX(-50%);
    width: calc(272 / 360 * 100%);
    height: auto;
    font-size: 6.111cqi;
    letter-spacing: -0.122cqi;
    line-height: 1.2;
  }

  .home-rv__card {
    width: calc(316 / 360 * 100%);
    height: calc(212 / 1134 * 100%);
    border-radius: calc(10 / 360 * 100cqi);
    box-shadow: 0 0 calc(10 / 360 * 100cqi) #43328a;
  }

  .home-rv__card--tl {
    top: calc(138 / 1134 * 100%);
    left: calc(21 / 360 * 100%);
  }

  .home-rv__card--bl {
    top: calc(376 / 1134 * 100%);
    left: calc(23 / 360 * 100%);
  }

  .home-rv__card--tr {
    top: calc(614 / 1134 * 100%);
    left: calc(23 / 360 * 100%);
  }

  .home-rv__card--br {
    top: calc(852 / 1134 * 100%);
    left: calc(23 / 360 * 100%);
  }

  .home-rv__avatar {
    top: calc(16 / 212 * 100%);
    left: calc(19 / 316 * 100%);
    width: calc(50 / 316 * 100%);
    height: calc(46 / 212 * 100%);
    border-radius: 50%;
    object-fit: cover;
  }

  .home-rv__card--tr .home-rv__avatar {
    top: calc(17 / 212 * 100%);
    left: calc(17 / 316 * 100%);
    height: calc(45 / 212 * 100%);
  }

  .home-rv__card--bl .home-rv__avatar {
    top: calc(16 / 212 * 100%);
    left: calc(17 / 316 * 100%);
    height: calc(47 / 212 * 100%);
  }

  .home-rv__card--br .home-rv__avatar {
    top: calc(14 / 212 * 100%);
    left: calc(17 / 316 * 100%);
    height: calc(48 / 212 * 100%);
  }

  .home-rv__badge {
    top: calc(20 / 212 * 100%);
    left: calc(84 / 316 * 100%);
    width: calc(115 / 316 * 100%);
    height: calc(37 / 212 * 100%);
    border-radius: calc(20 / 360 * 100cqi) calc(5 / 360 * 100cqi) calc(20 / 360 * 100cqi) calc(5 / 360 * 100cqi);
    box-shadow: 0 0 calc(10 / 360 * 100cqi) #43328a;
  }

  .home-rv__card--tr .home-rv__badge {
    top: calc(21 / 212 * 100%);
    left: calc(85 / 316 * 100%);
  }

  .home-rv__card--bl .home-rv__badge {
    top: calc(20 / 212 * 100%);
    left: calc(79 / 316 * 100%);
  }

  .home-rv__card--br .home-rv__badge {
    top: calc(20 / 212 * 100%);
    left: calc(84 / 316 * 100%);
  }

  .home-rv__name {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 3.889cqi;
    letter-spacing: -0.078cqi;
    line-height: 1.2;
    white-space: normal;
  }

  .home-rv__stars {
    top: calc(20 / 212 * 100%);
    left: calc(215 / 316 * 100%);
    width: calc(83 / 360 * 100cqi);
    height: calc(15 / 360 * 100cqi);
    gap: 0;
  }

  .home-rv__card--tr .home-rv__stars,
  .home-rv__card--bl .home-rv__stars,
  .home-rv__card--br .home-rv__stars {
    top: calc(20 / 212 * 100%);
    left: calc(216 / 316 * 100%);
  }

  .home-rv__card--tr .home-rv__stars {
    top: calc(22 / 212 * 100%);
  }

  .home-rv__stars img {
    flex: 0 0 calc(15 / 360 * 100cqi);
    width: calc(15 / 360 * 100cqi);
    height: calc(15 / 360 * 100cqi);
    object-fit: cover;
  }

  .home-rv__stars img:not(:last-child) {
    margin-right: calc(2 / 360 * 100cqi);
  }

  .home-rv__role-row {
    top: calc(97 / 212 * 100%);
    left: calc(22 / 316 * 100%);
    gap: calc(7 / 360 * 100cqi);
    max-width: calc(282 / 316 * 100%);
  }

  .home-rv__card--tr .home-rv__role-row {
    top: calc(95 / 212 * 100%);
    left: calc(26 / 316 * 100%);
    max-width: calc(270 / 316 * 100%);
  }

  .home-rv__card--bl .home-rv__role-row {
    top: calc(95 / 212 * 100%);
    left: calc(24 / 316 * 100%);
    max-width: calc(270 / 316 * 100%);
  }

  .home-rv__card--br .home-rv__role-row {
    top: calc(91 / 212 * 100%);
    left: calc(28 / 316 * 100%);
    max-width: calc(270 / 316 * 100%);
  }

  .home-rv__dot {
    width: calc(5 / 360 * 100cqi);
    height: calc(5 / 360 * 100cqi);
    border-radius: calc(2 / 360 * 100cqi);
  }

  .home-rv__role {
    font-size: 3.889cqi;
    letter-spacing: -0.078cqi;
    line-height: 1.2;
    white-space: normal;
  }

  .home-rv__text {
    top: calc(131 / 212 * 100%);
    left: calc(19 / 316 * 100%);
    width: calc(282 / 316 * 100%);
    font-size: 3.333cqi;
    letter-spacing: -0.067cqi;
    line-height: 1.3;
    color: #1b1b1b;
  }

  .home-rv__card--tr .home-rv__text {
    top: calc(131 / 212 * 100%);
    left: calc(22 / 316 * 100%);
    width: calc(267 / 316 * 100%);
    color: #000;
  }

  .home-rv__card--bl .home-rv__text {
    top: calc(138 / 212 * 100%);
    left: calc(20 / 316 * 100%);
    width: calc(273 / 316 * 100%);
  }

  .home-rv__card--br .home-rv__text {
    top: calc(138 / 212 * 100%);
    left: calc(22 / 316 * 100%);
    width: calc(276 / 316 * 100%);
    color: #000;
  }
}
