/* Quiz-specific styles (keeps existing brand colors, fonts, and buttons) */
.quiz-section {
  margin-top: -50px;
  margin-bottom: 20px;
  padding-top: 0px;
  position: relative;
  z-index: 3;
}

.quiz-shell{
  width: 92%;
  max-width: 820px;
  margin: 20px 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: #E0E3D7;
}

.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 {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  padding: 20px 32px;
}



.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; }

/* 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; }
}

/* ===============================
   CONVERSION SUPPORT SECTIONS
   (uses existing brand palette)
================================ */

.quiz-value-section{
  padding: 0px 20px;
  background: #F1F3F1;
  text-align: center;
}

.quiz-value-wrap{
  max-width: 1100px;
  margin: auto;
}

.quiz-value-title{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  line-height: 44px;
  font-weight: 500;
  color: #5E6D5F;
  margin: 0 0 14px 0;
}

.quiz-value-sub{
  font-size: 20px;
  line-height: 28px;
  color: #000000;
  max-width: 760px;
  margin: 0 auto 26px auto;
  font-weight: 300;
}

.quiz-image-row{
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.quiz-image-row img{
  width: 300px;
  max-width: 92vw;
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.10);
}

.quiz-image-row-single img{
  width: 520px;
}

.quiz-discover-section{
  padding: 0px 20px 30px 20px;
  background: #F1F3F1;
  text-align: center;
}

.quiz-discover-wrap{
  max-width: 1100px;
  margin: auto;
}

.quiz-benefit-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  text-align: left;
  margin-top: 30px;
}

.quiz-benefit-item{
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 18px 18px;
}

.quiz-benefit-item h3{
  margin: 0 0 10px 0;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: #5E6D5F;
}

.quiz-benefit-item p{
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: #6C7A6E;
  font-weight: 300;
}

.quiz-cta-row{
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.quiz-main-cta-small{
  padding: 14px 36px;
  font-size: 17px;
}

.quiz-cta-note{
  font-size: 13px;
  font-weight: 700;
  color: #6C7A6E;
}

.quiz-value-section-bottom{
  padding-top: 80px;
}

/* Responsive */
@media (max-width: 768px){
  .quiz-value-title{ font-size: 30px; line-height: 38px; }
  .quiz-value-sub{ font-size: 20px; line-height: 26px; }
  .quiz-image-row-single img{ width: 92vw; }
}
