/* =====================================================================
   YUPY · Página web (yupyapp.com)
   Paleta de marca: amarillo #FFD700 · naranja #FF8C00 · menta #98FB98 ·
   celeste #87CEEB · gris oscuro #36454F. Fondo gris carbón profundo,
   vidrio, acentos amarillo→naranja. Escena 3D fija detrás (landing.js).
   Lo comparten todas las páginas (inicio, planes, funciones, negocios,
   finanzas personales); site.js trae el menú, los planes y la aparición.
   ===================================================================== */
:root {
  --bg: #0b1114;
  --bg-2: #111a1f;
  --ink: #f6f8f3;
  --ink-2: #c9d3d6;
  --mute: #8e9ea6;
  --glass: rgba(23, 33, 39, .55);
  --glass-strong: rgba(17, 25, 30, .84);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .17);
  --edge: rgba(255, 255, 255, .07);
  --yellow: #ffd700;
  --orange: #ff8c00;
  --mint: #98fb98;
  --sky: #87ceeb;
  --charcoal: #36454f;
  --accent: #ffd700;
  --grad: linear-gradient(135deg, #ffe14d 0%, #ffc400 45%, #ff8c00 100%);
  --grad-text: linear-gradient(100deg, #ffe14d 0%, #ffb300 50%, #ff8c00 100%);
  --ink-on-grad: #1b252b;
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .85);
  --nav-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font: 17px/1.6 "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(255, 215, 0, .4); color: #1b252b; }

/* ---------------- Escenario 3D ---------------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#escena { width: 100%; height: 100%; display: block; }
.stage-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 40% at 72% 28%, rgba(255, 196, 0, .2), transparent 70%),
    radial-gradient(35% 35% at 18% 82%, rgba(135, 206, 235, .12), transparent 70%),
    radial-gradient(30% 30% at 88% 88%, rgba(255, 140, 0, .14), transparent 70%);
  mix-blend-mode: screen; opacity: .95;
}
.stage-fallback { display: none; position: absolute; right: 6vw; top: 18vh; width: min(300px, 40vw); border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #1b262d; }
.no-webgl .stage-fallback { display: block; }
.no-webgl #escena { display: none; }
/* Páginas sin 3D: fondo con brillo suave de la paleta */
body:not(.page-home) { background:
  radial-gradient(60% 50% at 80% 0%, rgba(255, 196, 0, .12), transparent 70%),
  radial-gradient(50% 40% at 0% 30%, rgba(135, 206, 235, .08), transparent 70%),
  var(--bg); background-attachment: fixed; }

/* ---------------- Navegación de vidrio ---------------- */
.nav {
  position: fixed; z-index: 50; left: 50%; top: calc(14px + env(safe-area-inset-top)); transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px)); height: var(--nav-h); padding: 0 12px 0 16px;
  display: flex; align-items: center; gap: 18px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 22px;
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--edge), 0 20px 50px -30px rgba(0, 0, 0, .6);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; font-size: 1.22rem; letter-spacing: -.03em; }
.brand-logo, .brand img { width: 36px; height: 36px; border-radius: 10px; filter: drop-shadow(0 8px 16px rgba(255, 170, 0, .35)); }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 9px 13px; border-radius: 12px; font-size: .92rem; font-weight: 560; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--line); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-btn {
  width: 42px; height: 42px; border-radius: 13px; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
}
.menu-btn span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-movil {
  position: fixed; z-index: 49; left: 14px; right: 14px; top: calc(var(--nav-h) + 24px + env(safe-area-inset-top));
  display: grid; gap: 6px; padding: 14px; border-radius: 22px; background: var(--glass-strong); border: 1px solid var(--line);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: var(--shadow);
}
.menu-movil[hidden] { display: none; }
.menu-movil a:not(.btn) { padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.menu-movil a:not(.btn):active { background: var(--line); }

/* ---------------- Botones ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 44px; padding: 0 18px; border-radius: 14px; font-weight: 680; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 15px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 1.02rem; border-radius: 16px; }
.btn-xl { min-height: 60px; padding: 0 30px; font-size: 1.08rem; border-radius: 18px; }
.btn-glow { color: var(--ink-on-grad); background: var(--grad); box-shadow: 0 14px 34px -12px rgba(255, 160, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(255, 160, 0, 1), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { color: var(--ink); background: var(--glass); border-color: var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { background: var(--line); }

/* ---------------- Secciones ---------------- */
main { position: relative; z-index: 2; }
.sec { position: relative; min-height: 100vh; padding: 130px max(20px, calc((100% - 1180px) / 2)) 90px; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-sub { color: var(--mute); font-size: 1.05rem; line-height: 1.6; margin-top: 14px; }
.sec-sub b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.kicker { display: inline-block; margin: 0 0 14px; font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 790; }
h3 { font-size: 1.24rem; font-weight: 720; letter-spacing: -.02em; line-height: 1.2; }
.sub { color: var(--ink-2); font-size: 1.08rem; margin: 18px auto 0; max-width: 580px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.glass {
  background: var(--glass); border: 1px solid var(--line); border-radius: 26px;
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--edge), var(--shadow);
}
.center-row { display: flex; justify-content: center; margin-top: 30px; }
.link-more { display: inline-block; font-weight: 680; color: var(--yellow); }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 1. Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 120px max(20px, calc((100% - 1180px) / 2)) 80px; overflow: clip; }
.hero-back {
  position: absolute; z-index: -1; left: 50%; top: 52%; transform: translate(-50%, -50%);
  font-size: clamp(9rem, 32vw, 30rem); font-weight: 850; letter-spacing: -.07em; line-height: .8; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 215, 0, .14);
  background: linear-gradient(180deg, rgba(255, 215, 0, .1), rgba(255, 215, 0, 0) 75%); -webkit-background-clip: text; background-clip: text;
  pointer-events: none; user-select: none;
}
.hero-front { position: relative; max-width: 640px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 14px; border-radius: 99px;
  font-size: .86rem; font-weight: 640; color: var(--ink-2); background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.6rem); font-weight: 830; }
.lead { margin: 22px 0 0; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 560px; }
.lead b { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center { justify-content: center; }
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 20px 0 0; font-size: .88rem; color: var(--mute); }
.hero-checks li::before { content: "✓ "; color: var(--mint); font-weight: 800; }
.scroll-hint {
  position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .22em; color: var(--mute);
}
.mouse { width: 24px; height: 38px; border-radius: 14px; border: 2px solid var(--line-2); display: flex; justify-content: center; padding-top: 7px; }
.mouse i { width: 4px; height: 8px; border-radius: 4px; background: var(--yellow); animation: rueda 1.8s var(--ease) infinite; }
@keyframes rueda { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* 2. Cómo funciona */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 560px; }
.paso { position: relative; padding: 26px 26px 26px 88px; transition: border-color .4s; }
.paso p { margin: 8px 0 0; color: var(--ink-2); font-size: .98rem; }
.paso-n {
  position: absolute; left: 24px; top: 24px; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center;
  font-weight: 800; color: var(--ink-on-grad); background: var(--grad); box-shadow: 0 12px 26px -10px rgba(255, 160, 0, .8);
}
.paso.is-on { border-color: rgba(255, 215, 0, .5); }

/* 3. Superpoderes */
.velocidad { display: flex; flex-direction: column; justify-content: center; }
.powers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 10px auto 0; width: 100%; }
.power { padding: 24px 22px; }
.power-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; font-size: 1.45rem; margin-bottom: 16px; background: rgba(255, 215, 0, .12); border: 1px solid rgba(255, 215, 0, .3); }
.power p { margin: 8px 0 0; color: var(--ink-2); font-size: .94rem; line-height: 1.5; }

/* 4. Dos mundos */
.mundos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1080px; margin: 0 auto; }
.mundo { position: relative; overflow: hidden; padding: 30px 30px 0; display: flex; flex-direction: column; }
.mundo-top { margin-bottom: 14px; }
.tag { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 99px; font-size: .78rem; font-weight: 720; color: #d9f2ff; background: rgba(135, 206, 235, .14); border: 1px solid rgba(135, 206, 235, .35); }
.mundo.personal .tag { color: #fff1b3; background: rgba(255, 215, 0, .13); border-color: rgba(255, 215, 0, .38); }
.mundo h3 { font-size: 1.6rem; }
.checks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: var(--sky); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.mundo.personal .checks li::before, .checks.warm li::before { background: var(--yellow); }
.checks.mint li::before { background: var(--mint); }
.mundo .link-more { margin-bottom: 22px; }
.mundo-shot { margin: auto auto 0; width: min(260px, 70%); border-radius: 30px 30px 0 0; overflow: hidden; border: 7px solid #1b262d; border-bottom: 0; box-shadow: 0 -10px 60px -20px rgba(255, 170, 0, .45); transform: translateY(18px); }
.mundo-shot img { width: 100%; height: auto; }

/* 5. Hecho para Venezuela */
.numeradas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1080px; }
.num { padding: 28px; }
.num-n { display: block; font-size: 3.2rem; font-weight: 830; letter-spacing: -.06em; line-height: 1; margin-bottom: 18px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num p { margin: 10px 0 0; color: var(--ink-2); font-size: .97rem; }

/* 6. Bloques de contenido (sin coreografía 3D) */
.mas { position: relative; }
.mas::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0, rgba(11, 17, 20, .82) 160px, rgba(11, 17, 20, .92)); }
.block { padding: 110px max(20px, calc((100% - 1180px) / 2)) 30px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto; }
.tile { padding: 24px; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(255, 215, 0, .35); }
.tile p { margin: 8px 0 0; color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.tile-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-size: 1.3rem; margin-bottom: 14px; background: rgba(255, 215, 0, .1); border: 1px solid rgba(255, 215, 0, .26); }
.tile-big { grid-column: span 2; flex-direction: row; gap: 22px; overflow: hidden; padding-bottom: 0; max-height: 330px; }
.tile-big > div:first-child { flex: 1; padding-bottom: 24px; }
.tile-big h3 { font-size: 1.6rem; }
.tile-shot { flex: 0 0 210px; max-height: 300px; align-self: flex-end; border-radius: 26px 26px 0 0; overflow: hidden; border: 6px solid #1b262d; border-bottom: 0; box-shadow: 0 -10px 50px -18px rgba(255, 170, 0, .4); }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0 auto; max-width: 900px; }
.chips li { padding: 12px 18px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line-2); font-weight: 620; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; max-width: 1060px; margin: 0 auto; }
.plan { position: relative; padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.plan-tag { display: block; font-size: 13px; font-weight: 700; opacity: .7; margin: 2px 0 6px; }
.plan-day { display: block; font-size: 13px; font-weight: 600; opacity: .65; margin-top: 2px; }
.plan.is-popular { border-color: rgba(255, 215, 0, .55); box-shadow: 0 0 0 1px rgba(255, 215, 0, .25), 0 30px 80px -30px rgba(255, 170, 0, .45); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 99px; font-size: .74rem; font-weight: 800; color: var(--ink-on-grad); background: var(--grad); white-space: nowrap; }
.plan-name { font-size: 1.15rem; font-weight: 760; }
.plan-price { font-size: 2.8rem; font-weight: 840; letter-spacing: -.05em; line-height: 1; }
.plan-price small { font-size: .95rem; font-weight: 600; color: var(--mute); letter-spacing: 0; }
.plan-desc { margin: 0; color: var(--ink-2); font-size: .95rem; }
.plan .checks { margin: 6px 0 14px; }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; color: var(--mute); font-size: .88rem; margin: 18px 0 0; }

/* Confianza */
.trust { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; max-width: 1100px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); align-items: center; }
.trust-story h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.trust-story p { color: var(--ink-2); margin: 16px 0 0; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust-list li { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); display: grid; gap: 4px; }
.trust-list span { color: var(--mute); font-size: .88rem; line-height: 1.4; }

/* Preguntas frecuentes */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .3s; }
.faq details[open] { border-color: rgba(255, 215, 0, .4); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; color: var(--yellow); background: rgba(255, 215, 0, .1); transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }

/* Llamado final */
.cta-final { max-width: 880px; margin: 30px auto 80px; padding: clamp(36px, 6vw, 64px); text-align: center; border-color: rgba(255, 215, 0, .32); background: var(--glass-strong); }
.cta-logo { margin: 0 auto 18px; border-radius: 20px; box-shadow: 0 18px 50px -14px rgba(255, 170, 0, .6); animation: flota 5s ease-in-out infinite; }
@keyframes flota { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-3deg); } }
.cta-final h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cta-final p { color: var(--ink-2); margin: 16px 0 0; }

/* Páginas internas (planes, funciones, negocios, finanzas) */
.page-hero { padding: 150px max(20px, calc((100% - 1180px) / 2)) 30px; text-align: center; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 830; max-width: 900px; margin: 0 auto; }
.page-hero .lead { margin: 20px auto 0; max-width: 640px; }
.page-hero .cta-row { justify-content: center; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1100px; margin: 0 auto; }
.split .shot { justify-self: center; width: min(300px, 80%); border-radius: 36px; overflow: hidden; border: 8px solid #1b262d; box-shadow: 0 40px 90px -30px rgba(255, 170, 0, .35); }
.split h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.split p { color: var(--ink-2); }

/* Footer */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--glass-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.footer-in { max-width: 1180px; margin: 0 auto; padding: 40px 20px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand p { margin: 10px 0 0; color: var(--mute); font-size: .92rem; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 28px 56px; }
.footer-cols div { display: grid; gap: 8px; align-content: start; }
.footer-cols b { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }
.footer-cols a { color: var(--ink-2); font-size: .94rem; }
.footer-cols a:hover { color: var(--yellow); }
.footer-copy { max-width: 1180px; margin: 0 auto; padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--mute); font-size: .86rem; }

/* Aparición de bloques (la anima GSAP; sin JS se ven igual) */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ---------------- Teléfono y tablet ---------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .powers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numeradas { grid-template-columns: 1fr; max-width: 560px; }
  .bento, .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-big { grid-column: span 2; grid-row: auto; }
  .trust, .split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .nav { gap: 10px; padding: 0 8px 0 12px; border-radius: 19px; }
  .brand-logo, .brand img { width: 32px; height: 32px; }
  .hide-sm { display: none !important; }
  .menu-btn { display: flex; }
  .hero { align-items: end; padding-top: 50vh; padding-bottom: 110px; }
  .hero-back { top: 28%; font-size: 46vw; }
  .cta-row .btn { flex: 1 1 auto; }
  .sec { padding-top: 110px; }
  .paso { padding: 22px 20px 22px 78px; }
  .paso-n { left: 18px; top: 20px; width: 42px; height: 42px; }
  .powers { grid-template-columns: 1fr; }
  .mundos-grid { grid-template-columns: 1fr; }
  .mundo { padding: 24px 22px 0; }
  .bento, .feature-list { grid-template-columns: 1fr; }
  .tile-big { grid-column: auto; flex-direction: column; }
  .tile-shot { flex: none; width: min(240px, 80%); align-self: center; }
  .trust-list { grid-template-columns: 1fr; }
  .block { padding-top: 80px; }
  .page-hero { padding-top: 120px; }
  .cta-row.center .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mouse i, .cta-logo { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------------- Teléfonos: sin vidrio borroso ----------------
   Oct 2026: decenas de tarjetas con desenfoque (backdrop-filter) encima de
   la animación 3D trababan los teléfonos. En pantallas táctiles las
   tarjetas usan un fondo sólido (se ven casi igual y no pesan). */
@media (hover: none) and (pointer: coarse) {
  .glass, .nav, .menu-movil, .pill, .btn-ghost, .chips li, .faq details, .footer {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  .glass { background: rgba(21, 31, 37, .94); }
  .nav { background: rgba(15, 22, 26, .94); }
  .menu-movil { background: rgba(15, 22, 26, .98); }
  .pill, .btn-ghost, .chips li, .faq details { background: rgba(28, 40, 47, .92); }
  .footer { background: #0e1518; }
  .stage-glow { mix-blend-mode: normal; opacity: .6; }
}

/* ===== Oct 2026 (Julio): página Gracias, contacto y reseñas ===== */
.thanks { min-height: 100svh; display: grid; place-items: center; padding: 120px 20px 60px; }
.thanks-card { width: min(640px, 100%); text-align: center; padding: 40px 28px 30px; border-radius: 32px; }
.thanks-card h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 830; line-height: 1.05; margin: 8px 0 0; }
.thanks-card .lead { margin: 16px auto 0; max-width: 480px; }
.thanks-logo { position: relative; width: 120px; height: 120px; margin: 0 auto 18px; display: grid; place-items: center; }
.thanks-logo img { position: relative; z-index: 1; border-radius: 26px; box-shadow: 0 20px 50px -15px rgba(255, 196, 0, .55); animation: thanksPop .9s cubic-bezier(.2, 1.6, .4, 1) both; }
.thanks-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 215, 0, .45); animation: thanksRing 2.4s ease-out infinite; }
.thanks-ring.r2 { animation-delay: 1.2s; }
@keyframes thanksPop { from { transform: scale(.3) rotate(-25deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes thanksRing { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.thanks-steps { list-style: none; margin: 28px 0 26px; padding: 0; display: grid; gap: 12px; text-align: left; }
.thanks-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.thanks-steps li > span { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #1b1f24; background: linear-gradient(135deg, #FFD700, #FF8C00); }
.thanks-steps b { display: block; font-size: 1.02rem; }
.thanks-steps small { display: block; color: var(--ink-2); margin-top: 2px; line-height: 1.45; }
.thanks-help { margin: 18px 0 0; font-size: .9rem; color: var(--mute); }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; }
.review { margin: 0; padding: 24px; border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.review-stars { color: #FFD700; letter-spacing: 2px; font-size: 1.05rem; }
.review-stars span { color: rgba(255, 255, 255, .2); }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review figcaption b { display: block; }
.review figcaption small { color: var(--mute); }
.review-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #1b1f24; background: linear-gradient(135deg, #98FB98, #87CEEB); }

/* Oct 2026: página de bienvenida después de pagar el plan (/bienvenido) */
.page-bienvenido .confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.page-bienvenido .confetti i { position: absolute; top: -20px; height: 12px; border-radius: 2px; opacity: .9; animation: confettiFall var(--du) linear var(--d) infinite; transform: rotate(var(--r)); }
@keyframes confettiFall { 0% { transform: translateY(-20px) rotate(var(--r)); } 100% { transform: translateY(110vh) rotate(calc(var(--r) + 720deg)); } }
.page-bienvenido .thanks { position: relative; z-index: 1; }
.welcome-perks { list-style: none; margin: 24px auto 0; padding: 0; max-width: 460px; display: grid; gap: 10px; text-align: left; }
.welcome-perks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.welcome-perks li span { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 900; color: #14532d; background: #98FB98; }
.page-bienvenido .cta-row { gap: 12px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .page-bienvenido .confetti { display: none; } }

/* Oct 2026: pestañas de planes (negocios / restaurantes) */
.plan-switch { display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 22px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.plan-switch button { border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-weight: 700; opacity: .7; }
.plan-switch button.is-on { background: #FFD700; color: #1b252b; opacity: 1; }

/* Descargar la app (21 oct 2026): enlace bajo los botones de la portada y franja antes del cierre. */
.hero-dl { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--ink-2); font-weight: 600; font-size: .98rem; text-decoration: none; border-bottom: 1px dashed rgba(255, 215, 0, .5); padding-bottom: 2px; }
.hero-dl:hover { color: var(--ink); border-bottom-color: #FFD700; }
.hero-dl svg { color: #FFD700; }
.dl-band { max-width: 980px; margin: 20px auto 0; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; border-color: rgba(255, 215, 0, .22); }
.dl-band-text { flex: 1 1 360px; }
.dl-band-text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 0; }
.dl-band-text p:last-child { color: var(--ink-2); margin: 12px 0 0; max-width: 46ch; }
.dl-band-btns { display: flex; flex-direction: column; gap: 12px; flex: 0 1 280px; }
.dl-band-btns .btn { justify-content: center; }
@media (max-width: 640px) { .dl-band-btns { flex-basis: 100%; } }

/* 19 nov 2026: Descargar: video del tutorial o teléfono animado con cada paso (descargar.js). */
.dl-warn { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 14px 0 0; padding: 12px 14px; border-radius: 16px; background: rgba(255, 140, 0, .12); border: 1px solid rgba(255, 140, 0, .35); font-size: 14px; line-height: 1.45; }
.dl-show { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 24px 0 4px; }
.dl-video { width: 100%; max-width: 320px; border-radius: 22px; background: #000; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.dl-phone { width: 232px; aspect-ratio: 9 / 19; padding: 9px; border-radius: 40px; background: #0d1114; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 30px 60px -28px rgba(0, 0, 0, .8); }
.dl-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: linear-gradient(170deg, #3f505b, #2b3740); color: #f3f6f8; font-size: 12px; }
.dl-frame { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: scale(.97); transition: opacity .45s ease, transform .45s ease; }
.dl-frame.is-on { opacity: 1; transform: none; }
.dl-bar { margin: 26px 12px 0; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-size: 11px; color: rgba(255, 255, 255, .8); }
.dl-bar i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); }
.dl-bar-bottom { margin: auto 12px 18px; }
.dl-page { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; text-align: center; }
.dl-page b { font-size: 15px; }
.dl-dim { opacity: .35; }
.dl-btn { padding: 9px 14px; border-radius: 12px; font-weight: 800; color: #1d1606; background: linear-gradient(135deg, #FFD700, #FF8C00); }
.dl-input { width: 100%; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .55); text-align: left; min-height: 30px; box-sizing: border-box; }
.dl-tools { margin-top: auto; display: flex; justify-content: space-around; align-items: center; padding: 12px 8px 22px; background: rgba(0, 0, 0, .25); font-size: 17px; color: #8ec5ff; }
.dl-share { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.dl-notif { margin: 30px 10px 0; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .92); color: #14181b; text-align: left; }
.dl-notif small { display: block; color: #55626b; font-size: 10.5px; }
.dl-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #FFD700; font-weight: 800; }
.dl-sheet { margin: auto 10px 18px; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .95); color: #14181b; text-align: left; }
.dl-sheet small { color: #55626b; }
.dl-menu span { padding: 8px 4px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.dl-menu span:last-child { border-bottom: 0; }
.dl-switch { align-self: flex-end; width: 38px; height: 22px; border-radius: 99px; background: #34c759; position: relative; }
.dl-switch i { position: absolute; right: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.dl-dialog { margin: auto 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, .95); color: #14181b; text-align: center; }
.dl-row { display: flex; gap: 22px; font-weight: 700; color: #2f7a52; }
.dl-strong { font-weight: 800; color: #0a7cff; border-radius: 8px; padding: 2px 6px; }
.dl-home { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; align-content: center; padding: 20px; }
.dl-home > span { aspect-ratio: 1; border-radius: 14px; background: rgba(255, 255, 255, .14); }
.dl-app { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: #36454F !important; box-shadow: 0 0 0 2px #FFD700; animation: dl-pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.dl-app small { font-size: 9.5px; color: #fff; }
.dl-tap { position: relative; }
.dl-frame.is-on .dl-tap::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: dl-tap 1.4s ease-out .5s infinite; pointer-events: none; }
.dl-caption { margin: 0; min-height: 1.4em; font-weight: 700; font-size: 15px; }
.thanks-steps li.is-now { border-color: rgba(255, 196, 0, .7); background: rgba(255, 196, 0, .1); }
@keyframes dl-tap { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes dl-pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dl-frame { transition: none; } .dl-frame.is-on .dl-tap::after, .dl-app { animation: none; } }
.thanks-steps small b { display: inline !important; font-size: inherit; }
