/* ==========================================================================
   Cling Digital — homepage qualification quiz
   Scoped under .lead-quiz so it cannot leak into the existing home styles.
   Uses only the CSS variables already defined in style-classic.css.
   ========================================================================== */

.lead-quiz {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
}
.lead-quiz .eyebrow { color: #ff9c95; }
.lead-quiz h2 { color: #fff; max-width: 20em; margin: 10px auto 0; text-align: center; }
.lead-quiz-intro {
  max-width: 620px;
  margin: 18px auto 0;
  text-align: center;
  color: #c7c9de;
}

.lq-form {
  max-width: 640px;
  margin: 44px auto 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 34px 32px 28px;
}

/* Progress */
.lq-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  overflow: hidden;
}
.lq-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--red, #ef4136);
  transition: width .35s cubic-bezier(.4, 0, .2, 1);
}
.lq-count {
  margin: 12px 0 26px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8f93b3;
}

/* Steps: all visible without JS, one at a time with it */
.lq-step { border: 0; margin: 0; padding: 0; }
.lq-form.lq-js .lq-step { display: none; }
.lq-form.lq-js .lq-step.is-current { display: block; }

.lq-legend {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
  padding: 0;
  margin-bottom: 8px;
  line-height: 1.3;
}
.lq-n {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red, #ef4136);
  color: #fff;
  font-size: .85rem;
}
.lq-hint {
  margin: 0 0 20px;
  font-size: .95rem;
  color: #a9adc9;
}

/* Options */
.lq-options { display: grid; gap: 10px; margin-bottom: 24px; }
.lq-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s;
}
.lq-option:hover { border-color: rgba(255, 255, 255, 0.34); transform: translateY(-1px); }
.lq-option input { margin-top: 3px; accent-color: var(--red, #ef4136); flex-shrink: 0; }
.lq-option:has(input:checked) {
  border-color: var(--red, #ef4136);
  background: rgba(239, 65, 54, 0.14);
}

/* Text input */
.lq-input {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  margin-bottom: 24px;
}
.lq-input::placeholder { color: #7d81a1; }
.lq-input:focus {
  outline: none;
  border-color: var(--red, #ef4136);
  box-shadow: 0 0 0 3px rgba(239, 65, 54, 0.22);
}

/* Contact grid */
.lq-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-bottom: 20px;
}
@media (max-width: 560px) { .lq-fields { grid-template-columns: 1fr; } }
.lq-fields label { display: grid; gap: 6px; }
.lq-fields label span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8f93b3;
}
.lq-fields input {
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}
.lq-fields input:focus {
  outline: none;
  border-color: var(--red, #ef4136);
  box-shadow: 0 0 0 3px rgba(239, 65, 54, 0.22);
}
.lq-wide { grid-column: 1 / -1; }

/* Checkboxes */
.lq-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .92rem;
  color: #c7c9de;
  margin-bottom: 14px;
  cursor: pointer;
}
.lq-check input { margin-top: 3px; accent-color: var(--red, #ef4136); flex-shrink: 0; }
.lq-consent { color: #a9adc9; font-size: .86rem; }

/* Nav */
.lq-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.lq-back {
  background: none;
  border: 0;
  padding: 8px 0;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: #8f93b3;
  cursor: pointer;
}
.lq-back:hover { color: #fff; }
.lq-submit { margin-left: auto; }

.lq-fine {
  margin: 18px 0 0;
  font-size: .8rem;
  color: #7d81a1;
}
.lq-fine a { color: #c7c9de; text-decoration: underline; }

/* Success state */
.lq-done {
  max-width: 640px;
  margin: 44px auto 0;
  padding: 38px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--red, #ef4136);
  border-radius: 16px;
}
.lq-done h3 { color: #fff; margin-bottom: 12px; }
.lq-done p { color: #c7c9de; margin: 0; }
