/* ============================================================
   SOCIOS ECOM — Portada · «sala de máquinas»
   Futurista y de ecommerce: un túnel 3D de tiendas reales, un
   escáner que lee lo que facturan, el clon real que se revela
   con un haz de luz y los anuncios pasando en tres dimensiones.

   Lenguaje: negro puro, verde neón de la marca, cristal con filo
   de luz, rótulos de interfaz en monoespaciada, grano de película
   y un halo que sigue al cursor. La animación la mueve GSAP
   (portada.js) y el túnel, Three.js (portada3d.js).
   ============================================================ */

.portada {
  --pt-negro: #000;
  --pt-blanco: #fff;
  --pt-niebla: #c9ccd1;
  --pt-ceniza: #8e939b;
  --pt-sombra: #575c63;
  --pt-verde: #14c39a;
  --pt-menta: #5ff5cf;
  --pt-oro: #f0c25a;
  --pt-sobre-verde: #02140f;
  --pt-hilo: rgba(255, 255, 255, .08);
  --pt-hilo-2: rgba(255, 255, 255, .14);
  --pt-cristal: rgba(255, 255, 255, .035);
  --pt-cristal-2: rgba(255, 255, 255, .06);
  --pt-ancho: 1320px;
  --pt-margen: clamp(16px, 4vw, 56px);
  --pt-fuente: "Inter Tight", "Geist", var(--se-fuente);
  --pt-serif: "Instrument Serif", Georgia, serif;
  --pt-mono: "Geist Mono", var(--se-fuente-mono);
  --pt-salida: cubic-bezier(.16, 1, .3, 1);

  position: relative;
  font-family: var(--pt-fuente);
  font-size: 16px;
  line-height: 1.5;
  color: var(--pt-blanco);
  background: var(--pt-negro);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.acceso { background: #000; }
/* La portada hace scroll en la ventana, no dentro de la capa: así las escenas
   fijadas de GSAP usan position: fixed de verdad y no se quedan pegadas. */
html:has(.acceso:not([hidden]) > .portada), body.es-acceso:has(.portada) { height: auto; overflow: visible !important; }
.acceso:has(> .portada) { position: relative; inset: auto; overflow: visible; overscroll-behavior: auto; min-height: 100vh; }
.portada *, .portada *::before, .portada *::after { box-sizing: border-box; }
.portada :where(h1, h2, h3, p, ul, ol, figure, dl, dd) { margin: 0; }
.portada :where(ul, ol) { padding: 0; list-style: none; }
.portada img { display: block; max-width: 100%; height: auto; }
.portada a { color: inherit; }
.portada :focus-visible { outline: 2px solid var(--pt-verde); outline-offset: 3px; border-radius: 10px; }
.portada ::selection { background: var(--pt-verde); color: var(--pt-sobre-verde); }


/* ---------- Botones ----------
   Principal: degradado verde con reflejo, destello al pasar y la flecha en
   su círculo. Secundario: cristal con filo de luz. */

.pt-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px;
  font: 600 15px/1 var(--pt-fuente); letter-spacing: -.01em;
  color: inherit; background: transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: transform .5s var(--pt-salida), box-shadow .4s ease, background-color .3s ease, color .3s ease;
}
.pt-btn svg { width: 17px; height: 17px; }
.pt-btn--grande { height: 60px; padding: 0 10px 0 30px; font-size: 16px; }
.pt-btn--grande:not(:has(span[aria-hidden])) { padding: 0 30px; }
.pt-btn--bloque { width: 100%; }
.pt-btn span[aria-hidden] {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-size: 18px; transition: transform .5s var(--pt-salida), background-color .3s ease;
}
.pt-btn:hover span[aria-hidden] { transform: translateX(3px) rotate(-45deg); }

html .portada .pt-btn--marca {
  color: #02140f;
  background: linear-gradient(180deg, #5ff5cf 0%, #14c39a 52%, #0ea583 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .15),
    0 0 0 1px rgba(95, 245, 207, .45), 0 12px 40px -10px rgba(20, 195, 154, .8), 0 0 90px -20px rgba(20, 195, 154, .9);
}
html .portada .pt-btn--marca span[aria-hidden] { background: #02140f; color: #5ff5cf; }
html .portada .pt-btn--marca::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--pt-salida);
}
html .portada .pt-btn--marca:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(0, 0, 0, .15), 0 0 0 1px rgba(255, 255, 255, .6), 0 18px 50px -8px rgba(20, 195, 154, .95), 0 0 130px -10px rgba(20, 195, 154, 1); }
html .portada .pt-btn--marca:hover::before { transform: translateX(120%); }
html .portada .pt-btn--marca:active { transform: translateY(0) scale(.98); }

.pt-btn--cristal {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 30px -14px #000;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.pt-btn--cristal:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(95, 245, 207, .55), inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 40px -10px rgba(20, 195, 154, .7); }
.pt-btn--cristal svg { color: var(--pt-menta); }
html .portada .pt-btn--texto { color: var(--pt-niebla); padding: 0 16px; }
html .portada .pt-btn--texto:hover { color: #fff; }
.pt-botones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }

/* El texto rueda hacia arriba y entra el mismo texto por abajo */
.pt-btn__rol { position: relative; display: inline-flex; flex-direction: column; height: 1.2em; line-height: 1.2em; overflow: hidden; }
.pt-btn__rol > span, .pt-btn__rol::after { display: block; transition: transform .55s var(--pt-salida); }
.pt-btn__rol::after { content: attr(data-t); }
.pt-btn:hover .pt-btn__rol > span, .pt-btn:hover .pt-btn__rol::after { transform: translateY(-100%); }

/* Un filo de luz que da la vuelta al borde de los botones de cristal al pasar */
@property --pt-giro { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.pt-btn--cristal::after, html .portada .pt-btn--marca::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--pt-giro), transparent 0 62%, rgba(95, 245, 207, .95) 80%, #fff 86%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease; animation: pt-giro 2.4s linear infinite;
}
html .portada .pt-btn--marca::after { background: conic-gradient(from var(--pt-giro), transparent 0 62%, rgba(255, 255, 255, .9) 82%, transparent 94%); }
.pt-btn--cristal:hover::after, html .portada .pt-btn--marca:hover::after { opacity: 1; }
@keyframes pt-giro { to { --pt-giro: 360deg; } }
/* El principal respira un poco para llamar la atención, sin cansar */
html .portada .pt-hero .pt-btn--marca, html .portada .pt-final .pt-btn--marca { animation: pt-respira-btn 3.6s ease-in-out infinite; }
@keyframes pt-respira-btn { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(0, 0, 0, .15), 0 0 0 1px rgba(95, 245, 207, .55), 0 14px 46px -8px rgba(20, 195, 154, .9), 0 0 110px -16px rgba(20, 195, 154, .9); } }
.pt-botones--centro { justify-content: center; }

/* ---------- Rótulos y titulares ---------- */

.pt-paso {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--pt-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pt-ceniza);
}
.pt-paso b {
  display: grid; place-items: center; height: 24px; padding: 0 8px; border-radius: 6px;
  color: var(--pt-verde); background: rgba(20, 195, 154, .1); box-shadow: inset 0 0 0 1px rgba(20, 195, 154, .35);
  font-weight: 600; letter-spacing: .04em;
}
.pt-paso--centro { justify-content: center; }
.pt-h2 {
  margin-top: 22px;
  font-size: clamp(40px, 5.2vw, 80px);
  font-weight: 600; line-height: 1; letter-spacing: -.045em;
  text-wrap: balance;
}
.pt-h2--medio { font-size: clamp(36px, 4vw, 60px); }
.pt-h2 em, .pt-final__titulo em {
  font-family: var(--pt-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.06em;
  padding: 0 .14em .1em .02em; margin-right: -.1em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(100deg, var(--pt-menta) 0%, var(--pt-verde) 100%);
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes pt-brillo { to { background-position: -220% 0; } }
.pt-bajada { margin-top: 22px; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--pt-niebla); text-wrap: pretty; }
.pt-bajada a { color: #fff; text-underline-offset: 3px; }
.pt-pronto {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font: 600 10px/1 var(--pt-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--pt-oro); background: rgba(240, 194, 90, .1); box-shadow: inset 0 0 0 1px rgba(240, 194, 90, .4);
}
.pt-seccion { position: relative; z-index: 2; max-width: var(--pt-ancho); margin: 0 auto; padding: clamp(90px, 12vw, 170px) var(--pt-margen); }
.pt-cabeza { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.pt-cabeza--centro { margin-inline: auto; text-align: center; }
.pt-cabeza--centro .pt-bajada { margin-inline: auto; }

/* ---------- Cabecera ---------- */

.pt-cab { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: linear-gradient(180deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .7)); transition: background-color .4s ease, border-color .4s ease; border-bottom: 1px solid transparent; }
.pt-cab.es-fija { background: rgba(0, 0, 0, .6); border-bottom-color: var(--pt-hilo); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.pt-cab__dentro { display: flex; align-items: center; gap: 24px; max-width: var(--pt-ancho); height: 74px; margin: 0 auto; padding: 0 var(--pt-margen); }
.pt-cab__marca { display: flex; color: #fff; }
.pt-cab__marca svg { width: 170px; height: 28px; }
.pt-cab__nav { display: flex; gap: 4px; margin: 0 auto; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--pt-hilo); }
.pt-cab__nav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--pt-niebla); text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.pt-cab__nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.pt-cab__acciones { display: flex; align-items: center; gap: 6px; }
.pt-cab .pt-btn { height: 42px; }

/* ---------- 0 · Túnel ---------- */

.pt-hero { position: relative; z-index: 2; height: 100svh; min-height: 640px; overflow: hidden; display: grid; place-items: center; perspective: 900px; }
/* El túnel es el fondo fijo de la primera parte de la página: no se corta
   al cambiar de sección, se atenúa (lo controla portada.js). */
.pt-fondo3d { position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh; display: block; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.pt-fondo3d.es-visible { opacity: 1; }
/* Mientras llega el 3D (o sin WebGL): un mosaico tenue de las mismas tiendas */
.pt-hero::before {
  content: ""; position: absolute; inset: -10%;
  background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(20, 195, 154, .1), transparent 70%);
}
@keyframes pt-respira { 50% { transform: scale(1.12); opacity: .7; } }
.pt-hero__velo {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 44% at 50% 48%, #000 0%, rgba(0, 0, 0, .94) 45%, rgba(0, 0, 0, .55) 75%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 18%);
}
.pt-hero__texto { will-change: transform, opacity; position: relative; z-index: 3; text-shadow: 0 2px 24px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .8); max-width: 1180px; padding: 90px var(--pt-margen) 40px; text-align: center; transform-origin: 50% 50%; }
.pt-chip-hud {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px; border-radius: 999px;
  font: 500 12px/1 var(--pt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pt-niebla);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.pt-chip-hud i, .pt-hud__punto { width: 7px; height: 7px; border-radius: 50%; background: var(--pt-verde); box-shadow: 0 0 12px var(--pt-verde); animation: pt-late 1.6s ease-in-out infinite; }
@keyframes pt-late { 50% { opacity: .35; } }
.pt-hero__titulo {
  margin-top: 30px;
  font-size: clamp(44px, 6.4vw, 112px); font-weight: 600; line-height: .96; letter-spacing: -.05em;
}
.pt-hero__linea { display: block; perspective: 600px; }
@media (min-width: 900px) { .pt-hero__linea { white-space: nowrap; } }
.pt-palabra { display: inline-block; white-space: nowrap; }
.pt-letra { display: inline-block; transform-origin: 50% 100%; animation: pt-letra .9s var(--pt-salida) both; animation-delay: calc(var(--n) * 18ms + 80ms); }
@keyframes pt-letra { from { opacity: 0; transform: translateY(90%) rotateX(-80deg); filter: blur(8px); } }
.pt-hero .pt-chip-hud, .pt-hero__bajada, .pt-hero .pt-botones, .pt-hero .pt-chip-hud, .pt-hero__bajada, .pt-hero .pt-botones, .pt-hud { animation: pt-sube 1s var(--pt-salida) both; }
.pt-hero .pt-chip-hud { animation-delay: .05s; }
.pt-hero__bajada { animation-delay: .5s; }
.pt-hero .pt-botones { animation-delay: .62s; }
.pt-hud { animation-delay: .8s; }
@keyframes pt-sube { from { opacity: 0; transform: translateY(24px); } }
.pt-hero__linea--luz { font-family: var(--pt-serif); font-style: italic; font-weight: 400; letter-spacing: -.025em; font-size: 1.08em; }
.pt-hero__linea--luz .pt-letra {
  /* Con el degradado recortado al texto, los trazos de la cursiva que salen de
     la caja de cada letra se cortaban: se le da aire y se compensa */
  padding: .06em .14em .16em; margin: -.06em -.14em -.16em;
  background: linear-gradient(180deg, var(--pt-menta), var(--pt-verde) 70%);
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pt-letra .9s var(--pt-salida) both;
  animation-delay: calc(var(--n) * 18ms + 80ms);
}
.pt-hero__linea--luz { text-shadow: none; filter: drop-shadow(0 3px 18px rgba(0, 0, 0, .95)); }
.pt-hero__bajada { color: #e4e6ea !important; }
@keyframes pt-brillo-letra { to { background-position: -600% 0; } }
.pt-hero__bajada { max-width: 680px; margin: 30px auto 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; color: var(--pt-niebla); }
.pt-hero .pt-botones { justify-content: center; }


/* Las tarjetas flotantes del hero */
.pt-flotan { position: absolute; inset: 0; z-index: 2; pointer-events: none; --mx: 0; --my: 0; will-change: transform, opacity; }
.pt-flota {
  position: absolute; display: grid; gap: 10px; padding: 14px; border-radius: 18px; width: 250px;
  background: linear-gradient(180deg, rgba(20, 24, 22, .94), rgba(8, 10, 10, .94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px #000;
  translate: calc(var(--mx) * var(--z) * -40px) calc(var(--my) * var(--z) * -30px);
  transition: translate .8s var(--pt-salida);
  animation: pt-flota-entra 1.1s var(--pt-salida) both, pt-flota-vaiven 7s ease-in-out infinite;
}
.pt-flota--ref { left: 4%; top: 26%; animation-delay: 1s, 0s; rotate: -4deg; }
.pt-flota--clon { right: 4%; top: auto; bottom: 18%; animation-delay: 1.25s, -2s; rotate: 3deg; width: 270px; }
.pt-flota--anuncio { left: 9%; bottom: 12%; width: 190px; animation-delay: 1.5s, -4s; rotate: 3deg; }
.pt-flota--video { right: 8%; bottom: 14%; display: flex; align-items: center; gap: 12px; width: 240px; animation-delay: 1.75s, -1s; rotate: -3deg; }
@keyframes pt-flota-entra { from { opacity: 0; transform: translateY(40px) scale(.9); filter: blur(10px); } }
@keyframes pt-flota-vaiven { 50% { transform: translateY(-10px); } }
.pt-flota__rotulo { display: flex; align-items: center; gap: 7px; font: 500 10px/1 var(--pt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pt-verde); }
.pt-flota__rotulo i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pt-late 1.4s ease-in-out infinite; }
.pt-flota__fila { display: flex; align-items: center; gap: 10px; }
.pt-flota__fila > div { display: grid; gap: 2px; min-width: 0; }
.pt-flota b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-flota span { font-size: 12px; color: var(--pt-niebla); }
.pt-flota [data-hud-dato] { font: 600 13px/1.2 var(--pt-mono); color: var(--pt-verde); }
.pt-flota__mini { flex: none; width: 64px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.pt-flota__mini img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pt-flota.es-cambia .pt-flota__fila { animation: pt-glitch .5s steps(3); }
@keyframes pt-glitch { 0% { opacity: 0; transform: translateX(-6px); filter: blur(4px); } 60% { opacity: 1; transform: translateX(2px); } }
.pt-flota__curva { width: 100%; height: 30px; }
.pt-flota__curva path { fill: none; stroke: var(--pt-verde); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px var(--pt-verde)); animation: pt-traza 2.2s var(--pt-salida) 1.4s forwards; }
.pt-flota__logo { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(149, 191, 71, .14); box-shadow: inset 0 0 0 1px rgba(149, 191, 71, .4); }
.pt-flota__logo svg { width: 24px; height: auto; }
.pt-flota__barra { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pt-flota__barra i { display: block; width: 100%; transform-origin: left; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #5e8e3e, #95bf47, #d4f39a); box-shadow: 0 0 10px #95bf47; animation: pt-progreso 3.2s var(--pt-salida) 1.5s infinite; }
@keyframes pt-progreso { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
.pt-flota__anuncio { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.pt-flota__anuncio img { width: 100%; height: 100%; object-fit: cover; }
.pt-flota__nota { font-size: 11px !important; color: var(--pt-ceniza) !important; }
.pt-flota__cara { flex: none; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--pt-verde), 0 0 20px -2px var(--pt-verde); }
.pt-flota__cara img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pt-flota--video > div { display: grid; gap: 4px; flex: 1; }
.pt-onda--mini { height: 18px; margin-top: 2px; }
@media (max-width: 1180px) { .pt-flotan { display: none; } }


/* ---------- 1 · Escáner ---------- */

.pt-escaner { position: relative; z-index: 2; }
.pt-escaner__fijo {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 30px;
  max-width: var(--pt-ancho); min-height: 100vh; margin: 0 auto; padding: 90px var(--pt-margen) 40px;
}
@media (min-width: 1024px) and (min-height: 640px) {
  .pt-escaner__fijo, .pt-clon__fijo, .pt-anuncios__fijo { height: 100vh; min-height: 0; overflow: hidden; }
  /* El plano 3D del escáner no se recorta en su columna: lo recorta la pantalla */
  .pt-escaner__fijo { overflow: visible; }
  .pt-escaner { overflow-x: clip; }
  .pt-escaner__fijo { padding-top: 84px; padding-bottom: 24px; }
  .pt-filtros { margin-top: 3vh; gap: 1vh; }
  .pt-filtros li { height: min(40px, 5vh); }
  .pt-contador b { font-size: clamp(32px, min(4vw, 7vh), 58px); }
  .pt-contador { margin-top: 3vh; }
}
.pt-escaner__texto { position: relative; z-index: 3; }
.pt-escaner__texto .pt-h2 { font-size: clamp(32px, min(3.6vw, 6.4vh), 58px); }
.pt-escaner__texto .pt-bajada { font-size: 16px; }
.pt-filtros { display: grid; gap: 10px; margin-top: 34px; }
.pt-filtros li {
  display: flex; align-items: center; gap: 12px; width: fit-content; height: 40px; padding: 0 16px 0 10px; border-radius: 10px;
  font: 500 13px/1 var(--pt-mono); color: var(--pt-sombra);
  background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--pt-hilo);
  transition: color .4s ease, box-shadow .4s ease, background-color .4s ease;
}
.pt-filtros i { position: relative; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: background-color .3s ease, box-shadow .3s ease; }
.pt-filtros i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--pt-sobre-verde); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--pt-salida); }
.pt-filtros li.es-activo { color: #fff; background: rgba(20, 195, 154, .08); box-shadow: inset 0 0 0 1px rgba(20, 195, 154, .45), 0 0 30px -12px rgba(20, 195, 154, .8); }
.pt-filtros li.es-activo i { background: var(--pt-verde); box-shadow: 0 0 14px var(--pt-verde); }
.pt-filtros li.es-activo i::after { transform: rotate(45deg) scale(1); }
.pt-contador { margin-top: 30px; font-size: 14px; color: var(--pt-ceniza); }
.pt-contador b { display: block; font: 600 clamp(38px, 4vw, 58px)/1 var(--pt-mono); letter-spacing: -.04em; color: #fff; text-shadow: 0 0 40px rgba(20, 195, 154, .45); }

.pt-escaner__escena { position: relative; display: grid; place-items: center; perspective: 1600px; perspective-origin: 50% 40%; }
.pt-escaner__plano {
  will-change: transform; /* capa propia: al empezar a girar no se repintan las casillas */
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  transform-style: preserve-3d; transform: rotateX(28deg) rotateZ(-8deg); transform-origin: 50% 50%;
  width: min(100%, 76vh);
  row-gap: 8px;
}
.pt-tienda { position: relative; transition: transform .8s var(--pt-salida), opacity .6s ease; will-change: transform; }
.pt-tienda__foto {
  position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  background: #0b0b0b; box-shadow: inset 0 0 0 1px var(--pt-hilo);
  transition: box-shadow .6s ease;
}
.pt-tienda__foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) brightness(.32) contrast(1.1); transition: filter .8s ease; }
/* La facturación, debajo de la tienda: no la tapa */
.pt-tienda__cifra {
  display: flex; align-items: baseline; gap: 3px; margin-top: 6px; padding-left: 2px;
  font-family: var(--pt-mono); white-space: nowrap;
  opacity: 0; transform: translateY(-4px); transition: opacity .5s ease, transform .6s var(--pt-salida);
}
.pt-tienda__cifra i { align-self: center; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--pt-verde); box-shadow: 0 0 6px var(--pt-verde); }
.pt-tienda__cifra b { font-size: 13px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.pt-tienda__cifra span { font-size: 10px; color: var(--pt-ceniza); }
.pt-tienda.es-escaneada { transform: translateZ(18px); }
.pt-tienda.es-escaneada .pt-tienda__foto { box-shadow: inset 0 0 0 1px rgba(20, 195, 154, .5); }
.pt-tienda.es-escaneada img { filter: none; }
.pt-tienda.es-escaneada .pt-tienda__cifra { opacity: 1; transform: none; }
.pt-laser {
  position: absolute; left: -6%; right: -6%; top: 0; height: 2px; z-index: 4; pointer-events: none; will-change: transform;
  background: linear-gradient(90deg, transparent, var(--pt-menta) 15%, #fff 50%, var(--pt-menta) 85%, transparent);
  box-shadow: 0 0 16px 2px rgba(20, 195, 154, .85);
  transform: translateZ(40px);
}
/* El rastro del láser se funde por los lados y por arriba: sin bordes de caja */
.pt-laser::before {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 2px; height: 90px;
  background: linear-gradient(0deg, rgba(20, 195, 154, .22), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

/* El cierre del escáner: las tres que más facturan, en oro */
.pt-tienda { transition: box-shadow .6s ease, transform .8s var(--pt-salida), opacity .6s ease; }
.es-final .pt-tienda:not([data-top]) { opacity: .45; }
.es-final .pt-tienda[data-top] { transform: translateZ(40px) scale(1.04); }
.es-final .pt-tienda[data-top] .pt-tienda__foto { box-shadow: inset 0 0 0 2px var(--pt-oro), 0 0 30px -8px rgba(240, 194, 90, .6); }
.es-final .pt-tienda[data-top] .pt-tienda__cifra b { color: var(--pt-oro); }
.es-final .pt-tienda[data-top] .pt-tienda__cifra i { background: var(--pt-oro); box-shadow: 0 0 6px var(--pt-oro); }
.pt-tienda[data-top]::after {
  content: attr(data-top); position: absolute; top: 7px; left: 7px; z-index: 2;
  padding: 4px 7px; border-radius: 6px; font: 700 9px/1 var(--pt-mono); letter-spacing: .08em; text-transform: uppercase;
  color: #1d1300; background: var(--pt-oro); box-shadow: 0 0 16px rgba(240, 194, 90, .7);
  opacity: 0; transform: translateY(-4px); transition: opacity .5s ease, transform .5s var(--pt-salida);
}
.es-final .pt-tienda[data-top]::after { opacity: 1; transform: none; }

/* ---------- 2 · Clonación real ---------- */

.pt-clon { position: relative; z-index: 2; background: #000; }
.pt-clon__fijo { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; max-width: var(--pt-ancho); margin: 0 auto; padding: 96px var(--pt-margen) 30px; }
.pt-clon__cabeza { text-align: center; }
.pt-clon__bajada { max-width: 760px; margin: 1.4vh auto 0; font-size: clamp(14px, 2vh, 17px); line-height: 1.55; color: var(--pt-niebla); }
.pt-clon__cabeza .pt-h2 { font-size: clamp(30px, min(4.4vw, 6.4vh), 68px); margin-top: 1.6vh; }
.pt-clon__escena { position: relative; margin-top: 3vh; height: min(66vh, 640px); perspective: 1600px; }
.pt-clon__fijo { padding-top: 84px; }
.pt-navegador {
  --ancho-nav: min(880px, calc(100% - 400px), calc((66vh - 44px) * 1.6));
  position: absolute; left: 0; top: 0; width: var(--ancho-nav); transform-origin: 0 30%;
  border-radius: 16px; overflow: hidden; background: #0c0c0c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 120px -40px rgba(0, 0, 0, 1);
  transform-origin: 50% 40%;
}
.pt-navegador__barra { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; background: #121212; border-bottom: 1px solid var(--pt-hilo); }
.pt-navegador__puntos { display: flex; gap: 7px; }
.pt-navegador__puntos i { width: 11px; height: 11px; border-radius: 50%; background: #2c2c2c; }
.pt-navegador__puntos i:first-child { background: #ff5f57; } .pt-navegador__puntos i:nth-child(2) { background: #febc2e; } .pt-navegador__puntos i:last-child { background: #28c840; }
.pt-navegador__url {
  position: relative; display: flex; align-items: center; gap: 8px; flex: 1; height: 28px; padding: 0 12px; border-radius: 8px; overflow: hidden;
  font: 500 12px/1 var(--pt-mono); color: var(--pt-niebla); background: #1b1b1b;
}
.pt-candado { width: 10px; height: 10px; border: 1.5px solid var(--pt-ceniza); border-radius: 2px; flex: none; }
.pt-navegador__url [data-url-copia] { position: absolute; left: 30px; opacity: 0; transform: translateY(10px); color: var(--pt-verde); transition: opacity .4s ease, transform .5s var(--pt-salida); }
.pt-navegador__url [data-url-original] { transition: opacity .4s ease, transform .5s var(--pt-salida); }
.es-traducida .pt-navegador__url [data-url-original] { opacity: 0; transform: translateY(-10px); }
.es-traducida .pt-navegador__url [data-url-copia] { opacity: 1; transform: none; }
.pt-idioma { display: flex; align-items: center; gap: 6px; font: 600 11px/1 var(--pt-mono); color: var(--pt-sombra); }
.pt-idioma b { padding: 5px 7px; border-radius: 6px; background: #1b1b1b; color: #fff; transition: background-color .4s ease, color .4s ease; }
.es-traducida .pt-idioma [data-idioma-en] { color: var(--pt-sombra); }
.es-traducida .pt-idioma [data-idioma-es] { background: var(--pt-verde); color: var(--pt-sobre-verde); box-shadow: 0 0 20px rgba(20, 195, 154, .7); }
.pt-navegador__pagina { position: relative; aspect-ratio: 1440 / 900; overflow: hidden; background: #fff; }
.pt-navegador__pagina img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pt-navegador__copia { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); }
.pt-haz { position: absolute; top: 0; bottom: 0; left: 0; z-index: 3; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px 4px var(--pt-verde), 0 0 60px 14px rgba(20, 195, 154, .5); pointer-events: none; }
.pt-haz::before { content: ""; position: absolute; top: 0; bottom: 0; right: 1px; width: 160px; background: linear-gradient(90deg, transparent, rgba(20, 195, 154, .28)); }
.pt-haz::after { content: "ES"; position: absolute; top: 14px; left: 10px; padding: 5px 8px; border-radius: 6px; font: 600 10px/1 var(--pt-mono); color: var(--pt-sobre-verde); background: var(--pt-verde); white-space: nowrap; }

/* La tarjeta del resultado: qué te llevas, con el logotipo de Shopify vivo */
.pt-resultado {
  position: absolute; right: 0; top: 4%; z-index: 4; width: 370px; padding: 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(149, 191, 71, .1), rgba(255, 255, 255, .02) 45%), rgba(8, 10, 8, .82);
  box-shadow: inset 0 0 0 1px rgba(149, 191, 71, .35), 0 40px 80px -30px #000, 0 0 80px -30px rgba(149, 191, 71, .5);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.pt-resultado__cabeza { display: flex; align-items: center; gap: 16px; }
.pt-resultado__cabeza > div { flex: 1; min-width: 0; }
.pt-resultado__cabeza b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.pt-resultado__estado { display: flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 12.5px; color: var(--pt-niebla); }
.pt-resultado__estado i { width: 7px; height: 7px; border-radius: 50%; background: #95bf47; box-shadow: 0 0 10px #95bf47; animation: pt-late 1s ease-in-out infinite; flex: none; }
.pt-resultado__estado em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-resultado__estado strong { margin-left: auto; white-space: nowrap; font: 600 12px/1 var(--pt-mono); color: #b9df7a; font-variant-numeric: tabular-nums; }
.es-lista .pt-resultado__estado { color: #c8ef8a; }
.es-lista .pt-resultado__estado i { animation: none; }
.pt-resultado__barra { display: block; height: 3px; margin-top: 10px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pt-resultado__barra i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #5e8e3e, #95bf47, #d4f39a); box-shadow: 0 0 12px #95bf47; }

/* El logotipo original de Shopify dentro de un anillo que se llena con el haz */
.pt-shopify { position: relative; display: grid; place-items: center; width: 84px; height: 84px; flex: none; }
.pt-shopify__anillo { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.pt-shopify__anillo circle { fill: none; stroke: rgba(149, 191, 71, .16); stroke-width: 4; }
.pt-shopify__anillo .pt-shopify__lleno {
  stroke: #95bf47; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100);
  filter: drop-shadow(0 0 6px rgba(149, 191, 71, .9));
}
.pt-shopify__bolsa { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(149, 191, 71, .22), rgba(0, 0, 0, .3) 70%); }
.pt-shopify__bolsa svg { width: 34px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)) drop-shadow(0 0 calc(4px + var(--p, 0) * 14px) rgba(149, 191, 71, .7)); transform: scale(calc(.86 + var(--p, 0) * .14)); transition: transform .3s ease; }
.es-lista .pt-shopify__bolsa svg { animation: pt-salto .9s var(--pt-salida); }
@keyframes pt-salto { 0% { transform: scale(1); } 30% { transform: scale(1.32) rotate(-8deg); } 55% { transform: scale(.92) rotate(4deg); } 100% { transform: scale(1); } }
.pt-shopify__sello {
  position: absolute; right: -2px; bottom: -2px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--pt-verde); box-shadow: 0 0 0 3px #080a08, 0 0 18px rgba(20, 195, 154, .9);
  transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.8, .5, 1) .25s;
}
.pt-shopify__sello svg { width: 15px; height: 15px; color: var(--pt-sobre-verde); }
.es-lista .pt-shopify__sello { transform: scale(1); }
/* Chispas: salen en abanico al completar */
.pt-chispa { position: absolute; left: 50%; top: 50%; width: 4px; height: 10px; margin: -5px 0 0 -2px; border-radius: 4px; background: linear-gradient(#d4f39a, #95bf47); opacity: 0; transform: rotate(var(--a)) translateY(0); pointer-events: none; }
.pt-chispa:nth-of-type(3n) { background: linear-gradient(#9df3dc, var(--pt-verde)); }
.es-lista .pt-chispa { animation: pt-chispa 1s var(--pt-salida) forwards; }
@keyframes pt-chispa { 0% { opacity: 1; transform: rotate(var(--a)) translateY(-30px) scaleY(1.4); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) scaleY(.4); } }
/* La tarjeta se enciende al terminar */
.pt-resultado { transition: box-shadow .6s ease; }
.pt-resultado.es-lista { box-shadow: inset 0 0 0 1px rgba(149, 191, 71, .7), 0 40px 80px -30px #000, 0 0 120px -20px rgba(149, 191, 71, .7); }

.pt-resultado__titulo { margin: 20px 0 12px; font: 500 11px/1 var(--pt-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pt-ceniza); }
.pt-resultado ol { display: grid; gap: 12px; }
.pt-resultado__punto { display: flex; gap: 12px; opacity: .18; transform: translateX(10px); transition: opacity .5s ease, transform .6s var(--pt-salida); }
.pt-resultado__punto.es-visible { opacity: 1; transform: none; }
.pt-resultado__punto b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.pt-resultado__punto small { display: block; font-size: 12.5px; color: var(--pt-ceniza); line-height: 1.4; }
.pt-resultado__check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); transition: background-color .4s ease, box-shadow .4s ease; }
.pt-resultado__check svg { width: 13px; height: 13px; color: transparent; transition: color .3s ease .15s; }
.pt-resultado__punto.es-visible .pt-resultado__check { background: var(--pt-verde); box-shadow: 0 0 14px rgba(20, 195, 154, .7); }
.pt-resultado__punto.es-visible .pt-resultado__check svg { color: var(--pt-sobre-verde); }

.pt-movil { position: absolute; right: 4%; top: 0; z-index: 5; width: min(280px, 22vw, 28vh); opacity: 0; transform-style: preserve-3d; }
.pt-movil__pantalla {
  aspect-ratio: 390 / 844; border-radius: 42px; overflow: hidden; background: #fff;
  border: 9px solid #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 60px 120px -30px #000, 0 0 100px -30px rgba(20, 195, 154, .7);
}
.pt-movil__pantalla img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pt-publicar {
  position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%); width: max-content;
  display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 16px; border-radius: 999px;
  background: rgba(10, 10, 10, .88); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 20px 50px -10px #000;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-size: 13px; font-weight: 600;
}
.pt-publicar__marca { display: flex; align-items: center; gap: 8px; }
.pt-publicar__marca svg { width: 20px; height: 20px; color: #95bf47; }
.pt-publicar__elige { display: flex; padding: 3px; border-radius: 999px; background: #1e1e1e; font-size: 11px; }
.pt-publicar__elige > * { padding: 6px 10px; border-radius: 999px; color: var(--pt-ceniza); }
.pt-publicar__elige b { color: var(--pt-sobre-verde); background: var(--pt-verde); }
.pt-aviso {
  position: absolute; left: 50%; top: 28px; z-index: 2; display: flex; align-items: center; gap: 8px; width: max-content;
  padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--pt-sobre-verde); background: var(--pt-verde);
  box-shadow: 0 20px 40px -10px rgba(20, 195, 154, .8);
  opacity: 0; transform: translate(-50%, -14px) scale(.9); transition: opacity .4s ease, transform .6s var(--pt-salida);
}
.pt-aviso svg { width: 16px; height: 16px; }
.pt-aviso.es-visible { opacity: 1; transform: translate(-50%, 0) scale(1); }
.pt-clon__nota { margin-top: 4vh; text-align: center; font-size: 12px; color: var(--pt-sombra); }

/* ---------- 3 · Anuncios ---------- */

.pt-anuncios { position: relative; z-index: 2; overflow: hidden; }
.pt-anuncios__fijo { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 84px 0 30px; perspective: 1400px; }
.pt-anuncios__cabeza { max-width: var(--pt-ancho); width: 100%; margin: 0 auto; padding: 0 var(--pt-margen); display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.pt-anuncios__cabeza .pt-paso { grid-column: 1 / -1; }
.pt-anuncios__cabeza .pt-h2 { margin-top: 0; font-size: clamp(30px, min(4.4vw, 6.4vh), 68px); }
.pt-anuncios__cabeza .pt-bajada { margin-top: 0; }
.pt-carril { display: flex; gap: 22px; width: max-content; margin-top: 4vh; padding-left: max(var(--pt-margen), calc((100vw - var(--pt-ancho)) / 2 + var(--pt-margen))); transform-style: preserve-3d; }
.pt-anuncios__fijo { position: relative; }
.pt-anuncios__fondo {
  position: absolute; left: 0; top: 52%; z-index: 0; margin: 0; white-space: nowrap; pointer-events: none;
  font: 600 clamp(110px, 15vw, 240px)/1 var(--pt-fuente); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
}
.pt-carril { position: relative; z-index: 1; align-items: flex-start; }
.pt-anuncio {
  position: relative; flex: none; width: clamp(200px, min(18vw, 30vh), 280px); margin: 0; padding: 10px; border-radius: 22px;
  background: linear-gradient(180deg, #16191a, #0d0f10);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 80px -30px #000;
  transform-origin: 0 50%;
  transition: box-shadow .4s ease;
}
/* Ritmo: una arriba, otra abajo */
.pt-anuncio:nth-child(even) { margin-top: 46px; }
.pt-anuncio:hover { box-shadow: 0 0 0 1px rgba(20, 195, 154, .45), 0 40px 80px -30px #000; }
.pt-anuncio__cab { display: flex; align-items: center; gap: 9px; padding: 2px 4px 10px; }
.pt-anuncio__avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #02140f; background: linear-gradient(135deg, var(--pt-menta), var(--pt-verde)); }
.pt-anuncio__quien { display: grid; gap: 1px; line-height: 1.2; }
.pt-anuncio__quien b { font-size: 12.5px; font-weight: 600; }
.pt-anuncio__quien small { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--pt-ceniza); }
.pt-anuncio__quien small svg { width: 12px; height: 12px; }
.pt-anuncio__mas { margin-left: auto; width: 16px; height: 4px; background: radial-gradient(circle, var(--pt-ceniza) 1.5px, transparent 2px) 0 0 / 6px 4px repeat-x; }
.pt-anuncio__foto { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.pt-anuncio__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--pt-salida); }
.pt-anuncio:hover .pt-anuncio__foto img { transform: scale(1.05); }
.pt-anuncio figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 10px 4px 2px; font-size: 12px; }
.pt-anuncio figcaption b { font-weight: 600; color: var(--pt-verde); }
.pt-anuncio figcaption span { color: var(--pt-ceniza); }
.pt-carril__pie {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 18px;
  max-width: var(--pt-ancho); width: 100%; margin: 4vh auto 0; padding: 0 var(--pt-margen);
  font: 500 12px/1 var(--pt-mono); color: var(--pt-ceniza);
}
.pt-carril__contador b { color: #fff; font-weight: 600; }
.pt-carril__barra { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pt-carril__barra i { display: block; height: 100%; background: linear-gradient(90deg, var(--pt-verde), var(--pt-menta)); transform: scaleX(0); transform-origin: left; }

.pt-video {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 30px;
  max-width: var(--pt-ancho); margin: 0 auto; padding: clamp(90px, 10vw, 140px) var(--pt-margen); perspective: 1400px;
}
.pt-video__puntos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pt-video__puntos li { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; font-size: 14px; background: var(--pt-cristal-2); box-shadow: inset 0 0 0 1px var(--pt-hilo-2); }
.pt-video__puntos svg { width: 18px; height: 18px; color: #fff; }
/* El estudio de casting: teléfono con el vídeo, ficha del actor y el reparto */
.pt-estudio { display: grid; justify-items: center; gap: 30px; }
.pt-estudio__escena { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; padding-left: 170px; }
.pt-telefono {
  position: relative; z-index: 1; width: 250px; aspect-ratio: 9 / 16; border-radius: 40px; overflow: hidden; flex: none;
  border: 8px solid #111; background: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 60px 120px -30px #000, 0 0 140px -30px rgba(20, 195, 154, .8);
}
.pt-telefono video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-ficha {
  position: absolute; left: 0; top: 50%; z-index: 2; width: 270px; padding: 16px; border-radius: 22px; transform: translateY(-50%);
  background: rgba(8, 10, 10, .82); box-shadow: inset 0 0 0 1px rgba(20, 195, 154, .35), 0 30px 60px -20px #000, 0 0 60px -20px rgba(20, 195, 154, .5);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.pt-ficha__cara { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.pt-ficha__cara img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.pt-ficha.es-cambia .pt-ficha__cara img, .pt-ficha.es-cambia [data-ficha-nombre] { animation: pt-ficha .6s var(--pt-salida); }
@keyframes pt-ficha { from { opacity: 0; transform: translateY(8px) scale(.98); filter: blur(6px); } }
.pt-ficha__datos { display: grid; gap: 2px; margin-top: 14px; }
.pt-ficha__rotulo { font: 500 10px/1 var(--pt-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pt-verde); }
.pt-ficha__datos b { margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.pt-ficha__voz { font-size: 13px; color: var(--pt-ceniza); }
.pt-onda { display: flex; align-items: center; gap: 3px; height: 28px; margin-top: 10px; }
.pt-onda i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(var(--pt-menta), var(--pt-verde)); transform-origin: 50% 50%; animation: pt-onda-voz 1s ease-in-out infinite; animation-delay: calc(var(--k) * -73ms); }
@keyframes pt-onda-voz { 0%, 100% { transform: scaleY(.18); } 35% { transform: scaleY(1); } 60% { transform: scaleY(.45); } 80% { transform: scaleY(.75); } }
.pt-ficha__pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 14px; }
.pt-ficha__pasos li {
  padding: 7px 0; border-radius: 8px; text-align: center; font: 600 10px/1 var(--pt-mono); color: var(--pt-sombra);
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  animation: pt-paso-on 2.6s ease infinite; animation-delay: calc(var(--n) * .45s);
}
@keyframes pt-paso-on { 0%, 8% { color: var(--pt-sombra); background: rgba(255, 255, 255, .04); } 18%, 70% { color: var(--pt-sobre-verde); background: var(--pt-verde); box-shadow: 0 0 16px rgba(20, 195, 154, .6); } 90%, 100% { color: var(--pt-sombra); background: rgba(255, 255, 255, .04); } }
.pt-reparto { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pt-reparto__cara {
  display: block; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: #111;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .12); opacity: .55; filter: grayscale(.6);
  transition: transform .5s var(--pt-salida), box-shadow .4s ease, opacity .4s ease, filter .4s ease;
}
.pt-reparto__cara img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pt-reparto__cara:hover { opacity: 1; filter: none; }
.pt-reparto__cara.es-activo { opacity: 1; filter: none; transform: scale(1.18); box-shadow: 0 0 0 2px var(--pt-verde), 0 0 24px rgba(20, 195, 154, .7); }
.pt-telefono__etiqueta { position: absolute; left: 10px; top: 12px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(0, 0, 0, .65); }
.pt-telefono__sonido {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  padding: 9px 15px; border: 0; border-radius: 999px; background: #fff; color: #000; font: 600 12px/1 var(--pt-fuente); cursor: pointer;
}
.pt-telefono__sonido svg { width: 15px; height: 15px; }

/* ---------- 4 · Lanza y vende: las piezas ---------- */

.pt-piezas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pt-pieza {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  padding: 26px; border-radius: 24px; min-height: 340px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: box-shadow .5s ease, transform .6s var(--pt-salida);
}
.pt-pieza::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--fx, 50%) var(--fy, 50%), rgba(20, 195, 154, .14), transparent 60%);
}
.pt-pieza:hover::before { opacity: 1; }
.pt-pieza:hover { box-shadow: inset 0 0 0 1px rgba(20, 195, 154, .35), 0 30px 60px -30px rgba(20, 195, 154, .4); transform: translateY(-4px); }
.pt-pieza--biblioteca { grid-column: span 2; flex-direction: row; align-items: center; gap: 28px; min-height: 300px; }
.pt-pieza h3 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.pt-pieza p { position: relative; font-size: 15px; line-height: 1.55; color: var(--pt-niebla); }
.pt-pieza__cabeza { display: flex; align-items: center; gap: 14px; }
.pt-pieza__cabeza > div { flex: 1; }
.pt-pieza__cabeza img, .pt-pieza__inicial, .pt-pieza__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--pt-verde), 0 0 26px -4px var(--pt-verde); }
.pt-pieza__inicial { display: grid; place-items: center; font-family: var(--pt-serif); font-style: italic; font-size: 30px; color: var(--pt-verde); background: #07110e; }
.pt-pieza__cabeza b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.pt-pieza__cabeza span { font-size: 13px; color: var(--pt-ceniza); }
.pt-pieza__pie { margin-top: auto; font-size: 12px !important; color: var(--pt-sombra) !important; }
.pt-pieza__fila { display: flex; align-items: center; justify-content: space-between; }
.pt-pieza__logo { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.pt-pieza__logo svg { width: 34px; height: 34px; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--marca) 55%, transparent)); }

/* Chats: los mensajes aparecen uno detrás de otro al llegar */
.pt-chat { display: grid; gap: 10px; margin-top: 6px; }
.pt-chat p { max-width: 92%; padding: 11px 15px; border-radius: 18px; font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .5s ease, transform .6s var(--pt-salida); transition-delay: calc(var(--n) * .9s + .2s); }
.es-visible .pt-chat p, .portada:not(.pt-anima) .pt-chat p { opacity: 1; transform: none; }
.pt-chat__tu { justify-self: end; color: var(--pt-sobre-verde) !important; background: var(--pt-verde); border-bottom-right-radius: 6px !important; font-weight: 500; }
.pt-chat__el { justify-self: start; color: #fff !important; background: rgba(255, 255, 255, .07); border-bottom-left-radius: 6px !important; }
.pt-chat__resultado { justify-self: start; font-family: var(--pt-mono); font-size: 12.5px !important; color: var(--pt-niebla) !important; box-shadow: inset 0 0 0 1px rgba(20, 195, 154, .4); }
.pt-chat__resultado b { color: var(--pt-verde); }

/* Shopify: tienda conectada y el interruptor que va de borrador a la venta */
.pt-conexion { display: grid; gap: 10px; margin-top: auto; }
.pt-conexion__tienda { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; font: 500 12px/1 var(--pt-mono); color: var(--pt-niebla); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pt-conexion__tienda i { width: 7px; height: 7px; border-radius: 50%; background: #95bf47; box-shadow: 0 0 10px #95bf47; }
.pt-conexion__tienda b { margin-left: auto; color: #b9df7a; font-weight: 600; }
.pt-conexion__elige { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 13px; font-weight: 600; text-align: center; }
.pt-conexion__elige span { position: relative; z-index: 1; padding: 9px 0; color: var(--pt-ceniza); animation: pt-elige-texto 4s var(--pt-salida) infinite; }
.pt-conexion__elige span + span { animation-name: pt-elige-texto-2; }
.pt-conexion__elige i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--pt-verde); box-shadow: 0 0 20px rgba(20, 195, 154, .6); animation: pt-elige 4s var(--pt-salida) infinite; }
@keyframes pt-elige { 0%, 40% { transform: translateX(0); } 50%, 90% { transform: translateX(100%); } 100% { transform: translateX(0); } }
@keyframes pt-elige-texto { 0%, 40% { color: var(--pt-sobre-verde); } 50%, 90% { color: var(--pt-ceniza); } 100% { color: var(--pt-sobre-verde); } }
@keyframes pt-elige-texto-2 { 0%, 40% { color: var(--pt-ceniza); } 50%, 90% { color: var(--pt-sobre-verde); } 100% { color: var(--pt-ceniza); } }

/* Biblioteca: cuadrícula ordenada de referentes y anuncios */
.pt-pieza__texto { flex: 0 0 34%; display: grid; gap: 12px; }
.pt-galeria { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pt-galeria__item { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .5s var(--pt-salida); }
.pt-galeria__item:nth-child(even) { transform: translateY(14px); }
.pt-galeria__item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--pt-salida); }
.pt-pieza--biblioteca:hover .pt-galeria__item img { transform: scale(1.06); }
.pt-galeria__item span { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; gap: 6px; align-items: center; padding: 5px 7px; border-radius: 8px; font-size: 10px; color: var(--pt-niebla); background: rgba(0, 0, 0, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-galeria__item span b { font: 600 9px/1 var(--pt-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--pt-verde); }
.pt-galeria__item.es-anuncio span b { color: var(--pt-oro); }

/* Trafiker: una campaña que se va rellenando */
.pt-campana { display: grid; gap: 10px; margin-top: auto; }
.pt-campana li { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--pt-ceniza); }
.pt-campana i { position: relative; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.pt-campana i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, #0467df, #3b8cff); box-shadow: 0 0 12px rgba(4, 103, 223, .7); animation: pt-barra-campana 3.5s var(--pt-salida) infinite; }
.pt-campana li:nth-child(2) i::after { animation-delay: .3s; }
.pt-campana li:nth-child(3) i::after { animation-delay: .6s; }
@keyframes pt-barra-campana { 0% { transform: scaleX(0); transform-origin: left; } 45%, 85% { transform: scaleX(1); transform-origin: left; } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- Precios ---------- */

.pt-planes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; padding-top: 18px; }
.pt-plan {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .6s var(--pt-salida), box-shadow .4s ease;
}
.pt-plan::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease; background: radial-gradient(380px circle at var(--fx, 50%) var(--fy, 0%), rgba(20, 195, 154, .12), transparent 60%); }
.pt-plan:hover::before { opacity: 1; }
.pt-plan:hover { transform: translateY(-6px); }
/* El plan recomendado: más alto, con un borde de luz que gira */
.pt-plan.es-destacado { transform: translateY(-14px); background: linear-gradient(180deg, rgba(20, 195, 154, .13), rgba(20, 195, 154, .02) 55%), #0b0d0d; box-shadow: 0 40px 90px -40px rgba(20, 195, 154, .55); }
.pt-plan.es-destacado:hover { transform: translateY(-20px); }
.pt-plan.es-destacado::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--pt-giro), rgba(20, 195, 154, .25), var(--pt-menta) 20%, rgba(20, 195, 154, .25) 40%, rgba(20, 195, 154, .25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: pt-giro 6s linear infinite;
}
.pt-plan__sello { position: absolute; top: 20px; right: 20px; font: 600 10px/1 var(--pt-mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; color: var(--pt-sobre-verde); background: linear-gradient(180deg, var(--pt-menta), var(--pt-verde)); box-shadow: 0 6px 20px -6px rgba(20, 195, 154, .8); }
.pt-plan__nombre { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.pt-plan__gancho { font-size: 14px; color: var(--pt-ceniza); min-height: 42px; line-height: 1.5; }
.pt-plan__precio { display: flex; align-items: flex-start; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pt-plan__precio b { font-size: clamp(54px, 4.6vw, 70px); font-weight: 600; letter-spacing: -.06em; line-height: .9; }
.pt-plan__precio span { display: flex; flex-direction: column; padding-top: 6px; font-size: 14px; color: var(--pt-ceniza); }
.pt-plan__precio sup { font-size: 22px; color: #fff; line-height: 1; top: 0; }
.pt-plan__creditos { font-size: 14px; color: var(--pt-niebla); }
.pt-plan__creditos b { color: var(--pt-verde); font-size: 18px; }
.pt-plan__creditos span { display: block; margin-top: 5px; font: 600 11px/1.3 var(--pt-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--pt-oro); }
.pt-plan__incluye { display: grid; gap: 11px; margin: 4px 0 22px; flex: 1; }
.pt-plan__incluye li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--pt-niebla); }
.pt-plan__incluye li > i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: -1px; border-radius: 50%; font-style: normal; background: rgba(20, 195, 154, .14); color: var(--pt-verde); }
.pt-plan__incluye li > i svg { width: 12px; height: 12px; }
.pt-plan__incluye li.es-no { color: var(--pt-sombra); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .2); }
.pt-plan__incluye li.es-no > i { background: rgba(255, 255, 255, .05); color: var(--pt-sombra); }
.pt-planes__cargando { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--pt-ceniza); }
.pt-precios__nota { position: relative; z-index: 2; margin-top: 56px; text-align: center; font-size: 14px; color: var(--pt-ceniza); }
.pt-precios__nota b { color: #fff; font-weight: 500; }
.pt-invita {
  display: flex; align-items: center; gap: 28px; margin-top: 40px; padding: 22px 28px; border-radius: 22px;
  background: linear-gradient(90deg, rgba(240, 194, 90, .1), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(240, 194, 90, .3);
}
.pt-invita__cifra { font-size: 56px; font-weight: 500; letter-spacing: -.06em; color: var(--pt-oro); line-height: 1; text-shadow: 0 0 30px rgba(240, 194, 90, .5); }
.pt-invita p { flex: 1; color: var(--pt-niebla); }
.pt-invita p b { color: #fff; font-weight: 600; }

/* ---------- Preguntas ---------- */

.pt-preguntas-sec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pt-preguntas-sec__cabeza { position: sticky; top: 120px; }
.pt-preguntas { display: grid; gap: 10px; }
.pt-pregunta { border-radius: 18px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--pt-hilo); transition: box-shadow .3s ease, background-color .3s ease; interpolate-size: allow-keywords; }
.pt-pregunta:hover { background: rgba(255, 255, 255, .05); }
.pt-pregunta[open] { background: rgba(20, 195, 154, .05); box-shadow: inset 0 0 0 1px rgba(20, 195, 154, .35); }
.pt-pregunta summary { display: flex; align-items: center; gap: 18px; padding: 22px 24px; font-size: 18px; font-weight: 500; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.pt-pregunta summary::-webkit-details-marker { display: none; }
.pt-pregunta__num { font: 500 12px/1 var(--pt-mono); color: var(--pt-sombra); transition: color .3s ease; }
.pt-pregunta[open] .pt-pregunta__num { color: var(--pt-verde); }
.pt-pregunta__texto { flex: 1; }
.pt-pregunta summary i { position: relative; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .3s ease, transform .5s var(--pt-salida); }
.pt-pregunta summary i::before, .pt-pregunta summary i::after { content: ""; position: absolute; width: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--pt-salida); }
.pt-pregunta summary i::after { transform: rotate(90deg); }
.pt-pregunta[open] summary i { background: var(--pt-verde); color: var(--pt-sobre-verde); box-shadow: none; transform: rotate(180deg); }
.pt-pregunta[open] summary i::after { transform: rotate(0); }
/* La respuesta se despliega suave (en los navegadores que lo permiten) */
.pt-pregunta::details-content { height: 0; overflow: clip; transition: height .45s var(--pt-salida), content-visibility .45s allow-discrete; }
.pt-pregunta[open]::details-content { height: auto; }
.pt-pregunta__cuerpo p { padding: 0 24px 24px 66px; color: var(--pt-niebla); line-height: 1.65; }
.pt-contacto { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 14px 14px 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--pt-hilo); }
.pt-contacto img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--pt-verde); }
.pt-contacto div { display: grid; gap: 2px; flex: 1; }
.pt-contacto b { font-size: 15px; font-weight: 600; }
.pt-contacto span { font-size: 13px; color: var(--pt-ceniza); }
.pt-contacto .pt-btn { height: 40px; }

/* ---------- Cierre: el portal ---------- */

.pt-final { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: clamp(40px, 6vh, 70px); min-height: 100vh; padding: 110px 0 90px; overflow: hidden; text-align: center; }
.pt-final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 520px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(20, 195, 154, .2), transparent 65%); pointer-events: none; }
.pt-final__fila { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.pt-final__cinta { display: flex; gap: 16px; width: max-content; animation: pt-cinta 60s linear infinite; }
.pt-final__fila--inversa .pt-final__cinta { animation-direction: reverse; animation-duration: 70s; }
.pt-final__tienda { position: relative; flex: none; width: 260px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); opacity: .55; transition: opacity .4s ease; }
.pt-final__tienda:hover { opacity: 1; }
.pt-final__tienda img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pt-final__tienda b { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 6px; font: 600 11px/1 var(--pt-mono); background: rgba(0, 0, 0, .75); }
@keyframes pt-cinta { to { transform: translateX(-50%); } }
.pt-final__texto { position: relative; z-index: 2; max-width: 1060px; margin: 0 auto; padding: 0 var(--pt-margen); }
.pt-final__titulo { margin-top: 24px; font-size: clamp(40px, 6vw, 92px); font-weight: 600; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.pt-final__bajada { max-width: 620px; margin: 24px auto 0; font-size: 18px; line-height: 1.6; color: var(--pt-niebla); }

.pt-pie { position: relative; z-index: 2; overflow: hidden; padding: 70px var(--pt-margen) 28px; border-top: 1px solid var(--pt-hilo); font-size: 14px; color: var(--pt-ceniza); }
.pt-pie__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; max-width: var(--pt-ancho); margin: 0 auto; }
.pt-pie__cols > * { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pt-pie__marca { width: 170px; height: 28px; color: #fff; }
.pt-pie__marca-col p { max-width: 320px; line-height: 1.6; }
.pt-pie__titulo { margin-bottom: 4px; font: 600 11px/1 var(--pt-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.pt-pie a { color: var(--pt-niebla); text-decoration: none; transition: color .2s ease; }
.pt-pie a:hover { color: var(--pt-verde); }
.pt-pie__logos { display: flex; gap: 16px; margin-top: 6px; }
.pt-pie__logos svg { width: 20px; height: 20px; opacity: .7; transition: opacity .3s ease; }
.pt-pie__logos li:hover svg { opacity: 1; }
.pt-pie__cta { height: 42px; margin-top: 6px; }
.pt-pie__gigante {
  max-width: var(--pt-ancho); margin: 60px auto 0; text-align: center; white-space: nowrap; line-height: .8;
  font: 600 clamp(64px, 15.5vw, 230px)/.8 var(--pt-fuente); letter-spacing: -.06em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pt-pie__base { display: flex; justify-content: space-between; gap: 24px; max-width: var(--pt-ancho); margin: 26px auto 0; padding-top: 22px; border-top: 1px solid var(--pt-hilo); font-size: 12px; color: var(--pt-sombra); }
.pt-pie__base span:last-child { max-width: 620px; text-align: right; }
.pt-pie__cookies { border: 0; background: none; padding: 0; font: inherit; color: var(--pt-niebla); cursor: pointer; }

/* ---------- Tablet y móvil: sin escenas fijadas ---------- */

@media (max-width: 1080px) {
  .pt-pie__cols { grid-template-columns: 1fr 1fr; }
  .pt-plan.es-destacado, .pt-plan.es-destacado:hover { transform: none; }
  .pt-cab__nav { display: none; }
  .pt-cab__acciones { margin-left: auto; }
  .pt-planes { grid-template-columns: repeat(2, 1fr); }
  .pt-piezas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px), (max-height: 639px) {
  .pt-escaner__fijo { grid-template-columns: 1fr; min-height: 0; padding-top: 80px; }
  .pt-escaner__plano { transform: rotateX(20deg) rotateZ(-4deg); grid-template-columns: repeat(3, 1fr); }
  .pt-escaner__plano .pt-tienda:nth-child(n+13) { display: none; }
  .pt-laser { animation: pt-laser 4s linear infinite; }
  @keyframes pt-laser { to { top: 104%; } }
  .pt-clon__fijo { min-height: 0; }
  .pt-clon__escena { height: auto; display: grid; gap: 20px; perspective: none; }
  .pt-navegador { position: relative; left: 0; width: 100%; margin: 0; }
  .es-movil-auto .pt-navegador__copia { animation: pt-revela 6s var(--pt-salida) infinite; }
  .es-movil-auto .pt-haz { animation: pt-haz 6s var(--pt-salida) infinite; }
  @keyframes pt-revela { 0%, 8% { clip-path: inset(0 100% 0 0); } 45%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes pt-haz { 0%, 8% { left: 0; opacity: 1; } 45% { left: 100%; opacity: 1; } 50%, 100% { left: 100%; opacity: 0; } }
  .pt-resultado { position: relative; right: auto; top: auto; width: 100%; }
  .pt-movil { position: relative; right: auto; top: auto; width: min(260px, 70vw); margin: 0 auto 40px; opacity: 1; }
  .pt-anuncios__fijo { min-height: 0; }
  .pt-anuncios__cabeza { grid-template-columns: 1fr; }
  .pt-carril { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--pt-margen); scrollbar-width: none; }
  .pt-anuncio { scroll-snap-align: start; width: min(72vw, 300px); }
  .pt-video { grid-template-columns: 1fr; }
  .pt-estudio__escena { padding-left: 0; flex-direction: column; gap: 18px; }
  .pt-ficha { position: relative; top: auto; transform: none; width: min(320px, 100%); }
  .pt-preguntas-sec { grid-template-columns: 1fr; }
  .pt-preguntas-sec__cabeza { position: static; }
  .pt-hud { display: none; }
}

@media (max-width: 600px) {
  .pt-pie__cols { grid-template-columns: 1fr; }
  .pt-pie__base { flex-direction: column; }
  .pt-pie__base span:last-child { text-align: left; }
  .pt-pregunta__cuerpo p { padding-left: 24px; }
  .pt-anuncio:nth-child(even) { margin-top: 0; }
  .pt-contacto { flex-wrap: wrap; }
  .pt-chip-hud { height: 30px; padding: 0 12px; font-size: 10px; letter-spacing: .08em; }
  .pt-hero__velo { background: radial-gradient(ellipse 90% 50% at 50% 48%, rgba(0, 0, 0, .9), rgba(0, 0, 0, .6) 70%, rgba(0, 0, 0, .35)), linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 20%, transparent 80%, #000); }
  .pt-cab__dentro { height: 62px; gap: 10px; }
  .pt-cab__marca svg { width: 130px; height: 22px; }
  .pt-cab__gratis { display: none; }
  .pt-cab .pt-btn { height: 38px; padding: 0 14px; font-size: 13px; }
  .pt-hero { min-height: 600px; }
  .pt-hero__titulo { font-size: clamp(46px, 14vw, 64px); }
  .pt-botones .pt-btn { width: 100%; }
    .pt-escaner__plano { grid-template-columns: repeat(2, 1fr); }
  .pt-escaner__plano .pt-tienda:nth-child(n+9) { display: none; }
  .pt-telefono { width: 220px; }
  .pt-reparto__cara { width: 44px; height: 44px; }
  .pt-piezas { grid-template-columns: 1fr; }
  .pt-pieza--biblioteca { grid-column: auto; flex-direction: column; align-items: stretch; }
  .pt-planes { grid-template-columns: 1fr; }
  .pt-invita { flex-direction: column; align-items: flex-start; }
  .pt-final__tienda { width: 180px; }
  .pt-final { min-height: 80vh; }
  /* En un móvil, 90 px arriba y abajo dejaban casi 200 px de negro entre secciones */
  .pt-seccion, .pt-video { padding-top: 60px; padding-bottom: 60px; }
  /* La notificación, encima del teléfono: aquí se queda fija y tapaba la cabecera de la tienda */
  .pt-movil { margin-top: 34px; }
  .pt-aviso { top: -30px; }
}

@media (prefers-reduced-motion: reduce) {
  .portada *, .portada *::before, .portada *::after { animation: none !important; transition: none !important; }
  .pt-navegador__copia { clip-path: none; }
  .pt-haz { display: none; }
  .pt-movil { opacity: 1; }
  .pt-ventas__linea { stroke-dashoffset: 0; }
}

/* El cierre: paneles de ventas de Shopify en vez de portadas de tiendas */
.pt-final__tienda--ventas { width: 420px; aspect-ratio: 1100 / 542; border-radius: 12px; opacity: .94; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 60px -30px rgba(0, 0, 0, .9); }
.pt-final__tienda--ventas img { object-position: top left; }
@media (max-width: 1023px) { .pt-final__tienda--ventas { width: 290px; } }

/* Roger IA en «Lanza y vende»: en línea, con su paso del método y sus cuentas */
.pt-pieza--roger { background: radial-gradient(90% 60% at 0% 0%, rgba(20, 195, 154, .14), transparent 60%), var(--pt-panel, #070707); }
.pt-roger__cara { position: relative; flex: none; }
.pt-roger__cara > i { position: absolute; right: 0; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: var(--pt-verde); box-shadow: 0 0 0 3px #070707, 0 0 10px var(--pt-verde); animation: pt-latido 2.4s ease-in-out infinite; }
@keyframes pt-latido { 50% { box-shadow: 0 0 0 3px #070707, 0 0 0 7px rgba(20, 195, 154, .22), 0 0 14px var(--pt-verde); } }
.pt-roger__linea { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font: 500 11px/1 var(--pt-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pt-menta, #5ff5cf) !important; background: rgba(20, 195, 154, .1); box-shadow: inset 0 0 0 1px rgba(95, 245, 207, .3); }
.pt-roger__linea i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pt-roger__datos { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 6px; }
.pt-roger__datos > div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.pt-roger__paso span { display: block; font-size: 12px; color: var(--pt-ceniza); }
.pt-roger__paso b { font-family: var(--pt-mono); font-weight: 500; color: #fff; }
.pt-roger__paso > i { display: block; height: 5px; margin-top: 9px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pt-roger__paso > i > i { display: block; width: 32%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0ea583, #5ff5cf); box-shadow: 0 0 10px rgba(20, 195, 154, .8); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--pt-salida) 1.6s; }
.es-visible .pt-roger__paso > i > i, .portada:not(.pt-anima) .pt-roger__paso > i > i { transform: none; }
.pt-roger__cifra small { display: block; font-size: 11px; color: var(--pt-ceniza); }
.pt-roger__cifra b { display: block; margin-top: 3px; font: 500 15px/1.1 var(--pt-mono); letter-spacing: -.03em; color: #fff; }
@media (prefers-reduced-motion: reduce) { .pt-roger__cara > i { animation: none; } }
.pt-roger__cifra b { white-space: nowrap; }
@media (max-width: 480px) { .pt-roger__datos { grid-template-columns: 1fr 1fr; } .pt-roger__paso { grid-column: 1 / -1; } }

/* ---------- Cierre: los paneles de ventas vienen hacia ti ---------- */
.pt-final { gap: 0; min-height: max(100vh, 860px); }
.pt-final__espacio {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  perspective: 1100px; perspective-origin: 50% 50%;
  --kx: 1; --ky: 1;
}
.pt-vuela {
  position: absolute; left: 50%; top: 50%; width: 400px; aspect-ratio: 1100 / 542;
  margin: calc(400px * -542 / 1100 / 2) 0 0 -200px;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 30px 80px -30px rgba(0, 0, 0, .95), 0 0 70px -24px rgba(20, 195, 154, .45);
  opacity: 0; will-change: transform, opacity;
  animation: pt-vuela 16s linear infinite;
  animation-delay: calc(var(--n) * -1.6s);
}
.pt-vuela img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@keyframes pt-vuela {
  0% { transform: translate3d(calc(var(--x) * var(--kx)), calc(var(--y) * var(--ky)), -2200px) rotateY(var(--g)); opacity: 0; }
  12% { opacity: .2; }
  48% { opacity: .25; }
  62% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate3d(calc(var(--x) * var(--kx)), calc(var(--y) * var(--ky)), 420px) rotateY(var(--g)); opacity: 0; }
}
/* El mensaje, por delante y legible, con un velo justo detrás de las letras */
.pt-final__texto { z-index: 3; }
.pt-final__texto::before {
  content: ""; position: absolute; inset: -10px -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, .35) 70%, transparent);
}
@media (max-width: 1023px) {
  .pt-final { min-height: 0; padding: 260px 0 260px; }
}
@media (max-width: 600px) {
  .pt-final { padding: 190px 0 110px; }
}
@media (max-width: 1023px) {
  .pt-final__espacio { --kx: .3; --ky: 1; }
  .pt-vuela { --y: var(--ym); }
  .pt-vuela { width: 230px; margin: calc(230px * -542 / 1100 / 2) 0 0 -115px; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-vuela { animation: none; opacity: .6; transform: translate3d(calc(var(--x) * var(--kx)), calc(var(--y) * var(--ky)), -500px) rotateY(var(--g)); }
}

/* ---------- 3 · El agente de anuncios, tal y como se ve (2026-10-10) ---------- */
.pt-agente { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.pt-agente .pt-h2 { font-size: clamp(34px, 3.6vw, 56px); }
.pt-agente__app {
  border-radius: 20px; overflow: hidden; background: #0b0d0d;
  box-shadow: inset 0 0 0 1px var(--pt-hilo-2), 0 50px 100px -40px #000, 0 0 120px -40px rgba(20, 195, 154, .45);
}
.pt-agente__barra { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; background: #060707; border-bottom: 1px solid var(--pt-hilo); }
.pt-agente__barra i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.pt-agente__barra span { margin-left: 10px; font: 500 12px/1 var(--pt-mono); color: var(--pt-ceniza); }
.pt-agente__cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; padding: 22px; }
.pt-agente__chat { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pt-agente__yo { align-self: flex-end; max-width: 88%; padding: 12px 14px; border-radius: 14px; background: var(--pt-cristal-2); box-shadow: inset 0 0 0 1px var(--pt-hilo-2); }
.pt-agente__yo p { margin: 0; font-size: 14px; }
.pt-agente__fotos { display: flex; gap: 6px; margin-bottom: 8px; }
.pt-agente__fotos img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; background: #fff; }
.pt-agente__pregunta { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--pt-hilo-2); }
.pt-agente__q { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 6px; font-size: 14px; }
.pt-agente__q span { font: 500 12px/1.4 var(--pt-mono); color: var(--pt-ceniza); }
.pt-agente__op { margin: 0; padding: 7px 8px; border-radius: 8px; font-size: 13px; color: var(--pt-niebla); }
.pt-agente__op.es-elegida { background: rgba(20, 195, 154, .14); color: #fff; }
.pt-agente__op em { margin-left: 6px; font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 5px; color: var(--pt-menta); box-shadow: inset 0 0 0 1px rgba(95, 245, 207, .4); }
.pt-agente__pasos { display: grid; gap: 9px; margin: 2px 0 0; padding: 0; list-style: none; }
.pt-agente__pasos li {
  position: relative; padding-left: 26px; font: 500 12.5px/1.4 var(--pt-mono); color: var(--pt-sombra);
  animation: pt-agente-paso 7s ease infinite; animation-delay: calc(var(--n) * 1.1s);
}
.pt-agente__pasos li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
@keyframes pt-agente-paso {
  0%, 4% { color: var(--pt-sombra); }
  12%, 82% { color: #fff; }
  90%, 100% { color: var(--pt-sombra); }
}
.pt-agente__resultado { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.pt-agente__movil { width: 200px; border-width: 6px; border-radius: 30px; }
.pt-agente__imagenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
.pt-agente__imagenes img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--pt-hilo); }
@media (max-width: 980px) {
  .pt-agente { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pt-agente__cuerpo { grid-template-columns: 1fr; padding: 14px; }
  .pt-agente__movil { width: 190px; }
  .pt-agente__imagenes { max-width: 300px; }
}
@media (prefers-reduced-motion: reduce) { .pt-agente__pasos li { animation: none; color: #fff; } }

/* La mascota de Trafiker en su tarjeta */
.pt-pieza__mascota { display: block; width: 46px; height: 46px; margin-left: auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 22px -8px rgba(47, 134, 246, .7); }
.pt-pieza__mascota img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cierre: las ventas, en un carrusel en primer plano ---------- */
.pt-final { min-height: 0; padding-bottom: 70px; }
.pt-ventas { position: relative; z-index: 2; width: 100%; margin-top: 54px; }
.pt-ventas__escena {
  --ancho: min(620px, 70vw); --paso: min(430px, 34vw);
  position: relative; height: calc(var(--ancho) * 542 / 1100 + 40px); perspective: 1500px; perspective-origin: 50% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.pt-ventas__panel {
  position: absolute; left: 50%; top: 0; width: var(--ancho); margin: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 80px -30px rgba(0, 0, 0, .95);
  transform: translateX(calc(-50% + var(--d) * var(--paso))) translateZ(calc(var(--a) * -260px)) rotateY(calc(var(--d) * -22deg));
  filter: brightness(calc(1 - var(--a) * .25));
  z-index: calc(10 - var(--a));
  transition: transform 1.8s cubic-bezier(.65, 0, .25, 1), filter 1.4s ease, opacity 1.2s ease;
}
.pt-ventas__panel img { display: block; width: 100%; height: auto; }
.pt-ventas__panel.es-centro { cursor: default; box-shadow: 0 0 0 1.5px rgba(95, 245, 207, .6), 0 50px 100px -30px rgba(20, 195, 154, .5), 0 30px 60px -30px #000; }
.pt-ventas__panel.es-lejos { opacity: 0; pointer-events: none; }
.pt-ventas__rotulo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; width: max-content; max-width: 92%;
  margin: 8px auto 0; padding: 12px 20px; border-radius: 999px;
  font: 500 14px/1 var(--pt-fuente); color: #cfd3d2;
  background: rgba(10, 12, 12, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 50px -20px #000;
}
.pt-ventas__rotulo i { width: 8px; height: 8px; border-radius: 50%; background: #14c39a; box-shadow: 0 0 10px #14c39a; }
.pt-ventas__rotulo b { color: #fff; font-weight: 650; }
.pt-ventas__rotulo span { color: #8f9593; }
.pt-ventas__rotulo em { font-style: normal; font: 600 15px/1 "Geist Mono", monospace; color: #fff; }
.pt-ventas__rotulo strong { padding: 4px 9px; border-radius: 999px; font: 600 12.5px/1 "Geist Mono", monospace; color: #02140f; background: linear-gradient(180deg, #5ff5cf, #14c39a); }
.pt-ventas__rotulo.es-nuevo > * { animation: pt-rotulo 1s cubic-bezier(.16, 1, .3, 1) .3s both; }
@keyframes pt-rotulo { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 720px) {
  .pt-ventas__escena { --ancho: 86vw; --paso: 46vw; }
  .pt-ventas__rotulo { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .pt-ventas__panel, .pt-ventas__rotulo.es-nuevo > * { transition: none; animation: none; } }

/* Los vídeos del carril de anuncios: más altos (9:16 recortado) y suenan al tocarlos */
.pt-anuncio--video .pt-anuncio__foto { position: relative; aspect-ratio: 9 / 14; background: #000; }
.pt-anuncio--video video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.pt-anuncio__play {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  padding: 9px 15px; border: 0; border-radius: 999px; background: #fff; color: #000; font: 600 12px/1 var(--pt-fuente); cursor: pointer;
  box-shadow: 0 10px 30px -10px #000; transition: transform .3s ease, background-color .3s ease;
}
.pt-anuncio__play:hover { transform: translateX(-50%) scale(1.05); }
.pt-anuncio__play svg { width: 15px; height: 15px; }
.pt-anuncio--video.es-sonando { box-shadow: 0 0 0 1.5px rgba(95, 245, 207, .7), 0 40px 80px -30px rgba(20, 195, 154, .5); }
.pt-anuncio--video.es-sonando .pt-anuncio__play { background: #5ff5cf; }

/* ---------- Precios: sellos, ahorro, ticket de lanzamiento y tarifa (2026-10-11) ---------- */
.pt-precios__sellos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.pt-precios__sellos li {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #e3e6e5;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.pt-precios__sellos svg { width: 14px; height: 14px; color: var(--pt-verde); }
/* El sello del destacado, centrado encima de la tarjeta: ya no pisa el nombre */
.pt-plan.es-destacado { overflow: visible; }
.pt-plan__sello { top: -13px; right: auto; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pt-plan__nombre { display: flex; align-items: center; gap: 10px; }
.pt-plan__ahorro { padding: 5px 8px; border-radius: 999px; font: 600 11.5px/1 var(--pt-mono); letter-spacing: 0; color: var(--pt-menta); background: rgba(20, 195, 154, .12); box-shadow: inset 0 0 0 1px rgba(95, 245, 207, .28); }

.pt-tarifa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 56px; }
.pt-tarifa[hidden] { display: none; }
.pt-ticket, .pt-gasta { position: relative; overflow: hidden; padding: 30px 30px 28px; border-radius: 26px; }
.pt-ticket {
  background: radial-gradient(420px circle at var(--fx, 85%) var(--fy, 0%), rgba(20, 195, 154, .16), transparent 60%), linear-gradient(180deg, #0f1312, #0a0c0c);
  box-shadow: inset 0 0 0 1px rgba(95, 245, 207, .22), 0 40px 90px -50px rgba(20, 195, 154, .6);
}
.pt-ticket__chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 600 11px/1 var(--pt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pt-menta); }
.pt-ticket__chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.pt-ticket__titulo { margin: 12px 0 22px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.pt-ticket__lineas { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pt-ticket__lineas li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .1); }
.pt-ticket__lineas span { display: grid; gap: 3px; }
.pt-ticket__lineas b { font-size: 15px; font-weight: 550; color: #fff; }
.pt-ticket__lineas small { font-size: 12.5px; color: var(--pt-ceniza); }
.pt-ticket__lineas i { flex: 1; }
.pt-ticket__lineas em { font: 600 16px/1 var(--pt-mono); font-style: normal; color: #fff; }
.pt-ticket__total { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 0 0; }
.pt-ticket__total span { font-size: 15px; color: var(--pt-ceniza); }
.pt-ticket__total b { font: 600 clamp(30px, 3vw, 40px)/1 var(--pt-fuente); letter-spacing: -.04em; background: linear-gradient(100deg, #5ff5cf, #14c39a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pt-ticket__nota { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; font-size: 14px; color: var(--pt-niebla); background: rgba(20, 195, 154, .08); }
.pt-ticket__nota b { color: #fff; }
.pt-gasta { background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.pt-gasta__titulo { margin: 0 0 16px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.pt-gasta__lista { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pt-gasta__lista li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 14.5px; color: var(--pt-niebla); }
.pt-gasta__lista i { flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .16); transform: translateY(-4px); }
.pt-gasta__lista b { font: 600 14.5px/1 var(--pt-mono); color: var(--pt-verde); }
.pt-gasta__lista b::after { content: " cr."; font-weight: 500; color: var(--pt-ceniza); }
.pt-gasta__etiqueta { margin: 20px 0 10px; font: 600 11px/1 var(--pt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pt-ceniza); }
.pt-gasta__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-gasta__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: #e3e6e5; background: rgba(20, 195, 154, .08); box-shadow: inset 0 0 0 1px rgba(95, 245, 207, .2); }
.pt-gasta__chips svg { width: 13px; height: 13px; color: var(--pt-verde); }
@media (max-width: 900px) { .pt-tarifa { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .pt-ticket, .pt-gasta { padding: 24px 20px; } }
@media (max-width: 1100px) { .pt-plan.es-destacado { margin-top: 10px; } }

/* ---------- 04 · El agente, tal como se ve dentro (2026-10-11) ---------- */
.pt-agente { grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); }
.pt-agente .pt-h2 { font-size: clamp(32px, 3.2vw, 50px); }
.pt-ag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; min-width: 0; }
.pt-ag__panel, .pt-ag__muestras {
  position: relative; overflow: hidden; border-radius: 22px; padding: 26px 24px;
  background: radial-gradient(70% 60% at 20% 0%, rgba(20, 195, 154, .14), transparent 70%), linear-gradient(180deg, #111514, #0a0c0c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 90px -50px rgba(20, 195, 154, .5);
}
.pt-ag__hola { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.pt-ag__avatar { position: relative; display: block; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #1f3a33, #0a0f0e); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 0 40px -6px rgba(20, 195, 154, .55); }
.pt-ag__avatar > img { width: 100%; height: 100%; object-fit: cover; }
.pt-ag__avatar .mascota-3d { width: 100%; height: 100%; }
.pt-ag__avatar::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 12px; height: 12px; border-radius: 50%; background: #14c39a; box-shadow: 0 0 0 3px #0a0c0c; }
.pt-ag__rol { margin: 0 0 6px; font: 600 10.5px/1.2 var(--pt-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pt-verde); }
.pt-ag__titulo { margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: #fff; }
.pt-ag__titulo mark { padding: 0 .15em; border-radius: 6px; color: #02140f; background: linear-gradient(180deg, #5ff5cf, #14c39a); }
.pt-ag__bajada { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--pt-ceniza); }
.pt-ag__caja { margin-top: 20px; padding: 14px; border-radius: 16px; background: #0d1010; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.pt-ag__pide { display: flex; align-items: center; min-height: 40px; margin: 0 0 12px; font-size: 14px; color: #e6e9e8; }
.pt-ag__pide i { width: 2px; height: 18px; margin-left: 2px; background: var(--pt-verde); animation: pt-cursor 1s steps(1) infinite; }
@keyframes pt-cursor { 50% { opacity: 0; } }
.pt-ag__fila { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pt-ag__fila--fin { justify-content: flex-end; margin-top: 10px; }
.pt-ag__mas { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-size: 18px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.pt-ag__seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 12.5px; }
.pt-ag__seg > * { padding: 6px 11px; border-radius: 8px; color: #c8cccb; font-weight: 500; }
.pt-ag__seg b { background: #fff; color: #050606; font-weight: 600; }
.pt-ag__seg--suelto { background: none; box-shadow: none; gap: 5px; }
.pt-ag__seg--suelto > * { border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pt-ag__modelo { padding: 7px 12px; border-radius: 10px; font-size: 12.5px; color: #e6e9e8; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pt-ag__enviar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 700; color: #02140f; background: linear-gradient(180deg, #5ff5cf, #14c39a); }
.pt-ag__coste { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; font-size: 12.5px; font-weight: 600; color: var(--pt-oro); }
.pt-ag__coste i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pt-ag__rotulo { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #fff; }
.pt-ag__abanico { position: relative; height: clamp(300px, 26vw, 400px); perspective: 1200px; }
.pt-ag__carta {
  position: absolute; left: 50%; top: 0; width: 56%; aspect-ratio: 9 / 16; max-height: 100%; margin: 0; border-radius: 16px; overflow: hidden; background: #000;
  transform: translateX(calc(-50% + var(--d) * 58%)) translateZ(calc(var(--d) * var(--d) * -140px)) rotateY(calc(var(--d) * -14deg));
  filter: brightness(calc(1 - (var(--d) * var(--d)) * .35)); z-index: calc(5 - var(--d) * var(--d));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -30px #000;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1), filter .7s ease; cursor: pointer;
}
.pt-ag__carta.es-centro { box-shadow: 0 0 0 1.5px rgba(95, 245, 207, .7), 0 30px 70px -26px rgba(20, 195, 154, .6); }
.pt-ag__carta video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pt-ag__carta:not(.es-centro) .pt-ag__play { display: none; }
.pt-ag__carta.es-sonando .pt-anuncio__play { background: #5ff5cf; }
@media (max-width: 1180px) { .pt-agente { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .pt-ag { grid-template-columns: 1fr; }
  .pt-ag__hola { grid-template-columns: 72px minmax(0, 1fr); }
  .pt-ag__avatar { width: 72px; height: 72px; }
}
/* Mascota a su tamaño y la sección en dos pisos: el texto arriba y la app debajo, ancha */
html .pt-ag__avatar .mascota-3d.tk-ag-avatar--grande { width: 100%; height: 100%; box-shadow: none; background: transparent; }
.pt-ag__avatar { width: 112px; height: 112px; }
.pt-ag__hola { grid-template-columns: 112px minmax(0, 1fr); }
.pt-agente { grid-template-columns: 1fr; gap: 40px; }
.pt-agente .pt-video__texto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: end; }
.pt-agente .pt-video__texto .pt-paso { grid-column: 1 / -1; }
.pt-agente .pt-video__texto .pt-h2 { grid-row: 2 / span 2; margin: 0; }
.pt-agente .pt-video__texto .pt-bajada { margin-top: 0; }
.pt-ag { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pt-ag__panel { padding: 34px 32px; }
.pt-ag__titulo { font-size: clamp(24px, 2.4vw, 36px); }
.pt-ag__abanico { height: clamp(340px, 30vw, 440px); }
@media (max-width: 900px) {
  .pt-agente .pt-video__texto { grid-template-columns: 1fr; }
  .pt-agente .pt-video__texto .pt-h2 { grid-row: auto; }
  .pt-ag { grid-template-columns: 1fr; }
}
.pt-ag__titulo mark { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pt-ag__pasos { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.pt-ag__pasos li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.pt-ag__pasos b { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; font: 600 12px/1 var(--pt-mono); color: var(--pt-verde); background: rgba(20, 195, 154, .12); box-shadow: inset 0 0 0 1px rgba(95, 245, 207, .25); }
.pt-ag__pasos span { display: grid; gap: 2px; font-size: 13px; color: var(--pt-ceniza); }
.pt-ag__pasos strong { font-size: 14px; font-weight: 600; color: #fff; }
.pt-ag__carta { width: 50%; transform: translateX(calc(-50% + var(--d) * 64%)) translateZ(calc(var(--d) * var(--d) * -160px)) rotateY(calc(var(--d) * -16deg)); }
.pt-ag__abanico { height: clamp(380px, 34vw, 520px); }
@media (max-width: 720px) {
  .pt-ag__panel { padding: 24px 18px; }
  .pt-ag__hola { grid-template-columns: 1fr; gap: 12px; }
  .pt-ag__abanico { height: 340px; }
  .pt-ag__carta { width: 58%; }
}
