@media only screen and (max-width:960px) {
   .footer__container {
      grid-template-columns: 25% 1fr 1fr;
      grid-template-rows: auto auto 1fr;
   }

   .footer__col--1 {
      grid-row: span 1;
      grid-column: 1/-1;
      flex-direction: row;
      margin-bottom: clamp(1.875rem, 1.125rem + 3.33vw, 3.125rem);
   }

   .in-about .in-about__container {
      padding-inline: 0;
      grid-template-columns: 1fr;
      grid-template-rows: repeat(3, 1fr);
   }

   .in-about::before {
      display: none;
   }

   .in-about__item {
      min-height: 0px;
      padding-inline: 15px;
   }

   .in-about__item:first-child {
      padding-left: 15px;
      background: #3551BF;
   }

   .in-about__title {
      min-height: 0;
   }

   .in-about__desc {
      max-width: none;
   }

   .in-strategy__grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .static__container{
      grid-template-columns: 1fr;
   }

   .static__img img{
      max-height: 450px;
   }
}

@media only screen and (max-width:767px) {
   .hero-item__title {
      line-height: 1.2;
   }

   .footer__container {
      grid-template-columns: 1fr 1fr;
   }

   .footer__col--2 {
      grid-row: span 1;
      grid-column: 1/-1;
      margin-bottom: clamp(1.875rem, 1.125rem + 3.33vw, 3.125rem);
   }

   footer .nav {
      flex-direction: row;
   }

   #menu {
      display: none;
      position: absolute;
      bottom: 1px;
      left: 0;
      width: 100%;
      background: #fff;
      padding: 0 15px 15px;
      box-shadow: 0px 20px 25px 0px #60606029;
      transform: translateY(100%);
   }

   .language {
      margin-left: auto;
   }

   /*bars*/
   .bars {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      width: 20px;
      height: 16px;
      cursor: pointer;
   }

   .bars span {
      display: inline-block;
      width: 100%;
      height: 2px;
      background: #000;
      margin-bottom: 5px;
      transition: all 0.3s;
   }

   .bars span:nth-child(3) {
      margin-bottom: 0;
   }

   .first {
      transform: translate(4px, 0.5px) rotate(45deg);
      transform-origin: left top;
   }

   .middle {
      transform: scale(0);
   }

   .last {
      transform: translate(-2px, -14px) rotate(-45deg);
      transform-origin: right bottom;
   }

   /**/
   .article:nth-child(2n) .article__img {
      order: 2;
   }

   .item-grid-3,
   .item-grid-4 {
      grid-template-columns: 1fr 1fr;
   }

   .item-grid-2,
   .in-form__container,
   .article {
      grid-template-columns: 1fr;
   }
}

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

   .footer__col--3,
   .footer__col--5 {
      font-size: 12px;
   }

   .footer__container {
      grid-template-columns: 1fr;
      gap: 30px;
      align-self: center;
   }

   footer .nav,
   header .nav {
      flex-direction: column;
      text-align: center;
   }

   header .nav {
      padding-block: 15px;
      font-size: 16px;
   }

   .footer__col--1,
   .footer__col--2,
   footer .social {
      margin-bottom: 0px;
   }

   .footer__col {
      text-align: center;
      padding-right: 0;
   }

   .footer__col--3 br,
   .footer__col--5 br {
      display: none;
   }

   .footer__col--3 {
      order: 4;
   }

   .footer__col--4 {
      order: 3;
   }

   .footer__col--5 {
      opacity: 0.5;
      order: 5;
   }

   .in-strategy__grid {
      grid-template-columns: 1fr;
   }

   .item-strategy {
      max-width: none;
   }

   .item-new__text {
      display: block;
   }
   .item-partner__img {
      height: 150px;
   }
}

@media only screen and (max-width:389px) {
   .item-grid-3,
   .item-grid-4 {
      column-gap: 10px;
   }
}

@media only screen and (max-width:343px) {
   .in-about__item,
   .in-about__item:first-child,
   .container,
   #menu {
      padding-inline: 8px;
   }

   .item-grid-3 {
      grid-template-columns: 1fr;
   }

   .in-form__container {
      padding: 16px;
   }
}