.testimonials {
  background-color: #1b068c;
  padding: 50px 0;
}

.testimonials__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.testimonials__heading {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 42px);
  color: var(--gold);
  text-align: center;
  line-height: 1.15;
}

.testimonials__subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  color: var(--dim);
  text-align: center;
  margin-top: -32px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
}

.testimonials__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s;
}

.testimonials__card:hover {
  transform: translateY(-4px);
}

.testimonials__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #755cb7;
  background: linear-gradient(
    135deg,
    var(--royal-purple) 0%,
    var(--deep-navy) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonials__avatar span {
  font-family: "Rubik", sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
}

.testimonials__text {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--white);
  line-height: 1.65;
  flex: 1;
}

.testimonials__name {
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--lime);
}

.testimonials__stars {
  display: flex;
  gap: 4px;
}

.testimonials__stars svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1024px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonials {
    padding: 32px 0;
  }
}
