/* gateaway */

.gateway-statistics-section {
  position: relative;
  width: calc(100% - 2 * 2.778vw);
  padding: 10.417vw 2.778vw;
  overflow: hidden;
  background-color: #000;
  color: #fff;
}

.gateway-title-wrapper {
  position: relative;
  width: max-content;
}

.gateway-title {
  display: flex;
  flex-direction: column;
  width: max-content;
  margin: 0;
  font-family: var(--title-font);
  font-size: 4.444vw;
  font-weight: 500;
  font-style: normal;
  line-height: 110%;
  letter-spacing: -2.5%;
  text-transform: uppercase;
}

.gateway-title::before {
  content: "";
  position: absolute;
  top: 2.411vw;
  left: 1vw;
  width: 4vw;
  height: 5vw;
  background-image: url("/wp-content/themes/pmtech/pages/payments-catalog/payments-single/assets/img/title-lines.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.gateway-title-first {
  display: block;
  padding-left: 2vw;
}

.gateway-title-mobile {
  display: none;
}

.gateway-title-orange {
  color: #ff5900;
}

.gateway-title-second {
  display: block;
  padding-left: 6vw;
}

.gateway-content {
  display: flex;
  gap: 3.611vw;
  margin-top: 3.472vw;
}

.gateway-information {
  width: 26vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gateway-description {
  margin: 0;
  font-family: var(--base-font);
  font-size: 1.111vw;
  font-weight: 500;
  font-style: normal;
  line-height: 125%;
  letter-spacing: 0;
  color: #F1F1F1;
}

.gateway-button {
  display: flex;
  align-items: center;
  gap: 0.694vw;
  height: 3.472vw;
  margin-top: 3.819vw;
  padding: 0 1.25vw;
  border-radius: 0.278vw;
  background-color: #ff5900;
  color: #fff;
  font-family: var(--base-font);
  font-size: 0.903vw;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.4s;
}

.gateway-button::after {
  content: "";
  flex-shrink: 0;
  width: 1.3vw;
  height: 1.2vw;
  background-image: url("/wp-content/themes/pmtech/pages/payments-catalog/payments-single/assets/img/white-arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  transition: 0.4s;
}

.gateway-button:hover {
  color: #000;
}

.gateway-button:hover::after {
  background-image: url("/wp-content/themes/pmtech/pages/payments-catalog/payments-single/assets/img/black-arrow.svg");
}


.gateway-link-button {
  gap: 0.694vw;
  background-color: #fff;
  color: #000;
}

.gateway-link-button::after {
  content: "";
  width: 1.111vw;
  height: 1.111vw;
  background-image: url("/wp-content/themes/pmtech/pages/payments-catalog/payments-single/assets/img/black-arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: 0.4s;
}

.gateway-link-button:hover {
  background-color: #ff5900;
  color: #fff;
}

.gateway-link-button:hover::after {
  background-image: url("/wp-content/themes/pmtech/pages/payments-catalog/payments-single/assets/img/white-arrow.svg");
}

.row-statistics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.778vw 2.222vw;
  width: 100%;
}

.statistic-box .number {
  margin: 0;
  color: #f1f1f1;
  font-family: var(--title-font);
  font-size: 4.444vw;
  font-weight: 500;
  line-height: 110%;
  text-transform: uppercase;
}

.statistic-box .text {
  margin: 0.694vw 0 0;
  color: #f1f1f1;
  opacity: 80%;
  font-family: var(--base-font);
  font-size: 1.111vw;
  font-weight: 500;
  line-height: 125%;
}

.statistic-box {
  position: relative;
  min-width: 0;
  opacity: 0;
  transform: translateY(2.778vw);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.statistic-box.statistic-visible {
  opacity: 1;
  transform: translateY(0);
}

.statistic-box:nth-child(2) {
  transition-delay: 0.1s;
}

.statistic-box:nth-child(3) {
  transition-delay: 0.2s;
}

.statistic-box:nth-child(4) {
  transition-delay: 0.3s;
}

.statistic-box:nth-child(5) {
  transition-delay: 0.4s;
}

.statistic-box:nth-child(6) {
  transition-delay: 0.5s;
}

@media screen and (max-width: 960px) {
  .gateway-link-button {
    gap: 2.051vw;
  }

  .gateway-link-button::after {
    width: 4.103vw;
    height: 4.103vw;
  }

  /* gateway */
  .gateway-statistics-section {
    width: 100%;
    padding: 23.077vw 0 15.385vw;
  }

  .gateway-title-wrapper {
    width: 100%;
  }

  .gateway-title-desktop {
    display: none;
  }

  .gateway-title {
    display: initial;
    flex-direction: initial;
    width: 100%;
    font-size: 7.179vw;
    line-height: 110%;
    letter-spacing: -2.5%;
  }
  .gateway-title::before {
    display: none;
  }
  .gateway-title-first,
  .gateway-title-second {
    display: initial;
    padding-left: 0;
  }
  .gateway-title-second {
    padding-left: 2vw;
  }

  .gateway-title-mobile::before {
    top: 10.205vw;
    left: 0;
    width: 17.487vw;
    height: 11.538vw;
    background-image: url("/wp-content/themes/pmtech/pages/payments-catalog/payments-single/assets/img/title-vector-mobile.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .gateway-title-line-one {
    display: block;
    padding-left: 2.564vw;
  }

  .gateway-title-line-two {
    display: flex;
    align-items: center;
    gap: 1.538vw;
    padding-left: 2.564vw;
    white-space: nowrap;
  }

  .gateway-title-line-three {
    display: block;
    padding-left: 20.513vw;
  }

  .gateway-title-orange {
    color: #ff5900;
  }

  .gateway-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 7.179vw;
  }

  .gateway-information {
    display: contents;
    width: auto;
  }

  .gateway-description {
    order: 1;
    width: 100%;
    margin: 0;
    font-size: 3.59vw;
    line-height: 125%;
  }

  .row-statistics {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    column-gap: 0;
    row-gap: 7.179vw;
    width: 100%;
    margin-top: 7.179vw;
  }

  .statistic-box:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .statistic-box:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .statistic-box:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  .statistic-box:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
  }

  .statistic-box:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }

  .statistic-box:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
  }

  .statistic-box {
    min-width: 0;
    transform: translateY(7.179vw);
  }

  .statistic-box.statistic-visible {
    transform: translateY(0);
  }

  .statistic-box .number {
    margin: 0;
    font-size: 9.744vw;
    white-space: nowrap;
    letter-spacing: -2.5%;
  }

  .statistic-box .text {
    margin: 2.051vw 0 0;
    font-size: 3.59vw;
    line-height: 125%;
  }

  .gateway-button {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62.821vw;
    height: 12.308vw;
    margin-top: 7.179vw;
    padding: 0 4.103vw;
    gap: 2.051vw;
    border-radius: 1.026vw;

    font-size: 3.077vw;
    line-height: 110%;
  }

  .gateway-button::after {
    width: 4.103vw;
    height: 4.103vw;
  }
}