.reviews-section {
  padding: clamp(5rem, 9vw, 7.5rem) 1.25rem;
  background: #1e293b;
  color: #f8fafc;
}

.reviews-section__inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 3.5rem;
}

.reviews-section__header {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}

.reviews-section__title {
  margin: 0;
  font-family:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.reviews-section__subtitle {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 400;
  color: #94a3b8;
}

.reviews-section__slider {
  overflow: hidden;
  width: 100%;
  padding-bottom: 2.5rem;
  margin-bottom: -2.5rem;
  container-type: inline-size;
}

.reviews-section__track {
  display: flex;
  gap: 2rem;
  will-change: transform;
}

.reviews-section__card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: calc((100% - 4rem) / 3);
  width: calc((100cqi - 4rem) / 3);
  padding: 3rem 2.5rem 2.5rem;
  border-radius: 1.25rem;
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.reviews-section__quote-icon {
  margin-bottom: 2rem;
  color: #e2e8f0;
}

.reviews-section__quote {
  margin: 0 0 2rem;
  font-family:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: #334155;
  flex-grow: 1;
}

.reviews-section__quote p {
  margin: 0;
}

.reviews-section__quote p + p {
  margin-top: 14px;
}

.reviews-section__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 2.25rem;
  color: #cbd5e1;
}

.reviews-section__star.is-filled {
  color: #f59e0b;
}

.reviews-section__person {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.reviews-section__avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fca311;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.reviews-section__person-copy {
  display: grid;
  gap: 0.2rem;
}

.reviews-section__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.reviews-section__role {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .reviews-section__track {
    gap: 1.5rem;
  }
  .reviews-section__card {
    width: calc((100% - 1.5rem) / 2);
    width: calc((100cqi - 1.5rem) / 2);
  }
}

@media (max-width: 760px) {
  .reviews-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .reviews-section__inner {
    gap: 2.5rem;
  }

  .reviews-section__slider {
    padding-bottom: 1.5rem;
    margin-bottom: -1.5rem;
  }

  .reviews-section__track {
    gap: 1.5rem;
  }

  .reviews-section__card {
    width: 100%;
    width: 100cqi;
    padding: 2.5rem 2rem 2rem;
  }

  .reviews-section__title {
    font-size: 2.5rem;
  }
}

.reviews-section--light {
  background: #fdfdfd;
  color: #0f172a;
}
.reviews-section--light .reviews-section__title {
  color: #0f172a;
}
.reviews-section--light .reviews-section__subtitle {
  color: #475569;
}
.reviews-section--light .reviews-section__card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
}

.reviews-section__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

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

.reviews-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--CTA-Default);
  color: #0f172a;
  font-family: "Neuzeit Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1rem 2.5rem;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: none;
}

.reviews-section__button:hover {
  transform: translateY(-2px);
  box-shadow: var(--CTA-Shadow);
  color: #0f172a;
}
