@media screen and ( max-width: 1399px ) {}
@media screen and ( max-width: 1199px ) {}
@media screen and ( max-width: 991px ) {
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 25px;
  }
  .block {
    padding: 35px 0;
  }
  .block-header {
    font-size: 54px;
    line-height: 1em
  }
  .block-big-header {
    font-size: 38px;
    line-height: 1em
  }
  .services-inner {
    padding: 30px;
  }
  .service-info {
    max-width: initial;
  }
  .service-image {
    inset: 0;
    opacity: .1;
    width: initial;
    pointer-events: none;
  }
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .history-items:before,
  .history-item .info:before,
  .history-item .info:after {
    display: none
  }
  .history-item {
    margin: 25px 0 0;
  }
  .history-item .info {
    max-width: initial;
    padding: 25px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,.05);
  }
  .contacts-items iframe {
    margin: 0 auto;
  }
}
@media screen and ( max-width: 767px ) {
  .block {
    padding: 15px 0;
  }
  .primehero-header {
    font-size: 60px;
    line-height: .9em;
    text-align: center;
  }
  .block-header {
    font-size: 40px;
    line-height: .9em;
    margin-bottom: 25px;
  }
  .pbg .block-header {
    font-size: 24px;
    line-height: 28px;
  }
  .cookie-agreement .pc {
    display: none
  }
  .cookie-agreement .mobile {
    display: initial !important
  }
  .footer {
    padding: 50px;
  }
  .footer .logo {
    margin-bottom: 25px;
  }
  .footer .nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .footer .nav li {
    flex: 0 0 25%;
    margin: 20px 10px 0;
  }
  .footer-bottom {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
  }
  .footer-contacts {
    flex-direction: column;
  }
  .footer-contacts .phone {
    margin-bottom: 15px;
  }
  .footer-bottom .copy {
    margin-bottom: 15px;
  }
}
@media screen and ( max-width: 575px ) {
  .primehero-header {
    font-size: 34px;
  }
  .primehero-description {
    font-size: 18px;
  }
  .block-big-header {
    font-size: 24px;
    line-height: 1em
  }  
  .service-title {
    font-size: 28px;
  }
  #question-form .form-group,
  #calculation-form .form-group {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0 15px;
  }
  #question-form .form-group .input-label,
  #calculation-form .form-group .input-label {
    display: block;
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
    margin-bottom: 15px;
  }
  .footer {
    padding: 25px 0;
  }
  .footer .nav {
    flex-direction: column;
  }
  .footer-bottom .copy,
  .footer-bottom .privacy {
    text-align: center
  }
  .portfolio-item {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .portfolio-item .image {
    flex: 0 0 150px;
    margin: 0 0 15px;
  }
}