.marquee:hover .marquee__group {
  animation-play-state: paused;
}

#opinie {
  padding: 96px 0;
}
@media screen and (max-width: 1439px) {
  #opinie {
    padding: 96px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section-header h2 {
  display: inline;
  font-size: var(--title-l);
  margin-bottom: 16px;
  
  margin-inline: auto;
  position: relative;
}

.section-header p {
  color: #5c5c5c;
  font-size: var(--text-m);
}

.reviews {
  margin-top: 64px;
}

.reviews-arrow {
  position: absolute;
  bottom: 12px;
  left: -300px;
}
@media (width < 1248px) {
  .reviews-arrow  {
    display: none;
  }
}

@media screen and (max-width: 1439px) {
  .reviews {
    margin-top: 48px;
  }
}

@media screen and (min-width: 992px) {
  .reviews-wrapper {
    max-width: 100%;
  }
}

@media screen and (max-width: 767.9px) {
  .reviews-mobile {
    padding: 0 12px;
  }
}

@media screen and (min-width: 992px) {
  .reviews-mobile {
    display: none;
  }
}
.reviews-desktop {
  display: none;
}
@media screen and (min-width: 992px) {
  .reviews-desktop {
    display: block;
    max-width: 100vw;
  }
}
.reviews-row {
  display: flex;
  gap: 24px;
  overflow: hidden;
  will-change: transform;
  -webkit-mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsla(0, 0%, 0%, 0),
    hsl(0, 0%, 0%) 20%,
    hsl(0, 0%, 0%) 80%,
    hsla(0, 0%, 0%, 0)
  );
  mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsla(0, 0%, 0%, 0),
    hsl(0, 0%, 0%) 20%,
    hsl(0, 0%, 0%) 80%,
    hsla(0, 0%, 0%, 0)
  );
}
.reviews-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  min-width: 100%;
  animation: marquee-left 160s linear infinite;
}
.reviews-group:hover {
  animation-play-state: paused;
}
.reviews-row--reverse .reviews-group {
  animation-direction: reverse;
}

.reviews-item {
  padding: 24px;
  background-color: #f6f6f6;
  border-radius: 16px;
  border: 2px solid #f0f0f0;
  box-sizing: border-box;
  box-shadow: 0px 4px 16px 0px rgba(210, 210, 210, 0.1490196078);
  transition-property: border-color, box-shadow;
  transition-duration: 0.5s;
}
@media screen and (min-width: 992px) {
  .reviews-item {
    width: 350px !important;
    min-width: 350px !important;
  }
}
.reviews-item:hover {
  border-color: var(--red-primary);
  /* box-shadow: 0px 0px 24px 16px rgba(153, 149, 145, 0.149); */
}
.reviews-item__text {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: #504b44;
}
.reviews-item__name {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #131210;
}
.reviews-item__position {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  color: #7a7267;
}
.reviews-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}
@media screen and (min-width: 992px) {
  .reviews-btns {
    display: none;
  }
}
.reviews-btn-next,
.reviews-btn-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: none;
  transition: opacity 0.5s;
}
.reviews-btn-next::after,
.reviews-btn-prev::after {
  content: none;
}
.reviews-btn-next.swiper-button-disabled,
.reviews-btn-prev.swiper-button-disabled {
  opacity: 0.35;
}
.reviews-btn-prev {
  margin-left: 48px;
}
@media screen and (max-width: 767.9px) {
  .reviews-btn-prev {
    margin-left: 12px;
  }
}

.reviews-btn-next {
  margin-right: 48px;
}
@media screen and (max-width: 767.9px) {
  .reviews-btn-next {
    margin-right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-group {
    animation-play-state: paused;
  }
}

.m__wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: auto;
  max-width: 100vw;
}

.marquee {
  display: flex;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  gap: var(--gap);
  -webkit-mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsla(0, 0%, 0%, 0),
    hsl(0, 0%, 0%) 20%,
    hsl(0, 0%, 0%) 80%,
    hsla(0, 0%, 0%, 0)
  );
  mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsla(0, 0%, 0%, 0),
    hsl(0, 0%, 0%) 20%,
    hsl(0, 0%, 0%) 80%,
    hsla(0, 0%, 0%, 0)
  );
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll-x var(--duration) linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
}
.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

@keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }
  to {
    transform: translateX(var(--scroll-end));
  }
}
