.contact-form {
  background: #fff;
  border-radius: 4px;
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 56px 64px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 767px) {
  .contact-form {
    border-radius: 8px;
    margin-top: 28px;
    padding: 28px 20px;
  }
}

.form-field {
  margin-bottom: 36px;
}
@media screen and (max-width: 767px) {
  .form-field {
    margin-bottom: 28px;
  }
}
.form-field:last-of-type {
  margin-bottom: 0;
}
.form-field--privacy {
  margin-top: 8px;
}

.form-field__head {
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  display: flex;
}

.form-field__label {
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.form-badge {
  color: #fff;
  border-radius: 2px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
}
.form-badge--required {
  color: #e53935;
  border: 1px solid #e53935;
}
.form-badge--optional {
  background: #9aa0a6;
}

.form-radios {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.form-radio {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.form-radio .wpcf7-form-control-wrap {
  display: block;
}
.form-radio .wpcf7-list-item {
  margin: 0;
}
.form-radio .wpcf7-list-item label {
  cursor: pointer;
  align-items: center;
  gap: 12px;
  display: flex;
}
.form-radio input[type=radio] {
  appearance: none;
  cursor: pointer;
  background: #fff;
  border: 1.5px solid #1a1a1a;
  border-radius: 50%;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  position: relative;
}
.form-radio input[type=radio]:checked::after {
  content: "";
  background: #1a1a1a;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.form-radio input[type=radio]:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #0085ca;
}
.form-radio .wpcf7-list-item-label {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.form-radio__desc {
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.6;
  padding-left: 30px;
}

.form-input,
.form-textarea {
  color: #1a1a1a;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #d0d8de;
  border-radius: 4px;
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s;
  display: block;
}
@media screen and (max-width: 767px) {
  .form-input,
  .form-textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #4a4a4a;
  opacity: 0.55;
}
.form-input:focus,
.form-textarea:focus {
  border-color: #0085ca;
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 180px;
}

.form-privacy__title {
  color: #1a1a1a;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.form-privacy__box {
  background: #ebf2f5;
  border: 1px solid #d0d8de;
  border-radius: 4px;
  max-height: 160px;
  margin-bottom: 24px;
  padding: 16px 18px;
  overflow-y: auto;
}
.form-privacy__box p {
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.9;
}

.form-privacy__confirm {
  color: #1a1a1a;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.form-check .wpcf7-list-item {
  margin: 0;
}
.form-check .wpcf7-list-item label {
  cursor: pointer;
  color: #1a1a1a;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
}
.form-check input[type=checkbox] {
  appearance: none;
  cursor: pointer;
  background: #fff;
  border: 1.5px solid #1a1a1a;
  border-radius: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  position: relative;
}
.form-check input[type=checkbox]:checked {
  background: #1a1a1a;
  border-color: #1a1a1a;
}
.form-check input[type=checkbox]:checked::after {
  content: "";
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  width: 5px;
  height: 9px;
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(45deg);
}
.form-check input[type=checkbox]:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #0085ca;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}
@media screen and (max-width: 767px) {
  .form-submit {
    margin-top: 32px;
  }
}
.form-submit .btn {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  min-width: 280px;
}
@media screen and (max-width: 767px) {
  .form-submit .btn {
    width: 100%;
    min-width: 100%;
  }
}
.form-submit .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.contact-form .wpcf7-not-valid-tip {
  color: #e53935;
  font-size: 13px;
  margin-top: 6px;
  display: block;
}
.contact-form .wpcf7-response-output {
  border: 1px solid #0085ca;
  border-radius: 4px;
  color: #1a1a1a;
  font-size: 14px;
  margin: 32px 0 0;
  padding: 14px 16px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: #e53935;
}
