.pros-say {
  --slide-container-width: 1400px;
  --content-width: 1400px;
  --content-padding-x: 0;
}

@media screen and (max-width: 1919px) {
  .pros-say {
    --content-width: 1200px;
  }
}

@media screen and (max-width: 1439px) {
  .pros-say {
    --slide-container-width: 900px;
    --content-width: 900px;
  }
}

@media screen and (max-width: 959px) {
  .pros-say {
    --content-padding-x: 24px;
  }
}

@media screen and (max-width: 679px) {
  .pros-say {
    --content-padding-x: 16px;
  }
}

.section-pros-say {
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
}

.pros-say {
  display: block;
  position: relative;
  padding-top: 135px;
  padding-bottom: 135px;
  background-color: #ffffff;
}

.pros-say__container {
  width: 100%;
  max-width: var(--slide-container-width);
  margin: 0 auto;
}

.pros-say__title {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 64px;
  white-space: pre-wrap;
}

.pros-say__tabs {
  display: flex;
  justify-content: center;
  align-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
  margin: 0;
  padding: 0 0 48px 0;
}

.pros-say-splide__track {
  overflow: unset !important;
}

.pros-say__tabs-item {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 190px;
  font-size: 18px;
  font-weight: 600;
  min-height: 48px;
  line-height: 1.4;
  padding: 8px 32px;
  background-color: #f5f5f5;
  border-radius: 60px;
}

.pros-say__tabs-item.active {
  color: #ffffff;
  background-color: #02060b;
}

.pros-say-splide__slide {
  display: flex;
  flex-direction: column;
  width: 440px;
  height: 372px;
  margin-right: 40px;
}

.pros-say-splide__item {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  background-color: #f6f6f6;
}

.pros-say-splide__item img {
  width: 100%;
  height: 100%;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}

.pros-say-splide__item:hover img {
  transform: scale(1.05);
}

.pros-say-splide__item-button-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(2, 6, 11, 0.35);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.pros-say-splide__item-button-play svg {
  width: 30px;
  height: 30px;
}

.pros-say-splide__title {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
}

.pros-say__arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pros-say__arrow {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  outline: none;
  transition: all 0.2s;
  background-color: #02060b;
  color: #ffffff;
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
}

.pros-say__arrow.splide__arrow--prev {
  top: 104px;
  left: 0;
}

.pros-say__arrow.splide__arrow--next {
  top: 104px;
  right: 0;
}

.pros-say__arrow > svg {
  transform: scale(1.8);
}

.pros-say__arrow:hover {
  transform: scale(1.1);
}

.pros-say__pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
}

.pros-say__pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.pros-say__pagination .splide__pagination__page {
  display: block;
  width: 24px;
  border-radius: 8px;
  height: 6px;
  background-color: #cccdce;
  transition: background-color 0.2s;
  padding: 0;
  border: 0;
  outline: none;
  cursor: pointer;
}

.pros-say__pagination .splide__pagination__page.is-active {
  width: 48px;
  background-color: #000000;
}

.pros-say-modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #1d1e1e;
  z-index: 1000;
}

.pros-say-modal.hidden {
  display: none;
}

.pros-say-modal .modal-close {
  position: absolute;
  top: 56px;
  right: 56px;
  cursor: pointer;
  z-index: 999999;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pros-say-modal .modal-close svg {
  width: 24px;
  height: 24px;
}

.pros-say-modal .modal-content-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.pros-say-modal .modal-content-container .splide {
  width: 100%;
  height: 100%;
  max-width: var(--content-width);
  padding-left: var(--content-padding-x);
  padding-right: var(--content-padding-x);
}

.pros-say-modal .modal-content-container .splide__track {
  height: 100%;
}

.pros-say-modal .splide__video__wrapper {
  display: block !important;
}

@media screen and (max-width: 1200px) {
  .pros-say-modal .modal-close {
    top: 80px;
    right: 20px;
  }
}

@media screen and (max-width: 1919px) {
  .pros-say {
    padding-top: 81px;
    padding-bottom: 81px;
    background-color: #ffffff;
  }

  .pros-say__title {
    font-size: 36px;
  }
}

@media screen and (max-width: 1439px) {
  .pros-say__title {
    font-size: 32px;
    margin-bottom: 48px;
  }

  .pros-say__tabs {
    gap: 32px;
    padding-bottom: 32px;
  }

  .pros-say__tabs-item {
    min-width: 126px;
    min-height: 32px;
    font-size: 12px;
  }

  .pros-say-splide__slide {
    width: 293px;
    height: 270px;
    margin-right: 26px;
  }

  .pros-say-splide__title {
    margin-top: 16px;
    font-size: 14px;
  }

  .pros-say-splide__item-button-play {
    width: 46px;
    height: 46px;
  }

  .pros-say-splide__item-button-play svg {
    width: 23px;
    height: 23px;
  }

  .pros-say__arrow {
    width: 26px;
    height: 26px;
  }

  .pros-say__arrow > svg {
    transform: scale(1.2);
  }

  .pros-say__arrow:hover {
    transform: scale(1.1);
  }

  .pros-say__arrow.splide__arrow--prev {
    top: 70px;
    left: 0;
  }

  .pros-say__arrow.splide__arrow--next {
    top: 70px;
    right: 0;
  }

  .pros-say__pagination .splide__pagination__page {
    width: 16px;
    border-radius: 6px;
    height: 4px;
  }

  .pros-say__pagination .splide__pagination__page.is-active {
    width: 32px;
  }
}

@media screen and (max-width: 959px) {
  .pros-say {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .pros-say__title {
    margin-bottom: 56px;
  }

  .pros-say__tabs {
    justify-content: flex-start;
    padding-left: 30px;
    gap: 16px;
  }

  .pros-say__tabs-item {
    min-width: 223px;
    min-height: 48px;
    font-size: 20px;
  }

  .pros-say__splide {
    padding-left: 30px;
  }

  .pros-say-splide__slide {
    width: 578px;
    height: 520px;
    margin-right: 20px;
  }

  .pros-say-splide__title {
    margin-top: 30px;
    font-size: 28px;
  }

  .pros-say__arrow {
    display: none;
  }

  .pros-say__pagination .splide__pagination__page {
    width: 24px;
    border-radius: 8px;
    height: 6px;
  }

  .pros-say__pagination .splide__pagination__page.is-active {
    width: 48px;
  }
}

@media screen and (max-width: 679px) {
  .pros-say {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .pros-say__title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 28px;
  }

  .pros-say__tabs {
    padding-left: 28px;
    padding-bottom: 22px;
    justify-content: flex-start;
    gap: 8px;
  }

  .pros-say__tabs-item {
    min-width: 120px;
    min-height: 32px;
    font-size: 12px;
  }

  .pros-say-splide__slide {
    width: 282px;
    height: 260px;
    margin-right: 12px;
  }

  .pros-say-splide__title {
    margin-top: 20px;
    font-size: 16px;
  }

  .pros-say__splide {
    padding-left: 28px;
  }

  .pros-say-splide__item-button-play {
    width: 32px;
    height: 32px;
  }

  .pros-say-splide__item-button-play svg {
    width: 16px;
    height: 16px;
  }

  .pros-say__arrow {
    display: none;
  }

  .pros-say-splide__track {
    overflow: hidden !important;
  }

  .pros-say__pagination .splide__pagination__page {
    width: 6px;
    border-radius: 100%;
    height: 6px;
  }

  .pros-say__pagination .splide__pagination__page.is-active {
    width: 6px;
  }

  .pros-say-modal .modal-content-container .splide {
    padding: 0;
  }

  .pros-say-modal .modal-close svg {
    width: 20px;
    height: 20px;
  }
}
