/* Spotflow Studio · landing. Sistema sobrio y oscuro: Inter a peso medio, grises de texto escalonados,
   bordes de un píxel y la interfaz del producto como imagen. Cada sección repite la misma anatomía
   (etiqueta numerada, titular, texto, panel y lista) y la numeración sigue el método: 1.0 → 4.0. */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #08090a;
  --bg-2: #0f1011;
  --bg-3: #151618;
  --bg-4: #1c1d20;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.13);
  --tx: #f7f8f8;
  --tx-2: #8a8f98;
  --tx-3: #62666d;
  --blue: #0a5cff;
  --blue-2: #4c8dff;
  --violet: #4a00ff;
  --cyan: #00f0ff;
  --amber: #f2b03c;
  --green: #4cc38a;

  --font: 'Inter', -apple-system, 'SF Pro Display', system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --w: 1200px;
  --pad: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400;
  font-feature-settings: 'cv01', 'ss03';
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(10, 92, 255, 0.5); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--w) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--tx); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.arr { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-left: 4px; transition: transform 0.2s var(--ease); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 16px; border-radius: 8px; font-size: 15px; font-weight: 510; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color 0.16s var(--ease), color 0.16s, border-color 0.16s, transform 0.16s;
}
.btn:active { transform: scale(0.98); }
.btn-light { background: var(--tx); color: #08090a; }
.btn-light:hover { background: #fff; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--tx); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 999px; }
.btn-block { width: 100%; }
.link { color: var(--tx-2); font-size: 15px; transition: color 0.16s; }
.link:hover { color: var(--tx); }
.link:hover .arr, .s-label:hover .arr { transform: translateX(2px); }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(8, 9, 10, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.brand img { width: 30px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { font-size: 13px; color: var(--tx-2); padding: 6px 10px; border-radius: 6px; transition: color 0.15s, background-color 0.15s; }
.nav-links a:hover, .nav-links a.on { color: var(--tx); }
.nav-end { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.nav-login, .lang { color: var(--tx-2); transition: color 0.15s; }
.nav-login:hover, .lang:hover { color: var(--tx); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 112px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; left: 50%; top: 340px; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(10, 92, 255, 0.22), rgba(74, 0, 255, 0.08) 55%, transparent);
  filter: blur(40px); pointer-events: none;
}
.hero-h { max-width: 21ch; font-size: clamp(40px, 5.6vw, 72px); font-weight: 510; line-height: 1.02; letter-spacing: -0.035em; }
.hero-row { margin-top: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-sub { max-width: 34em; font-size: 17px; line-height: 1.55; color: var(--tx-2); letter-spacing: -0.01em; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.stage { position: relative; margin-top: 72px; perspective: 2400px; }
.stage-tilt { transform: rotateX(var(--tilt, 14deg)) scale(var(--scale, 0.96)); transform-origin: 50% 0; will-change: transform; }
.stage::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to bottom, transparent, var(--bg) 92%); pointer-events: none; }
.sample { position: relative; z-index: 2; margin-top: -40px; padding-bottom: 8px; text-align: right; font-size: 12px; color: var(--tx-3); }

/* ---------- Ventana de la aplicación ---------- */
.win {
  display: grid; grid-template-columns: 216px minmax(0, 1fr) 248px; height: 600px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; font-size: 13px; color: var(--tx);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 120px -20px rgba(10, 92, 255, 0.25);
}
.win-side { padding: 14px 10px; border-right: 1px solid var(--line); background: #0c0d0e; }
.ws { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 4px 8px 14px; }
.ws-ico img { width: 20px; border-radius: 5px; }
.side-h { font-size: 12px; color: var(--tx-3); padding: 14px 8px 6px; }
.side-nav li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 6px; color: var(--tx-2); white-space: nowrap; }
.side-nav li.sub { padding-left: 30px; }
.side-nav li.sub.on { color: var(--tx); }
.side-nav li.sub2 { padding-left: 42px; }
.side-nav li.on2 { background: var(--bg-4); color: var(--tx); }
.ico { width: 14px; height: 14px; flex-shrink: 0; border-radius: 4px; border: 1.5px solid var(--tx-3); }
.ico-1 { border-radius: 3px; }
.ico-2 { border-radius: 50% 50% 50% 2px; }
.ico-p { background: var(--blue); border-color: var(--blue); }
.win-main { display: flex; flex-direction: column; min-width: 0; }
.win-top { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.crumb { color: var(--tx-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb span { color: var(--tx-3); margin: 0 4px; }
.kbd { font-size: 12px; color: var(--tx-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.phases { display: flex; gap: 2px; padding: 10px 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.phases span { padding: 4px 9px; border-radius: 6px; color: var(--tx-3); white-space: nowrap; font-size: 12.5px; }
.phases span.on { color: var(--tx); background: var(--bg-4); box-shadow: inset 0 0 0 1px var(--line-2); }
.list { padding: 6px 0; overflow: hidden; }
.grp { display: flex; align-items: center; gap: 8px; padding: 10px 18px 6px; font-weight: 510; background: rgba(255, 255, 255, 0.015); }
.grp span { color: var(--tx-3); font-weight: 400; }
.row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto auto 40px 56px; gap: 12px; align-items: center; height: 40px; padding: 0 18px; border-top: 1px solid rgba(255, 255, 255, 0.04); }
.row.sel { background: rgba(10, 92, 255, 0.09); box-shadow: inset 2px 0 0 var(--blue); }
.r-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-type, .r-ratio, .r-date { color: var(--tx-3); white-space: nowrap; }
.r-date { text-align: right; }
.r-ch { display: flex; gap: 4px; }
.r-ch em { font-style: normal; font-size: 11.5px; color: var(--tx-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.st { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke-width: 1.5; }
.st-draft { stroke: var(--tx-3); stroke-dasharray: 2.4 2; }
.st-review circle { stroke: var(--amber); }
.st-review path { fill: var(--amber); }
.st-ok circle { fill: var(--blue); stroke: var(--blue); }
.st-ok path { stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.win-props { padding: 16px; border-left: 1px solid var(--line); background: #0c0d0e; display: flex; flex-direction: column; min-width: 0; }
.prev { display: flex; justify-content: center; padding: 6px 0 18px; }
.prev .thumb { width: 92px; height: 164px; border-radius: 10px; }
.props-h { font-size: 12px; color: var(--tx-3); margin-bottom: 8px; }
.win-props dl > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px; padding: 6px 0; }
.win-props dt { color: var(--tx-3); }
.win-props dd { display: flex; align-items: center; gap: 6px; color: var(--tx); min-width: 0; }
.ai-dot { width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(from 200deg, var(--violet), var(--blue), var(--cyan), var(--violet)); flex-shrink: 0; display: inline-block; }
.props-act { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.props-act span { text-align: center; padding: 7px 0; border-radius: 7px; font-weight: 510; }
.b1 { background: var(--tx); color: #08090a; }
.b2 { border: 1px solid var(--line-2); color: var(--tx-2); }

/* Miniatura de un anuncio vertical */
.thumb { position: relative; display: inline-block; flex-shrink: 0; overflow: hidden; width: 36px; height: 64px; border-radius: 6px; background: linear-gradient(160deg, #13213a, #0b1220); border: 1px solid var(--line-2); }
.thumb img { position: absolute; left: 10%; top: 30%; width: 80%; }
.thumb i { position: absolute; left: 14%; top: 58%; width: 66%; height: 6%; max-height: 6px; border-radius: 2px; background: rgba(255, 255, 255, 0.85); }
.thumb i.s { top: 68%; width: 40%; background: var(--cyan); }

/* ---------- Declaración y principios ---------- */
.statement { padding-top: 120px; }
.statement > p { max-width: 21em; font-size: clamp(26px, 3vw, 40px); line-height: 1.18; letter-spacing: -0.025em; font-weight: 510; color: var(--tx-2); }
.statement > p span { color: var(--tx); }
.pillars { margin-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillars li { padding: 32px 32px 0 0; }
.pillars li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.fig { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.fig svg { width: 240px; max-width: 100%; height: 180px; }
.fl { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1; }
.fl .f2 { stroke: rgba(255, 255, 255, 0.32); }
.fl .f3 { stroke: rgba(255, 255, 255, 0.18); }
.fl .dash { stroke: rgba(255, 255, 255, 0.25); stroke-dasharray: 3 4; }
.fl .dot { fill: var(--cyan); stroke: none; }
.fig-n { font-family: var(--mono); font-size: 11px; color: var(--tx-3); letter-spacing: 0.04em; margin-bottom: 10px; }
.pillars h3 { font-size: 15px; font-weight: 510; letter-spacing: -0.01em; }
.pillars li > p:last-child { margin-top: 6px; color: var(--tx-2); font-size: 15px; line-height: 1.55; max-width: 28em; }

/* ---------- Secciones numeradas ---------- */
.sec { padding-top: 160px; }
.s-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 20px; align-items: start; margin-bottom: 56px; }
.s-label { grid-column: 1 / -1; font-size: 13px; color: var(--tx-2); display: inline-flex; align-items: center; gap: 8px; width: fit-content; transition: color 0.15s; }
.s-label span { font-family: var(--mono); font-size: 12px; color: var(--blue-2); }
.s-label:hover { color: var(--tx); }
.s-title { font-size: clamp(32px, 3.6vw, 48px); font-weight: 510; line-height: 1.06; letter-spacing: -0.03em; max-width: 13em; }
.s-text { color: var(--tx-2); font-size: 16px; line-height: 1.6; max-width: 32em; padding-top: 6px; }
.s-head-c { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.s-head-c .s-text { padding-top: 0; }
.s-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--line); }
.s-links li { padding: 18px 0; font-size: 14px; color: var(--tx-2); }
.s-links li::before { content: '+'; color: var(--tx-3); margin-right: 8px; }

/* Paneles: la interfaz en grande, con su degradado de borde */
.panel { position: relative; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px 14px 0 0; overflow: hidden; }
.panel::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(76, 141, 255, 0.6), transparent); z-index: 1; }
.pane { background: linear-gradient(180deg, var(--bg-2), var(--bg) 120%); padding: 28px; font-size: 14px; min-width: 0; }
.pane-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--tx-2); margin-bottom: 18px; }
.panel-split { grid-template-columns: 1.1fr 1fr; }
.chat { display: grid; gap: 14px; }
.msg { max-width: 92%; }
.msg p { margin-top: 4px; line-height: 1.55; }
.by { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tx-3); font-weight: 510; }
.msg-you { justify-self: end; background: var(--bg-4); border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; }
.tools { display: flex; flex-wrap: wrap; gap: 6px; }
.tools code, .connector code { font-family: var(--mono); font-size: 12px; color: var(--tx-2); background: var(--bg-3); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }
.connector { margin-top: 28px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: 13px; color: var(--tx-3); }
.connector code { background: none; border: 0; padding: 0; color: var(--cyan); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy { border: 1px solid var(--line-2); background: var(--bg-3); border-radius: 6px; padding: 4px 10px; font-size: 12px; cursor: pointer; transition: background-color 0.15s; }
.copy:hover { background: var(--bg-4); }
.sheet { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-top: 1px solid var(--line); }
.sheet th { width: 28%; font-weight: 400; color: var(--tx-3); }
.sheet td:last-child { text-align: right; padding-right: 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tx-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.tag.t-hyp { color: var(--amber); border-color: rgba(242, 176, 60, 0.35); }
.tag.t-ok { color: var(--green); border-color: rgba(76, 195, 138, 0.35); }

.panel-plan { grid-template-columns: 1.7fr 1fr; }
.phase-mini { display: flex; gap: 3px; }
.phase-mini i { width: 18px; height: 4px; border-radius: 2px; background: var(--bg-4); }
.phase-mini i.on { background: var(--blue); }
.gantt { display: grid; gap: 2px; }
.g-row { display: grid; grid-template-columns: 210px 1fr; align-items: center; height: 40px; border-top: 1px solid var(--line); }
.g-weeks { display: grid; grid-template-columns: 210px repeat(4, 1fr); font-size: 12px; color: var(--tx-3); padding-bottom: 8px; }
.g-name { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 12px; }
.g-track { position: relative; height: 100%; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--line) calc(25% - 1px) 25%); }
.g-bar { position: absolute; top: 9px; bottom: 9px; left: calc(var(--s) * 25% + 6px); width: calc(var(--l) * 25% - 12px); border-radius: 6px; display: flex; align-items: center; padding: 0 10px; overflow: hidden; }
.g-bar em { font-style: normal; font-size: 11.5px; white-space: nowrap; }
.b-ok { background: rgba(10, 92, 255, 0.22); color: #b9d0ff; box-shadow: inset 0 0 0 1px rgba(10, 92, 255, 0.5); }
.b-review { background: rgba(242, 176, 60, 0.14); color: #f3d39a; box-shadow: inset 0 0 0 1px rgba(242, 176, 60, 0.4); }
.b-draft { background: rgba(255, 255, 255, 0.04); color: var(--tx-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.hooks { display: grid; gap: 8px; counter-reset: h; }
.hooks li { position: relative; padding: 12px 14px 12px 42px; border: 1px solid var(--line); border-radius: 10px; color: var(--tx-2); counter-increment: h; }
.hooks li::before { content: counter(h); position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 12px; color: var(--tx-3); }
.hooks li.on { color: var(--tx); border-color: rgba(10, 92, 255, 0.5); background: rgba(10, 92, 255, 0.08); }

/* Editor de vídeo */
.ed { display: grid; grid-template-columns: 220px 1fr 280px; gap: 32px; }
.ed-scenes ol { display: grid; gap: 4px; }
.ed-scenes li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--tx-2); }
.ed-scenes li b { display: block; font-weight: 510; color: inherit; }
.ed-scenes li small { color: var(--tx-3); font-size: 12px; }
.ed-scenes li.on { background: var(--bg-4); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line-2); }
.sn { font-family: var(--mono); font-size: 12px; color: var(--tx-3); }
.sd { font-size: 12px; color: var(--tx-3); }
.ed-player { display: flex; flex-direction: column; align-items: center; }
.spot-stage { position: relative; width: 270px; max-width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 14px; background: #f6f8fc; color: #0e1a2b; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 80px -20px rgba(10, 92, 255, 0.45); }
.sc { position: absolute; left: 24px; right: 24px; will-change: transform, opacity; letter-spacing: -0.02em; }
.sc-hook { top: 38%; font-size: 26px; font-weight: 700; line-height: 1.1; }
.sc-line { top: 36%; font-size: 24px; font-weight: 650; line-height: 1.15; color: var(--blue); }
.sc-brand { top: 30%; }
.sc-trail { width: 100%; }
.sc-name { margin-top: 16px; font-size: 32px; font-weight: 750; line-height: 1.05; overflow-wrap: anywhere; }
.sc-cta { display: inline-block; margin-top: 18px; background: #0e1a2b; color: #fff; font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.spot-bar { display: flex; align-items: center; gap: 10px; width: 270px; max-width: 100%; margin-top: 14px; }
.spot-play { border: 1px solid var(--line-2); background: var(--bg-3); border-radius: 6px; padding: 4px 10px; font-size: 12px; cursor: pointer; min-width: 84px; }
.spot-play:hover { background: var(--bg-4); }
.spot-bar input { flex: 1; min-width: 0; accent-color: var(--blue-2); }
.spot-bar output { font-size: 12px; color: var(--tx-3); font-variant-numeric: tabular-nums; }
.ed-fields label { display: block; margin-bottom: 14px; }
.ed-fields label span { display: block; font-size: 12px; color: var(--tx-3); margin-bottom: 6px; }
.ed-fields input, .ed-fields textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 11px; font-size: 14px; resize: none; transition: border-color 0.15s, box-shadow 0.15s; }
.ed-fields input:focus, .ed-fields textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.2); }
.hint { font-size: 12.5px; color: var(--tx-3); margin-bottom: 18px; }
.render { position: relative; width: 100%; height: 38px; border: 0; border-radius: 8px; background: var(--tx); color: #08090a; font-weight: 510; font-size: 14px; cursor: pointer; overflow: hidden; transition: background-color 0.2s, color 0.2s; }
.render:hover { background: #fff; }
.render-bar { position: absolute; inset: auto 0 0; height: 3px; background: rgba(255, 255, 255, 0.06); }
.render-bar i { display: block; height: 100%; width: 0; background: var(--blue-2); }
.render.is-busy, .render.is-done { background: var(--bg-4); color: var(--tx); cursor: default; }
.render.is-done { color: var(--green); }

/* Revisión */
.panel-review { grid-template-columns: 1.6fr 1fr; }
.rrow { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.rrow:first-child { border-top: 0; padding-top: 0; }
.rstate { display: flex; align-items: center; gap: 8px; color: var(--tx-2); }
.rpiece { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rpiece b { display: block; font-weight: 510; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpiece small { color: var(--tx-3); font-size: 12px; }
.rpiece > span:last-child { min-width: 0; }
.rrow.is-live { margin: 0 -14px; padding: 14px; border-radius: 10px; background: rgba(10, 92, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(10, 92, 255, 0.35); border-top-color: transparent; }
.rrow.is-live + .rrow { border-top-color: transparent; }
.pactions { display: inline-flex; gap: 6px; }
.pbtn { border: 1px solid var(--line-2); background: var(--bg-3); border-radius: 7px; padding: 6px 12px; font-size: 13px; font-weight: 510; cursor: pointer; transition: background-color 0.15s, transform 0.15s; }
.pbtn:active { transform: scale(0.97); }
.pbtn-back:hover { background: var(--bg-4); }
.pbtn-ok { background: var(--tx); color: #08090a; border-color: var(--tx); }
.pbtn-ok:hover { background: #fff; }
.pdone { display: inline-flex; align-items: center; gap: 8px; }
.pdone .pdone-text { color: var(--amber); border-color: rgba(242, 176, 60, 0.35); }
.pdone.is-ok .pdone-text { color: var(--green); border-color: rgba(76, 195, 138, 0.35); }
.pundo { border: 0; background: none; color: var(--tx-2); font-size: 12px; cursor: pointer; text-decoration: underline; }
.log { display: grid; gap: 16px; }
.log li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; color: var(--tx-2); line-height: 1.45; }
.log b { color: var(--tx); font-weight: 510; }
.log time { font-size: 12px; color: var(--tx-3); white-space: nowrap; }
.av { width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(from 200deg, var(--violet), var(--blue), var(--cyan), var(--violet)); }
.av-you { background: var(--bg-4); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; font-size: 11px; color: var(--tx); }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.plan { padding: 32px; background: var(--bg-2); }
.plan + .plan { border-left: 1px solid var(--line); }
.plan-main { background: linear-gradient(180deg, rgba(10, 92, 255, 0.1), var(--bg-2) 60%); }
.plan-name { font-size: 15px; font-weight: 510; }
.plan-price { margin-top: 18px; font-size: 40px; font-weight: 510; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { font-size: 14px; color: var(--tx-3); letter-spacing: 0; margin-left: 8px; font-weight: 400; }
.plan:not(.plan-main) .plan-price { font-size: 22px; color: var(--tx-2); padding: 9px 0; }
.plan-who { margin: 12px 0 24px; color: var(--tx-2); font-size: 14px; }
.plan ul { margin-top: 24px; display: grid; gap: 10px; }
.plan:not(.plan-main) ul { margin-top: 0; }
.plan li { position: relative; padding-left: 24px; font-size: 14px; color: var(--tx-2); }
.plan li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 1.5px solid var(--tx-2); border-bottom: 1.5px solid var(--tx-2); transform: rotate(-45deg); }
.plan-main li { color: var(--tx); }
.plan-main li::before { border-color: var(--blue-2); }

/* ---------- Preguntas ---------- */
.faq-in { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.qs { border-top: 1px solid var(--line); }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-size: 16px; font-weight: 510; letter-spacing: -0.01em; transition: color 0.15s; }
.qs summary:hover { color: #fff; }
.qs summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 5px; width: 12px; height: 1.5px; background: var(--tx-2); transition: transform 0.2s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.qs details p { padding: 0 48px 22px 0; color: var(--tx-2); font-size: 15px; line-height: 1.6; }

/* ---------- Cierre ---------- */
.final { position: relative; margin-top: 180px; padding: 140px 0 160px; border-top: 1px solid var(--line); overflow: hidden; text-align: center; }
.final::before { content: ''; position: absolute; left: 50%; top: 0; width: 900px; height: 500px; transform: translate(-50%, -55%); background: radial-gradient(closest-side, rgba(10, 92, 255, 0.28), rgba(74, 0, 255, 0.1) 60%, transparent); filter: blur(30px); pointer-events: none; }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-mark { width: 120px; margin-bottom: 36px; }
.final h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 510; line-height: 1.04; letter-spacing: -0.035em; max-width: 12em; }
.final p { margin-top: 18px; color: var(--tx-2); font-size: 17px; max-width: 32em; }
.final-cta { margin-top: 36px; display: flex; gap: 12px; }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 13px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand img { width: 120px; }
.foot-brand p { margin-top: 16px; color: var(--tx-3); max-width: 24em; }
.foot-h { font-weight: 510; margin-bottom: 14px; }
.foot ul { display: grid; gap: 10px; }
.foot a { color: var(--tx-2); transition: color 0.15s; }
.foot a:hover, .foot a[aria-current] { color: var(--tx); }
.foot-legal { margin-top: 64px; color: var(--tx-3); }

/* ---------- Movimiento ---------- */
.js .hero-h, .js .hero-row { opacity: 0; transform: translateY(16px); animation: in 1s var(--ease-out) forwards; }
.js .hero-row { animation-delay: 0.12s; }
.js .stage { opacity: 0; animation: fade 1.4s var(--ease-out) 0.25s forwards; }
@keyframes in { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .pillars li.reveal.is-in:nth-child(2), .js .plans .reveal.is-in:nth-child(2) { transition-delay: 0.08s; }
.js .pillars li.reveal.is-in:nth-child(3), .js .plans .reveal.is-in:nth-child(3) { transition-delay: 0.16s; }
.js .panel { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .panel.is-in { opacity: 1; transform: none; }
.js .fig svg .fl > * { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease-out); }
.js .fig svg .fl > .dash { stroke-dasharray: 3 4; stroke-dashoffset: 0; }
.js .is-in .fig svg .fl > * { stroke-dashoffset: 0; }
.js .is-in .fig svg .fl > .dot { transition-delay: 1.2s; }
.row, .rrow, .hooks li, .ed-scenes li { transition: background-color 0.2s, color 0.2s; }

/* ---------- Tableta ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-end { margin-left: auto; }
  .win { grid-template-columns: minmax(0, 1fr) 232px; }
  .win-side { display: none; }
  .ed { grid-template-columns: 1fr 1fr; }
  .ed-scenes { grid-column: 1 / -1; }
  .ed-scenes ol { grid-template-columns: repeat(3, 1fr); }
  .panel-plan, .panel-review { grid-template-columns: 1fr; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 760px) {
  :root { --pad: 20px; }
  .nav-in { gap: 12px; }
  .nav-login { display: none; }
  .hero { padding-top: 64px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .stage { margin-top: 48px; }
  .stage-tilt { transform: none; }
  .win { grid-template-columns: minmax(0, 1fr); height: 470px; }
  .win-props { display: none; }
  .row { grid-template-columns: 16px minmax(0, 1fr) 50px; }
  .r-type, .r-ch, .r-ratio { display: none; }
  .sample { margin-top: -28px; }
  .statement { padding-top: 80px; }
  .pillars { grid-template-columns: 1fr; margin-top: 56px; }
  .pillars li, .pillars li + li { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .pillars li:first-child { border-top: 0; }
  .sec { padding-top: 112px; }
  .s-head { grid-template-columns: 1fr; margin-bottom: 36px; }
  .panel-split { grid-template-columns: 1fr; }
  .pane { padding: 20px; }
  .g-row { grid-template-columns: 120px 1fr; }
  .g-weeks { grid-template-columns: 120px repeat(4, 1fr); }
  .g-bar em { display: none; }
  .ed { grid-template-columns: 1fr; gap: 24px; }
  .ed-scenes ol { grid-template-columns: 1fr; }
  .spot-stage, .spot-bar { width: 240px; }
  .rrow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rrow.is-live { margin: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .faq-in { grid-template-columns: 1fr; gap: 24px; }
  .final { margin-top: 120px; padding: 100px 0 120px; }
  .final-cta { flex-direction: column; width: 100%; }
  .final-cta .btn { width: 100%; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .panel, .js .hero-h, .js .hero-row, .js .stage { opacity: 1 !important; transform: none !important; }
  .stage-tilt { transform: none !important; }
}

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px; }
.lost img { width: 200px; }
.lost h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 510; letter-spacing: -0.035em; }
.lost p { color: var(--tx-2); }
