/* === QUIZ === */
.quiz-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 4rem;
  background: var(--bg);
}

.quiz-container {
  width: 100%;
  max-width: 680px;
}

.quiz-progress {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 3rem;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 16%;
}

.quiz-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-step h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option {
  cursor: pointer;
}

.quiz-option input[type="radio"] {
  display: none;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fff;
  transition: all 0.2s;
}

.option-card:hover {
  border-color: var(--text);
}

.quiz-option input:checked + .option-card {
  border-color: var(--text);
  background: var(--warm-light);
}

.option-icon {
  font-size: 1.4rem;
  min-width: 2rem;
  text-align: center;
}

.option-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.option-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.btn-next {
  display: inline-block;
  background: var(--text);
  color: #fff;
  padding: 0.85rem 2rem;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: opacity 0.2s;
  margin-right: 1rem;
}
.btn-next:hover { opacity: 0.8; }

.btn-back {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-sans);
  margin-top: 0.5rem;
  transition: color 0.2s;
}
.btn-back:hover { color: var(--text); }

/* === FORM === */
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--text);
}

/* === SUCCESS === */
.quiz-success {
  text-align: center;
  padding: 3rem 0;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.quiz-success h2 {
  margin-bottom: 1rem;
}

.quiz-success p {
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.7;
}
