/* Desafío DisruptIA — paleta unificada con disruptia.app / plataforma.disruptia.app:
   naranja = acción, azul = etiquetas. Cada dimensión tiene su color (ids internos cuerpo/mente/espiritu = Física/Cognitiva/Socioemocional). */
:root {
  /* Base casi negra con un azul marino profundo apenas insinuado (misma línea que ideasbox). */
  --bg: #05060a;
  --bg-soft: #0a0e1a;
  --ink: #0d1220;
  --surface: rgba(255,255,255,.03);
  --surface-strong: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.08);
  --text: #f5f5f7;
  --muted: #9aa0ad;
  --accent: #ff6a00;
  --accent-hover: #ff7d24;
  --blue: #7f8fbf;
  --cuerpo: #ff6a00;
  --mente: #4a68c9;
  --espiritu: #e9c46a;
  --ok: #3ccf91;
  --bad: #ff5c6c;
  --grad: linear-gradient(95deg, #3b5fb5 0%, #ff6a00 100%);
  --max: 1160px;
  --radius: 20px;
  --shadow: 0 24px 80px rgba(0,0,0,.34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); line-height: 1.55;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 0, rgba(29,63,143,.16), transparent 32rem),
    radial-gradient(circle at 100% 22%, rgba(255,106,0,.06), transparent 34rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.app-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.accent { color: var(--accent); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5,6,10,.8); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand-word span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; color: #bdcad7; font-size: .93rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: #fff; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: #fff; font: inherit; font-weight: 780; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 30px rgba(255,106,0,.28);
}
.button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.button-small { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.button-xl { min-height: 60px; padding: 0 32px; font-size: 1.08rem; }
.button-ghost { background: transparent; border-color: var(--line); box-shadow: none; }
.button-ghost:hover { background: var(--surface-strong); }
.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; font-weight: 850; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(60,207,145,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(60,207,145,0); } 100% { box-shadow: 0 0 0 0 rgba(60,207,145,0); } }
h1 { margin: 20px 0 22px; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .97; letter-spacing: -.05em; }
.h1-kicker { display: block; margin-bottom: 18px; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.3; letter-spacing: -.01em; font-weight: 750; color: #c9ced8; }
.lead { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.lead b { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: #c7d2dd; font-size: .9rem; }
.proof-row li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 7px; }
.resume-hint { margin-top: 18px; color: var(--muted); }

/* Órbita de las 12 */
.hero-visual { display: grid; place-items: center; }
.orbit { position: relative; width: min(100%, 470px); aspect-ratio: 1; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.orbit-ring.r2 { inset: 22%; border-style: dashed; border-color: rgba(138,164,230,.22); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core {
  position: absolute; inset: 33%; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, rgba(255,106,0,.3), rgba(20,40,100,.35) 60%, rgba(5,6,10,.7));
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 80px rgba(255,106,0,.18), inset 0 0 40px rgba(0,0,0,.4);
}
.core-num { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; }
.core-label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.node {
  --c: var(--accent);
  position: absolute; width: 17%; aspect-ratio: 1; margin: -8.5% 0 0 -8.5%; border-radius: 50%;
  display: grid; place-items: center; font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  background: color-mix(in srgb, var(--c) 14%, var(--ink)); border: 1.5px solid color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--c) 30%, transparent);
  transition: transform .25s ease;
}
.node:hover { transform: scale(1.12); }
.node .node-name {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; white-space: nowrap;
  font-size: .68rem; color: #c7d2dd; font-weight: 700; letter-spacing: .02em;
}
.orbit .node { animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -0.5s); }
@keyframes float { 50% { translate: 0 -5px; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 12px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 850; }
h2 { margin: 0 0 18px; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em; }
h3 { margin: 0 0 8px; font-size: 1.15rem; letter-spacing: -.01em; }
.section-lead { max-width: 720px; margin: 0 0 44px; color: var(--muted); font-size: 1.1rem; }
.center .section-lead { margin-inline: auto; }

/* Íconos (Lucide, sprite en assets/icons.svg) */
.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }
.node .ic { width: 44%; height: 44%; color: var(--c); }
.wheel .node.done .ic { color: #fff; }
.dim li .ico .ic, .ch-ico .ic { width: 22px; height: 22px; color: var(--c); }
.ch-ico .ic { width: 28px; height: 28px; }
.result-badge .ic { width: 42px; height: 42px; }
.result-badge.ok .ic { color: var(--ok); }
.result-badge.ko .ic { color: var(--bad); }
.fb-item .st .ic { width: 15px; height: 15px; stroke-width: 3; }
.opt .mark .ic { width: 14px; height: 14px; stroke-width: 3.2; }
.clue-lock .ic { width: 16px; height: 16px; color: var(--accent); }
.app-close .ic { width: 18px; height: 18px; }
.h-ic { display: flex; align-items: center; gap: 12px; }
.h-ic .ic { width: 1em; height: 1em; color: var(--c, var(--accent)); }
.share .ic, .order-reset .ic { width: 18px; height: 18px; }
.order-reset { display: inline-flex; align-items: center; gap: 8px; }
.app-close { display: grid; place-items: center; }

/* Dimensiones */
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dim {
  --c: var(--accent);
  padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.dim::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.dim-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.dim-name { font-size: 1.5rem; font-weight: 850; color: var(--c); letter-spacing: -.02em; }
.dim-range { color: var(--muted); font-size: .8rem; font-weight: 700; }
.dim-lema { margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.dim ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dim li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(0,0,0,.18); }
.dim li .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); font-size: 1.2rem; }
.dim li b { display: block; font-size: .98rem; }
.dim-item { margin: 0; font-size: .98rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.dim-item b { display: inline; }
.dim-item small { display: block; color: var(--muted); font-weight: 500; font-size: .84rem; }
.dim-desc { margin: 6px 0 0; color: #c9ced8; font-size: .85rem; line-height: 1.45; }
.dim li small { color: var(--muted); font-size: .84rem; }

/* Por qué un desafío */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why article { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why p { margin: 0; color: var(--muted); font-size: .95rem; }
.why-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,106,0,.1); margin-bottom: 16px; }
.why-ic .ic { width: 22px; height: 22px; color: var(--accent); }

/* El Grupo: sobre sellado + pistas (lo que incluye se revela recién en la invitación) */
.sealed-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.sealed-copy .section-lead { margin-bottom: 28px; }
.clues { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.clues li {
  display: grid; grid-template-columns: 34px 110px 1fr; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
}
.clues b { font-size: 1.2rem; letter-spacing: -.01em; }
.clues li span:last-child { color: var(--muted); }
.clue-lock { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,106,0,.12); font-size: .95rem; }
.clue-hidden { border-style: dashed !important; background: transparent !important; }
.clue-hidden b { color: var(--accent); }
.envelope { position: relative; display: grid; place-items: center; padding: 30px 0; perspective: 900px; }
.envelope-card {
  width: min(100%, 380px); aspect-ratio: 4 / 5; padding: 34px 30px; border-radius: 22px;
  display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(150deg, #0d1426 0%, #0a0e1a 55%, #171009 100%);
  border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow), 0 0 90px rgba(255,106,0,.12);
  transform: rotate(-4deg); animation: hover-card 7s ease-in-out infinite;
}
@keyframes hover-card { 50% { transform: rotate(-2deg) translateY(-8px); } }
.env-kicker { color: var(--blue); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 850; }
.env-title { font-size: 2.1rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.env-lines { display: grid; gap: 12px; margin-top: 18px; }
.env-lines i { height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); filter: blur(1px); }
.env-lines i:nth-child(2) { width: 82%; } .env-lines i:nth-child(3) { width: 90%; } .env-lines i:nth-child(4) { width: 60%; }
.env-to { margin-top: auto; color: var(--muted); font-size: .9rem; font-style: italic; }
.seal {
  position: absolute; bottom: 8%; right: 10%; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem; font-weight: 900; letter-spacing: -.05em; color: #fff;
  background: radial-gradient(circle at 35% 30%, #ff9a4d, #ff6a00 45%, #b54300);
  box-shadow: 0 10px 30px rgba(255,106,0,.45), inset 0 -6px 12px rgba(0,0,0,.25), inset 0 4px 8px rgba(255,255,255,.25);
  transform: rotate(8deg);
}

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps p { margin: 0; color: var(--muted); }
.step-n { display: block; font-size: 2.6rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.fit-col { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.fit-col ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; color: #c7d2dd; }
.fit-yes li::before { content: "✓  "; color: var(--ok); font-weight: 900; }
.fit-no li::before { content: "✕  "; color: var(--bad); font-weight: 900; }
.fit-yes { background: rgba(60,207,145,.05); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 750; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }
.faq a { color: var(--accent); }

.final-cta { background: radial-gradient(circle at 50% 100%, rgba(255,106,0,.16), transparent 32rem); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-inner a { color: #c7d2dd; }
.footer-inner nav a { text-decoration: none; }
.footer-inner nav a:hover { color: #fff; }

/* ===================== EXPERIENCIA ===================== */
.app {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background:
    radial-gradient(circle at 10% 0, rgba(29,63,143,.18), transparent 30rem),
    radial-gradient(circle at 100% 100%, rgba(255,106,0,.08), transparent 30rem),
    var(--bg);
}
.app[hidden] { display: none; }
.app-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; padding-top: max(14px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line); }
.app-brand { font-weight: 800; font-size: .95rem; white-space: nowrap; }
.app-progress { flex: 1; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.app-progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.app-count { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--muted); font-size: .9rem; }
.app-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: #fff; cursor: pointer; font-size: 1rem; }
.app-close:hover { background: var(--surface-strong); }
.app-body { flex: 1; overflow-y: auto; padding: clamp(20px, 4vw, 48px) 20px 40px; -webkit-overflow-scrolling: touch; }
.screen { width: min(100%, 720px); margin: 0 auto; animation: enter .45s cubic-bezier(.2,.8,.2,1); }
.screen-wide { width: min(100%, 980px); }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
.screen h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.screen .muted { color: var(--muted); }

/* Registro */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; color: #c7d2dd; }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 1rem;
}
.field select option { background: var(--bg-soft); }
.field input:focus, .field select:focus { outline: 2px solid rgba(255,106,0,.6); outline-offset: 1px; border-color: transparent; }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .9rem; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-error { grid-column: 1 / -1; color: var(--bad); font-weight: 700; min-height: 1.4em; margin: 0; }
.form .button { grid-column: 1 / -1; justify-self: start; }

/* Mapa */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: center; }
.wheel { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.wheel-center { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-content: center; text-align: center; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.wheel-center b { font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.04em; }
.wheel-center span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.wheel .node { width: 15%; margin: -7.5% 0 0 -7.5%; cursor: default; }
.map-side { --c: var(--accent); }
.wheel .node.locked { filter: grayscale(1); opacity: .35; box-shadow: none; }
.wheel .node.done { background: color-mix(in srgb, var(--c) 45%, var(--ink)); color: #fff; }
.wheel .node.done::after { content: "✓"; position: absolute; right: -2px; top: -2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #04210f; font-size: .7rem; font-weight: 900; display: grid; place-items: center; }
.wheel .node.current { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--c) 15%, transparent), 0 0 30px color-mix(in srgb, var(--c) 50%, transparent); } }
.map-side h2 { margin-bottom: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: color-mix(in srgb, var(--c, var(--accent)) 16%, transparent); color: var(--c, var(--accent)); }
.map-side .button { margin-top: 22px; }
.banner { margin: 0 0 22px; padding: 14px 18px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); font-weight: 700; }

/* Desafío */
.ch-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ch-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.ch-meta { color: var(--muted); font-size: .85rem; font-weight: 700; }
.ch-intro { color: var(--muted); font-size: 1.05rem; margin: 0 0 26px; }
.ch-steps { display: flex; gap: 6px; margin-bottom: 20px; }
.ch-steps span { flex: 1; height: 4px; border-radius: 9px; background: rgba(255,255,255,.1); }
.ch-steps span.on { background: var(--c); }
.q { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.q-text { font-size: 1.18rem; font-weight: 750; margin: 0 0 6px; line-height: 1.4; }
.q-help { color: var(--muted); font-size: .88rem; margin: 0 0 16px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; padding: 15px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #e6edf4; font: inherit; font-size: 1rem; cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.opt:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: rgba(255,255,255,.06); }
.opt:active { transform: scale(.99); }
.opt .mark { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); display: grid; place-items: center; font-size: .75rem; font-weight: 900; margin-top: 1px; }
.opt.multi .mark { border-radius: 7px; }
.opt.sel { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.opt.sel .mark { background: var(--c); border-color: var(--c); color: #05060a; }
.opt.order .mark { border-radius: 9px; }
.cls { display: grid; gap: 10px; }
.cls-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.cls-row p { margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.seg button { border: 0; background: transparent; color: #c7d2dd; font: inherit; font-size: .85rem; font-weight: 750; padding: 9px 14px; cursor: pointer; white-space: nowrap; }
.seg button.sel { background: var(--c); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.btn-back { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 8px 0; }
.btn-back:hover { color: #fff; }
.order-reset { margin-top: 10px; }

/* Resultado */
.result-hero { text-align: center; padding: 10px 0 20px; }
.result-badge { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; }
.result-badge.ok { background: rgba(60,207,145,.14); border: 2px solid var(--ok); animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
.result-badge.ko { background: rgba(255,92,108,.12); border: 2px solid var(--bad); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.score-dots { display: flex; justify-content: center; gap: 8px; margin: 10px 0 0; }
.score-dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.14); }
.score-dots i.on { background: var(--ok); }
.fb { display: grid; gap: 10px; margin: 18px 0 24px; }
.fb-item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fb-item .st { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.fb-item.ok .st { background: rgba(60,207,145,.18); color: var(--ok); }
.fb-item.ko .st { background: rgba(255,92,108,.16); color: var(--bad); }
.fb-item p { margin: 0; color: #c7d2dd; }
.fb-item b { display: block; margin-bottom: 4px; color: #fff; }
.actions-center { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Final */
.final { text-align: center; }
.final .big { font-size: clamp(3.4rem, 10vw, 6rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--accent); }
.final .big small { font-size: .35em; color: var(--muted); }
.final-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; text-align: left; }
.final-mini .dim { padding: 18px; }
.final-mini li { grid-template-columns: 30px 1fr auto; padding: 6px 8px; }
.final-mini li .ico { width: 30px; height: 30px; font-size: 1rem; border-radius: 9px; }
.final-mini li em { font-style: normal; color: var(--muted); font-size: .8rem; }
.share { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.spinner { width: 54px; height: 54px; margin: 40px auto 20px; border-radius: 50%; border: 4px solid rgba(255,255,255,.12); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .why { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; gap: 24px; }
  .map-side { text-align: center; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .orbit { width: min(78vw, 360px); }
  .dims, .steps, .fit, .final-mini, .sealed-grid { grid-template-columns: 1fr; }
  .envelope { order: -1; }
  .envelope-card { width: min(78%, 300px); }
}
@media (max-width: 560px) {
  .site-header .button-small { padding: 0 14px; font-size: .82rem; }
  .brand-word { font-size: 1.1rem; }
  .why { grid-template-columns: 1fr; }
  .clues li { grid-template-columns: 34px 1fr; }
  .clues li span:last-child { grid-column: 2; margin-top: -8px; }
  .sealed-copy .button { width: 100%; }
  .form { grid-template-columns: 1fr; }
  .cls-row { grid-template-columns: 1fr; }
  .seg { justify-self: start; }
  .app-brand { display: none; }
  .hero-actions .button { width: 100%; }
  .node .node-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
