/* ==========================================================
   Мобильный первый экран (шрифт Inter)
   ========================================================== */
@media only screen and (max-width: 767px) {
  .container.first--3 {
    padding: 22px 12px 30px;
    background-image: url(/assets/img/first--3-mobile-img.png);
    background-repeat: no-repeat;
    background-size: 180px auto;
    background-position: 50% 112px;
  }

  .container.first--3 .main-title__title {
    font-size: 21px;
    line-height: 1.2;
  }

  .container.first--3 .main-title__subtitle {
    margin-top: 6px;
    font-size: 16px;
  }

  .container.first--3 .form__container {
    width: 100%;
    max-width: none;
    margin-top: 56px;
    padding: 18px;
  }

  .container.first--3 .form__title {
    font-size: 17px;
  }

  .container.first--3 .form__button {
    line-height: 48px;
    font-size: 20px;
  }

  .container.first--3 .form__conditional-text {
    font-size: 11px;
    line-height: 1.3;
  }
}

/* iOS Safari не зумит страницу при фокусе, если шрифт в поле >= 16px */
@media only screen and (max-width: 767px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input:not([type]),
  textarea,
  select,
  .form-input__container input {
    font-size: 16px !important;
  }
}

/* Узкие экраны */
@media only screen and (max-width: 359px) {
  .container.first--3 {
    padding: 10px 10px 24px;
    background-image: none;
  }

  .container.first--3 .main-title__title {
    font-size: 19px;
    line-height: 1.2;
  }

  .container.first--3 .main-title__subtitle {
    margin-top: 4px;
    font-size: 14px;
  }

  .container.first--3 .form__container {
    margin-top: 12px;
    padding: 12px;
  }

  .container.first--3 .form__button {
    line-height: 44px;
    font-size: 18px;
  }

  .container.first--3 .form__conditional-text {
    font-size: 10.5px;
  }

  .form-input__container {
    padding: 5px 12px;
  }
}
