/* ──────────────────────────────────────────────────────────────
 * Универсальная форма заявки (lead form). Подключается на
 * страницах семинаров. Использует переменные --terra, --brown,
 * --gray, --cream-soft из основной палитры сайта.
 * ────────────────────────────────────────────────────────────── */
.lf-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 12px 40px rgba(41, 22, 2, 0.18);
}
.lf-title {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.05;
  color: var(--brown);
  margin-bottom: 8px;
}
.lf-subtitle {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 18px;
}
.lf-grid { display: grid; gap: 14px; }
.lf-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}
.lf-field input,
.lf-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid rgba(157, 95, 27, 0.18);
  border-radius: 14px;
  background: #fbf6ec;
  padding: 12px 14px;
  color: var(--brown);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lf-field input:focus,
.lf-field textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(157, 95, 27, 0.12);
}
.lf-field textarea { min-height: 88px; resize: vertical; }
.lf-field--error input,
.lf-field--error textarea { border-color: #C0392B; }
.lf-field-error {
  font-size: 12px;
  color: #C0392B;
  margin-top: 4px;
  display: none;
}
.lf-field--error .lf-field-error { display: block; }
.lf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}
.lf-submit {
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 100px;
  background: var(--terra);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.lf-submit:hover:not(:disabled) {
  background: var(--terra-light, #B87333);
  transform: translateY(-1px);
}
.lf-submit:disabled { opacity: 0.6; cursor: wait; }
.lf-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}
.lf-success,
.lf-error { display: none; }
.lf-success {
  text-align: center;
  padding: 24px 12px;
}
.lf-success h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--terra);
  margin-bottom: 8px;
}
.lf-success p { color: var(--gray); font-size: 14px; }
.lf-error {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fdecec;
  border-radius: 8px;
  color: #a33;
  font-size: 14px;
}
.lf-error a { color: #a33; text-decoration: underline; }
