/* quiz.css · pantallas del quiz (celular primero) */
body.quiz {
  min-height: 100vh; min-height: 100dvh;
  background: radial-gradient(120% 55% at 50% -8%, var(--accent-soft) 0%, rgba(0, 0, 0, 0) 62%) no-repeat, var(--bg);
}
.q-shell {
  max-width: 540px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px));
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.q-head { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; padding: 8px 0; }
.q-head #back { grid-column: 1; grid-row: 1; justify-self: start; margin-left: -8px; }
.q-head .brand { grid-column: 2; grid-row: 1; justify-self: center; white-space: nowrap; }
.q-count { grid-column: 3; grid-row: 1; justify-self: end; font-size: 13px; color: var(--ink3); font-weight: 700; white-space: nowrap; }
.progress { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .35s ease; }
#stage { flex: 1; padding: 26px 0 24px; outline: none; min-width: 0; }
.step { display: flex; flex-direction: column; gap: 20px; animation: rise .35s ease both; min-width: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step > h1:focus { outline: none; }
.lead { color: var(--ink2); font-size: 18px; line-height: 1.5; }
.eyebrow { align-self: flex-start; }

/* tarjeta de muestra (lo que verá en la app) */
.peek { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.peek-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.peek-main { display: flex; align-items: center; gap: 14px; }
.peek-emo { font-size: 44px; line-height: 1; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.peek-main b { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.peek p { color: var(--ink2); font-size: 16px; }
.ring { position: relative; width: 132px; height: 132px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .tr { stroke: var(--line); }
.ring .pr { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.ring .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.ring .mid b { font-family: var(--serif); font-size: 38px; }
.ring .mid span { font-size: 13px; color: var(--ink2); font-weight: 700; }
.hero-demo { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.hero-demo .txt b { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.hero-demo .txt span { color: var(--ink2); font-size: 15px; }

/* opciones */
.opts { display: flex; flex-direction: column; gap: 12px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 62px; padding: 12px 16px;
  border: 2px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; cursor: pointer;
  font-weight: 600; font-size: 17px; line-height: 1.3; transition: border-color .15s, background .15s, transform .08s;
  -webkit-tap-highlight-color: transparent;
}
.opt:active { transform: scale(.985); }
.opt:hover { border-color: var(--accent); }
.opt .emo { font-size: 26px; width: 34px; text-align: center; flex: none; }
.opt .txt { flex: 1; min-width: 0; }
.opt .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.opt[aria-checked="true"], .opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.opt[aria-checked="true"] .tick { background: var(--accent); border-color: var(--accent); }
.opt[aria-checked="true"] .tick::after { content: ""; width: 6px; height: 11px; border: solid var(--on-accent); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.opt[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* selector de semanas */
.week-pick { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 10px; }
.step-btn { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); font-size: 32px; font-weight: 700; color: var(--accent); cursor: pointer; line-height: 1; }
.step-btn:hover { border-color: var(--accent); }
.step-btn:active { transform: scale(.94); }
.week-num { text-align: center; line-height: 1; }
.week-num output { display: block; font-family: var(--serif); font-size: 76px; font-weight: 700; color: var(--accent); }
.week-num small { display: block; margin-top: 4px; font-size: 15px; color: var(--ink2); font-weight: 700; }
.range { width: 100%; height: 36px; accent-color: var(--accent); margin: 0; }
.week-meta { display: flex; justify-content: center; }

/* lista del plan */
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.ticks .emo { flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; font-size: 17px; }

/* oferta */
.price-card { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--r); padding: 22px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amount { font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--accent); line-height: 1; }
.price .per { color: var(--ink2); font-weight: 700; }
.guarantee { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ok-soft); line-height: 1.4; font-size: 15px; }
.fine { color: var(--ink2); font-size: 13.5px; line-height: 1.5; }
.btn-lg { min-height: 60px; font-size: 18px; }
