
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


@media (max-width: 1200px) {
  .banner {
    padding: 160px 0 360px;

    .banner_wrap {
      .left {
        width: calc(100% - 520px);
      }
      .right {
        max-width: 500px;
      }
      h1 {
        font-size: 56px;
        line-height: 72px;
      }
      p {
        font-size: 20px;
        line-height: 30px;
        margin: 24px 0 40px;
      }
      .buttons .btn {
        min-width: 280px;
      }
    }
  }
}

@media (max-width: 992px) {
  .banner {
    padding: 120px 0 280px;

    .banner_wrap {
      flex-direction: column;
      gap: 40px;
      text-align: center;

      .left {
        width: 100%;
      }
      .right {
        max-width: 100%;
        order: -1;

        img {
          margin-right: 0;
          max-width: 320px;
        }
      }
      h1 {
        font-size: 42px;
        line-height: 54px;
      }
      p {
        margin: 20px auto 32px;
        font-size: 18px;
        line-height: 28px;
      }
      .buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;

        .btn {
          min-width: 260px;
        }
      }
    }
  }

  main.page {
    margin-top: -240px;
    border-radius: 40px 40px 0 0;
  }
}

@media (max-width: 768px) {
  .banner {
    padding: 100px 0 200px;

    .banner_wrap {
      h1 {
        font-size: 28px;
        line-height: 36px;
      }
      p {
        font-size: 16px;
        line-height: 24px;
        margin: 16px auto 24px;
      }
      .buttons .btn {
        min-width: 100%;
        height: 52px;
      }
      .right img {
        max-width: 260px;
      }
    }
  }

  main.page {
    margin-top: -180px;
    padding-top: 40px;
    border-radius: 24px 24px 0 0;
  }
}

@media (max-width: 576px) {
  .banner {
    padding: 80px 0 160px;

    .banner_wrap {
      gap: 24px;
      h1 {
        font-size: 22px;
        line-height: 28px;
      }
      .right img {
        max-width: 200px;
      }
    }
  }
}


@media (max-width: 992px) {
  .bonus {
    margin-bottom: 80px;

    .bonus_wrap .bonus_list {
      grid-template-columns: 1fr;
      gap: 24px;

      li {
        padding: 40px 32px;
        min-height: auto;

        &.image {
          grid-row-end: auto;
        }
        img {
          max-height: 280px;
        }
        span {
          font-size: 28px;
          line-height: 38px;
        }
        p {
          font-size: 15px;
        }
        &.lines p {
          font-size: 24px;
          line-height: 34px;
        }
      }
    }
    .load {
      margin-top: 24px;
    }
  }

  .bonus.dop .bonus_wrap .bonus_list li {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .bonus {
    margin-bottom: 60px;

    h1 {
      margin-bottom: 40px !important;
      font-size: 24px !important;
      line-height: 32px !important;
    }
    .bonus_wrap .bonus_list li {
      padding: 28px 20px;
      border-radius: 32px;

      span {
        font-size: 22px;
        line-height: 30px;
      }
      p {
        font-size: 14px;
        line-height: 20px;
      }
      &.lines p {
        font-size: 18px;
        line-height: 26px;
      }
      img {
        max-height: 200px;
      }
    }
  }

  .bonus.dop .bonus_wrap .bonus_list li {
    min-height: 220px;
  }
}

@media (max-width: 576px) {
  .bonus .bonus_wrap .bonus_list li {
    padding: 20px 16px;
    border-radius: 24px;
  }
}


@media (max-width: 576px) {
  .tariff .tariff_wrap .tariff_list li {
    .title span {
      font-size: 20px;
    }
    .price {
      font-size: 32px;
      line-height: 40px;
      padding-bottom: 28px;
      margin-bottom: 28px;
    }
    .features div p {
      font-size: 14px;
    }
  }
}


@media (max-width: 992px) {
  .faq .faq_wrap .faq_list {
    padding: 48px 40px;
  }
}

@media (max-width: 768px) {
  .faq {
    margin-bottom: 80px;

    .faq_wrap .faq_list {
      padding: 32px 24px;
      border-radius: 32px;

      li.view-item .view-item_header span {
        font-size: 18px;
        line-height: 26px;
      }
    }
  }
}

@media (max-width: 576px) {
  .faq .faq_wrap .faq_list {
    padding: 24px 16px;
    border-radius: 24px;
  }
}


@media (max-width: 768px) {
  .no .no_wrap {
    min-height: 80vh;
    padding: 40px 20px;

    span {
      font-size: 80px;
      line-height: 100px;
    }
    p {
      font-size: 18px;
      line-height: 26px;
      margin: 12px 0 32px;
    }
    .btn {
      min-width: 280px;
    }
  }
}

@media (max-width: 576px) {
  .no .no_wrap {
    min-height: 70vh;
    padding: 24px 16px;

    span {
      font-size: 56px;
      line-height: 72px;
    }
    p {
      font-size: 16px;
      line-height: 24px;
      margin: 8px 0 24px;
    }
    .btn {
      min-width: 100%;
      height: 52px;
    }
  }
}


@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }
}

@media (max-width: 576px) {
  html {
    scroll-padding-top: 60px;
  }
}
