@charset "UTF-8";
* {
  box-sizing: border-box;
  outline: 0;
  margin: 0; }

body {
  background-color: #fff;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  height: 100vh;
  color: #373737;
  min-width: 320px; }

.header {
  background-color: #fff;
  padding: 15px 0 15px; }
  .header-logo {
    background: url(../img/header_logo.png) center no-repeat;
    background-size: 100%;
    width: 191px;
    height: 61px;
    padding: 15px 0; }
  .header-contacts {
    display: flex;
    justify-content: flex-end;
    align-items: center; }
    .header-contacts__phone {
      font-size: 22px;
      margin-right: 13px; }
      .header-contacts__phones {
        display: flex; }
      .header-contacts__phone:last-of-type {
        border-left: 1px solid #cfcfd0;
        padding-left: 10px; }
    .header-contacts__button {
      margin-left: 14px;
      display: flex;
      align-items: center; }
  .header_logo {
    max-width: 191px;
    width: 100%; }

.button {
  font-size: 14px;
  font-weight: 500;
  background-color: #fd9c28;
  border: none;
  color: #ffffff;
  padding: 13px 22px;
  font-family: 'Roboto';
  border-radius: 3px;
  cursor: pointer;
  transition: all .3s ease; }
  .button:hover {
    color: #ffffff;
    background: #fdb35b;
    border: 3px; }
  .button img {
    vertical-align: middle;
    margin-right: 7px; }
  .button_big {
    width: 46%; }

.header_telephone {
  color: #373737;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .3s ease; }
  .header_telephone:hover {
    color: #fd9c28; }

body {
  margin: 0; }

input:focus, button:focus {
  outline: none; }

.main {
  position: relative;
  padding-top: 57px;
  padding-bottom: 60px;
  background: #373737 url(../img/main/main-bg.jpg) center no-repeat;
  background-size: cover;
  color: #ffffff;
  z-index: 1;
  min-height: 530px;
  /* Затемнение фонового изображения на главном экране */
  /*Оформление главной картинки*/
  /* Заголовок */ }
  .main::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0; }
  .main-img {
    position: relative;
    right: 106px;
    bottom: -5px; }
    .main-img::before {
      content: '';
      position: absolute;
      width: 390px;
      height: 390px;
      left: 78%;
      top: 15px;
      margin-left: -195px;
      border: 1px solid #ffffff;
      border-radius: 50%;
      z-index: -1; }
    .main-img:after {
      position: absolute;
      content: url(../img/main/rostest.png);
      bottom: -11px;
      left: calc(63% - 137px); }
    .main-img__boxes {
      max-width: 480px;
      max-height: 378px; }
  .main-text__title {
    font-size: 41px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 14px; }
  .main-text__subtitle {
    margin-bottom: 27px;
    font-size: 28px;
    font-weight: 400; }
  .main-text__form {
    padding: 18px 27px;
    background-color: rgba(255, 255, 255, 0.2);
    line-height: 1.5; }

.form {
  display: flex;
  margin-bottom: 8px; }
  .form-title {
    margin-bottom: 14px;
    padding-right: 30px;
    font-weight: 300;
    font-size: 20px; }
    .form-title__important {
      font-weight: 700;
      text-transform: uppercase;
      display: block; }
  .form__input {
    margin-right: 10px;
    font-size: 14px;
    padding: 19px;
    border-radius: 4px;
    border: none;
    vertical-align: middle;
    flex-basis: 96%;
    font-family: 'Roboto';
    font-weight: 300; }
  .form-small {
    margin-left: 20px;
    font-weight: 300;
    font-size: 14px; }

.overlay {
  position: fixed;
  display: none;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.4); }
  .overlay .popup {
    position: fixed;
    left: 50%;
    top: 104px;
    width: 750px;
    transform: translateX(-50%);
    background-color: #fff; }
    .overlay .popup-close {
      position: absolute;
      right: -20px;
      top: -33px;
      font-size: 35px;
      color: #fff;
      font-weight: 300;
      cursor: pointer; }
    .overlay .popup-title {
      display: block;
      width: 100%;
      max-height: 68px;
      margin: 0;
      background-color: #ff9d00;
      color: #fff;
      text-transform: uppercase;
      line-height: 71px;
      font-size: 21px;
      font-weight: 500;
      text-align: center; }
    .overlay .popup-form {
      background: url(../img/modal/modal-bg.png) center no-repeat;
      background-size: cover;
      padding: 35px 86px 21px 84px;
      color: #fff; }
      .overlay .popup-form-header {
        padding: 0;
        font-size: 30px;
        font-weight: 400;
        line-height: 27px;
        text-align: center; }
        .overlay .popup-form-header span {
          font-size: 24px; }
      .overlay .popup-form__label {
        display: block;
        font-size: 20px;
        margin-top: 16px;
        margin-left: 15px;
        font-weight: 300;
        line-height: 30px;
        text-align: center; }
      .overlay .popup-form__input {
        width: 365px;
        height: 56px;
        margin-top: 13px;
        font-family: 'Roboto';
        font-size: 14px;
        font-weight: 300;
        line-height: 42px;
        padding-left: 15px;
        border-radius: 3px;
        border: none; }
      .overlay .popup-form__btn {
        width: 180px;
        height: 56px;
        margin-right: 15px;
        margin-left: 8px;
        font-size: 15px;
        font-weight: 500;
        line-height: 22px;
        background-color: #ff9d00; }
        .overlay .popup-form__btn:hover {
          color: #ffffff;
          background: #fdb35b;
          border: 3px; }
      .overlay .popup-form__note {
        margin-top: 2px;
        font-size: 14px;
        font-weight: 300;
        line-height: 30px;
        text-align: center;
        margin-bottom: 17px; }

@media (max-width: 576px) {
  .hiden-mobile {
    display: none; }
  .header {
    padding: 10.5px; }
    .header-logo {
      background: #fd9c28 url(../img/header_logo_mobile.png) center no-repeat;
      width: 35px;
      height: 35px;
      border-radius: 4px; }
    .header-contacts__phone {
      font-size: 14px;
      margin-right: 0;
      border: none; }
      .header-contacts__phones {
        flex-direction: column; }
      .header-contacts__phone__bold {
        font-weight: 900; }
      .header-contacts__phone:last-of-type {
        border-left: none;
        padding: 0; }
    .header-contacts__button {
      display: inline-block;
      padding: 2px 0px 7px 6px; }
  .main {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 0;
    min-height: 450px;
    max-height: 450px; }
    .main-text__title {
      font-size: 22px;
      font-weight: 700;
      color: #fd9c28;
      line-height: 24px;
      margin-bottom: 5px; }
    .main-text__subtitle {
      font-size: 18px;
      margin-bottom: 40px; }
    .main-text__form {
      background-color: transparent;
      padding: 0px; }
  .form {
    display: block; }
    .form-small {
      font-size: 13px;
      font-weight: 300;
      line-height: 30px; }
    .form-title {
      padding-right: 0;
      font-size: 15px;
      line-height: 1.4; }
      .form-title__important {
        margin-top: 8px; }
    .form__input {
      display: inline-block;
      padding: 16px;
      margin-bottom: 13px;
      width: 100%;
      max-width: 290px;
      text-align: center;
      font-size: 13px;
      color: #373737; }
  .button {
    font-size: 15px; }
    .button img {
      width: 14px;
      max-height: 13px; }
    .button_big {
      width: 62.07%;
      height: 51px;
      margin-bottom: 5px; }
  .overlay .popup {
    width: 80%; }
    .overlay .popup-title {
      font-size: 16px;
      min-height: 50px; }
    .overlay .popup-form {
      padding: 32px 10px 25px; }
      .overlay .popup-form-header {
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        line-height: 25px; }
        .overlay .popup-form-header span {
          display: block;
          font-size: 14px;
          font-weight: 400; }
      .overlay .popup-form__label {
        font-size: 16px;
        text-align: center;
        margin: 0; }
        .overlay .popup-form__labelandinput {
          display: flex;
          flex-direction: column;
          align-items: center; }
      .overlay .popup-form__input {
        width: 100%;
        text-align: center;
        padding: 10px;
        margin-right: 0;
        max-width: 365px;
        margin-bottom: 15px; }
      .overlay .popup-form__note {
        margin-left: 0; } }

@media (max-width: 768px) {
  .hiden-mobile {
    display: none; }
  .header {
    padding: 10.5px; }
    .header-logo {
      background: #fd9c28 url(../img/header_logo_mobile.png) center no-repeat;
      width: 35px;
      height: 35px;
      border-radius: 4px; }
    .header-contacts__phone {
      font-size: 14px;
      margin-right: 8px;
      border: none; }
      .header-contacts__phones {
        flex-direction: row; }
      .header-contacts__phone__bold {
        font-weight: 900; }
      .header-contacts__phone:last-of-type {
        border-left: 1px solid #cfcfd0; }
    .header-contacts__button {
      display: inline-block;
      padding: 2px 0px 7px 6px; }
  .main {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 0;
    min-height: 450px;
    max-height: 450px; }
    .main-text {
      margin-top: -17px; }
      .main-text__title {
        font-size: 22px;
        font-weight: 700;
        color: #fd9c28;
        line-height: 24px;
        margin-bottom: 5px; }
      .main-text__subtitle {
        font-size: 18px;
        margin-bottom: 40px; }
      .main-text__form {
        background-color: transparent;
        padding: 0px; }
  .form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center; }
    .form-small {
      font-size: 13px;
      font-weight: 300;
      line-height: 30px; }
    .form-title {
      padding-right: 0;
      font-size: 15px;
      line-height: 1.4; }
      .form-title__important {
        margin-top: 8px; }
    .form__input {
      display: inline-block;
      padding: 17.5px;
      margin-bottom: 13px;
      width: 100%;
      max-width: 290px;
      text-align: center;
      font-size: 13px;
      color: #373737; }
  .button {
    font-size: 15px; }
    .button img {
      width: 14px;
      max-height: 13px; }
    .button_big {
      width: 180px;
      height: 51px;
      margin-bottom: 5px; }
  .overlay .popup {
    width: 80%; }
    .overlay .popup-title {
      font-size: 16px;
      min-height: 50px; }
    .overlay .popup-form {
      padding: 32px 10px 25px; }
      .overlay .popup-form-header {
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        line-height: 25px; }
        .overlay .popup-form-header span {
          display: block;
          font-size: 14px;
          font-weight: 400; }
      .overlay .popup-form__label {
        font-size: 16px;
        text-align: center;
        margin: 0; }
        .overlay .popup-form__labelandinput {
          display: flex;
          flex-direction: column;
          align-items: center; }
      .overlay .popup-form__input {
        width: 100%;
        text-align: center;
        padding: 10px;
        margin-right: 0;
        max-width: 365px;
        margin-bottom: 15px; }
      .overlay .popup-form__note {
        margin-left: 0; } }

@media (max-width: 992px) {
  .header-contacts__phones {
    flex-direction: column; }
  .header-contacts__phone:last-of-type {
    border-left: none;
    padding: 0; }
  .main {
    padding-top: 60px; }
    .main-text {
      text-align: center; }
  .form {
    justify-content: center; }
    .form__input {
      max-width: 310px; }
  .button_big {
    max-width: 180px; }
  .overlay .popup-form__note {
    margin-left: 0; } }

@media (max-width: 1200px) {
  .main-text {
    padding: 18px 25px; }
  .main-img {
    right: 0;
    bottom: 0; }
    .main-img::before {
      left: 74%;
      top: 11px;
      width: 300px;
      height: 300px;
      max-width: 100%; }
    .main-img__boxes {
      max-width: 100%; }
  .button_big {
    padding: 0; } }
