.testimonials {
  width: 100%;
  margin-top: 64px;
}
.testimonials__heading {
  margin: 0 0 32px !important;
  font-family: Antonio, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 126%;
  text-align: center;
  text-transform: uppercase;
}
.testimonials__carousel {
  position: relative;
  padding: 0 56px;
}
@media (max-width: 600px) {
  .testimonials__carousel {
    padding: 0 48px;
  }
}
.testimonials__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(33, 41, 107, 0.15);
  color: #21296b;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.testimonials__arrow--prev {
  left: 0;
}
.testimonials__arrow--next {
  right: 0;
}
.testimonials__arrow:hover {
  background: #ffba00;
  color: #221e1f;
}
.testimonials__arrow:focus-visible {
  outline: 2px solid #21296b;
  outline-offset: 2px;
}
.testimonials__arrow[hidden] {
  display: none;
}
.testimonials__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.testimonials__slide {
  display: none;
  flex: 0 0 auto;
}
.testimonials__slide.is-active, .testimonials__slide.is-prev, .testimonials__slide.is-next {
  display: flex;
}
.testimonials__slide.is-prev {
  order: 0;
}
.testimonials__slide.is-active {
  order: 1;
}
.testimonials__slide.is-next {
  order: 2;
}
.testimonials__slide.is-prev, .testimonials__slide.is-next {
  opacity: 0.5;
  filter: grayscale(0.7);
  transform: scale(0.9);
  pointer-events: none;
}
@media (max-width: 760px) {
  .testimonials__slide.is-prev, .testimonials__slide.is-next {
    display: none;
  }
}
.testimonials__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 280px;
  padding: 44px 28px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(33, 41, 107, 0.1);
  text-align: center;
}
.testimonials__quote-mark {
  position: absolute;
  top: 18px;
  left: 20px;
}
.testimonials__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.testimonials__text {
  margin: 0;
  color: rgba(33, 41, 107, 0.75);
  font-family: Palanquin, sans-serif;
  font-size: 15px;
  line-height: 160%;
}
.testimonials__rating {
  display: flex;
  gap: 4px;
}
.testimonials__star {
  flex-shrink: 0;
}
.testimonials__name {
  margin: 0;
  color: #21296b;
  font-family: Palanquin, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
}
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.testimonials__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(33, 41, 107, 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.testimonials__dot.is-active {
  background: #21296b;
  transform: scale(1.4);
}
.testimonials__dot:focus-visible {
  outline: 2px solid #21296b;
  outline-offset: 2px;
}
