/* Ritaya - lead / demo request form (rendered by assets/js/lead-form.js) */
.lead-form {
  background: #fff;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.08);
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  color: var(--color-text, #1a1a2e);
}
.lead-form__title { margin: 0 0 6px; font-size: 1.5rem; font-weight: 800; }
.lead-form__sub { margin: 0 0 20px; color: var(--color-muted, #64748b); }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.lead-form__field { display: flex; flex-direction: column; gap: 6px; }
.lead-form__field--wide { margin-top: 14px; }
.lead-form__field label { font-size: 0.875rem; font-weight: 600; }
.lead-form__opt { font-weight: 400; color: var(--color-muted, #64748b); font-size: 0.8125rem; }
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: inherit;
}
.lead-form textarea { min-height: 84px; resize: vertical; }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(203, 32, 45, 0.25);
  border-color: var(--color-primary, #CB202D);
}
.lead-form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 0.8125rem; color: var(--color-muted, #64748b); line-height: 1.5; }
.lead-form__consent input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
.lead-form__consent a { color: var(--color-primary, #CB202D); }
.lead-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.lead-form__btn {
  flex: 1 1 220px;
  min-height: 52px;
  border-radius: 12px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lead-form__btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.lead-form__btn--wa { background: #25D366; color: #073b1c; }
.lead-form__btn--mail { background: #fff; color: var(--color-primary, #CB202D); border-color: var(--color-primary, #CB202D); }
.lead-form__status { min-height: 1.4em; margin: 14px 0 0; font-size: 0.9rem; }
.lead-form__status--error { color: #b91c1c; }
.lead-form__status--ok { color: #166534; }

@media (max-width: 640px) {
  .lead-form { padding: 20px 16px; border-radius: 14px; }
  .lead-form__grid { grid-template-columns: 1fr; }
}

/* Hidden bot trap - off-screen, never shown to people or read by assistive tech */
.lead-form__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Primary "Request a demo" button + the direct-contact alternatives */
.lead-form__btn--primary { background: var(--color-primary, #CB202D); color: #fff; }
.lead-form__btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.lead-form__alt { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--color-border, #e2e8f0); }
.lead-form__alt-title { margin: 0 0 10px; font-size: .875rem; font-weight: 600; color: var(--color-muted, #64748b); }
.lead-form__alt--highlight { border: 2px solid var(--color-primary, #CB202D); border-radius: 12px; padding: 14px; background: rgba(203,32,45,.04); }
.lead-form--done { text-align: center; }
.lead-form__link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 0 22px; }
.lead-form__ts { margin-top: 10px; }
