/* Free quote page and the maintained form plugin's native fields. */
.h-enquiry-intro { padding-bottom: clamp(28px, 4vw, 56px); }
.h-enquiry-intro .h-lead { max-width: 680px; }
.h-quote-jump { margin-top: 24px; }
#quote-form { scroll-margin-top: 72px; }
.h-enquiry-section { padding-top: 24px; }
.h-enquiry-section .h-contact-grid {
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.5fr);
  gap: clamp(32px, 4.5vw, 72px);
  align-items: start;
}
.h-enquiry-section .h-contact-panel {
  min-width: 0;
  padding: clamp(24px, 3vw, 42px);
  border-top: 3px solid var(--h-olive, #354332);
}
.h-enquiry-section .h-contact-panel h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
}
.h-enquiry-section .h-contact-panel > p { max-width: 650px; }

.h-quote-form {
  margin-top: 28px;
  color: var(--h-ink, #292f28);
  overflow-wrap: anywhere;
}
.h-quote-form .wpforms-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.h-quote-form .wpforms-form {
  margin: 0;
  --wpforms-field-background-color: var(--h-paper, #f7f5f0);
  --wpforms-field-border-color: #9ba38f;
  --wpforms-label-color: var(--h-ink, #292f28);
  --wpforms-label-error-color: #94352a;
  --wpforms-button-background-color: var(--h-olive, #354332);
  --wpforms-button-background-color-alt: var(--h-olive, #354332);
  --wpforms-button-text-color: var(--h-paper, #f7f5f0);
  --wpforms-button-border-radius: 0;
  --wpforms-field-size-checkbox-size: 20px;
}
.h-quote-form .wpforms-field-container,
.h-quote-form .h-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}
.h-quote-form .wpforms-field-container > .wpforms-field,
.h-quote-form .h-form-field {
  float: none;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
  margin: 0;
}
.h-quote-form .h-form-field--full { grid-column: 1 / -1; }
.h-quote-form .wpforms-field-label,
.h-quote-form .h-form-field > label,
.h-quote-form .h-product-options > legend {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  color: var(--h-ink, #292f28);
  font: 600 15px/1.5 var(--h-sans, Arial, sans-serif);
  letter-spacing: 0;
}
.h-quote-form .wpforms-required-label { color: #94352a; }
.h-quote-form .wpforms-form :is(
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], select, textarea
) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #9ba38f;
  border-radius: 0;
  background: var(--h-paper, #f7f5f0);
  color: var(--h-ink, #292f28);
  box-shadow: none;
  font: 400 16px/1.5 var(--h-sans, Arial, sans-serif);
}
.h-quote-form .wpforms-form textarea {
  min-height: 150px;
  height: auto;
  resize: vertical;
}
.h-quote-form .wpforms-form select { padding-right: 36px; }
.h-quote-form .wpforms-form :is(input, textarea)::placeholder {
  color: var(--h-muted, #62675d);
  opacity: 1;
}
.h-quote-form .wpforms-form :is(input, textarea, select):focus-visible {
  outline: 2px solid var(--h-olive, #354332);
  outline-offset: 3px;
  border-color: var(--h-olive, #354332);
}
.h-quote-form .h-product-options {
  min-width: 0;
  border: 0;
}
.h-quote-form .wpforms-field-checkbox ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.h-quote-form .wpforms-field-checkbox ul > li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #b8beaf;
  background: var(--h-paper, #f7f5f0);
}
.h-quote-form .wpforms-field-checkbox input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--h-olive, #354332);
  cursor: pointer;
}
.h-quote-form .wpforms-field-checkbox input + label {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding-inline-start: 0;
  color: var(--h-ink, #292f28);
  font: 400 15px/1.5 var(--h-sans, Arial, sans-serif);
  cursor: pointer;
}
.h-quote-form .wpforms-field-checkbox input:checked + label { font-weight: 600; }
.h-quote-form .wpforms-field-checkbox li:focus-within { border-color: var(--h-olive, #354332); }
.h-quote-form .h-form-note,
.h-quote-form .wpforms-field-description {
  margin: 8px 0 0;
  color: var(--h-muted, #62675d);
  font: 400 13px/1.65 var(--h-sans, Arial, sans-serif);
}
.h-quote-form .h-form-note a { text-decoration: underline; }
.h-quote-form label.wpforms-error,
.h-quote-form em.wpforms-error,
.h-quote-form .wpforms-error-container {
  display: block;
  margin-top: 8px;
  color: #94352a;
  font: 400 13px/1.6 var(--h-sans, Arial, sans-serif);
}
.h-quote-form .wpforms-form :is(input, textarea, select).wpforms-error {
  border-color: #94352a;
}
.h-quote-form .wpforms-submit-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin-top: 28px;
}
.h-quote-form .wpforms-form :is(button, input)[type="submit"] {
  width: auto;
  max-width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid var(--h-olive, #354332);
  border-radius: 0;
  background: var(--h-olive, #354332);
  color: var(--h-paper, #f7f5f0);
  box-shadow: none;
  white-space: normal;
  font: 500 16px/1.5 var(--h-sans, Arial, sans-serif);
  cursor: pointer;
}
.h-quote-form .wpforms-form :is(button, input)[type="submit"]:hover {
  background: #232f21;
  border-color: #232f21;
}
.h-quote-form .wpforms-form :is(button, input)[type="submit"]:focus-visible {
  outline: 2px solid var(--h-olive, #354332);
  outline-offset: 4px;
}
.h-quote-form .wpforms-form :is(button, input)[type="submit"]:disabled {
  opacity: .65;
  cursor: progress;
}
.h-quote-form .wpforms-submit-spinner { width: 26px; height: 26px; }
.h-quote-form .wpforms-confirmation-container-full,
.h-quote-form .wpforms-confirmation-container {
  margin: 0;
  padding: 24px;
  border: 1px solid #8b997f;
  background: #f0f3eb;
  color: var(--h-olive, #354332);
  font: 400 16px/1.7 var(--h-sans, Arial, sans-serif);
}

@media (max-width: 980px) {
  .h-enquiry-section .h-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}
@media (max-width: 600px) {
  .h-enquiry-section .h-contact-panel { padding: 24px 18px; }
  .h-quote-form .wpforms-field-container,
  .h-quote-form .h-form-grid { grid-template-columns: minmax(0, 1fr); }
  .h-quote-form .wpforms-field-checkbox ul { grid-template-columns: minmax(0, 1fr); }
  .h-quote-form .wpforms-form :is(button, input)[type="submit"] { width: 100%; }
  .h-quote-form .wpforms-confirmation-container-full,
  .h-quote-form .wpforms-confirmation-container { padding: 18px; }
}
