/* Components
xs  < 576px — базовые стили
sm  ≥ 576px
md  ≥ 768px
lg  ≥ 992px
xl  ≥ 1200px
xxl ≥ 1400px
*/

.passport-page {
  .id-recognition-section,
  .clients-reviews-section {
    padding-block: 160px;

  }

  .recognition-capabilities-section,
  .recognition-integration-section {
    padding-block: 80px;
  }

  .antifraud-sherlock-section,
  .scaner-section,
  .green-ocr-section,
  .order-product-section {
    padding-block: 160px;

  }

  section {
    scroll-snap-align: start;
  }
}

/* Красная ссылка */
.link-red {
  color: #e42e00;

  img {
    display: inline-block;
    width: 22px;
    height: auto;
  }

  &:hover {
    color: #fff;
  }

  &.arrow-link {
    display: inline-block;
    padding-right: 32px;

    &:hover {
      color: #e42e00;
      padding-right: 32px;
      text-decoration: none;
    }

    &::after {
      content: '';
      display: block;
      width: 0;
      height: 3px;
      background: #e42e00;
      transition: width .3s;
    }

    &:hover::after {
      width: 100%;
    }
  }
  &.animated-link {
    display: inline-block;

    &:hover {
      color: #e42e00;
      text-decoration: none;
    }

    &::after {
      content: '';
      display: block;
      width: 0;
      height: 3px;
      background: #e42e00;
      transition: width .3s;
    }

    &:hover::after {
      width: 100%;
    }
  }
}

/* / Красная ссылка */

/* Красная кнопка */
.btn-send {
  position: relative;
  padding: 8px 0;
  width: 320px;
  color: #fff;
  font-family: 'Akt', sans-serif;
  font-weight: 900;
  font-size: 24px;
  text-decoration: none;
  text-wrap: nowrap;
  border: 2px solid #941e00;
  border-radius: 240px;
  background-color: #e42e00;
  box-shadow: 4px 4px 0 #941e00;
  transition: all 100ms linear;

  &:hover {
    color: #fff;
    text-decoration: none;
    background-color: #e42e00;
    border: 2px solid #941e00;
    box-shadow: 1.5px 1.5px 0 #941e00;
    transform: translate(2px, 2px);
  }

  &:focus {
    color: #fff;
    background-color: #e42e00;
    border: 2px solid #941e00;
    box-shadow: 4px 4px 0 #941e00;
    text-decoration: none;
  }

  &:hover:focus {
    border: 2px solid #941e00;
    box-shadow: 1.5px 1.5px 0 #941e00;
    transform: translate(2px, 2px);
  }

  &:active {
    color: #fff !important;
    background-color: #e42e00 !important;
    border: 2px solid #941e00 !important;
    box-shadow: 0 0 0 #941e00 !important;
    transform: translate(4px, 4px) !important;
  }
}


/* курсор свайпера */
.swiper-control-btn {
  height: 30px;
  width: 24px;
  border: none;
  padding: 0;
  margin: 0;

  background: none;
  filter: drop-shadow(2px 2px 0 #147E70);
  transition: all 100ms linear;
  color: #00B09A;



  &:hover {
    filter: drop-shadow(1px 1px #147E70);
    transform: translate(1px, 1px);
  }


  &:active {
    filter: drop-shadow(0 0 #147E70);
    transform: translate(2px, 2px);
  }
}


/* / Кнопка внизу мобилки */
.sticky-btn-wrapper {
  position: sticky;
  bottom: 0;
  width: 100%;
  padding: 16px 0 46px;
  z-index: 100;
  transition: opacity 0.3s ease, visibility 0.3s ease;


  .sticky-btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  &:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    top: 0;
    opacity: 0.9;
  }
}

.sticky-btn-wrapper.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Кнопка перемотки наверх страницы */
.to_top_btn {
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom: 95px;
  width: 45px;
  height: 45px;
  text-align: center;
  transform: translateZ(0);
  right: -60px;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  cursor: pointer;

  &:hover {
    background-color: rgba(0, 0, 0, 0.3);
  }

  &.is-active {
    visibility: visible;
    right: 15px;
    opacity: 1;
  }

  & svg {
    position: absolute;
    top: 15px;
    left: 15px;
    fill: #fff;
    height: 16px;
    width: 16px;
  }
}


.green-bullet {
  li {
    position: relative;
    font-size: 16px;
    margin-bottom: 16px;
    padding-left: 24px;
    list-style-type: none;

    &:before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 4px;
      width: 13px;
      height: 13px;
      color: #00b09a;
      background-color: #00b09a;
      border-radius: 10px;
    }
  }
}

/* ========================================
   (≥ 576px)
   ======================================== */
@media only screen and (min-width: 576px) {

}

/* ========================================
   (≥ 768px)
   ======================================== */
@media only screen and (min-width: 768px) {
  .green-bullet {
    li {
      font-size: 20px;
    }
  }

  /* Красная кнопка */
  .btn-send {
    width: 384px;
    font-size: 28px;
  }

  /* Красная кнопка */
}

/* ========================================
   (≥ 992px)
   ======================================== */
@media only screen and (min-width: 992px) {

  .passport-page {

    .id-recognition-section {
      padding-block: 240px;
    }

    .clients-reviews-section,
    .recognition-capabilities-section,
    .antifraud-sherlock-section,
    .scaner-section,
    .green-ocr-section {
      padding-block: 100px;
    }

    .recognition-integration-section {
      padding-block: 100px 240px;
    }

    .order-product-section {
      padding-block: 100px 180px;
    }
  }


  .btn-send {
    width: 480px;
    font-size: 32px;
  }
}

/* ========================================
   (≥ 1200px)
   ======================================== */
@media only screen and (min-width: 1200px) {

}

/* ========================================
   (≥ 1400px)
   ======================================== */
@media only screen and (min-width: 1400px) {

}
