/* =========================================================
   Contact form fidelity (WPForms → prototype .form-group)
   ========================================================= */
html body.jade-design-active .form-card .jade-wpforms,
html body.jade-design-active .form-card .wpforms-container,
html body.jade-design-active .form-card .wpforms-container-full {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}
html body.jade-design-active .form-card .wpforms-container .wpforms-form {
  margin: 0 !important;
}
html body.jade-design-active .form-card .wpforms-title,
html body.jade-design-active .form-card .wpforms-description,
html body.jade-design-active .form-card .wpforms-head-container {
  display: none !important;
}
html body.jade-design-active .form-card .wpforms-field {
  padding: 0 !important;
  margin: 0 0 16px !important;
  border: 0 !important;
  background: transparent !important;
}
html body.jade-design-active .form-card .wpforms-field-label {
  display: block !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  margin: 0 0 6px !important;
  color: #2F2F2F !important;
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  font-family: Inter, system-ui, Arial, sans-serif !important;
}
html body.jade-design-active .form-card .wpforms-required-label {
  color: #F5822A !important;
  margin-left: 2px;
}
html body.jade-design-active .form-card .wpforms-field input[type="text"],
html body.jade-design-active .form-card .wpforms-field input[type="email"],
html body.jade-design-active .form-card .wpforms-field input[type="tel"],
html body.jade-design-active .form-card .wpforms-field input[type="number"],
html body.jade-design-active .form-card .wpforms-field input[type="url"],
html body.jade-design-active .form-card .wpforms-field input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
html body.jade-design-active .form-card .wpforms-field select,
html body.jade-design-active .form-card .wpforms-field textarea,
html body.jade-design-active .form-card .wpforms-field .wpforms-field-large,
html body.jade-design-active .form-card .wpforms-field .wpforms-field-medium,
html body.jade-design-active .form-card .wpforms-field .wpforms-field-small {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 11px 14px !important;
  border: 1.5px solid #E2E7EA !important;
  border-radius: 10px !important;
  background: #F3F5F6 !important;
  color: #1F1F1F !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 1rem !important;
  font-family: Inter, system-ui, Arial, sans-serif !important;
  line-height: 1.4 !important;
  transition: border-color .2s ease, background .2s ease !important;
}
html body.jade-design-active .form-card .wpforms-field textarea {
  min-height: 120px !important;
  resize: vertical !important;
}
html body.jade-design-active .form-card .wpforms-field input:focus,
html body.jade-design-active .form-card .wpforms-field select:focus,
html body.jade-design-active .form-card .wpforms-field textarea:focus {
  border-color: #F5822A !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
}
html body.jade-design-active .form-card .wpforms-field-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 14px !important;
}
html body.jade-design-active .form-card .wpforms-field-name,
html body.jade-design-active .form-card .wpforms-field-phone {
  grid-column: span 1 !important;
}
html body.jade-design-active .form-card .wpforms-field-email,
html body.jade-design-active .form-card .wpforms-field-select,
html body.jade-design-active .form-card .wpforms-field-textarea,
html body.jade-design-active .form-card .wpforms-field-text {
  grid-column: 1 / -1 !important;
}
html body.jade-design-active .form-card .wpforms-submit-container {
  margin: 8px 0 0 !important;
  padding: 0 !important;
}
html body.jade-design-active .form-card .wpforms-submit,
html body.jade-design-active .form-card button[type="submit"],
html body.jade-design-active .form-card .wpforms-page-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 14px 28px !important;
  border: 1.5px solid transparent !important;
  border-radius: 10px !important;
  background: #F5822A !important;
  color: #FFFFFF !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  font-family: Inter, system-ui, Arial, sans-serif !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background .2s ease, box-shadow .2s ease !important;
}
html body.jade-design-active .form-card .wpforms-submit:hover,
html body.jade-design-active .form-card button[type="submit"]:hover {
  background: #E56F18 !important;
  box-shadow: 0 6px 18px rgba(245,130,42,.35) !important;
}
html body.jade-design-active .form-card .wpforms-error,
html body.jade-design-active .form-card label.wpforms-error {
  color: #C2410C !important;
  font-size: 0.8125rem !important;
  margin-top: 6px !important;
}
html body.jade-design-active .form-card .wpforms-confirmation-container-full,
html body.jade-design-active .form-card .wpforms-confirmation-container {
  border: 1px solid #E2E7EA !important;
  border-radius: 14px !important;
  background: #E8F5F0 !important;
  color: #16825D !important;
  padding: 16px 18px !important;
  margin: 0 !important;
}
html body.jade-design-active .form-card .wpforms-container.wpforms-render-modern .wpforms-field-layout-columns,
html body.jade-design-active .form-card .wpforms-container.wpforms-render-modern .wpforms-layout-row {
  display: contents !important;
}
html body.jade-design-active .form-card .wpforms-field input.wpforms-error,
html body.jade-design-active .form-card .wpforms-field textarea.wpforms-error,
html body.jade-design-active .form-card .wpforms-field select.wpforms-error {
  border-color: #C2410C !important;
}
@media (max-width: 920px) {
  html body.jade-design-active .form-card .wpforms-field-container {
    grid-template-columns: 1fr !important;
  }
  html body.jade-design-active .form-card .wpforms-field-name,
  html body.jade-design-active .form-card .wpforms-field-phone,
  html body.jade-design-active .form-card .wpforms-field-email,
  html body.jade-design-active .form-card .wpforms-field-select,
  html body.jade-design-active .form-card .wpforms-field-textarea {
    grid-column: 1 / -1 !important;
  }
  html body.jade-design-active .form-card .wpforms-submit {
    width: 100% !important;
  }
}

html body.jade-design-active .form-card #wpforms-9115-field_1-container,
html body.jade-design-active .form-card #wpforms-9115-field_2-container{grid-column:span 1!important}
html body.jade-design-active .form-card #wpforms-9115-field_3-container,
html body.jade-design-active .form-card #wpforms-9115-field_4-container,
html body.jade-design-active .form-card #wpforms-9115-field_5-container{grid-column:1/-1!important}
html body.jade-design-active .form-card .wpforms-field-text{grid-column:span 1!important}

/* Two-column first pair via wpforms layout classes fallback */
html body.jade-design-active .form-card .wpforms-field-container{display:grid!important;grid-template-columns:1fr 1fr!important;column-gap:14px!important}
html body.jade-design-active .form-card #wpforms-9115-field_1-container,
html body.jade-design-active .form-card #wpforms-9115-field_2-container{grid-column:span 1!important}
html body.jade-design-active .form-card #wpforms-9115-field_3-container,
html body.jade-design-active .form-card #wpforms-9115-field_4-container,
html body.jade-design-active .form-card #wpforms-9115-field_5-container{grid-column:1 / -1!important}
html body.jade-design-active .form-card .wpforms-one-half{width:100%!important;float:none!important;margin:0!important;padding:0!important}
@media(max-width:920px){html body.jade-design-active .form-card .wpforms-field-container{grid-template-columns:1fr!important}html body.jade-design-active .form-card #wpforms-9115-field_1-container,html body.jade-design-active .form-card #wpforms-9115-field_2-container,html body.jade-design-active .form-card #wpforms-9115-field_3-container,html body.jade-design-active .form-card #wpforms-9115-field_4-container,html body.jade-design-active .form-card #wpforms-9115-field_5-container{grid-column:1 / -1!important}}
