@media (max-height: 799px) {
  .bann-slider__title img {
    max-width: 460px;
  }
  .bann-slider__title p {
    letter-spacing: 0.08em;
    font-size: 12px;
  }
}
/*==========	Desktop First Method	==========*/
@media (max-width: 1739px) {
  :root {
    --box-offset: 40px;
  }
  .container {
    width: 1170px;
  }
  h1, .h1,
  h2, .h2 {
    font-size: 46px;
  }
  .close-btn {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
  }
  .header + .m-sect,
  .header + .mt-sect {
    margin-top: 175px;
  }
  .header + .p-sect,
  .header + .pt-sect {
    padding-top: 175px;
  }
  .header__grid {
    gap: 15px;
  }
  .header__logo {
    margin-right: 20px;
  }
  .header__menu-list {
    gap: 24px;
    font-size: 14px;
  }
  .header__mess-head {
    margin-right: 10px;
    max-width: 105px;
  }
  .bann-serv__box {
    padding: 20px;
    margin-top: -60px;
    min-height: 70px;
  }
  .bann-serv__grid {
    --grid-gap: 20px;
  }
  .bann-serv__head {
    margin-bottom: 12px;
    font-size: 14px;
  }
  .bann-serv__items {
    padding: 0;
  }
  .about {
    margin: var(--sect-offset) 0;
  }
  .about__images {
    width: 300px;
  }
  .about__content {
    margin: 0 60px;
  }
  .title-logo {
    margin-bottom: 35px;
  }
  .title-logo img {
    max-width: 300px;
  }
  .title-logo p {
    font-size: 17px;
  }
  .bg-ellips {
    width: 1100px;
    padding: 160px;
  }
  .states-line__line {
    height: 40px;
  }
  .states-line__line span {
    background-size: 475px 100%;
  }
  .states-line__item-head {
    font-size: 24px;
  }
  .left-title {
    width: 340px;
  }
  .partners__item {
    width: 33.33%;
  }
  .services__col {
    width: 33.33%;
  }
  .services__col._form {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    width: 100%;
  }
  .services__grid-space {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  .service-card .img-full-box {
    height: 360px;
  }
  .service-card__head {
    padding: 19px;
  }
  .service-card__content {
    padding: 19px;
    font-size: 14px;
  }
  .advants {
    padding: var(--sect-offset) 0;
  }
  .advant-item {
    padding: 20px;
    font-size: 14px;
  }
  .advant-item__top {
    margin-bottom: 15px;
  }
  .advant-item__img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }
  .smi-marquee__item {
    margin-right: 35px;
  }
  .smi__grid {
    gap: 40px 0;
  }
  .smi__col {
    width: 33.33%;
  }
  .smi-item .img-full-box:before {
    height: 360px;
  }
  .smi-item__main {
    padding: 20px;
  }
  .smi-item__descr {
    font-size: 14px;
  }
  .docs__slider .swiper {
    width: 240px;
    height: 399px;
  }
  .docs__slider .swiper-slide-active {
    width: 300px !important;
  }
  .docs__slider .custom-nav {
    left: 320px;
  }
  .custom-nav .nav-arrows {
    margin-left: 30px;
  }
  .contacts__map {
    width: calc(50% - 80px);
  }
  .contacts__wrap {
    width: calc(50% + 80px);
    padding-right: 40px;
  }
  .footer {
    background-position: 150% 100%;
    font-size: 14px;
  }
  .footer:after {
    height: 5px;
  }
  .footer__wrap {
    padding: 80px 0 35px;
  }
  .footer__logo {
    margin: 0;
    width: 160px;
  }
  .footer__menu._main {
    width: 32%;
  }
  .footer__up {
    bottom: 5px;
  }
  .popup {
    padding: 50px 40px;
    max-width: 1140px;
  }
  .news__col {
    width: 33.33%;
  }
  .news-item__main {
    padding: 20px;
  }
  .news-item__date .ic {
    margin-right: 10px;
  }
  .news-item__descr {
    font-size: 14px;
  }
  .post__aside {
    width: 320px;
  }
  .aside-item {
    padding: 30px;
  }
}
@media (max-width: 1199px) {
  :root {
    --sect-offset: 80px;
  }
  h1, .h1,
  h2, .h2 {
    font-size: 40px;
  }
  h3, .h3 {
    font-size: 32px;
  }
  .container {
    width: 970px;
  }
  .btn {
    padding: 10px 24px;
    min-height: 60px;
  }
  .social-item._medium {
    width: 44px;
    height: 44px;
    line-height: 44px;
  }
  .breadcrumbs {
    font-size: 14px;
  }
  .form-title {
    margin-bottom: 30px;
    font-size: 16px;
  }
  .form-field {
    padding: 20px 25px;
  }
  select.form-field {
    padding-right: 50px;
    background-position: calc(100% - 24px) 50%;
  }
  .form-social__head {
    margin-right: 10px;
    max-width: 120px;
  }
  .form-option span {
    padding-left: 30px;
  }
  .form-file__files {
    padding: 0 25px;
    height: 60px;
  }
  .pagination__arrow {
    width: 44px;
    height: 44px;
    line-height: 44px;
  }
  .pagination__list a {
    min-width: 44px;
    line-height: 44px;
  }
  .pagination__list a .ic {
    line-height: 44px;
  }
  .title {
    font-size: 18px;
  }
  .header + .m-sect,
  .header + .mt-sect {
    margin-top: 105px;
  }
  .header + .p-sect,
  .header + .pt-sect {
    padding-top: 105px;
  }
  .header__wrapper {
    border-top: none;
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
  }
  .header__wrap {
    height: 65px;
  }
  .header__logo img {
    max-height: 56px;
  }
  .header__dot._contact,
  .header__grid .top-contact,
  .header__grid._bottom {
    display: none;
  }
  .header__grid._top {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
            flex: 1 0 auto;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    height: auto;
    border: none;
  }
  .header__grid .lang-menu {
    margin-bottom: 0;
  }
  .header__toggle {
    display: block;
    margin-left: 20px;
  }
  .header._scrolled .header__wrapper {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
  .header._scrolled .header__logo {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
  .bann-slider__nav-line {
    height: 180px;
  }
  .bann-serv__box {
    margin-top: -40px;
    min-height: 50px;
  }
  .bann-serv__col {
    width: 50%;
  }
  .about .bg-ellips {
    top: -300px;
    -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    width: 1200px;
  }
  .about__grid {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .about__content {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    margin: 0;
    width: 100%;
  }
  .about__content-wrap {
    max-width: 600px;
    margin: 0 auto;
  }
  .about__images {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    margin-top: 20px;
    width: auto;
  }
  .about__images._left {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    margin-right: 40px;
  }
  .about__images._right {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .about__content {
    text-align: center;
  }
  .title-logo {
    margin-bottom: 25px;
  }
  .states-line {
    padding: 40px 0;
  }
  .states-line__line {
    margin-top: -23px;
    height: 47px;
  }
  .states-line__line span {
    background-size: 375px 100%;
  }
  .states-line__item-head {
    font-size: 20px;
  }
  .left-title {
    width: auto;
    margin: 0 0 25px;
  }
  .partners__wrap {
    display: block;
  }
  .service-card .img-full-box {
    height: auto;
    padding-bottom: 95%;
  }
  .service-card__content {
    background-image: none;
  }
  .service-logo-card {
    padding: 20px;
    min-height: 280px;
  }
  .service-logo-card img {
    max-width: 180px;
    max-height: 180px;
  }
  .advants__col {
    width: 50%;
  }
  .advants__col:nth-child(n) .advant-item {
    background-color: rgba(16, 59, 42, 0.03);
  }
  .advants__col:nth-child(4n+2) .advant-item,
  .advants__col:nth-child(4n+3) .advant-item {
    background-color: rgba(245, 199, 118, 0.2);
  }
  .smi-item .img-full-box:before {
    height: auto;
    padding-bottom: 80%;
  }
  .smi-item .img-full-box .play-btn {
    top: 38%;
  }
  .smi-item__main {
    margin-top: -70px;
    min-height: 80px;
  }
  .docs__wrap {
    display: block;
  }
  .contacts__box {
    padding: 20px;
  }
  .contacts__logo {
    width: 120px;
  }
  .contact-item {
    margin-bottom: 10px;
  }
  .contact-item .ic {
    margin-right: 15px;
  }
  .footer {
    background-image: none;
  }
  .footer:before {
    top: -400px;
    width: 800px;
    height: 800px;
  }
  .footer__wrap {
    padding-top: 60px;
  }
  .footer__grid {
    gap: 40px;
  }
  .footer__logo {
    width: auto;
    max-width: 160px;
  }
  .footer__menu._main {
    display: none;
  }
  .footer__social {
    max-width: 260px;
  }
  .popup {
    max-width: 940px;
  }
  .post__aside {
    width: 100%;
  }
  .aside-item {
    padding: 40px;
  }
  .post-info__row {
    width: auto;
  }
  .post-info__img {
    margin-right: 15px;
  }
}
@media (max-width: 991px) {
  .container {
    width: 750px;
  }
  h1, .h1,
  h2, .h2 {
    font-size: 36px;
  }
  h3, .h3 {
    font-size: 30px;
  }
  .form-grid__col {
    min-width: 40%;
  }
  .form-action {
    gap: 20px;
  }
  .bann-slider__title img,
  .bann-slider__title p {
    max-width: 360px;
  }
  .states-line__line span {
    background-size: 295px 100%;
  }
  .partners__item {
    height: 80px;
  }
  .services__col {
    width: 50%;
  }
  .service-logo-card {
    display: none;
  }
  .advants .bg-ellips._left {
    display: none;
  }
  .smi__col {
    width: 50%;
  }
  .contacts__wrap,
  .contacts__map {
    width: 50%;
  }
  .contacts__logo {
    display: none;
  }
  .footer:before {
    margin-right: 180px;
  }
  .popup {
    max-width: 720px;
  }
  .news__col {
    width: 50%;
  }
}
@media (max-width: 767px) {
  :root {
    --sect-offset: 60px;
    --box-offset: 30px;
  }
  .container {
    width: 100%;
  }
  body, html {
    font-size: 14px;
  }
  body {
    line-height: 1.4;
  }
  h1, .h1,
  h2, .h2 {
    font-size: 32px;
  }
  h3, .h3 {
    font-size: 26px;
  }
  h4, .h4 {
    font-size: 20px;
  }
  h5, .h5 {
    font-size: 16px;
  }
  .close-btn {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
  }
  .title {
    font-size: 16px;
  }
  .content ul li {
    padding-left: 30px;
  }
  .content ul li:before {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .form-title {
    font-size: 15px;
  }
  .form-social {
    margin: 0 auto;
  }
  .form-social__head {
    max-width: none;
  }
  .form-action__btn {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    width: 100%;
  }
  .bann-slider__nav {
    right: 12px;
  }
  .bann-slider__title img, .bann-slider__title p {
    max-width: 320px;
  }
  .bann-item {
    min-height: 460px;
  }
  .about .bg-ellips {
    display: none;
  }
  .about__images._left {
    margin-right: 15px;
  }
  .about__images .img-full-box {
    border-width: 2px;
  }
  .states-line__line span {
    background-size: 39vw 100%;
  }
  .states-line__item-head {
    font-size: 18px;
  }
  .partners__item {
    height: 70px;
  }
  .smi__grid {
    gap: 20px 0;
    margin: 0 -2px;
  }
  .smi__col {
    padding: 0 2px;
  }
  .smi-item__main {
    padding: 15px;
  }
  .docs__slider .swiper {
    width: 180px;
    height: 294px;
  }
  .docs__slider .swiper-slide-active {
    width: 220px !important;
  }
  .docs__slider .custom-nav {
    left: 240px;
  }
  .doc-item {
    padding: 17px;
  }
  .contacts__wrap {
    width: auto;
    padding: var(--sect-offset) 0 40px;
  }
  .contacts__box {
    padding: 30px;
  }
  .contacts__logo {
    display: block;
  }
  .contacts__map {
    position: relative;
    width: 100%;
    height: 320px;
  }
  .footer__wrap {
    padding-top: 40px;
  }
  .footer:before {
    top: -50vw;
    width: 100vw;
    height: 100vw;
    margin-right: 5vw;
  }
  .footer__grid {
    gap: 30px 20px;
  }
  .footer__logo {
    max-width: 100px;
  }
  .footer__grid._bottom {
    gap: 20px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .popup {
    max-width: none;
    padding: 40px 30px;
  }
  .tx-popup.popup {
    padding: 40px 30px;
    max-width: 380px;
  }
  .news-item__main {
    padding: 15px;
  }
  .aside-item {
    padding: 30px;
  }
  .post-info__row {
    width: 100%;
  }
}
@media (max-width: 575px) {
  h1, .h1,
  h2, .h2 {
    font-size: 28px;
  }
  h3, .h3 {
    font-size: 24px;
  }
  .p-box {
    padding: var(--box-offset) 20px;
  }
  .pagination__list {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
    width: 100%;
  }
  .pagination__arrow {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
  .pagination__list a {
    min-width: 40px;
    line-height: 40px;
    font-size: 14px;
  }
  .pagination__list a .ic {
    line-height: 40px;
    font-size: 14px;
  }
  .form-grid__col {
    min-width: 100%;
  }
  .header__logo {
    margin-right: 15px;
  }
  .header__dot,
  .header__grid._top .social-grid {
    display: none;
  }
  .bann-slider__title img, .bann-slider__title p {
    max-width: 280px;
  }
  .bann-slider__nav {
    top: 80px;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
  .bann-slider__nav-line {
    margin: 5px auto;
    height: 50px;
  }
  .bann-serv__col {
    width: 100%;
  }
  .title-logo img {
    max-width: 280px;
  }
  .title-logo p {
    font-size: 16px;
  }
  .states-line {
    padding: 20px 0;
  }
  .states-line__line {
    top: 0;
    left: 19px;
    width: auto;
    height: 0;
    margin: 0;
    border-right: 1px dashed #fff;
    opacity: 0.4;
  }
  .states-line__line span {
    display: none;
  }
  .states-line__grid {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .states-line__item {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    width: 100%;
    text-align: left;
  }
  .states-line__item:nth-child(n) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .states-line__item-dot {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
  .states-line__item-img {
    width: 50px;
    height: 50px;
  }
  .states-line__item-head {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    width: auto;
    height: auto;
    font-size: 24px;
  }
  .states-line__item-head span {
    position: relative;
    overflow: visible;
    white-space: normal;
  }
  .states-line__item:nth-child(n) .states-line__item-img {
    -webkit-transform: translateX(-20px);
        -ms-transform: translateX(-20px);
            transform: translateX(-20px);
  }
  .states-line__item:nth-child(n) .states-line__item-head {
    -webkit-transform: translateX(20px);
        -ms-transform: translateX(20px);
            transform: translateX(20px);
  }
  .states-line._show .states-line__line {
    width: auto;
    height: 100%;
    -webkit-transition: height 3s linear;
    transition: height 3s linear;
  }
  .partners__item {
    padding: 9px 14px;
  }
  .services__col {
    width: 100%;
  }
  .service-card__head,
  .service-card__content {
    padding: 24px;
  }
  .service-card__content {
    background-image: url("../img/service-logo.svg");
    background-size: auto 100px;
    background-position: 92% 100%;
  }
  .advants__col {
    width: 100%;
  }
  .advants__col:nth-child(n) .advant-item {
    background-color: rgba(16, 59, 42, 0.03);
  }
  .advants__col:nth-child(2n) .advant-item {
    background-color: rgba(245, 199, 118, 0.2);
  }
  .smi__col {
    width: 100%;
  }
  .smi-item__main {
    padding: 20px;
  }
  .docs__slider .custom-nav {
    position: relative;
    left: 0;
    margin: 20px 0 0;
  }
  .contacts__box {
    padding: 20px;
  }
  .contacts__logo {
    display: none;
  }
  .footer__social {
    width: 100%;
    max-width: none;
  }
  .footer__menu._links {
    text-align: right;
  }
  .footer__grid._bottom {
    padding-right: 65px;
  }
  .footer__up {
    width: 50px;
    height: 65px;
  }
  .footer__up .ic {
    font-size: 18px;
  }
  .popup {
    padding: 40px 20px;
  }
  .tx-popup.popup {
    padding: 40px 20px;
    max-width: none;
  }
  .news__col {
    width: 100%;
  }
  .news-item__main {
    padding: 20px;
  }
  .aside-item {
    padding: 30px 20px;
  }
}
/*==========	Mobile First Method	==========*/