/* Spoke.ia · estilos compartidos
   Layout: columna de 1200px, mucho aire; la jirafa vive fija al fondo de todas las páginas. */
:root {
  --bg: #09080E;
  --bg-2: #12111A;
  --violet: #7C3AED;
  --neon: #A855F7;
  --orange: #FF7A1A;       /* naranja del hocico de la jirafa */
  --orange-soft: #FFB070;
  --ink: #0B0710;
  --fg: #FFFFFF;
  --muted: #A1A1AA;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);
  --glass: rgba(14, 13, 21, .62);
  --ok: #34D399;
  --bad: #F87171;
  /* Figtree: sobria y amable, muy legible. Una sola familia para títulos y texto; DM Mono solo en etiquetas. */
  --f-display: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'DM Mono', ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 64px;
  color-scheme: dark;
}
html { background: var(--bg); overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 32px); }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(255, 122, 26, .45); color: #fff; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.tnum { font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--f-display); letter-spacing: -0.012em; }
p { text-wrap: pretty; }
.muted { color: var(--muted); }
.page { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange); display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.12; font-weight: 600; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.125rem); max-width: 52ch; }
.label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.grad-text {
  background: linear-gradient(100deg, #fff 0%, #E9D5FF 30%, var(--neon) 50%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.page-head { padding-top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + clamp(56px, 9vw, 112px)); }

/* ---------- Encabezado de páginas internas: el mismo naranja y la misma jirafa del home ---------- */
.page-head {
  position: relative; overflow: hidden; background: #D6752A; color: var(--bg);
  min-height: clamp(380px, 60vh, 620px); display: flex; align-items: center;
  padding-bottom: clamp(100px, 12vw, 160px);
}
.page-head > .wrap { position: relative; z-index: 2; }
.page-head .eyebrow { color: var(--bg); }
.page-head .h1 { color: var(--bg); }
.page-head .grad-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.page-head .lead { color: rgba(9, 8, 14, .78); }
.head-video {
  position: absolute; z-index: 1; bottom: 0; right: max(0px, calc(50vw - 660px));
  height: 100%; width: min(50vw, 680px); object-fit: cover; object-position: 50% 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%); mask-image: linear-gradient(90deg, transparent, #000 24%);
}
/* Fundido suave del naranja al negro, igual que en el home */
.page-head::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: clamp(90px, 12vw, 160px); background: linear-gradient(180deg, rgba(214, 117, 42, 0), var(--bg)); pointer-events: none; }
@media (max-width: 767px) { .head-video { display: none; } .page-head { min-height: 0; } }
.page-after-head { position: relative; z-index: 4; } /* sin margen negativo: el contenido no se monta sobre el encabezado */

/* ---------- Evaluador GEO ---------- */
.eval { border-radius: 28px; padding: clamp(20px, 4vw, 40px); max-width: 780px; display: flex; flex-direction: column; gap: 22px; }
.eval-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eval-back { font-size: .85rem; color: var(--muted); display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 .75rem; margin-right: -.75rem; border-radius: 999px; }
.eval-back:hover { color: #fff; }
.eval-back[disabled] { visibility: hidden; }
.eval-progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.eval-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--orange)); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.eval-body { display: flex; flex-direction: column; gap: 18px; animation: fadeUp .45s ease both; }
.eval-q { font-family: var(--f-display); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.eval-opts { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .eval-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.eval-opt {
  display: flex; align-items: center; gap: 12px; text-align: left; min-height: 64px; padding: 14px 16px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: #E4E4E7; transition: border-color .2s, background .2s, color .2s;
}
.eval-opt:hover { border-color: rgba(255, 122, 26, .55); background: rgba(255, 122, 26, .07); color: #fff; }
.eval-opt[aria-checked="true"] { border-color: var(--orange); background: rgba(255, 122, 26, .16); color: #fff; }
.eval-opt .k { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; background: rgba(255, 255, 255, .06); color: var(--orange-soft); }
.eval-opt[aria-checked="true"] .k { background: var(--orange); color: var(--ink); }
.eval-list { display: grid; gap: 10px; }
.eval-list li { display: flex; gap: 10px; align-items: center; color: #E4E4E7; }
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); color: #E4E4E7; background: rgba(255, 255, 255, .04); }
.pill.hot { border-color: rgba(255, 122, 26, .5); background: rgba(255, 122, 26, .12); color: var(--orange-soft); }

/* ---------- Mejoras de usabilidad y accesibilidad ---------- */
/* Saltar al contenido: invisible hasta que se navega con teclado */
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: .7rem 1rem; border-radius: 12px; background: var(--orange); color: var(--ink); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
main:focus { outline: none; }
/* Contraste del texto secundario sobre naranja: de 3.98:1 a más de 5:1 */
.page-head .lead, .lead-dark { color: rgba(9, 8, 14, .9) !important; }
/* Botones secundarios con área táctil de al menos 40 px */
.mini-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .75rem; border-radius: 999px; font-size: .8rem; color: var(--muted); transition: color .2s, background .2s; }
.mini-btn:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.mini-btn svg { width: 14px; height: 14px; }
/* Simulador: explicación de qué cambió entre antes y después */
.sim-why { font-size: .88rem; line-height: 1.5; color: #D4D4D8; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); animation: fadeUp .4s ease both; }
.sim-why .k { color: var(--orange-soft); font-weight: 600; }
/* Diagnóstico: barra apilada al 100% + leyenda */
.stack { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 2px; }
.stack span { display: block; height: 100%; }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.legend li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #E4E4E7; min-width: 0; }
.legend .dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Leyenda de la línea de referencia del medidor */
.ref-tick { width: 14px; height: 2px; border-radius: 2px; background: #fff; flex: none; }
/* Campo con error */
.input[aria-invalid="true"] { border-color: rgba(248, 113, 113, .8); background: rgba(248, 113, 113, .06); }

/* ---------- Nuevo paradigma: Antes / Ahora ---------- */
.paradigm { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); align-items: stretch; gap: 14px; }
.pd { border-radius: 24px; padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); }
.pd p { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.35; font-weight: 500; }
.pd-k { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.pd-before { background: rgba(255, 255, 255, .025); color: var(--muted); }
.pd-before p { color: #A1A1AA; text-decoration: line-through; text-decoration-color: rgba(161, 161, 170, .45); text-decoration-thickness: 1px; }
.pd-now { background: linear-gradient(135deg, rgba(255, 122, 26, .14), rgba(124, 58, 237, .1)); border-color: rgba(255, 122, 26, .45); color: #fff; }
.pd-now .pd-k { color: var(--orange-soft); }
.pd-arrow { align-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--orange); border: 1px solid rgba(255, 122, 26, .4); }
@media (max-width: 767px) {
  .paradigm { grid-template-columns: minmax(0, 1fr); }
  .pd-arrow { justify-self: center; transform: rotate(90deg); }
}

/* Etiqueta de pilar en las tarjetas de Soluciones */
.pillar-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-soft); }

/* ---------- Ecosistema del stakeholder IA ---------- */
.eco { border-radius: 28px; padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px; }
.eco-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.eco-sum { color: #D4D4D8; font-size: .95rem; max-width: 52ch; }
.eco-map { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 96px); align-items: center; padding-block: 6px; }
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.eco-lines path { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; transition: stroke .35s, opacity .35s; }
.eco-lines path.weak { opacity: .4; stroke-dasharray: 3 6; }
.eco[data-mode="trad"] .eco-lines path.on { stroke: rgba(255, 255, 255, .5); }
.eco[data-mode="new"] .eco-lines path { stroke: rgba(255, 122, 26, .3); stroke-dasharray: 6 8; animation: eco-flow 1.4s linear infinite; }
.eco[data-mode="new"] .eco-lines path.on { stroke: var(--orange); }
@keyframes eco-flow { to { stroke-dashoffset: -28; } }
.eco-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.eco-nodes { display: flex; flex-direction: column; gap: 10px; }
.eco-node {
  display: flex; align-items: center; gap: 12px; text-align: left; min-width: 0; padding: 12px 14px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--bg-2); color: #E4E4E7;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.eco-node:hover { border-color: rgba(255, 122, 26, .5); transform: translateY(-1px); }
.eco-node[aria-pressed="true"] { border-color: var(--orange); background: #1d1720; color: #fff; box-shadow: 0 0 0 3px rgba(255, 122, 26, .12); }
.eco-node .ico, .eco-dhead .ico { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--orange-soft); transition: background .35s, color .35s; }
.eco-node .txt { display: flex; flex-direction: column; min-width: 0; }
.eco-node .nm { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.eco-node .sb { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.eco-node.core { flex-direction: column; text-align: center; gap: 10px; padding: 24px 18px; border-radius: 22px; }
.eco-node.core .ico { width: 56px; height: 56px; border-radius: 18px; }
.eco[data-mode="new"] .eco-node.core { border-color: rgba(255, 122, 26, .6); box-shadow: 0 0 0 6px rgba(255, 122, 26, .06), 0 0 44px -10px rgba(255, 122, 26, .7); }
.eco[data-mode="new"] .eco-node.core .ico { background: var(--orange); color: var(--ink); }
.eco[data-mode="trad"] .eco-node.core .ico { background: rgba(255, 255, 255, .08); color: #D4D4D8; }
.eco-detail { border-radius: 20px; padding: clamp(16px, 2.4vw, 24px); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); display: grid; gap: 18px; }
.eco-dhead { display: flex; align-items: center; gap: 12px; }
.eco-dhead h3 { font-size: 1.15rem; font-weight: 600; }
.eco-facts { display: grid; gap: 16px 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eco-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 6px; }
.eco-facts dd { margin: 0; color: #E4E4E7; font-size: .93rem; line-height: 1.5; }
@media (max-width: 767px) {
  .eco-map { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .eco-in .eco-nodes, .eco-out .eco-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .eco-in .eco-node, .eco-out .eco-node { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; }
  .eco-in .eco-node .sb, .eco-out .eco-node .sb { display: none; }
  .eco-in .eco-node .nm, .eco-out .eco-node .nm { font-size: .78rem; }
  .eco-label { text-align: center; }
  .eco-core .eco-label { display: none; }               /* el nodo central ya dice su rol */
  .eco-out .eco-label { order: 2; }                      /* bajo los nodos, para que las líneas no lo crucen */
  .eco-node.core { width: 100%; max-width: 260px; margin-inline: auto; padding: 18px 14px; }
  .eco-facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Home: lista de capacidades en la tarjeta del video ---------- */
.scrub-list { display: grid; gap: 10px; margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.scrub-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #E4E4E7; }
.scrub-list svg { color: var(--orange); flex: none; }

/* ---------- Home: el modelo Spoke (rueda) ---------- */
.wheel-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.wheel { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 30px auto 52px; }
.wheel-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wheel-lines .rim { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.wheel-lines line { stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.wheel-lines line.on { stroke: var(--orange); }
.hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 1; border-radius: 50%; padding: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  background: radial-gradient(circle at 50% 35%, #2b1b10, var(--bg-2)); border: 1px solid rgba(255, 122, 26, .55);
  box-shadow: 0 0 0 8px rgba(255, 122, 26, .06), 0 0 50px -10px rgba(255, 122, 26, .7);
}
.hub-t { font-weight: 600; font-size: clamp(.85rem, 1.8vw, 1.05rem); line-height: 1.15; }
.hub-s { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-soft); }
.spoke { position: absolute; transform: translate(-50%, -26px); width: 118px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: #D4D4D8; }
.spoke .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--orange-soft); transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; }
.spoke .nm { font-size: .8rem; line-height: 1.2; font-weight: 500; }
.spoke:hover .ico { border-color: rgba(255, 122, 26, .6); transform: scale(1.06); }
.spoke[aria-pressed="true"] .ico { background: var(--orange); color: var(--ink); border-color: var(--orange); box-shadow: 0 0 24px -4px rgba(255, 122, 26, .8); }
.spoke[aria-pressed="true"] .nm { color: #fff; }
.wheel-panel { border-radius: 24px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.wheel-panel h3 { font-size: 1.4rem; font-weight: 600; }
@media (max-width: 899px) {
  .wheel-wrap { grid-template-columns: minmax(0, 1fr); }
  .wheel { max-width: 340px; }
  .spoke { width: 92px; transform: translate(-50%, -22px); }
  .spoke .ico { width: 44px; height: 44px; }
  .spoke .nm { font-size: .72rem; }
}

/* ---------- Soluciones: catálogo ---------- */
.cat-group { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2.3fr); gap: 20px 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.cat-group:first-child { padding-top: 0; border-top: 0; }
.cat-head { display: flex; flex-direction: column; gap: 8px; }
.cat-n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--orange-soft); }
.cat-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; }
.cat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cat-card { border-radius: 22px; padding: clamp(18px, 2.4vw, 24px); display: flex; flex-direction: column; gap: 12px; min-width: 0; scroll-margin-top: calc(var(--nav-h) + 40px); }
.cat-card h3 { font-size: 1.15rem; font-weight: 600; }
.cat-use { font-size: .88rem; line-height: 1.45; color: #E4E4E7; }
.cat-use span { color: var(--orange-soft); font-weight: 600; }
@media (max-width: 899px) { .cat-group { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Soluciones: demo mapa de stakeholders / mapa de poder ---------- */
.maps { border-radius: 28px; padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.maps-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.maps-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.maps-canvas { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); }
.maps-quads { position: absolute; inset: 8%; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; transition: opacity .5s; }
.maps-quads span { border-radius: 10px; padding: 8px 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .025); }
.maps-quads span:nth-child(2) { background: rgba(255, 122, 26, .08); color: rgba(255, 176, 112, .85); } /* gestionar de cerca */
.ax { position: absolute; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: opacity .5s; }
.ax-x { right: 8%; bottom: 2%; }
.ax-y { left: 2%; bottom: 8%; writing-mode: vertical-rl; transform: rotate(180deg); }
.maps-edges { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }
.maps-edges line { stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.maps-edges line.on { stroke: var(--orange); }
.maps-legend { position: absolute; left: 12px; top: 10px; font-size: 11px; color: var(--muted); opacity: 0; transition: opacity .5s; }
.maps[data-view="power"] .maps-quads, .maps[data-view="power"] .ax { opacity: 0; }
.maps[data-view="power"] .maps-edges, .maps[data-view="power"] .maps-legend { opacity: 1; }
.actor {
  position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px;
  transform: translate(-50%, calc(var(--sz, 14px) / -2));
  transition: left .7s cubic-bezier(.2, .8, .2, 1), top .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}
.actor .dot { width: var(--sz, 14px); height: var(--sz, 14px); border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(9, 8, 14, .7); transition: width .7s, height .7s, box-shadow .25s; }
.actor .nm { font-size: .72rem; white-space: nowrap; color: #E4E4E7; background: rgba(9, 8, 14, .65); padding: 1px 6px; border-radius: 6px; }
.actor:hover .dot { box-shadow: 0 0 0 3px rgba(9, 8, 14, .7), 0 0 0 5px rgba(255, 255, 255, .25); }
.actor[aria-pressed="true"] .dot { box-shadow: 0 0 0 3px rgba(9, 8, 14, .7), 0 0 0 6px var(--c); }
.actor[aria-pressed="true"] .nm { color: #fff; }
.st-favor { --c: var(--orange); }
.st-neutral { --c: #A1A1AA; }
.st-contra { --c: var(--neon); }
.maps-panel { border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.maps-panel h3 { font-size: 1.2rem; font-weight: 600; }
.maps-panel dl { display: grid; gap: 12px; }
.maps-panel dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 4px; }
.maps-panel dd { margin: 0; font-size: .95rem; color: #E4E4E7; }
.stance { font-size: .78rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--c); color: var(--c); }
@media (max-width: 899px) {
  .maps-body { grid-template-columns: minmax(0, 1fr); }
  .maps-canvas { aspect-ratio: 1; }
  .actor .nm { font-size: .66rem; }
}

/* ---------- Metodología ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.step4 { border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step4 .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--orange-soft); }
.step4 h2 { font-size: 1.25rem; font-weight: 600; }
.step4 p { font-size: .92rem; color: var(--muted); }
@media (max-width: 899px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.split-col { border-radius: 22px; padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 16px; }
.split-human { background: linear-gradient(135deg, rgba(255, 122, 26, .12), rgba(124, 58, 237, .08)); border-color: rgba(255, 122, 26, .4); }
.split-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-soft); }
.split ul { display: grid; gap: 12px; }
.split li { display: flex; align-items: flex-start; gap: 10px; color: #E4E4E7; }
.split li svg { margin-top: 4px; }
@media (max-width: 767px) { .split { grid-template-columns: minmax(0, 1fr); } }
.geo-teaser { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.geo-teaser > div { flex: 1 1 260px; }

/* Enlace de regreso sobre el encabezado naranja */
.back-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 40px; font-size: .9rem; font-weight: 500; color: var(--bg); opacity: .8; transition: opacity .2s; }
.back-link:hover { opacity: 1; }

/* ---------- Fondo: blobs + jirafa + velo ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.ambient .b1 { width: 46vmax; height: 46vmax; left: -14vmax; top: -18vmax; background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.ambient .b2 { width: 36vmax; height: 36vmax; left: 20vw; bottom: -22vmax; background: radial-gradient(circle, rgba(255, 122, 26, .16), transparent 65%); animation: drift1 38s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(8vw, 6vh, 0) scale(1.08); } }

.bg-host {
  position: absolute; top: 0; height: 100vh;
  right: max(0px, calc(50vw - 680px)); width: min(60vw, 840px);
  transform-origin: 50% 30%; will-change: transform, opacity;
}
.bg-host .glow { position: absolute; left: 50%; top: 34%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .55), rgba(124, 58, 237, .15) 45%, transparent 70%); filter: blur(24px); }
.bg-host img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 95% 0%; display: block;
  -webkit-mask-image: radial-gradient(ellipse 58% 66% at 50% 40%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 66% at 50% 40%, #000 55%, transparent 100%);
}
/* Velo: protege la lectura a la izquierda y deja ver la jirafa a la derecha */
.ambient .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 8, 14, .78) 0%, rgba(9, 8, 14, .45) 45%, rgba(9, 8, 14, 0) 72%); transition: opacity .4s; }
@media (max-width: 1023px) {
  .bg-host { right: 0; width: 100vw; }
  .ambient .veil { background: linear-gradient(180deg, rgba(9, 8, 14, .35), rgba(9, 8, 14, .6)); }
}
#cursorOrb {
  position: absolute; left: 0; top: 0; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, .18) 0%, rgba(124, 58, 237, .08) 35%, transparent 65%);
  transform: translate3d(-9999px, -9999px, 0); will-change: transform;
}

/* ---------- Superficies ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.spot { position: relative; isolation: isolate; overflow: hidden; transition: border-color .3s; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(168, 85, 247, .16), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.spot:hover { border-color: rgba(168, 85, 247, .35); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 500; border-radius: 999px; transition: transform .2s, box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--neon); outline-offset: 3px;
}
.btn-glow {
  color: var(--ink); font-weight: 600; padding: .9rem 1.35rem;
  background: linear-gradient(135deg, #FFA04D 0%, var(--orange) 50%, #E85D04 100%);
  box-shadow: 0 0 0 1px rgba(255, 196, 140, .55) inset, 0 10px 40px -8px rgba(255, 122, 26, .75), 0 0 24px -6px rgba(255, 122, 26, .7);
}
.btn-glow:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 214, 170, .7) inset, 0 14px 50px -6px rgba(255, 122, 26, .95), 0 0 36px -4px rgba(255, 122, 26, .9); }
.btn-ghost { color: #fff; padding: .9rem 1.25rem; border: 1px solid var(--line-strong); background: rgba(9, 8, 14, .35); }
.btn-ghost:hover { border-color: rgba(168, 85, 247, .6); background: rgba(168, 85, 247, .1); }
.btn-sm { padding: .6rem 1rem; font-size: .875rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--orange-soft); font-weight: 500; min-height: 40px; }
.link-arrow:hover { color: #fff; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav-shell { position: fixed; left: 0; right: 0; top: 0; z-index: 60; padding-top: calc(env(safe-area-inset-top, 0px) + 12px); pointer-events: none; }
.nav-pill {
  pointer-events: auto; height: var(--nav-h); border-radius: 999px; padding-inline: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: background .3s, box-shadow .3s;
}
.nav-pill.scrolled { background: rgba(12, 11, 18, .85); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .8); }
.lang-btn {
  min-width: 44px; height: 44px; padding-inline: 10px; border-radius: 999px; display: inline-grid; place-items: center;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: #fff;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .05); transition: border-color .2s, background .2s;
}
.lang-btn:hover { border-color: rgba(255, 122, 26, .6); background: rgba(255, 122, 26, .1); }
.nav-link { color: var(--muted); font-size: .9rem; padding: .45rem .8rem; border-radius: 999px; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255, 255, 255, .07); }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: radial-gradient(circle at 50% 40%, rgba(168, 85, 247, .35), rgba(124, 58, 237, .08) 70%); box-shadow: 0 0 22px -2px rgba(168, 85, 247, .65), inset 0 0 0 1px rgba(196, 160, 255, .35); }
.logo-mark svg { filter: drop-shadow(0 0 6px rgba(192, 132, 252, .9)); }
.logo-mark .spin { transform-origin: 50% 50%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mobile-menu { pointer-events: auto; margin-top: 8px; border-radius: 22px; padding: 10px; }
.mobile-menu a:not(.btn) { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-radius: 14px; color: #E4E4E7; }
.mobile-menu a:not(.btn):hover, .mobile-menu a.active { background: rgba(255, 255, 255, .06); }

/* ---------- Hero ---------- */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(48px, 7vw, 88px); }
.badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem .4rem .45rem; border-radius: 999px;
  font-size: .8rem; color: #E9D5FF; border: 1px solid rgba(168, 85, 247, .35);
  background: linear-gradient(90deg, rgba(124, 58, 237, .22), rgba(124, 58, 237, .04));
}
.badge .dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(168, 85, 247, .25); }
.chip {
  font-size: .82rem; padding: .5rem .85rem; border-radius: 999px; border: 1px solid var(--line);
  color: #D4D4D8; background: rgba(9, 8, 14, .4); transition: all .2s; text-align: left;
}
.chip:hover { border-color: rgba(168, 85, 247, .5); color: #fff; }
.chip[aria-pressed="true"] { color: #fff; border-color: rgba(168, 85, 247, .8); background: rgba(124, 58, 237, .28); box-shadow: 0 0 18px -6px rgba(168, 85, 247, .9); }
.readout-fade { animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.stage { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 4 / 5; }
.fcard { position: absolute; z-index: 3; border-radius: 16px; padding: 12px 14px; width: clamp(150px, 44%, 210px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(168, 85, 247, .12); }
.fcard .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fcard .v { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.1; letter-spacing: -0.02em; }
.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 8s ease-in-out -2s infinite; }
.float-c { animation: floaty 6.5s ease-in-out -4s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: ping 2s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, .6); } 70% { box-shadow: 0 0 0 8px rgba(255, 122, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); } }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--orange)); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: clamp(36px, 6vw, 72px); animation: marquee 34s linear infinite; padding-block: 6px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(18px, 3vw, 36px))); } }
.engine { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .78); white-space: nowrap; }
.engine svg { color: var(--neon); }

/* ---------- Video sincronizado con el scroll ---------- */
.scrub { position: relative; z-index: 1; background: #D6752A; } /* mismo naranja que el fondo del video */
.scrub-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #D6752A; }
.scrub-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrub-stage video { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.scrub-steps { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.scrub-step { height: 165vh; }
.scrub-hero, .scrub-card { will-change: opacity, transform; }
/* Fundido del naranja al negro al final del video, para entrar suave a la sección oscura */
.scrub-fade { position: absolute; inset: 0; z-index: 2; background: var(--bg); opacity: 0; pointer-events: none; }
.scrub-step > .wrap { height: 100%; display: flow-root; } /* flow-root: el margen del texto no se escapa y no alarga el scroll */
.scrub-card {
  position: sticky; top: 34vh; margin-top: 40vh; max-width: 380px;
  display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px;
  background: rgba(9, 8, 14, .88); color: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.scrub-card .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--orange); }
.scrub-card h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; font-weight: 600; }
.scrub-card p { color: #D4D4D8; }
.scrub-card { max-width: 460px; }
.scrub-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.scrub-stats dt { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.1; color: var(--orange); letter-spacing: -0.015em; }
.scrub-stats dd { margin: 4px 0 0; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.scrub-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 4px; }
.scrub-bars { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.scrub-bar { width: 3px; height: 44px; border-radius: 3px; background: rgba(9, 8, 14, .22); overflow: hidden; }
.scrub-bar i { display: block; width: 100%; height: 100%; background: var(--bg); transform-origin: top; transform: scaleY(0); }
/* Home: el titular vive sobre el video, en negro y blanco sobre el naranja */
.scrub-hero {
  position: sticky; top: calc(var(--nav-h) + 16vh); margin-top: calc(var(--nav-h) + 16vh);
  max-width: 31rem; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; color: var(--bg);
}
.scrub-hero .h1 { color: var(--bg); }
.scrub-hero .h1 em { font-style: normal; color: #fff; }
.badge-dark { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 500; color: var(--bg); border: 1px solid rgba(9, 8, 14, .3); background: rgba(255, 255, 255, .14); }
.lead-dark { color: rgba(9, 8, 14, .78); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 34ch; }
.btn-dark { color: #fff; background: var(--bg); padding: .9rem 1.35rem; box-shadow: 0 14px 30px -14px rgba(9, 8, 14, .8); }
.btn-dark:hover { transform: translateY(-1px); background: #1a1622; }
.btn-line { color: var(--bg); padding: .9rem 1.25rem; border: 1.5px solid rgba(9, 8, 14, .5); }
.btn-line:hover { background: rgba(9, 8, 14, .08); }
.scrub-cue { position: absolute; z-index: 3; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bg); }
.scrub-cue svg { animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 1023px) {
  .scrub-card { top: calc(var(--nav-h) + 3vh); margin-top: 13vh; max-width: none; padding: 18px; gap: 8px; }
  .scrub-card .scrub-foot a { display: none; } /* en móvil la tarjeta debe caber sobre la cabeza de la jirafa */
  .scrub-hero { top: calc(var(--nav-h) + 5vh); margin-top: calc(var(--nav-h) + 5vh); gap: 16px; }
  .scrub-hero .h1 { font-size: clamp(2rem, 8.6vw, 2.8rem); }
}
@media (max-width: 639px) { .scrub-hero .lead-dark { display: none; } }

/* ---------- Números ---------- */
.stat-num { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.8rem, 6vw, 4.25rem); line-height: 1; letter-spacing: -0.025em; }

/* ---------- Tarjetas de navegación ---------- */
.nav-card { border-radius: 24px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.nav-card:hover .link-arrow svg { transform: translateX(3px); }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-geo { grid-column: span 2; grid-row: span 2; }
  .b-wide { grid-column: span 3; }
}
.bcard { border-radius: 24px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.bcard h2, .bcard h3 { font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.2; font-weight: 600; }
.icon-tile { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #E9D5FF; background: linear-gradient(135deg, rgba(124, 58, 237, .45), rgba(124, 58, 237, .08)); border: 1px solid rgba(168, 85, 247, .35); box-shadow: 0 0 24px -8px rgba(168, 85, 247, .9); flex: none; }

.sim { border-radius: 18px; background: rgba(5, 4, 9, .7); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; flex: 1; min-height: 280px; }
.sim-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); position: relative; }
.seg button { position: relative; z-index: 1; font-size: .8rem; min-height: 36px; padding: .4rem .95rem; border-radius: 999px; color: var(--muted); transition: color .25s; }
.seg button[aria-pressed="true"] { color: #fff; }
.seg .pill { position: absolute; z-index: 0; top: 3px; bottom: 3px; border-radius: 999px; background: linear-gradient(135deg, var(--violet), #6D28D9); box-shadow: 0 0 18px -4px rgba(168, 85, 247, .9); transition: left .35s cubic-bezier(.2, .8, .2, 1), width .35s cubic-bezier(.2, .8, .2, 1); }
.prompt-tab { font-size: .8rem; text-align: left; min-height: 40px; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line); color: #D4D4D8; background: rgba(255, 255, 255, .02); transition: all .2s; }
.prompt-tab:hover { border-color: rgba(168, 85, 247, .45); }
.prompt-tab[aria-pressed="true"] { border-color: rgba(168, 85, 247, .85); background: rgba(124, 58, 237, .2); color: #fff; }
.bubble-user { align-self: flex-end; max-width: 88%; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: .9rem; }
.bubble-ai { display: flex; gap: 10px; align-items: flex-start; }
.bubble-ai .txt { font-size: .95rem; line-height: 1.65; color: #E4E4E7; min-width: 0; }
.brand-hl { color: #fff; background: linear-gradient(90deg, rgba(124, 58, 237, .55), rgba(168, 85, 247, .35)); border-radius: 6px; padding: 0 .3em; }
.err-hl { color: #FECACA; text-decoration: underline wavy rgba(248, 113, 113, .8); text-underline-offset: 4px; }
.cite { display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; margin-inline: 2px; font-family: var(--f-mono); font-size: .68em; border-radius: 6px; background: rgba(255, 122, 26, .15); color: var(--orange-soft); border: 1px solid rgba(255, 122, 26, .4); vertical-align: .2em; }
.caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: -0.15em; background: var(--neon); margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.verdict { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; padding: .35rem .65rem; border-radius: 999px; }
.verdict.bad { color: #FECACA; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .3); }
.verdict.good { color: #A7F3D0; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .3); }
.src-chip { font-family: var(--f-mono); font-size: .7rem; color: var(--orange-soft); border: 1px solid rgba(255, 122, 26, .3); background: rgba(255, 122, 26, .07); padding: .25rem .55rem; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.avatar { flex: none; border-radius: 50%; background: #D6752A url("avatar.jpg") center / cover no-repeat; box-shadow: 0 0 0 1px rgba(255, 176, 112, .55), 0 0 16px -4px rgba(255, 122, 26, .8); }
.tag { font-size: .8rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: #E4E4E7; }
.dim-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.dim-row .bar { grid-column: 1 / -1; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow .tag { display: inline-flex; align-items: center; gap: .4rem; }
.flow .sep { color: var(--orange); }

/* ---------- SEO vs GEO ---------- */
.cmp { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); border-radius: 24px; overflow: hidden; }
.cmp > div { padding: 16px clamp(12px, 2vw, 22px); border-top: 1px solid var(--line); min-width: 0; transition: background .4s, color .4s, opacity .4s; }
.cmp .hd { border-top: 0; padding-block: 18px; }
.cmp .lbl { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; }
.cmp .cell { font-size: clamp(.92rem, 1.4vw, 1.05rem); }
.cmp[data-active="seo"] .geo, .cmp[data-active="geo"] .seo { opacity: .38; }
.cmp[data-active="geo"] .geo { background: rgba(124, 58, 237, .16); color: #fff; }
.cmp[data-active="seo"] .seo { background: rgba(255, 255, 255, .05); color: #fff; }
.cmp[data-active="geo"] .geo.hd { box-shadow: inset 0 2px 0 0 var(--neon); }
.cmp[data-active="seo"] .seo.hd { box-shadow: inset 0 2px 0 0 #D4D4D8; }
.steps { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.step.lost { border-color: rgba(248, 113, 113, .45); background: linear-gradient(180deg, rgba(248, 113, 113, .12), rgba(248, 113, 113, .03)); }

/* ---------- Metodología ---------- */
.eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.eq .t { border-radius: 16px; padding: 14px 18px; min-width: 0; }
.eq .t .n { font-family: var(--f-display); font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.eq .op { font-family: var(--f-mono); color: var(--orange); font-size: 1.4rem; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--violet) 0, var(--orange) var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%)); cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(168, 85, 247, .35), 0 0 16px rgba(168, 85, 247, .9); }
.range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(168, 85, 247, .35), 0 0 16px rgba(168, 85, 247, .9); }
.gauge { width: 100%; max-width: 210px; aspect-ratio: 1; }
.gauge .track { stroke: rgba(255, 255, 255, .08); }
.gauge .val { transition: stroke-dashoffset .6s cubic-bezier(.2, .8, .2, 1); }
.gantt-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.gantt-bar { height: 32px; border-radius: 10px; display: flex; align-items: center; padding-inline: 10px; font-size: .72rem; color: #F5F3FF; background: linear-gradient(90deg, rgba(124, 58, 237, .9), rgba(255, 122, 26, .75)); box-shadow: 0 0 20px -8px rgba(255, 122, 26, .7); overflow: hidden; white-space: nowrap; min-width: 0; }
.wk { font-family: var(--f-mono); font-size: .68rem; color: var(--muted); text-align: center; letter-spacing: .06em; }
.phase { border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* ---------- FAQ ---------- */
.faq-item { border-radius: 18px; transition: border-color .3s, background .3s; }
.faq-item[data-open="true"] { border-color: rgba(168, 85, 247, .45); background: linear-gradient(180deg, rgba(124, 58, 237, .16), rgba(124, 58, 237, .04)), var(--glass); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.02rem, 1.8vw, 1.15rem); letter-spacing: -0.01em; }
.faq-q .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: transform .35s, background .3s, border-color .3s; }
.faq-item[data-open="true"] .pm { transform: rotate(45deg); background: var(--violet); border-color: var(--violet); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2, .8, .2, 1); }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--muted); max-width: 64ch; }

/* ---------- Formulario ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .78rem; color: var(--muted); }
.input { width: 100%; border-radius: 12px; padding: .8rem .95rem; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: #fff; font-size: .95rem; transition: border-color .2s, background .2s; }
.input::placeholder { color: #71717A; }
.input:focus { border-color: rgba(168, 85, 247, .7); background: rgba(124, 58, 237, .08); outline: none; }
select.input option { background: var(--bg-2); color: #fff; }

/* ---------- Footer ---------- */
.foot-link { color: var(--muted); font-size: .88rem; transition: color .2s; }
.foot-link:hover { color: #fff; }

/* ---------- Capa científica: técnico, pero fácil de leer ---------- */
/* Retícula de laboratorio, muy tenue y desvanecida hacia los bordes */
.ambient .grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
}
/* Cada sección numerada como en un informe: 01, 02… (en Figtree: el cero de DM Mono lleva barra y se lee como Ø) */
main { counter-reset: sec; }
.eyebrow { counter-increment: sec; }
.eyebrow::before { content: counter(sec, decimal-leading-zero); font-family: var(--f-display); font-weight: 600; width: auto; height: auto; background: none; padding-right: .6rem; border-right: 1px solid currentColor; opacity: .65; letter-spacing: .08em; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(9, 8, 14, .72); }
.kicker::before { content: ""; width: 7px; height: 7px; background: var(--bg); border-radius: 1px; }

/* Figuras con marcas de esquina y pie de figura */
.fig { position: relative; margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fig-cap { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: #8B8B95; display: flex; align-items: center; gap: .6rem; }
.fig-cap::before { content: ""; width: 24px; height: 1px; background: rgba(255, 122, 26, .6); flex: none; }

/* Fórmula del modelo Spoke */
.formula { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; padding: clamp(18px, 3vw, 28px); border-radius: 24px; border: 1px dashed rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .02); }
.f-term { display: flex; flex-direction: column; gap: 6px; min-width: 0; max-width: 17ch; }
.f-v { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.01em; color: #fff; }
.f-out .f-v { color: var(--orange); }
.f-n { font-family: var(--f-mono); font-size: 10.5px; line-height: 1.4; letter-spacing: .04em; color: var(--muted); padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .12); }
.f-op { font-family: var(--f-mono); font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.15; color: var(--orange-soft); opacity: .8; }

/* Chips de técnica con tooltip */
.terms { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.terms-k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8B8B95; margin-right: 2px; }
.term {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em; min-height: 28px; padding: 0 .6rem; border-radius: 6px;
  color: var(--orange-soft); background: rgba(255, 122, 26, .06); border: 1px dashed rgba(255, 122, 26, .4); cursor: help; transition: background .2s, border-color .2s;
}
.term:hover, .term:focus-visible { background: rgba(255, 122, 26, .14); border-style: solid; }
.term-tip {
  position: fixed; z-index: 80; max-width: min(300px, calc(100vw - 24px)); padding: 12px 14px; border-radius: 12px; pointer-events: none;
  background: #17151F; border: 1px solid rgba(255, 122, 26, .45); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8);
  display: flex; flex-direction: column; gap: 6px; animation: fadeUp .2s ease both;
}
.term-tip[hidden] { display: none; }
.tt-n { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-soft); }
.tt-d { font-size: .88rem; line-height: 1.45; color: #E4E4E7; }
.tt-d b { font-weight: 600; color: #fff; }

/* Tabla de técnicas (Metodología) */
.sci { border-radius: 24px; overflow: hidden; }
.sci table { width: 100%; border-collapse: collapse; }
.sci th, .sci td { text-align: left; vertical-align: top; padding: 14px clamp(14px, 2vw, 22px); border-top: 1px solid var(--line); }
.sci thead th { border-top: 0; font-family: var(--f-mono); font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8B8B95; background: rgba(255, 255, 255, .02); }
.sci tbody th { font-weight: 600; font-size: .95rem; width: 32%; }
.sci td { font-size: .92rem; color: #D4D4D8; }
.sci tbody tr { transition: background .2s; }
.sci tbody tr:hover { background: rgba(255, 255, 255, .025); }
.sci-i { display: inline-block; min-width: 2.2em; font-family: var(--f-mono); font-size: 11px; font-weight: 400; color: var(--orange-soft); }
.sci-u { display: flex; flex-wrap: wrap; gap: 6px; }
.sci-u a { font-size: .78rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line); color: #E4E4E7; white-space: nowrap; transition: border-color .2s, color .2s; }
.sci-u a:hover { border-color: rgba(255, 122, 26, .6); color: #fff; }
@media (max-width: 767px) {
  .sci thead { display: none; }
  .sci tr { display: block; padding: 14px 16px; border-top: 1px solid var(--line); }
  .sci tbody tr:first-child { border-top: 0; }
  .sci th, .sci td { display: block; padding: 0; border: 0; width: auto !important; }
  .sci td { margin-top: 8px; }
  .sci td::before { content: attr(data-k); display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8B8B95; margin-bottom: 4px; }
}

/* ---------- Advocacy sintético: journey de decisión ---------- */
.st-rec { --c: var(--orange); }
.st-men { --c: var(--neon); }
.st-warn { --c: #F87171; }
.st-omit { --c: #71717A; }
.adv { border-radius: 28px; padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px; }
.adv-seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.adv-seg::-webkit-scrollbar { display: none; }
.adv-seg button { white-space: nowrap; }
@media (max-width: 639px) {
  .adv-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 100%; border-radius: 18px; }
  .adv-seg .pill { display: none; }
  .adv-seg button[aria-pressed="true"] { background: linear-gradient(135deg, var(--violet), #6D28D9); }
}
.adv-journey { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
/* La traza: una línea que une las cuatro etapas a la altura de los puntos */
.adv-journey::before { content: ""; position: absolute; left: 12%; right: 12%; top: 47px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 6px, transparent 6px 12px); }
.adv-journey li { min-width: 0; display: flex; }
.adv-stage {
  position: relative; width: 100%; text-align: left; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: border-color .25s, background .25s;
}
.adv-stage:hover { border-color: var(--line-strong); }
.adv-stage[aria-pressed="true"] { border-color: color-mix(in srgb, var(--c) 70%, transparent); background: color-mix(in srgb, var(--c) 9%, transparent); }
.adv-n { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8B8B95; }
.adv-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--bg-2), 0 0 16px -2px var(--c); position: relative; z-index: 1; }
.adv-q { font-size: .9rem; line-height: 1.4; color: #E4E4E7; flex: 1; }
.adv-st { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; padding: .3rem .6rem; border-radius: 6px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.adv-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.adv-detail, .adv-index { border-radius: 20px; padding: clamp(16px, 2.4vw, 24px); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.adv-k { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8B8B95; }
.adv-big { font-family: var(--f-display); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.3; font-weight: 600; }
.adv-row { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.adv-row p { font-size: .92rem; color: #D4D4D8; }
.adv-score { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.adv-score small { font-size: .4em; color: var(--muted); font-weight: 500; margin-left: 4px; }
.adv-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-items: end; height: 84px; margin-top: auto; }
.adv-bars i { position: relative; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 35%, transparent)); transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.adv-bars b { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font: 400 10px var(--f-mono); color: #8B8B95; }
.adv-w { margin-top: 18px; font-family: var(--f-mono); font-size: 10.5px; line-height: 1.5; color: #8B8B95; }
@media (max-width: 899px) {
  .adv-journey { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .adv-journey::before { left: 22px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .28) 0 6px, transparent 6px 12px); }
  .adv-stage { padding: 14px 14px 14px 44px; }
  .adv-dot { position: absolute; left: 16px; top: 18px; }
  .adv-body { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Equipo: Comms + IA = método ---------- */
.team { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; }
.team-col { border-radius: 22px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.team-col h3 { font-size: 1.15rem; font-weight: 600; }
.team-out { background: linear-gradient(135deg, rgba(255, 122, 26, .12), rgba(124, 58, 237, .08)); border-color: rgba(255, 122, 26, .4); }
.team-op { align-self: center; font-family: var(--f-mono); font-size: 1.5rem; color: var(--orange-soft); opacity: .8; }
@media (max-width: 899px) {
  .team { grid-template-columns: minmax(0, 1fr); }
  .team-op { justify-self: center; line-height: 1; }
}

/* ---------- Reveal (solo lo que empieza fuera de pantalla) ---------- */
/* Solo desplazamiento: el contenido nunca queda invisible aunque la animación no corra */
.pre { transform: translateY(26px); }
.reveal-in { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .pre { transform: none; }
}

/* ---------- Legal: aviso de privacidad, términos y cookies ---------- */
.ph { color: var(--orange-soft); background: rgba(255, 122, 26, .12); border-bottom: 1px dashed rgba(255, 176, 112, .6); padding: 0 .2em; border-radius: 3px; font-weight: 500; } /* dato por completar antes de publicar */
.legal-updated { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(9, 8, 14, .7); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal-aside { position: sticky; top: calc(var(--nav-h) + 40px); display: flex; flex-direction: column; gap: 10px; }
.legal-docs { display: flex; flex-direction: column; gap: 4px; }
.legal-docs a { display: flex; align-items: center; gap: .65rem; padding: .6rem .8rem; border-radius: 12px; color: var(--muted); font-size: .92rem; border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.legal-docs a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.legal-docs a.active { color: #fff; background: rgba(124, 58, 237, .14); border-color: rgba(168, 85, 247, .35); }
.legal-docs a.active svg { color: var(--neon); }
.legal-toc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { display: flex; gap: .6rem; padding: .3rem .8rem; font-size: .85rem; color: var(--muted); line-height: 1.4; transition: color .2s; }
.legal-toc a .mono { font-family: var(--f-display); font-weight: 600; font-size: 11px; color: var(--orange); opacity: .8; padding-top: .15em; }
.legal-toc a:hover { color: #fff; }
.legal-body { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 40px); max-width: 72ch; min-width: 0; }
.legal-body section { display: flex; flex-direction: column; gap: 12px; padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 32px); }
.legal-body section:first-child { border-top: 0; padding-top: 0; }
.legal-body h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.2; display: flex; align-items: baseline; gap: .7rem; }
.legal-n { font-family: var(--f-display); font-size: .8rem; font-weight: 600; color: var(--orange); letter-spacing: .06em; }
.legal-body p, .legal-body li { color: #D4D4D8; }
.legal-body strong { color: #fff; font-weight: 600; }
.legal-body ul { margin: 0; padding-left: 1.2rem; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.legal-body li::marker { color: var(--neon); }
.legal-body a, .legal-note a, .check a, .ck-text a { color: var(--orange-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal-body code { font-family: var(--f-mono); font-size: .85em; color: var(--orange-soft); background: rgba(255, 255, 255, .05); padding: .1em .35em; border-radius: 4px; }
.legal-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.legal-table th { text-align: left; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: .85rem 1rem; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }
.legal-table td { padding: .85rem 1rem; vertical-align: top; color: #D4D4D8; border-bottom: 1px solid var(--line); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td code { white-space: nowrap; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-aside { position: static; }
  .legal-toc { display: none; }
  .legal-aside > .label { display: none; }
  .legal-docs { flex-direction: row; flex-wrap: wrap; }
}
.legal-note { display: flex; align-items: flex-start; gap: .5rem; line-height: 1.5; }
.legal-note svg { margin-top: .2em; }
.foot-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: .88rem; }

/* Casillas de consentimiento del formulario */
.check { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; color: #D4D4D8; line-height: 1.5; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--orange); border-color: var(--orange); }
.check input:checked::after { opacity: 1; }
.check input[aria-invalid="true"] { border-color: rgba(248, 113, 113, .9); background: rgba(248, 113, 113, .12); }

/* Aviso y panel de cookies */
.ck-banner { position: fixed; z-index: 80; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 980px; margin-inline: auto; border-radius: 22px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
@media (prefers-reduced-motion: no-preference) { .ck-banner { animation: ckUp .5s cubic-bezier(.2, .8, .2, 1) both; } @keyframes ckUp { from { transform: translateY(24px); opacity: 0; } } }
.ck-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ck-title { font-weight: 600; color: #fff; }
.ck-text { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-actions .btn { gap: .45rem; }
.ck-accept { border-color: rgba(255, 122, 26, .6); }
.ck-accept:hover { border-color: var(--orange); background: rgba(255, 122, 26, .12); }
.ck-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(9, 8, 14, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ck-panel { width: min(560px, 100%); max-height: 100%; overflow-y: auto; border-radius: 24px; padding: clamp(20px, 4vw, 28px); display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line-strong); }
.ck-mtitle { font-size: 1.35rem; font-weight: 600; }
.ck-x { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: #fff; background: rgba(255, 255, 255, .04); cursor: pointer; }
.ck-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ck-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.switch { position: relative; display: inline-flex; width: 46px; height: 26px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { width: 100%; height: 100%; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid var(--line-strong); transition: background .2s, border-color .2s; }
.switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked + span { background: var(--violet); border-color: var(--neon); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
