/*
 * Структура и классы — контракт lead-form.js, не переименовывать
 * (ЗАЯВКИ-инструкция-для-Claude.md, Шаг 3). Цвета и радиусы — токены
 * палитры из src/styles/global.css (--color-*/--radius-*, ТЗ §6, §10.2):
 * Tailwind v4 @theme публикует их как обычные CSS-переменные на :root,
 * этот файл лежит в public/ и не проходит через Tailwind, но переменные
 * читает как любой другой CSS после того, как страница подключит global.css.
 */
.lead-form{width:100%;box-sizing:border-box}
.lead-form *{box-sizing:border-box}
.lead-form__hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.lead-form__row{display:flex;flex-wrap:wrap;gap:14px;align-items:stretch}
.lead-form__input{flex:1 1 180px;min-width:0;height:64px;padding:0 26px;border:1px solid var(--color-border);border-radius:var(--radius-btn);background:var(--color-bg-white);
  font-family:inherit;font-size:18px;color:var(--color-text-main);box-shadow:0 6px 24px rgba(18,59,93,.08);outline:none}
.lead-form__input::placeholder{color:var(--color-text-secondary)}
.lead-form__input:focus{border-color:var(--color-brand-dark);box-shadow:0 0 0 2px var(--color-brand-dark),0 6px 24px rgba(18,59,93,.10)}
.lead-form__btn{flex:0 0 auto;height:64px;padding:0 40px;border:none;border-radius:var(--radius-btn);background:var(--color-cta);color:var(--color-bg-white);
  font-family:inherit;font-size:20px;font-weight:700;cursor:pointer;transition:background .18s,opacity .18s;white-space:nowrap}
.lead-form__btn:hover{background:var(--color-cta-hover)}
.lead-form__btn[disabled]{opacity:.6;cursor:default}
.lead-form__consent{display:flex;align-items:flex-start;gap:9px;margin-top:14px;font-family:inherit;font-size:13px;line-height:1.4;color:var(--color-text-secondary);cursor:pointer}
.lead-form__consent input{flex:0 0 auto;width:16px;height:16px;margin:1px 0 0;cursor:pointer;accent-color:var(--color-brand-dark)}
.lead-form__consent a{color:inherit;text-decoration:underline}
.lead-form__status{margin:10px 0 0;min-height:18px;font-family:inherit;font-size:14px;line-height:1.4}
.lead-form__status[data-state="error"]{color:#c0362b}
.lead-form__status[data-state="ok"]{color:var(--color-success)}
@media (max-width:767px){
  .lead-form__row{flex-direction:column}
  .lead-form__input,.lead-form__btn{width:100%;flex:1 1 auto}
}
