/* Quiz-specific styles (keeps existing brand colors, fonts, and buttons) */

.quiz-section{
  padding: 30px 16px 80px 16px;
}

.quiz-shell{
  max-width: 980px;
  margin: -30px auto 0 auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

.quiz-topbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: linear-gradient(to right, rgba(245,243,238,0.9), rgba(232,239,234,0.9));
}

.quiz-title{
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: #2E2E2E;
}

.quiz-meta{
  margin: 4px 0 0 0;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: #6C7A6E;
  font-weight: 500;
}

.quiz-progress{
  width: 260px;
  max-width: 40vw;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

.quiz-progress-bar{
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 220ms ease;
}

.quiz-card{
  padding: 22px;
}

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

.quiz-qnum{
  margin: 0 0 8px 0;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6C7A6E;
  font-weight: 600;
}

.quiz-qtext{
  margin: 0 0 16px 0;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  line-height: 34px;
  font-weight: 300;
  color: #2E2E2E;
}

.quiz-options{
  display: grid;
  gap: 12px;
}

.quiz-option{
  text-align: left;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: transform 120ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quiz-option:hover{
  transform: translateY(-1px);
  border-color: rgba(197,106,74,0.65);
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
}

.quiz-option.is-selected{
  border: 2px solid var(--accent);
  background: rgba(197,106,74,0.05);
}

.quiz-foot{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #ffffff;
}

.quiz-nav{
  background: transparent;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #2E2E2E;
}

.quiz-nav[disabled]{
  opacity: 0.45;
  cursor: not-allowed;
}

.quiz-stepcount{
  font-size: 13px;
  color: #6C7A6E;
  font-weight: 500;
}

/* Hero typography */
.quiz-kicker{
  margin: 0 0 8px 0;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6C7A6E;
  font-weight: 600;
}

.quiz-h1{
  margin: 0 0 10px 0;
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  line-height: 1.15;
  color: #2E2E2E;
  font-weight: 500;
}

.quiz-tagline{
  margin: 0 0 10px 0;
  font-size: 18px;
  color: #555;
  font-weight: 400;
}

.quiz-subtext{
  margin: 0 0 18px 0;
  font-size: 16px;
  line-height: 26px;
  color: #555;
  font-weight: 300;
  max-width: 560px;
}

.quiz-hero-cta{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}

.quiz-secondary{
  font-size: 14px;
  font-weight: 500;
  color: #2E2E2E;
  text-decoration: none;
  border-bottom: 1px solid rgba(46,46,46,0.35);
}

.quiz-secondary:hover{ opacity: 0.85; }

.quiz-disclaimer{
  margin: 10px 0 0 0;
  font-size: 12px;
  color: #6C7A6E;
}

/* Result */
.quiz-result-kicker{
  margin: 0 0 8px 0;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6C7A6E;
  font-weight: 600;
}

.quiz-result-title{
  margin: 0 0 14px 0;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 36px;
  font-weight: 400;
  color: #2E2E2E;
}

.quiz-score-row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: rgba(232,239,234,0.35);
}

.quiz-score-number{
  font-size: 34px;
  font-weight: 700;
  color: #2E2E2E;
}

.quiz-score-max{
  font-size: 14px;
  font-weight: 500;
  color: #6C7A6E;
  margin-left: 6px;
}

.quiz-score-badge{
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(197,106,74,0.12);
  border: 1px solid rgba(197,106,74,0.35);
  color: #2E2E2E;
  font-weight: 600;
  font-size: 13px;
}

.quiz-result-text{
  margin: 14px 0 0 0;
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
  color: #555;
}

.quiz-lead{
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.quiz-lead-title{
  margin: 0 0 6px 0;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: #2E2E2E;
}

.quiz-lead-text{
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 22px;
  color: #555;
  font-weight: 300;
}

.quiz-form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-actions{
  margin-top: 12px;
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

.quiz-link{
  background: transparent;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  color: #2E2E2E;
  font-weight: 500;
  border-bottom: 1px solid rgba(46,46,46,0.35);
}

.quiz-link:hover{ opacity: 0.85; }

.quiz-tiny{
  margin: 10px 0 0 0;
  font-size: 12px;
}

.quiz-tiny-success{ color: #2E6B3A; }
.quiz-tiny-error{ color: #9B2C2C; }






.quiz-main-cta-small{
  padding: 14px 36px;
  font-size: 17px;
}


/* Responsive */
@media (max-width: 900px){
  .quiz-h1{ font-size: 38px; }
  .quiz-topbar{ flex-direction: column; align-items: flex-start; }
  .quiz-progress{ width: 100%; max-width: 100%; }
}

@media (max-width: 680px){
  .quiz-card{ padding: 18px; }
  .quiz-qtext{ font-size: 22px; line-height: 30px; }
  .quiz-form-grid{ grid-template-columns: 1fr; }
}
