/* Compact, high-contrast enquiry forms shared across the site. */
.request-card {
  padding: 25px;
  border: 1px solid #d3dfdf;
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(11, 32, 48, .07);
}

.request-card > p:not(.eyebrow) {
  margin: 7px 0 16px;
  font-size: 14px;
  line-height: 1.42;
}

.lead-form {
  gap: 10px;
}

.form-grid {
  gap: 9px;
}

.lead-form label {
  gap: 5px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .1px;
}

.lead-form input,
.lead-form select {
  height: 40px;
  padding: 8px 10px;
  border: 1px solid #b7c9ca;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-form input::placeholder { color: #71848b; opacity: 1; }

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(233, 103, 53, .18);
}

.lead-form .button {
  min-height: 45px;
  margin-top: 2px;
  border-radius: 4px;
}

.form-note {
  font-size: 11px;
  line-height: 1.35;
}

/* Unified four-field enquiry form. */
.eco-enquiry-form { display: grid; gap: 15px; }
.eco-enquiry-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.eco-enquiry-form label { display: grid; gap: 7px; color: var(--ref-ink, var(--ink)); font-size: 12px; font-weight: 700; }
.eco-enquiry-form label > span { color: var(--ref-red, var(--orange)); }
.eco-enquiry-form input,.eco-enquiry-form select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d8e0eb; border-radius: 7px; background: #fbfcfe; color: var(--ref-ink, var(--ink)); font-size: 14px; outline: none; }
.eco-enquiry-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #55708c 50%),linear-gradient(135deg, #55708c 50%, transparent 50%); background-position: calc(100% - 19px) 20px,calc(100% - 14px) 20px; background-size: 5px 5px,5px 5px; background-repeat: no-repeat; }
.eco-enquiry-form input:focus,.eco-enquiry-form select:focus { border-color: var(--ref-blue, var(--blue)); box-shadow: 0 0 0 4px rgba(7,81,181,.12); background-color: #fff; }
.eco-enquiry-form .button { width: 100%; min-height: 51px; margin-top: 2px; border-radius: 8px; box-shadow: 0 9px 16px rgba(255,51,59,.2); }
.eco-enquiry-form .form-note { margin: -5px 0 0; color: #657286; text-align: center; }
.eco-form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.enquiry-notice { margin: 0 0 18px !important; padding: 11px 13px; border-radius: 7px; font-size: 13px !important; line-height: 1.4 !important; }
.enquiry-notice-error { border: 1px solid #f4c6c8; background: #fff3f3; color: #a8222b !important; }

/* Preserve form readability when the enclosing request card has its gradient interaction. */
.request-card:is(:hover, :focus-within, :active) .lead-form label,
.request-card:is(:hover, :focus-within, :active) .form-note {
  color: #fff !important;
}

.request-card:is(:hover, :focus-within, :active) .lead-form :is(input, select) {
  border-color: rgba(255, 255, 255, .82);
  background: #fff;
  color: var(--ink);
}

.request-card:is(:hover, :focus-within, :active) .lead-form :is(input, select)::placeholder {
  color: #71848b !important;
}

@media (max-width: 720px) {
  .request-card {
    padding: 20px 16px;
    border-radius: 7px;
  }

  .lead-form { gap: 9px; }
  .lead-form input,
  .lead-form select { height: 42px; font-size: 15px; }

  .eco-enquiry-form .form-grid { grid-template-columns: 1fr; }
  .eco-enquiry-form input,
  .eco-enquiry-form select { height: 48px; }
}
