.form-home {
  max-width: 560rem;
  background: #FFFFFF;
  border-radius: 32rem;
  padding: 32rem 24rem 24rem;
}
.form-home .error-msg {
  color: #b51416;
  margin-bottom: 8rem;
}
.form-home__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15rem;
}
.form-home__title > p {
  font-family: "Inter";
  font-weight: 600;
  font-size: 22rem;
  line-height: 1.2;
  color: #000000;
  margin: 0;
}
.form-home__close {
  cursor: pointer;
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
}
.form-home__close svg {
  pointer-events: none;
}
.form-home__inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 12rem;
}
.form-home__input {
  max-width: -moz-fit-content;
  max-width: fit-content;
  width: 100%;
}
.form-home__input input {
  width: 100%;
  padding: 16rem 17rem;
  font-family: "Inter";
  font-weight: 400;
  font-size: 14rem;
  line-height: 125%;
  color: #858585;
  border: 1rem solid #D6D6D6;
  border-radius: 12rem;
}
.form-home__input--captcha {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12rem;
}
@media (max-width: 768px) {
  .form-home__input--captcha img {
    max-width: 150rem;
  }
}
.form-home__textarea {
  width: 100%;
}
.form-home__textarea textarea {
  width: 100%;
  min-height: 120rem;
  max-height: 300rem;
  padding: 16rem 17rem;
  font-family: "Inter";
  font-weight: 400;
  font-size: 14rem;
  line-height: 125%;
  color: #858585;
  border: 1rem solid #D6D6D6;
  border-radius: 12rem;
  resize: none;
}
.form-home__input-error {
  display: none;
}
.form-home__input-error.active {
  display: block;
  color: #E3191C;
  font-size: 11rem;
}
.form-home__success {
  display: none;
}
.form-home__success.active {
  text-align: center;
  display: block;
}
.form-home__btns {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20rem;
  margin-top: 30rem;
}
.form-home input[type=submit] {
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #E3191C;
  border-radius: 16rem;
  padding: 19rem 0;
  border: none;
  font-family: "Inter";
  font-weight: 500;
  font-size: 16rem;
  line-height: 120%;
  color: #FFFFFF;
}
.form-home input[type=submit]:hover {
  background-color: rgb(181.0595238095, 19.9404761905, 22.3333333333);
}
.form-home input[type=submit]:focus {
  outline: none;
  box-shadow: 0 0 5rem rgba(0, 0, 0, 0.5);
}
.form-home input[type=submit]:active {
  background-color: rgb(234.4642857143, 68.5357142857, 71);
}
.form-home input[type=submit]:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .form-home {
    border-radius: 15rem;
    max-width: 335rem;
  }
  .form-home__input {
    max-width: none;
  }
  .form-home__input input {
    font-size: 12rem;
    padding: 12rem;
  }
  .form-home__inputs {
    gap: 10rem;
  }
  .form-home input[type=submit] {
    font-size: 12rem;
    padding: 12rem 0;
  }
  .form-home__title {
    margin-bottom: 20rem;
  }
  .form-home__title > p {
    font-size: 18rem;
  }
}