/* Contact form and WhatsApp button. Uses each page's own design tokens (--ink, --paper, --yellow, --display, --body). */
.lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 28px clamp(28px, 4vw, 56px); margin-top: clamp(28px, 4vw, 40px); padding-top: clamp(24px, 3vw, 32px); border-top: 2px solid var(--ink); }
.lead:has(> .lead-side[hidden]) { grid-template-columns: minmax(0, 1fr); }
.lead:has(> .lead-side[hidden]) .lead-form { max-width: 760px; }
.lead-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-content: start; }
.lead-form .field { display: grid; gap: 6px; min-width: 0; }
.lead-form .field.full { grid-column: 1 / -1; }
.lead-form label { font: 600 18px/1.15 var(--display); letter-spacing: .02em; }
.lead-form input, .lead-form textarea { box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 17px/1.4 var(--body); }
.lead-form textarea { min-height: 128px; resize: vertical; }
.lead-form input:focus-visible, .lead-form textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.lead-form [aria-invalid="true"] { border-color: #A3261B; box-shadow: 0 0 0 1px #A3261B inset; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.lead-check { min-height: 65px; min-width: min(300px, 100%); flex: 1 1 300px; max-width: 420px; }
.send-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--yellow); font: 600 18px/1 var(--body); cursor: pointer; }
.send-btn:hover { background: #000; }
.send-btn[disabled] { opacity: .65; cursor: progress; }
.send-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lead-status { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: 16px; font-weight: 500; }
.lead-status.error { color: #8A1C1C; }
.lead-done { grid-column: 1 / -1; display: grid; gap: 6px; padding: 22px 24px; border-radius: 14px; background: var(--ink); color: var(--flap-ink, #F3F0E8); }
.lead-done strong { font: 700 clamp(26px, 3vw, 34px)/1 var(--display); color: var(--yellow); }
.lead-done p { margin: 0; font-size: 17px; }
.lead-side { display: grid; gap: 12px; align-content: start; }
.lead-side h3 { margin: 0; font: 700 clamp(26px, 2.6vw, 32px)/1 var(--display); }
.lead-side p { margin: 0; font-size: 16px; line-height: 1.5; color: #3B3500; max-width: 22em; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 52px; padding: 0 22px 0 18px; border-radius: 999px; box-shadow: 0 0 0 2px var(--ink) inset; color: var(--ink); font: 600 18px/1 var(--body); text-decoration: none; }
.wa-btn:hover { background: rgba(28, 31, 35, .08); }
.wa-btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
@media (max-width: 900px) { .lead { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .lead-form { grid-template-columns: minmax(0, 1fr); }
  .lead-foot { flex-direction: column; align-items: stretch; }
  .lead-check { flex: none; max-width: none; }
  .send-btn { justify-content: center; }
}
