/* =====================================================================
   NoVi Designs & Finishing — smart lead form ("Start your project")
   Component: src/components/lead/SmartLeadForm.tsx (home closing section + Contact Us).
   Design-system tokens only (redesign.css): both themes, EN/AR (logical properties),
   transform/opacity motion, prefers-reduced-motion = no motion.
   ===================================================================== */

.nlf {
  --nlf-radius: 18px;
  --nlf-pad: clamp(20px, 2.4vw, 36px);
  --nlf-chip-h: 44px;
  position: relative;
  color: var(--novi-text);
  font: 400 var(--fs-body)/var(--lh-body) var(--ff-body);
  scroll-margin-top: calc(var(--novi-header-h, 80px) + 16px);
}
.nlf *, .nlf *::before, .nlf *::after { box-sizing: border-box; }
.nlf ul, .nlf ol { list-style: none; margin: 0; padding: 0; }
.nlf p { margin: 0; }
.nlf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.nlf legend { float: none; width: auto; padding: 0; margin: 0; font-size: inherit; }
.nlf a { color: var(--novi-gold-hi); text-underline-offset: 3px; }
.nlf-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.nlf__card {
  position: relative; isolation: isolate;
  padding: var(--nlf-pad);
  border: 1px solid var(--novi-line);
  border-radius: var(--nlf-radius);
  background:
    linear-gradient(180deg, rgba(var(--novi-gold-rgb), 0.06), rgba(var(--novi-gold-rgb), 0) 180px),
    rgba(var(--novi-surface-rgb), 0.9);
  box-shadow: var(--novi-shadow);
}
/* hairline gold top edge */
.nlf__card::before {
  content: ""; position: absolute; inset: 0 var(--nlf-radius) auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--novi-gold-hi), transparent); opacity: 0.7;
}

/* ---------------------------------------------------------- progress */
.nlf-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nlf-progress li > span, .nlf-progress li > button {
  all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; min-height: 36px; width: 100%;
  color: var(--novi-muted); font: 600 var(--fs-small)/1.25 var(--ff-head); letter-spacing: 0.02em;
}
.nlf-progress li > button { cursor: pointer; border-radius: 8px; }
.nlf-progress li > button:hover .nlf-progress__t { color: var(--novi-gold-hi); }
.nlf-progress li > button:focus-visible { outline: 2px solid var(--novi-gold-hi); outline-offset: 3px; }
.nlf-progress__n {
  flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--novi-line-2); font: 600 12px/1 var(--ff-head); color: var(--novi-muted);
  transition: background-color 0.35s var(--novi-ease), color 0.35s, border-color 0.35s;
}
.nlf-progress li.is-now { color: var(--novi-strong); }
.nlf-progress li.is-now .nlf-progress__t { color: var(--novi-strong); }
.nlf-progress li.is-now .nlf-progress__n { border-color: var(--novi-gold); color: var(--novi-gold-hi); box-shadow: 0 0 0 4px rgba(var(--novi-gold-rgb), 0.12); }
.nlf-progress li.is-done .nlf-progress__n { background: var(--novi-gold); border-color: var(--novi-gold); color: var(--novi-on-gold); }
.nlf-progress li.is-done .nlf-progress__t { color: var(--novi-text); }
.nlf-progress__bar { position: relative; height: 2px; margin: 14px 0 0; background: var(--novi-line); border-radius: 2px; overflow: hidden; }
.nlf-progress__bar span {
  position: absolute; inset: 0; transform-origin: left center; background: var(--novi-grad-gold); background-size: 200% 100%;
  transition: transform 0.6s var(--novi-ease);
}
[dir="rtl"] .nlf-progress__bar span { transform-origin: right center; }
@media (max-width: 640px) {
  .nlf-progress__t { display: none; }
  .nlf-progress li.is-now .nlf-progress__t { display: inline; }
  .nlf-progress { grid-template-columns: auto auto auto auto; justify-content: start; }
  .nlf-progress li.is-now { grid-column: auto; }
}

/* choices so far: small editable chips */
.nlf-summary { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
.nlf-summary button {
  all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px;
  border-radius: 999px; background: rgba(var(--novi-gold-rgb), 0.1); border: 1px solid rgba(var(--novi-gold-rgb), 0.28);
  color: var(--novi-text); font: 400 13px/1.2 var(--ff-body); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: border-color 0.25s, background-color 0.25s;
}
.nlf-summary button:hover { border-color: var(--novi-gold); background: rgba(var(--novi-gold-rgb), 0.16); }
.nlf-summary button:focus-visible { outline: 2px solid var(--novi-gold-hi); outline-offset: 2px; }

/* ---------------------------------------------------------- panel */
.nlf__panel { margin-top: clamp(20px, 2.2vw, 30px); }
@media (prefers-reduced-motion: no-preference) {
  .nlf__panel.is-fwd { animation: nlf-in-fwd 0.5s var(--novi-ease) both; }
  .nlf__panel.is-back { animation: nlf-in-back 0.5s var(--novi-ease) both; }
  [dir="rtl"] .nlf__panel.is-fwd { animation-name: nlf-in-back; }
  [dir="rtl"] .nlf__panel.is-back { animation-name: nlf-in-fwd; }
}
@keyframes nlf-in-fwd { from { opacity: 0; transform: translate3d(24px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes nlf-in-back { from { opacity: 0; transform: translate3d(-24px, 0, 0); } to { opacity: 1; transform: none; } }

.nlf__stepof { font: 600 var(--fs-eyebrow)/1.4 var(--ff-head); letter-spacing: var(--ls-eyebrow); text-transform: var(--tt-eyebrow); color: var(--novi-gold-hi); }
.nlf__title {
  margin: 8px 0 0 !important; color: var(--novi-strong) !important; outline: none;
  font: var(--fw-head) var(--fs-h3)/var(--lh-head) var(--ff-head) !important; letter-spacing: var(--ls-head) !important; text-transform: none !important;
}
.nlf__hint { margin-top: 6px !important; color: var(--novi-muted); font-size: 15px; line-height: 1.6; max-width: 60ch; }
.is-compact .nlf__hint { font-size: 14.5px; }

.nlf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 22px; }
.nlf-span { grid-column: 1 / -1; }
@media (max-width: 600px) { .nlf-grid { grid-template-columns: minmax(0, 1fr); } }
.nlf__panel > [data-field="services"], .nlf__panel > div > .nlf-modes { margin-top: 22px; }

.nlf-field { display: grid; gap: 8px; align-content: start; }
.nlf-label { display: block; color: var(--novi-text); font: 600 var(--fs-small)/1.4 var(--ff-head); letter-spacing: 0.02em; }
[dir="rtl"] .nlf-label { font-size: 15px; letter-spacing: 0; }
.nlf-label__hint { color: var(--novi-muted); font: 400 13px/1.4 var(--ff-body); letter-spacing: 0; }
.nlf-help { color: var(--novi-muted); font-size: 13px; line-height: 1.5; }
.nlf-error { color: var(--novi-danger-text); font-size: 13.5px; line-height: 1.45; display: flex; gap: 6px; align-items: baseline; }
.nlf-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(var(--novi-danger-rgb), 0.16); font: 700 11px/1 var(--ff-head); }

/* ---------------------------------------------------------- chips */
.nlf-chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
.nlf-chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: var(--nlf-chip-h); padding: 0 16px;
  border: 1px solid var(--novi-line-2); border-radius: 999px; background: var(--novi-field); cursor: pointer; user-select: none;
  color: var(--novi-text); font: 400 15px/1.2 var(--ff-body);
  transition: border-color 0.25s, background-color 0.25s, color 0.25s, transform 0.25s var(--novi-ease);
}
.nlf-chips.is-big .nlf-chip { min-height: 50px; padding: 0 20px; font-size: 15.5px; }
.nlf-chip input, .nlf-mode input, .nlf-day input, .nlf-time input, .nlf-switch input, .nlf-check input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; appearance: none;
}
.nlf-chip:hover { border-color: rgba(var(--novi-gold-rgb), 0.6); }
.nlf-chip:has(input:focus-visible), .nlf-mode:has(input:focus-visible), .nlf-day:has(input:focus-visible),
.nlf-time:has(input:focus-visible), .nlf-switch:has(input:focus-visible), .nlf-check:has(input:focus-visible) {
  outline: 2px solid var(--novi-gold-hi); outline-offset: 2px;
}
.nlf-chip__tick {
  position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--novi-line-2);
  transition: background-color 0.25s, border-color 0.25s;
}
.nlf-chip__tick::after {
  content: ""; position: absolute; left: 4.5px; top: 2px; width: 5px; height: 9px; border: solid var(--novi-on-gold); border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg) scale(0); transition: transform 0.25s var(--novi-ease);
}
.nlf-chip.is-on { border-color: var(--novi-gold); background: rgba(var(--novi-gold-rgb), 0.14); color: var(--novi-strong); }
.nlf-chip.is-on .nlf-chip__tick { background: var(--novi-gold); border-color: var(--novi-gold); }
.nlf-chip.is-on .nlf-chip__tick::after { transform: rotate(45deg) scale(1); }
.nlf-chips[aria-invalid="true"] .nlf-chip { border-color: rgba(var(--novi-danger-rgb), 0.55); }

/* ---------------------------------------------------------- inputs */
.nlf-input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--novi-line-2);
  background: var(--novi-field); color: var(--novi-strong); font: 400 16px/1.4 var(--ff-body);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s; appearance: none;
}
.nlf-input::placeholder { color: var(--novi-muted); opacity: 0.8; }
.nlf-input:hover { border-color: rgba(var(--novi-gold-rgb), 0.5); }
.nlf-input:focus { outline: none; border-color: var(--novi-gold); box-shadow: 0 0 0 3px rgba(var(--novi-gold-rgb), 0.2); }
.nlf-input[aria-invalid="true"] { border-color: var(--novi-danger); box-shadow: 0 0 0 3px rgba(var(--novi-danger-rgb), 0.12); }
.nlf-textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
[dir="rtl"] .nlf-input[dir="ltr"] { text-align: right; }
[dir="rtl"] .nlf-input[dir="ltr"]::placeholder { text-align: right; }

.nlf-area { position: relative; }
.nlf-area .nlf-input { padding-inline-end: 52px; }
.nlf-area__unit { position: absolute; inset-inline-end: 16px; top: 50%; transform: translateY(-50%); color: var(--novi-muted); font-size: 14px; pointer-events: none; }
.nlf-range { width: 100%; height: 28px; margin: 2px 0 0; background: transparent; accent-color: var(--novi-gold); cursor: pointer; }
.nlf-range:focus-visible { outline: 2px solid var(--novi-gold-hi); outline-offset: 2px; border-radius: 4px; }

/* WhatsApp preference switch */
.nlf-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; width: fit-content; cursor: pointer; color: var(--novi-text); font-size: 14.5px; border-radius: 999px; }
.nlf-switch__ui { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: var(--novi-line-2); transition: background-color 0.3s; }
.nlf-switch__ui::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--novi-strong); transition: transform 0.3s var(--novi-ease); }
.nlf-switch:has(input:checked) .nlf-switch__ui { background: var(--novi-gold); }
.nlf-switch:has(input:checked) .nlf-switch__ui::after { transform: translateX(16px); background: var(--novi-on-gold); }
[dir="rtl"] .nlf-switch:has(input:checked) .nlf-switch__ui::after { transform: translateX(-16px); }

/* consent */
.nlf-check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; color: var(--novi-muted); font-size: 14px; line-height: 1.55; border-radius: 8px; }
.nlf-check input { width: 22px; height: 22px; }
.nlf-check__box { position: relative; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1px solid var(--novi-line-2); background: var(--novi-field); transition: background-color 0.25s, border-color 0.25s; }
.nlf-check__box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--novi-on-gold); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.25s var(--novi-ease); }
.nlf-check:has(input:checked) .nlf-check__box { background: var(--novi-gold); border-color: var(--novi-gold); }
.nlf-check:has(input:checked) .nlf-check__box::after { transform: rotate(45deg) scale(1); }
.nlf-check.is-invalid .nlf-check__box { border-color: var(--novi-danger); }
.nlf-check a { position: relative; z-index: 1; }

.nlf-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------- meeting modes */
.nlf-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .nlf-modes { grid-template-columns: minmax(0, 1fr); } }
.nlf-modes .nlf-error { grid-column: 1 / -1; }
.nlf-mode {
  position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; min-height: 76px;
  border: 1px solid var(--novi-line-2); border-radius: 14px; background: var(--novi-field); cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--novi-ease);
}
.nlf-mode:hover { border-color: rgba(var(--novi-gold-rgb), 0.6); transform: translateY(-1px); }
.nlf-mode__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(var(--novi-gold-rgb), 0.1); color: var(--novi-gold-hi); transition: background-color 0.3s, color 0.3s; }
.nlf-mode__text { display: grid; gap: 3px; }
.nlf-mode__text strong { color: var(--novi-strong); font: 600 15.5px/1.35 var(--ff-head); }
[dir="rtl"] .nlf-mode__text strong { font-weight: 700; }
.nlf-mode__text span { color: var(--novi-muted); font-size: 13.5px; line-height: 1.45; }
.nlf-mode.is-on { border-color: var(--novi-gold); background: rgba(var(--novi-gold-rgb), 0.1); }
.nlf-mode.is-on .nlf-mode__icon { background: var(--novi-gold); color: var(--novi-on-gold); }
.nlf-modes[aria-invalid="true"] .nlf-mode { border-color: rgba(var(--novi-danger-rgb), 0.55); }

/* ---------------------------------------------------------- scheduler */
.nlf-sched { display: grid; gap: 18px; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--novi-line-2); }
@media (prefers-reduced-motion: no-preference) { .nlf-sched { animation: nlf-rise 0.45s var(--novi-ease) both; } }
@keyframes nlf-rise { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
.nlf-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.nlf-day {
  position: relative; flex: none; display: grid; justify-items: center; gap: 2px; width: 68px; padding: 10px 0; scroll-snap-align: start;
  border: 1px solid var(--novi-line-2); border-radius: 14px; background: var(--novi-field); cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s;
}
.nlf-day:hover { border-color: rgba(var(--novi-gold-rgb), 0.6); }
.nlf-day__wd, .nlf-day__m { color: var(--novi-muted); font: 600 11.5px/1.2 var(--ff-head); letter-spacing: 0.06em; text-transform: uppercase; }
[dir="rtl"] .nlf-day__wd, [dir="rtl"] .nlf-day__m { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.nlf-day__d { color: var(--novi-strong); font: 500 22px/1.15 var(--ff-head); }
.nlf-day.is-on { border-color: var(--novi-gold); background: var(--novi-gold); }
.nlf-day.is-on :is(.nlf-day__wd, .nlf-day__d, .nlf-day__m) { color: var(--novi-on-gold); }
.nlf-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.nlf-time {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 48px; padding: 6px 8px;
  border: 1px solid var(--novi-line-2); border-radius: 12px; background: var(--novi-field); cursor: pointer; text-align: center;
  transition: border-color 0.25s, background-color 0.25s;
}
.nlf-time:hover { border-color: rgba(var(--novi-gold-rgb), 0.6); }
.nlf-time__t { color: var(--novi-strong); font: 600 15px/1.2 var(--ff-head); direction: ltr; unicode-bidi: isolate; }
.nlf-time__c { color: var(--novi-muted); font-size: 11.5px; line-height: 1.2; }
.nlf-time.is-on { border-color: var(--novi-gold); background: rgba(var(--novi-gold-rgb), 0.16); box-shadow: inset 0 0 0 1px var(--novi-gold); }
.nlf-note { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(var(--novi-gold-rgb), 0.3); background: rgba(var(--novi-gold-rgb), 0.07); color: var(--novi-text); font-size: 14.5px; line-height: 1.55; }

.nlf-skel-row { display: flex; gap: 8px; overflow: hidden; margin-bottom: 10px; }
.nlf-skel { flex: none; border-radius: 12px; background: linear-gradient(90deg, rgba(var(--novi-fg-rgb), 0.05), rgba(var(--novi-fg-rgb), 0.11), rgba(var(--novi-fg-rgb), 0.05)); background-size: 200% 100%; }
.nlf-skel.is-day { width: 68px; height: 74px; border-radius: 14px; }
.nlf-skel.is-time { width: 112px; height: 48px; }
@media (prefers-reduced-motion: no-preference) { .nlf-skel { animation: nlf-shimmer 1.4s linear infinite; } }
@keyframes nlf-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------------------------------------------------------- nav + buttons */
.nlf-alert {
  margin-top: 18px !important; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(var(--novi-danger-rgb), 0.45);
  background: rgba(var(--novi-danger-rgb), 0.08); color: var(--novi-text); font-size: 14.5px; line-height: 1.55;
}
.nlf-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: clamp(22px, 2.4vw, 32px); padding-top: 20px; border-top: 1px solid var(--novi-line); }
.nlf-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--novi-line-2); background: transparent; color: var(--novi-strong) !important; cursor: pointer;
  font: 600 13px/1 var(--ff-head); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap;
  transition: background-position 0.5s var(--novi-ease), border-color 0.3s, background-color 0.3s, transform 0.3s var(--novi-ease), box-shadow 0.35s;
}
[dir="rtl"] .nlf-btn { letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 700; }
.nlf-btn:hover { border-color: var(--novi-gold); transform: translateY(-1px); }
.nlf-btn:focus-visible { outline: 2px solid var(--novi-gold-hi); outline-offset: 3px; }
.nlf-btn.is-primary { border-color: transparent; background: var(--novi-grad-gold); background-size: 200% 100%; color: var(--novi-on-gold) !important; box-shadow: 0 10px 30px -14px rgba(var(--novi-gold-rgb), 0.8); }
.nlf-btn.is-primary:hover { background-position: 100% 0; box-shadow: 0 14px 36px -14px rgba(var(--novi-gold-rgb), 0.95); }
.nlf-btn.is-ghost { border-color: transparent; padding-inline: 12px; color: var(--novi-muted) !important; }
.nlf-btn.is-ghost:hover { color: var(--novi-strong) !important; border-color: var(--novi-line-2); }
.nlf-btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.nlf-nav .nlf-btn.is-primary { min-width: min(230px, 100%); }
.nlf-arrow { position: relative; width: 16px; height: 1px; background: currentColor; transition: transform 0.3s var(--novi-ease); }
.nlf-arrow::after { content: ""; position: absolute; inset-inline-end: 0; top: -3.5px; width: 8px; height: 8px; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
[dir="rtl"] .nlf-arrow::after { transform: rotate(-135deg); }
.nlf-arrow.is-back::after { inset-inline-end: auto; inset-inline-start: 0; transform: rotate(-135deg); }
[dir="rtl"] .nlf-arrow.is-back::after { transform: rotate(45deg); }
.nlf-btn:hover .nlf-arrow:not(.is-back) { transform: translateX(3px); }
[dir="rtl"] .nlf-btn:hover .nlf-arrow:not(.is-back) { transform: translateX(-3px); }
.nlf-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; }
@media (prefers-reduced-motion: no-preference) { .nlf-spin { animation: nlf-spin 0.8s linear infinite; } }
@keyframes nlf-spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) {
  .nlf-btn { padding: 0 18px; }
  .nlf-nav .nlf-btn.is-primary { flex: 1; min-width: 0; }
}

.nlf-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px !important; color: var(--novi-muted); font-size: 13px; line-height: 1.4; }
.nlf-trust li { display: inline-flex; align-items: center; gap: 7px; }
.nlf-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--novi-gold); }

.nlf-link { all: unset; cursor: pointer; margin-top: 18px; color: var(--novi-gold-hi); font: 600 14px/1.4 var(--ff-head); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(var(--novi-gold-rgb), 0.5); }
.nlf-link:focus-visible { outline: 2px solid var(--novi-gold-hi); outline-offset: 3px; }

/* ---------------------------------------------------------- confirmation */
.nlf-done { display: grid; justify-items: start; gap: 14px; }
.nlf-done__mark svg { display: block; fill: none; stroke: var(--novi-gold-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nlf-done__mark circle { stroke: rgba(var(--novi-gold-rgb), 0.45); }
@media (prefers-reduced-motion: no-preference) {
  .nlf-done__mark circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: nlf-draw 0.9s var(--novi-ease) forwards; }
  .nlf-done__mark path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: nlf-draw 0.5s 0.55s var(--novi-ease) forwards; }
  .nlf-done > * { animation: nlf-rise 0.5s var(--novi-ease) both; }
}
@keyframes nlf-draw { to { stroke-dashoffset: 0; } }
.nlf-done__title { margin: 0 !important; outline: none; color: var(--novi-strong) !important; font: var(--fw-head) var(--fs-h3)/var(--lh-head) var(--ff-head) !important; text-transform: none !important; }
.nlf-done__lead { color: var(--novi-text); font-size: var(--fs-lead); line-height: 1.6; max-width: 58ch; }
.nlf-done__slot { width: 100%; display: grid; gap: 8px; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(var(--novi-gold-rgb), 0.35); background: rgba(var(--novi-gold-rgb), 0.07); }
.nlf-done__mode { display: flex; align-items: center; gap: 10px; color: var(--novi-gold-hi); font: 600 var(--fs-small)/1.3 var(--ff-head); }
.nlf-done__when { display: grid; gap: 2px; }
.nlf-done__when strong { color: var(--novi-strong); font: 500 var(--fs-h4)/1.35 var(--ff-head); }
.nlf-done__when.is-2 span:last-child { color: var(--novi-text); }
.nlf-done__k { color: var(--novi-muted); font: 600 var(--fs-eyebrow)/1.4 var(--ff-head); letter-spacing: var(--ls-eyebrow); text-transform: var(--tt-eyebrow); }
.nlf-done__addr { color: var(--novi-muted); font-size: 14px; }
.nlf-done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.nlf-done__next { width: 100%; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--novi-line); display: grid; gap: 10px; }
.nlf-done__next ol { display: grid; gap: 8px; counter-reset: nlf; }
.nlf-done__next li { position: relative; padding-inline-start: 34px; color: var(--novi-text); font-size: 15px; line-height: 1.55; counter-increment: nlf; }
.nlf-done__next li::before {
  content: counter(nlf); position: absolute; inset-inline-start: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(var(--novi-gold-rgb), 0.5); color: var(--novi-gold-hi); font: 600 12px/1 var(--ff-head);
}

/* =====================================================================
   Section layouts that host the form
   ===================================================================== */
/* two columns: intro (sticky on desktop) + form */
.nlf-layout { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 1100px) {
  .nlf-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .nlf-layout > .nlf-intro { position: sticky; top: calc(var(--novi-header-h, 80px) + 32px); }
}
.nlf-intro { display: grid; gap: 18px; align-content: start; }
.nlf-intro p { margin: 0; }
.nlf-points { display: grid; gap: 12px; margin: 6px 0 0; padding: 0; list-style: none; }
.nlf-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--novi-text); font-size: 15.5px; line-height: 1.5; }
.nlf-points li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: rgba(var(--novi-gold-rgb), 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23be9565' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(var(--novi-gold-rgb), 0.35);
}
.nlf-direct { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--novi-line); }
.nlf-direct a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--novi-text) !important; font: 600 14px/1.3 var(--ff-head); text-decoration: none !important; transition: color 0.25s; }
.nlf-direct a:hover { color: var(--novi-gold-hi) !important; }
.nlf-direct i { color: var(--novi-gold); }

/* home: the merged closing section ("Let's build what's next" + the form) */
.nh-leadform .nh-display {
  margin-top: 16px !important;
  background: var(--novi-grad-gold, #be9565); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em;
}
.novi-rtl .nh-leadform .nh-display { font-weight: 700; line-height: 1.35; letter-spacing: 0 !important; }
.nh-leadform .nh-cta__lead { max-width: 46ch; }

/* step labels never break inside a word; below 900px only the current step shows its label */
.nlf-progress__t { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 900px) {
  .nlf-progress__t { display: none; }
  .nlf-progress li.is-now .nlf-progress__t { display: inline; white-space: nowrap; }
  .nlf-progress { grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px; }
}
/* home section: full container width, heading sized for a two-column layout */
.nh-leadform .nlf-layout { width: 100%; }
.nh-leadform .nh-display { font-size: var(--fs-display) !important; line-height: 1.08; }
