/* The shared Hometown Electrical quick-quote form (tools/electrical-quote-form.mjs).
   Self-contained so it looks the same on the new service pages and the older pages. */
.hq-form { --hq-navy: #082b46; --hq-ink: #0f2a3f; --hq-muted: #5b6b78; --hq-line: #dfe5eb; --hq-paper: #f5f7fa; --hq-yellow: #ffcf18; text-align: left; font-family: 'DM Sans', 'Open Sans', Arial, sans-serif; }
.hq-form .hq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hq-form .hq-field { display: block; margin: 0 0 14px; color: var(--hq-navy); font-size: 14px; font-weight: 700; line-height: 1.3; text-align: left; }
.hq-form .hq-field small { margin-left: 4px; color: var(--hq-muted); font-size: 12px; font-weight: 500; }
.hq-form .hq-field input,
.hq-form .hq-field select,
.hq-form .hq-field textarea { display: block; box-sizing: border-box; width: 100%; height: auto; margin: 6px 0 0; padding: 12px 14px; border: 1px solid var(--hq-line); border-radius: 10px; background: var(--hq-paper); box-shadow: none; color: var(--hq-ink); font: 400 15px/1.4 'DM Sans', 'Open Sans', Arial, sans-serif; text-align: left; appearance: auto; }
.hq-form .hq-field textarea { min-height: 84px; resize: vertical; }
.hq-form .hq-field input:focus,
.hq-form .hq-field select:focus,
.hq-form .hq-field textarea:focus { outline: 2px solid #f6b700; outline-offset: 1px; background: #fff; }
.hq-form .hq-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 6px 0 0; padding: 16px 22px; border: 0; border-radius: 999px; background: var(--hq-yellow); color: var(--hq-navy); font: 800 16px/1 'DM Sans', 'Open Sans', Arial, sans-serif; cursor: pointer; box-shadow: 0 5px 0 #c99a00; transition: transform .2s; }
.hq-form .hq-submit:hover { transform: translateY(-2px); }
.hq-form .hq-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.hq-form .form-message-container .form-message.error { margin-bottom: 12px; padding: 10px 12px; border-radius: 8px; background: #fde8e8; color: #9b1c1c; font-size: 14px; }
@media (max-width: 600px) {
  .hq-form .hq-grid { grid-template-columns: 1fr; }
}
