.of-testimonials {
  gap: 32px;
  padding: 56px 48px;
}

.of-testimonials__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--of-dark);
  text-align: center;
}

.of-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.of-testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 212px;
  padding: 24px;
  border-radius: 18px;
  background: #FFFFFF;
}

.of-testimonial__quote {
  width: 20px;
  height: 20px;
}

.of-testimonial__text {
  font-size: 14px;
  line-height: 1.3;
  color: var(--of-text);
}

.of-testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.of-testimonial__avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--of-pink-bg);
  color: var(--of-red);
  font-size: 13px;
  font-weight: 700;
}

.of-testimonial__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--of-dark);
}

.of-testimonial__role {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--of-muted);
}

.of-ratings {
  padding: 32px 24px;
  background: linear-gradient(180deg, #FDEAEE 0%, #FFFFFF 100%);
}

.of-ratings__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.of-rating {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 307px;
  min-height: 159px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 4px 12px 0 rgba(38, 38, 38, 0.08);
}

.of-rating__store {
  display: flex;
  align-items: center;
  gap: 8px;
}

.of-rating__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.of-rating__icon img {
  width: 15px;
  height: 15px;
}

.of-rating__icon--app-store {
  background: #000000;
}

.of-rating__icon--google-play {
  background: #FFFFFF;
  border: 1px solid var(--of-border);
}

.of-rating__store-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--of-dark);
}

.of-rating__score {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.of-rating__value {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--of-dark);
}

.of-rating__stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.of-rating__star {
  width: 12px;
  height: 12px;
  color: var(--of-yellow);
}

.of-rating__star:last-child {
  opacity: 0.35;
}

.of-rating__reviews {
  font-size: 11px;
  font-weight: 500;
  color: var(--of-muted);
}

.of-rating__downloads {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 198px;
  padding: 9px 0;
  border-top: 1px solid var(--of-border);
  font-size: 11px;
  font-weight: 600;
  color: var(--of-text);
}

.of-rating__downloads img {
  width: 12px;
  height: 12px;
}

@media (max-width: 1200px) {
  .of-testimonials__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  }
}

@media (max-width: 768px) {
  .of-testimonials {
    padding: 48px 16px;
  }

  .of-testimonials__title {
    font-size: 22px;
  }

  .of-testimonials__grid {
    grid-template-columns: minmax(0, 420px);
  }

  .of-testimonial {
    min-height: 0;
  }

  .of-ratings {
    padding: 32px 16px;
  }

  .of-rating {
    width: 100%;
    max-width: 420px;
    min-height: 0;
  }
}
