@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

:root {
  --dark-magenta: #502050;
  --soft-pink: #ee68a4;
  --dark-gray: #937b92;
  --light-gray: #f7f2f7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: .938rem;
  font-family: "League Spartan", sans-serif;
  background-color: white;
  color: var(--dark-magenta);
  line-height: 1.4;
}

.container {
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- INTRO ---------- */
.intro {
  text-align: center;
  margin-bottom: 2rem;
}

.intro__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}

.intro__text {
  color: var(--dark-gray);
  font-size: 1rem;
}

/* ---------- RATINGS ---------- */
.ratings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.rating {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.rating__stars {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-bottom: .6rem;
}

.rating__stars img {
  width: 16px;
  height: 16px;
}

.rating__text {
  font-weight: 700;
  font-size: .95rem;
}

/* ---------- TESTIMONIALS ---------- */

.testimonials .col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial {
  background: var(--dark-magenta);
  color: white;
  border-radius: 8px;
  padding: 1.5rem;
}

.testimonial__user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.testimonial__info h3 {
  font-size: 1rem;
  font-weight: 700;
}

.testimonial__role {
  color: var(--soft-pink);
  font-size: .85rem;
}

.testimonial__quote {
  font-size: .95rem;
  line-height: 1.4;
}

/* ---------- DESKTOP LAYOUT ---------- */
@media (min-width: 1000px) {
  .container {
    max-width: 1100px;
    padding: 4rem 2rem;
  }

.col {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .intro {
    width: 38%;
    text-align: left;
  }

  .intro__title {
    font-size: 3rem;
  }

  .ratings {
    display: flex;
    flex-direction: column;
  }

  .rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1rem 2rem;
  }

  .rating:nth-child(1) { margin-left: 2rem; margin-right: 6rem;}
  .rating:nth-child(2) { margin-left: 4rem; margin-right: 4rem;}
  .rating:nth-child(3) { margin-left: 6rem;}

  .testimonials .col {
    flex-direction: row;
  }

  .testimonial:nth-child(2) { margin-top: 2rem; }
  .testimonial:nth-child(3) { margin-top: 4rem; }
}