/* ==========================================================================
   Light AI Solutions — light-ai.net · v0.2
   Paleta oficial del producto Inyector. Firma: el "conducto de inyección".
   Dos experiencias diseñadas: escritorio y móvil/táctil (no una adaptada).
   ========================================================================== */

/* ---------- Fuentes (auto-alojadas; rutas relativas al CSS) ---------- */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg-0: #0b0f17; --bg-1: #0f1521;
  --ink: #e8edf7; --ink-dim: #93a0b8;
  --brand-a: #6d8bff; --brand-b: #9b6dff; --alert: #ff6d8b;
  --line-08: rgba(255,255,255,.08); --line-12: rgba(255,255,255,.12); --line-16: rgba(255,255,255,.16);
  --grad: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  --font-mono: ui-monospace, "Ubuntu Mono", "Cascadia Mono", Menlo, monospace;
  --wrap: 1120px; --wrap-narrow: 780px;
  --radius: 16px; --radius-s: 10px;
  --sp-1: .5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2.5rem; --sp-5: 4rem; --sp-6: 6.5rem;
  --conduit-x: 2rem;
  --tap: 44px; /* objetivo táctil mínimo */
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg-0); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
p a, .eula-note a { color: var(--brand-a); text-decoration: underline; text-underline-offset: 3px; }
p a:hover, .eula-note a:hover { color: var(--brand-b); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 var(--sp-2); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 var(--sp-2); }
:focus-visible { outline: 2px solid var(--brand-a); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-3); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--grad); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius-s) 0; }
.skip:focus { left: 0; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.eyebrow { font-family: var(--font-display); font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-a); margin-bottom: var(--sp-1); }

/* ---------- Marcas vivas (SVG inline) ---------- */
.brand-mark svg { width: 28px; height: 28px; }
.eco-mark svg { width: 72px; height: 72px; }
.foot-mark svg { width: 34px; height: 34px; }
.eco-mark { display: inline-block; margin-bottom: var(--sp-2); filter: drop-shadow(0 0 22px rgba(125,211,255,.35)); }
.las-mark .orbit { transform-box: view-box; transform-origin: 50% 50%; animation: lasOrbit 26s linear infinite; }
.las-mark .orbit-b { animation-duration: 34s; animation-direction: reverse; }
.las-mark .core { transform-box: fill-box; transform-origin: center; animation: lasPulse 5s ease-in-out infinite; }
@keyframes lasOrbit { to { transform: rotate(360deg); } }
@keyframes lasPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }

.hero-bolt svg { width: 56px; height: 56px; }
.hero-bolt { display: inline-flex; filter: drop-shadow(0 0 16px rgba(155,109,255,.55)); animation: boltGlow 3.6s ease-in-out infinite; }
.bolt-path { transform-origin: 128px 128px; animation: boltPulse 3.6s ease-in-out infinite; }
@keyframes boltGlow { 0%,100% { filter: drop-shadow(0 0 12px rgba(155,109,255,.4)); } 50% { filter: drop-shadow(0 0 24px rgba(109,139,255,.75)); } }
@keyframes boltPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.edition-icon svg { width: 44px; height: 44px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-0) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.top.scrolled { border-bottom-color: var(--line-08); }
.nav { display: flex; align-items: center; gap: var(--sp-3); padding-block: .65rem; min-height: var(--tap); }
.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; padding-block: .3rem; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .01em; white-space: nowrap; }
.nav-links { display: flex; gap: var(--sp-3); }
.nav-links a { color: var(--ink-dim); font-size: .95rem; transition: color .2s; padding: .55rem .1rem; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-2); }
.lang-switch {
  font-family: var(--font-display); font-size: .85rem; font-weight: 500; color: var(--ink-dim);
  border: 1px solid var(--line-12); padding: .45rem .75rem; border-radius: 999px;
  min-height: 36px; display: inline-flex; align-items: center;
  transition: color .2s, border-color .2s;
}
.lang-switch:hover { color: var(--ink); border-color: var(--line-16); }

/* Botón menú (solo móvil) */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-12); border-radius: var(--radius-s);
  width: var(--tap); height: var(--tap); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-box { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle-bar, .nav-toggle-box::before, .nav-toggle-box::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle-box::before { top: 0; }
.nav-toggle-bar { top: 6px; }
.nav-toggle-box::after { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box::after { top: 6px; transform: rotate(-45deg); }

/* Panel de navegación móvil */
.mobile-nav {
  display: none; flex-direction: column; padding: .4rem var(--sp-3) var(--sp-2);
  border-top: 1px solid var(--line-08);
  background: color-mix(in srgb, var(--bg-0) 94%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.mobile-nav a {
  padding: .85rem .2rem; min-height: var(--tap); display: flex; align-items: center;
  color: var(--ink); font-family: var(--font-display); font-size: 1.05rem;
  border-bottom: 1px solid var(--line-08);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav-dl { color: var(--brand-a) !important; font-weight: 700; }
.mobile-nav-lang { color: var(--ink-dim) !important; font-size: .95rem !important; }
.mobile-nav.open { display: flex; animation: navDrop .28s ease both; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  padding: .8rem 1.5rem; min-height: var(--tap); border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 24px rgba(109,139,255,.28); position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .55s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 32px rgba(155,109,255,.38); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: var(--line-16); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand-a); }
.btn-small { padding: .5rem 1.1rem; font-size: .9rem; min-height: 38px; }
.btn-soon { background: var(--bg-1); color: var(--ink-dim); border: 1px dashed var(--line-16); cursor: default; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); display: inline-block; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- Conducto de inyección (firma, con progreso al scroll) ---------- */
.has-conduit { position: relative; }
.conduit { position: absolute; top: 0; bottom: 0; left: var(--conduit-x); width: 2px; }
.conduit::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0, var(--brand-a) 8%, var(--brand-b) 55%, var(--brand-a) 92%, transparent 100%);
  opacity: .18;
}
.conduit::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: var(--cp, 0%);
  background: linear-gradient(180deg, var(--brand-a), var(--brand-b));
  opacity: .65; box-shadow: 0 0 14px rgba(155,109,255,.5);
  mask-image: linear-gradient(180deg, transparent 0, #000 3%, #000 100%);
  transition: height .12s linear;
}
.sect { position: relative; padding-block: var(--sp-6); }
.sect::before {
  content: ""; position: absolute; left: calc(var(--conduit-x) - 5px); top: var(--sp-6);
  width: 12px; height: 12px; border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 0 4px var(--bg-0), 0 0 18px rgba(155,109,255,.55);
}
.sect-panel { background: var(--bg-1); }
.sect-panel::before { box-shadow: 0 0 0 4px var(--bg-1), 0 0 18px rgba(155,109,255,.55); }
.hero::before { display: none; }
.sect-head { max-width: 620px; margin-bottom: var(--sp-4); }
.sect-lead { color: var(--ink-dim); font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { padding-block: var(--sp-5) var(--sp-6); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: -30% -20% auto auto;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,139,255,.16), rgba(155,109,255,.07) 45%, transparent 70%);
  pointer-events: none; animation: ambient 16s ease-in-out infinite alternate;
}
@keyframes ambient { from { transform: translate(0,0) scale(1); } to { transform: translate(-6%,5%) scale(1.12); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-4); align-items: center; position: relative; }
.hero-title { display: flex; align-items: center; gap: .8rem; font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 700; margin-bottom: .4rem; }
.hero-tagline { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: var(--sp-2); }
.lead { color: var(--ink-dim); font-size: 1.125rem; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.cta-sub { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-dim); margin-top: var(--sp-2); }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: var(--sp-2) 0 0; }
.trust li { display: flex; align-items: center; gap: .45rem; color: var(--ink-dim); font-size: .92rem; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex: none; }

/* Secuencia de entrada orquestada del hero */
.h-seq { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: calc(var(--i, 0) * 95ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.no-js .h-seq { opacity: 1; transform: none; animation: none; }

/* Ventana simulada de la app */
.window {
  background: var(--bg-1); border: 1px solid var(--line-12); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(109,139,255,.06);
}
.window-bar { display: flex; align-items: center; gap: .45rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line-08); background: rgba(255,255,255,.02); }
.window-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-16); }
.window-bar .dot:first-child { background: var(--alert); opacity: .8; }
.window-title { margin-left: .5rem; font-family: var(--font-mono); font-size: .75rem; color: var(--ink-dim); }

/* Capturas y placeholders */
.shot { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.shot-pending {
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 1rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(109,139,255,.10), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(155,109,255,.10), transparent 55%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.02) 14px 15px);
}
.shot-pending span { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-dim); border: 1px dashed var(--line-16); padding: .45rem .9rem; border-radius: 999px; }

/* Marco de teléfono para la captura móvil (retrato) */
.phone-frame {
  width: min(240px, 70%); margin: var(--sp-2) auto; padding: 10px;
  border: 1px solid var(--line-12); border-radius: 28px; background: #070a10;
  box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(109,139,255,.06); position: relative;
}
.phone-frame::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 56px; height: 5px; border-radius: 3px; background: var(--line-12); }
.phone-frame .shot, .phone-frame .shot-pending { aspect-ratio: 9 / 19; border-radius: 20px; }
.phone-frame .shot { object-position: top; }

/* ---------- Pasos ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.steps > li { counter-increment: step; position: relative; background: var(--bg-1); border: 1px solid var(--line-08); border-radius: var(--radius); padding: var(--sp-3); padding-top: var(--sp-4); }
.steps > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: var(--sp-2); left: var(--sp-3);
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.steps h3 { margin-top: .4rem; }
.steps p { color: var(--ink-dim); font-size: .97rem; margin: 0; }

/* ---------- Tarjetas y grids ---------- */
.grid { display: grid; gap: var(--sp-3); }
.features-grid { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--bg-0); border: 1px solid var(--line-08); border-radius: var(--radius); padding: var(--sp-3); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.card:hover { border-color: rgba(109,139,255,.35); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.feature .icon {
  width: 42px; height: 42px; border-radius: var(--radius-s); display: grid; place-items: center; margin-bottom: var(--sp-2);
  background: linear-gradient(135deg, rgba(109,139,255,.14), rgba(155,109,255,.14));
  border: 1px solid var(--line-08); transition: transform .25s ease;
}
.feature:hover .icon { transform: scale(1.08) rotate(-3deg); }
.feature .icon svg { width: 22px; height: 22px; stroke: url(#lasgrad); }
.feature p { color: var(--ink-dim); font-size: .97rem; margin: 0; }

.gallery-title { margin-top: var(--sp-5); font-size: 1.1rem; color: var(--ink-dim); font-weight: 500; }
.gallery-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
.shot-figure { margin: 0; border: 1px solid var(--line-08); border-radius: var(--radius); overflow: hidden; background: var(--bg-0); }
.shot-figure figcaption { font-size: .85rem; color: var(--ink-dim); padding: .7rem .9rem; border-top: 1px solid var(--line-08); }
.shot-figure-phone { background: transparent; border: 0; overflow: visible; }
.shot-figure-phone figcaption { border-top: 0; text-align: center; }

/* ---------- Honestidad ---------- */
.honesty-list { display: grid; gap: var(--sp-2); }
.honesty-item { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2); padding: var(--sp-2) 0; border-bottom: 1px solid var(--line-08); }
.honesty-item:last-child { border-bottom: 0; }
.honesty-item .tick {
  width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: .15rem;
  display: grid; place-items: center; border: 1px solid var(--line-12); color: var(--brand-a);
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
}
.honesty-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.honesty-item p { color: var(--ink-dim); margin: 0; font-size: .97rem; }

/* ---------- Ecosistema ---------- */
.eco { text-align: center; }
.eco-body { color: var(--ink-dim); max-width: 60ch; margin-inline: auto; }
.eco-points { grid-template-columns: repeat(3, 1fr); margin-top: var(--sp-4); text-align: left; }
.eco-points .card h3 { font-size: 1rem; }
.eco-points .card p { color: var(--ink-dim); font-size: .92rem; margin: 0; }

/* ---------- Ediciones ---------- */
.editions-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
.edition-inherit { font-size: .88rem; color: var(--brand-a); margin: .1rem 0 .5rem; }
.checks .li-more { font-style: italic; color: var(--ink-dim); }
.checks .li-more::before { content: "+"; font-style: normal; }
.edition-head { display: flex; align-items: center; gap: .9rem; margin-bottom: var(--sp-2); }
.edition-head h3 { margin: 0 0 .3rem; }
.edition-icon { border-radius: var(--radius-s); display: block; }
.edition-free { border-color: rgba(109,139,255,.45); position: relative; }
.edition-free::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: .5;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.edition-tag { color: var(--ink-dim); font-size: .97rem; }
.badge { display: inline-block; font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.badge-free { background: var(--grad); color: #fff; }
.badge-soon { border: 1px solid var(--brand-b); color: var(--brand-b); }
.checks { list-style: none; padding: 0; margin: var(--sp-2) 0; display: grid; gap: .55rem; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .95rem; color: var(--ink-dim); }
.checks li::before { content: "✓"; color: var(--brand-a); font-weight: 700; font-family: var(--font-display); }
.checks-soon li::before { content: "→"; color: var(--brand-b); }
.edition-cta { width: 100%; margin-top: var(--sp-1); }

.philosophy {
  margin-top: var(--sp-4); text-align: center; border: 1px solid var(--line-08); border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-3);
  background: radial-gradient(600px 200px at 50% 0%, rgba(109,139,255,.08), transparent 70%), var(--bg-1);
}
.philosophy h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
.philosophy p { color: var(--ink-dim); max-width: 58ch; margin-inline: auto; }
.philosophy-note { font-size: .85rem; font-family: var(--font-mono); opacity: .75; margin-bottom: 0; }

.training, .biz { margin-top: var(--sp-3); display: flex; gap: var(--sp-3); align-items: center; justify-content: space-between; border: 1px dashed var(--line-12); border-radius: var(--radius); padding: var(--sp-3); }
.training h3, .biz h3 { font-size: 1.05rem; }
.training p, .biz p { color: var(--ink-dim); font-size: .95rem; margin: 0; max-width: 60ch; }
.biz { margin-top: var(--sp-4); text-align: left; }

/* ---------- Descarga ---------- */
.dl h2 { text-align: center; }
.dl-soon { text-align: center; border: 1px solid var(--line-08); border-radius: var(--radius); padding: var(--sp-4) var(--sp-3); background: var(--bg-0); margin-bottom: var(--sp-3); }
.dl-soon h3 { display: inline-flex; align-items: center; gap: .6rem; }
.dl-soon p { color: var(--ink-dim); max-width: 58ch; margin: var(--sp-1) auto 0; }
.dl-ready { text-align: center; margin-bottom: var(--sp-3); }
.install h3 { font-size: 1.05rem; }
.install p { color: var(--ink-dim); font-size: .95rem; }
.code { background: #070a10; border: 1px solid var(--line-08); border-radius: var(--radius-s); padding: .9rem 1.1rem; overflow-x: auto; font-family: var(--font-mono); font-size: .9rem; color: var(--ink); }
.sha { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: var(--sp-2); font-family: var(--font-mono); font-size: .8rem; color: var(--ink-dim); }
.sha code { word-break: break-all; color: var(--ink); }
.sha button { font-family: var(--font-display); font-size: .78rem; cursor: pointer; background: none; border: 1px solid var(--line-12); color: var(--ink-dim); padding: .45rem .8rem; min-height: 36px; border-radius: 999px; }
.sha button:hover { border-color: var(--brand-a); color: var(--ink); }
.eula-note { font-size: .88rem; color: var(--ink-dim); margin-top: var(--sp-2); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line-08); border-radius: var(--radius-s); background: var(--bg-1); margin-bottom: .7rem; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 1.2rem; min-height: var(--tap);
  font-family: var(--font-display); font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--brand-a); flex: none; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--ink-dim); font-size: .97rem; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line-08); padding-block: var(--sp-4) var(--sp-2); background: var(--bg-0); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-3); }
.foot-mark { display: inline-block; margin-bottom: .6rem; }
.foot-wordmark { display: block; height: 30px; width: auto; margin-bottom: .45rem; }
.foot-mail { display: flex; flex-direction: column; gap: .12rem; margin: 0 0 .55rem; }
.foot-mail-tag { font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-dim); opacity: .85; }
.foot-notrack { color: var(--ink-dim); font-size: .85rem; }
.foot-col { display: grid; gap: .2rem; align-content: start; }
.foot-col h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: .3rem; }
.foot-col a { color: var(--ink-dim); font-size: .93rem; padding-block: .45rem; min-height: 36px; display: flex; align-items: center; }
.foot-col a:hover { color: var(--ink); }
.foot-rights { margin-top: var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid var(--line-08); }
.foot-rights p { color: var(--ink-dim); font-size: .82rem; margin: 0; }

/* ---------- Legal ---------- */
.legal-page { padding-block: var(--sp-5); }
.legal-page .wrap { max-width: 760px; }
.legal-back { display: inline-flex; align-items: center; min-height: var(--tap); margin-bottom: var(--sp-2); color: var(--ink-dim); font-size: .9rem; }
.legal-back:hover { color: var(--ink); }
.legal-body h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.legal-body h2 { font-size: 1.25rem; margin-top: var(--sp-4); }
.legal-body blockquote { margin: var(--sp-2) 0; padding: var(--sp-2) var(--sp-3); border-left: 3px solid; border-image: var(--grad) 1; background: var(--bg-1); border-radius: 0 var(--radius-s) var(--radius-s) 0; color: var(--ink-dim); }
.legal-body blockquote p { margin: 0; }
.legal-body hr { border: 0; border-top: 1px solid var(--line-08); margin: var(--sp-3) 0; }
.legal-body ul { color: var(--ink-dim); padding-left: 1.2rem; }
.legal-body strong { color: var(--ink); }
.legal-body .table-wrap { overflow-x: auto; margin: var(--sp-2) 0; border: 1px solid var(--line-08); border-radius: var(--radius-s); }
.legal-body table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.legal-body th, .legal-body td { padding: .6rem .8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-08); }
.legal-body th { font-family: var(--font-display); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: rgba(255,255,255,.03); }
.legal-body td { color: var(--ink-dim); }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body td strong, .legal-body td code { color: var(--ink); }

/* ---------- Código fuente de terceros y página «Seguridad» ---------- */
.legal-source { margin: 0 0 var(--sp-3); padding: var(--sp-2) var(--sp-3); border-left: 3px solid; border-image: var(--grad) 1; background: var(--bg-1); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.legal-source a { color: var(--brand-a); text-decoration: underline; text-underline-offset: 3px; }
.legal-source a:hover { color: var(--brand-b); }
.sec-list { display: grid; gap: var(--sp-2); margin-top: var(--sp-2); }
.sec-advisory { padding: var(--sp-3); border: 1px solid var(--line-08); border-radius: var(--radius-s); background: var(--bg-1); scroll-margin-top: 5rem; }
.sec-advisory h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.sec-advisory p { color: var(--ink-dim); }
.sec-advisory > :last-child { margin-bottom: 0; }
.sec-date { font-size: .85rem; margin: 0 0 var(--sp-2); }
.sec-date code { color: var(--ink); white-space: nowrap; }
.sec-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr)); gap: .7rem 1.2rem; margin: 0 0 var(--sp-2); }
.sec-meta dt { font-family: var(--font-display); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.sec-meta dd { margin: .2rem 0 0; color: var(--ink); }
.sev { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .55rem; border-radius: 999px; border: 1px solid currentColor; }
.sev-critical, .sev-high { color: var(--alert); }
.sev-medium { color: var(--brand-b); }
.sev-low { color: var(--brand-a); }
.sec-empty { color: var(--ink-dim); font-style: italic; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: var(--sp-4); }
.nf .code-glow { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.nf p { color: var(--ink-dim); }
.nf .langs { display: flex; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-2); flex-wrap: wrap; }

/* ---------- Reveal (scroll) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   EXPERIENCIA MÓVIL / TÁCTIL — diseñada, no adaptada
   ========================================================================== */
/* La cabecera completa (dos logos, los enlaces y el botón) necesita unos 1020 px en español: por debajo de 1080 px,
   los enlaces y el botón pasan al menú, como en tableta. Va aquí, después de `.btn`, para que no la anule. */
@media (max-width: 1079px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 960px) {
  :root { --conduit-x: 1.05rem; --sp-6: 5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .hero-visual { order: 2; }
  .features-grid, .editions-grid, .eco-points { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(78%, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-top: var(--sp-4); }
  .hero-title { font-size: clamp(2.4rem, 12vw, 3rem); }
  .hero-bolt svg { width: 44px; height: 44px; }
  .lead { font-size: 1.05rem; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .features-grid, .editions-grid, .eco-points { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: var(--sp-2); }
  .training, .biz { flex-direction: column; align-items: stretch; text-align: left; }
  .training .btn, .biz .btn { width: 100%; }
  .sect { padding-block: var(--sp-5); }
  .sect::before { top: var(--sp-5); }
  .philosophy { padding: var(--sp-3) var(--sp-2); }
  /* Galería: carrusel táctil con snap */
  .gallery-scroller { margin-inline: calc(var(--sp-3) * -1); padding-inline: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery-scroller::-webkit-scrollbar { display: none; }
  .gallery-grid { display: flex; gap: var(--sp-2); }
  .gallery-grid > * { flex: 0 0 84%; scroll-snap-align: center; }
  .shot-figure-phone { flex-basis: 62%; }
}

/* ---------- Preferencias del usuario ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .h-seq { opacity: 1; transform: none; animation: none; }
  .btn, .card, .feature .icon { transition: none; }
  .btn-primary::after { display: none; }
  .pulse { animation: none; opacity: 1; }
  .las-mark .orbit, .las-mark .core, .hero-bolt, .bolt-path { animation: none; }
  .hero::after { animation: none; }
  .conduit::after { transition: none; }
  .mobile-nav.open { animation: none; }
}
@media print {
  .top, .foot, .conduit, .sect::before, .mobile-nav { display: none; }
  body { background: #fff; color: #000; }
}

/* ===== Lightbox de capturas (v0.9.0) ===== */
img.shot.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-3);
  background: rgba(6, 9, 14, .92);
  cursor: zoom-out;
  animation: lbFade .18s ease-out;
}
.lightbox img {
  max-width: min(1920px, 94vw);
  max-height: 92vh;
  width: auto; height: auto;
  border-radius: var(--radius-s);
  cursor: default;
}
.lightbox-close {
  position: absolute; top: var(--sp-2); right: var(--sp-2);
  width: var(--tap); height: var(--tap);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; line-height: 1;
  color: var(--ink); background: rgba(255,255,255,.06);
  border: 1px solid var(--line-12); border-radius: 50%;
  cursor: pointer;
}
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255,255,255,.14); }
body.lightbox-open { overflow: hidden; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lightbox { animation: none; } }


/* ===== Banda aspiracional (v0.10.0) ===== */
.sect-spark { padding-top: 3.5rem; }
.spark-grid { list-style: none; padding: 0; margin: 0; }
.spark-item { border: 1px solid var(--line-16); border-radius: 14px; padding: 1.1rem 1.2rem; background: linear-gradient(160deg, rgba(109,139,255,.06), rgba(155,109,255,.04)); }
.spark-item h3 { font-size: 1.02rem; margin: 0 0 .35rem; }
.spark-audiences { margin-top: var(--sp-4); }
.spark-audiences-grid { grid-template-columns: repeat(3, 1fr); text-align: left; }
.spark-audiences-grid .card h3 { font-size: 1.02rem; }
.spark-audiences-grid .card p { color: var(--ink-dim); font-size: .92rem; margin: 0; }
/* En móvil, una tarjeta debajo de otra. Va aquí, después de la regla de tres columnas, para que la anule. */
@media (max-width: 640px) { .spark-audiences-grid { grid-template-columns: 1fr; } }
.spark-item p { margin: 0; color: var(--ink-dim); font-size: .95rem; }
.spark-close { text-align: center; margin-top: 1.6rem; color: var(--ink-dim); font-style: italic; }

/* ===== Caso: Inyector en tu editor (v0.10.0) ===== */
/* El mínimo de columna nunca es mayor que la caja: a 320 px, la columna ocupa el ancho disponible y no invade el margen. */
.edcase-grid { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.2rem; counter-reset: edstep; }
.edcase-frame { position: relative; margin: 0; }
.edcase-frame .shot { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-16); display: block; }
.edcase-step { position: absolute; top: -.7rem; left: -.4rem; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #6d8bff, #9b6dff); color: #0b0f17; font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,.45); }
.edcase-frame figcaption { margin-top: .55rem; font-size: .92rem; color: var(--ink-dim); }
.edcase-frame figcaption strong { color: var(--ink); }
.edcase-body { max-width: 720px; margin: 2rem auto 0; }
.edcase-limits { color: var(--ink-dim); font-size: .92rem; margin-top: 1rem; }
.edcase-guide { margin-top: .4rem; font-weight: 500; }

/* ===== Nadie se queda atrás (v0.10.0) ===== */
.nofear { text-align: left; border: 1px solid var(--line-16); border-radius: 16px; padding: 1.4rem 1.5rem; margin: 1.6rem 0; background: rgba(255,255,255,.02); }
.nofear h3 { margin: 0 0 .3rem; }
.nofear-lead { color: var(--ink-dim); margin: 0 0 1rem; }
.nofear-grid { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: .9rem 1.2rem; }
.nofear-item h4 { margin: 0 0 .25rem; font-size: .98rem; }
.nofear-item p { margin: 0; color: var(--ink-dim); font-size: .92rem; }

/* ── Cintas «recaptura pendiente» · ciclo #24 · PROVISIONAL ──────────────
   Se activan con "recapture": true en config.json y se apagan poniéndolo a
   false cuando las capturas se repongan. Las imágenes no se modifican: la
   marca es solo presentación, y se ve a metros para que nada con cinta
   pueda publicarse por descuido. Este bloque puede quedarse: inerte sin
   la bandera.                                                             */
.shot-recapture-wrap { display: block; position: relative; }
.shot-figure.shot-recapture, .edcase-frame.shot-recapture { position: relative; }
.shot-recapture img.shot, img.shot.shot-recapture { filter: grayscale(.35) contrast(.92); }
.shot-recapture-wrap::after, .shot-figure.shot-recapture::after, .edcase-frame.shot-recapture::after {
  content: "RECAPTURA PENDIENTE · PENDING RECAPTURE";
  position: absolute; left: -14%; right: -14%; top: 42%; z-index: 3;
  transform: rotate(-8deg); padding: .45rem 0; text-align: center;
  font: 700 clamp(.66rem, 1.5vw, 1rem)/1.1 var(--font-sans, "Space Grotesk", system-ui, sans-serif);
  letter-spacing: .14em; color: #0b0f17; background: rgba(255, 209, 102, .92);
  border-top: 2px solid #0b0f17; border-bottom: 2px solid #0b0f17; pointer-events: none;
}
.shot-figure.shot-recapture::after { top: 36%; }

/* ── Dos logos en la cabecera: Light AI Solutions → web madre · Inyector → inicio del producto ── */
.brands { display: flex; align-items: center; gap: .75rem; margin-right: auto; min-width: 0; }
.brands .brand { margin-right: 0; }
.brand-sep { width: 1px; height: 22px; background: var(--line-16); flex: none; }
.brand-product .brand-name { font-weight: 600; }
/* En móvil, el nombre del producto se oculta a la vista pero no a los lectores de pantalla: el enlace conserva su nombre. */
@media (max-width: 560px) { .brand-product .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* Los dos símbolos de la cabecera nunca se deforman: si falta sitio, ceden los huecos y el tamaño del nombre. */
.brand-mark { flex: none; }
/* Hasta 432 px: huecos más cortos y «Light AI Solutions™» solo tan pequeño como haga falta (13 px a 360 px de ancho; 16 px desde 412 px). */
@media (max-width: 432px) {
  .nav { gap: .75rem; }
  .brands, .brand, .nav-actions { gap: .5rem; }
  .lang-switch { padding-inline: .6rem; }
  .brands .brand:not(.brand-product) .brand-name { font-size: clamp(.8125rem, calc(.8125rem + (100vw - 360px) * .0577), 1rem); }
}
/* Por debajo de 360 px, el nombre se oculta a la vista pero no a los lectores de pantalla, como el de Inyector. */
@media (max-width: 359px) {
  .brands .brand:not(.brand-product) .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ── «¿Qué crearías tú?»: cuadrícula 4×4 de títulos, intacta siempre. El panel solo existe al
   invocarlo: con margen libre a la derecha (pantallas anchas) aparece ahí, centrado en vertical
   respecto a la cuadrícula; sin margen suficiente, es una burbuja centrada con fondo. ── */
.spark-layout { position: relative; }
.spark-grid { grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.spark-item { padding: 0; }
.spark-btn { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; height: 100%; padding: 1rem 1.05rem; cursor: pointer; border-radius: 14px; }
.spark-btn:focus-visible { outline: 2px solid var(--brand-a); outline-offset: 2px; }
.spark-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-16); display: grid; place-items: center; color: var(--brand-a); transition: transform .25s ease, background .25s ease; }
.spark-icon::before { content: "+"; font-size: 1.15rem; line-height: 1; }
.spark-item.is-active { border-color: var(--brand-a); box-shadow: 0 0 0 1px var(--brand-a) inset; }
.spark-item.is-active .spark-icon { transform: rotate(45deg); background: rgba(109,139,255,.12); }
.spark-desc { display: none; }
.no-js .spark-desc { display: block; padding: 0 1.05rem 1rem; margin: 0; color: var(--ink-dim); font-size: .92rem; }
.no-js .spark-icon { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spark-panel { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, 92vw); max-height: 88vh; overflow: auto; z-index: 60; border: 1px solid var(--brand-a); border-radius: 16px; padding: 1.5rem 1.6rem 1.6rem; background: linear-gradient(160deg, rgba(109,139,255,.12), rgba(155,109,255,.07)), var(--bg-1); box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.spark-panel h3 { margin: 0 2.4rem .7rem 0; font-size: 1.18rem; }
.spark-panel h3:focus { outline: none; }
.spark-panel h3:focus-visible { outline: 2px solid var(--brand-a); outline-offset: 4px; border-radius: 4px; }
.spark-panel p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.65; }
.spark-panel-close { position: absolute; top: .75rem; right: .85rem; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-16); background: var(--bg-1); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.spark-panel-close:focus-visible { outline: 2px solid var(--brand-a); outline-offset: 2px; }
.spark-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(6,9,15,.72); backdrop-filter: blur(3px); }
.spark-backdrop[hidden] { display: none; }
body.spark-open { overflow: hidden; }
/* Pantallas anchas: hay margen a la derecha de la cuadrícula → el panel vive ahí, sin fondo, sin bloquear la página */
@media (min-width: 1760px) {
  .spark-panel { position: absolute; left: calc(100% + 2.5rem); top: 50%; transform: translateY(-50%); width: min(380px, calc((100vw - var(--wrap)) / 2 - 4rem)); max-height: none; overflow: visible; z-index: 5; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
  .spark-backdrop { display: none !important; }
  body.spark-open { overflow: auto; }
}
@media (max-width: 900px) { .spark-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .spark-grid { grid-template-columns: 1fr 1fr; gap: .6rem; } .spark-btn { padding: .85rem .9rem; } }
/* Por debajo de 375 px, dos columnas de ideas no caben: una. */
@media (max-width: 374px) { .spark-grid { grid-template-columns: 1fr; } }
/* En móvil, el «+» va en la esquina de arriba a la derecha, a la misma distancia de los dos bordes, y el título usa todo el
   ancho de la tarjeta por debajo de él: así cabe la palabra más larga y las dos columnas salen iguales. El hueco flotante
   le guarda el sitio en la primera línea, y el «+» termina antes de que empiece la segunda (.4rem + 26 px, frente a
   .85rem + 1,3 × .98rem): así nunca se pega a sus letras. */
@media (max-width: 560px) {
  .spark-btn { flex-direction: column; align-items: stretch; justify-content: flex-start; position: relative; }
  .spark-h-text::before { content: ""; float: right; width: calc(26px + .5rem); height: 1.3em; }
  .spark-icon { position: absolute; top: .4rem; right: .4rem; }
  .no-js .spark-h-text::before { display: none; }
}

/* ── Pasos: tres en fila y el cuarto, el de fuera de Inyector, a ancho completo ── */
.steps { grid-template-columns: repeat(3, 1fr); }
.steps .step-wide { grid-column: 1 / -1; }
/* En móvil, un paso debajo de otro. Va aquí, después de la regla de tres columnas, para que la anule. */
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-3); }
.step-group h4 { margin: 0 0 .5rem; font-size: .98rem; color: var(--ink); }
.step-group ul { margin: 0; padding-left: 1.1rem; color: var(--ink-dim); font-size: .95rem; }
.step-group li { margin-bottom: .45rem; background: none; border: 0; padding: 0; counter-increment: none; }
.step-group li::before { content: none; }
.step-outro { margin-top: var(--sp-3) !important; padding-top: var(--sp-2); border-top: 1px solid var(--line-08); color: var(--ink) !important; }
@media (max-width: 900px) { .step-groups { grid-template-columns: 1fr; } }

/* ── Nota de sistemas bajo la descarga ── */
.cta-os { opacity: .8; }

/* ── Web madre ── */
.madre-hero-copy { text-align: center; }
.madre-title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; margin: .2rem 0 .6rem; }
.products-grid { grid-template-columns: minmax(0, 560px); justify-content: center; }
.product-desc { color: var(--ink-dim); margin: 0 0 var(--sp-2); }

/* ── Hero: la tarjeta de la edición gratuita en el lugar de la captura ── */
.hero-visual-card { display: flex; align-items: center; justify-content: center; }
.hero-card { width: 100%; max-width: 520px; margin: 0; }
.hero-card .edition-name { margin: 0 0 .25rem; font-size: 1.35rem; }
.hero-card .checks { font-size: .95rem; }

/* ── Galería «Así se ve por dentro»: mismo formato que la secuencia del editor, filas de tres; si la última fila
      queda con una sola pantalla, va centrada (seis columnas finas, cada pantalla ocupa dos) ── */
.gallery-edcase { grid-template-columns: repeat(6, 1fr); margin-top: var(--sp-3); }
.gallery-edcase > * { grid-column: span 2; }
.gallery-edcase > :last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
@media (max-width: 900px) {
  .gallery-edcase { grid-template-columns: repeat(4, 1fr); }
  .gallery-edcase > :last-child:nth-child(3n+1) { grid-column: span 2; }
  .gallery-edcase > :last-child:nth-child(2n+1) { grid-column: 2 / span 2; }
}
@media (max-width: 560px) {
  .gallery-edcase { grid-template-columns: 1fr; }
  .gallery-edcase > *, .gallery-edcase > :last-child:nth-child(3n+1), .gallery-edcase > :last-child:nth-child(2n+1) { grid-column: auto; }
}

/* ── Próximamente: solo la edición Pro, centrada ── */
.editions-solo { grid-template-columns: minmax(0, 620px); justify-content: center; }

/* ── Séptima emisión: tarjetas con encabezado que envuelve al botón; tranquilizadores dentro de Hablemos claro ── */
.spark-h { margin: 0; font-size: inherit; font-weight: inherit; height: 100%; }
.spark-h-text { font-size: .98rem; font-weight: 600; line-height: 1.3; }
.honesty-list + .nofear { margin-top: var(--sp-4); }
