/* ── QUIZ PAGE ── */
.quiz-page { padding-top: 88px; }

.quiz-hero {
  padding: 72px 60px 40px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
  border-bottom: 1px solid rgba(200, 168, 75, 0.1);
}
.quiz-hero .inner { max-width: 720px; margin: 0 auto; text-align: center; }
.quiz-hero .calc-home-btn {
  display: inline-block;
  margin-bottom: 24px;
  padding: 12px 24px;
  font-size: 0.75rem;
}
.quiz-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: 1px;
  line-height: 1.05;
  margin-bottom: 14px;
}
.quiz-hero h1 .accent { color: var(--gold); }
.quiz-hero-lead {
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 20px;
}
.quiz-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  font-size: 0.75rem;
  color: rgba(200, 168, 75, 0.75);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.quiz-section {
  padding: 48px 24px 80px;
}
.quiz-section .inner { max-width: 640px; margin: 0 auto; }

.quiz-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 28px 26px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.quiz-progress-wrap { margin-bottom: 22px; }
.quiz-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--grey);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.quiz-progress-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), #e0c878);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.quiz-panel { display: none; animation: quizFade 0.35s ease; }
.quiz-panel.is-active { display: block; }

.quiz-btn-dark {
  background: #000 !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #ececec !important;
}
.quiz-btn-dark:hover {
  background: #0d0d0d !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

.quiz-step { display: none; animation: quizFade 0.35s ease; }
.quiz-step.is-active { display: block; }
@keyframes quizFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.5px;
  color: #f2f2f2;
  margin: 0 0 6px;
}
.quiz-step-sub {
  font-size: 0.84rem;
  color: var(--grey);
  line-height: 1.55;
  margin: 0 0 22px;
}

.quiz-fields { display: flex; flex-direction: column; gap: 16px; }
.quiz-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quiz-field { display: flex; flex-direction: column; gap: 6px; }
.quiz-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #ccc;
  letter-spacing: 0.2px;
}
.quiz-field input,
.quiz-field select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #f5f5f5;
  font-family: inherit;
  width: 100%;
}
.quiz-field input:focus,
.quiz-field select:focus {
  outline: none;
  border-color: rgba(200, 168, 75, 0.55);
  box-shadow: 0 0 0 2px rgba(200, 168, 75, 0.12);
}
.quiz-field select option { background: #1a1a1a; color: #fff; }

.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(255, 255, 255, 0.02);
}
.quiz-option:hover { border-color: rgba(200, 168, 75, 0.35); }
.quiz-option.is-selected {
  border-color: var(--gold);
  background: rgba(200, 168, 75, 0.08);
}
.quiz-option input {
  margin-top: 3px;
  accent-color: var(--gold);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.quiz-option-body strong {
  display: block;
  font-size: 0.9rem;
  color: #f0f0f0;
  margin-bottom: 3px;
}
.quiz-option-body span {
  font-size: 0.78rem;
  color: var(--grey);
  line-height: 1.45;
}

.quiz-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #f5f5f5;
  font-family: inherit;
  width: 100%;
  min-height: 100px;
  resize: vertical;
}
.quiz-field textarea:focus {
  outline: none;
  border-color: rgba(200, 168, 75, 0.55);
  box-shadow: 0 0 0 2px rgba(200, 168, 75, 0.12);
}
.quiz-field-hint {
  margin: 6px 0 0;
  font-size: 0.74rem;
  color: var(--grey);
  line-height: 1.45;
}
.quiz-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: #ccc;
  line-height: 1.45;
  cursor: pointer;
}
.quiz-check input {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.quiz-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.quiz-nav .btn-secondary { flex: 1; min-width: 120px; text-align: center; }
.quiz-nav .btn-primary { flex: 2; min-width: 160px; text-align: center; justify-content: center; }
.quiz-error {
  width: 100%;
  font-size: 0.8rem;
  color: #e88;
  margin-top: 4px;
}

/* ── RESULTS ── */
.quiz-result-panel { padding-top: 4px; }

.quiz-result-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200, 168, 75, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.quiz-result-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: #f5f5f5;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  line-height: 1.1;
}
.quiz-result-type {
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}
.quiz-result-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1;
}
.quiz-result-price small {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: var(--grey);
  font-weight: 400;
  display: block;
  margin-top: 6px;
}
.quiz-result-desc {
  font-size: 0.88rem;
  color: #bbb;
  line-height: 1.65;
  margin-bottom: 18px;
}

.quiz-profile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.quiz-profile-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 12px 10px;
  text-align: center;
}
.quiz-profile-item .val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1;
}
.quiz-profile-item .lbl {
  font-size: 0.65rem;
  color: var(--grey);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quiz-reasons {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.quiz-reasons li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 0.84rem;
  color: #c8c8c8;
  line-height: 1.55;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.quiz-reasons li:last-child { border-bottom: none; }
.quiz-reasons li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.quiz-alt {
  margin-top: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(200, 168, 75, 0.25);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.55;
}
.quiz-alt strong { color: #ddd; }

.quiz-contact {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.quiz-contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin: 0 0 8px;
}
.quiz-contact-sub {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.55;
  margin: 0 0 18px;
}
.quiz-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quiz-contact-form .form-submit {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.quiz-contact-form textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  color: #f5f5f5;
  font-family: inherit;
  width: 100%;
  min-height: 88px;
  resize: vertical;
}
.quiz-contact-form textarea:focus {
  outline: none;
  border-color: rgba(200, 168, 75, 0.55);
  box-shadow: 0 0 0 2px rgba(200, 168, 75, 0.12);
}
.quiz-contact-form .form-error,
.quiz-contact-form .form-success {
  text-align: center;
  font-size: 0.8rem;
  margin: 0;
}
.quiz-contact-form .form-error { color: #e88; }
.quiz-contact-form .form-success { color: #8d8; }

.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.quiz-link-pachete {
  font-size: 0.78rem;
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.quiz-link-pachete:hover { color: var(--gold); }
.quiz-disclaimer {
  margin-top: 20px;
  font-size: 0.72rem;
  color: rgba(138, 138, 138, 0.95);
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 600px) {
  .quiz-hero { padding: 64px 20px 32px; }
  .quiz-section { padding: 32px 16px 64px; }
  .quiz-card { padding: 22px 18px 20px; }
  .quiz-row2 { grid-template-columns: 1fr; }
  .quiz-profile { grid-template-columns: 1fr; }
  .quiz-nav { flex-direction: column-reverse; }
  .quiz-nav .btn-primary,
  .quiz-nav .btn-secondary { flex: none; width: 100%; }
  .quiz-field input,
  .quiz-field select { font-size: 16px; }
}
