/* Lead form additions for the static site. Elementor's own form CSS stays untouched. */

/* Honeypot: off-screen rather than display:none so autofill heuristics still ignore it
   and bots that fill "every visible input" get caught. */
.lead-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Turnstile mount: reserve the widget's height so it never shifts the submit button (CLS). The row
   keeps Elementor's field-group margin, except where the original reCAPTCHA badge floated
   (bottomleft/bottomright rows have no bottom margin in Elementor) — postprocess-forms adds --flush there. */
.lead-turnstile-group--flush {
  margin-bottom: 0 !important;
}
.lead-turnstile {
  min-height: 65px;
  width: 100%;
}
.lead-turnstile iframe {
  max-width: 100%;
}

/* Inline error box (reuses Elementor's .elementor-message classes; colours match Elementor Pro). */
.elementor-form .elementor-message {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.elementor-form .elementor-message.elementor-message-danger {
  color: #b02a37;
}
.elementor-form .elementor-message.elementor-message-danger > div + div {
  margin-top: 4px;
}
.elementor-form.elementor-form-waiting button[type="submit"] {
  opacity: 0.6;
  cursor: progress;
}
