/* Gallos Media v5 — sala de proyección sobria.
   Layout: tema oscuro único (vibra xAI / Tesla) con experiencia de streaming:
   escenario con pantalla arriba, filas de catálogo, y secciones limpias con tarjetas redondeadas
   y maquetas dibujadas en código para los servicios. */
:root {
  --bg: #0a0a0b;
  --card: #141417;
  --card-2: #1c1c21;
  --line: rgba(255,255,255,0.08);
  --fg: #f5f5f7;
  --fg-2: rgba(245,245,247,0.64);
  --fg-3: rgba(245,245,247,0.42);
  --red: #e5281f;
  --f-display: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-text: 'Geist', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --r-lg: 26px; --r-md: 18px;
  --gl: max(20px, env(safe-area-inset-left, 0px), 4vw);
  --gr: max(20px, env(safe-area-inset-right, 0px), 4vw);
  --max: 1320px;
  --ink: var(--fg); --ink-2: var(--fg-2); --ink-3: var(--fg-3); --paper: var(--card); --paper-2: var(--card-2);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-text); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; text-align: left; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
.gut { padding-left: var(--gl); padding-right: var(--gr); }
.wrap { max-width: var(--max); margin-left: auto; margin-right: auto; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-3); }
.h-xl { font-family: var(--f-display); font-weight: 500; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.h-lg { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.h-md { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.h-sm { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.lead { color: var(--fg-2); font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.55; max-width: 58ch; margin: 0; }

/* ---------- botones / chips ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; transition: background 160ms, transform 160ms var(--ease); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:active { transform: scale(0.98); }
.btn-light { background: var(--fg); color: #0a0a0b; }
.btn-light:hover { background: #fff; }
.btn-glass { background: rgba(255,255,255,0.1); color: var(--fg); }
.btn-glass:hover { background: rgba(255,255,255,0.17); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #f23a30; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; background: var(--card-2); font-size: 13.5px; color: var(--fg-2); white-space: nowrap; }
.chip[aria-pressed], a.chip { cursor: pointer; transition: background 150ms, color 150ms; }
.chip[aria-pressed]:hover, a.chip:hover { background: #26262c; color: var(--fg); }
.chip[aria-pressed="true"], a.chip.on { background: var(--fg); color: #0a0a0b; }

/* ---------- header ---------- */
.hdr { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60; transition: background 250ms, border-color 250ms; border-bottom: 1px solid transparent; background: linear-gradient(180deg, rgba(10,10,11,0.8), rgba(10,10,11,0)); }
.hdr.solid { background: rgba(10,10,11,0.86); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.hdr-in { height: 64px; display: flex; align-items: center; gap: 38px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 14px; color: var(--fg-2); transition: color 150ms; }
.nav a:hover, .nav a.on { color: var(--fg); }
.hdr-r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.burger { display: none; width: 40px; height: 40px; place-items: center; border-radius: 999px; background: rgba(255,255,255,0.1); }
.burger svg { width: 20px; height: 20px; }
.mnav { position: fixed; inset: 0; z-index: 80; background: var(--bg); padding: calc(80px + env(safe-area-inset-top, 0px)) var(--gr) 40px var(--gl); display: flex; flex-direction: column; }
.mnav a { font-family: var(--f-display); font-size: 30px; font-weight: 500; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mnav-x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: var(--gr); width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.1); display: grid; place-items: center; }
.mnav-x svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .nav, .hdr-r .btn-glass { display: none; } .burger { display: grid; } }
@media (max-width: 480px) { .hdr-r .btn-light { display: none; } }

/* ---------- escenario (portada streaming) ---------- */
.stage { position: relative; overflow: hidden; padding-top: calc(64px + clamp(40px, 8vh, 90px)); padding-bottom: clamp(36px, 6vh, 64px); isolation: isolate; }
.amb { position: absolute; inset: -12%; z-index: -2; }
.amb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(80px) saturate(1.3); opacity: 0; transition: opacity 1200ms var(--ease); }
.amb img.on { opacity: 0.5; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 70% 35%, rgba(10,10,11,0.1), rgba(10,10,11,0.8) 72%, var(--bg)), linear-gradient(0deg, var(--bg), rgba(10,10,11,0) 45%); }
.st-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.st-kick { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 14px; }
.st-kick b { font-weight: 500; }
.st-kick span { font-family: var(--f-mono); font-size: 12px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.st-copy { position: relative; min-height: 340px; }
.st-item { position: absolute; inset: 0 0 auto 0; display: flex; flex-direction: column; gap: 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 500ms var(--ease), transform 500ms var(--ease), visibility 0s 500ms; }
.st-item.on { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity 600ms var(--ease) 120ms, transform 600ms var(--ease) 120ms; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.st-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--fg-3); }
.st-meta b { color: #46d369; font-weight: 500; }
.st-item p { margin: 0; color: var(--fg-2); font-size: clamp(15.5px, 1.1vw, 17px); max-width: 46ch; }
.screen { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: 0 40px 100px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.08); cursor: pointer; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 900ms var(--ease), transform 8s linear; }
.screen img.on { opacity: 1; transform: scale(1); }
.screen-info { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; background: rgba(10,10,11,0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; }
.screen-info svg { width: 15px; height: 15px; }
.thumbs { margin-top: clamp(28px, 5vh, 48px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.thumb { display: flex; flex-direction: column; gap: 8px; opacity: 0.55; transition: opacity 200ms; }
.thumb:hover, .thumb.on { opacity: 1; }
.thumb .ti { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.thumb.on .ti { box-shadow: 0 0 0 2px var(--fg); }
.thumb .ti img { width: 100%; height: 100%; object-fit: cover; }
.thumb .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0,0,0,0.45); }
.thumb .bar i { display: block; height: 100%; width: 0; background: var(--red); }
.thumb.on .bar i { animation: fill var(--dur, 8s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.thumb span { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 960px) {
  .st-grid { grid-template-columns: 1fr; }
  .screen-wrap { order: -1; }
  .st-copy { min-height: 0; }
  .thumbs { grid-template-columns: repeat(6, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gr)); padding-right: var(--gr); }
  .thumbs::-webkit-scrollbar { display: none; }
}

/* ---------- filas de catálogo ---------- */
.rows { display: flex; flex-direction: column; gap: clamp(44px, 7vh, 68px); padding-block: clamp(24px, 4vh, 40px) clamp(40px, 6vh, 70px); }
.row-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.row-h h2 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.015em; }
.row-h a { font-size: 13.5px; color: var(--fg-3); white-space: nowrap; }
.row-h a:hover { color: var(--fg); }
.row-wrap { position: relative; }
.rows > .wrap, .row, .row-wrap, .st-grid > *, .stage .wrap { min-width: 0; }
.rows > .wrap { width: 100%; }
.rail { display: grid; grid-auto-flow: column; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-padding-left: var(--gl); padding: 4px var(--gr) 8px var(--gl); margin: 0 calc(-1 * var(--gr)) 0 calc(-1 * var(--gl)); scrollbar-width: none; align-items: start; }
.rail::-webkit-scrollbar { display: none; }
@media (hover: none) { .rail { scroll-snap-type: x proximity; } .rail > * { scroll-snap-align: start; } }
.r-16 { grid-auto-columns: clamp(250px, 23vw, 340px); }
.r-9 { grid-auto-columns: clamp(155px, 13vw, 195px); }
.r-top { grid-auto-columns: clamp(320px, 30vw, 440px); }
.arrow { position: absolute; top: 40px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(245,245,247,0.95); color: #0a0a0b; box-shadow: 0 8px 24px rgba(0,0,0,0.5); opacity: 0; transition: opacity 200ms, transform 160ms var(--ease); }
.arrow:hover { transform: scale(1.08); }
.arrow svg { width: 20px; height: 20px; }
.arrow.l { left: -14px; } .arrow.r { right: -14px; }
.row-wrap:focus-within .arrow { opacity: 1; }
.row-wrap:hover .arrow { opacity: 1; }
@media (hover: none) { .arrow { display: none; } }

.card { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.c-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px rgba(255,255,255,0.05); }
.c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.card:hover .c-img img, .card:focus-visible .c-img img, .top:hover .c-img img { transform: scale(1.04); }
.c-tag.star { background: #f5c518; color: #0a0a0b; display: inline-flex; align-items: center; gap: 4px; }
.c-tag svg { width: 11px; height: 11px; }
.c-tag { position: absolute; z-index: 2; top: 10px; left: 10px; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--red); color: #fff; }
.c-t b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 16px; line-height: 1.25; letter-spacing: -0.01em; }
.c-t span { font-size: 13px; color: var(--fg-3); }
.top { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 4px; width: 100%; }
.top .num { font-family: var(--f-display); font-weight: 600; font-size: clamp(110px, 10vw, 168px); line-height: 0.74; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.42); user-select: none; transition: -webkit-text-stroke-color 200ms; }
.top:hover .num { -webkit-text-stroke-color: rgba(255,255,255,0.85); }
.short { display: flex; flex-direction: column; gap: 8px; }
.s-img { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px rgba(255,255,255,0.05); }
.s-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.short:hover .s-img img { transform: scale(1.05); }
.s-play { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.95); color: #000; display: grid; place-items: center; opacity: 0; transform: scale(0.85); transition: opacity 200ms, transform 200ms var(--ease); }
.s-play svg { width: 18px; height: 18px; margin-left: 3px; }
.short:hover .s-play, .short:focus-visible .s-play { opacity: 1; transform: none; }
.s-t { font-size: 13.5px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-v { font-size: 12px; color: var(--fg-3); }

/* ---------- secciones limpias ---------- */
.sec { padding-block: clamp(72px, 12vh, 140px); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: clamp(36px, 6vh, 60px); }
.sec-c { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: clamp(36px, 6vh, 56px); }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* bento de servicios */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tile { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px) 0; display: flex; flex-direction: column; gap: 10px; overflow: hidden; min-height: 470px; box-shadow: 0 0 0 1px var(--line); transition: background 200ms; }
a.tile:hover { background: #18181c; }
.tile .h-sm { display: flex; justify-content: space-between; gap: 12px; }
.tile .h-sm svg { width: 18px; height: 18px; color: var(--fg-3); flex: none; transition: transform 200ms var(--ease), color 200ms; }
a.tile:hover .h-sm svg { transform: translateX(4px); color: var(--fg); }
.tile p { margin: 0; color: var(--fg-2); font-size: 15.5px; max-width: 52ch; }
.mock { position: relative; margin-top: auto; height: 310px; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } }

/* maqueta: reproductor */
.m-player { position: absolute; left: 0; right: 0; bottom: 0; height: 290px; border-radius: 16px 16px 0 0; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.m-player img { width: 100%; height: 100%; object-fit: cover; }
.m-player .ctrl { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 999px; background: rgba(10,10,11,0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12px; }
.m-player .ctrl svg { width: 14px; height: 14px; }
.m-player .prog { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.22); overflow: hidden; }
.m-player .prog i { display: block; height: 100%; width: 38%; background: var(--red); animation: prog 14s linear infinite; }
@keyframes prog { from { width: 6%; } to { width: 94%; } }
/* maqueta: tablero de campaña */
.m-board { position: absolute; inset: 0; }
.m-board .piece { position: absolute; background: #222227; border-radius: 14px; padding: 8px; box-shadow: 0 24px 50px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.06); display: flex; flex-direction: column; gap: 8px; transition: transform 400ms var(--ease); }
.m-board .piece img { width: 100%; object-fit: cover; border-radius: 8px; }
.m-board .piece span { font-size: 11.5px; font-weight: 500; display: flex; justify-content: space-between; gap: 8px; padding: 0 2px 2px; }
.m-board .piece span em { font-style: normal; color: var(--fg-3); font-weight: 400; }
.m-board .p1 { left: 3%; top: 24px; width: 57%; transform: rotate(-2deg); }
.m-board .p1 img { aspect-ratio: 16 / 9; }
.m-board .p2 { right: 19%; top: 44px; width: 22%; transform: rotate(3deg); z-index: 2; }
.m-board .p2 img { aspect-ratio: 9 / 16; }
.m-board .p3 { right: 2%; top: 124px; width: 26%; transform: rotate(-4deg); }
.m-board .p3 img { aspect-ratio: 4 / 5; }
a.tile:hover .m-board .p1 { transform: rotate(-3deg) translateY(-4px); }
a.tile:hover .m-board .p2 { transform: rotate(5deg) translateY(-8px); }
/* maqueta: teléfonos */
.m-phones { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-end; gap: 14px; }
.phone { position: relative; width: 150px; aspect-ratio: 9 / 18.5; border-radius: 26px; background: #000; padding: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 24px 50px -20px rgba(0,0,0,0.9); margin-bottom: -60px; }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 21px; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .seg { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 3px; }
.phone .seg i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,0.45); }
.phone .seg i:first-child { background: #fff; }
.phone .side { position: absolute; right: 8px; bottom: 80px; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.phone .side svg { width: 20px; height: 20px; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5)); }
.phone.sm { width: 120px; opacity: 0.85; margin-bottom: -80px; }
/* maqueta: tablero de marca */
.m-brand { position: absolute; inset: 0 0 -2px; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.m-brand > div { background: var(--card-2); border-radius: 16px; padding: 14px; position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.05); }
.mb-logo { grid-row: span 2; display: grid; place-items: center; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px) !important; background-size: 22px 22px; }
.mb-logo img { width: auto; height: 48%; position: relative; z-index: 1; }
.mb-logo .guide { position: absolute; left: 50%; top: 50%; height: 72%; max-width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px dashed rgba(255,255,255,0.22); border-radius: 50%; }
.mb-logo .guide2 { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed rgba(229,40,31,0.5); }
.mb-logo small { position: absolute; left: 14px; bottom: 12px; font-family: var(--f-mono); font-size: 10.5px; color: var(--fg-3); }
.mb-pal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px !important; }
.mb-pal i { border-radius: 10px; display: flex; align-items: flex-end; padding: 6px; font-style: normal; font-family: var(--f-mono); font-size: 9.5px; }
.mb-type { display: flex; flex-direction: column; justify-content: space-between; }
.mb-type b { font-family: var(--f-display); font-weight: 500; font-size: 56px; line-height: 0.9; letter-spacing: -0.04em; }
.mb-type span { font-family: var(--f-mono); font-size: 10.5px; color: var(--fg-3); }
/* maqueta: navegador */
.m-web { position: absolute; left: 6%; right: 6%; top: 10px; bottom: -40px; border-radius: 16px 16px 0 0; background: #f6f5f2; color: #0e0e10; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.9); overflow: hidden; }
.m-web .bar { height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid #e3e0da; background: #fff; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.m-web .url { flex: 1; max-width: 220px; margin: 0 auto; height: 20px; border-radius: 999px; background: #f1efea; font-size: 10.5px; color: #8b8b93; display: grid; place-items: center; }
.m-web .pg { padding: 16px 20px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px; align-items: center; }
.sk { display: block; height: 8px; border-radius: 6px; background: #e4e1da; }
.m-web .nav-sk { grid-column: span 2; display: flex; gap: 10px; align-items: center; }
.m-web .nav-sk b { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.m-web .h { display: flex; flex-direction: column; gap: 8px; }
.m-web .h b { font-family: var(--f-display); font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.m-web .h .cta { width: 92px; height: 26px; border-radius: 999px; background: #0e0e10; margin-top: 6px; animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(14,14,16,0.35); } 70%, 100% { box-shadow: 0 0 0 12px rgba(14,14,16,0); } }
.m-web .pic { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.m-web .pic img { width: 100%; height: 100%; object-fit: cover; }
.m-web .cards { grid-column: span 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-web .cards span { height: 54px; border-radius: 10px; background: #ebe8e2; }
.cursor { position: absolute; width: 18px; height: 18px; left: 34%; top: 62%; animation: cur 5s var(--ease) infinite; z-index: 3; }
@keyframes cur { 0%, 100% { transform: translate(60px, 40px); } 45%, 60% { transform: translate(0, 0); } 52% { transform: translate(0, 0) scale(0.85); } }
/* maqueta: set de foto */
.m-photo { position: absolute; inset: 0; border-radius: 16px 16px 0 0; overflow: hidden; }
.m-photo svg { width: 100%; height: 100%; }
.m-photo .ui { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; }
.m-photo .ui span { font-family: var(--f-mono); font-size: 10.5px; padding: 4px 9px; border-radius: 999px; background: rgba(10,10,11,0.6); color: #fff; }
.m-photo .flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 4s infinite; }
@keyframes flash { 0%, 86%, 100% { opacity: 0; } 88% { opacity: 0.6; } }

/* proceso */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--card); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 0 0 1px var(--line); }
.step .n { font-family: var(--f-display); font-size: 44px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--fg-3); margin-bottom: 18px; }
.step p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--fg-3); transition: transform 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--fg-2); max-width: 62ch; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* cierre: pared de pósters */
.finale { position: relative; overflow: hidden; padding-block: clamp(100px, 16vh, 180px); text-align: center; isolation: isolate; }
.wall { position: absolute; inset: -10% -5%; z-index: -2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; transform: rotate(-6deg) scale(1.1); opacity: 0.35; }
.wall img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.finale::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(10,10,11,0.55), var(--bg) 85%); }
.finale > .fin-c { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.finale .btns { justify-content: center; }

/* footer */
.ftr { border-top: 1px solid var(--line); padding-block: 48px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--fg-2); }
.ftr-g { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.ftr h4 { margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--fg); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ftr a:hover { color: var(--fg); }
.ftr-b { margin-top: 40px; font-size: 12.5px; color: var(--fg-3); }
@media (max-width: 760px) { .ftr-g { grid-template-columns: 1fr 1fr; } }

/* páginas internas */
.ph { padding-top: calc(64px + clamp(50px, 9vh, 100px)); padding-bottom: clamp(32px, 5vh, 52px); display: flex; flex-direction: column; gap: 16px; }
.ph.c { align-items: center; text-align: center; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.search { height: 42px; width: min(320px, 100%); min-width: 0; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 14px; color: var(--fg); }
.search:focus { outline: none; border-color: rgba(255,255,255,0.3); }
.grid-16 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 32px 16px; }
.grid-9 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 46%), 1fr)); gap: 28px 14px; }
.empty { color: var(--fg-2); padding: 40px 0; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 90; overflow-y: auto; background: rgba(0,0,0,0.72); padding: calc(28px + env(safe-area-inset-top, 0px)) 12px 40px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.m-box { position: relative; max-width: 900px; margin: 0 auto; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 100px rgba(0,0,0,0.6); animation: pop 300ms var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.m-hero { position: relative; aspect-ratio: 16 / 9; background: #000; }
.m-hero img { width: 100%; height: 100%; object-fit: cover; }
.m-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(10,10,11,0.75); display: grid; place-items: center; }
.m-x svg { width: 18px; height: 18px; }
.m-body { padding: 28px clamp(20px, 4vw, 44px); display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; }
.m-body p { margin: 0; color: var(--fg-2); }
.m-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--fg-3); margin: 4px 0 14px; }
.m-meta .hl { color: #46d369; font-weight: 500; }
.m-side { font-size: 14px; color: var(--fg-3); display: flex; flex-direction: column; gap: 10px; }
.m-side b { color: var(--fg-2); font-weight: 400; }
.m-sec { padding: 0 clamp(20px, 4vw, 44px) 36px; }
.m-sec h3 { margin: 0 0 16px; font-family: var(--f-display); font-weight: 500; font-size: 20px; }
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 14px; }
@media (max-width: 720px) { .m-body { grid-template-columns: 1fr; } .more { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen img, .amb img, .c-img img, .s-img img, .st-item { transition: none; }
  .thumb.on .bar i { animation: none; width: 100%; }
  .m-player .prog i, .cursor, .m-photo .flash, .m-web .h .cta { animation: none !important; }
}

/* crédito */
.by { color: var(--fg-2); font-size: 14px; transition: color 150ms; }
.by b { font-weight: 500; color: var(--fg); }
.by:hover, .by:hover b { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.star-badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px; background: #f5c518; color: #0a0a0b; font-size: 12.5px; font-weight: 600; }
.star-badge svg { width: 13px; height: 13px; }
.st-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.thumb .ti .tstar { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 50%; background: #f5c518; color: #0a0a0b; display: grid; place-items: center; z-index: 2; }
.thumb .ti .tstar svg { width: 12px; height: 12px; }

/* fondo en movimiento del escenario (cuadros reales del video) */
.bgv { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1000ms var(--ease); }
.bgv.on { opacity: 1; }
.bgv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(3px) saturate(1.1); transform: scale(1.08); transition: opacity 1100ms var(--ease); }
.bgv img.on { opacity: 0.55; animation: drift 6s linear forwards; }
@keyframes drift { from { transform: scale(1.06) translateX(0); } to { transform: scale(1.14) translateX(-2%); } }
.stage.has-bgv::after { background: linear-gradient(90deg, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.55) 40%, rgba(10,10,11,0.55) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,0) 40%), linear-gradient(180deg, rgba(10,10,11,0.7) 0%, rgba(10,10,11,0) 25%); }
.stage.has-bgv .amb img.on { opacity: 0; }

/* intro: qué hacemos */
.intro-bg { position: absolute; inset: 0; z-index: -2; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: 0; transition: opacity 1000ms var(--ease); transform: rotate(-4deg) scale(1.15); }
.intro-bg.on { opacity: 0.28; }
.strip { display: flex; gap: 14px; width: max-content; animation: strip 60s linear infinite; }
.strip.rev { animation-direction: reverse; animation-duration: 75s; }
.strip img { height: clamp(90px, 11vw, 150px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
@keyframes strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.reel { position: absolute; inset: 0; z-index: 1; background: #000; opacity: 0; transition: opacity 700ms var(--ease); }
.reel.on { opacity: 1; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.reel img.on { opacity: 1; animation: punch 1.3s var(--ease) forwards; }
@keyframes punch { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.reel .hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.reel .hud::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.6)); }
.reel .corner { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255,255,255,0.8); }
.reel .c1 { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; }
.reel .c2 { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; }
.reel .c3 { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; }
.reel .c4 { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; }
.reel .tc, .reel .rec, .reel .lbl { position: absolute; font-family: var(--f-mono); font-size: 12px; color: #fff; font-variant-numeric: tabular-nums; }
.reel .tc { top: 22px; left: 50px; }
.reel .rec { top: 22px; right: 50px; display: inline-flex; align-items: center; gap: 7px; }
.reel .rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.reel .lbl { bottom: 22px; left: 50px; opacity: 0.85; }
.reel .cut { position: absolute; inset: 0; background: #fff; opacity: 0; z-index: 3; }
.reel .cut.go { animation: cutflash 260ms ease-out; }
@keyframes cutflash { 0% { opacity: 0.35; } 100% { opacity: 0; } }
.thumb .ti.intro-t { display: grid; place-items: center; background: radial-gradient(120% 120% at 20% 20%, #3a110e, #141417 70%); }
.thumb .ti.intro-t img { position: absolute; inset: 0; margin: auto; width: auto; height: 46%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .strip, .bgv img.on, .reel img.on, .reel .rec i { animation: none !important; } }

.screen .reel img { transition: none; transform: none; }
.st-item.intro .h-xl { font-size: clamp(40px, 4.4vw, 66px); }

/* ---------- maqueta: identidad (tarjeta que gira + ícono + paleta) ---------- */
.m-brand2 { position: absolute; inset: 0; perspective: 1200px; }
.mb2-word { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); font-family: var(--f-display); font-weight: 600; font-size: clamp(44px, 8vw, 104px); line-height: 1; letter-spacing: 0.16em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.12); white-space: nowrap; user-select: none; pointer-events: none; }
.mb2-card { position: absolute; left: 50%; top: 50%; width: min(56%, 300px); aspect-ratio: 1.75; transform: translate(-50%, -50%); transform-style: preserve-3d; z-index: 2; }
.mb2-in { position: absolute; inset: 0; transform-style: preserve-3d; animation: flip 7s var(--ease) infinite; }
@keyframes flip { 0%, 38% { transform: rotateY(-14deg); } 50%, 88% { transform: rotateY(166deg); } 100% { transform: rotateY(346deg); } }
.mb2-f, .mb2-b { position: absolute; inset: 0; border-radius: 14px; backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.08); }
.mb2-f { display: grid; place-items: center; background: radial-gradient(120% 120% at 20% 10%, #ff4d3f, #e5281f 45%, #a3140d); }
.mb2-f img { height: 46%; width: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3)); }
.mb2-b { transform: rotateY(180deg); background: linear-gradient(160deg, #1f1f24, #121215); padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; }
.mb2-b b { font-family: var(--f-display); font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.mb2-b span { font-family: var(--f-mono); font-size: 10px; color: var(--fg-3); }
.mb2-b i { position: absolute; top: 16px; right: 18px; width: 22px; height: 4px; border-radius: 2px; background: var(--red); }
.mb2-icon { position: absolute; left: 7%; top: 10%; width: clamp(52px, 14%, 72px); aspect-ratio: 1; border-radius: 22%; background: linear-gradient(160deg, #26262c, #141417); display: grid; place-items: center; box-shadow: 0 20px 40px -14px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.08); transform: rotate(-8deg); animation: floaty 5s ease-in-out infinite; z-index: 1; }
.mb2-icon img { height: 52%; width: auto; }
.mb2-sw { position: absolute; right: 7%; top: 12%; display: flex; animation: floaty 6s ease-in-out infinite reverse; z-index: 1; }
.mb2-sw i:first-child { margin-left: 0; }
.mb2-sw i { width: clamp(24px, 6vw, 34px); height: clamp(24px, 6vw, 34px); border-radius: 50%; margin-left: -10px; box-shadow: 0 0 0 3px var(--card), 0 10px 20px -8px rgba(0,0,0,0.8); }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- maqueta: hoja de contactos con selección ---------- */
.m-sheet { position: absolute; inset: 6px 0 -10px; border-radius: 16px 16px 0 0; background: #111114; padding: 14px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ms-c { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #1c1c21; opacity: 0.55; animation: pick 9s infinite; animation-delay: calc(var(--k) * 1.5s); }
.ms-c img { width: 100%; height: 100%; object-fit: cover; }
.ms-c em { position: absolute; left: 6px; bottom: 5px; font-style: normal; font-family: var(--f-mono); font-size: 10px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
@keyframes pick { 0%, 100% { opacity: 0.5; box-shadow: none; transform: scale(1); } 6%, 14% { opacity: 1; box-shadow: 0 0 0 2px #f5c518; transform: scale(1.04); } 20% { opacity: 0.5; box-shadow: none; transform: scale(1); } }
.ms-sel { position: absolute; right: 18px; top: 18px; }
.ms-sel b { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: #f5c518; color: #0a0a0b; font-size: 11.5px; font-weight: 600; }
.ms-sel svg { width: 12px; height: 12px; }

/* ---------- clip en la portada del modal (top 4) ---------- */
.m-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease); }
.m-clip.on { opacity: 1; }

/* ---------- fondos programados para encabezados ---------- */
main.has-fx { position: relative; isolation: isolate; }
.fx { position: absolute; left: 0; right: 0; top: 0; height: min(760px, 100svh); z-index: -1; overflow: hidden; pointer-events: none; }
.fx-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; animation: orb 16s ease-in-out infinite alternate; }
.fx-orb.o1 { width: 46vw; height: 46vw; left: -10vw; top: -18vw; background: radial-gradient(circle, rgba(229,40,31,0.55), rgba(229,40,31,0) 70%); }
.fx-orb.o2 { width: 40vw; height: 40vw; right: -12vw; top: -8vw; background: radial-gradient(circle, rgba(245,197,24,0.25), rgba(245,197,24,0) 70%); animation-duration: 20s; }
.fx-orb.o3 { width: 36vw; height: 36vw; left: 30vw; top: 10vw; background: radial-gradient(circle, rgba(90,110,255,0.18), rgba(90,110,255,0) 70%); animation-duration: 24s; }
@keyframes orb { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vw, 4vw) scale(1.15); } }
.fx-bands { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; transform: rotate(-5deg) scale(1.2); opacity: 0.38; }
.fx-bands .strip img { height: clamp(90px, 10vw, 140px); }
.fx-v .strip img { aspect-ratio: 9 / 16; height: clamp(170px, 18vw, 260px); }
.fx-grid { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 70%; background-image: linear-gradient(rgba(255,255,255,0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.13) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%; mask-image: linear-gradient(0deg, rgba(0,0,0,0.9), transparent 85%); -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0.9), transparent 85%); animation: gridmove 6s linear infinite; }
.fx-grid.low { height: 45%; opacity: 0.7; }
@keyframes gridmove { from { background-position: 0 0; } to { background-position: 0 64px; } }
.fx-scan { position: absolute; left: 0; right: 0; height: 160px; top: -160px; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.05), transparent); animation: scan 7s linear infinite; }
@keyframes scan { to { top: 100%; } }
.fx-sun { position: absolute; inset: 0; }
.fx-sun .sun { position: absolute; left: 50%; bottom: 22%; width: min(560px, 80vw); aspect-ratio: 1; transform: translate(-50%, 35%); border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #ffcf4a 0%, #ff7a2f 40%, #e5281f 75%, #8f130d 100%); opacity: 0.8; animation: rise 14s var(--ease) infinite alternate; box-shadow: 0 0 140px 40px rgba(229,40,31,0.22); }
.fx-sun .sun::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; bottom: 0; background: repeating-linear-gradient(180deg, transparent 0 12px, var(--bg) 12px 17px); }
@keyframes rise { from { transform: translate(-50%, 55%); } to { transform: translate(-50%, 25%); } }
.fx-sun .horizon { position: absolute; left: 0; right: 0; bottom: 22%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); }
.fx-sun::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: var(--bg); }
.fx-grain { position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.fx-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,0.35) 0%, rgba(10,10,11,0.55) 55%, var(--bg) 100%); }
.fx--sun .fx-fade { background: linear-gradient(180deg, rgba(10,10,11,0.2) 0%, rgba(10,10,11,0) 50%, var(--bg) 100%); }
.fx--grid .fx-fade { background: linear-gradient(180deg, rgba(10,10,11,0.15) 0%, rgba(10,10,11,0.1) 55%, var(--bg) 100%); }
.fx--grid .fx-orb { opacity: 0.8; }
.fx--bands .fx-fade, .fx--shorts .fx-fade { background: linear-gradient(90deg, rgba(10,10,11,0.85) 0%, rgba(10,10,11,0.35) 60%, rgba(10,10,11,0.2) 100%), linear-gradient(180deg, rgba(10,10,11,0.3), rgba(10,10,11,0) 40%, var(--bg) 100%); }

/* ---------- intro opción A: solo texto sobre las bandas ---------- */
.stage.intro-a.is-intro .screen-wrap { visibility: hidden; }
.stage.intro-a.is-intro .st-grid { grid-template-columns: 1fr; }
.stage.intro-a.is-intro .intro-bg.on { opacity: 0.7; }
.stage.intro-a.is-intro::after { background: linear-gradient(90deg, rgba(10,10,11,0.9) 0%, rgba(10,10,11,0.6) 42%, rgba(10,10,11,0.12) 100%), linear-gradient(0deg, var(--bg), rgba(10,10,11,0) 28%), linear-gradient(180deg, rgba(10,10,11,0.6), rgba(10,10,11,0) 18%); }
.stage.intro-a .intro-bg { gap: 18px; justify-content: flex-start; padding-top: 40px; }
.stage.intro-a .intro-bg .strip img { height: clamp(120px, 13vw, 190px); }
.stage.intro-a.is-intro .st-item.intro .h-xl { font-size: clamp(48px, 7vw, 104px); max-width: 12ch; }
.stage.intro-a.is-intro .st-copy { min-height: 0; }

/* ---------- intro opción B: de la idea a la toma ---------- */
.forge { position: absolute; inset: 0; z-index: 1; background: #050506; opacity: 0; transition: opacity 600ms var(--ease); display: grid; place-items: center; }
.forge.on { opacity: 1; }
.fg-shot { position: absolute; inset: 0; }
.fg-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 100% 0 0); filter: saturate(0.2) contrast(1.1) brightness(0.6); }
.fg-shot img.on { animation: reveal 5.6s var(--ease) forwards; }
@keyframes reveal { 0% { clip-path: inset(0 100% 0 0); filter: saturate(0) brightness(0.4) blur(8px); } 35% { clip-path: inset(0 0 0 0); filter: saturate(0) brightness(0.6) blur(6px); } 60%, 100% { clip-path: inset(0 0 0 0); filter: saturate(1) brightness(1) blur(0); } }
.fg-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,6,0.85), rgba(5,5,6,0) 45%); }
.fg-wire { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 40px 40px; }
.fg-thirds { position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(33.3% - 0.5px), rgba(255,255,255,0.25) calc(33.3% - 0.5px) calc(33.3% + 0.5px), transparent calc(33.3% + 0.5px) calc(66.6% - 0.5px), rgba(255,255,255,0.25) calc(66.6% - 0.5px) calc(66.6% + 0.5px), transparent 0), linear-gradient(0deg, transparent calc(33.3% - 0.5px), rgba(255,255,255,0.25) calc(33.3% - 0.5px) calc(33.3% + 0.5px), transparent calc(33.3% + 0.5px) calc(66.6% - 0.5px), rgba(255,255,255,0.25) calc(66.6% - 0.5px) calc(66.6% + 0.5px), transparent 0); opacity: 0; transition: opacity 600ms; }
.forge.framing .fg-thirds { opacity: 1; }
.fg-prompt { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(20,20,23,0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,0.1); font-size: 14px; }
.fg-prompt .k { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); flex: none; }
.fg-prompt .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-prompt .t::after { content: ""; display: inline-block; width: 2px; height: 1em; vertical-align: -2px; margin-left: 2px; background: var(--fg); animation: blink 1s steps(2, start) infinite; }
.fg-steps { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; gap: 6px; }
.fg-steps span { font-family: var(--f-mono); font-size: 10.5px; padding: 4px 9px; border-radius: 999px; background: rgba(20,20,23,0.75); color: var(--fg-3); transition: background 300ms, color 300ms; }
.fg-steps span.on { background: var(--fg); color: #0a0a0b; }
.fg-title { position: absolute; z-index: 3; top: 16px; right: 16px; font-family: var(--f-mono); font-size: 11px; color: #fff; opacity: 0; transition: opacity 500ms; }
.forge.done .fg-title { opacity: 0.9; }
@media (prefers-reduced-motion: reduce) { .mb2-in, .mb2-icon, .mb2-sw, .ms-c, .fx-orb, .fx-grid, .fx-scan, .fx-sun .sun, .fg-shot img.on { animation: none !important; } .fg-shot img.on { clip-path: none; filter: none; } }

/* clips del top 4 en la pantalla y en el fondo */
.screen .scr-item { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms var(--ease); }
.screen .scr-item.on { opacity: 1; }
.screen .scr-item img { opacity: 1; transform: none; }
.scr-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1000ms var(--ease); }
.scr-clip.on { opacity: 1; }
.bgclip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(6px) saturate(1.1); transform: scale(1.08); opacity: 0; transition: opacity 1200ms var(--ease); }
.bgclip video.on { opacity: 0.5; }

/* botón flotante de WhatsApp */
.wa-fab { position: fixed; z-index: 75; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,0.6); transition: transform 200ms var(--ease); }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: wapulse 2.4s var(--ease) infinite; }
@keyframes wapulse { 0% { transform: scale(1); opacity: 0.5; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 600px) { .wa-fab { width: 52px; height: 52px; } .wa-fab svg { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab::before { animation: none; display: none; } }
