/* форма «Обсудить проект»: отдельный светлый блок под тёмными контактами */
.lead-card { max-width: 760px; margin: 14px auto 0; padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: var(--soft, #f5f5f7); }
.lead-h { margin: 0 0 24px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.03em; }
.lead { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-f { display: flex; flex-direction: column; gap: 8px; }
.lead-f > span { font-size: 14px; color: var(--muted, #6e6e73); }
.lead input:not([type=radio]):not([type=checkbox]), .lead textarea { width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 16px; background: #fff; color: var(--ink, #0b0c10); font: inherit; font-size: 16px; outline: none; box-shadow: 0 0 0 1px rgba(0,0,0,.06); transition: box-shadow .2s; }
.lead textarea { resize: vertical; min-height: 104px; }
.lead input::placeholder, .lead textarea::placeholder { color: #a1a1a6; }
.lead input:focus, .lead textarea:focus { box-shadow: 0 0 0 2px var(--ink, #0b0c10); }
.lead.err input[name=name]:placeholder-shown, .lead.err input[name=contact]:placeholder-shown { box-shadow: 0 0 0 2px #e5484d; }
.lead-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-chip { position: relative; cursor: pointer; }
.lead-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lead-chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); font-size: 15px; color: var(--ink, #0b0c10); transition: background .2s, color .2s; }
.lead-chip:hover span { box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.lead-chip input:checked + span { background: var(--ink, #0b0c10); color: #fff; box-shadow: none; }
.lead-chip input:focus-visible + span { outline: 2px solid var(--ink, #0b0c10); outline-offset: 2px; }
.lead-send { align-self: flex-start; margin-top: 4px; }
.lead-send:disabled { opacity: .6; }
.lead .lead-status { min-height: 1.4em; margin: 0; text-align: left; font-size: 15px; color: var(--muted, #6e6e73); }
.lead.sent .lead-status { color: #1a7f4b; }
.lead.err .lead-status { color: #c4373b; }
@media (max-width: 680px) {
  .lead-card { border-radius: 28px; }
  .lead-row { grid-template-columns: 1fr; }
  .lead-send { align-self: stretch; justify-content: center; }
}
/* по ширине — как тёмный блок над ней; содержимое — колонкой по центру */
.lead-card { max-width: none; }
.lead-h, .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.lead-h { margin-bottom: 24px; }
