@media (max-width: 990px) {
  .wrapper {
    background: #fff;
  }

  .header-top .guarantee {
    text-align: left;
  }

  .header {
    background: none;
  }

  .advantage_wrap .advantage .title1 {
    font-size: 16px;
  }

  .advantage_wrap .advantage .title2 {
    font-size: 16px;
  }

  .block_wrap .container .stat .stat_in .image {
    display: block;
    text-align: center;
    margin-bottom: 5px;
  }

  .block_wrap .container .stat .stat_in .text {
    display: block;
    text-align: center;
  }

  .block_wrap .container .stat img {
    float: none;
  }

  .block_wrap .container .stat .stat_in_wrap {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 20px;
  }
  .header .header_in1 .about {
    text-align: center;
    margin-bottom: 26px;
  }
  .header_in1 .callback {
    display: block;
    max-width: 185px;
    margin: 0 auto;
  }

  .contacts {
    display: block;
    max-width: 400px;
    margin: 0 auto 12px;
  }

  .contacts2 .text-br-m,
  .contacts3 .text-br-m {
    display: none;
  }

  .header-top .new_tel {
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 25px;
  }

  .header-top .new_tel .new_tel-btn {
    background: #fff;
    border: 1px solid #015f9c;
    padding: 7px;
    height: 40px;
  }

  .header-top .new_tel .new_tel-btn .new_tel-btn-text {
    display: none;
  }

  .header .header_in2 {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
  }

  .header .header_in2 .address {
    margin-right: 20px;
  }

  .header .header_in1 .slogan {
    font-size: 44px;
    text-align: center;
  }

  .header-top {
    margin-bottom: 0;
  }

  .header {
    padding-bottom: 0;
  }

  .steps {
    margin: 20px 0 35px 0;
  }

  .steps .step1::before {
    content: url(../images/order-phone.svg);
    position: absolute;
    top: 50%;
    left: 23px;
    transform: translateY(-50%);
  }

  .steps .step2::before {
    content: url(../images/order-timer.svg);
    position: absolute;
    top: 50%;
    left: 23px;
    transform: translateY(-50%);
  }

  .steps .step3::before {
    content: url(../images/order-ok.svg);
    position: absolute;
    top: 50%;
    left: 23px;
    transform: translateY(-50%);
  }

  .steps .step1::after {
    content: '01.';
    position: absolute;
    top: 50%;
    right: 23px;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 24px;
    line-height: 110%;
    color: #015f9c;
  }

  .steps .step2::after {
    content: '02.';
    position: absolute;
    top: 50%;
    right: 23px;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 24px;
    line-height: 110%;
    color: #015f9c;
  }

  .steps .step3::after {
    content: '03.';
    position: absolute;
    top: 50%;
    right: 23px;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 24px;
    line-height: 110%;
    color: #015f9c;
  }

  .steps .step4::after {
    content: '04.';
    position: absolute;
    top: 50%;
    right: 23px;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 24px;
    line-height: 110%;
    color: #015f9c;
  }

  .steps .steps_in {
    position: relative;
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 19px;
    background: transparent;
    border: 1px solid #e7ebee;
    border-radius: 10px;
    padding: 22px 75px 22px 72px;
  }

  .steps .steps_in .text-br {
    display: none;
  }

  .steps .steps_in .text-br-m {
    display: block;
  }

  .steps .steps_in .text-br {
    display: none;
  }

  .steps .steps_in .text-br-m {
    display: block;
  }

  .steps .steps_in .text {
    height: 100%;
    font-size: 18px;
    line-height: 110%;
  }

  .block_wrap .container .blockcontent {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .block_wrap .container .stat .stat_in .image {
    display: block;
    text-align: center;
    margin-bottom: 5px;
  }

  .block_wrap .container .stat .stat_in .text {
    display: block;
    text-align: center;
  }

  .block_wrap .container .stat img {
    float: none;
  }

  .block_wrap .container .stat .stat_in_wrap {
    margin-bottom: 10px;
  }

  .block_wrap .container {
    padding-bottom: 20px;
  }

  .advantage_wrap .advantage_title {
    padding: 20px 0;
  }

  .feedback_in__rating {
    margin-left: 0%;
  }

  .feedback_wrap .container {
    padding: 15px 5px 0 5px;
  }

  .feedback_wrap .container .row {
    margin-left: -5px;
    margin-right: -5px;
  }

  .feedback_wrap .container .feedback_in {
    margin: 0 5px 5px 5px;
  }

  .feedback_wrap .container .feedback_in .photo {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto 10px auto;
  }

  .feedback_wrap .container .feedback_in .name {
    text-align: center;
  }

  .feedback_wrap .container .feedback_in {
    padding: 25px 15px 15px 15px;
  }

  .feedback_wrap .container .feedback_in .text {
    font-size: 18px;
    line-height: 20px;
    padding: 0;
    background: none;
  }

  .feedback_wrap .container .feedback_in .description {
    text-align: center;
  }

  .contacts span {
    font-size: 36px;
  }

  .block_wrap .container {
    padding: 15px;
  }

  .feedback_wrap .container .feedback_title {
    padding-bottom: 25px;
  }

  .page-avto {
    background: url(../images/footer.png) center 100% no-repeat,
      url(../images/auto-bg-m.svg) right 97px no-repeat;
    background-color: #fff;
  }

  .page-lock {
    background: url(../images/footer.png) center 100% no-repeat,
      url(../images/zam-bg-m.svg) right 97px no-repeat;
    background-color: #fff;
  }

  .page-garage {
    background: url(../images/footer.png) center 100% no-repeat,
      url(../images/house-bg-m.svg) right 97px no-repeat;
    background-color: #fff;
  }

  .page-safe {
    background: url(../images/footer.png) center 100% no-repeat,
      url(../images/safe-bg-m.svg) right 97px no-repeat;
    background-color: #fff;
  }

  .page-install {
    background: url(../images/footer.png) center 100% no-repeat,
      url(../images/door-handle-bg-m.svg) right 97px no-repeat;
    background-color: #fff;
  }
}

@media (max-width: 767px) {
  .steps .steps_in {
    -webkit-background-size: auto;
    background-size: auto;
  }
}

@media (max-width: 520px) {
  .block_wrap .container .stat {
    flex-wrap: wrap;
    gap: 30px;
  }
  .new_tel a {
    font: 27.5px 'PFDinDisplayPro-Black';
  }

  .header .header_in1 .slogan {
    padding: 40px 0 15px 0;
  }

  .header .header_in1 .about .about_in {
    margin-bottom: 8px;
  }

  .contacts3 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 420px) {
  .header .header_in1 .about .about_in {
    display: block;
  }

  .header .header_in1 .slogan {
    font-size: 28px;
    line-height: 32px;
  }

  .rub {
    font-size: 22px;
    line-height: 30px;
  }

  .form {
    width: 300px;
    margin-left: -150px;
  }

  .form .form_close {
    position: absolute;
    right: 0;
  }
}

@media (max-width: 360px) {
  .new_tel a {
    font: 24.5px 'PFDinDisplayPro-Black';
  }
  .contacts span {
    font-size: 34px;
  }
}

@media (max-width: 320px) {
  .header-top a.logo {
    font-size: 13px;
    line-height: 18px;
  }

  .header-top .guarantee .guarantee_in .guarantee_img img {
    width: 50px;
    height: 50px;
  }

  .contacts span {
    font-size: 26px;
  }

  .header .header_in2 .address {
    margin-bottom: 10px;
  }

  .header .header2_pic {
    margin-top: 10px;
  }

  .steps .steps_in .image {
    vertical-align: top;
  }

  .steps .steps_in .image img {
    width: 40px;
    height: auto;
  }

  .advantage_wrap .advantage .advantage_in1 .image {
    width: 80px;
  }

  .advantage_wrap .advantage .advantage_in1 .image img {
    height: 80px;
    width: 80px;
  }

  .advantage_wrap .advantage .advantage_in1 .text {
    font-size: 14px;
    line-height: 16px;
  }

  .advantage_wrap .advantage .advantage_in2 .image {
    width: 80px;
  }

  .advantage_wrap .advantage .advantage_in2 .text {
    font-size: 14px;
    line-height: 16px;
  }

  .advantage_wrap .advantage .advantage_in2 .image img {
    height: 80px;
    width: 80px;
  }

  .feedback_wrap .container .feedback_in .text {
    font-size: 16px;
    line-height: 18px;
  }
}
