:root {
  --primary: #5b3df5;
  --primary-dark: #4429d6;
  --primary-soft: #f2efff;
  --accent: #ff7a45;
  --accent-dark: #f0602a;
  --text: #1d1b2e;
  --muted: #6b6880;
  --line: #e7e4f2;
  --bg: #fbfaff;
  --card: #ffffff;
  --ok: #10b981;
  --warn: #f59e0b;
  --err: #ef4444;
  --star: #fbbf24;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(48, 30, 140, .25);
  --R: #f59e0b; --I: #3b82f6; --A: #ec4899; --S: #10b981; --E: #ef4444; --C: #8b5cf6;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }
.hl { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 255, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.logo img { width: 40px; height: 40px; transition: transform .4s var(--ease); }
.wordmark { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); }
.wordmark em { font-style: normal; color: var(--primary); }
.logo:hover img { transform: rotate(-8deg) scale(1.05); }
.logo .q { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 122, 69, .8); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 14px 28px -10px rgba(255, 122, 69, .9); }
.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-lg { padding: 18px 34px; font-size: 1.1rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn-pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 10px 24px -10px rgba(255, 122, 69, .8), 0 0 0 0 rgba(255, 122, 69, .45); } 50% { box-shadow: 0 10px 24px -10px rgba(255, 122, 69, .8), 0 0 0 12px rgba(255, 122, 69, 0); } }

/* Animaciones simples */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -20px) scale(1.08); } }
.fade-up { animation: fadeUp .7s var(--ease) both; }
.fade-up.d1 { animation-delay: .1s; } .fade-up.d2 { animation-delay: .2s; } .fade-up.d3 { animation-delay: .3s; }

/* Hero */
.hero { padding: 64px 0 48px; position: relative; overflow: hidden; }
.hero .blob { position: absolute; border-radius: 50%; z-index: -1; filter: blur(10px); animation: blob 14s ease-in-out infinite; }
.hero .blob.b1 { top: -180px; right: -120px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(91, 61, 245, .2), transparent 70%); }
.hero .blob.b2 { bottom: -200px; left: -160px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(255, 122, 69, .18), transparent 70%); animation-delay: -6s; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.micro-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.micro-trust span::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 6px; }
.hero-card { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 24px; border: 1px solid var(--line); animation: float 6s ease-in-out infinite; }
.hero-card .label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.mini-career { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg); margin-top: 10px; opacity: 0; animation: fadeUp .6s var(--ease) forwards; }
.mini-career:nth-child(4) { animation-delay: .5s; } .mini-career:nth-child(5) { animation-delay: .8s; } .mini-career:nth-child(6) { animation-delay: 1.1s; }
.mini-career .num { width: 32px; height: 32px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.mini-career .pct { margin-left: auto; font-weight: 800; color: var(--primary); }

/* Franja de confianza */
.trust-strip { border-block: 1px solid var(--line); background: #fff; padding: 22px 0; }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.trust-item .ti-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.trust-item b { display: block; }
.trust-item span { color: var(--muted); font-size: .85rem; }

/* Secciones */
section { padding: 64px 0; }
.section-title { text-align: center; max-width: 660px; margin: 0 auto 38px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s; }
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; background: var(--primary-soft); }
.step-num { font-weight: 800; color: var(--accent); font-size: .85rem; letter-spacing: .08em; }
.pain { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; font-weight: 600; }
.pain .emoji { font-size: 1.5rem; line-height: 1; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 1px; }
.price-box { background: linear-gradient(135deg, var(--primary), #7c5cff); color: #fff; border-radius: 24px; padding: 34px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-box::after { content: ''; position: absolute; width: 240px; height: 240px; right: -80px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.price-box .price { font-size: 3.4rem; font-weight: 800; line-height: 1; margin: 10px 0; }
.price-box .muted { color: rgba(255, 255, 255, .82); }
.price-box ul { list-style: none; padding: 0; margin: 16px 0 22px; text-align: left; display: grid; gap: 8px; font-size: .95rem; }
.price-box li::before { content: '✓'; font-weight: 800; margin-right: 8px; color: #ffd9c9; }
.pay-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; font-size: .78rem; }
.pay-logos span { background: rgba(255, 255, 255, .16); padding: 4px 10px; border-radius: 999px; }
.example-report { position: relative; }

/* Testimonios */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; }
.testimonial p { margin: 0; flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--accent)); flex: none; }
.testimonial .who span { color: var(--muted); display: block; font-size: .82rem; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: #d6cffd; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); animation: fadeUp .35s var(--ease); }
.final-cta { background: linear-gradient(135deg, #2a1a8a, var(--primary)); color: #fff; border-radius: 28px; padding: 48px 24px; text-align: center; position: relative; overflow: hidden; }
.final-cta p { color: rgba(255, 255, 255, .85); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 28px; color: var(--muted); font-size: .9rem; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.site-footer h4 { color: var(--text); margin: 0 0 10px; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; font-size: .82rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ===== Test: una pregunta por pantalla ===== */
.quiz { min-height: calc(100dvh - 64px); display: flex; flex-direction: column; padding-top: 14px; padding-bottom: 24px; }
.quiz-top { display: flex; align-items: center; gap: 12px; }
.icon-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--text); transition: border-color .2s, opacity .2s; }
.icon-btn:hover { border-color: var(--primary); }
.icon-btn[disabled] { opacity: 0; pointer-events: none; }
.progress { flex: 1; }
.progress-bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .45s var(--ease); }
.progress-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 6px; font-weight: 600; }
.quiz-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; padding: 18px 4px; overflow-x: clip; }
.qcard { width: 100%; }
.qcard.enter { animation: slideIn .2s var(--ease) both; }
.qcard.enter-back { animation: slideInBack .2s var(--ease) both; }
.qcard.leave { animation: slideOut .1s ease-in both; }
.qcard.leave-back { animation: slideOutBack .1s ease-in both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes slideInBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes slideOut { to { opacity: 0; transform: translateX(-14px); } }
@keyframes slideOutBack { to { opacity: 0; transform: translateX(14px); } }
.q-section { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.q-prompt { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.q-title { font-size: clamp(1.35rem, 4.6vw, 1.9rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 22px; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; font-weight: 600; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .08s, background-color .08s, color .08s, transform .1s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.opt:hover { border-color: var(--primary); transform: translateX(3px); }
.opt .key { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .8rem; color: var(--muted); font-weight: 800; transition: all .15s; }
.opt .dots { margin-left: auto; display: flex; gap: 3px; }
.opt .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.opt .dots i.on { background: var(--primary); }
.opt.sel { background: var(--primary); border-color: var(--primary); color: #fff; }
.opt.sel .key { background: #fff; color: var(--primary); border-color: #fff; }
.opt.sel .dots i { background: rgba(255, 255, 255, .35); } .opt.sel .dots i.on { background: #fff; }
.opt.pop { animation: pop .15s var(--ease); }
@keyframes pop { 50% { transform: scale(1.03); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; cursor: pointer; border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 10px 16px; font-size: .92rem; font-weight: 600; transition: all .15s; }
.chip:hover { border-color: var(--primary); }
.chip.sel { background: var(--primary); color: #fff; border-color: var(--primary); }
.chip.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.q-hint { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.q-actions { display: flex; gap: 10px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.skip { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.cheer { text-align: center; color: var(--primary); font-weight: 700; font-size: .9rem; min-height: 1.4em; transition: opacity .3s; }
.kbd-hint { text-align: center; color: var(--muted); font-size: .78rem; }
.intro-card { text-align: center; }
.intro-card .big-logo { width: 84px; height: 84px; margin-bottom: 14px; animation: float 5s ease-in-out infinite; }
.intro-list { display: grid; gap: 10px; text-align: left; max-width: 380px; margin: 18px auto 26px; }
.intro-list div { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.intro-list .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); display: grid; place-items: center; flex: none; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91, 61, 245, .12); }
.field.missing input, .field.missing select { border-color: var(--err); }
.field textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-name { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: .92rem; cursor: pointer; }
.checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.checkbox.missing { color: var(--err); }
.alert { padding: 14px 16px; border-radius: 12px; margin: 14px 0; font-weight: 500; }
.alert-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-info { background: var(--primary-soft); color: var(--primary-dark); border: 1px solid #ddd6fe; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .82rem; margin-top: 12px; }

/* Resultado */
.result-hero { background: linear-gradient(135deg, var(--primary), #7c5cff); color: #fff; border-radius: 24px; padding: 32px; margin: 24px 0; box-shadow: var(--shadow); animation: fadeUp .6s var(--ease) both; }
.result-hero .tag { display: inline-block; background: rgba(255, 255, 255, .18); padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 12px; }
.result-hero p { color: rgba(255, 255, 255, .92); }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 40px; gap: 12px; align-items: center; font-weight: 600; font-size: .92rem; }
.bar { height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 99px; width: 0; transition: width 1.1s var(--ease); }
.career { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 18px; }
.career-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.career-head .num { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; flex: none; }
.career-head h3 { margin: 0; font-size: 1.3rem; }
.career-head .area { color: var(--muted); font-size: .9rem; }
.affinity { margin-left: auto; text-align: right; flex: none; }
.affinity b { font-size: 1.6rem; color: var(--primary); display: block; line-height: 1; }
.affinity small { color: var(--muted); font-size: .75rem; }
.kv { margin-bottom: 14px; }
.kv h4 { margin: 0 0 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
.kv p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-sm { background: var(--primary-soft); color: var(--primary-dark); padding: 4px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.uni { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); margin-bottom: 6px; font-size: .92rem; }
.uni .t { font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); white-space: nowrap; align-self: flex-start; }
.locked { position: relative; }
.locked .blur { filter: blur(7px); user-select: none; pointer-events: none; }
.locked .lock-overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.lock-card { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); max-width: 430px; border: 1px solid var(--line); animation: fadeUp .6s .3s var(--ease) both; }
.lock-card ul { text-align: left; list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 6px; font-size: .92rem; }
.lock-card li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid var(--primary-soft); border-top-color: var(--primary); animation: spin 1s linear infinite; margin: 0 auto 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.list-clean { padding-left: 20px; margin: 0; }
.list-clean li { margin-bottom: 8px; }
.final-msg { background: linear-gradient(135deg, var(--accent), #ff9a6b); color: #fff; border-radius: 20px; padding: 24px; font-weight: 600; font-size: 1.05rem; }
.rate { display: flex; gap: 6px; font-size: 2rem; margin: 6px 0 12px; }
.rate button { background: none; border: 0; cursor: pointer; color: var(--line); font-size: inherit; padding: 0; transition: transform .15s, color .15s; line-height: 1; }
.rate button:hover { transform: scale(1.15); }
.rate button.on { color: var(--star); }
.loading-steps { list-style: none; padding: 0; margin: 18px auto 0; max-width: 320px; text-align: left; display: grid; gap: 8px; }
.loading-steps li { color: var(--muted); font-weight: 600; transition: color .3s; }
.loading-steps li.done { color: var(--ok); }
.loading-steps li.done::before { content: '✓ '; }

/* Admin */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
td.wrap { white-space: normal; min-width: 260px; }
th { background: var(--bg); font-weight: 700; position: sticky; top: 0; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.b-pendiente_pago { background: #fef3c7; color: #92400e; }
.b-pagado, .b-generando { background: #dbeafe; color: #1e40af; }
.b-listo { background: #d1fae5; color: #065f46; }
.b-error { background: #fee2e2; color: #991b1b; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat b { display: block; font-size: 1.6rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.toolbar input, .toolbar select { font: inherit; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line); }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.tabs button { font: inherit; font-weight: 700; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.tabs button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2, .testimonials { grid-template-columns: 1fr; }
  .grid-4, .trust-strip .container { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .row-2 { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 96px 1fr 32px; font-size: .85rem; }
  .career-head { flex-wrap: wrap; }
  .result-hero { padding: 24px; }
  section { padding: 44px 0; }
  .kbd-hint, .opt .key, .hide-sm { display: none !important; }
  .opt { padding: 13px 14px; }
}
@media (max-width: 420px) {
  .trust-strip .container, .grid-4 { grid-template-columns: 1fr; }
  .logo { font-size: 1.05rem; }
  .hide-xs { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
