.contact-form .form-heading {
  max-width: 480px;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(20px, 2.1vw, 25px);
  font-weight: 650;
  line-height: 1.3;
}

.contact-form .form-intro {
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.contact-form .field {
  position: relative;
  margin-bottom: 18px;
}

.contact-form .field input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 16px 15px 8px;
  border: 1.5px solid #bfd0d9;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  line-height: 1.45;
  transition: border-color .22s ease, box-shadow .22s ease;
}

.contact-form .field input::placeholder {
  color: transparent;
}

.contact-form .field label {
  position: absolute;
  top: 27px;
  left: 15px;
  z-index: 1;
  display: inline-block;
  max-width: calc(100% - 30px);
  margin: 0;
  padding: 0 2px;
  overflow: hidden;
  color: var(--ink-soft);
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left center;
  transition: top .2s ease, color .2s ease, font-size .2s ease, padding .2s ease;
}

.contact-form .field input:focus,
.contact-form .field input:focus-visible {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 124, 114, .12);
}

.contact-form .field input:focus + label,
.contact-form .field input:not(:placeholder-shown) + label,
.contact-form .field input:-webkit-autofill + label {
  top: 0;
  padding: 0 5px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 650;
}

.contact-form .field input:user-invalid {
  border-color: #ac4141;
}

.contact-form .demo-protection {
  width: 100%;
  min-width: 0;
  margin: 0 0 18px;
}

.contact-form .demo-protection-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 54px;
  padding: 10px 15px;
  border: 1.5px solid #bfd0d9;
  border-radius: 8px;
  background: #f8fbfc;
  color: var(--navy);
  font-size: 13px;
}

.contact-form .demo-protection-summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--teal);
}

.contact-form .demo-protection-summary span {
  flex: 1;
}

.contact-form .demo-protection-summary small {
  color: var(--ink-soft);
  font-size: 11px;
}

.contact-form .demo-protection-widget {
  width: 100%;
  min-width: 0;
}

.contact-form .demo-protection.is-interactive .demo-protection-widget {
  margin-top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-form .field input,
  .contact-form .field label {
    transition: none;
  }
}
