* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.clearfix:after {
  content: "";
  display:block;
  clear: both;
}

html {
  min-width: 300px;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: BebasNeue;
  font-size: 1.2em;
  line-height: 1.1;
  color: #333;
  background-color: #fff;
}

.header, .content-wrapper, .container, .content, .footer {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  flex-direction: row;
}

.header {
  color: #fff;
  -webkit-box-flex: 0;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  min-height: 780px;
  background-image: linear-gradient(to bottom, rgba(11, 11, 11, 8) 0%, rgba(3, 3, 3, 0.6) 80%), url(../img/heder.webp);
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
   aspect-ratio: attr(width) / attr(height);
}
.head{
   width: 100%;
   display: inline-block;
   text-align: center;
}
.logo, .telef, .adres{
  display: inline-block;
  width: 30%;
  padding: 25px 0 25px 0;
  font-size: 1.2em;
}
.logo img{
  height: auto;
  max-width: 170px;
  position: relative;
  top: 12px;
  aspect-ratio: attr(width) / attr(height);
}
.telef img{
  height: auto;
  max-width: 35px;
  aspect-ratio: attr(width) / attr(height);
  position: relative;
  top: 7px;
  right: 5px;
}
.adres img{
  height: auto;
  max-width: 35px;
  aspect-ratio: attr(width) / attr(height);
  position: relative;
  top: 7px;
  right: 5px;
}
.telef a, .telef a:hover, .telef a:visited{
  color:white;
  text-decoration: none;
}
.head h1 {
  text-align: center;
  font-size: 2.5em; 
  padding: 25px;
  margin: 0 5px 0 5px;
}


.footer {
  height: auto;
  background: #1c1c1c;
  color: #fff;
  -webkit-box-flex: 0;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
}
.copy{
  width: 100%;
  text-align: center;
}

.content-wrapper {
  margin: 0 auto;
  flex-direction: column;
  height: 100%;
  min-width: 300px;
  max-width: 1700px;
}

.container {
  flex-wrap: nowrap;
  flex: 1 0 auto;
}

.content {
  width: 100%;
  flex-direction: column;
  flex: 1 1 auto;
  order: 0;
}
section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  margin: 0;
}
.auto_img{
  height: auto;
  width: 100%;
}
.auto_img img{
  width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height);
}
.text{
  padding: 10px;
}
.text p{
  padding-left: 4px;
  text-align: left;
  font-size: 0.75em;
}
.text ul li{
  list-style-type: none;
  text-align: left;
  padding-top: 3px;
  font-size: 0.75em;
}
.text h2, .text h3{
  font-size: 1.3em;
  padding: 5px;
}
.serv_b{
  display: inline-block;
  text-align: center;
}
.bloc_doch{
  display: inline-block;
  text-align: center;
  width: 250px;
  vertical-align: top;
  margin: 20px 70px 20px 70px;
}
.title_sp{
  font-size: 0.9em;
}
.descr_sp{
  font-size: 0.65em;
  padding-top: 5px;
}

.bloc_doch_sh{
  display: inline-block;
  text-align: center;
  width: 270px;
  height: 200px;
  vertical-align: top;
  margin: 20px 65px 20px 65px;
  border:1px solid red;
  vertical-align: middle;
  padding: 3px;
  border-radius:10px;
  background-color:#505050;
  color:white;
}
.bloc_doch_sh p{
  font-size: 0.85em;
  text-align: center;
  position: relative;
  margin-top: 2px;
  margin-bottom: 2px;
  background-color:#880303;
  padding: 7px;
}
.descr_sp_sh{
  position: relative;
  font-size: 0.65em;
}

/*  form send */
.order_blok{
  display: inline-block;
  padding: 10px 0 10px 0;
  text-align: center;
  max-width: 700px;
  margin-top: 20px;
  margin-bottom: 15px;
}
.order_blok h2{
   text-transform: uppercase;
   font-size: 1.7em;
}
input, select {
  border: none;
  outline: none;
  border-bottom: 1px solid #d80202;
  background-color:#454545;
}
input:focus {
  border-bottom: 1px solid rgb(8, 122, 25);
}
select {
  cursor: pointer;
}
select option {
  color: rgb(255, 255, 255);
  cursor: pointer;
}
.formRow {
  position: relative;
  width: 98%;
  border: none;
}
.formRow--input {
  position: relative;
  padding: 15px 20px 11px;
  width: 90%;
  outline: none;
  color: #f8f8f8;
  letter-spacing: .2px;
  font-weight: 400;
  font-size: 16px;
  resize: none;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}
.formRow--input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.formRow--input-wrapper.active .placeholder {
  top: -17px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: .16px;
  font-size: 14px;
  line-height: 14px;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.formRow .placeholder {
  position: absolute;
  top: 20px;
  left: 10px;
  display: block;
  padding: 0 10px;
  color: #f8f6f6;
  white-space: nowrap;
  letter-spacing: .2px;
  font-weight: normal;
  font-size: 14px;
  -webkit-transition: all, .2s;
  transition: all, .2s;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.container_form {
  display: flex;
  flex-wrap: wrap;
  gap: 5px; 
  max-width:1100px;
}
.block_form {
  flex-basis: calc(50% - 5px);
  padding: 0;
  box-sizing: border-box; 
  padding-top: 15px;
}
@media (max-width: 768px) {
  .block_form {
      flex-basis: 100%;
      margin: 0;
      padding: 0;
  }
  .container_form {
    gap: 0; 
  }
  .order_blok{
    padding-top: 50px;
  }
}
.submit_form{
  cursor: pointer;
  font-size:1em;
  padding: 10px 20px 10px 20px;
  margin: 15px 5px 15px 5px;
  border-radius: 15px;
  color:white;
  text-transform: uppercase;
  background: linear-gradient(to right, rgb(183, 6, 15) 0%, rgb(216, 31, 41) 50%, rgb(183, 6, 15) 100%);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3); 
  transition: box-shadow 0.3s ease; 
  font-family: BebasNeue;
}
.submit_form:hover {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* изменяем тень при наведении на кнопку */
  background: linear-gradient(to right, rgb(216, 31, 41) 0%, rgb(183, 6, 15) 50%, rgb(216, 31, 41)  100%);
}

.error_massege, .massege_ok{ 
  margin: 0 auto;
}
/*.error_massege{
  margin: 0 auto;
  max-width: 600px;
  border:1px solid rgb(255, 202, 202);
  padding: 10px;
  border-radius:10px;
  font-size: 11px;
}*/
.massege_ok{
  margin: 0 auto;
  max-width: 600px;
  border:1px solid rgb(177, 255, 182);
  padding: 10px;
  border-radius:10px;
  font-size: 11px;
}
.block_web_serv_prev {
  display: inline-block;
  text-align: center;
  width: 100%;
  min-height: 100vh;
  border-bottom: 1px solid rgb(245, 245, 245);
}

.block_web_serv_prev_items {
  display: inline-block;
  height: auto;
  width: 27%;
  padding: 20px;
  margin: 20px;
  vertical-align: bottom;
}

.block_web_serv_prev_items p {
  margin: 0;
  font-size: 1.4em;
  padding-top: 15px;
  font-weight: bold;
}

.block_web_serv_prev_items img {
  max-width: 100px;
  height: auto;
  transition: transform 0.5s ease; 
}

.block_web_serv_prev_items img:hover {
  transform: scale(1.02); 
  cursor: s-resize;
}

.block_web_serv_prev h2 {
  padding: 50px 0 0 0;
  font-size: 1.7em;
  text-transform: uppercase;
}
/* messenger */
.messenger {
  display: block;
  position: fixed;
  left: 5%;
  bottom: 3%;
  /*width: 260px;*/
  height: 60px;
  z-index: 2;
  /* overflow: hidden; */
}

.messenger-btn {
  padding: 12px;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 60px;
  background-color: rgb(2, 184, 84);
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: 2;
  border: 1px solid rgb(10, 98, 0);

}

.messenger-btn img {
  transition: all .1s;
  width: 32px;
  height: auto;
}

.messenger-links {
  position: absolute;
  left: 50px;
  top: 10px;
  width: 200px;
  transform: scale(0);
  transform-origin: left 10px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  z-index: 0;
}

.messenger-links.show {
  left: 0;
  transform: scale(1);
}

.messenger-links a {
  width: 40px;
  margin-left: 4px;
}

.messenger-links img {
  max-width: 40px;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.messenger-links a:hover img {
  transform: scale(1.1);
  text-decoration: none;
}

/* messenger */
@media (max-width: 480px) { 
  .messenger {
    left: 25%;
    bottom: 3%;
  }
  .adres{
    display: none;
  }
  .logo, .telef{
    width: 35%;
    font-size: 0.75em;
  }
  .logo img{
    max-width: 120px;
  }
  .telef img{
    max-width: 25px;
  }
  .head h1 {
    text-align: center;
    font-size: 1.5em; 
    padding: 5px 0 0 0;
  }
  .order_blok{
    position: relative;
    padding: 15px 5px 10px 5px;
  }
  .bloc_doch{
     margin: 0;
   }
   .bloc_doch_sh{
    margin: 15px 0 15px 0;

  }
 }
@media (max-width: 767px) { 
  .logo, .telef, .adres{
    width: 45%;
  }
 }
@media (max-width: 979px) { 
   .adres{
    font-size: 1em;
   }
 }
@media (min-width: 1200px) { 
  
}

@media screen and (max-width: 800px) {
  .block_web_serv_prev_items {
    width: 100%;
    padding: 20px 0 10px 0;
    margin: 0;
  }
}
@font-face {
  font-family: "BebasNeue"; 
  src: url("./font/BebasNeue.ttf") format("truetype"); 
  font-style: normal; 
  font-weight: normal; 
  font-display: swap;
} 