input.invalid {
  border-color: red;
}

input.valid {
  border-color: green;
}
#double_phone {
  position: absolute;
    top: 739px;
    left: 10rem;
}
 {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}
.banner-block {
  height: 1000px;
  position: relative;
  padding: 60px 0px;
  background-size: cover;
  background-position: center;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}
.banner-block__title {
  max-width: 230rem !important;
  padding-left: 40px;
}

.banner-block__title h1 {
    font-size: 55px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 45px;
    text-transform: uppercase;
    white-space: break-spaces;
    width: 60%;
    margin-top: 50px;
    margin-left: 21px;
}

.banner-block__title h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #ccc;
  margin-bottom: 40px;
  white-space: break-spaces;
    width: 40%;
    margin-left: 25px;
}

.banner-block__form .estimate-form {
  background: #fff;
  color: #000;
  padding: 30px 25px;
  border-radius: 4px;
  width: 480px;
  position: absolute;
  top: 376px;
  right: 122px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.estimate-form__title {
    font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #d90000;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.estimate-form__types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.estimate-form__types label {
  display: block;
  padding: 10px;
  background: #f1f1f1;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
  border-radius: 3px;
}
.estimate-form__name {
  margin-bottom: 20px;
}

.estimate-form__name label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.estimate-form__name input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.custom-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.custom-radio {
  padding: 10px;
  background: #f5f5f5;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  border-radius: 3px;
  user-select: none;
  transition: background 0.2s;
}

.custom-radio.active {
  background: #d1d1d1;
}

.main_form_block {
    display: flex;
    align-items: center;
}
.estimate-form__phone label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.estimate-form__phone input {
    text-align: center;
  width: 247px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-right: 20px;
  min-height: 45px;
  background-color: #fff;
}

.estimate-form__submit {
  /* margin-top: 20px; */
}

.estimate-form__submit button {
  background: #e32c42;
  color: #fff;
  font-weight: 700;
  padding: 10px 25px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  min-height: 45px;
  min-width: 166px;
}

.estimate-form__policy {
  font-size: 11px;
  color: #666;
  margin-top: 12px;
}

.banner-block__cta {
  margin-top: 40px;
}

.banner-block__cta .advantage__inner {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.banner-block__cta svg {
  width: 20px;
  height: 20px;
}

.advantages {
  display: flex;
  justify-content: space-between;
  background: #e32c42;
  color: #fff;
  padding: 30px 40px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  margin: 0;
  list-style: none;
}

.advantage {
    flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 1px solid #962d38;
  justify-content: center;
  /* max-width: 240px; */
}

.advantage__icon {
  width: 30px;
  height: 30px;
}

.advantage__title {
  font-weight: 800;
  margin-bottom: 5px;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
}

.advantage__descr {
  font-weight: 400;
  color: #f1f1f1;
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 767px){
  .banner-block {
    font-family: "Inter Tight", sans-serif;
    display: flex;
    flex-direction: column;
    height: 1454px;
  }
  .banner-block__title {
    padding-left: 5px;
  }
  .banner-block__title h1 {
    font-size: 2.2rem;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: normal;
    margin-top: 10px;
    margin-left: 5px;
  }
  .banner-block {
    padding: 40px 28px;
  }
  .banner-block__title h3 {
    width: 95%;
    line-height: 1.3;

  }
  .banner-block__form .estimate-form  {
    top: 411px;
    right: 10px;
    width: 95%;
  }
  .main_form_block {
    flex-direction: column;
    align-items: normal;
  }
  .estimate-form__submit {
    margin-top: 20px; 
    align-self: anchor-center;
  }
  .estimate-form__phone input {
    width: 100%;
  }
  .advantages {
    flex-direction: column;
    top: 950px;
    position: absolute;
    width: 94%;
    background: #000;
    align-items: baseline;
    font-size: 20px;
    font-family: "Inter Tight", sans-serif;
    padding: 14px 8px;
    left: 3%;
    
}
.advantage {
  margin-top: 20px;
  border-left: 0;
}
.advantage__descr {
  font-size: 18px;
}
#double_phone {
    /* position: relative; */
    /* top: 538px; */
    top: 1310px;
    left: 8%;
    width: 85%;
}
/* .about-cranes {
  padding-top: 520px !important;
} */
/* main.page {
  padding-top: 444px;
} */
}