/* Intake wrapper pages only (Standard Listing / Open House / Agent Identity).
   Shared by all three, same pattern as builds.css. Sitewide chrome/primitives
   live in base.css, nav.css, footer.css — this file does not restyle those. */

.intake-hero { background: var(--obsidian); color: var(--ivory); padding: 100px 0 64px; }
.intake-hero h1 { margin-top: 18px; max-width: 700px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.16; color: var(--ivory); font-weight: 500; }
.intake-hero p { margin-top: 22px; max-width: 600px; color: var(--fog); font-size: 16px; line-height: 1.85; }

/* NATIVE INTAKE FORM — field/label/input styling is reused directly from
   contact.css (.contact-form-section, .contact-form, .field, .field-row).
   This file only adds what the Contact form doesn't need: in-form section
   dividers for a much longer form, multi-select sizing, the honeypot, and
   loading/success/error states. */

.required-mark { color: #B00020; margin-left: 4px; font-weight: 600; }
.required-legend { margin-top: 16px; font-size: 13px; color: var(--stone); }

.intake-form-section-heading {
  margin: 40px 0 20px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--obsidian);
}
.intake-form-section-heading:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.field-hint { display: block; margin-top: 8px; font-size: 12px; color: var(--stone); }

/* Checkbox groups — replaces native <select multiple>, which isn't discoverable
   (ctrl/cmd-click to multi-select has no visual affordance). fieldset/legend is
   the correct accessible pattern for a labeled group of checkboxes; the reset
   below makes it inherit the same look as a regular .field label. */
fieldset.field { border: none; padding: 0; margin: 0 0 26px; min-width: 0; }
fieldset.field legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px 20px;
  padding: 14px 16px;
  border: 1px solid var(--hair);
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--obsidian);
  cursor: pointer;
}
.checkbox-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.intake-form-intro { margin-top: 4px; color: var(--stone); font-size: 15px; line-height: 1.7; }

/* Three-up field row (City/State/ZIP, Beds/Baths/SqFt) — pairs with .field-row */
.field-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .field-row-3 { grid-template-columns: 1fr; }
}

/* Honeypot — visually hidden, off-screen, not display:none (some bots skip that) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid var(--hair);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--obsidian);
}
.form-status.is-visible { display: block; }
.form-status.success { border-color: var(--gold); }
.form-status.error { border-color: var(--bronze); }

@media (max-width: 920px) {
  .intake-hero { padding: 72px 0 48px; }
}
