.contact-form {
  position: relative;
  padding-top: 45px;
  padding-bottom: 130px;
}
@media screen and (min-width: 900px) {
  .contact-form {
    padding-top: 64px;
    padding-bottom: 190px;
  }
}
.contact-form::after {
  content: "";
  position: absolute;
  background: url("../img/deco-wave.png") repeat top left/84px auto;
  width: 100%;
  height: 32px;
  bottom: -1px;
  background-position: -21px 0;
}
@media screen and (min-width: 900px) {
  .contact-form::after {
    background-position: -30px 0;
  }
}

@media screen and (min-width: 900px) {
  .contact-form__inner {
    max-width: 768px;
  }
}

.contact-form__text {
  font-weight: 500;
}

.contact-form__heading {
  margin-top: 101px;
}
@media screen and (min-width: 900px) {
  .contact-form__heading {
    margin-top: 152px;
  }
}

.contact-form__fields {
  margin-top: 40px;
}
@media screen and (min-width: 900px) {
  .contact-form__fields {
    margin-top: 69px;
  }
}

.contact-form__field {
  padding-top: 24px;
  padding-bottom: 23px;
  border-bottom: 1px solid #c2c2c2;
}
@media screen and (min-width: 900px) {
  .contact-form__field {
    padding-top: 29px;
    padding-bottom: 28px;
  }
}
.contact-form__field:first-child {
  border-top: 1px solid #c2c2c2;
  padding-top: 23px;
}
@media screen and (min-width: 900px) {
  .contact-form__field:first-child {
    padding-top: 28px;
  }
}

.form-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}
@media screen and (min-width: 900px) {
  .form-field {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.form-field__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}
@media screen and (min-width: 900px) {
  .form-field__head {
    width: 180px;
  }
}

.form-field__label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.form-field__tag {
  font-size: 12px;
  color: #ffffff;
  background: #ee5a6d;
  font-weight: 700;
  line-height: 1.5;
  padding: 3px 6px;
  border-radius: 4px;
}

.form-field__item {
  width: 100%;
}
@media screen and (min-width: 900px) {
  .form-field__item {
    max-width: 488px;
  }
}

.form-text,
.form-textarea {
  width: 100%;
  background: #f6f6f6;
  border: none;
  padding: 12px 16px;
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.form-text::-webkit-input-placeholder, .form-textarea::-webkit-input-placeholder {
  color: #c2c2c2;
}
.form-text::-moz-placeholder, .form-textarea::-moz-placeholder {
  color: #c2c2c2;
}
.form-text:-ms-input-placeholder, .form-textarea:-ms-input-placeholder {
  color: #c2c2c2;
}
.form-text::-ms-input-placeholder, .form-textarea::-ms-input-placeholder {
  color: #c2c2c2;
}
.form-text::placeholder,
.form-textarea::placeholder {
  color: #c2c2c2;
}
.form-text:hover, .form-text:focus,
.form-textarea:hover,
.form-textarea:focus {
  border-color: #0060a0;
}

.form-textarea {
  resize: none;
  height: 160px;
}
@media screen and (min-width: 900px) {
  .form-textarea {
    height: 200px;
  }
}

.contact-form__button {
  margin: 40px auto 0;
  width: 273px;
}
@media screen and (min-width: 900px) {
  .contact-form__button {
    width: 360px;
    margin: 69px auto 0;
  }
}

.contact-form--button {
  width: 100%;
  padding-block: 8px;
  border-radius: 24px;
  border: 1px solid #1391e6;
  background: #ffffff;
  color: #1391e6;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.12px;
  line-height: normal;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  border: 1px solid #1391e6;
  background: #ffffff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
}
@media screen and (min-width: 900px) {
  .contact-form--button {
    padding-block: 16px;
    border-radius: 28px;
    font-size: 16px;
    letter-spacing: 1.28px;
  }
}
.contact-form--button:hover {
  background: #1391e6;
  color: #ffffff;
}

.wpcf7-spinner {
  display: none;
}

.form-text::-webkit-input-placeholder, .form-textarea::-webkit-input-placeholder, .form-radio::-webkit-input-placeholder, .form-medical__input::-webkit-input-placeholder, .form-contact::-webkit-input-placeholder {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #c2c2c2;
}

.form-text::-moz-placeholder, .form-textarea::-moz-placeholder, .form-radio::-moz-placeholder, .form-medical__input::-moz-placeholder, .form-contact::-moz-placeholder {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #c2c2c2;
}

.form-text:-ms-input-placeholder, .form-textarea:-ms-input-placeholder, .form-radio:-ms-input-placeholder, .form-medical__input:-ms-input-placeholder, .form-contact:-ms-input-placeholder {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #c2c2c2;
}

.form-text::-ms-input-placeholder, .form-textarea::-ms-input-placeholder, .form-radio::-ms-input-placeholder, .form-medical__input::-ms-input-placeholder, .form-contact::-ms-input-placeholder {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #c2c2c2;
}

.form-text::placeholder,
.form-textarea::placeholder,
.form-radio::placeholder,
.form-medical__input::placeholder,
.form-contact::placeholder {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #c2c2c2;
}