/* Publicidad 2.0 (publiscenes.com/publicidad). Usa los tokens de /ui/styles.css y la base de /landing.css. */

/* ───────── Cabecera: la de la portada, con «← Inicio» ───────── */
.lnav-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.back-home { flex: none; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.back-home:hover { color: #fff; border-color: rgba(255, 255, 255, .32); }
@media (max-width: 1279px) { .pub .lnav nav { display: none; } }
@media (max-width: 560px) {
  .pub .lnav, .pub .lnav-left { gap: 10px; }
  .pub .lnav-cta [data-app="admin"] { display: none; }
  .back-home { padding: 5px 9px; font-size: 12.5px; }
}
@media (max-width: 360px) { .pub .lnav .brand > span:last-child { display: none; } }

/* Botones de color con texto blanco y contraste AA (degradados algo más oscuros que en la portada) */
.pub [data-app="admin"] { --grad: linear-gradient(120deg, #0a5fd1 0%, #7a00e6 55%, #c0009f 100%); }
.pub [data-app="app"] { --grad: linear-gradient(120deg, #1d4ed8 0%, #0369a1 50%, #0f766e 100%); }

/* ───────── Marco de imagen: la imagen cubre la caja sin deformarse y lo de encima va en % de la imagen ───────── */
.mf { position: relative; overflow: hidden; container-type: size; background: #0b1023; }
.mf-in { position: absolute; inset: 0; }
.mf-in > img, .mf-in > picture, .mf-in > picture > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
@supports (width: 1cqw) {
  .mf-in {
    --fw: max(100cqw, 100cqh * var(--ar, 1.7778));
    --fh: max(100cqh, 100cqw / var(--ar, 1.7778));
    inset: auto; width: var(--fw); height: var(--fh);
    left: calc((100cqw - var(--fw)) * var(--px, .5)); top: calc((100cqh - var(--fh)) * var(--py, .5));
  }
}
/* Rótulo obligatorio en las imágenes generadas (Reglamento de IA, art. 50) */
.ai-note { position: absolute; left: 10px; top: 10px; z-index: 4; max-width: calc(100% - 20px); margin: 0; padding: 4px 9px; border-radius: 99px; background: rgba(6, 10, 34, .82); color: #F5F7FF; font: 600 11px/1.3 var(--font); letter-spacing: .01em; pointer-events: none; }
.ai-real { background: rgba(21, 94, 52, .92); }

/* ───────── Detector: esquinas finas blancas y bola verde con los segundos, como el seguimiento del vídeo ───────── */
.det {
  --arm: 22px; --line: 2px; --ball: 42px; --gap: 6px;
  position: absolute; z-index: 2; pointer-events: none;
  left: calc(var(--x, 0) * 1%); top: calc(var(--y, 0) * 1%); width: calc(var(--w, 10) * 1%); height: calc(var(--h, 10) * 1%);
  opacity: 0; transition: opacity .5s var(--ease);
}
@supports (width: 1cqmin) { .det { --arm: clamp(12px, 4.4cqmin, 34px); --line: clamp(2px, .55cqmin, 4px); --ball: clamp(38px, 10.6cqmin, 80px); --gap: clamp(3px, 1.1cqmin, 9px); } }
.det.on { opacity: 1; }
/* Con el vídeo montado, el seguimiento va grabado en el vídeo: el detector HTML de la portada no se enseña nunca */
.ph.has-video .ph-det { opacity: 0 !important; transition: none !important; }
.det-box { position: absolute; inset: 0; transform: scale(1.14); transition: transform .8s var(--ease); }
.det.on .det-box { transform: none; }
.det-box i { position: absolute; width: min(var(--arm), 40%); height: min(var(--arm), 40%); border: 0 solid #fff; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .6)); }
.det-box i:nth-child(1) { left: 0; top: 0; border-top-width: var(--line); border-left-width: var(--line); }
.det-box i:nth-child(2) { right: 0; top: 0; border-top-width: var(--line); border-right-width: var(--line); }
.det-box i:nth-child(3) { left: 0; bottom: 0; border-bottom-width: var(--line); border-left-width: var(--line); }
.det-box i:nth-child(4) { right: 0; bottom: 0; border-bottom-width: var(--line); border-right-width: var(--line); }
/* Bola: sobre el borde superior, justo a la izquierda de la esquina derecha; cifra ≈ 1/4,4 de la bola y aro ≈ 6,6 % */
.det-sec {
  position: absolute; top: 0; left: calc(100% - var(--ball) - var(--gap)); width: var(--ball); height: var(--ball); transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #05070d; border: max(2px, calc(var(--ball) * .066)) solid #22c55e;
  color: #fff; font: 700 calc(var(--ball) * .3)/1 "Bahnschrift", "DIN Alternate", var(--font); white-space: nowrap; font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .75);
}
.det-sec b { font-weight: 700; }
/* En la llamada final la caja aún está vacía: la bola espera en «00 s» */
.det-wait.on .det-sec { animation: det-wait 2.6s ease-in-out infinite; }
@keyframes det-wait { 50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, .2), 0 4px 14px -4px rgba(0, 0, 0, .75); } }

/* ───────── Portada ───────── */
.ph { position: relative; display: grid; gap: 26px; max-width: 1440px; margin: 0 auto; padding: 26px clamp(16px, 5vw, 48px) 40px; }
.ph-text { max-width: 640px; min-width: 0; }
.ph h1, .ph .ph-h { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.02; margin: 4px 0 18px; text-wrap: balance; }
.ph .lead { margin: 0; }
.ph .hero-ctas { margin-top: 24px; }
.ph .founder-hero { margin-top: 18px; }
.ph-stage { position: relative; min-width: 0; }
.ph-mf { width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .95); }
.ph-in { --ar: 1.7778; }
.ph-det { --x: var(--dx); --y: var(--dy); --w: var(--dw); --h: var(--dh); }
.ph-vwrap { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .4s var(--ease); }
.ph.has-video .ph-vwrap { opacity: 1; }
.ph-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-end { position: absolute; inset: 0; z-index: 3; opacity: 0; transition: opacity .9s var(--ease); }
.ph-end img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph.is-end .ph-end { opacity: 1; }
/* Rótulos sobre el vídeo (acaban a los 11,4 s: el cartel lleva su propio texto) */
/* Abajo a la izquierda y como mucho un 34 % de ancho: así no tapa el seguimiento grabado (empieza hacia el 39 %) */
.ph-cap { position: absolute; z-index: 4; left: 4%; bottom: 6%; max-width: min(34%, 360px); margin: 0; pointer-events: none; }
.ph-cap span { display: none; padding: 9px 14px; border-radius: 14px; background: rgba(6, 10, 34, .76); color: #fff; font: 400 clamp(1.05rem, .7rem + .9vw, 1.5rem)/1.15 var(--serif); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8); }
.ph-cap span.on { display: inline-block; animation: cap-in .5s var(--ease); }
.ph-cap em { font-style: italic; background: linear-gradient(120deg, #7fe7ff, #c79bff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.ph.is-end .ph-cap { display: none; }
@keyframes cap-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ph-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.ph-note { margin: 0; color: var(--ink-2); font-size: 12px; }
.ph-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-tools[hidden] { display: none; }
.ph-btn { padding: 7px 14px; border-radius: 99px; font-size: 13px; }
.ph-btn[hidden] { display: none; }

/* Ordenador: texto a la izquierda y vídeo a la derecha, entero (el cartel final lleva datos que no se pueden tapar) */
@media (min-width: 1100px) {
  /* 17-nov-2026: el vídeo manda. Columna de texto estrecha y fija; el vídeo ocupa el resto (hasta 1720 px de ancho total). */
  .ph { max-width: 1720px; grid-template-columns: minmax(330px, 420px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 3vw, 56px); min-height: calc(100svh - 64px); padding-top: 24px; padding-bottom: 40px; }
  .ph h1, .ph .ph-h { font-size: clamp(2.4rem, 1rem + 2.4vw, 4rem); }
  .ph .lead { font-size: 1rem; }
  .ph-mf { border-radius: 18px; box-shadow: 0 50px 120px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04); }
}
/* Tableta: el vídeo arriba y el texto debajo */
@media (max-width: 1099px) { .ph-stage { order: -1; } .ph-text { max-width: 760px; } }
/* Móvil: la cornisa vertical (M1) a todo lo ancho; el vídeo 16:9 se ve en medio, sobre la cornisa difuminada, y acaba en el cartel vertical */
@media (max-width: 760px) {
  .ph { padding: 0 0 28px; gap: 20px; }
  .ph-text { padding: 0 16px; }
  .ph-mf { aspect-ratio: 9 / 16; border-radius: 0; border-width: 0 0 1px; }
  .ph-in { --ar: .5628; }
  .ph-det { --x: var(--sx); --y: var(--sy); --w: var(--sw); --h: var(--sh); }
  .ph-vwrap { inset: auto 0; top: 50%; aspect-ratio: 16 / 9; transform: translateY(-50%); }
  .ph-in picture img { transition: filter .6s var(--ease), transform .6s var(--ease); }
  .ph.has-video .ph-in picture img { filter: blur(18px) brightness(.42) saturate(1.15); transform: scale(1.1); }
  .ph-cap { left: 16px; right: 16px; bottom: 6%; max-width: none; text-align: center; }
  .ph-bar { padding: 0 16px; }
}

/* ───────── Superficies comunes ───────── */
.pub .lsec h2, .cta-body h2 { text-wrap: balance; }
.glass-card { position: relative; padding: clamp(18px, 2.4vw, 28px); border-radius: 24px; background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); }
.glass-card h3 { font-size: 1.05rem; margin: 0 0 10px; }

/* ───────── 1.0 frente a 2.0 ───────── */
.vs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.vs-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); }
.vs-new { border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 30px 80px -44px var(--accent); }
.vs-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.vs-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.vs-old .vs-media img { filter: saturate(.75); }
.vs-skip { position: absolute; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 6px; background: rgba(0, 0, 0, .74); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font: 600 13px/1.2 var(--font); }
.vs-body { padding: 20px 24px 26px; }
.vs-tag { display: inline-block; padding: 4px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.vs-old .vs-tag { color: var(--ink-2); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.vs-new .vs-tag { color: #fff; background: linear-gradient(120deg, #5b00c9, #0b63c9); }
.vs-body h3 { margin: 12px 0; font: 400 clamp(1.9rem, 1.3rem + 1.6vw, 2.7rem)/1 var(--serif); }
.vs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--ink-2); }
.vs-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.vs-list li::before { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.vs-old .vs-list li::before { content: "✕"; color: var(--ink-2); background: rgba(255, 255, 255, .08); }
.vs-new .vs-list li::before { content: "✓"; color: #fff; background: var(--grad); }
.vs-more { margin-top: 22px; padding: 14px 20px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.vs-more summary { color: var(--ink); font-size: 1rem; }
.vs-table { margin-top: 10px; }
.vs-table td { color: var(--ink-2); }
.vs-table td b { color: var(--ink); }
/* En la portada: en vez de la tabla, un enlace a la comparativa completa de /publicidad */
.vs-links { margin-top: 22px; }
.vs-honest { margin: 22px 0 0; color: var(--ink-2); font-size: 1.05rem; }
.vs-honest b { color: var(--ink); }
@media (max-width: 760px) { .vs-grid { grid-template-columns: 1fr; } .vs-media { aspect-ratio: 4 / 5; } }

/* ───────── Frente a otras formas de publicidad (tabla en el ordenador, tarjetas en el móvil; la de PubliScenes, marcada) ───────── */
.cmp { padding: clamp(10px, 1.6vw, 18px); }
.cmp-table { min-width: 1060px; }
.cmp-short { min-width: 760px; }
.cmp-table th { white-space: normal; vertical-align: bottom; }
.cmp-table td { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.cmp-table td:first-child { width: 15%; color: var(--ink); }
.cmp-short td:first-child { width: 22%; }
.cmp-table td:first-child b { display: block; }
.cmp-badge { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 99px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(120deg, #5b00c9, #0b63c9); }
.cmp-us td { color: var(--ink); background: color-mix(in srgb, var(--accent) 13%, transparent); }
.cmp-us td:first-child { box-shadow: inset 3px 0 0 var(--accent); border-radius: 12px 0 0 12px; }
.cmp-us td:last-child { border-radius: 0 12px 12px 0; }
@media (max-width: 860px) {
  .cmp { padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cmp-table, .cmp-short { min-width: 0; }
  .cmp-table td:first-child { display: block; width: 100%; padding-bottom: 8px; }
  .cmp-table td:first-child b { display: inline; margin-right: 8px; font-size: 1.02rem; }
  .cmp-badge { margin-top: 0; }
  .cmp-table td { grid-template-columns: 40% 1fr; }
  .cmp-us { border-color: color-mix(in srgb, var(--accent) 60%, transparent) !important; background: color-mix(in srgb, var(--accent) 14%, transparent) !important; box-shadow: 0 24px 60px -36px var(--accent); }
  .cmp-us td, .cmp-us td:first-child { background: none; box-shadow: none; border-radius: 0; }
}

/* ───────── Cuatro formas de aparecer ───────── */
.fc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.fc { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.fc-real { border-color: rgba(34, 197, 94, .4); }
.fc-media { width: 100%; aspect-ratio: 4 / 5; }
.fc-media .ai-note { top: auto; bottom: 10px; } /* arriba va la bola del contador */
.fc-body { padding: 16px 18px 22px; }
.fc-k { color: #7fe7ff; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fc-body h3 { margin: 8px 0 6px; font-size: 1.08rem; }
.fc-body p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.fc-stats { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; color: var(--ink-2); font-size: 13.5px; }
.fc-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--accent, #8b9cff); }
.fc-stats b { color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
@media (max-width: 1099px) { .fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fc-grid { grid-template-columns: 1fr; } }

/* ───────── Seis ventajas ───────── */
.why-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.why-media { position: relative; margin: 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--line-2); }
.why-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.why-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-content: start; padding: 20px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.why-list svg, .gu-grid svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(135deg, #00D4FF, #007BFF 45%, #8A00FF); }
.why-list h3, .gu-grid h3 { margin: 2px 0 6px; font-size: 1.02rem; }
.why-list p, .gu-grid p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 1099px) { .why-grid { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); } .why-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } .why-media { aspect-ratio: 4 / 5; max-height: 70vh; } }

/* ───────── Medición y calculadora ───────── */
.ms-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.ms-media { position: sticky; top: 88px; margin: 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--line-2); }
.ms-media img { display: block; width: 100%; height: auto; }
.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.calc-head h3 { margin: 0; font-size: 1.15rem; }
.calc-field { margin-bottom: 12px; }
.calc-chart { margin: 4px 0 6px; }
.calc-chart svg { display: block; width: 100%; height: 250px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.calc-chart svg.drag { cursor: grabbing; }
.calc-chart figcaption { margin-top: 2px; }
.calc-grid line { stroke: rgba(255, 255, 255, .09); }
.calc-grid text { fill: var(--ink-2); font: 13px var(--font); }
.calc-line { fill: none; stroke: #c79bff; stroke-width: 2.5; }
.calc-seg { fill: rgba(0, 212, 255, .13); stroke: #00D4FF; stroke-width: 1.5; stroke-dasharray: 5 4; }
.calc-segline { fill: none; stroke: #22c55e; stroke-width: 4; stroke-linecap: round; }
.calc-seglabel { fill: #fff; font: 700 14px var(--font); text-anchor: middle; }
.calc-ranges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 10px 0 16px; }
.calc-ranges label, .calc-rate { grid-template-columns: 1fr auto; align-items: center; }
.calc-ranges input, .calc-rate input { grid-column: 1 / -1; }
.pub label output { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.pub input[type="range"] { height: 28px; padding: 0; border: 0; background: transparent; box-shadow: none; accent-color: #22c55e; }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.calc-out > div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.calc-out dt { color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.calc-out dd { margin: 4px 0 4px; color: #fff; font: 400 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.calc-out small { display: block; color: var(--ink-3); font-size: 11.5px; line-height: 1.35; }
.calc-out > .calc-c { background: rgba(34, 197, 94, .08); border-color: rgba(34, 197, 94, .45); }
.calc-out > .calc-c dd { color: #86efac; }
.calc-price { display: grid; gap: 12px; margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line-2); }
.calc-price[hidden] { display: none; }
.calc-amount, .calc-fee { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0; }
.calc-amount span, .calc-fee span { color: var(--ink-2); font-weight: 600; }
.calc-amount b { color: #86efac; font: 400 2.1rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.calc-amount small { flex-basis: 100%; color: var(--ink-3); font-size: 12px; }
.calc-fee b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.calc-price .hint { margin: 0; color: var(--ink-2); }
.calc-note { margin: 0; padding-left: 10px; border-left: 3px solid #22c55e; color: var(--ink-2); font-size: 12.5px; }
@media (max-width: 999px) {
  .ms-grid { grid-template-columns: 1fr; }
  .ms-media { position: relative; top: auto; aspect-ratio: 4 / 5; max-height: 72vh; }
  .ms-media img { height: 100%; object-fit: cover; object-position: 50% 30%; }
}
@media (max-width: 560px) { .calc-out, .calc-ranges { grid-template-columns: 1fr; } }

/* ───────── Precios ───────── */
.pr-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 18px; margin-bottom: 18px; }
.pr-from { margin: 0 0 8px; font: 400 clamp(1.8rem, 1.2rem + 2vw, 3rem)/1.1 var(--serif); }
.pr-from b { color: #86efac; font-weight: 400; }
.pr-eq { margin: 0; color: var(--ink-2); }
.pr-eq b { color: var(--ink); }
.pr-off { margin: 0; color: var(--ink-2); }
.pr-free { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.pr-founder { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), var(--glass); }
.pf-k { color: #c79bff; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pf-count { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 8px; }
.pf-count b { font: 400 3.2rem/1 var(--serif); }
.pf-count span, .pr-founder p { color: var(--ink-2); }
.pr-founder .btn { margin-top: 8px; }
.pr-tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pr-tables[hidden], .pr-grid [hidden] { display: none; }
.pr-tables td { color: var(--ink-2); }
.pr-split { margin: 0; padding-left: 1.1em; display: grid; gap: 12px; color: var(--ink-2); line-height: 1.55; }
.pr-split b { color: var(--ink); }
.pr-tables td b { color: var(--ink); }
.pr-meta { margin: 14px 0 0; }
@media (max-width: 999px) { .pr-grid, .pr-tables { grid-template-columns: 1fr; } }

/* ───────── Cómo funciona (5 pasos) ───────── */
.steps5 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.steps5 li { padding: 24px 20px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); }
.steps5 .n { font: 400 2.6rem/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps5 h3 { margin: 12px 0 8px; font-size: 1.02rem; }
.steps5 p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 1099px) { .steps5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps5 { grid-template-columns: 1fr; } }

/* ───────── Garantías ───────── */
.gu-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gu-grid li { padding: 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.gu-grid svg { stroke: #86efac; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); }
.gu-grid h3 { margin-top: 14px; }
@media (max-width: 999px) { .gu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gu-grid { grid-template-columns: 1fr; } }

/* ───────── Llamada final ───────── */
.pv-cta { max-width: 1240px; margin: 20px auto 100px; padding: 0 clamp(16px, 4vw, 40px); }
.cta-media { width: 100%; aspect-ratio: 16 / 9; border-radius: 28px; border: 1px solid var(--line-2); }
.cta-body { position: relative; z-index: 1; max-width: 880px; margin: -11% auto 0; padding: clamp(26px, 4vw, 44px); border-radius: 28px; text-align: center; background: radial-gradient(520px 240px at 50% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%), rgba(11, 18, 57, .86); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); }
.cta-kicker { margin: 0 auto 14px; max-width: 60ch; color: var(--ink-2); }
.cta-body h2 { display: block; margin-bottom: 14px; font: 400 clamp(2rem, 1.3rem + 2.4vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.015em; }
.cta-body h2::before { display: none; }
.cta-body h2 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.cta-body .lead { margin: 0 auto 24px; }
.cta-btns { justify-content: center; }
@media (max-width: 760px) { .cta-media { aspect-ratio: 4 / 3; border-radius: 22px; } .cta-body { margin-top: -10%; padding: 24px 18px; } }

/* ───────── Movimiento reducido: todo quieto (los contadores ya llegan con su cifra final) ───────── */
@media (prefers-reduced-motion: reduce) {
  .det { opacity: 1; transition: none; }
  .det-box { transform: none; transition: none; }
  .det-wait.on .det-sec, .ph-cap span.on { animation: none; }
}
/* «No interrumpas la historia» pasa a h2 (17-nov-2026: el h1 es el primer bloque): mismo aspecto que tenía como h1. */
.ph .ph-h { display: block; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; }
.ph .ph-h em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.ph .ph-h::before { display: none; }
/* Portada (17-nov-2026): título grande junto al vídeo con «Soy marca / Soy creador»; la explicación, debajo, a todo lo ancho. */
/* Una sola columna centrada: explicación, enlaces y plazas de fundador, cada uno en su fila (ancho de lectura cómodo). */
.ph .ph-below { min-width: 0; width: 100%; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; justify-self: center; gap: 12px; max-width: 980px; text-align: center; }
.ph .ph-below > * { max-width: 980px; }
.ph .ph-below .lead { margin: 0; font-size: 1.05rem; }
.ph .ph-below .ph-more, .ph .ph-below .founder-hero { margin: 0; }
/* El aviso PROMO, separado del bloque de arriba (explicación y enlaces). */
.ph .ph-below .founder-hero { margin-top: clamp(20px, 2.4vw, 32px); }
@media (min-width: 1100px) {
  .ph:has(.ph-below) { grid-template-columns: minmax(380px, 500px) minmax(0, 1fr); min-height: auto; align-content: center; row-gap: 22px; }
  .ph .ph-below { grid-column: 1 / -1; max-width: none; padding-top: 18px; border-top: 1px solid var(--line, rgba(255,255,255,.1)); }
  .ph:has(.ph-below) .ph-h { font-size: clamp(3rem, 1.2rem + 3.4vw, 5.6rem); line-height: .98; }
}
@media (max-width: 1099px) { .ph .ph-below { padding: 0 clamp(16px, 5vw, 48px); } .ph:has(.ph-below) .ph-h { font-size: clamp(2.6rem, 1.6rem + 4vw, 4rem); } }
@media (max-width: 760px) { .ph .ph-below { padding: 0 16px; } }
/* Plazas de fundador como aviso de promoción (17-nov-2026): «PROMO», «Aviso importante» y una fila por lado. */
.ph .founder-hero { position: relative; display: grid; gap: 0; width: 100%; max-width: 640px; box-sizing: border-box; text-align: left;
  padding: 18px 22px !important; border-radius: 20px !important; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, rgba(138, 0, 255, .20), rgba(11, 18, 57, .72) 45%, rgba(0, 212, 255, .10)) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important; backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 24px 60px -28px rgba(138, 0, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .10); }
.ph .founder-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, #00D4FF, #8A00FF 50%, #FF00D6); opacity: .55;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ph .founder-hero .fh-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ph .founder-hero .fh-lead { display: block; margin-bottom: 12px; font-family: var(--serif, Georgia, serif); font-style: italic; font-size: 17px; line-height: 1.4; color: var(--ink, #fff); }
.ph .founder-hero .fh-promo { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1;
  color: #fff; background: linear-gradient(120deg, #FF00D6, #8A00FF); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 6px 20px -4px rgba(255, 0, 214, .65); }
.ph .founder-hero .fh-title { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fbbf24; }
.ph .founder-hero .fh-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 0 rgba(251, 191, 36, .6); animation: fh-pulse 2.2s ease-out infinite; }
@keyframes fh-pulse { 0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); } }
.ph .founder-hero .fh-item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; line-height: 1.5; color: var(--ink-2, #c9cfe6); }
.ph .founder-hero .fh-item:last-child { padding-bottom: 0; }
.ph .founder-hero .fh-item b { color: var(--ink, #fff); font-weight: 700; }
.ph .founder-hero .fh-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.ph .founder-hero .fh-ico svg { width: 17px; height: 17px; display: block; }
.ph .founder-hero .fh-ico-brand { background: linear-gradient(135deg, #00D4FF, #007BFF); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px -6px rgba(0, 212, 255, .7); }
.ph .founder-hero .fh-ico-creator { background: linear-gradient(135deg, #FF00D6, #8A00FF); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px -6px rgba(255, 0, 214, .7); }
@media (max-width: 520px) { .ph .founder-hero { padding: 16px !important; } .ph .founder-hero .fh-item { font-size: 14px; } .ph .founder-hero .fh-lead { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .ph .founder-hero .fh-title::before { animation: none; } }

/* Escenas de ejemplo (18-nov-2026): dos vídeos verticales 9:16 */
.esc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; gap: clamp(16px, 3vw, 36px); }
.esc-card { margin: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 30px 80px -44px var(--accent); }
.esc-card video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; object-fit: cover; }
.esc-card figcaption { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 18px; }
.esc-card figcaption b { color: var(--ink); font-size: 16px; }
.esc-card figcaption span { color: var(--ink-2); font-size: 13.5px; }
.esc-note { margin: 18px auto 0; text-align: center; color: var(--ink-3); font-size: 12.5px; }
@media (max-width: 980px) { .esc-grid { grid-template-columns: repeat(2, minmax(0, 320px)); } }
@media (max-width: 640px) { .esc-grid { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin: 0 auto; } }

/* Móvil (22-nov-2026): «Cuatro formas de aparecer», «Así se ve un producto en escena» y «1.0 frente a 2.0» en una sola
   fila que se desliza de lado. Cada tarjeta se ve casi entera y asoma la siguiente; llega a los bordes de la pantalla
   (márgenes negativos iguales al relleno de .lsec) y se para en cada tarjeta. */
@media (max-width: 760px) {
  .fc-grid, .esc-grid, .vs-grid {
    --side: clamp(16px, 6vw, 90px);
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 14px;
    max-width: none; margin: 0 calc(-1 * var(--side)); padding: 4px var(--side) 16px;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--side);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .esc-grid { grid-auto-columns: 74%; }
  .fc-grid::-webkit-scrollbar, .esc-grid::-webkit-scrollbar, .vs-grid::-webkit-scrollbar { display: none; }
  .fc-grid > *, .esc-grid > *, .vs-grid > * { min-width: 0; scroll-snap-align: start; }
}
/* Móvil: tarjetas más bajas dentro de las filas deslizables */
@media (max-width: 760px) {
  .vs-grid .vs-media { aspect-ratio: 1 / 1; }
  .vs-body { padding: 16px 18px 20px; }
  .fc-grid .fc-media { aspect-ratio: 1 / 1; }
}
/* Tableta: las tres escenas de ejemplo también en fila deslizable (en dos columnas quedaba una sola abajo) */
@media (min-width: 761px) and (max-width: 980px) {
  .esc-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 300px; justify-content: start; gap: 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
  .esc-grid > * { scroll-snap-align: start; }
}
