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

  h1 {
    font-size: 40px;
  }

  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;
    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%);
  }

  .text-reviews {
    grid-template-columns: 1fr;
  }

  .text-reviews img {
    width: 100px;
    height: 100px;
  }

  .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__lang {
    margin-left: auto;
    margin-right: 30px;
    gap: 8px;
  }

  .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: 150px 0;
    min-height: fit-content;
  }


  .about__content {
    width: 53%;
  }

  .about__item-title {
    margin-bottom: 20px;
  }

  .about__item-text {
    padding-right: 0;
  }

  .about__img {
    width: 45%;
    height: 285px;
  }

  .about__item:nth-child(even) .about__content {
    width: 45%;
    padding-right: 0;
  }

  .about__item:nth-child(even) .about__img {
    width: 50%;
    height: 313px;
  }

  .founder__name {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 15px;
    color: #1B1B1B;
  }

  .founder__footer-item {
    margin-bottom: 30px;
  }

  .team {
    padding: 90px 0;
  }

  .team__title {
    margin-bottom: 30px;
  }

  .team__item {
    width: 250px !important;
    margin-right: 20px;
  }

  .team__content {
    height: 250px;
  }

  .team__text {
    max-width: 420px;
  }

  .principes .item {
    max-width: 360px;
    padding: 20px;
  }

  .team__content:hover .team__desc,
  .team__content.active .team__desc {
    opacity: 100;
  }

  .advantages__title {
    width: 70%;
  }

  .advantages ul {
    width: 60%;
  }

  .advantages__item-title {
    font-size: 36px;
  }

  .advantages__item-text {
    font-size: 14px;
  }

  .advantages__img {
    right: -25px;
    height: 202px;
  }

  .consultation__image {
    margin-right: 0;
  }

  .consultation__container {
    justify-content: space-between;
  }

  .form {
    max-width: 360px;
  }

  .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: 14px;
  }

  .container {
    max-width: 400px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    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__trailer {
    margin: 35px auto 0;
  }

  .clients {
    padding-top: 40px;
  }

  .clients__title {
    margin-bottom: 20px;
  }

  .clients__item {
    width: 150px;
    height: 48px;
  }

  .about {
    padding: 40px 0;
  }

  .about__item,
  .about__item:nth-child(even) {
    flex-direction: column-reverse;
    margin-bottom: 30px;
  }

  .about__content,
  .about__item:nth-child(even) .about__content {
    width: 100%;
  }

  .about__item-title {
    margin-bottom: 10px;
    margin-top: 15px;
  }

  .about__img,
  .about__item:nth-child(even) .about__img {
    width: 100%;
    height: 270px;
  }

  .founder__bg {
    display: none;
  }

  .founder__container {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .founder__title {
    width: 100%;
    margin-bottom: 20px;
  }

  .founder__desc {
    width: 100%;
  }

  .founder__photo {
    position: relative;
    left: auto;
  }

  .founder__photo .photo {
    margin: 0 auto;
    width: 100%;
    height: 370px;
  }

  .founder__photo .decor {
    display: none;
  }

  .founder__footer {
    padding-top: 0;
    padding-bottom: 40px;
  }

  .founder__footer-wrap {
    margin: 0;
  }

  .founder__footer-item {
    width: 100%;
    margin: 0 0 15px;
    padding: 20px 27px 20px 55px;
  }

  .founder__footer-icon {
    top: 18px;
    left: 30px;
  }

  .team {
    padding: 40px 0;
  }

  .team__title {
    margin-bottom: 30px;
  }

  .team__content {
    margin-bottom: 15px;
  }

  .team__name {
    margin-bottom: 5px;
  }

  .team__wrap {
    margin-bottom: 25px;
  }

  .principes {
    padding: 40px 0;
  }

  .principes__title {
    margin-bottom: 20px;
  }

  .principes__text {
    margin-bottom: 20px;
  }


  .advantages {
    padding: 40px 0;
  }

  .advantages__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .advantages__title {
    width: 100%;
    margin-bottom: 30px;
    order: 1;
    text-align: center;
  }

  .advantages ul {
    width: 80%;
    margin-right: 0;
    order: 4;
  }

  .advantages__item {
    max-width: none;
    margin-bottom: 25px;
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  .advantages__item:nth-child(3) {
    margin-bottom: 25px;
  }

  .advantages__img {
    position: relative;
    right: auto;
    order: 3;
    height: 188px;
    width: 100%;
    margin-bottom: 20px;
  }

  .consultation__image {
    order: 2;
    width: 320px;
    height: 400px;
    margin-top: 30px;
  }

  .consultation__image::after {
    display: none;
  }



  .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__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;
  }

  .footer .sub-menu {
    -moz-columns: 1;
    columns: 1;
  }

  .footer__container{
    justify-content: center;
  }

  .consultation__image {
    height: 460px;
    padding-top: 90px;
    padding-left: 45px;
  }

  .consultation__image_list li {
    font-size: 12px;
  }
}