/*
 * Landing vibliv.com — sistema de diseño del bloque (v10, 2026-10-14: «la idea», cinco páginas).
 * Un solo lenguaje visual para la web y los vídeos («Unir las mentes»): casi negro con grano,
 * puntos de luz, hilos cian; verde para lo que existe, ámbar para las ideas y su procedencia.
 * CSP `style-src 'self'`: todo el estilo vive aquí, nada en línea. Tipografías autoalojadas en
 * /assets/fonts (Sora para titulares, Atkinson Hyperlegible para texto, IBM Plex Mono para datos;
 * licencia OFL). Oscuro por defecto; claro (tinta sobre papel) si el sistema lo prefiere.
 */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/sora-600.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/sora-700.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/atkinson-hyperlegible-400.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/atkinson-hyperlegible-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/atkinson-hyperlegible-700.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-500.woff2') format('woff2'); }

/* ── tokens (los del vídeo) ─────────────────────────────────────────────────── */
:root {
  --ground: #05060a; --surface: #0d111b; --surface-2: #121826; --line: #2a3142; --line-soft: #1a2030;
  --ink: #f3efe6; --ink-soft: #c2bfb6; --ink-faint: #8a93a6;
  --cyan: #45f3ff; --cyan-soft: rgba(69,243,255,.12); --cyan-ink: #05060a;
  --green: #6dff88; --green-soft: rgba(109,255,136,.12);
  --amber: #ffb86b; --amber-soft: rgba(255,184,107,.14);
  --lav: #b18cff; --lav-soft: rgba(177,140,255,.14);
  --bubble-user: #171d2b; --bubble-vibliv: #0f1521;
  --display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, Menlo, monospace;
  --shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  --grain: .045;
  --radius: 18px;
}
@media (prefers-color-scheme: light) {
  :root {
    --ground: #f6f3ec; --surface: #fffdf8; --surface-2: #efebe1; --line: #d9d3c5; --line-soft: #e6e1d5;
    --ink: #14161c; --ink-soft: #454b57; --ink-faint: #6b7280;
    --cyan: #0a7c87; --cyan-soft: rgba(10,124,135,.10); --cyan-ink: #ffffff;
    --green: #1d7a3e; --green-soft: rgba(29,122,62,.10);
    --amber: #9a5700; --amber-soft: rgba(154,87,0,.10);
    --lav: #5b45b8; --lav-soft: rgba(91,69,184,.10);
    --bubble-user: #ebe6da; --bubble-vibliv: #ffffff;
    --shadow: 0 30px 60px -30px rgba(20,22,28,.35);
    --grain: .035;
  }
}

/* ── base ───────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* grano sutil, como en el vídeo */
body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: var(--cyan); text-decoration-thickness: .06em; text-underline-offset: .16em; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0; }
img, video { max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.measure { max-width: 62ch; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.note { font-size: .88rem; color: var(--ink-faint); margin-top: 14px; }
.mono { font-family: var(--mono); font-size: .86em; }
.eyebrow { font-family: var(--display); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--cyan-ink); padding: 8px 12px; border-radius: 8px; z-index: 60; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(69,243,255,.35); }

/* ── cabecera ───────────────────────────────────────────────────────────────── */
header.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
header.top .wrap { display: flex; align-items: center; gap: 14px 22px; padding: 12px 0; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); flex: 0 0 auto; }
.brand-dot.small { width: 8px; height: 8px; box-shadow: 0 0 8px var(--cyan); }
nav.links { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: .93rem; margin-left: auto; align-items: center; }
nav.links a { color: var(--ink-soft); text-decoration: none; padding: 6px 0; }
nav.links a:hover, nav.links a:focus-visible { color: var(--ink); }
nav.links a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--cyan); }
.top-cta { display: flex; align-items: center; gap: 14px; }
.entrar { color: var(--ink-faint); text-decoration: none; font-size: .9rem; }
.entrar:hover { color: var(--ink); }

/* ── botones y etiquetas de estado ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2; transition: transform .12s ease, filter .18s ease, border-color .18s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary, .btn.btn-primary { background: var(--cyan); color: var(--cyan-ink); box-shadow: 0 10px 30px -14px var(--cyan); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost, .btn.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn.ghost:hover { border-color: var(--ink-faint); }
.btn.small, .btn.btn-small { padding: 8px 14px; font-size: .86rem; }
.btn:disabled { opacity: .6; cursor: default; }
.btn .play { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.chip { display: inline-block; font-family: var(--display); font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid; font-weight: 600; vertical-align: middle; white-space: nowrap; line-height: 1.5; }
.chip.hoy { color: var(--green); border-color: var(--green); background: var(--green-soft); }
.chip.prueba { color: var(--cyan); border-color: var(--cyan); background: var(--cyan-soft); }
.chip.plan { color: var(--amber); border-color: var(--amber); background: var(--amber-soft); border-style: dashed; }
.chip.vision { color: var(--lav); border-color: var(--lav); background: var(--lav-soft); border-style: dotted; }
.legend { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; font-size: .88rem; color: var(--ink-soft); }
.legend .estado { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.chips { display: flex; gap: 8px 18px; flex-wrap: wrap; align-items: center; margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }
.chips .estado { display: inline-flex; gap: 8px; align-items: center; }

/* ── secciones ──────────────────────────────────────────────────────────────── */
main section { padding: 72px 0; border-top: 1px solid var(--line-soft); }
main section.hero { border-top: 0; }
section .head { display: grid; gap: 10px; margin-bottom: 30px; }
.grid { display: grid; gap: 18px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.card .ex { font-size: .92rem; color: var(--ink-soft); border-left: 2px solid var(--amber); padding-left: 12px; }
.card .ex b { color: var(--ink); font-weight: 700; }
.card img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }

/* ── hero de la portada: la red viva detrás del texto ───────────────────────── */
.hero { position: relative; padding: 56px 0 48px; }
.hero.idea { min-height: min(86vh, 820px); display: grid; align-items: center; overflow: hidden; }
.red { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero.idea .wrap { position: relative; z-index: 1; }
.hero.idea h1 { max-width: 15ch; margin-top: 12px; font-size: clamp(2.3rem, 6.4vw, 4.6rem); text-shadow: 0 2px 30px var(--ground); }
.hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); margin-top: 20px; max-width: 58ch; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .fine { margin-top: 16px; font-size: .9rem; }
.hero .fine .chip { margin-right: 6px; }
.hero.idea .lede, .hero.idea .fine { text-shadow: 0 1px 18px var(--ground); }
.hero h1 { margin-top: 10px; }

/* imagen fija: se ve sin JS y con «reducir movimiento»; red.js pone html.red-on al arrancar y entonces manda el canvas */
.still { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.still img { width: 100%; height: 100%; object-fit: cover; display: block; }
.red-on .still { display: none; }
@media (prefers-reduced-motion: reduce) {
  canvas.red, canvas.mini { display: none; }
  .still, .red-on .still { display: block; }
}

/* ── «lo que ya pasó, y lo que falta»: dos columnas con una miniescena cada una ─ */
.dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.dos-art { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line-soft); overflow: hidden; margin: 0 0 16px; }
canvas.mini { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dos p { color: var(--ink-soft); font-size: 1.05rem; }
.dos p b { color: var(--ink); font-weight: 700; }

/* ── el vídeo ───────────────────────────────────────────────────────────────── */
.video-card { position: relative; display: block; width: 100%; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #05060a; aspect-ratio: 16 / 9; padding: 0; cursor: pointer; }
.video-card img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-card .play-big { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 12px; background: rgba(5,6,10,.72); color: #f3efe6; border: 1px solid rgba(243,239,230,.25); border-radius: 999px; padding: 14px 22px 14px 18px; font-family: var(--display); font-weight: 600; font-size: 1rem; backdrop-filter: blur(6px); white-space: nowrap; }
.video-card .play-big::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #45f3ff; }
.video-card:hover .play-big, .video-card:focus-visible .play-big { background: rgba(5,6,10,.9); }
.video-caption { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: .9rem; color: var(--ink-faint); }
dialog.video { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1180px); width: 100%; }
dialog.video::backdrop { background: rgba(5,6,10,.9); }
dialog.video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #05060a; color-scheme: dark; }
dialog.video .cerrar { position: absolute; right: 0; top: 0; background: transparent; border: 1px solid rgba(243,239,230,.35); color: #f3efe6; border-radius: 999px; padding: 6px 14px; font: inherit; cursor: pointer; }
dialog.video form { position: relative; margin: 0; padding-top: 48px; }

/* ── las cuatro piezas, alternas ────────────────────────────────────────────── */
.piece { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; padding: 34px 0; }
.piece + .piece { border-top: 1px solid var(--line-soft); }
.piece:nth-child(even) .piece-art { order: -1; }
.piece-art { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line-soft); overflow: hidden; margin: 0; }
.piece h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -0.01em; }
.piece p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 12px; max-width: 48ch; }
.piece .chips { margin-top: 16px; }

/* ── lo que hay hoy, dicho claro ────────────────────────────────────────────── */
.tablero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tablero > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.tablero h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; letter-spacing: .02em; }
.tablero ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.tablero li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.tablero li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; }
.tablero .si li::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.tablero .no li::before { border: 1.5px dashed var(--amber); }
.tablero li small { display: block; color: var(--ink-faint); font-size: .84rem; }
.corte { font-family: var(--mono); font-size: .8rem; color: var(--ink-faint); margin-top: 16px; }

/* ── sin empresa detrás ─────────────────────────────────────────────────────── */
.cita { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); max-width: 34ch; margin-top: 26px; padding-left: 20px; border-left: 2px solid var(--amber); font-style: italic; }
.cita + .firma { color: var(--ink-faint); font-size: .9rem; margin-top: 10px; padding-left: 22px; }

/* ── sumarse ────────────────────────────────────────────────────────────────── */
.salidas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: salida; }
.salida { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.salida::before { counter-increment: salida; content: counter(salida); font-family: var(--mono); color: var(--cyan); font-size: .9rem; }
.salida p { color: var(--ink-soft); font-size: .96rem; }
.salida .btn { justify-self: start; margin-top: 4px; }

/* ── el nodo: teléfono, pasos, niveles ──────────────────────────────────────── */
.hero .wrap.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.phone { justify-self: center; width: min(380px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 34px; padding: 14px; box-shadow: var(--shadow); margin: 0; }
.phone .screen { background: var(--ground); border-radius: 24px; padding: 14px 12px 12px; display: grid; gap: 10px; }
.phone .bar { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--ink-faint); padding: 0 4px 4px; }
.msg { max-width: 92%; padding: 10px 12px; border-radius: 14px; font-size: .86rem; line-height: 1.4; border: 1px solid var(--line-soft); }
.msg.user { background: var(--bubble-user); justify-self: end; border-bottom-right-radius: 4px; }
.msg.vibliv { background: var(--bubble-vibliv); justify-self: start; border-bottom-left-radius: 4px; }
.msg time { display: block; font-family: var(--mono); font-size: .68rem; color: var(--ink-faint); margin-bottom: 3px; }
.msg .opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg .opts span { border: 1px solid var(--cyan); color: var(--cyan); border-radius: 999px; padding: 3px 9px; font-size: .74rem; font-family: var(--display); font-weight: 600; }
.msg .opts span.sel { background: var(--cyan); color: var(--cyan-ink); }
.phone .caption { text-align: center; font-size: .78rem; color: var(--ink-faint); padding-top: 8px; }
.mini-chat { display: grid; gap: 8px; }
.mini-chat .msg { max-width: 100%; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: paso; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 8px; }
.step::before { counter-increment: paso; content: counter(paso); font-family: var(--mono); color: var(--cyan); font-size: 1.1rem; }
.step h3 { font-size: 1rem; }
.step p { font-size: .9rem; color: var(--ink-soft); }
.dial { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 22px; background: var(--surface); }
.dial > div { padding: 14px 16px; border-right: 1px solid var(--line-soft); display: grid; gap: 4px; }
.dial > div:last-child { border-right: 0; }
.dial b { font-family: var(--display); }
.dial small { color: var(--ink-faint); font-size: .8rem; }
.dial .max { background: var(--cyan-soft); }
.vis { margin-top: 18px; }

/* ── estado: tabla y preguntas ──────────────────────────────────────────────── */
.tablewrap table { min-width: 560px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-family: var(--display); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
dl.faq { display: grid; gap: 16px; margin: 0; }
dl.faq dt { font-family: var(--display); font-weight: 600; }
dl.faq dd { margin: 4px 0 0; color: var(--ink-soft); }

/* ── participa: descargas y formulario ──────────────────────────────────────── */
.dl-list { margin-top: 6px; }
.dl-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.dl-req { font-size: .9rem; color: var(--ink-soft); }
.dl-meta { font-family: var(--mono); font-size: .78rem; color: var(--ink-faint); }
.dl-sha { font-size: .8rem; color: var(--ink-faint); }
.dl-sha code { font-family: var(--mono); }
.form { display: grid; gap: 10px; margin-top: 6px; }
.form label { display: grid; gap: 4px; font-size: .88rem; color: var(--ink-soft); }
.form input, .form textarea { font: inherit; font-size: .95rem; color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; width: 100%; }
.form input:focus, .form textarea:focus { border-color: var(--cyan); outline: none; }
.form textarea { resize: vertical; }
.form .note { margin-top: 0; }
.form .radios { border: 0; padding: 0; margin: 0; display: flex; gap: 14px; flex-wrap: wrap; font-size: .92rem; }
.form .radios legend { padding: 0; margin-bottom: 4px; }
.form .radios label { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.form input[type=radio] { width: auto; accent-color: var(--cyan); }

/* ── /vision: relato, vídeos, bloques ───────────────────────────────────────── */
.prosa { max-width: 72ch; }
.prosa p { margin: 0 0 18px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.prosa .lead { color: var(--ink); font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.prosa .pregunta { font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--ink); line-height: 1.4; margin: 26px 0 0; }
.prosa .firma { color: var(--ink-faint); font-size: .95rem; margin-top: 8px; }
.prosa strong { color: var(--ink); }
.prosa .kicker { color: var(--amber); font-weight: 700; }
.vvideo { width: min(100%, 820px); margin: 0 0 28px; }
.vvideo video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; color-scheme: dark; background: #05060a; border: 1px solid var(--line); border-radius: 16px; }
.vvideo figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 11px 2px 0; color: var(--ink-faint); font-size: .9rem; line-height: 1.55; }
.vvideo .chip { flex: 0 0 auto; }
.bloques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bloque { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; gap: 6px; overflow-wrap: anywhere; }
.bloque h3 { font-size: 1rem; display: flex; align-items: center; gap: 9px; }
.bloque h3::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); flex: 0 0 auto; }
.bloque p { color: var(--ink-soft); font-size: .93rem; }
.bloque.ancho { grid-column: 1 / -1; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; padding: 0; }
.tag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; color: var(--ink); background: var(--surface); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.tag.soft { color: var(--ink-faint); border-style: dashed; }
.tag.soft::before { background: var(--amber); box-shadow: none; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 26px; max-width: 860px; }
.ticks li { position: relative; padding-left: 21px; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.vision-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.vision-hero .vvideo { width: 100%; margin: 0; }
.cierre { text-align: center; max-width: 720px; margin: 0 auto; }
.cierre .sign { font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--ink); }
.cierre .ctas { justify-content: center; margin-top: 24px; }

/* ── pie ────────────────────────────────────────────────────────────────────── */
footer.foot { padding: 36px 0 60px; border-top: 1px solid var(--line-soft); color: var(--ink-faint); font-size: .9rem; }
footer.foot .wrap { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; }
footer.foot a { color: var(--ink-soft); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero .wrap.split, .vision-hero .wrap { grid-template-columns: 1fr; }
  .grid.c4, .grid.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .salidas { grid-template-columns: 1fr; }
  .piece { grid-template-columns: 1fr; gap: 22px; }
  .piece:nth-child(even) .piece-art { order: 0; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 110px; }
  header.top .wrap { padding: 10px 0; }
  nav.links { order: 3; width: 100%; margin-left: 0; gap: 2px 14px; font-size: .88rem; }
  .top-cta { margin-left: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  main section { padding: 56px 0; }
  .grid.c4, .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  .steps, .dial { grid-template-columns: 1fr; }
  .dial > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .dial > div:last-child { border-bottom: 0; }
  .dos, .tablero, .bloques, .ticks { grid-template-columns: 1fr; }
  .hero.idea { min-height: min(78vh, 700px); }
  .hero.idea h1 { font-size: clamp(2rem, 10vw, 2.6rem); }
  .wrap, .narrow { width: calc(100% - 32px); }
  .video-card .play-big { padding: 10px 16px 10px 14px; font-size: .9rem; }
  /* el botón flotante del lanzador (52 px, abajo a la derecha) no debe tapar el pie */
  footer.foot { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .msg { animation: pop .5s ease both; }
  .hero .msg:nth-child(3) { animation-delay: .15s; } .hero .msg:nth-child(4) { animation-delay: .3s; } .hero .msg:nth-child(5) { animation-delay: .45s; }
  @keyframes pop { from { opacity: .001; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
