.form-wrapper {
  --form-item-gap: 20px;
  --input-padding-inline: 24px;
  --input-padding-block: 18px;
  --input-background-color: #222;
  --input-border-radius: 0;
  --input-border-color: var(--color-dark-6);
  --input-text-color: var(--color-dark-1);
  --checkbox-check-width: 8px;
  --checkbox-check-height: 12px;
  --checkbox-check-position-bottom: 8px;
  --checkbox-check-position-left: 8px;
  --checkbox-radio-size: 24px;
  --checkbox-radio-checked-color: var(--color-white);
  --checkbox-radio-background-color: var(--color-dark-6);
  --required-mark-padding: 0;
  --required-mark-font-size: var(--text-3xs);
  --required-mark-background-color: transparent;
  --validation-text-color: #ff6767;
  --submit-button-background-color: var(--color-dark-1);
  --textarea-height: 240px;
  --form-gap: 0;
  --form-head-gap: 20px;
  margin-top: clamp(3.2rem, -0.9028231798rem + 5.3491827637vw, 6.8rem);
}
.form-wrapper .form-head {
  margin-top: 1.2em !important;
  width: 280px;
  letter-spacing: 0.04em;
  font-weight: var(--font-regular);
}
@media (max-width: 767.98px) {
  .form-wrapper .form-head {
    margin-top: 0 !important;
    width: 100%;
  }
}
.form-wrapper .form-head p::after {
  letter-spacing: 0.04em;
}

.form-wrapper :is(input[type=text],
input[type=password],
input[type=email],
input[type=tel],
input[type=url],
input[type=number],
input[type=date],
textarea,
select) {
  font-weight: var(--font-bold);
}

.wpcf7-response-output {
  text-align: left;
}

.wpcf7-form-control.wpcf7-acceptance {
  justify-content: flex-start;
  align-items: flex-start;
  margin-block: 40px 44px;
}
.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item-label::after {
  content: "*";
}

.wpcf7-form-control.wpcf7-acceptance label {
  gap: 16px;
}

.form-wrapper :is(input[readonly]:not(.hasDatepicker), textarea[readonly]) {
  padding-inline: var(--input-padding-inline);
  padding-block: var(--input-padding-block);
  border: 1px solid var(--input-border-color);
  color: var(--color-white);
  background-color: transparent;
}

.form-items {
  gap: 0;
  border-top: 1px solid #888;
}

.form-item {
  padding-block: 40px;
  border-bottom: 1px solid #888;
}

.lead-text {
  letter-spacing: 0.04em;
  font-size: var(--text-lg);
  line-height: 42px;
}
@media (max-width: 767.98px) {
  .lead-text {
    font-size: var(--text-md);
    line-height: var(--leading-xl);
  }
}

#consent-box {
  margin-block: 64px;
  text-align: center;
  letter-spacing: 0.04em;
  font-size: var(--text-lg);
  line-height: 42px;
}
@media (max-width: 767.98px) {
  #consent-box {
    text-align: left;
    font-size: var(--text-sm);
    line-height: 24px;
    margin-block: 27px 68px;
  }
}
#consent-box a {
  color: inherit;
}

.form-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: clamp(8rem, 3.8971768202rem + 5.3491827637vw, 11.6rem);
}

.form-btn {
  display: flex;
  gap: 70px;
  justify-content: center;
  align-items: center;
  padding-bottom: 36px;
  width: 100%;
  max-width: 360px;
  border-bottom: 4px solid var(--color-white);
  text-decoration: none;
  color: var(--color-white);
  padding-inline: 20px;
}

.form-btn-text {
  flex: 1;
  text-align: left;
  letter-spacing: 0.08em;
  font-family: var(--font-arimo);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  line-height: 27px;
}
@media (max-width: 767.98px) {
  .form-btn-text {
    letter-spacing: 0.06em;
    line-height: 27px;
  }
}

.form-btn-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.form-btn-arrow::before {
  display: block;
  content: "";
  width: 10px;
  height: 8px;
  background: url(../img/icon_arrow.svg) no-repeat center center/contain;
}

.wpcf7 form .wpcf7-response-output {
  border-color: var(--color-white) !important;
  text-align: center;
  letter-spacing: 0.04em;
  font-size: var(--text-lg);
  line-height: 42px;
  margin-block: 0 80px;
  padding-block: 7px;
}
@media (min-width: 768px) {
  .wpcf7 form .wpcf7-response-output br {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .wpcf7 form .wpcf7-response-output {
    padding: 17px 8px;
    letter-spacing: 0;
    font-size: var(--text-md);
    line-height: 28px;
    margin-block: 51px 60px;
    margin-inline: auto;
  }
}

#submit-box .wpcf7-response-output {
  display: none;
}
