/* 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;
}

/* 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; }
}
