/* ============================================================
   QUIZ ENGINE — Essential Idiomas
   Reusable quiz styles — extends shared.css palette
   Mobile-first · Navy/Champagne/Cream
   ============================================================ */

/* --- Layout & Container --- */
.qe-wrap {
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
}
.qe-screen {
  display: none;
  flex-direction: column;
  animation: qe-fadeIn .5s ease;
}
.qe-screen.active { display: flex; }

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

/* --- SCREEN 1: Landing --- */
.qe-landing {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 16vw, 200px) 0 clamp(60px, 10vw, 100px);
  flex: 1;
}
.qe-landing::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.qe-landing-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--section-px);
  position: relative;
  z-index: 1;
  text-align: center;
}
.qe-landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 40px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--champagne-light);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.qe-landing h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.qe-landing h1 em {
  font-style: italic;
  color: var(--champagne);
}
.qe-landing-desc {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.qe-landing-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 48px);
  margin-bottom: 48px;
}
.qe-landing-stat {
  text-align: center;
}
.qe-landing-stat-val {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--champagne);
  line-height: 1;
  margin-bottom: 4px;
}
.qe-landing-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.qe-landing .btn {
  font-size: 1.05rem;
  padding: 20px 48px;
}
.qe-landing-trust {
  margin-top: 32px;
  font-size: .82rem;
  color: rgba(255,255,255,.3);
}

/* --- SCREEN 2: Questions --- */
.qe-questions {
  background: var(--cream);
  flex: 1;
  padding-bottom: 60px;
}

/* Progress bar */
.qe-progress {
  position: sticky;
  top: 88px;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--cream-mid);
  padding: 16px var(--section-px);
}
.qe-progress-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.qe-progress-bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--cream-mid);
  border-radius: 3px;
  overflow: hidden;
}
.qe-progress-bar {
  height: 100%;
  background: var(--champagne);
  border-radius: 3px;
  transition: width .4s cubic-bezier(.25,.46,.45,.94);
  width: 0;
}
.qe-progress-text {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.qe-progress-level {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(200,169,126,.12);
  color: var(--champagne);
  letter-spacing: .04em;
  white-space: nowrap;
}

/* Question card */
.qe-question-card {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 0 var(--section-px);
  animation: qe-slideIn .4s ease;
}
@keyframes qe-slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.qe-question-prompt {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.qe-question-context {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* MCQ options */
.qe-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qe-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 1px 4px rgba(15,25,35,.03);
  -webkit-tap-highlight-color: transparent;
}
.qe-option:hover {
  border-color: rgba(200,169,126,.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(15,25,35,.06);
}
.qe-option-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: all .25s;
}
.qe-option-text {
  font-size: .95rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.qe-option.selected {
  border-color: var(--champagne);
  box-shadow: 0 8px 32px rgba(200,169,126,.15);
  transform: translateY(-2px);
}
.qe-option.selected .qe-option-letter {
  background: var(--champagne);
  color: var(--white);
}
.qe-option.correct {
  border-color: #4B783C !important;
  background: rgba(75,120,60,.04);
}
.qe-option.correct .qe-option-letter {
  background: #4B783C !important;
  color: #fff !important;
}
.qe-option.wrong {
  border-color: #D4736A !important;
  opacity: .5;
}
.qe-option.wrong .qe-option-letter {
  background: #D4736A !important;
  color: #fff !important;
}
.qe-option.disabled { pointer-events: none; }

/* Fill-in-the-blank */
.qe-fill-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 4px rgba(15,25,35,.03);
}
.qe-fill-sentence {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.qe-fill-blank {
  display: inline-block;
  min-width: 120px;
  border-bottom: 2px dashed var(--champagne);
  padding: 2px 4px;
  margin: 0 4px;
  color: var(--champagne);
  font-weight: 600;
}
.qe-fill-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--cream-mid);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--cream);
  outline: none;
  transition: border-color .2s;
}
.qe-fill-input:focus {
  border-color: var(--champagne);
}
.qe-fill-input.correct {
  border-color: #4B783C;
  background: rgba(75,120,60,.04);
}
.qe-fill-input.wrong {
  border-color: #D4736A;
  background: rgba(212,115,106,.04);
}

/* Video question */
.qe-video-wrap {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15,25,35,.03);
  margin-bottom: 20px;
}
.qe-video-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: block;
}
.qe-video-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--navy);
}
.qe-video-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  transition: background .2s;
}
.qe-video-btn:hover { background: rgba(255,255,255,.12); }
.qe-video-btn svg { width: 20px; height: 20px; }
.qe-video-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
}
.qe-video-progress-bar {
  height: 100%;
  background: var(--champagne);
  border-radius: 2px;
  width: 0;
  transition: width .15s linear;
}
.qe-transcript {
  padding: 16px 20px;
  border-top: 1px solid var(--cream-mid);
}
.qe-transcript-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--cream-mid);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 10px;
}
.qe-transcript-toggle:hover { background: var(--cream-mid); }
.qe-transcript-text {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.qe-transcript-text[hidden] { display: none; }

/* Audio question */
.qe-audio-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(15,25,35,.03);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.qe-audio-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: none;
  color: var(--champagne);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s;
}
.qe-audio-btn:hover { background: var(--navy-light); transform: scale(1.05); }
.qe-audio-btn svg { width: 24px; height: 24px; }
.qe-audio-info { flex: 1; }
.qe-audio-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.qe-audio-hint {
  font-size: .78rem;
  color: var(--text-muted);
}
.qe-audio-wave {
  height: 32px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
}
.qe-audio-wave span {
  width: 3px;
  border-radius: 2px;
  background: var(--champagne);
  opacity: .3;
  transition: all .15s;
}
.qe-audio-wave.playing span {
  animation: qe-wave .6s ease-in-out infinite alternate;
  opacity: .7;
}
@keyframes qe-wave {
  from { height: 4px; }
  to   { height: 24px; }
}

/* Feedback after answer */
.qe-feedback {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.6;
  animation: qe-fadeIn .3s ease;
}
.qe-feedback.correct {
  background: rgba(75,120,60,.06);
  border: 1px solid rgba(75,120,60,.15);
  color: #3D6A2E;
}
.qe-feedback.wrong {
  background: rgba(212,115,106,.06);
  border: 1px solid rgba(212,115,106,.15);
  color: #A04040;
}
.qe-feedback strong { display: block; margin-bottom: 4px; }

/* Next button */
.qe-next-wrap {
  text-align: center;
  margin-top: 28px;
}
.qe-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 60px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.qe-next-btn:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15,25,35,.2);
}
.qe-submit-fill {
  margin-top: 16px;
}

/* --- SCREEN 3: Email Capture --- */
.qe-email {
  background: var(--cream);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 14vw, 180px) var(--section-px) 60px;
}
.qe-email-card {
  max-width: 480px;
  width: 100%;
  background: var(--white);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: 0 8px 40px rgba(15,25,35,.06);
  text-align: center;
  animation: qe-fadeIn .5s ease;
}
.qe-email-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200,169,126,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.qe-email-icon svg { width: 28px; height: 28px; color: var(--champagne); }
.qe-email-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.qe-email-card p {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.qe-email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.qe-email-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--cream-mid);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--text-primary);
  background: var(--cream);
  outline: none;
  transition: border-color .2s;
}
.qe-email-input:focus { border-color: var(--champagne); }
.qe-email-submit {
  padding: 16px;
  border-radius: 12px;
  background: var(--champagne);
  color: var(--navy);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.qe-email-submit:hover {
  background: var(--champagne-light);
  transform: translateY(-1px);
}
.qe-email-skip {
  margin-top: 12px;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.qe-email-skip:hover { color: var(--text-secondary); }
.qe-email-privacy {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* --- SCREEN 4: Result --- */
.qe-result {
  background: var(--cream);
  flex: 1;
}
.qe-result-hero {
  background: var(--navy);
  padding: clamp(140px, 16vw, 200px) var(--section-px) clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.qe-result-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.qe-result-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

/* Score arc */
.qe-score-ring {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  position: relative;
}
.qe-score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.qe-score-ring-bg {
  fill: none;
  stroke: rgba(255,255,255,.08);
  stroke-width: 8;
}
.qe-score-ring-fill {
  fill: none;
  stroke: var(--champagne);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1.5s cubic-bezier(.25,.46,.45,.94);
}
.qe-score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.qe-score-pct {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1;
}
.qe-score-label {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-top: 4px;
}

/* CEFR badge */
.qe-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 20px;
  animation: qe-badgePop .6s ease .3s both;
}
@keyframes qe-badgePop {
  from { opacity: 0; transform: scale(.8); }
  to   { opacity: 1; transform: scale(1); }
}
.qe-level-badge.a1 { background: rgba(27,107,74,.15); color: #5DD9A0; border: 1px solid rgba(27,107,74,.25); }
.qe-level-badge.a2 { background: rgba(180,83,9,.15); color: #F4A623; border: 1px solid rgba(180,83,9,.25); }
.qe-level-badge.b1 { background: rgba(37,99,235,.15); color: #60A5FA; border: 1px solid rgba(37,99,235,.25); }
.qe-level-badge.b2 { background: rgba(124,58,237,.15); color: #A78BFA; border: 1px solid rgba(124,58,237,.25); }
.qe-level-badge.c1 { background: rgba(255,255,255,.1); color: #E2E8F0; border: 1px solid rgba(255,255,255,.15); }

.qe-result-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 12px;
}
.qe-result-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* Result body (below hero) */
.qe-result-body {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px var(--section-px) 60px;
}
.qe-result-section {
  margin-bottom: 36px;
}
.qe-result-section h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

/* Level breakdown */
.qe-level-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qe-level-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qe-level-bar-label {
  width: 32px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
}
.qe-level-bar-track {
  flex: 1;
  height: 10px;
  background: var(--cream-mid);
  border-radius: 5px;
  overflow: hidden;
}
.qe-level-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1s cubic-bezier(.25,.46,.45,.94);
  width: 0;
}
.qe-level-bar-fill.a1 { background: #1B6B4A; }
.qe-level-bar-fill.a2 { background: #B45309; }
.qe-level-bar-fill.b1 { background: #2563EB; }
.qe-level-bar-fill.b2 { background: #7C3AED; }
.qe-level-bar-fill.c1 { background: #475569; }
.qe-level-bar-pct {
  width: 36px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: right;
}

/* Action items */
.qe-actions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qe-action-item {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(15,25,35,.03);
}
.qe-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--champagne-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.qe-action-text h4 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.qe-action-text p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA block */
.qe-cta-block {
  background: var(--navy);
  border-radius: 20px;
  padding: clamp(32px, 5vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}
.qe-cta-block::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(200,169,126,.06);
}
.qe-cta-block h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
}
.qe-cta-block p {
  color: rgba(255,255,255,.45);
  font-size: .9rem;
  margin-bottom: 24px;
  position: relative;
}
.qe-cta-block .btn { position: relative; }
.qe-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 60px;
  background: #25D366;
  color: var(--white);
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
  position: relative;
}
.qe-cta-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,.3);
}
.qe-cta-whatsapp svg { width: 20px; height: 20px; }

/* Share / Retake */
.qe-result-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.qe-result-action-btn {
  padding: 12px 24px;
  border-radius: 60px;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid var(--cream-mid);
  background: var(--white);
  color: var(--text-secondary);
}
.qe-result-action-btn:hover {
  border-color: var(--champagne);
  color: var(--text-primary);
}

/* --- SCREEN 5: FAQ --- */
.qe-faq {
  padding: clamp(60px, 8vw, 100px) var(--section-px);
  background: var(--white);
}
.qe-faq-inner {
  max-width: 640px;
  margin: 0 auto;
}
.qe-faq h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-primary);
}
.qe-faq-item {
  border-bottom: 1px solid var(--cream-mid);
}
.qe-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.qe-faq-q svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .3s;
}
.qe-faq-item.open .qe-faq-q svg { transform: rotate(180deg); }
.qe-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0;
}
.qe-faq-item.open .qe-faq-a {
  max-height: 300px;
  padding: 0 0 20px;
}
.qe-faq-a p {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* AEO answer-first: visible to crawlers, hidden from users */
.qe-answer-first {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 600px) {
  .qe-landing { padding-top: 120px; }
  .qe-landing-stats { flex-direction: column; gap: 16px; }
  .qe-landing .btn { width: 100%; justify-content: center; }
  .qe-progress { top: 0; }
  .qe-option { padding: 16px 18px; gap: 12px; }
  .qe-option-letter { width: 32px; height: 32px; font-size: .72rem; }
  .qe-email-card { padding: 28px 20px; }
  .qe-score-ring { width: 150px; height: 150px; }
  .qe-score-pct { font-size: 2.2rem; }
  .qe-result-hero { padding-top: 120px; }
  .qe-result-actions { flex-direction: column; }
  .qe-cta-whatsapp { width: 100%; justify-content: center; }
}
