/* TITECH v3 · forms.css: owned by WO-13 (see work-orders/PHASE-2.md). */
/* DESIGN-SPEC §10.5: the home/ar-home CTA band becomes a two-column card — copy + phone/email on the
   left, the enquiry form on a dark panel on the right. Field colours, focus rings and the invalid state
   already come from the ctx-* tokens (components.css, WO-02); .cta-band already sits in the dark
   --ctx-* list (surfaces.css, WO-05), so nothing here needs to set those again. */

/* Two columns only from 1001px; the legacy .cta-band grid switches to one column at 899px, so this
   overrides both the legacy default (>=900px) and its own mobile rule, loading after both. */
.cta-band--form {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 1001px) {
  .cta-band--form {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: var(--space-block);
  }
}

/* The form panel is the visual card; the shortcode's own .enquiry-form (site.css) draws its own white
   card for the light contact page, so it is neutralised here and the panel takes over.
   WO-19 integration: on the banner navy (WO-19c) a card is a glass layer, so the panel takes the dark context's
   surface and hairline instead of ink-900, which read as a dark well in the band. */
.cta-form-panel {
  border: 1px solid var(--ctx-line);
  background: var(--ctx-surface);
  border-radius: var(--r-lg);
  padding: 28px;
}
.cta-form-panel .enquiry-form {
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
