/* ============================================================
   QUIZ / ESTIMATE CALCULATOR SECTION
   ============================================================ */

.quiz {
  background: var(--c-bg-section);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 40px,
      rgba(31, 41, 51, 0.028) 40px,
      rgba(31, 41, 51, 0.028) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent, transparent 40px,
      rgba(31, 41, 51, 0.028) 40px,
      rgba(31, 41, 51, 0.028) 41px
    );
  padding: var(--section-py-sm) 0;
}

.quiz__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}


/* ── Section Header ── */

.quiz__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.quiz__header-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.quiz__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quiz__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--c-amber);
  border-radius: 2px;
  flex-shrink: 0;
}

.quiz__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--c-graphite);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.quiz__subtitle {
  font-size: var(--text-md);
  color: var(--c-steel);
  line-height: 1.6;
  max-width: 520px;
}


/* ════════════════════════════════════════
   QUIZ CARD
   ════════════════════════════════════════ */

.quiz__card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 8px 28px rgba(15, 23, 42, 0.08),
    0 20px 48px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}


/* ── Inner ── */

.quiz__inner {
  min-width: 0;
  transition: opacity 0.25s ease;
}

.quiz__inner.is-hidden {
  display: none;
}


/* ── Visual Panel ── */

.quiz__visual {
  display: none;
}


/* ════════════════════════════════════════
   PROGRESS SYSTEM — Technical / Segmented
   ════════════════════════════════════════ */

/* Top fill bar — sharp, thin, engineering */
.quiz__progress-track {
  height: 3px;
  background: rgba(15, 23, 42, 0.07);
}

.quiz__progress-fill {
  height: 100%;
  background: var(--c-amber);
  width: 20%;
  /* No border-radius — sharp industrial edge */
  border-radius: 0;
  transition: width 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}


/* ── Progress Meta (label + segment dots) ── */

.quiz__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.quiz__progress-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(30, 41, 59, 0.55);
  letter-spacing: 0.01em;
}

.quiz__step-current {
  font-weight: 700;
  color: var(--c-amber);
}

/* Segmented engineering dots → rectangular pills */
.quiz__dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.quiz__dot {
  display: block;
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.12);
  transition:
    background 0.3s ease,
    width 0.3s ease;
  flex-shrink: 0;
}

.quiz__dot.is-done {
  background: rgba(217, 119, 6, 0.40);
}

.quiz__dot.is-current {
  background: var(--c-amber);
  width: 28px;
}


/* ════════════════════════════════════════
   STEPS BODY
   ════════════════════════════════════════ */

.quiz__body {
  padding: var(--sp-5) var(--sp-6) var(--sp-4);
  /* Fixed min-height prevents layout jumping across all steps */
  min-height: 280px;
  display: flex;
  flex-direction: column;
}


/* ── Step transitions ── */

@keyframes quiz-step-enter {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ── Individual Step ── */

.quiz__step {
  display: none;
  flex: 1;
}

.quiz__step.is-active {
  display: flex;
  flex-direction: column;
  animation: quiz-step-enter 0.20s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .quiz__step.is-active {
    animation: none;
  }
}


/* ── Question ── */

.quiz__question {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--c-graphite);
  line-height: 1.3;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}


/* ── Options Grid ── */

.quiz__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
}


/* ════════════════════════════════════════
   OPTION CARD — Industrial selection tile
   ════════════════════════════════════════ */

.quiz__option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px var(--sp-4);
  background: #FCFCFA;
  border: 1.5px solid rgba(15, 23, 42, 0.09);
  border-left: 3px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-base);
  position: relative;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.quiz__option:hover {
  background: #F8F7F5;
  border-color: rgba(217, 119, 6, 0.28);
  border-left-color: rgba(217, 119, 6, 0.50);
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Selected — confidently locked-in industrial state */
.quiz__option.is-selected {
  background: rgba(217, 119, 6, 0.07);
  border-color: rgba(217, 119, 6, 0.62);
  border-left-color: var(--c-amber);
  border-left-width: 3px;
  transform: translateY(-2px);
  box-shadow:
    0 4px 16px rgba(217, 119, 6, 0.14),
    0 2px 6px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.80),
    inset 0 0 0 1px rgba(217, 119, 6, 0.08);
}


/* ── Option Icon ── */

.quiz__option-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: rgba(100, 116, 139, 0.70);
  transition: color 0.25s ease;
  pointer-events: none;
}

.quiz__option-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: 2;
}

.quiz__option:hover .quiz__option-icon {
  color: rgba(217, 119, 6, 0.70);
}

.quiz__option.is-selected .quiz__option-icon {
  color: var(--c-amber);
}


/* ── Option Content ── */

.quiz__option-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  pointer-events: none;
}

.quiz__option-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-graphite);
  line-height: 1.25;
}

.quiz__option-hint {
  font-size: var(--text-xs);
  color: rgba(30, 41, 59, 0.52);
  line-height: 1.3;
}

/* Selected checkmark indicator */
.quiz__option.is-selected::after {
  content: '';
  position: absolute;
  top: 50%;
  right: var(--sp-4);
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-amber);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}


/* ════════════════════════════════════════
   CONTACT FORM (step 5)
   ════════════════════════════════════════ */

.quiz__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.quiz__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.quiz__field-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-graphite);
}

.quiz__input {
  width: 100%;
  padding: 13px var(--sp-5);
  font-family: var(--font-base);
  font-size: var(--text-base);
  color: var(--c-graphite);
  background: #FCFCFA;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.quiz__input::placeholder {
  color: rgba(30, 41, 59, 0.38);
  font-weight: 400;
}

.quiz__input:focus {
  border-color: var(--c-amber);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.09);
  background: #fff;
}

/* ── Field error state ── */

/*
  position: relative on the field wrapper —
  lets the error element be positioned inside the input visually.
*/
.quiz__field {
  position: relative;
}

.quiz__input.is-error {
  border-color: rgba(239, 68, 68, 0.65);
  background: rgba(239, 68, 68, 0.035);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/*
  Error floats inside the bottom of the input — no layout shift.
  position: absolute takes it out of flow, field height unchanged.
*/
.quiz__field-error {
  display: none;
  position: absolute;
  bottom: 8px;
  left: 15px;
  font-size: 11px;
  color: rgba(220, 38, 38, 0.75);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.quiz__field-error.is-visible {
  display: block;
}


.quiz__privacy {
  font-size: var(--text-xs);
  color: rgba(30, 41, 59, 0.45);
  line-height: 1.5;
}


/* ════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════ */

.quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-6);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  gap: var(--sp-3);
  margin-top: auto;
}

.quiz__btn-back {
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(30, 41, 59, 0.50);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2) 0;
  transition: color 0.25s ease;
  visibility: hidden;
  letter-spacing: 0.01em;
}

.quiz__btn-back:hover {
  color: var(--c-graphite);
}

.quiz__btn-back.is-visible {
  visibility: visible;
}

.quiz__btn-next,
.quiz__btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--c-white);
  background: linear-gradient(160deg, #F9A825 0%, #D97706 100%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 2px 6px rgba(217, 119, 6, 0.22),
    0 1px 2px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.quiz__btn-next:hover:not(:disabled),
.quiz__btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px rgba(217, 119, 6, 0.28),
    0 2px 6px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.quiz__btn-next:disabled,
.quiz__btn-submit:disabled {
  opacity: 0.38;
  cursor: default;
}

.quiz__btn-next.is-hidden,
.quiz__btn-submit.is-hidden {
  display: none;
}


/* ════════════════════════════════════════
   SUCCESS STATE
   ════════════════════════════════════════ */

.quiz__success {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--c-white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-12) var(--sp-8);
  gap: var(--sp-4);
  border-radius: var(--radius-xl);
}

.quiz__success.is-visible {
  display: flex;
}

.quiz__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-amber);
}

.quiz__success-icon svg {
  width: 26px;
  height: 26px;
}

.quiz__success-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-graphite);
  line-height: 1.2;
}

.quiz__success-text {
  font-size: var(--text-base);
  color: var(--c-steel);
  line-height: 1.6;
  max-width: 360px;
}


/* ── Helper text — contextual hint below question ── */

.quiz__helper {
  /* Hidden by default — shown only on mobile via media query */
  display: none;
}


/* ── Trust Strip ── */

.quiz__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-5) var(--sp-8);
  margin-top: var(--sp-6);
}

.quiz__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-steel);
}

.quiz__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--c-amber);
  flex-shrink: 0;
}


/* ════════════════════════════════════════
   MOBILE (max 767px)
   Premium fixed-height quiz layout.
   Philosophy: card = stable engineering frame.
   Body scrolls if needed. Nav always anchored.
   ════════════════════════════════════════ */

@media (max-width: 767px) {

  /* Section header: tighter spacing */
  .quiz__header {
    margin-bottom: var(--sp-8);
  }

  /* ── Fixed card — single source of truth for height ── */
  /*
    height: 500px eliminates ALL step height jumping.
    display: flex overrides base display: grid (1-col).
    width: 100% + box-sizing prevents horizontal overflow.
  */
  .quiz__card {
    /*
      Step 1: 5 options with wrapping labels/hints ≈ 422px content.
      600px = progress(52) + body(482) + nav(66). Fits without scroll.
      Steps 2–5 shorter — body flex + justify-content: center fills space.
    */
    height: 600px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
  }

  /* Inner fills the card, becomes flex column spine */
  .quiz__inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;        /* allow flex child to shrink */
    overflow: hidden;
  }

  /* ── Progress track: slightly bolder bar ── */
  .quiz__progress-track {
    height: 4px;
    flex-shrink: 0;
  }

  /* ── Progress meta: compact premium zone ── */
  .quiz__progress-meta {
    flex-shrink: 0;
    padding: 12px 20px 11px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }

  .quiz__progress-label {
    font-size: 12px;
    letter-spacing: 0.01em;
  }

  /* Slightly wider segment dots — easier to read */
  .quiz__dot {
    width: 18px;
    height: 4px;
  }

  .quiz__dot.is-current {
    width: 30px;
  }

  /* ── Body: flex-1 fills remaining space, scrollable ── */
  /*
    min-height: 0 overrides base min-height: 280px —
    card height controls total size, not body.
    overflow-y: auto: scroll within body if step overflows.
  */
  .quiz__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 20px 10px;
    display: flex;
    flex-direction: column;
  }

  /* ── Active step: fills body, content top-aligned default ── */
  .quiz__step.is-active {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /*
    Steps 2–5: top-aligned with fixed padding-top.
    24px offset = comfortable top breathing room without excessive empty space.
    Applies to step 5 (form) too — consistent vertical rhythm across all steps.
  */
  .quiz__step[data-step="2"].is-active,
  .quiz__step[data-step="3"].is-active,
  .quiz__step[data-step="4"].is-active,
  .quiz__step[data-step="5"].is-active {
    justify-content: flex-start;
    padding-top: 24px;
  }

  /* ── Helper text: contextual engineering hint ── */
  /*
    Secondary typography — part of premium configurator language.
    margin-bottom bridges to options maintaining question→hint→options rhythm.
    flex-shrink: 0 preserves height in flex column.
  */
  .quiz__helper {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
    color: rgba(30, 41, 59, 0.44);
    line-height: 1.56;
    margin-top: -2px;   /* tighter from question — unified text block */
    margin-bottom: 16px;
    flex-shrink: 0;
  }

  /* ── Question: stronger industrial hierarchy ── */
  .quiz__question {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.26;
    letter-spacing: -0.012em;
    margin-bottom: 14px;
    flex-shrink: 0;
  }

  /*
    All options: single column on mobile.
    Overrides the 600px+ 2-col/3-col breakpoint for this range.
    1-col = full-width cards, no overflow, touch-friendly.
  */
  .quiz__options,
  .quiz__options--2col,
  .quiz__options--3col {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* ── Option cards: tactile, heavy, industrial B2B ── */
  /*
    padding-right: 32px reserves space for the absolute checkmark
    (right: var(--sp-4) = 16px wide + 8px buffer + 8px gap = 32px).
    Without this the checkmark overlaps right-side text.
  */
  .quiz__option {
    padding: 13px 32px 13px 14px;
    gap: 10px;
    border-radius: 10px;
  }

  /*
    flex: 1 + min-width: 0 — content grows to fill all available
    space between icon and the reserved right checkmark zone.
    Prevents label truncation on narrow mobile screens.
  */
  .quiz__option-content {
    flex: 1;
    min-width: 0;
  }

  /* No translateY on touch — prevents jitter on tap */
  .quiz__option:hover {
    transform: none;
  }

  /* ── Selected: confident, stronger visual lock-in ── */
  .quiz__option.is-selected {
    transform: none;
    background: rgba(217, 119, 6, 0.09);
    border-color: rgba(217, 119, 6, 0.72);
    box-shadow:
      0 3px 14px rgba(217, 119, 6, 0.20),
      0 1px 4px rgba(15, 23, 42, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.85),
      inset 0 0 0 1px rgba(217, 119, 6, 0.10);
  }

  /* ── Option icon: larger touch anchor ── */
  .quiz__option-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  /* ── Option typography: clear hierarchy, wrapping labels ── */
  .quiz__option-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.22;
    white-space: normal;
    word-break: break-word;
  }

  .quiz__option-hint {
    font-size: 11px;
    line-height: 1.3;
    color: rgba(30, 41, 59, 0.46);
    white-space: normal;
  }

  /* ── Nav: sticky bottom action zone ── */
  /*
    flex-shrink: 0 + margin-top: 0 = always anchored at bottom.
    Frosted background separates action zone from scrollable content.
  */
  .quiz__nav {
    flex-shrink: 0;
    margin-top: 0;
    padding: 13px 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    background: rgba(252, 252, 250, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    gap: var(--sp-3);
  }

  /* Next / Submit: flex-1 fills space after back button */
  .quiz__btn-next,
  .quiz__btn-submit {
    flex: 1;
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 8px;
  }

  /* Back: compact, doesn't compete with primary CTA */
  .quiz__btn-back {
    font-size: 13px;
    padding: 8px 10px;
    flex-shrink: 0;
  }

  /* ── Form inputs: comfortable touch targets ── */
  .quiz__input {
    padding: 12px 16px;
    font-size: 15px;
  }

  /* ── Trust strip ── */
  .quiz__trust {
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ── Reveal ── */

.quiz__header[data-reveal],
.quiz__card[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.quiz__header[data-reveal].is-visible,
.quiz__card[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .quiz__header[data-reveal],
  .quiz__card[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ── Breakpoint: 600px+ (2-col options) ── */

@media (min-width: 600px) {
  .quiz__options--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz__options--3col {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ── Tablet (768px+) ── */

@media (min-width: 768px) {
  .quiz {
    padding: var(--section-py-md) 0;
  }

  .quiz__header {
    margin-bottom: var(--sp-12);
  }

  .quiz__progress-meta {
    padding: var(--sp-4) var(--sp-8);
  }

  .quiz__body {
    padding: var(--sp-6) var(--sp-8);
    min-height: 340px;
  }

  .quiz__nav {
    padding: var(--sp-4) var(--sp-8);
  }
}


/* ════════════════════════════════════════
   Desktop (1024px+): split layout
   ════════════════════════════════════════ */

@media (min-width: 1024px) {
  .quiz {
    padding: var(--section-py-lg) 0;
  }

  .quiz__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--sp-12);
  }

  /* Widen card for split layout */
  .quiz__card {
    max-width: 1040px;
    grid-template-columns: 1fr 230px;
    align-items: stretch;
  }

  /* Visual panel — slightly lighter, more balanced */
  .quiz__visual {
    display: flex;
    flex-direction: column;
    /* Slightly lighter, less dominant than before */
    background: linear-gradient(160deg, #1e2d3d 0%, #243344 55%, #1b2838 100%);
    position: relative;
    overflow: hidden;
  }

  /* Softer blueprint grid — supports form, doesn't compete */
  .quiz__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(
        0deg,
        transparent, transparent 28px,
        rgba(255, 255, 255, 0.009) 28px,
        rgba(255, 255, 255, 0.009) 29px
      ),
      repeating-linear-gradient(
        90deg,
        transparent, transparent 28px,
        rgba(255, 255, 255, 0.009) 28px,
        rgba(255, 255, 255, 0.009) 29px
      );
    pointer-events: none;
  }

  .quiz__visual-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--sp-6) var(--sp-5);
    gap: var(--sp-4);
  }

  /* Brand section */
  .quiz__visual-brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
  }

  .quiz__visual-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--c-amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: var(--c-white);
    letter-spacing: 0.02em;
    flex-shrink: 0;
  }

  .quiz__visual-brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .quiz__visual-company {
    font-size: var(--text-sm);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .quiz__visual-tagline {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.04em;
  }

  /* Schematic drawing */
  .quiz__visual-schematic {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-2) 0;
  }

  .quiz__visual-schematic svg {
    width: 100%;
    max-width: 136px;
    height: auto;
    display: block;
    opacity: 0.55;
  }

  /* Stats row */
  .quiz__visual-stats {
    display: flex;
    justify-content: space-between;
    padding-top: var(--sp-5);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .quiz__visual-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .quiz__visual-stat-num {
    font-size: var(--text-xl);
    font-weight: 800;
    /* Restrained amber — panel supports, not competes */
    color: rgba(245, 158, 11, 0.65);
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .quiz__visual-stat-text {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.3;
  }

  .quiz__body {
    padding: var(--sp-6) var(--sp-7) var(--sp-4);
    min-height: 320px;
  }

  .quiz__question {
    margin-bottom: var(--sp-5);
  }
}


/* ── Large Desktop (1280px+) ── */

@media (min-width: 1280px) {
  .quiz__body {
    padding: var(--sp-6) var(--sp-10) var(--sp-4);
  }

  .quiz__progress-meta {
    padding: var(--sp-4) var(--sp-10);
  }

  .quiz__nav {
    padding: var(--sp-3) var(--sp-10);
  }
}
