/*==========	Desktop First Method	==========*/
@media (max-width: 1219px) {
  .container {
    width: 970px;
  }
  :root {
    --section-offset: 90px;
  }
  body, html {
    font-size: 15px;
  }
  h1, h2 {
    font-size: 42px;
  }
  h3 {
    font-size: 36px;
  }
  h4 {
    font-size: 30px;
  }
  .title {
    margin-bottom: 35px;
    font-size: 17px;
  }
  .btn {
    min-width: 240px;
    min-height: 60px;
    font-size: 16px;
  }
  .btn > span {
    padding: 10px 20px;
  }
  .btn > .ic {
    width: 64px;
  }
  .btn._medium {
    font-size: 15px;
  }
  .btn._medium > .ic {
    width: 54px;
    font-size: 18px;
  }
  .header__grid {
    height: 60px;
  }
  .header__logo {
    margin-right: auto;
  }
  .header__logo img {
    max-height: 20px;
  }
  .header__menu,
  .header__grid > .btn {
    display: none;
  }
  .header__sandwich {
    display: block;
  }
  .bann {
    padding: 120px 0 100px;
  }
  .bann__wrap {
    max-width: none;
  }
  .bann__descr {
    max-width: 540px;
    font-size: 17px;
  }
  .bann__bg-wave {
    height: 50px;
  }
  .bann__bg-person {
    margin-left: 100px;
    max-width: 370px;
    max-height: 540px;
  }
  .advant-sect__ellipse {
    top: -60px;
    width: 700px;
  }
  .advant-sect__img {
    margin-right: -20px;
  }
  .advant-sect__box,
  .components__box {
    width: 480px;
    padding: 40px;
  }
  .bg-boxes {
    padding: 60px 25px;
  }
  .problems .bg-boxes__front img:nth-child(1) {
    display: none;
  }
  .problems__box {
    padding: 29px;
  }
  .components__img {
    margin-right: 0;
  }
  .usage-item {
    padding: 30px 30px 20px;
  }
  .usage-item__count {
    font-size: 48px;
  }
  .usage-sect .bg-boxes__front img:nth-child(2) {
    display: none;
  }
  .usage-sect__action {
    margin-top: 40px;
  }
  .iusti-sect__grid {
    max-width: 800px;
  }
  .iusti-sect__descr {
    font-size: 28px;
  }
  .brand-item {
    padding: 15px;
    height: 100px;
  }
  .brand-item .img-box {
    max-width: 200px;
  }
  .footer {
    padding: 100px 0 40px;
  }
  .footer__bg-wave {
    height: 81px;
  }
  .footer__bg:after {
    top: 80px;
  }
  .footer__bg-img {
    display: none;
  }
}
@media (max-width: 991px) {
  .container {
    width: 750px;
  }
  h1, h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 26px;
  }
  h5 {
    font-size: 20px;
  }
  h6 {
    font-size: 17px;
  }
  .bg-boxes__back, .bg-boxes__front {
    border-radius: 60px;
  }
  .bann__descr {
    max-width: 480px;
  }
  .bann__advants {
    max-width: 440px;
  }
  .bann__bg-person {
    max-width: 320px;
  }
  .advant-sect__grid {
    display: block;
  }
  .advant-sect__ellipse {
    left: 10%;
    width: 80%;
  }
  .advant-sect__img {
    margin: 0 auto -10px;
    max-width: 420px;
    text-align: center;
  }
  .advant-sect__box {
    width: 100%;
  }
  .problems__box {
    min-width: 100%;
  }
  .components {
    margin-top: var(--section-offset);
  }
  .components__grid {
    display: block;
  }
  .components__img {
    position: relative;
    z-index: 2;
    margin: 0 auto -15px;
    text-align: center;
  }
  .components__box {
    width: 100%;
  }
  .components__ellipse {
    top: -60px;
    right: 10%;
    width: 80%;
  }
  .components__person {
    display: none !important;
  }
  .usage-sect__grid .usage-item {
    min-width: 100%;
  }
  .iusti-sect__logo {
    margin-right: 40px;
    max-width: 320px;
  }
  .iusti-sect__descr {
    font-size: 26px;
  }
  .footer__content {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .container {
    width: 100%;
  }
  h1, h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 30px;
  }
  .bg-boxes {
    margin: 0;
    padding: 60px 0;
  }
  .bg-boxes__back {
    display: none;
  }
  .bg-boxes__front {
    border-radius: 0;
    -webkit-transform: none !important;
        -ms-transform: none !important;
            transform: none !important;
  }
  .bg-boxes__front img {
    display: none;
  }
  .header__lang li:nth-child(n+2) {
    margin-left: 5px;
    padding-left: 15px;
  }
  .header__lang li:nth-child(n+2):after {
    width: 10px;
  }
  .bann__bg-img,
  .bann__bg-person {
    display: none !important;
  }
  .bann__descr,
  .bann__advants {
    max-width: none;
  }
  .iusti-sect__logo {
    max-width: 40%;
  }
  .iusti-sect__descr {
    font-size: 22px;
  }
  .brands__grid {
    gap: 10px;
  }
  .brand-item {
    height: 70px;
  }
  .brand-item .img-box {
    max-width: 120px;
  }
}
@media (max-width: 575px) {
  h1, h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 26px;
  }
  h4 {
    font-size: 24px;
  }
  :root {
    --section-offset: 60px;
  }
  .bg-boxes {
    padding: 40px 0;
  }
  .header__grid {
    gap: 0 15px;
  }
  .header__lang {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .bann {
    padding: 100px 0 70px;
  }
  .advant-sect__ellipse {
    top: -40px;
    left: -10%;
    width: 120%;
  }
  .advant-sect__box, .components__box {
    padding: 30px 20px;
  }
  .problems__box {
    padding: 19px;
  }
  .components__ellipse {
    top: -30px;
    right: -10%;
    width: 120%;
  }
  .components__img {
    max-width: 80%;
  }
  .usage-item {
    padding: 20px 20px 10px;
  }
  .iusti-sect__grid {
    display: block;
    text-align: center;
  }
  .iusti-sect__logo {
    max-width: 70%;
    margin: 0 auto 40px;
  }
  .iusti-sect__descr {
    font-size: 20px;
  }
  .brand-item {
    min-width: 40%;
  }
  .footer__bot {
    display: block;
  }
  .footer__bot-dev {
    margin: 10px 0 0;
  }
}
/*==========	Mobile First Method	==========*/
@media (min-width: 1220px) {
  .components__box h3 {
    font-size: 38px;
  }
}