.page-landing .testimonials-section {
  padding: clamp(2rem, 3.5vw, 3rem) 0 clamp(3rem, 5vw, 4.5rem);
  background: #fff;
}

.page-landing .testimonials-section__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-landing .testimonials-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
}

.page-landing .testimonials-section__heading {
  width: 100%;
  max-width: none;
}

.page-landing .testimonials-section__eyebrow {
  margin: 0 0 0.45rem;
  color: #b8bcc6;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.page-landing .testimonials-section__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.page-landing .testimonials-section__title-accent {
  color: var(--color-primary);
}

.page-landing .testimonials-section__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.page-landing .testimonials-section__nav-btn {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1.5px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #667085;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.page-landing .testimonials-section__nav-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.page-landing .testimonials-section__nav-btn--next {
  color: var(--color-primary);
  border-color: rgba(0, 102, 255, 0.35);
  background: rgba(0, 102, 255, 0.04);
}

.page-landing .testimonials-section__nav-btn:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.12);
}

.page-landing .testimonials-section__nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f9fafb;
}

.page-landing .testimonials-section__viewport {
  overflow: hidden;
}

.page-landing .testimonials-section__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0 0.75rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.page-landing .testimonials-section__track::-webkit-scrollbar {
  display: none;
}

.page-landing .testimonial-card {
  scroll-snap-align: center;
  min-width: 0;
  height: 100%;
}

.page-landing .testimonial-card__content {
  height: 100%;
  padding: 1.25rem 1.15rem;
  border: 1px solid #e3e6ec;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transform: scale(0.96) translateY(6px);
  opacity: 0.72;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.page-landing .testimonial-card.is-active .testimonial-card__content {
  transform: scale(1) translateY(0);
  opacity: 1;
  border-color: rgba(0, 102, 255, 0.18);
  box-shadow: 0 14px 32px rgba(0, 102, 255, 0.1);
}

.page-landing .testimonial-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.page-landing .testimonial-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #f5a623;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.page-landing .testimonial-card__rating svg {
  width: 0.95rem;
  height: 0.95rem;
}

.page-landing .testimonial-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  text-align: start;
}

.page-landing .testimonial-card__quote {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.85;
  color: #667085;
  text-align: start;
}

@media (max-width: 1024px) {
  .page-landing .testimonials-section__track {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 720px) {
  .page-landing .testimonials-section__track {
    grid-auto-columns: min(100%, 18.5rem);
  }
}

@media (max-width: 640px) {
  .page-landing .testimonials-section__inner {
    padding: 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-landing .testimonial-card__content {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
