/* ===================== QUIZ ===================== */
.quiz {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: var(--section-py-sm) 0;
}

.quiz__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.quiz__label { margin-bottom: 12px; }

.quiz__title { margin-bottom: 12px; }

.quiz__sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

/* Progress bar */
.quiz__progress-wrap {
  max-width: 560px;
  margin: 0 auto 40px;
}

.quiz__progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.quiz__progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.quiz__progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width .4s ease;
}

/* Steps */
.quiz__step {
  display: none;
  max-width: 560px;
  margin: 0 auto;
}

.quiz__step.is-active { display: block; }

.quiz__question {
  font-family: var(--font-tight);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  text-align: left;
  font-family: var(--font-sans);
  width: 100%;
}

.quiz__option:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.quiz__option.is-selected {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.quiz__option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: background .2s ease;
}

.quiz__option.is-selected .quiz__option-icon { background: rgba(26,86,219,.12); }

.quiz__option-text {}

.quiz__option-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.quiz__option-desc {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* Result */
.quiz__result {
  display: none;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.quiz__result.is-active { display: block; }

.quiz__result-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-icon);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.quiz__result-title {
  font-family: var(--font-tight);
  font-weight: 700;
  font-size: 26px;
  color: var(--text);
  margin-bottom: 8px;
}

.quiz__result-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.quiz__result-card {
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: var(--r-card-l);
  padding: 28px;
  margin-bottom: 24px;
  text-align: left;
}

.quiz__result-plan {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.quiz__result-name {
  font-family: var(--font-tight);
  font-weight: 800;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 4px;
}

.quiz__result-country {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.quiz__result-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz__result-feat {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
}

.quiz__result-feat-check { color: var(--accent); font-weight: 700; }

.quiz__result-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz__restart {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-family: var(--font-sans);
  cursor: pointer;
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiz__restart:hover { color: var(--text); }
