@media (max-height: 699px) {
  .header, .header__grid {
    height: 100px;
  }
}
/*==========	Desktop First Method	==========*/
@media (max-width: 1139px) {
  .container {
    width: 970px;
  }
  body, html {
    font-size: 16px;
  }
  h1, .h1 {
    font-size: 64px;
  }
  h2, .h2 {
    font-size: 26px;
  }
  .btn {
    padding: 16px 24px;
    line-height: 22px;
    font-size: 20px;
  }
  .form-field {
    padding: 11px 14px;
    line-height: 22px;
    font-size: 18px;
  }
  .title {
    margin-bottom: 35px;
  }
  .header__scroll:before {
    width: 100%;
  }
  .header, .header__grid {
    height: 80px;
  }
  .header__logo img {
    max-height: 60px;
  }
  .header__menu {
    display: none;
    position: absolute;
    z-index: 10;
    top: 60px;
    right: 0;
    padding: 1px;
    max-width: 100%;
    max-height: calc(var(--app-height) - 60px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .header__menu-list {
    display: block;
    position: relative;
    padding: 4px 18px 14px;
    text-transform: uppercase;
    font-size: 16px;
  }
  .header__menu-list:before, .header__menu-list:after {
    content: "";
    position: absolute;
    z-index: -1;
  }
  .header__menu-list:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    background-color: var(--main-color);
    background-image: linear-gradient(45deg, #7978f6 0%, #7d44f2 30%, #e424a7 70%, #cc3c52 100%);
  }
  .header__menu-list:after {
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 9px;
    background-color: #080112;
    background-image: radial-gradient(circle farthest-side at left bottom, #140c32, rgba(20, 12, 50, 0));
  }
  .header__menu-list > li {
    margin-top: 10px;
  }
  .bann {
    padding: 80px 0 90px;
  }
  .bann__wrap {
    max-width: 520px;
  }
  .bann__head {
    margin-bottom: 5px;
  }
  .bann__subhead {
    margin-bottom: 30px;
    font-size: 26px;
  }
  .bann__descr {
    font-size: 24px;
  }
  .bann__img img {
    max-width: 460px;
  }
  .bann__action {
    gap: 10px;
    margin-top: 40px;
  }
  .services {
    margin-bottom: 80px;
  }
  .services__grid {
    gap: 40px 0;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0 -15px;
  }
  .services__line {
    display: none;
  }
  .service-item {
    text-align: left;
    font-size: 1rem;
  }
  .service-item:nth-child(n) {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
    margin: 0;
    padding: 0 15px;
    width: 33.33%;
  }
  .service-item:nth-child(n) .service-item__number {
    top: 0;
    left: 0;
    bottom: 0;
    margin: 0 15px 0 0;
  }
  .service-item__number {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    position: relative;
  }
  .service-item__number:after {
    display: none;
  }
  .service-item__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .services__action {
    margin-top: 60px;
  }
  .tools {
    margin-bottom: 80px;
  }
  .tools__subhead {
    margin-bottom: 35px;
    font-size: 20px;
  }
  .tool-item {
    margin-bottom: 60px;
  }
  .tool-item__descr {
    font-size: 20px;
  }
  .partners {
    margin-bottom: 80px;
  }
  .partners .title {
    margin-bottom: 60px;
  }
  .partners__item img {
    max-width: 170px;
    max-height: 60px;
  }
  .tx-popup.popup {
    max-width: 420px;
  }
  .contacts {
    margin-bottom: 80px;
  }
  .footer {
    padding: 30px 0;
  }
  .footer:before {
    width: 100%;
  }
  .footer__logo {
    margin-left: 40px;
  }
}
@media (max-width: 991px) {
  .container {
    width: 750px;
  }
  h1, .h1 {
    font-size: 56px;
  }
  .bann {
    padding: 60px 0 80px;
  }
  .bann__img {
    top: -30px;
    margin-left: -10px;
  }
  .bann__img img {
    max-width: 320px;
  }
  .bann__wrap {
    max-width: 470px;
  }
  .bann__descr {
    font-size: 20px;
  }
  .service-item:nth-child(n) {
    width: 50%;
  }
  .tool-item__img {
    margin: 0 -70px 0 0;
    width: 420px;
  }
  .tool-item__main {
    margin-top: 0;
  }
  .tool-item__main .btn {
    margin-top: 25px;
  }
  .tool-item__descr {
    font-size: 18px;
  }
  .partners .title {
    margin-bottom: 40px;
  }
  .partners__grid {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 20px 35px;
    min-height: auto;
  }
  .partners__item img {
    max-width: 210px;
  }
}
@media (max-width: 767px) {
  .container {
    width: 100%;
  }
  body, html {
    font-size: 14px;
  }
  .btn {
    padding: 15px 24px;
    line-height: 20px;
    font-size: 18px;
  }
  .header, .header__grid {
    height: 70px;
  }
  .header__logo img {
    max-height: 50px;
  }
  .bann__wrap {
    max-width: 480px;
  }
  .bann__subhead {
    margin-bottom: 25px;
  }
  .bann__descr {
    font-size: 18px;
  }
  .bann__action {
    margin-top: 30px;
  }
  .bann__img {
    width: 500px;
    height: 500px;
  }
  .bann__img-ellips {
    -webkit-transform: translate(-92%, -74%);
        -ms-transform: translate(-92%, -74%);
            transform: translate(-92%, -74%);
  }
  .bann__img img {
    display: none;
  }
  .services__grid {
    gap: 30px 0;
  }
  .service-item:nth-child(n) {
    width: 50%;
  }
  .service-item:nth-child(n) .service-item__number {
    margin-right: 10px;
  }
  .service-item__top {
    margin-bottom: 0.7em;
  }
  .service-item__number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 50px;
  }
  .services__action {
    margin-top: 40px;
  }
  .tool-item {
    display: block;
    margin-bottom: 40px;
    text-align: center;
  }
  .tool-item__img {
    width: auto;
    margin: 0 auto 20px;
  }
  .tool-item__head {
    max-width: none;
  }
  .partners__item img {
    max-width: 160px;
    max-height: 40px;
  }
  .popup {
    padding: 30px;
  }
  .tx-popup__content {
    font-size: 16px;
  }
  .contacts__box {
    padding: 30px;
  }
  .contacts__title {
    margin-bottom: 30px;
  }
  .footer__mail {
    font-size: 16px;
  }
}
@media (max-width: 575px) {
  h1, .h1 {
    font-size: 48px;
  }
  .btn {
    padding: 15px 19px;
    width: 100%;
  }
  .form-grid .form-item {
    min-width: 100%;
  }
  .bann {
    padding-top: 40px;
  }
  .bann__subhead {
    font-size: 22px;
  }
  .services__grid {
    gap: 20px 0;
  }
  .service-item:nth-child(n) {
    width: 100%;
  }
  .service-item {
    font-size: 16px;
  }
  .tool-item__descr {
    font-size: 16px;
  }
  .partners .title {
    margin-bottom: 30px;
  }
  .partners__grid {
    gap: 15px 25px;
  }
  .partners__item img {
    max-height: 32px;
  }
  .popup {
    padding: 30px 20px;
  }
  .tx-popup.popup {
    max-width: none;
  }
  .contacts__box {
    padding: 20px;
  }
  .contacts__title {
    margin-bottom: 20px;
  }
  .footer {
    text-align: center;
  }
  .footer__grid {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .footer__logo {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
    margin: 0 0 20px;
  }
  .footer__main {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
  }
}
/*==========	Mobile First Method	==========*/
@media (min-width: 992px) {
  h2.contacts__head,
  .h2.contacts__head {
    font-size: 30px;
  }
}
@media (min-width: 1140px) {
  .header__menu {
    display: block !important;
  }
  .header__toggle {
    display: none;
  }
}