/* Portada pública de KreandoPY (kreandopy.com).

   Identidad: el fondo lila difuminado de la app y de la marca en toda la página,
   letra condensada en mayúsculas y objetos 3D de lo que hacen los creadores
   (cámara, claqueta, drone, celular, edición, diseño, estrella), renderizados de
   verdad. Nada de fotos.

   Fluidez (sobre todo en celular):
   - El logo gira como una secuencia de imágenes dibujada en un canvas: el truco
     de las páginas de producto de Apple; no hay capas 3D que calcular.
   - Los objetos se mueven solo con transform y opacity, escritos por portada.js
     directo en cada elemento (sin variables CSS heredadas, que recalculan todo).
   - Sin desenfoques animados ni backdrop-filter en el celular.
   Letras: Big Shoulders (títulos) y la del sistema / Geist (texto), alojadas acá
   porque la política del servidor no deja cargar fuentes de afuera. */

@font-face { font-family: "Big Shoulders"; src: url("/portada/fonts/big-shoulders.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/portada/fonts/geist.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #07050F;
  --ink: #F5F3FA;
  --ink-2: #C3BDD0;
  --ink-3: #9890AB;
  --lilac: #A78BFA;
  --pale: #E9D5FF;
  --violet: #6E4BE0;
  --deep: #2C1860;
  --card: rgba(255, 255, 255, .06);
  --card-2: rgba(255, 255, 255, .1);
  --line: rgba(255, 255, 255, .12);
  --app: #0B0812;
  --app-2: #15111D;
  --app-3: #1C1726;
  --gold: #FCD34D;
  --ok: #34C759;
  --disp: "Big Shoulders", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 44px);
  --out: cubic-bezier(.23, 1, .32, 1);
  --spring: cubic-bezier(.32, .72, 0, 1);
  --star: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/></svg>");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 64px; scrollbar-color: #2A2142 var(--bg); }
html.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px / 1.5 var(--font); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; touch-action: manipulation; }
svg { display: block; }
::selection { background: var(--lilac); color: #1A0E3A; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
html.is-desktop .only-phone { display: none !important; }
html.is-phone .only-desktop { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--lilac); color: #1A0E3A; font-weight: 700; text-decoration: none; transition: top .2s var(--out); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(940px + var(--gutter) * 2); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- El fondo de la marca: casi negro con lila difuminado ---------- */
.aura { position: fixed; inset: 0; z-index: -1; min-height: 100lvh; overflow: hidden; background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--lilac) 12%, #07060B), #07060B 72%); pointer-events: none; }
.b { position: absolute; border-radius: 50%; will-change: transform; background: radial-gradient(closest-side, rgba(167, 139, 250, .5), rgba(167, 139, 250, 0)); }
.b1 { width: 80vmax; height: 80vmax; left: -28vmax; top: -22vmax; animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 70vmax; height: 70vmax; right: -30vmax; top: 18vh; opacity: .6; background: radial-gradient(closest-side, rgba(224, 130, 240, .45), rgba(224, 130, 240, 0)); animation: drift2 32s ease-in-out infinite alternate; }
.b3 { width: 60vmax; height: 60vmax; left: 12vmax; bottom: -34vmax; opacity: .55; background: radial-gradient(closest-side, rgba(110, 75, 224, .55), rgba(110, 75, 224, 0)); animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(14vmax, 10vmax, 0); } }
@keyframes drift2 { to { transform: translate3d(-12vmax, 14vmax, 0); } }
@keyframes drift3 { to { transform: translate3d(10vmax, -12vmax, 0); } }
html.is-phone .b { animation: none; }
/* En el celular, los objetos de la portada no flotan solos: el navegador tiene menos que animar mientras se baja */
html.is-phone .orb img { animation: none; }

/* ---------- Tipografía ---------- */
.display, .head, .w-text, .fw, .zero-txt, .cat h3, .cf-card h3 { font-family: var(--disp); font-weight: 800; text-transform: uppercase; }
.display { font-size: clamp(54px, 9vw, 132px); line-height: .88; letter-spacing: -.005em; text-wrap: balance; }
.head { font-size: clamp(42px, 6vw, 92px); line-height: .9; letter-spacing: -.005em; text-wrap: balance; }
.sub { margin-top: 18px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; color: var(--ink-2); max-width: 34em; letter-spacing: -.012em; }
.sub.center { margin-inline: auto; }
.grad { background: linear-gradient(100deg, var(--pale), var(--lilac) 55%, #F0ABFC); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: .04em; }
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-s { width: 18px; height: 18px; }
.ico-fill { width: 22px; height: 22px; fill: currentColor; }

/* Logo dibujado */
.mark { position: relative; display: inline-block; flex: none; width: 28px; height: 28px; border-radius: 22%; background: var(--deep); }
.mark-s { width: 32px; height: 32px; border-radius: 9px; }
.m-stem, .m-up, .m-down { position: absolute; display: block; }
.m-stem { left: 28.5%; top: 23.4%; width: 14.85%; height: 53.1%; background: #fff; border-radius: 13% / 3.7%; }
.m-up, .m-down { inset: 0; }
.m-up { background: var(--pale); clip-path: polygon(46.1% 50%, 71.5% 23.4%, 71.5% 39.8%, 61.3% 50%); }
.m-down { background: var(--lilac); clip-path: polygon(46.1% 50%, 61.3% 50%, 71.5% 60.2%, 71.5% 76.6%); }

/* Controles: responden al apretar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 28px; border-radius: 999px; background: linear-gradient(135deg, #D9C8FF, var(--lilac)); color: #1A0E3A; font-weight: 700; font-size: 17px; white-space: nowrap; text-decoration: none; transition: transform 140ms var(--out), filter 200ms ease; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: 2px; color: var(--pale); font-weight: 600; font-size: 17px; text-decoration: none; }
.link { font-size: 14px; text-decoration: none; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn:hover { filter: brightness(1.08); } .more:hover, .link:hover { text-decoration: underline; text-underline-offset: 3px; } }
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 16px; border-radius: 14px; background: #fff; color: #111; cursor: default; }
.store > span { display: flex; flex-direction: column; line-height: 1.05; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.store small { font-size: 13px; font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }
.soon { font-size: 13px; font-weight: 700; color: var(--pale); white-space: nowrap; padding: 7px 12px; border-radius: 999px; background: rgba(167, 139, 250, .18); }

html.motion [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .8s var(--out), translate 1s var(--out); transition-delay: calc(var(--d, 0) * 80ms); }
html.motion [data-reveal].in { opacity: 1; translate: 0 0; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } }

section { position: relative; }

/* ---------- Encabezado ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top); transition: transform .4s var(--spring), background-color .3s ease; }
.top.scrolled { background: rgba(8, 5, 18, .92); }
html.is-desktop .top.scrolled { background: rgba(8, 5, 18, .62); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }
.top.away { transform: translateY(-100%); }
.top-in { display: flex; align-items: center; gap: 24px; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-family: var(--disp); font-weight: 800; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: #fff; } }
.top-act { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav + .top-act { margin-left: 0; }

/* =============== Portada =============== */
.hero { height: 240svh; }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip; }
.hero-stage { position: absolute; inset: 0; contain: layout paint; }
.hero-logo, .hero-glow, .orb { position: absolute; left: 50%; top: calc(50% - 12svh); }
.hero-logo { width: min(60svh, 101vw, 700px); aspect-ratio: 524 / 556; z-index: 2; transform: translate3d(-50%, -50%, 0) scale(.77); will-change: transform; }
.hero-logo canvas { width: 100%; height: 100%; }
.hero-glow { width: min(130vw, 1150px); aspect-ratio: 1; z-index: 0; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(167, 139, 250, .5), rgba(167, 139, 250, .14) 55%, rgba(167, 139, 250, 0)); }
.orb { z-index: 1; will-change: transform; transform: translate(-50%, -50%); }
.orb img { width: 100%; height: auto; animation: bob 7s ease-in-out infinite; }
.o-camara { width: clamp(92px, 17vw, 270px); } .o-claqueta { width: clamp(70px, 12vw, 190px); } .o-drone { width: clamp(100px, 20vw, 310px); }
.o-celular { width: clamp(64px, 11vw, 170px); } .o-diseno { width: clamp(84px, 15vw, 240px); } .o-estrella { width: clamp(64px, 11vw, 170px); }
.o-camara img { animation-delay: -1s; } .o-claqueta img { animation-delay: -3s; animation-duration: 8s; } .o-drone img { animation-delay: -2s; animation-duration: 9s; }
.o-celular img { animation-delay: -4s; animation-duration: 8.5s; } .o-diseno img { animation-delay: -5s; } .o-estrella img { animation-delay: -6s; animation-duration: 7.5s; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: max(5svh, calc(env(safe-area-inset-bottom) + 14px)); z-index: 3; text-align: center; will-change: transform, opacity; }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 7px 16px; border-radius: 999px; background: rgba(167, 139, 250, .16); color: var(--pale); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.hero-sub { margin: 18px auto 0; max-width: 30em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.4; color: var(--ink-2); }
.hero-copy .store { margin-top: 22px; }
.phone-note { margin: 12px auto 0; max-width: 24em; font-size: 14px; color: var(--ink-3); }
html.motion .hero-copy > * { animation: fadeup 1s var(--out) backwards; }
/* Celular: el zoom del logo y el desvanecido corren en el navegador (con el scroll), sin JavaScript por cuadro */
html.is-phone .hero-logo { transform: none; translate: -50% -50%; scale: .9; will-change: auto; }
@keyframes hero-zoom { from { scale: .77; } to { scale: 1; } }
@keyframes hero-copy { to { translate: 0 -80px; opacity: 0; } }
@keyframes hero-orb { to { opacity: 0; } }
@supports (animation-timeline: scroll()) {
  html.is-phone.motion .hero-logo { animation: hero-zoom linear both; animation-timeline: scroll(root); animation-range: 0 120svh; }
  html.is-phone.motion .hero-copy { animation: hero-copy linear both; animation-timeline: scroll(root); animation-range: 0 50svh; }
  html.is-phone.motion .orb { animation: hero-orb linear both; animation-timeline: scroll(root); animation-range: 50svh 110svh; }
}
html.motion .hero-copy > :nth-child(2) { animation-delay: .08s; } html.motion .hero-copy > :nth-child(3) { animation-delay: .18s; } html.motion .hero-copy > :nth-child(n+4) { animation-delay: .26s; }
html.motion .hero-logo { animation: logo-in 1.2s var(--out) .1s backwards; }
@keyframes logo-in { from { opacity: 0; } }
.hero-copy .display { font-size: clamp(52px, 8.2vw, 124px); }

/* =============== La frase que se enciende =============== */
.words { padding: clamp(110px, 16vh, 190px) 0 clamp(100px, 14vh, 170px); }
.words .head { font-size: clamp(26px, 3.2vw, 46px); line-height: 1; color: var(--lilac); }
.w-text { margin-top: .5em; font-size: clamp(34px, 5.4vw, 84px); line-height: .98; letter-spacing: -.003em; perspective: 900px; }
.w-text .w { display: inline-block; opacity: .16; transform: translateY(.3em) rotateX(-55deg); transform-origin: 50% 100%; transition: opacity .55s ease, transform .75s var(--out); }
.w-text .w.on { opacity: 1; transform: none; }
html.rm .w-text .w { opacity: 1; transform: none; }

/* =============== Palabras en 3D hacia la pantalla =============== */
.fly { height: 320svh; }
.fly-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip; display: grid; place-items: center; }
.fly-stage { position: absolute; inset: 0; perspective: 1000px; transform-style: preserve-3d; }
.fw { position: absolute; left: 50%; top: 50%; white-space: nowrap; opacity: 0; will-change: transform, opacity; font-size: clamp(60px, 8vw, 132px); line-height: 1; letter-spacing: -.01em; color: #fff;
  text-shadow: 0.012em 0.012em 0 rgb(140,104,246), 0.024em 0.024em 0 rgb(132,98,234), 0.036em 0.036em 0 rgb(125,91,223), 0.048em 0.048em 0 rgb(117,85,211), 0.060em 0.060em 0 rgb(109,78,200), 0.072em 0.072em 0 rgb(102,72,188), 0.084em 0.084em 0 rgb(94,65,177), 0.096em 0.096em 0 rgb(86,59,165), 0.108em 0.108em 0 rgb(78,52,154), 0.120em 0.120em 0 rgb(71,46,142), 0.132em 0.132em 0 rgb(63,39,131), 0.144em 0.144em 0 rgb(55,33,119), 0.156em 0.156em 0 rgb(48,26,108), 0.168em 0.168em 0 rgb(40,20,96); }
.fly-copy { position: relative; z-index: 2; pointer-events: none; }
.fly .display { max-width: 11em; margin: 0 auto; text-shadow: 0 6px 40px rgba(7, 5, 15, .8); }
html.rm .fly { height: auto; } html.rm .fly-pin { position: relative; height: auto; min-height: 100svh; padding: 120px 0; } html.rm .fw { display: none; }

/* =============== Dos lados =============== */
.sides { padding: clamp(110px, 14vh, 170px) 0; overflow: hidden; overflow: clip; }
.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(440px, 100%); margin: 36px auto 0; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.segmented button { position: relative; z-index: 1; height: 46px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700; font-size: 16px; color: var(--ink-2); transition: color .25s ease, transform 140ms var(--out); }
.segmented button[aria-selected="true"] { color: #1A0E3A; }
.segmented button:active { transform: scale(.97); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(135deg, #E3D6FF, var(--lilac)); transition: transform .5s var(--spring); }
.sides[data-side="cliente"] .seg-thumb { transform: translateX(100%); }
.sides-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 64px; }
.side-list h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.02em; }
.side-list ul { margin-top: 16px; display: grid; gap: 2px; }
.side-list li { padding: 12px 0; color: var(--ink-2); font-size: 18px; line-height: 1.42; }
.side-list li b { color: #fff; font-weight: 650; }
html.js .sides[data-side="creador"] .side-list[data-for="cliente"], html.js .sides[data-side="cliente"] .side-list[data-for="creador"] { display: none; }
html.js.motion .side-list li { animation: fadeup .6s var(--out) backwards; }
html.js.motion .side-list li:nth-child(2) { animation-delay: .05s; } html.js.motion .side-list li:nth-child(3) { animation-delay: .1s; } html.js.motion .side-list li:nth-child(4) { animation-delay: .15s; } html.js.motion .side-list li:nth-child(5) { animation-delay: .2s; }
.side-stage { position: relative; height: 680px; display: flex; align-items: center; justify-content: center; perspective: 1600px; }
.side-glow { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(167, 139, 250, .42), rgba(167, 139, 250, 0)); }
.side-phone { position: relative; flex: none; transform-style: preserve-3d; --turn: 0deg; transform: rotateY(calc(-14deg + var(--turn))); transition: transform 1.1s var(--spring); will-change: transform; }
.sfl { position: absolute; left: 50%; top: 50%; z-index: 3; opacity: 0; pointer-events: none; transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(.6); transition: opacity .4s ease, transform .9s var(--spring); height: auto; }
.sides[data-side="creador"] .sfl[data-for="creador"], .sides[data-side="cliente"] .sfl[data-for="cliente"] { opacity: 1; transition-delay: .3s; transform: translate(-50%, -50%) translate3d(var(--fx), var(--fy), 0) scale(1); }
.c1 { width: 200px; --fx: -300px; --fy: -190px; } .c2 { width: 150px; --fx: 250px; --fy: 170px; }
.k1 { width: 140px; --fx: 250px; --fy: -170px; } .k2 { width: 250px; --fx: -255px; --fy: 170px; }

/* iPhone de ejemplo */
.iphone { --w: 280px; --h: 580px; --d: 22px; --rad: 50px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; }
.iphone::before, .iphone::after { content: ""; position: absolute; inset: 0; border-radius: var(--rad); background: #4A4458; }
.iphone::before { transform: translateZ(calc(var(--d) * .25)); } .iphone::after { transform: translateZ(calc(var(--d) * -.25)); }
.ip-front, .ip-back { position: absolute; inset: 0; border-radius: var(--rad); }
.ip-front { transform: translateZ(calc(var(--d) / 2)); background: #050407; box-shadow: inset 0 0 0 1.5px #8E88A0, inset 0 0 0 3.5px #1C1924, inset 0 0 0 9px #050407; }
.ip-back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: #3A2A5C; box-shadow: inset 0 0 0 1.5px #8E88A0; display: grid; place-items: center; }
.ip-logo { width: 64px; height: 64px; }
.ip-edge { position: absolute; display: block; width: var(--d); height: calc(var(--h) - var(--rad) * 1.15); top: calc(var(--rad) * .575); left: calc(50% - var(--d) / 2); background: linear-gradient(90deg, #4A4458, #B5B0C2 45%, #E8E5EF 50%, #B5B0C2 55%, #4A4458); }
.ip-l { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); } .ip-r { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.ip-island { position: absolute; z-index: 5; top: 19px; left: 50%; width: 86px; height: 25px; margin-left: -43px; border-radius: 20px; background: #000; }
.ip-screen { position: absolute; inset: 9px; border-radius: calc(var(--rad) - 9px); overflow: hidden; background: var(--app); }
.ip-screen::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 32%); }

.ui { position: absolute; inset: 0; padding: 50px 14px 14px; display: flex; flex-direction: column; gap: 10px; font: 400 11px / 1.35 var(--font); letter-spacing: 0; color: var(--ink); text-align: left; background: var(--app); transition: opacity .35s ease; }
.ui b { font-weight: 700; } .ui small { display: block; color: #9890AB; font-size: 10px; }
.scr-cliente { opacity: 0; } .sides[data-side="cliente"] .scr-cliente { opacity: 1; } .sides[data-side="cliente"] .scr-creador { opacity: 0; }
.ui-h { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.ui-search { height: 32px; display: flex; align-items: center; padding: 0 11px; border-radius: 10px; background: var(--app-3); color: #9890AB; font-size: 10.5px; }
.chips { display: flex; gap: 5px; overflow: hidden; } .chips.wrapc { flex-wrap: wrap; }
.chips span { flex: none; padding: 5px 9px; border-radius: 999px; background: var(--app-3); color: #C3BDD0; font-size: 10px; white-space: nowrap; }
.chips .on { background: var(--lilac); color: #1A0E3A; font-weight: 700; }
.pf-cover { position: relative; height: 128px; margin: -50px -14px 0; flex: none; overflow: hidden; }
.pf-cover img { width: 100%; height: 100%; object-fit: cover; }
.pf-head { display: flex; align-items: flex-end; gap: 10px; margin-top: -26px; position: relative; }
.pf-head b { font-size: 14px; }
.av { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #1A0E3A; box-shadow: 0 0 0 3px var(--app); }
.av-a { background: linear-gradient(135deg, #F5E8FF, var(--lilac)); }
.ok { position: relative; display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: var(--lilac); vertical-align: -2px; }
.ok::after { content: ""; position: absolute; left: 4.5px; top: 2.5px; width: 3px; height: 6px; border: solid #1A0E3A; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pf-stats div { padding: 7px 4px; border-radius: 10px; text-align: center; background: var(--app-2); }
.pf-stats b { display: block; font-size: 11px; white-space: nowrap; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.pf-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.ui-btn { margin-top: auto; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #1A0E3A; background: linear-gradient(135deg, #E3D6FF, var(--lilac)); }
.res { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--app-2); }
.res img { flex: none; width: 46px; height: 46px; border-radius: 9px; object-fit: cover; }
.res > div { flex: 1; min-width: 0; display: grid; } .res b { font-size: 11.5px; }
.rate { display: inline-flex; align-items: center; gap: 3px; margin-top: 2px; font-size: 10px; font-weight: 700; color: var(--gold); }
.rate::before { content: ""; width: 10px; height: 10px; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
.stars { display: inline-block; width: 82px; height: 15px; background: var(--gold); -webkit-mask: var(--star) 0 0 / 16.4px 15px repeat-x; mask: var(--star) 0 0 / 16.4px 15px repeat-x; }
.stars.sm { width: 60px; height: 11px; -webkit-mask-size: 12px 11px; mask-size: 12px 11px; }

/* =============== Cómo funciona =============== */
.steps { padding: clamp(110px, 14vh, 160px) 0 clamp(90px, 12vh, 130px); overflow: hidden; overflow: clip; }
.steps .sub { margin-top: 14px; }
.cf { --cw: min(420px, 80vw); display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 56px calc(50% - var(--cw) / 2) 36px; perspective: 1400px; }
.cf::-webkit-scrollbar { display: none; }
.cf-card { flex: 0 0 var(--cw); scroll-snap-align: center; padding: 20px 20px 28px; border-radius: 30px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); will-change: transform; }
.cf-card h3 { margin-top: 22px; font-size: 40px; line-height: .95; letter-spacing: 0; }
.cf-card p { margin-top: 8px; color: var(--ink-2); }
.cf-vis { position: relative; height: 250px; border-radius: 20px; overflow: hidden; background: var(--app); }
.cf-vis > img { width: 100%; height: 100%; object-fit: cover; }
.cf-chip { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(11, 8, 18, .86); font-size: 14px; }
.cf-chip b { display: block; font-size: 16px; } .cf-chip small { display: block; color: #C3BDD0; font-size: 13px; } .cf-chip span { display: block; margin-top: 2px; font-weight: 700; color: var(--lilac); }
.cf-ui { padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; font: 400 14px / 1.35 var(--font); letter-spacing: 0; }
.cf-nav { display: flex; justify-content: center; gap: 12px; }
.round { width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; transition: transform 140ms var(--out), background-color .2s ease, opacity .2s ease; }
.round:active { transform: scale(.94); } .round:disabled { opacity: .3; cursor: default; }
@media (hover: hover) and (pointer: fine) { .round:not(:disabled):hover { background: rgba(255, 255, 255, .24); } }
.note { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 20px; background: rgba(255, 255, 255, .95); color: #1D1D1F; font-size: 14px; line-height: 1.3; text-align: left; }
.note b { display: block; font-weight: 700; font-size: 14px; } .note small { display: block; color: #6E6E73; font-size: 13px; }
.pd { display: grid; gap: 3px; padding: 14px; border-radius: 14px; background: var(--app-3); }
.pd b { font-size: 15px; } .pd small { color: #9890AB; font-size: 13px; } .pd span { margin-top: 4px; color: #C3BDD0; font-size: 13px; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 18px; font-size: 14px; line-height: 1.3; }
.msg.in { align-self: flex-start; background: var(--app-3); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--lilac); color: #1A0E3A; font-weight: 600; border-bottom-right-radius: 5px; }
.deal { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; background: var(--app-3); } .deal b { font-size: 14px; } .deal small { color: #9890AB; font-size: 12.5px; }
.tl { display: flex; gap: 4px; margin-top: 8px; }
.tl span { flex: 1; padding-top: 7px; text-align: center; font-size: 12px; color: #9890AB; box-shadow: inset 0 3px 0 #2A2238; }
.tl .done { color: #C3BDD0; box-shadow: inset 0 3px 0 var(--lilac); }
.rv-big { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; } .rv-big b { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.rv-row { display: grid; gap: 6px; font-size: 13px; color: #C3BDD0; }
.rv-row i { position: relative; display: block; height: 6px; border-radius: 3px; background: #2A2238; overflow: hidden; }
.rv-row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--lilac); }

/* =============== Especialidades: anillo 3D =============== */
.cats { height: 420svh; }
.cats-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; overflow: clip; display: flex; flex-direction: column; justify-content: center; padding-top: 52px; }
.ring-wrap { --R: 500px; position: relative; height: min(520px, 56svh); margin-top: 30px; perspective: 1900px; }
.ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--R) * -1)) rotateX(-6deg); will-change: transform; }
.cat { position: absolute; left: -150px; top: -230px; width: 300px; height: 460px; padding: 12px 12px 18px; border-radius: 28px; background: rgba(28, 20, 50, .88); border: 1px solid var(--line); -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: rotateY(calc(var(--a) * 1deg)) translateZ(var(--R)); }
.cat img { width: 100%; height: 230px; object-fit: cover; border-radius: 18px; }
.cat h3 { margin-top: 14px; padding: 0 6px; font-size: 34px; line-height: .95; letter-spacing: 0; }
.cat p { margin-top: 6px; padding: 0 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.cat-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.cat-pills li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .09); color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background-color .35s ease, color .35s ease; }
.cats[data-front="0"] [data-c="0"], .cats[data-front="1"] [data-c="1"], .cats[data-front="2"] [data-c="2"], .cats[data-front="3"] [data-c="3"], .cats[data-front="4"] [data-c="4"], .cats[data-front="5"] [data-c="5"], .cats[data-front="6"] [data-c="6"] { background: linear-gradient(135deg, #E3D6FF, var(--lilac)); color: #1A0E3A; }
html.rm .cats { height: auto; } html.rm .cats-pin { position: relative; height: auto; padding: 100px 0; }
html.rm .ring-wrap { height: auto; perspective: none; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 40px auto 0; padding: 0 var(--gutter); }
html.rm .ring { position: static; width: auto; height: auto; transform: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
html.rm .cat { position: relative; left: auto; top: auto; width: auto; height: auto; transform: none; opacity: 1 !important; } html.rm .cat-pills { display: none; }

/* =============== Funciones =============== */
.bento-sec { padding: clamp(110px, 14vh, 160px) 0; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.tile { grid-column: span 2; min-height: 380px; padding: 30px; border-radius: 30px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.t-chat { grid-column: span 4; } .t-notes { grid-column: span 2; } .t-rev { grid-column: span 4; }
.t-copy h3 { font-size: 38px; line-height: .95; font-family: var(--disp); font-weight: 800; text-transform: uppercase; }
.t-copy p { margin-top: 8px; color: var(--ink-2); }
.t-vis { margin-top: auto; font: 400 14px / 1.35 var(--font); letter-spacing: 0; }
.chat { display: flex; flex-direction: column; gap: 8px; }
html.motion .chat .msg { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--out), transform .6s var(--spring); }
html.motion .tile.in .chat .msg { opacity: 1; transform: none; }
html.motion .tile.in .chat .msg:nth-child(2) { transition-delay: .7s; } html.motion .tile.in .chat .msg:nth-child(3) { transition-delay: 1.4s; } html.motion .tile.in .chat .msg:nth-child(4) { transition-delay: 2.1s; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 11px 14px; border-radius: 18px; background: var(--app-3); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9890AB; animation: blink 1.2s ease-in-out infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.notes { position: relative; height: 200px; }
.notes .note { position: absolute; left: 0; right: 0; top: 0; transition: transform .9s var(--spring), opacity .6s ease; }
.notes .n1 { z-index: 3; } .notes .n2 { z-index: 2; transform: translateY(12px) scale(.94); opacity: .8; } .notes .n3 { z-index: 1; transform: translateY(24px) scale(.88); opacity: .6; }
html.motion .tile.in .notes .n2 { transform: translateY(70px); opacity: 1; transition-delay: .3s; } html.motion .tile.in .notes .n3 { transform: translateY(140px); opacity: 1; transition-delay: .5s; }
html.rm .notes .n2, html:not(.js) .notes .n2 { transform: translateY(70px); opacity: 1; } html.rm .notes .n3, html:not(.js) .notes .n3 { transform: translateY(140px); opacity: 1; }
.states { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.states span { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--ink-2); font-weight: 600; transition: background-color .5s ease, color .5s ease; }
.tile.in .states span, html.rm .states span { background: linear-gradient(135deg, #E3D6FF, var(--lilac)); color: #1A0E3A; }
.tile.in .states span:nth-child(2) { transition-delay: .5s; } .tile.in .states span:nth-child(3) { transition-delay: 1s; } .tile.in .states span:nth-child(4) { transition-delay: 1.5s; }
.blind { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rv-card { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); transition: opacity .8s ease 1.1s; }
.rv-card small { color: var(--ink-2); font-size: 14px; }
html.motion .blind .rv-card { opacity: .25; } html.motion .tile.in .blind .rv-card { opacity: 1; }

/* =============== 0 % de comisión =============== */
.zero { padding: clamp(110px, 14vh, 170px) 0; overflow: hidden; overflow: clip; }
.zero-3d { position: relative; height: clamp(260px, 34vw, 460px); display: flex; align-items: center; justify-content: center; perspective: 1100px; }
.zero-3d::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(120vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(167, 139, 250, .42), rgba(167, 139, 250, 0)); }
.zero-rot { position: relative; will-change: transform; transform: rotateY(-18deg) rotateX(8deg); }
.zero-txt { display: block; padding: 0 .06em .04em 0; font-size: clamp(190px, 30vw, 420px); line-height: .86; letter-spacing: -.02em; color: #fff;
  text-shadow: 0.0085em 0.0085em 0 rgb(150,112,250), 0.0170em 0.0170em 0 rgb(142,106,240), 0.0255em 0.0255em 0 rgb(135,99,230), 0.0340em 0.0340em 0 rgb(127,93,220), 0.0425em 0.0425em 0 rgb(120,86,209), 0.0510em 0.0510em 0 rgb(112,80,199), 0.0595em 0.0595em 0 rgb(105,73,189), 0.0680em 0.0680em 0 rgb(97,67,179), 0.0765em 0.0765em 0 rgb(90,60,169), 0.0850em 0.0850em 0 rgb(82,54,159), 0.0935em 0.0935em 0 rgb(75,47,148), 0.1020em 0.1020em 0 rgb(67,41,138), 0.1105em 0.1105em 0 rgb(60,34,128), 0.1190em 0.1190em 0 rgb(52,28,118); }
.coin { position: absolute; left: 50%; top: 50%; padding: 12px 18px; border-radius: 999px; background: #fff; color: #1A0E3A; font-weight: 700; font-size: 17px; white-space: nowrap; margin: calc(var(--a) * 70px) 0 0 calc(var(--a) * min(36vw, 420px)); transform: translate(-50%, -50%); animation: bob 6s ease-in-out infinite; }
.coin:nth-of-type(2) { animation-delay: -3s; }
.zero .head { margin-top: 24px; }

/* =============== Confianza =============== */
.safe { padding: clamp(100px, 13vh, 150px) 0; }
.safe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; margin-top: 52px; }
.safe-grid li { display: grid; gap: 6px; align-content: start; }
.safe-grid .ico { width: 34px; height: 34px; color: var(--lilac); margin-bottom: 8px; }
.safe-grid b { font-size: 19px; font-weight: 650; letter-spacing: -.02em; } .safe-grid span { color: var(--ink-2); }

/* =============== Paraguay =============== */
.py { padding: clamp(100px, 13vh, 150px) 0 clamp(40px, 6vh, 70px); overflow: hidden; overflow: clip; }
.road { position: relative; height: 300px; margin-top: 30px; -webkit-mask-image: radial-gradient(ellipse 62% 72% at 50% 50%, #000 38%, transparent 100%); mask-image: radial-gradient(ellipse 62% 72% at 50% 50%, #000 38%, transparent 100%); }
.lanes { position: absolute; left: -20%; right: -20%; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.lane { white-space: nowrap; overflow: hidden; }
.track { display: inline-flex; animation: marquee 60s linear infinite; will-change: transform; }
.l2 .track { animation-direction: reverse; animation-duration: 72s; }
.track span { padding: 0 26px; font-family: var(--disp); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 6vw, 88px); line-height: 1.1; color: rgba(255, 255, 255, .22); }
.l1 .track span:nth-child(5n+1), .l2 .track span:nth-child(5n+3) { color: var(--lilac); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============== Preguntas =============== */
.faq { padding: clamp(100px, 13vh, 150px) 0; }
.faq-list { margin-top: 40px; }
.faq details { margin: 0 -24px; padding: 0 24px; border-radius: 20px; transition: background-color .3s ease; }
.faq details[open] { background: rgba(255, 255, 255, .07); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }
.faq details a { color: var(--lilac); }
html.motion .faq details[open] p { animation: fadeup .45s var(--out); }

/* =============== Cierre y pie =============== */
.close { padding: clamp(80px, 11vh, 120px) 0 clamp(110px, 14vh, 160px); text-align: center; overflow: hidden; overflow: clip; }
.close-logo { width: clamp(180px, 24vw, 300px); height: auto; margin: 0 auto 6px; }
.close-act { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 34px; }
.foot { padding: 28px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--ink-3); background: rgba(5, 3, 12, .6); }
.foot-note { padding-bottom: 16px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; } .foot-links a { color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover { text-decoration: underline; } }

/* =============== Tablet y pantallas medianas =============== */
@media (max-width: 1060px) { .nav { display: none; } .top-act { margin-left: auto; } }
@media (min-width: 761px) and (max-height: 820px) { .side-phone { scale: .86; } }
@media (max-width: 860px) {
  .sides-in { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 40px; }
  .side-copy { max-width: 560px; margin: 0 auto; width: 100%; }
  .side-stage { height: 580px; order: -1; }
  .c1 { --fx: -210px; --fy: -190px; } .c2 { --fx: 210px; --fy: 180px; } .k1 { --fx: 210px; --fy: -200px; } .k2 { --fx: -200px; --fy: 190px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .tile, .t-chat, .t-notes, .t-rev { grid-column: span 2; min-height: 0; }
  .safe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ring-wrap { --R: 330px; }
}

/* =============== Celular: el mismo diseño, acomodado y liviano =============== */
@media (max-width: 560px) {
  .top-in { height: 52px; gap: 12px; } .brand-name { font-size: 22px; } .soon { font-size: 12.5px; padding: 6px 11px; }
  .hero { height: 220svh; }
  .hero-logo, .hero-glow, .orb { top: calc(50% - 15svh); }
  .hero-logo { width: min(44svh, 86vw); }
  .hero-copy .display { font-size: clamp(46px, 14.4vw, 62px); line-height: .9; }
  .eyebrow { display: none; }
  .hero-sub { font-size: 16px; margin-top: 12px; }
  .hero-copy .store { margin-top: 16px; height: 50px; }
  .phone-note { font-size: 13px; margin-top: 10px; }
  .eyebrow { margin-bottom: 10px; padding: 6px 14px; font-size: 13px; }
  .o-camara { width: 25vw; } .o-claqueta { width: 17vw; } .o-drone { width: 29vw; } .o-celular { width: 16vw; } .o-diseno { width: 23vw; } .o-estrella { width: 16vw; }
  .words { padding: 100px 0 90px; } .w-text { font-size: clamp(34px, 10.6vw, 46px); }
  .fly { height: 290svh; } .fw { font-size: 17vw; } .fly .display { font-size: clamp(46px, 14vw, 60px); }
  .sides { padding: 90px 0; } .segmented button { font-size: 15px; } .side-list li { font-size: 17px; padding: 10px 0; }
  .side-stage { height: 470px; } .side-phone { scale: .76; }
  .c1 { width: 104px; --fx: -118px; --fy: -222px; } .c2 { width: 70px; --fx: 128px; --fy: 224px; } .k1 { width: 70px; --fx: 128px; --fy: -222px; } .k2 { width: 120px; --fx: -112px; --fy: 170px; }
  .cf { --cw: 82vw; gap: 14px; padding-top: 40px; } .cf-card { padding: 16px 16px 22px; border-radius: 26px; } .cf-vis { height: 230px; } .cf-card h3 { font-size: 36px; }
  .cats { height: 400svh; }
  .ring-wrap { --R: 250px; height: min(430px, 56svh); margin-top: 18px; }
  .cat { left: -112px; top: -180px; width: 224px; height: 360px; padding: 10px 10px 16px; } .cat img { height: 160px; } .cat h3 { font-size: 30px; }
  .bento { margin-top: 36px; } .tile { padding: 24px; border-radius: 26px; } .t-copy h3 { font-size: 34px; } .blind { grid-template-columns: 1fr; }
  .zero-txt { font-size: 40vw; } .zero-3d { height: 250px; } .coin { font-size: 13px; padding: 8px 12px; margin: calc(var(--a) * 56px) 0 0 calc(var(--a) * 34vw); }
  .safe-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } .road { height: 230px; }
  .faq summary { font-size: 18px; padding: 18px 0; } .faq details { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); border-radius: 0; }
  .close-logo { width: 160px; } .close .display { font-size: calc((100vw - 44px) / 7.9); margin-top: 6px; }
  .foot-row { flex-direction: column; }
}
@media (max-width: 560px) and (max-height: 700px) { .hero-logo { width: min(38svh, 80vw); } .side-phone { scale: .66; } .side-stage { height: 420px; } }

/* =============== Reducir movimiento: todo quieto y legible =============== */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
html.rm .hero { height: auto; } html.rm .hero-pin { position: relative; height: auto; min-height: 100svh; }
