@media only screen and (max-width: 1130px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .container {
    max-width: 760px;
  }

  .header {
    top: 10px;
  }
  .header__menu {
    position: fixed;
    width: 50%;
    background: #fff;
    height: 100vh;
    top: 0;
    right: 0;
    z-index: 10;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 50px;
    transition: 0.3s ease;
    transform: translateX(200%);
  }

  .header__menu .has-child:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 5px 0 5px;
    border-color: #000000 transparent transparent transparent;
    position: absolute;
    right: 0;
    top: 8px;
    transition: 0.3s ease;
  }

  .header__menu li {
    margin-bottom: 25px;
  }

  .header__menu li a {
    color: #202020;
  }

  .header__menu li:hover .sub-menu {
    min-height: 0;
  }

  .header__menu li.active:after {
    transform: rotate(180deg);
  }

  .header__menu li.active .sub-menu {
    max-height: 1000px;
    margin-top: 10px;
  }

  .header .sub-menu {
    padding: 0;
    padding-left: 10px;
    position: relative;
    max-height: 0;
    overflow: hidden;
    transform: none;
    left: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    background: transparent;
    width: 270px;
  }

  .header .sub-menu li a {
    color: #000;
  }

  .header__burger {
    width: 25px;
    height: 20px;
    padding: 3px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    z-index: 150;
  }

  .header__burger span {
    background: #fff;
    height: 2px;
    width: 100%;
    transition: 0.3s ease;
  }

  .header.active .header__menu {
    opacity: 1;
    transform: translateX(0);
  }

  .header.active .header__burger span {
    background: #202020;
  }

  .header.active .header__burger span:nth-child(1) {
    transform: translate(1px, 4px) rotate(45deg);
    width: 20px;
  }

  .header.active .header__burger span:nth-child(2) {
    width: 20px;
    transform: translate(1px, -8px) rotate(-45deg);
  }

  .header.active .header__burger span:nth-child(3) {
    display: none;
  }

  .heading {
    padding: 145px 0 95px;
  }

  .structure {
    padding: 70px 0;
  }

  .structure__item {
    width: 300px;
    margin: 0px 20px;
  }

  .footer__menu.services__menu {
    order: 1;
    max-width: 460px;
  }

  .footer__menu.pages__menu {
    margin-right: 0;
    order: 2;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer .sub-menu li {
    margin-bottom: 10px;
  }

  .footer .sub-menu li a {
    font-size: 14px;
  }




}

@media only screen and (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .container {
    max-width: 400px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 18px;
  }

  .btn {
    padding: 20px 10px;
  }

  .header.active {
    position: fixed;
  }

  .header.active .header__menu {
    width: 100%;
  }

  .header .sub-menu li a {
    font-size: 12px;
  }

  .heading {
    background-image: url(../img/GH5A4994-photoaidcom-darken.jpg) center /cover;
  }

  .no-webp .heading {
    background-image: url(../img/heading_bg-mobile.jpg);
  }

  .heading__title {
    max-width: 360px;
    margin: 0 auto;
  }

  .structure {
    padding: 50px 0;
  }

  .structure__item {
    margin: 0 0 30px;
    width: 100%;
    min-height: 214px;
    padding: 30px 30px 40px;
  }

  .structure__item:last-child {
    margin-bottom: 0;
  }

  .structure__item-icon {
    margin-bottom: 25px;
  }

  .structure__item-text,
  .structure__item-text a {
    font-size: 15px;
  }

  .structure__scheme {
    padding: 20px 20px 25px;
    margin: 0 0 30px;
  }

  .structure__scheme-title {
    margin-bottom: 15px;
    font-size: 23px;
  }

  .structure__scheme-img {
    max-width: none;
  }

  .partners {
    padding: 20px 0 40px;
  }

  .partners__item {
    width: 100%;
    margin-bottom: 40px;
  }

  .partners__item-img {
    height: 215px;
    margin-bottom: 20px;
  }

  .partners__item-text,
  .partners__item-text a {
    font-size: 14px;
  }

  .footer {
    font-size: 14px;
    padding-bottom: 30px;
  }

  .footer__info {
    width: 100%;
    text-align: center;
  }

  .footer__logo {
    margin-bottom: 20px;
  }

  .footer__logo img {
    width: 300px;
  }

  .footer__contacts {
    margin-bottom: 15px;
  }

  .footer__menu {
    text-align: center;
  }

  .footer__menu.pages__menu {
    order: 1;
    display: block;
    -moz-columns: 1;
    columns: 1;
  }

  .footer__menu.pages__menu li {
    margin-bottom: 15px;
  }

  .footer__menu.services__menu {
    order: 2;
    padding-top: 30px;
  }
  .services__menu .sub-menu{
    columns: 1;
  }
  .services__menu .sub-menu li{
    columns: 1;
    text-align: center;
  }

  .footer .sub-menu {
    text-align: left;
  }
  .footer__container{
    justify-content: center;
  }
}