/* ==========================================================================
   Flujo TV — v3 · noche neón, 3D y naranja
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #170D15;
  --bg-2: #211220;
  --surface: rgba(40, 22, 36, .72);
  --surface-solid: #26161F;
  --raise: #321C2B;
  --dark: #0E070C;
  --text: #FFF1E4;
  --text-2: #D9C4B6;
  --muted: #A99383;
  --line: rgba(255, 140, 50, .5);
  --line-soft: rgba(255, 140, 50, .22);
  --o: #FF6A00;
  --o2: #FF8A2B;
  --o3: #FFB067;
  --o4: #FFD9B3;
  --pink: #FF3D7F;
  --pink-2: #FF8DB5;
  --green: #3DFFA0;
  --grad: linear-gradient(135deg, #FF4D00 0%, #FF8A2B 50%, #FFB067 100%);
  --grad-neon: linear-gradient(90deg, #FF6A00, #FF3D7F);
  --neon: 0 0 4px rgba(255, 220, 190, .9), 0 0 12px rgba(255, 138, 43, .9), 0 0 28px rgba(255, 106, 0, .7), 0 0 56px rgba(255, 80, 0, .45);
  --neon-pink: 0 0 4px rgba(255, 210, 225, .9), 0 0 12px rgba(255, 61, 127, .9), 0 0 30px rgba(255, 61, 127, .6);
  --glow: 0 0 0 1px rgba(255, 138, 43, .18), 0 0 22px rgba(255, 106, 0, .22), inset 0 0 18px rgba(255, 106, 0, .06);
  --glow-strong: 0 0 0 1px rgba(255, 138, 43, .5), 0 0 34px rgba(255, 106, 0, .5), inset 0 0 22px rgba(255, 106, 0, .14);
  --glow-pink: 0 0 0 1px rgba(255, 61, 127, .35), 0 0 26px rgba(255, 61, 127, .35);
  --drop: 6px 6px 0 rgba(0, 0, 0, .55);
  --r: 26px;
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1220px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--bg); overflow-x: hidden; }
body {
  margin: 0; color: var(--text-2); font-family: var(--f-body); font-size: 1rem; line-height: 1.65;
  background: transparent; overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(255, 106, 0, .26), transparent 60%),
    radial-gradient(800px 600px at -10% 45%, rgba(255, 61, 127, .16), transparent 60%),
    radial-gradient(900px 700px at 110% 100%, rgba(255, 138, 43, .14), transparent 60%),
    radial-gradient(rgba(255, 170, 110, .09) 1px, transparent 1.3px) 0 0 / 24px 24px,
    linear-gradient(180deg, #1B0F19 0%, #170D15 50%, #12090F 100%);
}
body::after { content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--text); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong, b { color: var(--text); }
:focus-visible { outline: 3px solid var(--o3); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--pink); color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 24px; height: 24px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -70px; z-index: 200; background: var(--o); color: var(--dark); padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 14px; }

/* Barra de progreso y brillo del cursor */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 160; background: var(--grad-neon); box-shadow: 0 0 12px rgba(255, 61, 127, .9), 0 0 24px rgba(255, 106, 0, .7); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.cursor-glow { position: fixed; left: 0; top: 0; z-index: 1; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 106, 0, .2), rgba(255, 61, 127, .06) 60%, transparent); mix-blend-mode: screen; opacity: 0; transition: opacity .4s; }
.has-cursor .cursor-glow { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* Parpadeo de letrero neón (suave, sin destellos rápidos) */
@keyframes flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .55; } }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--grad); --b-fg: #1A0905; --b-br: var(--o3); --b-sh: #7A2400; --b-gl: rgba(255, 106, 0, .55);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 13px 24px; border-radius: 16px; border: 1.5px solid var(--b-br);
  background: var(--b-bg); color: var(--b-fg); text-decoration: none; text-align: center;
  font-family: var(--f-body); font-weight: 800; font-size: 1rem; line-height: 1.2;
  box-shadow: 0 6px 0 var(--b-sh), 0 0 24px var(--b-gl);
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--b-sh), 0 0 38px var(--b-gl); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--b-sh), 0 0 14px var(--b-gl); }
.btn .ic { width: 20px; height: 20px; }
.btn-dark { --b-bg: rgba(14, 7, 12, .85); --b-fg: var(--text); --b-br: var(--o2); --b-sh: #000; --b-gl: rgba(255, 106, 0, .35); }
.btn-ghost { --b-bg: rgba(24, 12, 20, .88); --b-fg: var(--text); --b-br: var(--o2); --b-sh: #000; --b-gl: rgba(255, 106, 0, .3); }
.btn-wa .ic { color: #3BEA85; filter: drop-shadow(0 0 6px rgba(59, 234, 133, .8)); }
.btn:not(.btn-dark):not(.btn-ghost).btn-wa .ic { color: #0B5A2E; filter: none; }
.btn-sm { min-height: 46px; padding: 9px 16px; font-size: .95rem; border-radius: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--o3); text-decoration: none; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; text-shadow: 0 0 12px rgba(255, 138, 43, .8); }
.link-arrow:hover .ic { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 100; padding: 0 12px; pointer-events: none; }
.nav-shell {
  pointer-events: auto; position: relative; max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 8px 8px 14px;
  background: rgba(20, 10, 18, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1.5px solid var(--line); border-radius: 20px; box-shadow: var(--glow), 0 10px 30px rgba(0, 0, 0, .4);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; perspective: 300px; }
.brand svg { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(255, 106, 0, .7)); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.brand:hover svg { transform: rotateY(360deg); }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; color: var(--text); }
.brand-name span { color: var(--o4); text-shadow: var(--neon); }
.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--o3); background: var(--grad); color: #1A0905; box-shadow: 0 4px 0 #7A2400, 0 0 18px rgba(255, 106, 0, .5); }
.nav-toggle:active { transform: translateY(4px); box-shadow: 0 0 12px rgba(255, 106, 0, .5); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-menu { display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0; background: rgba(22, 11, 19, .96); border: 1.5px solid var(--line); border-radius: 22px; box-shadow: var(--glow-strong); padding: 12px; max-height: calc(100vh - 120px); overflow-y: auto; transform-origin: top center; }
.nav-open .nav-menu { display: block; animation: menuIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes menuIn { from { opacity: 0; transform: perspective(800px) rotateX(-25deg) translateY(-10px); } }
.nav-list { list-style: none; display: grid; gap: 2px; }
.nav-list a, .sub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1rem; text-align: left; transition: color .2s, text-shadow .2s, background .2s; }
.nav-list a:hover, .sub-toggle:hover { color: var(--o4); text-shadow: 0 0 10px rgba(255, 138, 43, .9); background: rgba(255, 106, 0, .08); }
.nav-list a[aria-current="page"] { color: var(--o4); border-color: var(--line); background: rgba(255, 106, 0, .12); text-shadow: 0 0 10px rgba(255, 138, 43, .8); }
.sub-toggle .ic { width: 18px; height: 18px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.sub-menu { list-style: none; display: none; padding: 4px 0 6px 12px; }
.sub-toggle[aria-expanded="true"] + .sub-menu { display: grid; }
.sub-menu a { font-weight: 600; color: var(--text-2); }
.nav-menu .btn { margin-top: 10px; width: 100%; }
@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex !important; align-items: center; gap: 6px; position: static; background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; max-height: none; animation: none !important; }
  .nav-list { display: flex; }
  .nav-list > li { position: relative; }
  .nav-list a, .sub-toggle { min-height: 44px; padding: 8px 12px; font-size: .93rem; gap: 4px; }
  .sub-menu { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 280px; padding: 8px; background: rgba(22, 11, 19, .97); border: 1.5px solid var(--line); border-radius: 18px; box-shadow: var(--glow-strong); }
  .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: grid; animation: menuIn .3s cubic-bezier(.2,.8,.2,1); }
  .nav-menu .btn { margin: 0 0 0 6px; width: auto; }
}

/* ---------- Secciones ---------- */
.section { position: relative; padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } }
.sec-head { display: grid; gap: 6px 28px; align-items: end; margin-bottom: 52px; }
@media (min-width: 760px) { .sec-head { grid-template-columns: auto 1fr; } }
.sec-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sec-head > div { max-width: 780px; }
.sec-num {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(4.2rem, 13vw, 9.5rem); line-height: .82; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 2px var(--o3);
  text-shadow: 0 0 10px rgba(255, 138, 43, .55), 0 0 30px rgba(255, 106, 0, .35);
  transform: perspective(700px) rotateY(26deg) rotateX(6deg); transform-origin: left center;
  animation: numSwing 7s ease-in-out infinite; user-select: none;
}
.sec-head.center .sec-num, .faq-side .sec-num { -webkit-text-stroke-color: var(--pink-2); text-shadow: 0 0 10px rgba(255, 61, 127, .6), 0 0 30px rgba(255, 61, 127, .35); }
@keyframes numSwing { 50% { transform: perspective(700px) rotateY(-14deg) rotateX(-4deg); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 61, 127, .1); border: 1px solid rgba(255, 61, 127, .6); color: var(--pink-2);
  font-family: var(--f-display); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 61, 127, .8); box-shadow: 0 0 16px rgba(255, 61, 127, .25), inset 0 0 10px rgba(255, 61, 127, .12);
  transform: rotate(-2deg);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.h2 { font-size: clamp(1.75rem, 4.6vw, 3.3rem); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--text-2); margin-top: 6px; }
.hl { color: var(--o4); text-shadow: var(--neon); animation: flicker 7s linear infinite; }
.code-inline { font-family: var(--f-display); font-weight: 700; font-size: .9em; color: var(--o4); background: rgba(255, 106, 0, .12); padding: 2px 9px; border: 1.5px solid var(--o2); border-radius: 9px; white-space: nowrap; text-shadow: 0 0 10px rgba(255, 138, 43, .8); box-shadow: 0 0 12px rgba(255, 106, 0, .3); }
.mark { background: linear-gradient(transparent 60%, rgba(255, 61, 127, .45) 60%); color: var(--text); padding: 0 .1em; }

/* Palabra gigante en movimiento */
.bg-word { position: absolute; left: 0; top: 50%; z-index: -1; display: flex; width: max-content; translate: 0 -50%; pointer-events: none; user-select: none; animation: marquee 50s linear infinite; }
.bg-word span { font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 20vw, 17rem); line-height: 1; padding-right: .3em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 106, 0, .28); text-shadow: 0 0 30px rgba(255, 106, 0, .12); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Formas flotantes */
.shape { position: absolute; z-index: -1; pointer-events: none; }
.orb { width: var(--z, 60px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0, #FFE0BF 12%, #FF9A33 48%, #C43E00 100%); box-shadow: 0 0 24px rgba(255, 106, 0, .7), 0 0 60px rgba(255, 106, 0, .35), inset -6px -10px 18px rgba(80, 20, 0, .4); animation: bob 6s ease-in-out infinite; }
.orb.ink { background: radial-gradient(circle at 32% 28%, #fff 0, #FFC2D8 12%, #FF3D7F 50%, #6A0F35 100%); box-shadow: 0 0 22px rgba(255, 61, 127, .75), 0 0 54px rgba(255, 61, 127, .35); }
.torus { width: var(--z, 110px); aspect-ratio: 1; border-radius: 50%; border: calc(var(--z, 110px) * .12) solid var(--o2); box-shadow: 0 0 20px rgba(255, 106, 0, .8), inset 0 0 20px rgba(255, 106, 0, .8); animation: torus 9s linear infinite; }
.mini-cube { width: var(--z, 46px); height: var(--z, 46px); transform-style: preserve-3d; animation: cubeSpin 10s linear infinite; }
.mini-cube i { position: absolute; inset: 0; background: rgba(255, 106, 0, .18); border: 1.5px solid var(--o3); box-shadow: 0 0 14px rgba(255, 106, 0, .6), inset 0 0 12px rgba(255, 106, 0, .5); }
.mini-cube i:nth-child(1) { transform: translateZ(calc(var(--z, 46px) / 2)); }
.mini-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--z, 46px) / 2)); }
.mini-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--z, 46px) / 2)); }
.mini-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--z, 46px) / 2)); }
.mini-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--z, 46px) / 2)); }
.mini-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--z, 46px) / 2)); }
@keyframes bob { 50% { transform: translateY(-18px); } }
@keyframes torus { from { transform: rotateX(68deg) rotateZ(0); } to { transform: rotateX(68deg) rotateZ(360deg); } }
@keyframes cubeSpin { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }
@keyframes wiggle { 50% { transform: rotate(-8deg) scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   HERO 3D
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: 128px 0 0; text-align: center; isolation: isolate; }
@media (min-width: 1024px) { .hero { padding-top: 150px; } }
.hero-copy { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(20, 10, 18, .7); border: 1.5px solid var(--line); box-shadow: var(--glow); font-size: .85rem; font-weight: 700; color: var(--text); }
.pill b { background: var(--grad); border: 1px solid var(--o3); color: #1A0905; padding: 2px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .06em; box-shadow: 0 0 12px rgba(255, 106, 0, .7); }
.hero h1 { font-size: clamp(2.05rem, 6.6vw, 5.4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 24px auto 22px; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.hero h1 .kicker { display: block; font-family: var(--f-body); font-size: clamp(.95rem, 1.7vw, 1.1rem); font-weight: 800; letter-spacing: .02em; line-height: 1.4; color: var(--o3); margin-bottom: 14px; text-shadow: 0 0 12px rgba(255, 138, 43, .6); }
.x3d {
  display: inline-block; color: #FFF0DD; padding: 0 .08em;
  text-shadow: 0 0 2px #fff, 0 0 8px #FFB067, 0 0 16px #FF8A2B, 0 0 32px #FF6A00, 0 0 60px #FF4D00, 0 0 100px rgba(255, 61, 0, .6);
  transform: rotate(-4deg); animation: x3d 4s ease-in-out infinite, flicker 5s linear infinite;
}
@keyframes x3d { 50% { transform: rotate(3deg) translateY(-6px); } }
.hero-text { font-size: clamp(1.05rem, 1.8vw, 1.2rem); max-width: 680px; margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 30px 0; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-stats li { display: flex; align-items: baseline; gap: 8px; padding: 10px 16px; background: var(--surface); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1.5px solid var(--line); border-radius: 16px; box-shadow: var(--drop), var(--glow); }
.hero-stats li:nth-child(1) { transform: rotate(-3deg); }
.hero-stats li:nth-child(2) { transform: rotate(2deg); border-color: rgba(255, 61, 127, .7); box-shadow: var(--drop), var(--glow-pink); }
.hero-stats li:nth-child(3) { transform: rotate(-1.5deg); }
.hero-stats strong { font-family: var(--f-display); font-size: 1.35rem; color: var(--o4); text-shadow: 0 0 12px rgba(255, 138, 43, .8); }
.hero-stats li:nth-child(2) strong { color: #FFD6E5; text-shadow: 0 0 12px rgba(255, 61, 127, .9); }
.hero-stats span { font-size: .88rem; font-weight: 700; color: var(--text-2); }

/* Escena */
.scene { --s: .5; position: relative; height: clamp(330px, 56vw, 640px); margin-top: 10px; perspective: 1300px; perspective-origin: 50% 30%; }
@media (min-width: 560px) { .scene { --s: .66; } }
@media (min-width: 860px) { .scene { --s: .85; } }
@media (min-width: 1200px) { .scene { --s: 1; } }
.sun {
  position: absolute; left: 50%; top: 4%; width: clamp(260px, 50vw, 600px); aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: linear-gradient(#FFD27A 0%, #FF8A2B 42%, #FF3D7F 100%);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 55% no-repeat, repeating-linear-gradient(#000 0 16px, transparent 16px 26px) bottom / 100% 45% no-repeat;
          mask: linear-gradient(#000 0 0) top / 100% 55% no-repeat, repeating-linear-gradient(#000 0 16px, transparent 16px 26px) bottom / 100% 45% no-repeat;
  filter: drop-shadow(0 0 40px rgba(255, 90, 40, .7)) drop-shadow(0 0 90px rgba(255, 61, 127, .45));
  will-change: transform;
}
@keyframes sunPulse { 50% { scale: 1.04; } }
.floor {
  position: absolute; left: -60%; right: -60%; top: 60%; height: 140%;
  transform-origin: 50% 0; transform: rotateX(78deg);
  background-image: linear-gradient(rgba(255, 61, 127, .95) 2px, rgba(255, 61, 127, .25) 3px, transparent 6px), linear-gradient(90deg, rgba(255, 138, 43, .95) 2px, rgba(255, 106, 0, .25) 3px, transparent 6px);
  background-size: 64px 64px; background-color: rgba(30, 10, 30, .55);
  -webkit-mask: linear-gradient(transparent, #000 25%, #000 70%, transparent);
          mask: linear-gradient(transparent, #000 25%, #000 70%, transparent);
  animation: floorRun 1.4s linear infinite;
}
@keyframes floorRun { to { background-position: 0 64px; } }
.rig { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: scale(var(--s)) rotateX(calc(4deg + var(--my, 0) * -8deg)) rotateY(calc(var(--mx, 0) * 18deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.rig-inner { transform-style: preserve-3d; animation: sway 14s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotateY(-14deg); } 50% { transform: rotateY(14deg); } }
.obj { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.obj > .bob { transform-style: preserve-3d; animation: bob3d 6s ease-in-out infinite; }
@keyframes bob3d { 50% { transform: translateY(-16px); } }

/* Caja 3D genérica */
.slab { --d: 24px; --r: 12px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; translate: -50% -50%; }
.fc { position: absolute; display: block; background: var(--side, #241521); }
.fc.front { inset: 0; border-radius: var(--r); transform: translateZ(calc(var(--d) / 2)); background: var(--front, var(--dark)); overflow: hidden; }
.fc.back { inset: 0; border-radius: var(--r); transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: var(--backc, #241521); }
.fc.right, .fc.left { top: var(--r); bottom: var(--r); width: var(--d); left: calc(50% - var(--d) / 2); }
.fc.right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.fc.left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.fc.top, .fc.bottom { left: var(--r); right: var(--r); height: var(--d); top: calc(50% - var(--d) / 2); background: var(--topc, #36202F); }
.fc.top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.fc.bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }

/* TV */
.tv-slab { --w: 540px; --h: 320px; --d: 26px; --r: 16px; }
.tv-slab .fc.front { padding: 12px; box-shadow: 0 0 0 2px var(--o2), 0 0 30px rgba(255, 106, 0, .7), 0 0 80px rgba(255, 61, 127, .35); }
.tv-leg { position: absolute; left: 0; top: 150px; width: 150px; height: 74px; translate: -50% 0; transform: translateZ(-14px); background: linear-gradient(#36202F, #0E070C); clip-path: polygon(32% 0, 68% 0, 100% 100%, 0 100%); }
.tv-screen { height: 100%; border-radius: 9px; overflow: hidden; padding: 18px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px; color: #fff; font-size: 11px; text-align: left; background: radial-gradient(120% 90% at 85% 0%, #4a1a2a 0%, #12080e 60%); }
.ui-bar { display: flex; align-items: center; gap: 16px; }
.ui-logo { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); box-shadow: 0 0 10px var(--o); }
.ui-bar span { color: rgba(255,255,255,.6); font-weight: 700; }
.ui-bar span.on { color: #fff; border-bottom: 2px solid var(--o); box-shadow: 0 6px 10px -6px var(--o); }
.ui-hero { position: relative; overflow: hidden; border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; background: linear-gradient(90deg, rgba(14,7,12,.9), rgba(14,7,12,.1) 70%), linear-gradient(135deg, #ff7a18, #c2185b 55%, #3a0a24); }
.ui-hero::after { content: ""; position: absolute; right: 8%; top: 12%; width: 32%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe0bd, #ff8a2a 45%, transparent 70%); animation: bob 5s ease-in-out infinite; }
.ui-tag { align-self: flex-start; background: var(--pink); color: #fff; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 4px; font-size: 9px; box-shadow: 0 0 10px var(--pink); }
.ui-hero strong { font-family: var(--f-display); font-size: 20px; line-height: 1.1; color: #fff; }
.ui-hero small { color: rgba(255,255,255,.7); }
.ui-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ui-row i { aspect-ratio: 16 / 10; border-radius: 6px; background: linear-gradient(135deg, #4a2238, #22101b); animation: tileGlow 4s ease-in-out infinite; }
.ui-row i:nth-child(1) { background: linear-gradient(135deg, #ff9a3c, #c2410c); }
.ui-row i:nth-child(2) { animation-delay: -1s; }
.ui-row i:nth-child(3) { background: linear-gradient(135deg, #ff8db5, #c2185b); animation-delay: -2s; }
.ui-row i:nth-child(4) { animation-delay: -3s; }
.ui-row + .ui-row i:nth-child(2) { background: linear-gradient(135deg, #ffb15c, #7a2c06); }
.ui-row + .ui-row i:nth-child(1) { background: linear-gradient(135deg, #3a1a2c, #1a0b14); }
@keyframes tileGlow { 50% { filter: brightness(1.35); } }

/* Teléfono, stick y cubo */
.phone-slab { --w: 140px; --h: 280px; --d: 14px; --r: 24px; }
.phone-slab .fc.front { padding: 7px; box-shadow: 0 0 0 2px var(--pink), 0 0 26px rgba(255, 61, 127, .7); }
.ph-screen { height: 100%; border-radius: 18px; overflow: hidden; background: #1E0F1A; padding: 22px 12px 0; display: flex; flex-direction: column; gap: 10px; }
.ph-notch { height: 6px; width: 40%; margin: 0 auto; border-radius: 6px; background: #3a2232; }
.ph-player { aspect-ratio: 16 / 10; border-radius: 10px; background: linear-gradient(135deg, #ff8a2a, #c2185b); display: grid; place-items: center; box-shadow: 0 0 14px rgba(255, 61, 127, .5); }
.ph-play { width: 30px; height: 30px; border-radius: 50%; background: #fff; position: relative; }
.ph-play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 9px solid var(--o); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ph-bar { height: 5px; border-radius: 5px; background: #3a2232; overflow: hidden; }
.ph-bar b { display: block; height: 100%; width: 30%; background: var(--o); box-shadow: 0 0 8px var(--o); animation: progress 5s linear infinite; }
@keyframes progress { to { width: 100%; } }
.ph-list { display: grid; gap: 7px; }
.ph-list i { height: 22px; border-radius: 7px; background: #2b1726; border: 1px solid #4a2a3e; }
.stick-slab { --w: 170px; --h: 52px; --d: 26px; --r: 14px; --front: var(--o2); --side: #A83A00; --topc: #FFB067; --backc: #A83A00; }
.stick-slab .fc.front { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 13px; color: #1A0905; border: 1.5px solid var(--o4); box-shadow: 0 0 24px rgba(255, 106, 0, .8); }
.stick-slab svg { width: 18px; height: 18px; }
.cube { --c: 96px; position: relative; width: var(--c); height: var(--c); translate: -50% -50%; transform-style: preserve-3d; animation: cubeSpin 12s linear infinite; }
.cube .cf { position: absolute; inset: 0; display: grid; place-items: center; border: 1.5px solid var(--o4); border-radius: 14px; background: rgba(255, 106, 0, .35); box-shadow: 0 0 22px rgba(255, 106, 0, .7), inset 0 0 22px rgba(255, 140, 50, .7); }
.cube .cf svg { width: 60%; height: 60%; filter: drop-shadow(0 0 6px #fff); }
.cube .cf:nth-child(1) { transform: translateZ(calc(var(--c) / 2)); }
.cube .cf:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--c) / 2)); }
.cube .cf:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--c) / 2)); background: rgba(255, 61, 127, .3); border-color: var(--pink-2); box-shadow: 0 0 22px rgba(255, 61, 127, .7), inset 0 0 22px rgba(255, 61, 127, .6); }
.cube .cf:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--c) / 2)); background: rgba(255, 61, 127, .3); border-color: var(--pink-2); box-shadow: 0 0 22px rgba(255, 61, 127, .7), inset 0 0 22px rgba(255, 61, 127, .6); }
.cube .cf:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--c) / 2)); }
.cube .cf:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--c) / 2)); }
.tag3d { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 10px 16px; border-radius: 14px; background: rgba(20, 10, 18, .82); border: 1.5px solid var(--o2); box-shadow: 0 0 20px rgba(255, 106, 0, .55), inset 0 0 12px rgba(255, 106, 0, .2); font-weight: 800; font-size: 15px; color: var(--text); translate: -50% -50%; }
.tag3d:nth-of-type(even) { border-color: var(--pink); box-shadow: 0 0 20px rgba(255, 61, 127, .55), inset 0 0 12px rgba(255, 61, 127, .2); }
.tag3d b { font-family: var(--f-display); color: var(--o4); text-shadow: 0 0 10px var(--o); }
.tag3d .dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: blinkRed 1.2s ease-in-out infinite; }
@keyframes blinkRed { 50% { opacity: .3; } }
.rig .orb, .rig .torus { position: absolute; left: 0; top: 0; }

/* Cintas cruzadas */
.tapes { position: relative; height: 150px; margin-top: -40px; z-index: 3; }
.tape { position: absolute; left: -5%; right: -5%; top: 40px; overflow: hidden; border-block: 1.5px solid var(--o4); background: var(--grad); transform: rotate(-3deg); box-shadow: 0 0 30px rgba(255, 106, 0, .6); }
.tape.alt { top: 52px; background: rgba(14, 7, 12, .92); border-color: var(--pink); transform: rotate(2.5deg); z-index: -1; box-shadow: 0 0 30px rgba(255, 61, 127, .5); }
.tape-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.tape.alt .tape-track { animation-direction: reverse; animation-duration: 42s; }
.tape ul { list-style: none; display: flex; }
.tape li { display: flex; align-items: center; gap: 20px; padding: 14px 0 14px 20px; font-family: var(--f-display); font-weight: 700; font-size: clamp(.95rem, 2.2vw, 1.35rem); color: #1A0905; white-space: nowrap; text-transform: uppercase; }
.tape.alt li { color: #FFD6E5; text-shadow: var(--neon-pink); }
.tape li::after { content: "✺"; color: #1A0905; }
.tape.alt li::after { color: var(--o3); text-shadow: var(--neon); }

/* ==========================================================================
   Inclinación 3D
   ========================================================================== */
[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
[data-tilt].is-tilting { transition: transform .08s linear, box-shadow .3s; }
.glare { position: relative; overflow: hidden; }
.glare::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 170, 100, .28), rgba(255, 61, 127, .08) 35%, transparent 55%); opacity: 0; transition: opacity .3s; z-index: 5; }
.glare.is-tilting::after { opacity: 1; }

/* ---------- Beneficios: carrusel 3D ---------- */
.ring-stage { position: relative; height: 480px; perspective: 1700px; perspective-origin: 50% 40%; }
.ring { --n: 8; --rad: 400px; position: absolute; left: 50%; top: 50%; width: 290px; height: 360px; margin: -180px 0 0 -145px; transform-style: preserve-3d; transform: translateZ(calc(var(--rad) * -1)) rotateX(-6deg) rotateY(var(--angle, 0deg)); }
.ring.is-snapping { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ring-card { position: absolute; inset: 0; transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--rad)); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bcard { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1.5px solid var(--line); border-radius: 28px; background: linear-gradient(160deg, rgba(60, 30, 50, .9), rgba(26, 13, 22, .92)); box-shadow: var(--glow); color: var(--text-2); }
.bcard h3 { font-size: 1.15rem; margin: 0; }
.bcard p { margin: 0; }
.bcard .b-ic { width: 60px; height: 60px; display: grid; place-items: center; border: 1.5px solid var(--o4); border-radius: 18px; background: var(--grad); color: #1A0905; box-shadow: 0 0 22px rgba(255, 106, 0, .7); transform: rotate(-6deg); margin-bottom: 8px; }
.bcard .b-ic .ic { width: 28px; height: 28px; }
.bcard .bnum { font-family: var(--f-display); font-weight: 800; font-size: 3.2rem; line-height: .9; color: var(--o4); letter-spacing: -.05em; margin-top: auto; text-shadow: var(--neon); }
.bcard.c-o { background: var(--grad); border-color: var(--o4); color: rgba(26, 9, 5, .88); box-shadow: 0 0 40px rgba(255, 106, 0, .55); }
.bcard.c-o h3, .bcard.c-o strong { color: #1A0905; }
.bcard.c-o .b-ic { background: #1A0905; color: var(--o3); box-shadow: 0 0 16px rgba(0, 0, 0, .5); }
.bcard.c-o .bnum { color: #1A0905; text-shadow: 3px 3px 0 rgba(255, 255, 255, .35); }
.bcard.c-ink { background: linear-gradient(160deg, #2A0F22, #12070F); border-color: var(--pink); box-shadow: var(--glow-pink); }
.bcard.c-ink .b-ic { background: rgba(255, 61, 127, .2); border-color: var(--pink-2); color: #FFD6E5; box-shadow: 0 0 18px rgba(255, 61, 127, .7); }
.bcard.c-ink .bnum { color: #FFD6E5; text-shadow: var(--neon-pink); }
.bcard.c-peach { background: linear-gradient(160deg, #4A2230, #24121D); }
.ring-ctrl { display: flex; justify-content: center; gap: 14px; margin-top: 10px; }
.ring-ctrl button { width: 54px; height: 54px; display: grid; place-items: center; border: 1.5px solid var(--o2); border-radius: 50%; background: rgba(20, 10, 18, .8); color: var(--o4); box-shadow: 0 5px 0 #000, 0 0 18px rgba(255, 106, 0, .45); transition: transform .15s, box-shadow .2s, background .2s; }
.ring-ctrl button:hover { background: var(--o); color: #1A0905; box-shadow: 0 5px 0 #000, 0 0 30px rgba(255, 106, 0, .8); }
.ring-ctrl button:active { transform: translateY(5px); box-shadow: 0 0 18px rgba(255, 106, 0, .6); }
.ring-ctrl .flip-x .ic { transform: scaleX(-1); }
.swipe-hint { display: none; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: .9rem; color: var(--o3); text-shadow: 0 0 10px rgba(255, 106, 0, .7); }
.swipe-hint .ic { width: 20px; height: 20px; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
@media (max-width: 859px) {
  .ring-stage { height: auto; perspective: none; }
  .ring { position: static; width: auto; height: auto; margin: 0 calc(var(--gutter) * -1); padding: 14px var(--gutter) 30px; transform: none !important; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ring::-webkit-scrollbar { display: none; }
  .ring-card { position: relative; inset: auto; flex: 0 0 min(80%, 300px); min-height: 330px; transform: none; scroll-snap-align: center; }
  .ring-ctrl { display: none; }
  .swipe-hint { display: flex; }
}

/* ---------- Precios: abanico 3D ---------- */
.fan { display: grid; gap: 40px; perspective: 1800px; padding-top: 24px; }
@media (min-width: 640px) { .fan { grid-template-columns: repeat(2, 1fr); gap: 44px 26px; } }
@media (min-width: 1140px) {
  .fan { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .fan > :nth-child(1) { rotate: y 16deg; translate: 0 20px -40px; }
  .fan > :nth-child(2) { rotate: y 6deg; translate: 0 6px 0; }
  .fan > :nth-child(3) { rotate: y -6deg; translate: 0 6px 0; }
  .fan > :nth-child(4) { rotate: y -16deg; translate: 0 -10px 30px; }
  .fan > * { transition: rotate .6s cubic-bezier(.2,.8,.2,1), translate .6s cubic-bezier(.2,.8,.2,1), opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
  .fan > :hover, .fan > :focus-within { rotate: y 0deg; translate: 0 -14px 60px; z-index: 2; }
}
.tk-wrap { position: relative; }
.tk { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1.5px solid var(--line); border-radius: 28px; box-shadow: var(--drop), var(--glow); color: var(--text-2); }
.tk:hover { border-color: var(--o2); box-shadow: var(--drop), var(--glow-strong); }
.tk-top { padding: 26px 24px 20px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1.5px dashed var(--line); background: repeating-linear-gradient(-45deg, rgba(255, 106, 0, .07) 0 12px, transparent 12px 24px); }
.tk-name { margin: 0; font-size: 1.15rem; }
.tk-name small { display: block; margin-top: 4px; font-family: var(--f-body); font-size: .85rem; font-weight: 800; color: var(--o3); }
.tk-price { display: flex; align-items: flex-start; gap: 2px; margin: 6px 0 0; font-family: var(--f-display); font-weight: 800; color: var(--text); line-height: 1; }
.tk-price sup { font-size: 1.4rem; margin-top: 8px; color: var(--o3); }
.tk-price strong { font-size: 3.6rem; letter-spacing: -.05em; color: var(--o4); text-shadow: var(--neon); }
.tk-price span { align-self: flex-end; margin: 0 0 8px 6px; font-family: var(--f-body); font-size: .85rem; font-weight: 800; color: var(--muted); }
.tk-per { margin: 0; font-size: .9rem; font-weight: 600; }
.save { align-self: flex-start; padding: 3px 10px; border: 1px solid var(--green); border-radius: 999px; background: rgba(61, 255, 160, .1); color: #B8FFDA; font-size: .78rem; font-weight: 800; text-shadow: 0 0 8px rgba(61, 255, 160, .8); box-shadow: 0 0 12px rgba(61, 255, 160, .3); }
.tk-body { flex: 1; display: flex; flex-direction: column; gap: 22px; padding: 24px; }
.feat { list-style: none; display: grid; gap: 11px; font-size: .95rem; }
.feat li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; font-weight: 600; }
.feat .ic { width: 22px; height: 22px; padding: 3px; border: 1.5px solid var(--o2); border-radius: 7px; background: rgba(255, 106, 0, .15); color: var(--o4); stroke-width: 3; box-shadow: 0 0 8px rgba(255, 106, 0, .5); }
.tk .btn { margin-top: auto; }
.tk-tag { position: absolute; top: 20px; right: 18px; z-index: 2; padding: 4px 10px; border: 1px solid var(--pink); border-radius: 999px; background: rgba(255, 61, 127, .14); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #FFD6E5; text-shadow: 0 0 8px var(--pink); box-shadow: 0 0 14px rgba(255, 61, 127, .5); transform: rotate(4deg); }
.tk.best { background: var(--grad); border-color: var(--o4); color: #2A1208; box-shadow: var(--drop), 0 0 50px rgba(255, 106, 0, .65), 0 0 120px rgba(255, 61, 127, .25); }
.tk.best h3, .tk.best strong, .tk.best .tk-name small, .tk.best .tk-price span, .tk.best .tk-price sup, .tk.best .tk-per { color: #1A0905; }
.tk.best .tk-price strong { text-shadow: 3px 3px 0 rgba(255, 255, 255, .4); }
.tk.best .tk-top { border-bottom-color: rgba(26, 9, 5, .45); background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .16) 0 12px, transparent 12px 24px); }
.tk.best .feat .ic { background: #1A0905; color: var(--o3); border-color: #1A0905; box-shadow: none; }
.tk.best .save { background: #1A0905; color: var(--green); }
.stamp { position: absolute; top: -40px; right: -16px; z-index: 6; width: 110px; height: 110px; pointer-events: none; filter: drop-shadow(0 0 12px rgba(255, 61, 127, .8)); }
.stamp svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.stamp circle { fill: #1A0B16; stroke: var(--pink); }
.stamp text { font-family: var(--f-display); font-weight: 700; font-size: 8.6px; letter-spacing: 1.4px; fill: #FFD6E5; }
.stamp .star { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: var(--o3); text-shadow: var(--neon); }
.pricing-foot { margin-top: 44px; text-align: center; font-weight: 600; }
.pricing-foot a { color: var(--o3); font-weight: 800; }

/* ---------- Aviso ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin-bottom: 30px; border: 1.5px solid #FFC845; border-radius: 20px; background: rgba(255, 200, 69, .08); box-shadow: 0 0 24px rgba(255, 200, 69, .25), inset 0 0 20px rgba(255, 200, 69, .06); color: #F7E3B5; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.notice .ic { width: 34px; height: 34px; flex: none; padding: 5px; border-radius: 10px; background: #FFC845; color: #1A0905; box-shadow: 0 0 16px rgba(255, 200, 69, .8); animation: wiggle 3s ease-in-out infinite; }
.notice strong { color: #FFF3D1; }
.notice p { margin: 0; }
.notice p + p { margin-top: 6px; }
.notice a { color: #FFD76A; font-weight: 800; }

/* ---------- Descargas ---------- */
.dl-grid { display: grid; gap: 30px; }
@media (min-width: 980px) { .dl-grid { grid-template-columns: 1.1fr .9fr; } }
.dl-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 22px; border: 1.5px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--drop), var(--glow); }
@media (min-width: 640px) { .dl-card { padding: 36px; } }
.dl-card.tvc { background: linear-gradient(160deg, rgba(60, 26, 40, .85), rgba(24, 12, 20, .85)); }
.dl-card:hover { border-color: var(--o2); box-shadow: var(--drop), var(--glow-strong); }
.dl-head { display: flex; gap: 14px; align-items: center; }
.dl-head h3 { margin: 0; font-size: clamp(1.1rem, 2.4vw, 1.4rem); }
.dl-head p { margin: 0; font-size: .92rem; font-weight: 600; color: var(--muted); }
.device-ic { width: 58px; height: 58px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--o4); border-radius: 18px; background: var(--grad); color: #1A0905; box-shadow: 0 0 20px rgba(255, 106, 0, .6); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.device-ic .ic { width: 28px; height: 28px; }
.code-box { display: grid; gap: 14px; justify-items: start; padding: 22px; border: 1.5px solid var(--o2); border-radius: 22px; background: rgba(10, 5, 8, .9); color: #fff; box-shadow: 0 0 30px rgba(255, 106, 0, .4), inset 0 0 24px rgba(255, 106, 0, .12); }
.code-label { font-family: var(--f-display); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-2); text-shadow: 0 0 10px var(--pink); }
.code { display: flex; gap: clamp(4px, 1.2vw, 8px); perspective: 400px; }
.code span { position: relative; width: clamp(32px, 8.4vw, 52px); height: clamp(46px, 11.5vw, 68px); display: grid; place-items: center; border-radius: 10px; background: linear-gradient(#2A1622 50%, #20101A 50%); border: 1px solid rgba(255, 138, 43, .45); font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 4.8vw, 2.2rem); color: #FFE7CF; text-shadow: var(--neon); box-shadow: inset 0 0 12px rgba(255, 106, 0, .2); }
.code span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(0, 0, 0, .6); }
.code span.is-flip { animation: flap .12s ease-in; }
@keyframes flap { from { transform: rotateX(-90deg); } }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px; border: 1.5px solid var(--o4); border-radius: 14px; background: var(--grad); color: #1A0905; font-weight: 800; box-shadow: 0 4px 0 #7A2400, 0 0 18px rgba(255, 106, 0, .6); transition: transform .15s, box-shadow .2s; }
.copy-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #7A2400, 0 0 30px rgba(255, 106, 0, .8); }
.copy-btn:active { transform: translateY(4px); box-shadow: 0 0 14px rgba(255, 106, 0, .6); }
.copy-btn .ic { width: 18px; height: 18px; }
.copy-btn.is-done { background: var(--green); border-color: #CFFFE6; box-shadow: 0 4px 0 #0B6B3A, 0 0 24px rgba(61, 255, 160, .8); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 106, 0, .06); font-size: .84rem; font-weight: 700; color: var(--text); }
.chips li:nth-child(3n+2) { border-color: rgba(255, 61, 127, .6); background: rgba(255, 61, 127, .08); box-shadow: 0 0 10px rgba(255, 61, 127, .25); }
.mini-steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.mini-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.mini-steps li::before { content: counter(s); width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid var(--o2); border-radius: 10px; background: rgba(255, 106, 0, .12); color: var(--o4); font-family: var(--f-display); font-weight: 700; font-size: .9rem; text-shadow: 0 0 8px var(--o); box-shadow: 0 0 12px rgba(255, 106, 0, .35); }
.apk-visual { display: flex; align-items: center; gap: 18px; padding: 18px; border: 1px solid var(--line-soft); border-radius: 20px; background: rgba(255, 106, 0, .06); }
.apk-visual p { margin: 0; font-size: .9rem; line-height: 1.45; }
.apk-visual strong { word-break: break-all; }
.apk-file { flex: none; width: 56px; height: 66px; display: grid; place-items: center; border: 1.5px solid var(--o4); border-radius: 10px 20px 10px 10px; background: var(--grad); font-family: var(--f-display); font-weight: 800; font-size: .75rem; color: #1A0905; box-shadow: 0 0 18px rgba(255, 106, 0, .6); }
.apk-cube { --c: 58px; flex: none; position: relative; width: var(--c); height: var(--c); margin: 4px 8px; transform-style: preserve-3d; animation: cubeSpin 8s linear infinite; }
.apk-cube i { position: absolute; inset: 0; display: grid; place-items: center; border: 1.5px solid var(--o4); border-radius: 10px; background: rgba(255, 106, 0, .35); font-style: normal; font-family: var(--f-display); font-weight: 800; font-size: .72rem; color: #FFF0DD; text-shadow: 0 0 8px var(--o); box-shadow: 0 0 16px rgba(255, 106, 0, .6), inset 0 0 14px rgba(255, 140, 50, .6); }
.apk-cube i:nth-child(1) { transform: translateZ(calc(var(--c) / 2)); }
.apk-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--c) / 2)); }
.apk-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--c) / 2)); background: rgba(255, 61, 127, .3); border-color: var(--pink-2); }
.apk-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--c) / 2)); background: rgba(255, 61, 127, .3); border-color: var(--pink-2); }
.apk-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--c) / 2)); }
.apk-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--c) / 2)); }
.dl-more { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 768px) { .dl-more { grid-template-columns: 1fr 1fr; } }
.dl-strip { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--drop), var(--glow); text-decoration: none; color: var(--text-2); transition: transform .2s, box-shadow .2s, border-color .2s; }
.dl-strip:hover { transform: translate(-3px, -3px); border-color: var(--o2); box-shadow: 9px 9px 0 rgba(0, 0, 0, .55), var(--glow-strong); }
.dl-strip strong { display: block; font-size: 1.02rem; }
.dl-strip span { font-size: .9rem; }
.dl-strip > .ic:last-child { margin-left: auto; color: var(--o3); filter: drop-shadow(0 0 6px var(--o)); }

/* ---------- Dispositivos: órbita ---------- */
.orbit-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .orbit-grid { grid-template-columns: .85fr 1.15fr; gap: 48px; } }
.orbit { --R: 125px; --tilt: 64deg; position: relative; height: 360px; perspective: 900px; }
@media (min-width: 560px) { .orbit { --R: 175px; height: 470px; } }
.orbit-plane { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--tilt)); }
.orbit-ring { position: absolute; left: 50%; top: 50%; width: calc(var(--R) * 2); height: calc(var(--R) * 2); margin: calc(var(--R) * -1) 0 0 calc(var(--R) * -1); border: 2px dashed var(--o2); border-radius: 50%; box-shadow: 0 0 18px rgba(255, 106, 0, .55), inset 0 0 18px rgba(255, 106, 0, .4); }
.orbit-ring.r2 { width: calc(var(--R) * 1.16); height: calc(var(--R) * 1.16); margin: calc(var(--R) * -.58) 0 0 calc(var(--R) * -.58); border: 8px solid rgba(255, 61, 127, .35); border-top-color: var(--pink); box-shadow: 0 0 24px rgba(255, 61, 127, .6), inset 0 0 18px rgba(255, 61, 127, .4); animation: spin 16s linear infinite; }
.orbit-ring.r3 { width: calc(var(--R) * 2.5); height: calc(var(--R) * 2.5); margin: calc(var(--R) * -1.25) 0 0 calc(var(--R) * -1.25); border: 1px solid rgba(255, 138, 43, .25); box-shadow: none; }
.arm { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; animation: armSpin 30s linear infinite; animation-delay: calc(var(--i) * -5s); }
.planet { position: absolute; left: var(--R); top: 0; width: 80px; margin: -36px 0 0 -40px; display: flex; flex-direction: column; align-items: center; gap: 6px; animation: planetSpin 30s linear infinite; animation-delay: calc(var(--i) * -5s); }
.planet span { width: 58px; height: 58px; display: grid; place-items: center; border: 1.5px solid var(--o2); border-radius: 18px; background: rgba(20, 10, 18, .9); color: var(--o4); box-shadow: 0 0 18px rgba(255, 106, 0, .6), inset 0 0 12px rgba(255, 106, 0, .3); }
.arm:nth-child(odd) .planet span { border-color: var(--pink); color: #FFD6E5; box-shadow: 0 0 18px rgba(255, 61, 127, .6), inset 0 0 12px rgba(255, 61, 127, .3); }
.planet b { font-size: .7rem; font-weight: 800; color: var(--text); background: rgba(14, 7, 12, .9); padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
@keyframes armSpin { to { transform: rotateZ(360deg); } }
@keyframes planetSpin { from { transform: rotateZ(0deg) rotateX(calc(var(--tilt) * -1)); } to { transform: rotateZ(-360deg) rotateX(calc(var(--tilt) * -1)); } }
.orbit-core { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; transform: rotateX(calc(var(--tilt) * -1)) translateY(-40px); }
.orbit-core .cube { --c: 84px; }
.dev-list { display: grid; gap: 14px; }
@media (min-width: 560px) { .dev-list { grid-template-columns: 1fr 1fr; } }
.dev { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--drop), var(--glow); text-decoration: none; color: var(--text-2); transition: transform .25s, box-shadow .25s, border-color .25s; }
.dev:hover { transform: translate(-3px, -3px) rotate(-1deg); border-color: var(--o2); box-shadow: 9px 9px 0 rgba(0, 0, 0, .55), var(--glow-strong); }
.dev:hover .device-ic { transform: rotateY(180deg); }
.dev .device-ic { width: 50px; height: 50px; border-radius: 15px; }
.dev .device-ic .ic { width: 24px; height: 24px; }
.dev h3 { margin: 0 0 2px; font-size: .95rem; }
.dev p { margin: 0; font-size: .84rem; line-height: 1.4; }
.dev .tag { display: inline-block; margin-top: 6px; padding: 2px 9px; border: 1px solid var(--o2); border-radius: 999px; background: rgba(255, 106, 0, .1); font-size: .72rem; font-weight: 800; color: var(--o4); }
.device-note { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1.5px dashed var(--pink); border-radius: 20px; background: rgba(255, 61, 127, .07); box-shadow: 0 0 20px rgba(255, 61, 127, .2); }
.device-note .ic { width: 26px; height: 26px; color: var(--pink-2); margin-top: 2px; filter: drop-shadow(0 0 6px var(--pink)); }
.device-note p { margin: 0; font-size: .93rem; }
.device-note a { color: var(--o3); font-weight: 800; }

/* ---------- Guías: tarjetas que giran ---------- */
.guides { display: grid; gap: 28px; }
@media (min-width: 860px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.flip { position: relative; display: block; min-height: 330px; perspective: 1200px; text-decoration: none; color: var(--text-2); }
.flip-inner { position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3,1.4,.4,1); }
.flip-face { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1.5px solid var(--line); border-radius: 28px; box-shadow: var(--drop), var(--glow); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.flip-front { background: linear-gradient(160deg, rgba(56, 26, 46, .92), rgba(22, 11, 19, .95)); }
.flip-front .num { position: absolute; right: 16px; bottom: -16px; font-family: var(--f-display); font-weight: 800; font-size: 7.5rem; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px var(--pink-2); text-shadow: 0 0 14px rgba(255, 61, 127, .6); }
.flip-front h3 { font-size: 1.25rem; margin: 10px 0 0; max-width: 85%; }
.flip-front .hint { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 800; color: var(--o3); text-shadow: 0 0 8px var(--o); }
.flip-front .hint .ic { width: 18px; height: 18px; animation: spin 4s linear infinite; }
.flip-back { background: var(--grad); border-color: var(--o4); color: #1A0905; transform: rotateY(180deg); justify-content: center; box-shadow: var(--drop), 0 0 40px rgba(255, 106, 0, .6); }
.flip-back p { margin: 0; font-weight: 600; }
.flip-back .back-t { margin: 0; font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; line-height: 1.2; color: #1A0905; }
.flip-back .btn { align-self: flex-start; margin-top: 8px; --b-bg: #1A0905; --b-fg: var(--o4); --b-br: #1A0905; --b-sh: rgba(0, 0, 0, .5); --b-gl: transparent; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .flip:hover .flip-inner, .flip:focus-visible .flip-inner { transform: rotateY(180deg); }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .flip { min-height: 0; perspective: none; }
  .flip-inner { transform: none !important; display: grid; }
  .flip-face { position: relative; inset: auto; backface-visibility: visible; -webkit-backface-visibility: visible; }
  .flip-front { min-height: 190px; border-radius: 28px 28px 0 0; border-bottom: 0; box-shadow: var(--glow); }
  .flip-back { transform: none; border-radius: 0 0 28px 28px; }
  .flip-front .hint { display: none; }
}

/* ---------- Contacto con chat 3D ---------- */
.contact { position: relative; display: grid; gap: 30px; align-items: center; padding: 40px 22px; border: 1.5px solid var(--o2); border-radius: 40px; background: radial-gradient(120% 120% at 0% 0%, rgba(255, 106, 0, .35), transparent 55%), radial-gradient(100% 100% at 100% 100%, rgba(255, 61, 127, .3), transparent 55%), rgba(24, 12, 20, .9); box-shadow: 0 0 0 1px rgba(255, 138, 43, .3), 0 0 60px rgba(255, 106, 0, .35), inset 0 0 60px rgba(255, 106, 0, .1); overflow: hidden; isolation: isolate; }
@media (min-width: 940px) { .contact { grid-template-columns: 1.15fr .85fr; padding: 64px; } }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 170, 110, .14) 1.5px, transparent 1.8px); background-size: 20px 20px; }
.contact h2 { font-size: clamp(2rem, 5.6vw, 4rem); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 18px; }
.contact p { font-size: 1.1rem; font-weight: 600; margin: 0 0 26px; max-width: 560px; }
.contact .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.contact .cta-actions small { font-weight: 800; color: var(--o3); }
@media (max-width: 479px) { .contact .btn { width: 100%; } }
.chat-stage { position: relative; height: 470px; perspective: 1100px; display: grid; place-items: center; }
.chat-phone { position: relative; width: 250px; height: 450px; padding: 10px; border: 1.5px solid var(--pink); border-radius: 40px; background: #0A0508; box-shadow: 0 0 30px rgba(255, 61, 127, .6), 0 0 80px rgba(255, 106, 0, .3), 16px 18px 0 rgba(0, 0, 0, .5); transform: rotateY(-18deg) rotateX(8deg) rotateZ(3deg); animation: phoneFloat 7s ease-in-out infinite; }
@keyframes phoneFloat { 50% { transform: rotateY(-6deg) rotateX(2deg) rotateZ(-2deg) translateY(-14px); } }
.chat-screen { height: 100%; display: flex; flex-direction: column; border-radius: 30px; overflow: hidden; background: #0B141A; text-align: left; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 18px 14px 12px; background: #1F2C33; }
.chat-head .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.chat-head .av svg { width: 22px; height: 22px; }
.chat-head strong { display: block; font-size: .85rem; color: #E9EDEF; line-height: 1.1; }
.chat-head small { font-size: .72rem; color: #3BEA85; font-weight: 700; }
.chat-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; font-size: .8rem; line-height: 1.35; }
.msg { max-width: 84%; padding: 8px 11px; border-radius: 14px; background: #202C33; color: #E9EDEF; opacity: 0; animation: msgIn 14s ease infinite; }
.msg b { color: var(--o3); }
.msg.me { align-self: flex-end; background: #005C4B; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; border-bottom-left-radius: 4px; }
.msg:nth-child(1) { animation-delay: .4s; } .msg:nth-child(2) { animation-delay: 2s; } .msg:nth-child(3) { animation-delay: 3.6s; } .msg:nth-child(4) { animation-delay: 5.2s; } .msg:nth-child(5) { animation-delay: 6.8s; }
@keyframes msgIn { 0% { opacity: 0; transform: translateY(12px) scale(.9); } 4%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px); } }
.typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 10px 12px; margin-top: auto; margin-bottom: 4px; border-radius: 14px; background: #202C33; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); background: var(--o); } }
.chat-input { margin: 0 10px 12px; padding: 10px 14px; border-radius: 999px; background: #202C33; font-size: .75rem; color: #8696A0; }
.chat-stage .orb { position: absolute; }
.wa-bubble { position: absolute; right: 2%; top: 4%; width: 74px; height: 74px; display: grid; place-items: center; border: 1.5px solid #B8FFD4; border-radius: 24px; background: #1FBF5B; color: #fff; box-shadow: 0 0 26px rgba(37, 211, 102, .8), 0 0 60px rgba(37, 211, 102, .4); animation: bob 4s ease-in-out infinite; }
.wa-bubble svg { width: 38px; height: 38px; }
@media (max-width: 479px) { .chat-stage { height: 420px; } .chat-phone { width: 220px; height: 400px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } .faq-side { position: sticky; top: 120px; align-self: start; } }
.faq-side .sec-num { display: block; font-size: clamp(3.4rem, 8vw, 6rem); margin-bottom: 18px; }
.faq-side .btn { margin-top: 12px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1.5px solid var(--line-soft); border-radius: 18px; background: var(--surface); box-shadow: var(--glow); transition: box-shadow .25s, transform .2s, border-color .25s, background-color .2s; }
.faq-item:hover { transform: translate(-2px, -2px); border-color: var(--line); }
.faq-item[open] { border-color: var(--o2); background: rgba(48, 22, 34, .85); box-shadow: var(--glow-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 800; font-size: 1.04rem; color: var(--text); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1.5px solid var(--o2); border-radius: 10px; background: rgba(255, 106, 0, .12); color: var(--o4); font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; text-shadow: 0 0 8px var(--o); box-shadow: 0 0 12px rgba(255, 106, 0, .35); transition: transform .35s cubic-bezier(.3,1.4,.4,1), background .2s, color .2s; }
.faq-item[open] summary::after { transform: rotate(135deg); background: var(--grad); color: #1A0905; text-shadow: none; }
.faq-a { padding: 0 20px 20px; transform-origin: top center; }
.faq-item[open] .faq-a { animation: unfold .45s cubic-bezier(.2,.8,.2,1); }
@keyframes unfold { from { opacity: 0; transform: perspective(700px) rotateX(-70deg); } }
.faq-a p:last-child { margin: 0; }
.faq-a a { color: var(--o3); font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; margin-top: 50px; padding: 70px 0 0; background: rgba(10, 5, 9, .75); border-top: 1.5px solid var(--o2); box-shadow: 0 -10px 40px rgba(255, 106, 0, .2); }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }
.footer-brand p { margin: 14px 0 0; max-width: 360px; font-size: .95rem; }
.site-footer h2 { display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-2); padding: 5px 10px; border: 1px solid var(--pink); border-radius: 8px; margin-bottom: 14px; text-shadow: 0 0 8px var(--pink); box-shadow: 0 0 12px rgba(255, 61, 127, .3); }
.footer-links { list-style: none; display: grid; gap: 2px; }
.footer-links a { display: inline-block; padding: 5px 0; text-decoration: none; font-weight: 600; color: var(--text-2); transition: color .2s, translate .2s, text-shadow .2s; }
.footer-links a:hover { color: var(--o4); translate: 4px 0; text-shadow: 0 0 10px var(--o); }
.footer-contact .btn { margin-top: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 46px; padding: 22px 0; border-top: 1px solid var(--line-soft); font-size: .85rem; font-weight: 600; color: var(--muted); }
.footer-word { display: flex; justify-content: center; padding: 24px 0 18px; user-select: none; font-family: var(--f-display); font-weight: 800; font-size: clamp(3.2rem, 14vw, 12rem); line-height: 1; letter-spacing: -.02em; }
.footer-word span { display: inline-block; color: #FFF0DD; text-shadow: 0 0 2px #fff, 0 0 10px var(--o3), 0 0 24px var(--o2), 0 0 50px var(--o), 0 0 90px rgba(255, 61, 127, .6); animation: wave 2.8s ease-in-out infinite, flicker 6s linear infinite; animation-delay: calc(var(--i) * .12s), calc(var(--i) * -.9s); }
.footer-word span.sp { width: .3em; }
@keyframes wave { 50% { transform: translateY(-.14em) rotate(-3deg); } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90; width: 62px; height: 62px; display: grid; place-items: center; border: 1.5px solid #B8FFD4; border-radius: 20px; background: #1FBF5B; color: #fff; box-shadow: 0 6px 0 #0B5A2E, 0 0 26px rgba(37, 211, 102, .75); text-decoration: none; animation: waJump 4s ease-in-out infinite; }
.wa-float:hover { animation-play-state: paused; box-shadow: 0 6px 0 #0B5A2E, 0 0 40px rgba(37, 211, 102, .95); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-tip { position: absolute; right: calc(100% + 14px); top: 50%; translate: 0 -50%; padding: 8px 14px; border: 1px solid #3BEA85; border-radius: 12px; background: rgba(10, 5, 9, .92); color: #CFFFE2; font-size: .85rem; font-weight: 800; white-space: nowrap; box-shadow: 0 0 14px rgba(37, 211, 102, .4); opacity: 0; pointer-events: none; transition: opacity .2s; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; }
@keyframes waJump { 0%, 80%, 100% { transform: none; } 85% { transform: translateY(-10px) rotate(-8deg); } 90% { transform: translateY(0) rotate(6deg); } 95% { transform: translateY(-4px); } }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 130px 0 54px; }
@media (min-width: 900px) { .page-hero { padding: 160px 0 74px; } }
.ph-decor { position: absolute; inset: 0; z-index: -1; perspective: 700px; overflow: hidden; pointer-events: none; }
.ph-decor .floor { top: 66%; }
.ph-decor .sun { left: auto; right: -90px; top: 50px; translate: 0 0; width: clamp(200px, 32vw, 420px); opacity: .75; }
.ph-decor .shape { z-index: 0; }
@media (max-width: 759px) { .ph-decor .orb, .ph-decor .mini-cube { display: none; } .ph-decor .sun { opacity: .45; } }
.page-hero h1 { font-size: clamp(1.8rem, 5.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; max-width: 980px; margin: 22px 0 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.page-hero .lead { max-width: 740px; font-weight: 500; }
.crumbs ol { list-style: none; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(20, 10, 18, .7); box-shadow: var(--glow); font-size: .85rem; font-weight: 700; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "→"; color: var(--pink); text-shadow: 0 0 6px var(--pink); }
.crumbs a { color: var(--text); text-decoration: none; }
.crumbs a:hover { color: var(--o4); text-shadow: 0 0 8px var(--o); }
.meta-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.meta-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(20, 10, 18, .7); box-shadow: var(--glow); font-size: .88rem; font-weight: 800; color: var(--text); }
.meta-chips li:nth-child(even) { border-color: var(--pink); box-shadow: var(--glow-pink); transform: rotate(1.5deg); }
.meta-chips li:nth-child(odd) { transform: rotate(-1deg); }
.meta-chips .ic { width: 18px; height: 18px; color: var(--o3); }
.meta-chips a { text-decoration: none; }
.page-hero .hero-actions { justify-content: flex-start; margin: 28px 0 0; }

.article-layout { display: grid; gap: 34px; padding-bottom: 40px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; } }
.toc { align-self: start; }
@media (min-width: 1024px) { .toc { position: sticky; top: 112px; } }
.toc details { border: 1.5px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--glow); }
.toc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-family: var(--f-display); font-size: .9rem; font-weight: 700; color: var(--text); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--o2); border-radius: 8px; color: var(--o4); background: rgba(255, 106, 0, .12); transition: transform .3s; }
.toc details[open] summary::after { transform: rotate(45deg); }
.toc ol { list-style: none; counter-reset: t; display: grid; gap: 2px; padding: 0 10px 12px; }
.toc li { counter-increment: t; }
.toc ol a { display: grid; grid-template-columns: 30px 1fr; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--text-2); font-size: .93rem; font-weight: 600; line-height: 1.4; transition: background .2s, translate .2s, color .2s; }
.toc ol a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-display); font-size: .72rem; font-weight: 700; color: var(--pink-2); padding-top: 3px; }
.toc ol a:hover { background: rgba(255, 106, 0, .1); color: var(--text); translate: 4px 0; }
.toc ol a.is-active { background: var(--grad); color: #1A0905; box-shadow: 0 0 18px rgba(255, 106, 0, .55); }
.toc ol a.is-active::before { color: #1A0905; }
.toc .toc-cta { margin-top: 18px; padding: 20px; border: 1.5px solid var(--pink); border-radius: 20px; background: radial-gradient(120% 120% at 0 0, rgba(255, 61, 127, .3), transparent 60%), rgba(24, 12, 20, .9); color: var(--text-2); font-size: .92rem; font-weight: 600; box-shadow: var(--glow-pink); }
.toc .toc-cta strong { display: block; font-family: var(--f-display); font-size: 1rem; margin-bottom: 4px; }
.toc .toc-cta .btn { margin-top: 12px; width: 100%; }
@media (max-width: 1023px) { .toc .toc-cta { display: none; } }

.prose { min-width: 0; font-size: 1.04rem; }
.prose > section { margin-bottom: 60px; }
.prose h2 { font-size: clamp(1.4rem, 3.2vw, 2.05rem); margin-bottom: 18px; }
.prose h3 { font-size: clamp(1.02rem, 2vw, 1.22rem); margin: 30px 0 12px; color: var(--o4); }
.prose ul.list { list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.prose ul.list li { position: relative; padding-left: 30px; }
.prose ul.list li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 11px; height: 11px; border-radius: 3px; background: var(--o); box-shadow: 0 0 10px var(--o); transform: rotate(45deg); }
.prose a:not(.btn):not(.link-arrow) { color: var(--o3); font-weight: 700; text-underline-offset: 3px; }
.path { font-weight: 800; color: var(--o4); background: rgba(255, 106, 0, .14); padding: 1px 7px; border-radius: 6px; border: 1px solid rgba(255, 138, 43, .35); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
kbd { font-family: var(--f-body); font-size: .88em; font-weight: 800; padding: 1px 8px; border: 1px solid var(--o2); border-bottom-width: 3px; border-radius: 7px; background: var(--dark); color: var(--o4); box-shadow: 0 0 8px rgba(255, 106, 0, .4); }
.steps { list-style: none; counter-reset: st; display: grid; gap: 18px; margin: 20px 0 8px; }
.step { counter-increment: st; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 20px; border: 1.5px solid var(--line-soft); border-radius: 22px; background: var(--surface); box-shadow: var(--glow); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.step:hover { transform: perspective(800px) rotateX(4deg) rotateY(-4deg) translate(-2px, -2px); border-color: var(--o2); box-shadow: var(--glow-strong); }
.step::before { content: counter(st); width: 56px; height: 56px; display: grid; place-items: center; border: 1.5px solid var(--o4); border-radius: 16px; background: var(--grad); color: #1A0905; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; box-shadow: 0 0 20px rgba(255, 106, 0, .6); transform: rotate(-5deg); }
.step h3 { margin: 4px 0 6px; font-size: 1.02rem; color: var(--text); }
.step p { margin: 0; }
.step p + p { margin-top: 8px; }
@media (max-width: 479px) { .step { grid-template-columns: 1fr; gap: 12px; } .step::before { width: 46px; height: 46px; font-size: 1.15rem; } }
.split { display: grid; gap: 18px; margin: 18px 0; }
@media (min-width: 720px) { .split { grid-template-columns: 1fr 1fr; } }
.card-soft { padding: 22px; border: 1.5px solid var(--line-soft); border-radius: 22px; background: var(--surface); box-shadow: var(--glow); }
.card-soft h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.card-soft h3 .ic { color: var(--o3); filter: drop-shadow(0 0 6px var(--o)); }
.card-soft p:last-child, .card-soft ul:last-child { margin-bottom: 0; }
.trouble { display: grid; gap: 14px; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1.5px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--glow); }
.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.table-wrap thead th { background: rgba(10, 5, 9, .85); color: var(--pink-2); font-family: var(--f-display); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 0 8px var(--pink); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) td { background: rgba(255, 106, 0, .04); }
.table-wrap tbody tr:hover td { background: rgba(255, 106, 0, .12); }
.table-wrap td:first-child { font-weight: 800; color: var(--text); }
.table-wrap a { color: var(--o3); font-weight: 800; }

.dl-list { display: grid; gap: 30px; }
.dl-device { display: grid; gap: 24px; padding: 28px 22px; border: 1.5px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--drop), var(--glow); }
.dl-device:nth-child(even) { border-color: rgba(255, 61, 127, .55); box-shadow: var(--drop), var(--glow-pink); }
@media (min-width: 640px) { .dl-device { padding: 34px; } }
@media (min-width: 960px) { .dl-device { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 38px; } }
.dl-device h2 { margin: 0; font-size: clamp(1.2rem, 2.6vw, 1.65rem); }
.dl-device .dl-head { margin-bottom: 6px; }
.dl-side { display: grid; gap: 14px; align-content: start; }
.dl-side .btn { width: 100%; }
.method { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-2); text-shadow: 0 0 8px var(--pink); }
.method .ic { width: 16px; height: 16px; }

.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 150px 0 60px; }
.nf .big-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 26vw, 13rem); line-height: 1; color: #FFF0DD; text-shadow: var(--neon), 0 0 100px rgba(255, 61, 127, .6); animation: x3d 4s ease-in-out infinite, flicker 4s linear infinite; }
.nf .hero-actions { justify-content: center; }

.section.clip { overflow: hidden; }

/* ---------- Aparición 3D ---------- */
.js .reveal { opacity: 0; transform: perspective(1000px) rotateX(-28deg) translateY(50px) scale(.96); transform-origin: 50% 0; transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.js .reveal.from-left { transform: perspective(1000px) rotateY(24deg) translateY(40px); transform-origin: 0 50%; }
.js .reveal.from-right { transform: perspective(1000px) rotateY(-24deg) translateY(40px); transform-origin: 100% 50%; }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s !important; }
.reveal-d2 { transition-delay: .2s !important; }
.reveal-d3 { transition-delay: .3s !important; }

@media (max-width: 559px) {
  .scene { --s: .44; height: 320px; }
  .orbit { height: 300px; }
  .orbit-core { transform: rotateX(calc(var(--tilt) * -1)) translateY(-22px); }
  .orbit-core .cube { --c: 58px; }
  .planet { width: 70px; margin: -30px 0 0 -35px; }
  .planet span { width: 46px; height: 46px; border-radius: 14px; }
  .planet span .ic { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .msg { opacity: 1; }
}
@media (max-width: 759px) {
  .section > .shape { display: none; }
  .ph-decor .floor { opacity: .4; }
}
@media (max-width: 479px) { .stamp { right: -4px; width: 96px; height: 96px; } }
