/* B_RENTAL V01 — tokens derivados del logo real (anillo cian → azul → violeta sobre negro). */
:root {
  --bg: #06070b;
  --bg-2: #0c0e15;
  --panel: #10131c;
  --ink: #eef1f6;
  --mute: #9098aa;
  --dim: #5d6476;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --cyan: #019ec7;
  --blue: #2468b9;
  --violet: #6e1cae;
  --grad: linear-gradient(120deg, var(--cyan), var(--blue) 50%, var(--violet));
  --ring: conic-gradient(from 200deg, var(--cyan), var(--blue), var(--violet), #7a2fd0, var(--cyan));
  --paper: #f3f1ec;
  --paper-ink: #14161c;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --ui: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.25, 1);
  --r: 18px;
  --gut: clamp(16px, 4vw, 48px);
  --hud-h: 72px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--ui); overflow-x: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; font: 600 11px/1.2 var(--ui); letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }

/* ---------- Botones / pills ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.btn i { font-style: normal; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translate(2px, -2px); }
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -12px rgba(36, 104, 185, 0.7); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(110, 28, 174, 0.75); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.07); }
.btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(12, 14, 21, 0.6); backdrop-filter: blur(12px); font-size: 13px; font-weight: 500; text-decoration: none; }
.pill--cta { background: var(--ink); color: var(--bg); border-color: transparent; font-weight: 600; }
.pill--cta b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 12px; }
.link { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.link:hover { color: var(--ink); }
.is-bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }

/* ---------- HUD ---------- */
.hud { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hud-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--gut); transition: background 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.hud.is-solid { background: rgba(6, 7, 11, 0.72); backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; mix-blend-mode: screen; }
.brand span { font: 700 17px/1 var(--display); font-stretch: 112%; letter-spacing: -0.01em; display: grid; gap: 4px; }
.brand small { font: 500 10px/1 var(--ui); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.pillnav { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12, 14, 21, 0.5); backdrop-filter: blur(12px); }
.pillnav a { padding: 8px 14px; border-radius: 99px; font-size: 13px; text-decoration: none; color: var(--mute); transition: color 0.25s, background 0.25s; }
.pillnav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero__media, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s var(--ease-io); }
.hero__slide.is-on { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); transform: scale(1.12); transition: transform 8s linear; filter: saturate(0.85) contrast(1.05); }
.hero__slide.is-on img { transform: scale(1.02); }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6, 7, 11, 0.55) 0%, rgba(6, 7, 11, 0) 28%, rgba(6, 7, 11, 0.25) 55%, rgba(6, 7, 11, 0.96) 100%),
  linear-gradient(90deg, rgba(6, 7, 11, 0.78) 0%, rgba(6, 7, 11, 0.1) 60%),
  radial-gradient(60% 50% at 85% 100%, rgba(110, 28, 174, 0.35), transparent 70%); }
.hero__copy { position: relative; padding: 0 var(--gut) clamp(110px, 16vh, 170px); max-width: 980px; }
.hero__title { margin: 0 0 22px; font: 300 clamp(44px, 7.6vw, 112px)/0.92 var(--display); font-stretch: 88%; letter-spacing: -0.035em; }
.hero__title em { font-style: normal; font-weight: 600; font-stretch: 100%; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .ln > span { transform: none; }
.ln:nth-child(2) > span { transition-delay: 0.08s; }
.ln:nth-child(3) > span { transition-delay: 0.16s; }
.m-up { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease) 0.35s, transform 0.9s var(--ease) 0.35s; }
.is-ready .m-up { opacity: 1; transform: none; }
.hero__sub { margin: 0 0 30px; max-width: 520px; font-size: clamp(16px, 1.4vw, 19px); color: #c9cfdb; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot { position: absolute; left: var(--gut); right: var(--gut); bottom: 26px; display: flex; align-items: center; gap: 20px; font-size: 12px; color: var(--mute); }
.hero__cap { margin-left: auto; }
.hint i { display: inline-block; font-style: normal; margin-right: 6px; animation: nudge 2.2s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.counter { font: 500 12px/1 var(--ui); letter-spacing: 0.08em; color: var(--mute); }
.counter b { color: var(--ink); font-weight: 600; }
.demo-tag { position: absolute; z-index: 2; left: var(--gut); top: calc(var(--hud-h) + 6px); margin: 0; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(6, 7, 11, 0.55); backdrop-filter: blur(8px); font-size: 11px; letter-spacing: 0.04em; color: #c9cfdb; }
.rail { position: absolute; right: calc(var(--gut) * 0.5); top: 50%; transform: translate(50%, -50%) rotate(90deg); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--dim); white-space: nowrap; pointer-events: none; }

/* ---------- La base (escena) ---------- */
.stage { position: relative; height: calc(var(--n, 6) * 85svh + 100svh); background: var(--bg); }
.stage__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; padding: var(--hud-h) var(--gut) 80px; }
.stage__glow { position: absolute; inset: -20%; background:
  radial-gradient(38% 42% at calc(64% + var(--p, 0) * 6%) 50%, rgba(36, 104, 185, 0.32), transparent 70%),
  radial-gradient(30% 34% at 80% 72%, rgba(110, 28, 174, 0.28), transparent 70%),
  radial-gradient(22% 26% at 52% 22%, rgba(1, 158, 199, 0.18), transparent 70%); filter: blur(10px); pointer-events: none; }
.stage__floor { position: absolute; left: -10%; right: -10%; bottom: -46vh; height: 70vh; border-radius: 50%; background: radial-gradient(50% 40% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 70%); border-top: 1px solid rgba(255, 255, 255, 0.07); pointer-events: none; }
.stage__copy { position: relative; z-index: 3; min-height: 260px; }
.sc > * { animation: scIn 0.8s var(--ease) both; }
.sc > *:nth-child(2) { animation-delay: 0.05s; } .sc > *:nth-child(3) { animation-delay: 0.12s; } .sc > *:nth-child(4) { animation-delay: 0.18s; }
@keyframes scIn { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }
.sc__title { margin: 0 0 18px; font: 300 clamp(44px, 6.4vw, 96px)/0.95 var(--display); font-stretch: 86%; letter-spacing: -0.035em; }
.sc__line { margin: 0 0 28px; max-width: 400px; color: #c3c9d6; font-size: 17px; }
.stage__scene { position: relative; z-index: 2; height: min(72svh, 640px); perspective: 1200px; }
.obj { --s: min(44vw, 520px, 62svh); position: absolute; left: 50%; top: 50%; width: var(--s); aspect-ratio: 1; margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; transition: transform 1.1s var(--ease), opacity 0.9s var(--ease), filter 0.9s var(--ease); will-change: transform, opacity; }
.obj__ring { position: absolute; inset: 0; border-radius: 50%; background: var(--ring); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: spin 26s linear infinite; opacity: 0.9; }
.obj__ring::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.12); }
@keyframes spin { to { transform: rotate(1turn); } }
.obj__media { position: absolute; inset: 9%; border-radius: 50%; display: grid; place-items: center; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform 0.6s var(--ease); transform-style: preserve-3d; }
.obj--cut .obj__media { background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015) 70%, transparent); }
.obj--cut .obj__media img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(36, 104, 185, 0.22)); animation: float 6s var(--ease-io) infinite; }
.obj--photo .obj__media { overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.obj--photo .obj__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
@keyframes float { 50% { transform: translateY(-12px); } }
.obj__tag { position: absolute; left: 100%; top: 50%; white-space: nowrap; font-size: 12px; color: var(--mute); opacity: 0; transition: opacity 0.5s; padding-left: 10px; }
.obj__tag i { font-style: normal; color: var(--dim); margin-right: 6px; }
.obj[data-state="active"] { transform: none; z-index: 3; }
.obj[data-state="next"] { transform: translate(-58%, 52%) scale(0.3); opacity: 0.85; filter: blur(0.5px) brightness(0.8); z-index: 2; }
.obj[data-state="prev"] { transform: translate(62%, -58%) scale(0.22); opacity: 0.55; filter: blur(1.5px) brightness(0.6); z-index: 1; }
.obj[data-state="far-next"] { transform: translate(-90%, 90%) scale(0.08); opacity: 0; }
.obj[data-state="far-prev"] { transform: translate(110%, -110%) scale(0.06); opacity: 0; }
.obj[data-state="next"] .obj__tag, .obj[data-state="prev"] .obj__tag { opacity: 1; font-size: 34px; }
.obj[data-state="active"] { cursor: pointer; }
.obj[data-state="active"]:hover .obj__ring { animation-duration: 8s; }
.obj:not([data-state="active"]) { pointer-events: none; }
.stage__hud { position: absolute; left: var(--gut); right: var(--gut); bottom: 26px; z-index: 4; display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--mute); }
.stage__hud .pill { margin-left: auto; margin-right: 8px; }
.stage__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.stage__progress i { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Secciones ---------- */
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { margin: 0 0 14px; font: 300 clamp(36px, 4.6vw, 64px)/1 var(--display); font-stretch: 88%; letter-spacing: -0.03em; }
.sec-head p:not(.eyebrow) { margin: 0; color: #b9c0cd; font-size: 17px; max-width: 580px; }
.m-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.m-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Catálogo ---------- */
.catalog { position: relative; padding: clamp(90px, 12vw, 150px) 0 100px; background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg)); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; margin-bottom: 28px; position: sticky; top: var(--hud-h); z-index: 10; padding: 12px 0; background: linear-gradient(180deg, rgba(12, 14, 21, 0.95), rgba(12, 14, 21, 0.8)); backdrop-filter: blur(10px); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; color: var(--mute); transition: color 0.25s, background 0.25s, border-color 0.25s; }
.chip:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.35); }
.chip[aria-pressed="true"] { color: #fff; border-color: transparent; background: var(--grad); }
.search { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); flex: 1 1 260px; max-width: 360px; }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--mute); stroke-width: 2; }
.search input { flex: 1; min-width: 0; min-height: 42px; background: none; border: 0; outline: 0; font-size: 15px; }
.search:focus-within { border-color: var(--cyan); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.grid.is-in .card { animation: cardIn 0.7s var(--ease) both; animation-delay: calc(min(var(--i), 12) * 35ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.grid__empty { grid-column: 1 / -1; padding: 40px 0; color: var(--mute); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.45s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.card.is-in { border-color: rgba(1, 158, 199, 0.55); box-shadow: 0 0 0 1px rgba(1, 158, 199, 0.25), 0 20px 50px -25px rgba(36, 104, 185, 0.6); }
.card__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3.4; overflow: hidden; text-align: left; }
.card--cut .card__media { background: radial-gradient(70% 60% at 50% 62%, rgba(255, 255, 255, 0.1), transparent 70%), linear-gradient(180deg, #151925, #0e1119); }
.card--cut .card__media::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 10%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); }
.card--cut img { position: absolute; inset: 10% 12% 12%; width: 76%; height: 78%; object-fit: contain; z-index: 1; transition: transform 0.7s var(--ease); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5)); }
.card--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card--cut:hover .card__media img { transform: translateY(-6px) scale(1.03); }
.card__cat, .card__more { position: absolute; z-index: 2; top: 12px; font-size: 11px; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 99px; background: rgba(6, 7, 11, 0.62); backdrop-filter: blur(6px); color: #d5dae4; }
.card__cat { left: 12px; }
.card__more { right: 12px; }
.card__body { padding: 16px 18px 6px; flex: 1; }
.card__body h3 { margin: 0 0 4px; font: 600 18px/1.25 var(--display); font-stretch: 100%; letter-spacing: -0.01em; }
.card__body p { margin: 0; font-size: 14px; color: var(--mute); }
.card__actions { padding: 12px 18px 18px; }
.add { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; transition: background 0.25s, border-color 0.25s; }
.add i { font-style: normal; font-size: 20px; line-height: 1; }
.add:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.35); }
.stepper { display: inline-flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; border-radius: 12px; background: var(--grad); padding: 0 4px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; font-size: 20px; color: #fff; }
.stepper button:hover { background: rgba(255, 255, 255, 0.14); }
.stepper output { font-weight: 700; min-width: 2ch; text-align: center; color: #fff; }
.stepper--sm { width: auto; min-height: 36px; border-radius: 10px; }
.stepper--sm button { width: 36px; height: 36px; font-size: 17px; }
.ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(36, 104, 185, 0.25), transparent 60%), var(--bg-2); }
.ph b { font: 800 64px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph small { font-size: 13px; color: var(--ink); } .ph em { font-style: normal; font-size: 11px; color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Hoja de producción ---------- */
.sheet { padding: clamp(90px, 11vw, 140px) 0; background: radial-gradient(60% 40% at 80% 0%, rgba(110, 28, 174, 0.18), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.sheet__empty { display: grid; justify-items: center; gap: 16px; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: var(--r); text-align: center; color: var(--mute); }
.sheet__empty b { color: var(--ink); }
.ring-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--ring); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: spin 14s linear infinite; }
.sheet__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form fieldset { margin: 0 0 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form legend { padding: 0 8px; font: 600 13px/1 var(--ui); letter-spacing: 0.12em; text-transform: uppercase; }
.form legend span { color: var(--cyan); margin-right: 6px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f > span { font-size: 12px; color: var(--mute); letter-spacing: 0.04em; }
.f input, .f textarea { width: 100%; min-width: 0; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); outline: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.f textarea { resize: vertical; }
.f input:focus, .f textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(1, 158, 199, 0.18); }
.f input::-webkit-calendar-picker-indicator { filter: invert(0.8); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; color: var(--mute); transition: all 0.25s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: transparent; font-weight: 600; }
.doc-col { position: sticky; top: calc(var(--hud-h) + 16px); display: grid; gap: 16px; }
.doc { background: var(--paper); color: var(--paper-ink); border-radius: 16px; padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.06); position: relative; overflow: hidden; }
.doc::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad); }
.doc__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid var(--paper-ink); }
.doc__head img { width: 44px; height: 44px; border-radius: 50%; background: #000; }
.doc__kicker { margin: 0 0 4px; font: 600 10px/1 var(--ui); letter-spacing: 0.2em; text-transform: uppercase; color: #6a6f7b; }
.doc__head h3 { margin: 0; font: 700 clamp(20px, 2.2vw, 26px)/1.1 var(--display); font-stretch: 96%; letter-spacing: -0.02em; word-break: break-word; }
.doc__id { margin-left: auto; align-self: flex-start; font: 600 11px/1 ui-monospace, Consolas, monospace; padding: 6px 8px; border: 1px solid #c9c6bd; border-radius: 6px; white-space: nowrap; }
.doc__meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); margin: 0; border-bottom: 1px solid #d9d5cb; }
.doc__meta div { padding: 12px 10px 12px 0; border-right: 1px solid #e3dfd5; min-width: 0; }
.doc__meta dt { font: 600 10px/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: #7a7f8a; margin-bottom: 6px; }
.doc__meta dd { margin: 0; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.doc__meta .is-missing dd { color: #b2ada2; }
.blk { padding: 14px 0 6px; border-bottom: 1px solid #e3dfd5; }
.blk h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; }
.blk h4 i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 20px; border-radius: 4px; background: var(--paper-ink); color: var(--paper); font-size: 10px; letter-spacing: 0.04em; }
.blk ul { list-style: none; margin: 0; padding: 0; }
.blk li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 36px; align-items: center; gap: 10px; padding: 6px 0; }
.blk li.is-new { animation: stamp 0.6s var(--ease); }
@keyframes stamp { from { opacity: 0; transform: translateX(-14px); background: rgba(1, 158, 199, 0.18); } }
.blk__th { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; background: #e4e0d6; }
.blk__th img { width: 100%; height: 100%; object-fit: cover; }
.blk__n { min-width: 0; } .blk__n b { display: block; font-size: 14px; } .blk__n small { display: block; font-size: 12px; color: #7a7f8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk .stepper--sm { background: var(--paper-ink); }
.rm { width: 36px; height: 36px; border-radius: 8px; color: #8a8f99; font-size: 20px; }
.rm:hover { background: #e4e0d6; color: var(--paper-ink); }
.blk--notes p { margin: 0 0 8px; font-size: 14px; white-space: pre-wrap; }
.doc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 14px; font-size: 12px; color: #545965; }
.doc__foot span:last-child { font-weight: 700; color: var(--paper-ink); }
.ready { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.ready__meter { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 12px; }
.ready__meter i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.ready p { margin: 0; font-size: 14px; color: var(--mute); } .ready p b { color: var(--ink); }
.ready ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.ready li { font-size: 12px; padding: 4px 10px; border-radius: 99px; border: 1px dashed var(--line-2); color: var(--mute); }
.ready.is-done { border-color: rgba(1, 158, 199, 0.5); }
.msg { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.msg summary { cursor: pointer; padding: 14px 18px; font-size: 14px; min-height: 48px; display: flex; align-items: center; }
.msg textarea { display: block; width: calc(100% - 36px); margin: 0 18px; min-height: 240px; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font: 13px/1.55 ui-monospace, Consolas, monospace; resize: vertical; }
.msg__hint { margin: 8px 18px; font-size: 12px; color: var(--dim); }
.msg .link { margin: 0 18px 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.note { margin: 0; font-size: 12px; color: var(--dim); }

/* ---------- En set ---------- */
.onset { padding: 100px 0 120px; overflow: hidden; }
.strip { list-style: none; margin: 0; padding: 0 var(--gut) 10px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip li { flex: 0 0 clamp(240px, 30vw, 400px); scroll-snap-align: start; opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.strip li.is-in { opacity: 1; transform: none; }
.strip li:nth-child(2n) { transition-delay: 0.08s; margin-top: 48px; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); filter: saturate(0.9); }
.strip figcaption { margin-top: 10px; font-size: 13px; color: var(--mute); }

/* ---------- Cierre ---------- */
.close { position: relative; padding: 140px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.close__ring { position: absolute; left: 50%; top: 50%; width: min(130vw, 1100px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--ring); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); opacity: 0.35; animation: spin 60s linear infinite; }
.close__inner { position: relative; display: grid; justify-items: center; gap: 24px; }
.close__inner img { width: 120px; height: 120px; border-radius: 50%; mix-blend-mode: screen; }
.close h2 { margin: 0; max-width: 760px; font: 300 clamp(38px, 5.4vw, 76px)/1 var(--display); font-stretch: 88%; letter-spacing: -0.03em; }
.close .hero__ctas { justify-content: center; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 26px var(--gut) 110px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }

/* ---------- Flotantes ---------- */
.dock { position: fixed; z-index: 45; right: var(--gut); bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 99px; background: rgba(16, 19, 28, 0.88); backdrop-filter: blur(14px); border: 1px solid var(--line-2); text-decoration: none; box-shadow: 0 20px 40px -20px #000; transition: transform 0.5s var(--ease), opacity 0.4s; }
.dock[hidden] { display: none; }
.dock.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
.dock__ring { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); }
.dock__ring b { font-weight: 700; }
.dock span:last-child { display: grid; font-weight: 600; font-size: 14px; line-height: 1.2; }
.dock small { font-weight: 400; color: var(--mute); font-size: 12px; }
.flyer { position: fixed; z-index: 60; pointer-events: none; object-fit: contain; border-radius: 12px; }
.toast { position: fixed; z-index: 70; left: 50%; top: calc(var(--hud-h) + 10px); translate: -50% -20px; padding: 10px 18px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.3s, translate 0.4s var(--ease); max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ---------- Diálogos ---------- */
dialog { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(3, 4, 7, 0.72); backdrop-filter: blur(6px); }
dialog[open] { animation: dlgIn 0.5s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
.x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; background: rgba(6, 7, 11, 0.6); border: 1px solid var(--line-2); }
.index { width: min(480px, calc(100% - 32px)); margin: auto; }
.index__in { position: relative; background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; }
.index header h2 { margin: 0 0 14px; font: 300 32px/1 var(--display); }
.index ol { list-style: none; margin: 0; padding: 0; }
.index li button { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; width: 100%; min-height: 54px; padding: 0 8px; border-top: 1px solid var(--line); text-align: left; transition: background 0.2s; border-radius: 8px; }
.index li button:hover { background: rgba(255, 255, 255, 0.05); }
.index li i { font-style: normal; color: var(--cyan); font-size: 12px; } .index li b { font-weight: 500; font-size: 18px; } .index li small { color: var(--mute); }
.quick { width: min(980px, calc(100% - 32px)); margin: auto; }
.quick__in { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; background: var(--panel); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; max-height: calc(100svh - 32px); }
.quick__media { position: relative; background: #0a0c12; min-height: 340px; display: grid; overflow: hidden; }
.quick__media > img { width: 100%; height: 100%; max-height: 70svh; object-fit: cover; }
.quick__media.is-cut { background: radial-gradient(60% 55% at 50% 55%, rgba(255, 255, 255, 0.12), transparent 70%), linear-gradient(180deg, #161a26, #0c0e15); }
.quick__media.is-cut > img { object-fit: contain; padding: 8%; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.55)); }
.thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; }
.thumbs button { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: 0.7; }
.thumbs button[aria-pressed="true"] { border-color: var(--cyan); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.quick__body { padding: 40px 28px 28px; display: grid; align-content: start; gap: 6px; overflow-y: auto; }
.quick__body h2 { margin: 0; font: 400 clamp(28px, 3vw, 40px)/1.05 var(--display); font-stretch: 92%; letter-spacing: -0.02em; }
.quick__body > p { margin: 0 0 6px; color: #c3c9d6; }
.quick__body .flag { font-size: 12px; color: var(--mute); padding: 8px 12px; border: 1px dashed var(--line-2); border-radius: 10px; margin: 8px 0 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pillnav { display: none; }
  .sheet__layout { grid-template-columns: 1fr; }
  .doc-col { position: static; }
}
@media (max-width: 760px) {
  :root { --hud-h: 64px; }
  .brand small { display: none; }
  .hero__copy { padding-bottom: 100px; }
  .hero__veil { background: linear-gradient(180deg, rgba(6, 7, 11, 0.5) 0%, rgba(6, 7, 11, 0.1) 25%, rgba(6, 7, 11, 0.7) 55%, rgba(6, 7, 11, 0.97) 100%); }
  .hero__cap { display: none; }
  .hero__foot .counter { margin-left: auto; }
  .rail { display: none; }
  .stage__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: calc(var(--hud-h) + 18px); padding-bottom: 76px; }
  .stage__copy { min-height: 0; }
  .sc__title { font-size: clamp(40px, 12vw, 60px); margin-bottom: 10px; }
  .sc__line { font-size: 15px; margin-bottom: 16px; }
  .stage__scene { height: auto; min-height: 0; align-self: stretch; }
  .obj { --s: min(78vw, 46svh); width: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); }
  .obj[data-state="next"] { transform: translate(-62%, 62%) scale(0.26); }
  .obj[data-state="prev"] { transform: translate(64%, -70%) scale(0.2); }
  .obj[data-state="next"] .obj__tag, .obj[data-state="prev"] .obj__tag { font-size: 44px; }
  .stage__hud .hint { display: none; }
  .stage__hud .pill { margin-left: 0; }
  .stage__hud .counter { margin-left: auto; }
  .filters { top: var(--hud-h); }
  .search { max-width: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card__body { padding: 12px 12px 4px; } .card__body h3 { font-size: 15px; } .card__body p { font-size: 12px; }
  .card__actions { padding: 10px 12px 12px; }
  .card__cat { display: none; }
  .add { padding: 0 12px; font-size: 13px; }
  .form fieldset { grid-template-columns: 1fr 1fr; padding: 16px; }
  .blk li { grid-template-columns: 34px minmax(0, 1fr) auto 32px; gap: 8px; }
  .blk__th { width: 34px; height: 34px; }
  .rm { width: 32px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
  .quick__in { grid-template-columns: 1fr; overflow-y: auto; }
  .quick__media { min-height: 0; aspect-ratio: 4 / 3.4; }
  .quick__media > img { position: absolute; inset: 0; max-height: none; }
  .quick__media.is-cut > img { padding: 6%; }
  .quick__body { padding: 20px; overflow: visible; }
  .strip li:nth-child(2n) { margin-top: 24px; }
  .dock { left: 16px; right: 16px; bottom: max(12px, env(safe-area-inset-bottom)); justify-content: flex-start; }
}
@media (max-width: 380px) {
  .pill--cta { padding: 0 12px; font-size: 12px; }
  .grid { gap: 10px; }
}

/* =====================================================================
   V01.1 — Hero de apertura + correcciones móviles (sobrescribe lo anterior)
   ===================================================================== */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io-strong: cubic-bezier(0.77, 0, 0.175, 1);
  --grad-text: linear-gradient(100deg, #2fd0f5 0%, #6c9bff 48%, #b78bff 100%); /* versión luminosa del degradado del logo, legible sobre oscuro */
}
.btn { transition: transform 160ms var(--ease-out), background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.btn:active, .pill:active, .chip:active, .add:active, .reel__seg:active, .dot:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn--grad:hover { transform: translateY(-2px); } }
@media (hover: none) { .btn--grad:hover, .card:hover { transform: none; } }

/* Hero: capas */
.hero { background: var(--bg); }
.hero__media { will-change: transform; clip-path: inset(14% 0 14% 0); transition: clip-path 1.5s var(--ease-io-strong); }
.is-ready .hero__media { clip-path: inset(0 0 0 0); }
.hero__slide { opacity: 0; filter: blur(6px); transition: opacity 1.4s ease, filter 1.4s ease; }
.hero__slide.is-on { opacity: 1; filter: none; }
.hero__slide img { transform: scale(1.16) translateX(0); transition: transform 9s cubic-bezier(0.25, 0.1, 0.25, 1); filter: saturate(0.82) contrast(1.06) brightness(0.92); }
.hero__slide.is-on img { transform: scale(1.04) translateX(var(--dx)); }
.hero__fx { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__leak { position: absolute; inset: -20%; background:
  radial-gradient(34% 30% at 82% 78%, rgba(110, 28, 174, 0.42), transparent 70%),
  radial-gradient(26% 24% at 18% 92%, rgba(1, 158, 199, 0.22), transparent 70%);
  mix-blend-mode: screen; animation: leak 18s ease-in-out infinite alternate; }
@keyframes leak { to { transform: translate3d(-4%, -3%, 0) scale(1.06); } }
.hero__grain { position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay; 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__veil { z-index: 1; background:
  radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(6, 7, 11, 0.55) 100%),
  linear-gradient(180deg, rgba(6, 7, 11, 0.6) 0%, rgba(6, 7, 11, 0) 24%, rgba(6, 7, 11, 0.18) 52%, rgba(6, 7, 11, 0.92) 86%, var(--bg) 100%),
  linear-gradient(90deg, rgba(6, 7, 11, 0.82) 0%, rgba(6, 7, 11, 0.35) 38%, rgba(6, 7, 11, 0) 64%); }
.hero::after { content: ""; position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(1, 158, 199, 0.5), rgba(110, 28, 174, 0.5), transparent); opacity: 0; transition: opacity 1.2s ease 1.2s; }
.is-ready.hero::after, .is-ready .hero::after { opacity: 1; }

/* Órbita: el anillo del logo como firma, con un satélite y progreso lento */
.hero__orbit { position: absolute; z-index: 1; right: -18vw; top: 50%; width: min(118vh, 78vw); aspect-ratio: 1; translate: 0 -50%; pointer-events: none; opacity: 0; scale: 0.94; transition: opacity 1.6s ease 0.5s, scale 2s var(--ease-out) 0.5s; }
.is-ready .hero__orbit { opacity: 0.6; scale: 1; }
.hero__ring { position: absolute; inset: 0; border-radius: 50%; background: var(--ring); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px)); animation: spin 90s linear infinite; }
.hero__ring::after { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.1); }
.hero__sat { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.hero__sat i { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(1, 158, 199, 0.25), 0 0 24px 6px rgba(47, 208, 245, 0.55); }

/* Copia */
.hero__copy { z-index: 3; will-change: transform, opacity; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; color: #d3d8e2; }
.hero__rule { display: inline-block; width: 34px; height: 1px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s var(--ease-out) 0.55s; }
.is-ready .hero__rule { transform: scaleX(1); }
.hero__title { text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.hero__title em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 6px 28px rgba(47, 120, 255, 0.35)); padding-right: 0.04em; }
.ln > span { transform: translateY(108%) rotate(1.5deg); transform-origin: 0 100%; filter: blur(4px); opacity: 0.001; transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out), opacity 0.8s ease; }
.is-ready .ln > span { transform: none; filter: none; opacity: 1; }
.ln:nth-child(1) > span { transition-delay: 0.35s; }
.ln:nth-child(2) > span { transition-delay: 0.45s; }
.ln:nth-child(3) > span { transition-delay: 0.58s; }
.m-up { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.hero__eyebrow.m-up { transition-delay: 0.25s; }
.hero__sub.m-up { transition-delay: 0.78s; }
.hero__ctas.m-up { transition-delay: 0.9s; }
.hero__sub { color: #d5dae4; }

/* Pie: carrete con progreso (tocable) */
.hero__foot { z-index: 3; opacity: 0; transition: opacity 0.9s ease 1.1s; }
.is-ready .hero__foot { opacity: 1; }
.reel { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.reel__seg { position: relative; width: 48px; height: 44px; display: grid; align-items: center; transition: transform 160ms var(--ease-out); }
.reel__seg::before { content: ""; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.18); grid-area: 1 / 1; }
.reel__seg i { grid-area: 1 / 1; height: 2px; border-radius: 2px; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.reel__seg[aria-pressed="true"]::before { background: rgba(255, 255, 255, 0.28); }
.reel__cap { min-width: 0; margin: 0 14px 0 10px; color: #c9cfdb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel__cap.is-in { animation: capIn 0.7s var(--ease-out); }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } }
.hero__cap { display: none; }

/* Escena: puntos y salto */
.dots { display: flex; align-items: center; }
.dot { width: 34px; height: 44px; display: grid; place-items: center; }
.dot i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); transition: transform 0.3s var(--ease-out), background 0.3s; }
.dot:hover i { background: rgba(255, 255, 255, 0.6); }
.dot[aria-current] i { background: var(--grad-text); transform: scale(1.6); box-shadow: 0 0 12px rgba(47, 208, 245, 0.6); }
.stage__hud .dots { margin-left: auto; }
.stage__hud .stage__index { margin-left: 8px; margin-right: 0; }
.stage__skip i { font-style: normal; }
.stage__hud .counter { margin-left: 8px; }

/* Hoja: resumen y barra solo en móvil / tablet */
.sum, .bar { display: none; }

/* Aviso flotante: abajo, nunca sobre títulos */
.toast { top: auto; bottom: 28px; translate: -50% 20px; }
.toast.is-on { translate: -50% 0; }

@media (max-width: 1000px) {
  .sum { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; position: sticky; top: calc(var(--hud-h) + 8px); z-index: 12; margin-bottom: 14px; padding: 10px 10px 12px 10px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(16, 19, 28, 0.9); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -22px #000; }
  .sum__ring { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-weight: 700; }
  .sum__txt { display: grid; min-width: 0; line-height: 1.25; }
  .sum__txt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sum__txt small { font-size: 12px; color: var(--mute); }
  .sum__go { grid-row: 1 / 3; grid-column: 3; min-height: 44px; }
  .sum__go i { font-style: normal; }
  .sum__meter { grid-column: 2; height: 3px; margin-top: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
  .sum__meter i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transition: transform 0.5s var(--ease-out); }
  .bar { display: grid; gap: 6px; position: sticky; bottom: 0; z-index: 12; margin: 18px calc(var(--gut) * -1) 0; padding: 12px var(--gut) max(12px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(6, 7, 11, 0), rgba(6, 7, 11, 0.92) 26%); }
  .bar .btn { justify-content: center; width: 100%; }
  .bar small { text-align: center; font-size: 12px; color: var(--mute); }
  .actions .actions__wa { display: none; }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 760px) {
  /* Hero editorial: foto arriba, texto sobre fondo sólido */
  .hero { align-items: end; }
  .hero__media { bottom: auto; height: 66svh; clip-path: inset(10% 0 10% 0); }
  .is-ready .hero__media { clip-path: inset(0 0 0 0); }
  .hero__slide img { object-position: var(--mpos); }
  .hero__veil { background:
    linear-gradient(180deg, rgba(6, 7, 11, 0.65) 0%, rgba(6, 7, 11, 0) 22%, rgba(6, 7, 11, 0.1) 40%, rgba(6, 7, 11, 0.86) 58%, var(--bg) 70%),
    radial-gradient(70% 40% at 50% 30%, transparent 40%, rgba(6, 7, 11, 0.35) 100%); }
  .hero__leak { background: radial-gradient(60% 26% at 80% 66%, rgba(110, 28, 174, 0.4), transparent 70%); }
  .hero__orbit { right: -46vw; top: 30svh; width: 108vw; }
  .is-ready .hero__orbit { opacity: 0.45; }
  .hero__copy { padding-bottom: 92px; }
  .hero__title { font-size: clamp(40px, 11.4vw, 54px); line-height: 0.95; margin-bottom: 16px; }
  .hero__sub { font-size: 16px; margin-bottom: 22px; max-width: 34ch; }
  .hero__ctas { gap: 10px; }
  .hero__ctas .btn { padding: 0 18px; }
  .hero__foot { bottom: 14px; }
  .hero__foot .hint { display: none; }
  .reel { margin-left: 0; width: 100%; }
  .reel__seg { flex: 1; width: auto; }
  .reel__cap { display: none; }

  /* Escena: más corta, sin satélites cortados, con puntos y salto */
  .stage { height: calc(var(--n, 6) * 55svh + 100svh); }
  .obj { --s: min(80vw, 46svh); }
  .obj[data-state="next"], .obj[data-state="prev"] { opacity: 0; }
  .stage__scene { display: grid; }
  .stage__hud { gap: 4px; }
  .stage__hud .stage__index, .stage__hud .counter { display: none; }
  .stage__hud .dots { margin-left: -8px; }
  .stage__skip { margin-left: auto; }
}
@media (max-width: 380px) { .dot { width: 32px; } .stage__skip { padding: 0 12px; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero__slide img { transform: none !important; }
  /* contenido visible desde el primer cuadro, sin esperar al JS */
  .ln > span, .m-up, .hero__foot, .hero__rule { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__media { clip-path: none !important; }
  .hero__orbit { opacity: 0.45 !important; scale: 1 !important; }
}

/* ---------- Imprimir: solo la hoja ---------- */
@media print {
  body { background: #fff; }
  body > *:not(main), main > *:not(#hoja), #hoja .sec-head, .form, .ready, .msg, .actions, .note, .rm, .stepper button, .sum, .bar, .blk__th { display: none !important; }
  .blk li { grid-template-columns: minmax(0, 1fr) auto; }
  #hoja { padding: 0; background: none; border: 0; }
  .sheet__layout { display: block; }
  .doc { box-shadow: none; border: 1px solid #ccc; }
  .stepper--sm { background: none !important; } .stepper--sm output { color: #000; }
}
