.work-contact-form-panel,
.work-contact-email-fallback {
  width: min(760px, 100%);
  margin: 34px auto 0;
  position: relative;
  z-index: 2;
}

.work-contact-form-panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 28px;
  color: #16384f;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 50px rgba(0, 47, 76, .18);
  text-align: left;
}

.work-contact-form-panel h3 {
  margin: 0;
  color: #064f74;
  font-size: clamp(24px, 3vw, 34px);
}

.work-contact-form-panel > p {
  margin: 10px 0 26px;
  color: #526d7b;
  line-height: 1.8;
}

.klm-cf7-form p,
.klm-cf7-form label {
  margin: 0;
}

.klm-form-field + .klm-form-field,
.klm-form-consent,
.klm-form-antispam,
.klm-form-submit {
  margin-top: 20px;
}

.klm-form-field label {
  display: inline-block;
  color: #16384f;
  font-weight: 800;
}

.klm-required {
  margin-left: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  background: #e76d20;
  font-size: 11px;
  vertical-align: 2px;
}

.klm-cf7-form input[type="text"],
.klm-cf7-form input[type="email"],
.klm-cf7-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  border: 1px solid #b7cbd4;
  border-radius: 12px;
  padding: 13px 14px;
  color: #16384f;
  background: #fff;
  font: inherit;
}

.klm-cf7-form textarea {
  min-height: 170px;
  resize: vertical;
}

.klm-form-field input,
.klm-form-field textarea {
  margin-top: 8px;
}

.klm-cf7-form input:focus,
.klm-cf7-form textarea:focus {
  border-color: #078e9e;
  outline: 3px solid rgba(7, 142, 158, .2);
}

.klm-form-consent {
  color: #425f6e;
  font-size: 14px;
  line-height: 1.8;
}

.klm-form-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.klm-form-consent input {
  margin-top: .45em;
  flex: 0 0 auto;
}

.klm-form-consent a {
  color: #066ca0;
  font-weight: 800;
}

#klm-main .contact .wpcf7 input.klm-cf7-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  color: #fff;
  background: #10a89b;
  box-shadow: 0 12px 28px rgba(6, 79, 116, .2);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.klm-cf7-submit:disabled {
  cursor: wait;
  opacity: .62;
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
  color: #a52f20;
  font-size: 13px;
  line-height: 1.7;
}

.wpcf7 form .wpcf7-response-output {
  margin: 22px 0 0;
  border-radius: 10px;
  padding: 12px 14px;
}

.work-contact-email-fallback {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .34);
}

.work-contact-form-unavailable {
  max-width: 680px;
  margin: 28px auto 0;
  color: #fff2d9 !important;
  font-weight: 800;
}

@media (max-width: 600px) {
  .work-contact-form-panel {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .work-contact-form-panel h3 {
    font-size: 22px;
  }

  .klm-form-consent {
    font-size: 13px;
  }

  .work-contact-email-fallback .button {
    width: 100%;
    max-width: 330px;
  }
}
