@media (max-height: 800px) {
  .bann {
    padding: 260px 0 8vh;
  }
}
@media (orientation: portrait) {
  .bann {
    padding-bottom: 10vh;
  }
}
/*==========	Desktop First Method	==========*/
@media (max-width: 1719px) {
  :root {
    --sect-offset: 120px;
    --sect-big-offset: 160px;
    --box-offset: 40px;
  }
  .container {
    width: 1170px;
  }
  body, html {
    font-size: 16px;
  }
  h1, .h1,
  h2, .h2 {
    font-size: 50px;
  }
  h3, .h3 {
    font-size: 36px;
  }
  h4, .h4 {
    font-size: 30px;
  }
  .title._mb-40 {
    margin-bottom: 30px;
  }
  .btn {
    min-width: 220px;
    min-height: 60px;
  }
  .form-field {
    padding: 19px 20px;
    line-height: 21px;
    font-size: 16px;
  }
  .form-file__files {
    height: 60px;
    padding: 0 20px;
  }
  .form-file__files-title {
    font-size: 16px;
  }
  .form-option {
    min-height: 20px;
    line-height: 20px;
    font-size: 14px;
  }
  .form-option input,
  .form-option span:before,
  .form-option span:after {
    width: 20px;
    height: 20px;
  }
  .form-option span:after {
    line-height: 20px;
    font-size: 10px;
  }
  .form-option span {
    padding-left: 30px;
  }
  .social-item._descr {
    padding: 0 14px;
  }
  .lang-menu {
    font-size: 12px;
  }
  .header__grid {
    height: 60px;
  }
  .header__logo {
    max-width: 60px;
  }
  .header__logo img {
    max-height: 40px;
  }
  .header__menu-list {
    gap: 18px;
    font-size: 12px;
  }
  .bann__action {
    margin-top: 20px;
  }
  .about__img {
    width: 55%;
  }
  .about__main {
    padding-left: 60px;
  }
  .about__head {
    margin-left: -160px;
  }
  .about__content {
    font-size: 18px;
  }
  .popup {
    max-width: 1140px;
  }
  .case-popup__title {
    margin-bottom: 30px;
  }
  .case-popup__content {
    font-size: 18px;
  }
  .cases__grid {
    margin: 0 -5px -10px;
  }
  .cases__col {
    padding: 0 5px 10px;
  }
  .case-item__img {
    height: 277px;
  }
  .case-item._big .case-item__img {
    height: 564px;
  }
  .case-item__bottom {
    padding: 20px;
  }
  .case-item__head {
    font-size: 24px;
  }
  .case-item__head .ic {
    font-size: 14px;
  }
  .case-item:hover .case-item__head {
    padding: 13px 19px;
    font-size: 20px;
    font-size: 24px;
  }
  .partners__title {
    width: 340px;
  }
  .partners__item {
    height: 90px;
  }
  .partners__item .img-box {
    max-width: 160px;
  }
  .tx-popup.popup {
    max-width: 540px;
  }
  .advants__grid {
    gap: 10px 0;
    margin: 0 -5px;
  }
  .advants__col {
    padding: 0 5px;
  }
  .advants__col:nth-child(2n) {
    margin-top: 30px;
    margin-bottom: -30px;
  }
  .advant-card {
    padding: 20px;
  }
  .advant-card:before {
    width: 20px;
    height: 20px;
  }
  .advant-card__title {
    margin-bottom: 15px;
  }
  .advant-card__img {
    margin-right: 15px;
    width: 50px;
    height: 50px;
  }
  .advant-card__head {
    font-size: 20px;
  }
  .services__img {
    padding-right: 20px;
  }
  .services__img:before {
    right: 40px;
  }
  .services__main {
    padding-left: 20px;
  }
  .service-item {
    margin-bottom: 10px;
    padding: 20px 110px 20px 20px;
  }
  .service-item__numb {
    top: 20px;
    right: 20px;
    font-size: 60px;
  }
  .services .inquire-line {
    margin-top: 60px;
  }
  .inquire-line {
    padding: 30px 40px;
  }
  .insta__link .ic {
    margin-right: 10px;
  }
  .footer__first {
    max-width: 260px;
  }
  .footer__descr {
    font-size: 12px;
  }
  .footer__menu._main {
    max-width: 160px;
  }
}
@media (max-width: 1239px) {
  .close-btn {
    right: 20px;
  }
}
@media (max-width: 1199px) {
  :root {
    --sect-offset: 80px;
    --sect-big-offset: 100px;
  }
  .container {
    width: 970px;
  }
  h1, .h1,
  h2, .h2 {
    font-size: 46px;
  }
  h3, .h3 {
    font-size: 30px;
  }
  h4, .h4 {
    font-size: 26px;
  }
  h5, .h5 {
    font-size: 22px;
  }
  .close-btn {
    top: -25px;
    width: 50px;
    height: 50px;
    line-height: 48px;
    font-size: 16px;
  }
  .nav-arrow-prev,
  .nav-arrow-next {
    margin-top: -25px;
    width: 50px;
    height: 50px;
    line-height: 48px;
    font-size: 10px;
  }
  .header__menu,
  .header__grid .social-item._descr {
    display: none;
  }
  .header__logo {
    margin-right: auto;
  }
  .header__toggle {
    display: inline-block;
  }
  .header__phone {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 50%;
    font-size: 0;
    -webkit-transition: border-color 0.4s;
    transition: border-color 0.4s;
  }
  .header__phone:after {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -0.5em;
    text-align: center;
    content: "\e907";
    font-family: "icomoon";
    text-transform: none;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    font-size: 16px;
    color: var(--dark-color);
  }
  .header__phone:hover {
    opacity: 1;
    border-color: var(--dark-color);
  }
  .about__main {
    padding-left: 40px;
  }
  .about__head {
    margin-left: -95px;
  }
  .popup {
    max-width: 940px;
  }
  .case-popup__content {
    font-size: 1rem;
  }
  .case-item__img {
    height: 227px;
  }
  .case-item._big .case-item__img {
    height: 464px;
  }
  .partners__title {
    width: auto;
    margin: 0 0 25px;
  }
  .partners__wrap {
    display: block;
  }
  .tx-popup.popup {
    max-width: 480px;
  }
  .advants__col {
    width: 50%;
  }
  .footer__grid {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .footer__first {
    max-width: 300px;
  }
  .footer__menu._main {
    display: none;
  }
}
@media (max-width: 1199px) and (min-width: 992px) {
  .case-item__head {
    font-size: 20px;
  }
  .case-item__head .ic {
    font-size: 12px;
  }
  .case-item:hover .case-item__head {
    font-size: 18px;
  }
}
@media (max-width: 991px) {
  .container {
    width: 750px;
  }
  h1, .h1,
  h2, .h2 {
    font-size: 36px;
  }
  h3, .h3 {
    font-size: 28px;
  }
  h4, .h4 {
    font-size: 24px;
  }
  h5, .h5 {
    font-size: 20px;
  }
  h6, .h6 {
    font-size: 18px;
  }
  .nav-arrow-prev {
    left: 15px;
  }
  .nav-arrow-next {
    right: 15px;
  }
  .about__main {
    padding-left: 30px;
  }
  .about__head {
    margin: 0 0 25px;
  }
  .about__content {
    font-size: 16px;
  }
  .popup {
    max-width: 720px;
  }
  .case-gallery__play .ic {
    width: 100px;
    height: 100px;
    line-height: 98px;
    font-size: 22px;
  }
  .cases__col {
    width: 50%;
  }
  .cases__col._big {
    width: 100%;
  }
  .case-item__img {
    height: 355px !important;
  }
  .form-popup__img {
    display: none;
  }
  .tx-popup.popup {
    max-width: 460px;
  }
  .services__wrap {
    display: block;
  }
  .services__img {
    width: 100%;
    padding-right: 0;
  }
  .services__img:before {
    right: 20px;
  }
  .services__img .img-full-box {
    padding-bottom: 100%;
  }
  .services__main {
    padding: var(--box-offset) 0 0;
  }
  .footer__first {
    max-width: 360px;
  }
  .footer__bottom {
    font-size: 14px;
  }
  .footer__dev {
    gap: 10px;
  }
  .footer__dev .ic {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  :root {
    --sect-offset: 60px;
    --sect-big-offset: 80px;
    --box-offset: 30px;
  }
  .container {
    width: 100%;
  }
  body, html {
    font-size: 14px;
  }
  h1, .h1,
  h2, .h2 {
    font-size: 34px;
  }
  h3, .h3 {
    font-size: 26px;
  }
  h4, .h4 {
    font-size: 22px;
  }
  h5, .h5 {
    font-size: 18px;
  }
  h6, .h6 {
    font-size: 16px;
  }
  .title._mb-40 {
    margin-bottom: 25px;
  }
  .subhead {
    font-size: 12px;
  }
  .header__grid {
    gap: 15px;
  }
  .about__grid {
    display: block;
  }
  .about__img {
    width: auto;
    padding: 0 0 15px 15px;
  }
  .about__img:before {
    top: 15px;
    right: 15px;
  }
  .about__main {
    padding: 25px 0 0;
  }
  .about__head {
    margin-bottom: 20px;
  }
  .popup {
    max-width: 100%;
    padding: 0;
  }
  .popup:before {
    display: none;
  }
  .case-popup .case-gallery {
    margin-top: 30px;
  }
  .case-popup__title {
    margin-bottom: 25px;
  }
  .case-item__img {
    height: auto !important;
    padding-bottom: 46vw;
  }
  .case-item__head {
    font-size: 22px !important;
  }
  .case-item:hover .case-item__head {
    padding: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .cases__col._big .case-item:not(._big) .case-item__img {
    padding-bottom: 50%;
  }
  .partners__item {
    width: 33.33%;
    height: 70px;
  }
  .tx-popup.popup {
    max-width: 360px;
  }
  .tx-popup .popup__wrap {
    padding: 30px;
  }
  .services__img {
    padding: 0 0 15px 15px;
  }
  .services__img:before {
    top: 15px;
    right: 15px;
  }
  .service-item {
    padding-right: 100px;
  }
  .service-item__numb {
    font-size: 50px;
  }
  .inquire-line {
    display: block;
    padding: 30px;
  }
  .inquire-line .btn {
    margin: 20px 0 0;
  }
  .footer__grid {
    gap: 30px;
  }
  .footer__first,
  .footer__menu,
  .footer__contacts {
    width: 100%;
    max-width: none;
  }
  .footer__head {
    font-size: 20px;
  }
  .footer__bottom {
    margin-top: 30px;
    padding-top: 30px;
  }
  .footer__copy {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    width: 100%;
  }
}
@media (max-width: 575px) {
  h1, .h1,
  h2, .h2 {
    font-size: 30px;
  }
  h3, .h3 {
    font-size: 24px;
  }
  .btn._mob-full {
    width: 100%;
    min-width: auto;
    padding-left: 19px;
    padding-right: 19px;
  }
  .nav-arrow-prev {
    left: 10px;
  }
  .nav-arrow-next {
    right: 10px;
  }
  .p-box {
    padding: 30px 20px;
  }
  .case-gallery__play .ic {
    width: 80px;
    height: 80px;
    line-height: 78px;
    font-size: 18px;
  }
  .case-popup .case-gallery {
    margin-left: -20px;
    margin-right: -20px;
  }
  .case-popup .case-gallery:last-child {
    margin-bottom: calc(-1 * var(--box-offset));
  }
  .cases__col {
    width: 100%;
  }
  .partners__item {
    padding: 15px;
  }
  .tx-popup.popup {
    max-width: 100%;
  }
  .tx-popup .popup__wrap {
    padding: 30px 20px;
  }
  .advants__col {
    width: 100%;
  }
  .advants__col:nth-child(n) {
    margin-top: 0;
    margin-bottom: 0;
  }
  .advant-card__title {
    max-width: 230px;
  }
  .service-item {
    padding: 20px;
  }
  .service-item__head {
    padding-right: 50px;
  }
  .service-item__numb {
    top: 15px;
    font-size: 30px;
  }
  .services .inquire-line {
    margin-top: 40px;
  }
  .inquire-line {
    border-radius: 0 20px;
    padding: 20px;
  }
  .insta__slider {
    overflow: visible;
  }
  .insta__slider .nav-arrow-prev,
  .insta__slider .nav-arrow-next {
    display: none;
  }
  .insta__slider .swiper-slide {
    width: 45%;
  }
  .footer__social {
    display: block;
  }
}
/*==========	Mobile First Method	==========*/