.testimonial-logo-section {
  background: #faf9ff;
  padding-bottom: 38px;
}

.testimonial-logo-section .testimonials-section {
  padding-bottom: 28px;
}

.client-logo-marquee {
  width: calc(100% - 48px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #0000, #000 4% 96%, #0000);
  mask-image: linear-gradient(90deg, #0000, #000 4% 96%, #0000);
}

.client-logo-marquee-track {
  will-change: transform;
  width: max-content;
  animation: 32s linear infinite client-logos-flow;
  display: flex;
}

.client-logo-marquee-group {
  flex: none;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  display: flex;
}

.client-logo-marquee-group > span {
  white-space: nowrap;
  letter-spacing: .07em;
  color: #9686ad;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 650;
  display: flex;
}

.client-logo-marquee-group i {
  color: #ab95ce;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
}

@keyframes client-logos-flow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (width <= 767px) {
  .testimonial-logo-section .testimonials-section {
    padding-bottom: 20px;
  }

  .testimonial-logo-section {
    padding-bottom: 25px;
  }

  .client-logo-marquee {
    width: calc(100% - 32px);
  }

  .client-logo-marquee-group {
    gap: 38px;
    padding-right: 38px;
  }

  .client-logo-marquee-group > span {
    font-size: 16px;
  }

  .client-logo-marquee-group i {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-marquee-track {
    will-change: auto;
    animation: none;
  }

  .client-logo-marquee {
    overflow-x: auto;
  }

  .client-logo-marquee-group[aria-hidden="true"] {
    display: none;
  }
}

.client-logo-marquee-group .client-brand {
  border-radius: 12px;
  flex: none;
  justify-content: center;
  width: 190px;
  height: 100px;
  padding: 14px;
}

.client-brand img {
  object-fit: contain;
  filter: none;
  opacity: .85;
  width: 100%;
  height: 72px;
  transition: opacity .3s, transform .3s;
}

.client-logo-marquee-group .client-brand-dark {
  background: #28233c;
}

.client-brand-name {
  letter-spacing: -.03em;
  color: #655379;
  font-size: 23px;
  font-weight: 600;
}

.client-logo-marquee:focus-within .client-logo-marquee-track, .client-logo-marquee:hover .client-logo-marquee-track {
  animation-play-state: paused;
}

@media (width <= 767px) {
  .client-logo-marquee-group .client-brand {
    width: 160px;
    height: 85px;
  }

  .client-brand img {
    height: 60px;
  }
}

.client-logo-marquee {
  background: #000;
  border-radius: 0;
  width: 100%;
  max-width: none;
  padding: 26px 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.client-logo-marquee-group {
  gap: 54px;
  padding-right: 54px;
}

.client-logo-marquee-group .client-brand, .client-logo-marquee-group .client-brand-dark {
  background: none;
  border-radius: 0;
  width: 220px;
  height: 100px;
  padding: 12px;
  overflow: hidden;
}

.client-brand img {
  opacity: 1;
  filter: grayscale() brightness(2);
  mix-blend-mode: screen;
  height: 76px;
}

.client-brand img[src$="client-luxury.jpg"] {
  filter: grayscale() invert() brightness(2);
  mix-blend-mode: screen;
}

.client-brand img[src$="client-hungary.png"] {
  filter: grayscale() brightness(5);
}

.client-brand img[src$="client-washland.webp"] {
  object-fit: cover;
  object-position: 50% 50%;
  filter: none;
}

.client-brand-name {
  color: #fff;
}

.client-brand:hover img {
  opacity: 1;
  transform: scale(1.035);
}

@media (width <= 767px) {
  .client-logo-marquee {
    width: 100%;
    padding: 18px 0;
  }

  .client-logo-marquee-group .client-brand {
    width: 185px;
    height: 85px;
  }

  .client-brand img {
    height: 62px;
  }
}
