.contact-form-panel {
  margin-top: 48px;
  padding: 42px;
  background: #eaf3fb;
  border-top: 1px solid #d8e8f5;
  border-bottom: 1px solid #d8e8f5;
}

.contact-form-shell {
  max-width: 760px;
  margin: auto;
  padding: 34px;
  background: #f8fbfe;
  border: 1px solid #dce9f5;
  border-radius: 26px;
  box-shadow: 0 12px 30px #2f6f9b0d;
}

.contact-form-heading { margin-bottom: 28px; }
.contact-form-heading .eyebrow { margin-bottom: 12px; }
.contact-form-heading h3 { font-size: 28px; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.contact-field { display: block; color: #454850; font-size: 14px; font-weight: 500; }

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  color: var(--foreground);
  background: #fff;
  border: 1px solid #cfdfea;
  border-radius: 14px;
  outline: 0;
  box-shadow: none;
}

.contact-field input { min-height: 48px; }
.contact-field textarea { min-height: 132px; resize: vertical; }
.contact-field input:focus,
.contact-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px #0260971a; }
.field-optional { color: var(--muted-foreground); font-size: 12px; font-weight: 400; }
.contact-message-field { margin-top: 18px; }
.contact-submit { margin-top: 24px; border: 0; cursor: pointer; }
.contact-submit:disabled { cursor: wait; opacity: .72; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error,
.form-feedback { min-height: 24px; margin-top: 16px; font-size: 14px; }
.form-error { color: #a12c2c; }
.form-feedback { color: #285a3d; }
.contact-cards { grid-template-columns: 1fr 1.15fr; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; color: #454850; font-size: 14px; line-height: 1.5; }
.contact-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--primary); cursor: pointer; }
.contact-consent input:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.contact-consent label { cursor: pointer; }
.contact-consent a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 760px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form-panel { margin-top: 34px; padding: 22px; }
  .contact-form-shell { padding: 25px; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-message-field { margin-top: 16px; }
}
