/* ═══════════════════════════════════════════════════════════════
   NPT Quote Form Engine — shared styles
   Used by the multi-step qualification widget on:
     • npsolar.com.au          (residential solar, commercial solar,
                                electrical, battery, ev-charger)
     • mackaycommunications.au (cctv, networking, data-cabling, phones)
     • officeautomation.au     (copiers, business-internet)
   Design tokens inherited from each site's styles.css; fallbacks below.
   ═══════════════════════════════════════════════════════════════ */

.nps-quote {
  --qf-navy:       var(--navy, #0B2E4E);
  --qf-navy-dark:  var(--navy-dark, #071e33);
  --qf-accent:     var(--orange, #F07D00);
  --qf-accent-2:   var(--orange-light, #ff9a2e);
  --qf-text:       var(--text, #111827);
  --qf-muted:      var(--muted, #6B7280);
  --qf-border:     var(--border, #E5E7EB);
  --qf-bg:         #ffffff;
  --qf-bg-soft:    #f6f8fb;
  --qf-danger:     #DC2626;
  --qf-success:    #16A34A;
  --qf-radius:     14px;
  --qf-radius-sm:  10px;
  --qf-shadow:     0 1px 2px rgba(0,0,0,0.05), 0 12px 40px rgba(11,46,78,0.10);

  background: var(--qf-bg);
  border: 1px solid var(--qf-border);
  border-radius: var(--qf-radius);
  box-shadow: var(--qf-shadow);
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-body, 'Satoshi', 'Inter', system-ui, sans-serif);
  color: var(--qf-text);
  overflow: hidden;
  contain: content;
}

.nps-quote__head {
  padding: 26px 28px 18px;
  border-bottom: 1px solid var(--qf-border);
  background: linear-gradient(180deg, #fff 0%, var(--qf-bg-soft) 100%);
}
.nps-quote__eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qf-accent);
  font-weight: 700;
  margin: 0 0 6px;
}
.nps-quote__title {
  font-family: var(--font-head, 'Cabinet Grotesk', 'Inter', system-ui, sans-serif);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--qf-navy);
  margin: 0 0 8px;
}
.nps-quote__sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--qf-muted);
  margin: 0;
}

.nps-quote__progress {
  display: flex;
  gap: 6px;
  padding: 12px 28px 0;
}
.nps-quote__progress span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--qf-border);
  transition: background 0.25s ease;
}
.nps-quote__progress span.is-done,
.nps-quote__progress span.is-current { background: var(--qf-accent); }
.nps-quote__progress span.is-done { opacity: 0.55; }

.nps-quote__steplabel {
  padding: 10px 28px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--qf-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.nps-quote__body {
  padding: 18px 28px 24px;
  min-height: 220px;
}

.nps-quote__steptitle {
  font-family: var(--font-head, 'Cabinet Grotesk', 'Inter', system-ui, sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--qf-navy);
  margin: 0 0 6px;
}
.nps-quote__stephint {
  font-size: 14px;
  color: var(--qf-muted);
  margin: 0 0 18px;
}

.nps-quote__q {
  margin-bottom: 18px;
}
.nps-quote__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--qf-text);
  margin: 0 0 8px;
}
.nps-quote__label .req { color: var(--qf-danger); }
.nps-quote__help {
  font-size: 12.5px;
  color: var(--qf-muted);
  margin: 4px 0 0;
  line-height: 1.45;
}

.nps-quote__input,
.nps-quote__select,
.nps-quote__textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--qf-text);
  background: #fff;
  border: 1px solid var(--qf-border);
  border-radius: var(--qf-radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nps-quote__input:focus,
.nps-quote__select:focus,
.nps-quote__textarea:focus {
  outline: 0;
  border-color: var(--qf-accent);
  box-shadow: 0 0 0 3px rgba(240,125,0,0.18);
}
.nps-quote__input[aria-invalid="true"],
.nps-quote__select[aria-invalid="true"],
.nps-quote__textarea[aria-invalid="true"] {
  border-color: var(--qf-danger);
}

.nps-quote__choices {
  display: grid;
  gap: 10px;
}
.nps-quote__choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--qf-border);
  border-radius: var(--qf-radius-sm);
  cursor: pointer;
  background: #fff;
  transition: all .15s ease;
  font-size: 15px;
}
.nps-quote__choice:hover {
  border-color: var(--qf-accent);
  background: #fffaf2;
}
.nps-quote__choice input {
  accent-color: var(--qf-accent);
  width: 18px; height: 18px; flex: 0 0 auto;
}
.nps-quote__choice input:checked + span { font-weight: 600; }
.nps-quote__choice.is-selected {
  border-color: var(--qf-accent);
  background: #fff6ec;
  box-shadow: 0 0 0 2px rgba(240,125,0,0.18);
}
.nps-quote__choice-desc {
  display: block;
  font-size: 12.5px;
  color: var(--qf-muted);
  margin-top: 2px;
  line-height: 1.45;
}

.nps-quote__grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  .nps-quote__grid2 { grid-template-columns: 1fr; }
  .nps-quote__head,
  .nps-quote__body,
  .nps-quote__progress,
  .nps-quote__steplabel,
  .nps-quote__foot { padding-left: 20px; padding-right: 20px; }
}

.nps-quote__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 28px 22px;
  border-top: 1px solid var(--qf-border);
  background: var(--qf-bg-soft);
}

.nps-quote__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--qf-radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .1s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.nps-quote__btn:disabled { opacity: .55; cursor: not-allowed; }
.nps-quote__btn--primary {
  background: var(--qf-accent);
  color: #fff;
}
.nps-quote__btn--primary:hover:not(:disabled) { background: var(--qf-accent-2); }
.nps-quote__btn--ghost {
  background: transparent;
  color: var(--qf-navy);
  border-color: var(--qf-border);
}
.nps-quote__btn--ghost:hover:not(:disabled) { border-color: var(--qf-navy); }

.nps-quote__error {
  font-size: 13px;
  color: var(--qf-danger);
  margin-top: 10px;
  padding: 10px 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

.nps-quote__step {
  animation: nps-quote-fade 0.22s ease;
}
@keyframes nps-quote-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nps-quote__result {
  padding: 32px 28px;
  text-align: center;
}
.nps-quote__result h3 {
  font-family: var(--font-head, 'Cabinet Grotesk', 'Inter', system-ui, sans-serif);
  font-size: 26px;
  color: var(--qf-navy);
  margin: 0 0 10px;
}
.nps-quote__result p {
  font-size: 15px;
  color: var(--qf-muted);
  max-width: 440px;
  margin: 0 auto 18px;
  line-height: 1.55;
}
.nps-quote__result-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}
.nps-quote__result-icon--ok {
  background: #ecfdf5;
  color: var(--qf-success);
}
.nps-quote__result-icon--wait {
  background: #fffbeb;
  color: #b45309;
}

.nps-quote__calendly {
  min-width: 320px;
  height: 720px;
  width: 100%;
}

.nps-quote__honey {
  position: absolute !important;
  left: -10000px !important;
  top: -10000px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
