/* ========= АДАПТАЦИЯ ПОД МОБИЛКУ ========= */
@media only screen and (max-width: 991px) {

  /* БАННЕР */
  .header {
    height: auto;
    padding: 0;
  }

  .header h1 {
    font-size: 28px;
    padding: 80px 15px 20px 15px;
  }

  .header img, .header .banner {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* МЕНЮ, ШАПКА */
  .logo {
    margin: 15px auto 20px auto;
    text-align: center;
  }

  .TopMenu {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: scroll;
    border-right: 1px solid #ccc;
    height: 100%;
    z-index: 500;
    padding: 70px 15px 15px 15px;
    width: 200px;
    background: #0e3748;
  }

  .TopMenu li {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .TopMenu li:last-child {
    border-bottom: 1px solid #fff;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }

  .phone {
    text-align: center;
    font-size: 25px;
    padding-top: 10px;
  }

  /* УСЛУГИ — 2 в ряд квадрат */
  .services .item {
    width: 48%;
    aspect-ratio: 1 / 1;
    display: inline-block;
    margin: 1%;
    vertical-align: top;
  }

  /* ПОЧЕМУ СТОИТ — 3 в ряд квадрат */
  .who .item {
    width: 31%;
    aspect-ratio: 1 / 1;
    display: inline-block;
    margin: 1%;
    vertical-align: top;
  }

  /* OUR WORKS — 2 в ряд */
  .work .item {
    width: 48%;
    display: inline-block;
    margin: 1%;
    vertical-align: top;
  }

  /* ОБЩИЕ ОТСТУПЫ */
  .services, .who, .work, .faq, .brif, .sendform {
    padding: 60px 0;
    text-align: center;
  }

  .imageRespon {
    margin-bottom: 20px;
  }

  .imageBoxWork .imageRespon {
    margin-bottom: 0;
  }

  /* ФУТЕР — 2 БЛОКА */
  footer {
    text-align: center;
  }

  footer .footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }

  footer .footer-inner > div {
    width: 48%;
  }

  footer .footer-inner .services {
    order: 1;
  }

  footer .footer-inner .contacts {
    order: 2;
  }

  footer .btns-white {
    display: block;
    width: 30%;
    margin: 0 auto 20px auto;
  }
}

/* МОБИЛКА < 767px */
@media only screen and (max-width: 767px) {
  .header h1 {
    font-size: 22px;
  }
}
