/* =========================================================
   REDISEÑA — Estilos principales
   ========================================================= */

:root {
  --bg: #050507;
  --bg-2: #0b0b10;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f7;
  --text-2: #a1a1aa;
  --text-3: #6b6b76;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --amber: #fbbf24;
  --green: #34d399;
  --grad: linear-gradient(100deg, #a78bfa 0%, #60a5fa 45%, #22d3ee 75%, #f0abfc 100%);
  --radius: 22px;
  --radius-lg: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }

.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.gradient-text { background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.mt { margin-top: 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2); margin: 0 0 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

@media (max-width: 480px) {
  .eyebrow { letter-spacing: .08em; font-size: 12px; gap: 8px; }
  .hero__eyebrow { max-width: 100%; text-align: center; justify-content: center; }
}

/* ---------- Botones ---------- */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .4s var(--ease), opacity .3s;
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn--sm { --pad: 9px 18px; font-size: 14px; }
.btn--lg { --pad: 18px 32px; font-size: 17px; }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: #e9e9ee; }
.btn--primary { background: #fff; color: #000; box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
.btn--primary::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: var(--grad); background-size: 200% auto; filter: blur(14px); opacity: .55;
  animation: shine 6s linear infinite; transition: opacity .4s;
}
.btn--primary:hover::before { opacity: .95; }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); backdrop-filter: blur(10px); }
.btn--ghost:hover:not(:disabled) { background: var(--surface-2); border-color: rgba(255,255,255,.3); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Barra de progreso ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px var(--gutter); transition: transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner {
  max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 20px; border-radius: 999px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled .nav__inner { background: rgba(12, 12, 16, .66); border-color: var(--border); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .08em; font-size: 16px; }
.brand__mark { width: 22px; height: 22px; border-radius: 7px; background: var(--grad); background-size: 200% auto; animation: shine 6s linear infinite; position: relative; }
.brand__mark::after { content: ""; position: absolute; inset: 5px; border-radius: 3px; background: var(--bg); }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { font-size: 14px; color: var(--text-2); text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__client { display: inline-flex; align-items: center; gap: 7px; color: var(--text) !important; }
.nav__client span { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; color: #6ee7b7; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3); }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 6px; margin: 10px auto 0; max-width: var(--max); padding: 18px; border-radius: 24px; background: rgba(12,12,16,.92); border: 1px solid var(--border); backdrop-filter: blur(20px); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 8px; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 10px; }

@media (max-width: 900px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__burger { display: block; }
  .theme-sw { margin-left: auto; }
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gutter) 80px; overflow: hidden; text-align: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.blob--1 { width: 46vmax; height: 46vmax; background: radial-gradient(circle, #6d28d9 0%, transparent 65%); top: -18vmax; left: -10vmax; animation: float1 18s ease-in-out infinite; }
.blob--2 { width: 40vmax; height: 40vmax; background: radial-gradient(circle, #1d4ed8 0%, transparent 65%); bottom: -16vmax; right: -12vmax; animation: float2 22s ease-in-out infinite; }
.blob--3 { width: 26vmax; height: 26vmax; background: radial-gradient(circle, #0891b2 0%, transparent 65%); top: 40%; left: 55%; opacity: .35; animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translate(8vmax, 6vmax) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-6vmax, -8vmax) scale(.92); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
.hero__content { max-width: 980px; }
.hero__title { font-size: clamp(54px, 11vw, 150px); line-height: .95; letter-spacing: -0.045em; font-weight: 700; margin: 0 0 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__title .serif { font-size: 1.08em; padding-right: .06em; }
.hero__lead { font-size: clamp(17px, 2vw, 21px); color: var(--text-2); max-width: 680px; margin: 0 auto 40px; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__trust { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; color: var(--text-2); font-size: 14px; }
.hero__trust span { color: var(--cyan); margin-right: 6px; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--border-strong); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- SHOWCASE (MacBook 3D que se abre con el scroll) ---------- */
.showcase { position: relative; height: 520vh; }
.showcase__pin {
  --cap-h: clamp(110px, 19vh, 190px);
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px 0 24px;
}
.showcase__captions { position: relative; width: 100%; height: var(--cap-h); flex-shrink: 0; text-align: center; pointer-events: none; z-index: 3; }
.caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; padding: 0 var(--gutter); font-size: clamp(26px, 4vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; opacity: 0; }
.tag { display: block; width: max-content; margin: 0 auto 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; font-weight: 600; }
.tag--old { background: rgba(239, 68, 68, .14); color: #fca5a5; border: 1px solid rgba(239, 68, 68, .3); }
.tag--new { background: rgba(52, 211, 153, .12); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, .3); }

.stage {
  position: relative;
  width: min(920px, 84vw, calc((100svh - var(--cap-h) - 270px) * 1.52));
  margin: clamp(28px, 5vh, 56px) 0 clamp(40px, 8vh, 90px);
  perspective: 2400px; perspective-origin: 50% 10%;
}
.laptop { position: relative; width: 100%; aspect-ratio: 1.52; transform-style: preserve-3d; transform-origin: 50% 100%; }

/* tapa — aluminio gris espacial */
.laptop {
  --t: clamp(4px, .55vw, 8px); /* grosor */
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --alu: linear-gradient(162deg, #55565c 0%, #3d3e43 38%, #333438 62%, #2a2b2f 100%);
}
.laptop__lid { position: absolute; inset: 0; transform-origin: 50% 100%; transform-style: preserve-3d; }
.lid__front, .lid__back { position: absolute; inset: 0; border-radius: 2.6% / 4%; }
.lid__front { background: #050506; padding: 2.3% 2.1% 3.2%; box-shadow: inset 0 0 0 1.5px #1c1d21, 0 0 0 1px #4d4e54, 0 0 0 2px #26272b; }
.lid__back {
  visibility: hidden; /* JS la muestra solo cuando la tapa está cerrada */
  transform: translateZ(calc(var(--t) * -1)) rotateY(180deg);
  display: grid; place-items: center;
  background:
    var(--noise),
    radial-gradient(120% 90% at 25% 0%, rgba(255,255,255,.13), transparent 55%),
    linear-gradient(100deg, transparent 40%, rgba(255,255,255,.05) 50%, transparent 60%),
    var(--alu);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -10px 24px rgba(0,0,0,.35);
}
.lid__logo { width: 6.5%; aspect-ratio: 1; border-radius: 28%; position: relative; background: linear-gradient(145deg, #77787e 0%, #2b2c30 55%, #1d1e21 100%); box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 0 0 1px rgba(0,0,0,.25); }
.lid__logo::after { content: ""; position: absolute; inset: 26%; border-radius: 22%; background: linear-gradient(145deg, #3a3b40, #4a4b51); box-shadow: inset 0 1px 2px rgba(0,0,0,.5); }
/* canto superior de la tapa (da grosor al cerrar) */
.lid__edge { position: absolute; left: .4%; right: .4%; top: 0; height: var(--t); transform-origin: 50% 0; transform: translateZ(calc(var(--t) * -1)) rotateX(90deg); background: linear-gradient(180deg, #6a6b71, #2f3034); border-radius: 4px; }
.lid__camera { position: absolute; top: 1%; left: 50%; translate: -50% 0; width: .55%; aspect-ratio: 1; border-radius: 50%; background: #1f2027; box-shadow: 0 0 0 1px #15151a; z-index: 2; }
.laptop__screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; container-type: inline-size; }
.screen-off { position: absolute; inset: 0; z-index: 3; background: radial-gradient(120% 90% at 30% 0%, #141418 0%, #030304 60%); opacity: 0; pointer-events: none; }
.screen-glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 28%, transparent 42%); }

/* base / teclado */
.laptop__deck {
  position: absolute; left: -1.6%; right: -1.6%; top: 100%; height: 100%;
  transform-origin: 50% 0; transform: rotateX(90deg) translateZ(-3px); transform-style: preserve-3d;
  background:
    var(--noise),
    radial-gradient(90% 70% at 50% 0%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(180deg, #2d2e32 0%, #3b3c41 25%, #36373b 100%);
  border-radius: 1% 1% 4% 4% / 1.5% 1.5% 6% 6%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), inset 0 -2px 0 rgba(255,255,255,.12);
}
.deck__keys {
  position: absolute; left: 13%; right: 13%; top: 6%; height: 40%; border-radius: 1.2%;
  background-color: #0b0b0d;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 6.4%, #2c2d31 6.4% 7.143%),
    repeating-linear-gradient(180deg, transparent 0 14.8%, #2c2d31 14.8% 16.667%);
  box-shadow: inset 0 0 0 2px #2c2d31, 0 0 0 1px rgba(0,0,0,.35);
}
.deck__speaker { position: absolute; top: 6%; height: 40%; width: 8.5%; background-image: radial-gradient(circle, #121214 38%, transparent 42%); background-size: 6px 6px; opacity: .85; }
.deck__speaker--l { left: 2.5%; }
.deck__speaker--r { right: 2.5%; }
.deck__pad { position: absolute; left: 30%; right: 30%; top: 52%; bottom: 7%; border-radius: 3%; background: var(--noise), linear-gradient(180deg, #34353a, #3e3f44); box-shadow: inset 0 0 0 1px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); }
.deck__front {
  position: absolute; left: 0; right: 0; top: 100%; height: 2.4%;
  transform-origin: 50% 0; transform: rotateX(-90deg);
  background: linear-gradient(180deg, #5b5c62 0%, #2e2f33 60%, #1f2023 100%);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.deck__front span { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 13%; height: 55%; background: #18191b; border-radius: 0 0 8px 8px; }
.laptop__shadow { position: absolute; left: 4%; right: 4%; top: 92%; height: 28%; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 45%, transparent 75%); z-index: -1; pointer-events: none; }

.showcase__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.stage.is-3d .laptop, .stage.is-3d .laptop__shadow, .stage.is-3d .phone { opacity: 0 !important; }
.wipe-line { position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; background: #fff; box-shadow: 0 0 20px 4px rgba(139, 92, 246, .9), 0 0 60px 10px rgba(34, 211, 238, .5); opacity: 0; z-index: 2; }

.site { position: absolute; inset: 0; font-size: 1.6cqw; }
/* capa del sitio nuevo: se revela ensanchando este contenedor (sin clip-path, que falla en Safari con 3D) */
.site-new-clip { position: absolute; top: 0; bottom: 0; right: 0; width: 0; overflow: hidden; z-index: 1; }

/* sitio antiguo */
.site--old { background: #dcdcdc; color: #000; font-family: "Times New Roman", Times, serif; display: flex; flex-direction: column; }
.old__top { background: linear-gradient(#3a6ea5, #1f4a7a); color: #ff0; padding: 1.4% 2%; font-weight: bold; font-size: 1.3em; text-shadow: 1px 1px #000; }
.old__nav { background: #c0c0c0; border-top: 2px solid #fff; border-bottom: 2px solid #808080; padding: .8% 2%; color: #00e; }
.old__body { flex: 1; display: grid; grid-template-columns: 22% 1fr; gap: 2%; padding: 2%; }
.old__side { background: #ffffcc; border: 2px outset #ccc; padding: 6%; color: #800000; line-height: 1.6; }
.old__counter { display: inline-block; background: #000; color: #0f0; font-family: monospace; padding: 2px 6px; }
.old__main { background: #fff; border: 2px inset #ccc; padding: 2.5%; overflow: hidden; }
.old__h { font-family: "Comic Sans MS", cursive; color: #f00; font-size: 2.2em; text-align: center; font-weight: bold; }
.old__marquee { overflow: hidden; background: #ff0; color: #f00; font-weight: bold; margin: 1.5% 0; white-space: nowrap; }
.old__marquee span { display: inline-block; padding-left: 100%; animation: marquee 9s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.old__img { float: left; width: 30%; aspect-ratio: 4/3; margin: 0 3% 2% 0; background: repeating-linear-gradient(45deg, #ddd 0 6px, #eee 6px 12px); border: 1px solid #999; display: grid; place-items: center; color: #777; font-family: monospace; }
.old__main p { margin: 0 0 2%; }
.old__link { color: #00e; text-decoration: underline; }
.old__foot { background: #808080; color: #fff; text-align: center; padding: .8%; font-size: .9em; }

/* sitio nuevo */
.site--new { background: radial-gradient(120% 90% at 85% 10%, #1e1b4b 0%, #0a0a12 55%, #050507 100%); color: #fff; font-family: var(--font); inset: 0 0 0 auto; width: 100cqw; display: flex; flex-direction: column; padding: 3% 5%; }
.new__nav { display: flex; align-items: center; justify-content: space-between; font-size: 1.05em; }
.new__logo { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; letter-spacing: -.02em; }
.new__logo i { width: 1.1em; height: 1.1em; border-radius: .3em; background: var(--grad); }
.new__links { display: flex; gap: 2.2em; color: #a1a1aa; }
.new__links i { font-style: normal; }
.new__cta { background: #fff; color: #000; padding: .5em 1.2em; border-radius: 99px; font-weight: 600; }
.new__hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 4%; }
.new__text { display: flex; flex-direction: column; gap: 1.1em; }
.new__eyebrow { color: #a78bfa; font-size: .85em; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.new__h { font-size: 3.6em; line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.new__h em { font-family: var(--serif); font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.new__p { color: #a1a1aa; font-size: 1.1em; }
.new__btns { display: flex; gap: .8em; }
.new__btns b { background: #fff; color: #000; padding: .75em 1.4em; border-radius: 99px; font-weight: 600; }
.new__btns s { text-decoration: none; border: 1px solid rgba(255,255,255,.2); padding: .75em 1.4em; border-radius: 99px; }
.new__visual { position: relative; height: 80%; }
.orb { position: absolute; inset: 10% 12%; border-radius: 50%; background: conic-gradient(from 200deg, #8b5cf6, #3b82f6, #22d3ee, #f0abfc, #8b5cf6); box-shadow: 0 0 6em rgba(139, 92, 246, .55); }
.orb::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #312e81, #0a0a12 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
/* sin backdrop-filter/filter: Safari deja en negro estos efectos dentro de elementos 3D */
.glass { position: absolute; border-radius: .9em; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.glass.c1 { width: 38%; height: 22%; left: 0; bottom: 8%; }
.glass.c2 { width: 30%; height: 18%; right: 0; top: 6%; }
.new__stats { display: flex; gap: 8%; border-top: 1px solid rgba(255,255,255,.1); padding-top: 2.5%; color: #a1a1aa; font-size: .95em; }
.new__stats b { display: block; color: #fff; font-size: 1.6em; letter-spacing: -.03em; }
/* teléfono */
.phone { container-type: inline-size; position: absolute; right: -2%; bottom: 0; width: 22%; aspect-ratio: 9 / 19.5; background: #111; border-radius: 13% / 6%; padding: 2.2%; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 40px 80px -20px rgba(0,0,0,.9); opacity: 0; z-index: 4; }
.phone__screen { position: relative; height: 100%; border-radius: 11% / 5%; overflow: hidden; background: radial-gradient(140% 80% at 80% 0%, #1e1b4b, #050507 70%); padding: 18% 8% 8%; font-size: 4.4cqw; }
.phone__notch { position: absolute; top: 2.5%; left: 50%; translate: -50% 0; width: 32%; height: 3.6%; background: #000; border-radius: 99px; }
.m-nav { display: flex; justify-content: space-between; align-items: center; font-size: 1.4em; }
.m-burger { width: 1.4em; height: .8em; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.m-hero { display: flex; flex-direction: column; gap: 1em; margin-top: 22%; }
.m-hero .new__eyebrow { font-size: 1em; }
.m-h { font-size: 2.6em; font-weight: 700; line-height: 1.02; letter-spacing: -.04em; }
.m-h em { font-family: var(--serif); font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-btn { background: #fff; color: #000; border-radius: 99px; padding: .9em; text-align: center; font-size: 1.1em; }
.m-orb { margin: 10% auto 0; width: 70%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 200deg, #8b5cf6, #3b82f6, #22d3ee, #f0abfc, #8b5cf6); box-shadow: 0 0 3em rgba(139,92,246,.5); }

@media (max-width: 700px) {
  .showcase__pin { --cap-h: clamp(100px, 16vh, 150px); }
  .stage { width: min(90vw, calc((100svh - var(--cap-h) - 240px) * 1.52)); }
  .phone { width: 30%; right: -1%; }
  .new__links { display: none; }
}

/* ---------- STATEMENT ---------- */
.statement { padding: clamp(120px, 22vh, 240px) var(--gutter); max-width: 1100px; margin: 0 auto; }
.statement__text { font-size: clamp(30px, 5vw, 64px); line-height: 1.12; font-weight: 600; letter-spacing: -0.035em; margin: 0; }
.statement__text .w { opacity: .14; transition: opacity .1s; }

/* ---------- Secciones genéricas ---------- */
.section { padding: clamp(90px, 14vh, 160px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section__head { text-align: center; margin-bottom: clamp(48px, 8vh, 84px); }
.section__title { font-size: clamp(36px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; margin: 0; }
.reveal { will-change: transform, opacity; }

/* ---------- BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 16px; }
.tile {
  position: relative; overflow: hidden; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--border); transform-style: preserve-3d; transition: border-color .4s;
  min-height: 220px; display: flex; flex-direction: column;
}
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, .16), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover { border-color: var(--border-strong); }
.tile:hover::before { opacity: 1; }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile__icon { font-size: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); margin-bottom: auto; }
.tile h3 { font-size: 21px; letter-spacing: -0.02em; margin: 28px 0 8px; line-height: 1.2; }
.tile--xl h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; }
.tile p { color: var(--text-2); margin: 0; font-size: 15px; }
.tile--xl p { font-size: 17px; max-width: 420px; }
.tile__glow { position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -25%; background: radial-gradient(circle, rgba(139,92,246,.35), transparent 65%); filter: blur(30px); }
.art-palette { display: flex; gap: 10px; margin-top: 32px; }
.art-palette i { flex: 1; aspect-ratio: 1 / 1.4; border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); transition: transform .6s var(--ease); }
.art-palette i:nth-child(1) { background: #8b5cf6; } .art-palette i:nth-child(2) { background: #3b82f6; transition-delay: .04s; }
.art-palette i:nth-child(3) { background: #22d3ee; transition-delay: .08s; } .art-palette i:nth-child(4) { background: #f0abfc; transition-delay: .12s; }
.art-palette i:nth-child(5) { background: #f5f5f7; transition-delay: .16s; }
.tile--xl:hover .art-palette i { transform: translateY(-10px); }
.speed { position: absolute; right: 30px; top: 30px; }
.speed__ring { position: relative; width: 104px; height: 104px; }
.speed__ring svg { transform: rotate(-90deg); }
.speed__ring circle { fill: none; stroke-width: 9; }
.speed__ring .track { stroke: rgba(255,255,255,.08); }
.speed__ring .bar { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.8s var(--ease); }
.speed.is-on .bar { stroke-dashoffset: 10; }
.speed__ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; letter-spacing: -.03em; color: var(--green); }

@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile--xl, .tile--wide { grid-column: auto; grid-row: auto; }
  .speed { position: static; margin-top: 20px; }
}

/* ---------- PROCESO horizontal ---------- */
.process { position: relative; }
.process__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 90px 0 60px; }
.process__head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 56px; width: 100%; }
.process__track { display: flex; gap: 20px; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); width: max-content; will-change: transform; }
.step {
  width: clamp(280px, 30vw, 380px); min-height: 360px; flex-shrink: 0; padding: 34px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); border: 1px solid var(--border);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.step__num { font-size: 84px; line-height: 1; font-weight: 700; letter-spacing: -.06em; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.02)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.03em; margin: auto 0 12px; }
.step p { color: var(--text-2); margin: 0 0 22px; font-size: 16px; }
.step p strong { color: var(--text); }
.step__meta { align-self: flex-start; font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--border-strong); color: var(--text-2); }
.step--accent { background: linear-gradient(160deg, rgba(139,92,246,.28), rgba(34,211,238,.08)); border-color: rgba(139,92,246,.45); }
.step--accent .step__num { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.process__bar { margin: 48px var(--gutter) 0; max-width: var(--max); height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; align-self: center; width: calc(100% - 2 * var(--gutter)); }
.process__bar span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* sin JS / móvil: scroll horizontal nativo */
.process.no-pin .process__pin { overflow: visible; }
.process.no-pin .process__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 16px; scrollbar-width: none; }
.process.no-pin .process__track::-webkit-scrollbar { display: none; }
.process.no-pin .step { scroll-snap-align: start; }
.process.no-pin .process__bar { display: none; }

/* ---------- PRECIO ---------- */
.price-hero { position: relative; text-align: center; padding: clamp(50px, 8vw, 90px) 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); overflow: hidden; margin-bottom: 20px; }
.price-hero__glow { position: absolute; inset: auto 10% -60% 10%; height: 100%; background: radial-gradient(ellipse at center, rgba(139,92,246,.45), transparent 65%); filter: blur(40px); }
.price-hero__label { position: relative; color: var(--text-2); margin: 0; font-weight: 500; }
.price-hero__amount { position: relative; font-size: clamp(64px, 14vw, 180px); font-weight: 700; letter-spacing: -.06em; line-height: 1; margin: 10px 0 18px; font-variant-numeric: tabular-nums; }
.price-hero__amount .currency { font-size: .45em; vertical-align: .9em; margin-right: .08em; color: var(--text-2); }
.price-hero__note { position: relative; color: var(--text-2); margin: 0; font-size: 15px; }
.free-badge { display: inline-block; color: #6ee7b7; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3); padding: 3px 10px; border-radius: 99px; font-weight: 600; }

.pricing__lead { color: var(--text-2); max-width: 640px; margin: 22px auto 0; font-size: 17px; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-bottom: 18px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); }
.plan--featured { border-color: rgba(139,92,246,.55); background: linear-gradient(170deg, rgba(139,92,246,.2), rgba(34,211,238,.05) 60%, rgba(255,255,255,.01)); box-shadow: 0 40px 100px -50px rgba(139,92,246,.7); }
.plan__badge { position: absolute; top: -12px; left: 50%; translate: -50% 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #000; background: var(--grad); padding: 6px 14px; border-radius: 99px; white-space: nowrap; }
.plan__name { font-size: 26px; letter-spacing: -.03em; margin: 0; }
.plan__tag { margin: 4px 0 0; color: var(--text-2); font-size: 14px; font-weight: 500; }
.plan__price { font-size: clamp(40px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin: 22px 0 6px; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: .5em; vertical-align: .75em; color: var(--text-2); margin-right: 2px; }
.plan__note { margin: 0 0 18px; color: var(--text-3); font-size: 13px; }
.plan__desc { color: var(--text-2); font-size: 15px; margin: 0 0 14px; }
.plan__desc strong { color: var(--text); }
.plan__example { font-size: 14px; color: var(--text-2); padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--border); margin-bottom: 16px; }
.plan__example b { color: var(--text); font-weight: 600; }
.plan__list { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; font-size: 14px; }
.plan__list li { position: relative; padding-left: 24px; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Mini dibujos de cada plan */
.plan__viz { height: 120px; margin-top: 20px; display: flex; align-items: center; justify-content: center; }
.viz-page { width: 64px; height: 116px; border-radius: 8px; border: 1px solid var(--border-strong); background: rgba(0,0,0,.35); padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.viz-page i { display: block; flex: 1; border-radius: 3px; background: rgba(255,255,255,.12); }
.viz-page i.v-nav { flex: .35; background: rgba(255,255,255,.22); }
.viz-page i.v-hero { flex: 1.6; background: linear-gradient(135deg, rgba(167,139,250,.7), rgba(34,211,238,.5)); }
.viz-page i.v-foot { flex: .4; background: rgba(255,255,255,.2); }
.viz-landing { position: relative; }
.viz-landing::after { content: "↓ scroll"; position: absolute; right: calc(50% - 82px); top: 50%; translate: 0 -50%; font-size: 11px; color: var(--text-3); writing-mode: vertical-rl; letter-spacing: .1em; }
.viz-pages { flex-wrap: wrap; gap: 6px; align-content: center; }
.viz-pages span { font-size: 11px; font-weight: 600; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border-strong); background: rgba(0,0,0,.35); color: var(--text-2); }
.viz-pages span:first-child { background: linear-gradient(135deg, rgba(167,139,250,.5), rgba(34,211,238,.35)); color: #fff; }
.viz-many { display: grid; grid-template-columns: repeat(5, 26px); grid-auto-rows: 34px; gap: 6px; align-content: center; }
.viz-many span { height: 34px; border-radius: 5px; border: 1px solid var(--border-strong); background: rgba(0,0,0,.35); }
.viz-many span:first-child { background: linear-gradient(135deg, rgba(167,139,250,.6), rgba(34,211,238,.4)); }
.plans__help { text-align: center; color: var(--text-2); margin: 8px 0 40px; }
.plans__help b { color: var(--text); }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 56px; }
.addons .addon { margin-bottom: 0; }
.pay-title { text-align: center; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; margin: 0 0 22px; }
@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .addons { grid-template-columns: 1fr; }
}

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.path { padding: 34px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.path--featured { border-color: rgba(139,92,246,.45); background: linear-gradient(160deg, rgba(139,92,246,.16), rgba(255,255,255,.02)); }
.path__tag { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.path h3 { font-size: 28px; letter-spacing: -.03em; margin: 0 0 6px; }
.path > p { color: var(--text-2); margin: 0 0 26px; }
.path__flow { display: flex; align-items: stretch; gap: 8px; }
.flow-step { flex: 1; padding: 14px 12px; border-radius: 16px; border: 1px solid var(--border); background: rgba(0,0,0,.25); text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 14px; }
.flow-step span { color: var(--text-2); font-size: 13px; }
.flow-step--pay { border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.07); }
.flow-step--pay span { color: #6ee7b7; font-weight: 600; }
.flow-arrow { width: 16px; flex-shrink: 0; align-self: center; height: 2px; background: var(--border-strong); position: relative; }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--border-strong); border-right: 0; }

.addon { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px; border-radius: var(--radius-lg); border: 1px dashed var(--border-strong); margin-bottom: 40px; }
.addon h3 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.03em; }
.addon p { color: var(--text-2); margin: 0; max-width: 640px; }
.addon__price { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -.04em; margin: 0; white-space: nowrap; text-align: right; }
.addon__price small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--text-2); }

.included { text-align: center; margin-top: 56px; }
.included__note { color: var(--text-2); margin: -8px auto 22px; max-width: 620px; font-size: 15px; }
.included__note b { color: var(--text); }
.extra-tag { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fcd34d; background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.3); padding: 2px 7px; border-radius: 99px; vertical-align: 1px; white-space: nowrap; }
.included-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.included-list li { padding: 8px 16px 8px 34px; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; position: relative; }
.included-list li::before { content: "✓"; position: absolute; left: 14px; color: var(--green); font-weight: 700; }

@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
  .addon { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .path__flow { flex-direction: column; }
  .flow-arrow { width: 2px; height: 14px; }
  .flow-arrow::after { right: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top-color: var(--border-strong); border-bottom: 0; }
  .path, .addon { padding: 26px 22px; }
}

/* ---------- GARANTÍA ---------- */
.guarantee { padding: 40px var(--gutter) clamp(60px, 10vh, 120px); }
.guarantee__inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: clamp(30px, 6vw, 80px); padding: clamp(36px, 6vw, 70px); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(52,211,153,.1), rgba(59,130,246,.06) 60%, transparent); border: 1px solid rgba(52,211,153,.22); }
.guarantee__seal { position: relative; width: clamp(130px, 16vw, 180px); flex-shrink: 0; aspect-ratio: 1; }
.guarantee__seal svg { animation: spin 22s linear infinite; }
.guarantee__seal text { font-size: 13.4px; letter-spacing: .2em; fill: #6ee7b7; font-weight: 600; }
.guarantee__seal > span { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -.04em; }
.guarantee h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 14px; }
.guarantee p { color: var(--text-2); margin: 0; font-size: 18px; max-width: 600px; }
@media (max-width: 700px) { .guarantee__inner { flex-direction: column; text-align: center; } }

/* ---------- WIZARD ---------- */
.wizard { position: relative; max-width: 880px; margin: 0 auto; padding: clamp(24px, 5vw, 56px); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--border); box-shadow: 0 50px 120px -60px rgba(139,92,246,.45); }
.wizard__progress { margin-bottom: 40px; }
.wizard__bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.wizard__bar span { display: block; height: 100%; width: 16.66%; background: var(--grad); border-radius: 4px; transition: width .7s var(--ease); }
.wizard__dots { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; font-size: 12px; color: var(--text-3); text-align: center; }
.wizard__dots li { transition: color .3s; }
.wizard__dots li.is-active, .wizard__dots li.is-done { color: var(--text); }
@media (max-width: 600px) { .wizard__dots { display: none; } }

.wstep { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.wstep.is-active { display: block; animation: stepIn .7s var(--ease) both; }
.wstep.is-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-40px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.wstep__title { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 26px; padding: 0; display: flex; align-items: baseline; gap: 14px; }
.wstep__title span { font-size: 14px; color: var(--violet); font-weight: 600; letter-spacing: .05em; }
.wstep__hint { color: var(--text-2); margin: -14px 0 24px; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; position: relative; }
.field[hidden] { display: none; }
.field label, .label { font-size: 14px; font-weight: 500; color: var(--text-2); display: block; margin-bottom: 10px; }
.field label { margin-bottom: 0; }
.opt { color: var(--text-3); font-weight: 400; }
input[type="text"], input[type="url"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(0,0,0,.35);
  border: 1px solid var(--border-strong); border-radius: 14px; padding: 15px 18px; transition: border-color .25s, box-shadow .25s, background .25s;
}
textarea { resize: vertical; min-height: 60px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,.18); background: rgba(0,0,0,.5); }
.field__error { display: none; color: #fca5a5; font-size: 13px; }
.has-error .field__error, .cards__error.is-visible, #terms-error.is-visible { display: block; }
.has-error input, .has-error textarea { border-color: #f87171; }
.counter { align-self: flex-end; color: var(--text-3); font-size: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.note--sections { margin: 0 0 14px; font-size: 14px; }
.note--sections b { color: var(--text); }
.note { margin: 0; padding: 16px 18px; border-radius: 14px; background: rgba(34,211,238,.07); border: 1px solid rgba(34,211,238,.25); color: var(--text-2); }

/* segmentado */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid var(--border); margin-bottom: 24px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 18px; border-radius: 12px; font-size: 14px; color: var(--text-2); transition: background .3s, color .3s; }
.seg input:checked + span { background: #fff; color: #000; font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* dropzone */
.drop { position: relative; display: flex !important; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; border: 1.5px dashed var(--border-strong); border-radius: 18px; text-align: center; cursor: pointer; transition: border-color .3s, background .3s; }
.drop:hover, .drop.is-drag { border-color: var(--violet); background: rgba(139,92,246,.08); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__icon { font-size: 28px; color: var(--violet); }
.drop__text { color: var(--text); }
.drop small { color: var(--text-3); }
.drop__list { color: var(--cyan); font-size: 13px; margin-top: 6px; }

/* tarjetas seleccionables */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; cursor: pointer; padding: 20px; border-radius: 18px; border: 1px solid var(--border); background: rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 4px; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card input { position: absolute; opacity: 0; pointer-events: none; }
.card__ico { font-size: 20px; margin-bottom: 10px; color: var(--text-2); transition: color .3s; }
.card b { font-size: 16px; }
.card small { color: var(--text-3); font-size: 13px; }
.card::after { content: "✓"; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #fff; color: #000; transform: scale(0); transition: transform .4s var(--ease); }
.card:has(input:checked) { border-color: var(--violet); background: rgba(139,92,246,.12); }
.card:has(input:checked)::after { transform: scale(1); }
.card:has(input:checked) .card__ico { color: var(--violet); }
.card:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* estilos visuales */
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .styles { grid-template-columns: repeat(2, 1fr); } }
.style { position: relative; cursor: pointer; padding: 10px 10px 14px; border-radius: 18px; border: 1px solid var(--border); background: rgba(0,0,0,.25); text-align: center; transition: border-color .3s, transform .4s var(--ease); }
.style:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.style input { position: absolute; opacity: 0; pointer-events: none; }
.style b { font-size: 14px; display: block; margin-top: 10px; }
.style:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.25); }
.style:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.style__pv { display: flex; flex-direction: column; gap: 6px; aspect-ratio: 16/10; border-radius: 12px; padding: 12px; overflow: hidden; }
.style__pv i { display: block; border-radius: 4px; }
.style__pv i:nth-child(1) { width: 40%; height: 7px; }
.style__pv i:nth-child(2) { width: 85%; height: 14px; margin-top: auto; }
.style__pv i:nth-child(3) { width: 34%; height: 12px; border-radius: 99px; }
.pv-min { background: #fafafa; } .pv-min i { background: #111; } .pv-min i:nth-child(3) { background: #111; }
.pv-corp { background: linear-gradient(135deg, #0b2a5b, #1e4f9c); } .pv-corp i { background: #fff; } .pv-corp i:nth-child(3) { background: #f5b301; }
.pv-bold { background: #ff3b30; } .pv-bold i { background: #000; } .pv-bold i:nth-child(2) { height: 22px; } .pv-bold i:nth-child(3) { background: #fff; }
.pv-lux { background: #0d0c0a; } .pv-lux i { background: #c9a961; } .pv-lux i:nth-child(2) { height: 10px; background: #e8dcc0; }
.pv-tech { background: radial-gradient(circle at 80% 20%, #4c1d95, #050507 70%); } .pv-tech i { background: #22d3ee; } .pv-tech i:nth-child(2) { background: linear-gradient(90deg, #a78bfa, #22d3ee); }
.pv-warm { background: #f3e7d7; } .pv-warm i { background: #7c4a2d; } .pv-warm i:nth-child(3) { background: #c26b3c; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--border-strong); font-size: 14px; color: var(--text-2); transition: all .3s var(--ease); }
.chips span.serif { font-size: 16px; }
.chips label:hover span { border-color: rgba(255,255,255,.35); color: var(--text); }
.chips input:checked + span { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* checkbox legal */
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin: 10px 0; font-size: 15px; color: var(--text-2); }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; border: 1.5px solid var(--border-strong); background: rgba(0,0,0,.35); display: grid; place-items: center; margin-top: 1px; cursor: pointer; transition: all .25s; }
.check input:checked { background: var(--violet); border-color: var(--violet); }
.check input:checked::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 700; }
.check a { color: var(--text); }
.check b { color: var(--text); }

.summary { margin-top: 26px; padding: 22px; border-radius: 18px; background: rgba(0,0,0,.3); border: 1px solid var(--border); font-size: 14px; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.summary:empty { display: none; }
.summary dt { color: var(--text-3); }
.summary dd { margin: 0; color: var(--text); word-break: break-word; }
.eta { color: var(--text-2); font-size: 15px; margin: 18px 0 0; }
.eta b { color: var(--text); }

.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.wizard__nav [hidden] { display: none; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.2); border-top-color: #000; border-radius: 50%; display: none; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn__label { opacity: .6; }

.success { text-align: center; padding: 30px 0 10px; }
.success[hidden] { display: none; }
.success:focus { outline: none; }
.success__check { width: 88px; margin: 0 auto 24px; }
.success__check circle { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 1s var(--ease) forwards; }
.success__check path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.04em; margin: 0 0 12px; }
.success p { color: var(--text-2); }
.success b { color: var(--text); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 840px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; letter-spacing: -.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 28px; font-weight: 300; color: var(--text-2); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { overflow: hidden; }
.faq details p { color: var(--text-2); margin: 0 0 26px; max-width: 720px; }

/* ---------- CTA FINAL ---------- */
.final-cta { position: relative; overflow: hidden; text-align: center; padding: clamp(120px, 22vh, 220px) var(--gutter); }
.final-cta__bg { position: absolute; inset: 0; z-index: -1; }
.final-cta__bg .blob--1 { top: 10%; left: 10%; }
.final-cta__bg .blob--2 { bottom: -10%; right: 10%; }
.final-cta h2 { font-size: clamp(40px, 7vw, 96px); line-height: 1; letter-spacing: -.05em; margin: 0 auto 44px; max-width: 1000px; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--border); padding: 50px var(--gutter) 34px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer nav a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer nav a:hover { color: var(--text); }
.footer__copy { max-width: var(--max); margin: 34px auto 0; }

/* ---------- Web nueva ---------- */
.nw { padding-top: 130px; }
.nw-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .nw-plans { grid-template-columns: 1fr; } }
.nw-plan { position: relative; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: rgba(0,0,0,.25); transition: border-color .3s, background .3s; }
.nw-plan:hover { border-color: var(--border-strong); }
.nw-plan input { position: absolute; opacity: 0; pointer-events: none; }
.nw-plan:has(input:checked) { border-color: var(--violet); background: rgba(139,92,246,.12); }
.nw-plan:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.nw-plan__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.nw-plan__head b { font-size: 18px; }
.nw-plan__head em { font-style: normal; font-weight: 700; font-size: 18px; }
.nw-plan__tag { font-size: 13px; color: var(--violet); font-weight: 600; }
.nw-plan__desc { font-size: 13.5px; color: var(--text-2); }
.nw-plan__desc b { color: var(--text); }
.rep { display: grid; gap: 12px; margin-bottom: 12px; }
.rep__row { position: relative; padding: 16px 16px 4px; border-radius: 16px; border: 1px solid var(--border); background: rgba(0,0,0,.2); }
.rep__del { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--text-3); font-size: 12px; cursor: pointer; }
.rep__del:hover { color: #fca5a5; }
.rep__add { margin-bottom: 6px; }
.nw .field__error#nw-files-err { display: none; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: 140px var(--gutter) 100px; }
.legal h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: -.045em; line-height: 1.05; margin: 0 0 10px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.legal .updated { color: var(--text-3); font-size: 14px; margin-bottom: 40px; }
.legal a { color: var(--cyan); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.legal th { color: var(--text); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .showcase { height: auto; }
  .showcase__pin { position: relative; height: auto; padding: 120px 0 60px; }
  .site-new-clip { width: 100%; }
  .site--old { display: none; }
  .phone { opacity: 1; transform: none; }
  .caption--2 { opacity: 1; position: static; }
  .statement__text .w { opacity: 1; }
}

/* Paso "Elige tu plan" del formulario */
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pick__card { position: relative; cursor: pointer; display: block; }
.pick__card input { position: absolute; opacity: 0; pointer-events: none; }
.pick__body { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 18px; border-radius: 18px; border: 1px solid var(--border-strong); background: rgba(255,255,255,.02); transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease); }
.pick__card:hover .pick__body { border-color: rgba(255,255,255,.35); transform: translateY(-2px); }
.pick__card input:checked + .pick__body { border-color: var(--violet); background: rgba(139,92,246,.12); box-shadow: 0 0 0 1px var(--violet) inset; }
.pick__card input:focus-visible + .pick__body { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pick__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pick__head b { font-size: 18px; color: var(--text); }
.pick__head em { font-style: normal; font-weight: 700; font-size: 18px; color: var(--text); white-space: nowrap; }
.pick__tag { font-size: 13px; color: var(--cyan); }
.pick__list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.pick__list i { font-style: normal; font-size: 13.5px; line-height: 1.4; color: var(--text-2); padding-left: 18px; position: relative; }
.pick__list i::before { content: "✓"; position: absolute; left: 0; color: var(--violet); }
.pick__badge { position: absolute; top: -10px; right: 14px; padding: 3px 10px; border-radius: 99px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.pick__card--ask { grid-column: 1 / -1; }
.pick__card--ask .pick__body { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 18px; }
.pick__card--ask .pick__tag { color: var(--text-2); }
.pick__total { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.pick__total b { color: var(--text); font-size: 16px; }
@media (max-width: 760px) { .pick { grid-template-columns: 1fr; } }
.field__hint { display: block; margin-top: 6px; font-size: 13px; color: var(--text-3); }
.pick--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
@media (max-width: 760px) { .pick--2 { grid-template-columns: 1fr; } }

/* Cambios puntuales (clientes) */
.touch__lead { color: var(--text-2); font-size: 18px; margin: 18px auto 0; max-width: 620px; }
.touch__packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.tpack { padding: 26px 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.tpack--hl { border-color: rgba(34,211,238,.4); background: linear-gradient(160deg, rgba(34,211,238,.1), rgba(255,255,255,.02)); }
.tpack h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.02em; }
.tpack .tpack__price { margin: 0 0 12px; font-size: 30px; font-weight: 700; letter-spacing: -.04em; color: var(--text) !important; }
.tpack p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.touch__urgent { text-align: center; color: var(--text-2); margin: 22px 0 30px; }
.touch__urgent b { color: var(--text); }
.touch__form { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: center; padding: 30px; border-radius: var(--radius-lg); border: 1px solid rgba(139,92,246,.4); background: linear-gradient(160deg, rgba(139,92,246,.14), rgba(255,255,255,.02)); }
.touch__copy h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.03em; }
.touch__copy p { margin: 0; color: var(--text-2); font-size: 15px; }
.touch__copy b { color: var(--text); }
.touch__row { display: flex; gap: 10px; }
.touch__field { position: relative; flex: 1; min-width: 0; }
.touch__field input { width: 100%; font: 16px Inter, sans-serif; color: var(--text); background: rgba(0,0,0,.4); border: 1px solid var(--border-strong); border-radius: 99px; padding: 15px 48px 15px 20px; }
.touch__field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,.2); }
.tip-i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--text-2); font: italic 700 13px/20px Georgia, serif; text-align: center; cursor: help; }
.tip-i__box { position: absolute; right: -8px; bottom: calc(100% + 12px); width: 280px; padding: 12px 14px; border-radius: 14px; background: #fff; color: #111; font: 400 13px/1.45 Inter, sans-serif; text-align: left; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s, transform .25s; z-index: 5; }
.tip-i__box::after { content: ""; position: absolute; right: 14px; top: 100%; border: 7px solid transparent; border-top-color: #fff; }
.tip-i:hover .tip-i__box, .tip-i:focus .tip-i__box { opacity: 1; transform: none; }
.touch__msg { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--text-2); min-height: 1px; }
.touch__msg.ok { color: #6ee7b7; }
.touch__msg.bad { color: #fca5a5; }
@media (max-width: 980px) { .touch__packs { grid-template-columns: 1fr 1fr; } .touch__form { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .touch__packs { grid-template-columns: 1fr; } .touch__row { flex-direction: column; } .tip-i__box { width: 240px; } }

/* ¿Vendes productos? */
.shop [data-shop-html], .shop [data-shop-wp] { margin-bottom: 8px; }
.shop__note { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.28); color: var(--text-2); font-size: 13.5px; }
.shop__note a { color: var(--cyan); }

/* Descuento por varias webs */
.addon--multi { border-style: solid; border-color: rgba(139,92,246,.45); background: rgba(139,92,246,.07); margin: 18px 0 40px; }
.multi__tiers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; font-size: 15px; }
.multi__tiers span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); white-space: nowrap; color: var(--text-2); }
.multi__tiers b { color: var(--text); }
@media (max-width: 700px) { .multi__tiers { justify-content: flex-start; } }

/* Ventana "¿Qué puedo pedir?" */
.qp-btn { display: inline-flex; align-items: center; gap: 8px; margin: 16px auto 0; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(139,92,246,.1); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.qp-btn:hover { border-color: var(--violet); background: rgba(139,92,246,.2); }
.qp { width: min(920px, calc(100% - 32px)); max-height: calc(100% - 48px); overflow: auto; overscroll-behavior: contain; padding: 0; border: 1px solid var(--border-strong); border-radius: 24px; background: #0e0e14; color: var(--text); }
.qp::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(4px); }
.qp__in { position: relative; padding: 30px 28px 26px; }
.qp__x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; color: var(--text); font-size: 22px; cursor: pointer; }
.qp h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 34px); letter-spacing: -.03em; }
.qp__lead { color: var(--text-2); margin: 0 0 22px; max-width: 60ch; }
.qp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qp__g { padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.qp__g h3 { margin: 0 0 8px; font-size: 17px; }
.qp__g ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.qp__p { margin: 10px 0 0; font-size: 13px; color: var(--text-3); }
.qp__p b { color: var(--cyan); font-weight: 600; }
.qp__foot { margin: 18px 0 0; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 860px) { .qp__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .qp__grid { grid-template-columns: 1fr; } .qp__in { padding: 26px 18px 20px; } }

/* =========================================================
   MODO CLARO (interruptor del menú)
   Las pantallas de los dispositivos (notebook y teléfono) no cambian.
   ========================================================= */
html[data-theme="light"] {
  --bg: #f5f5f7;
  --bg-2: #ffffff;
  --surface: rgba(10, 10, 20, 0.035);
  --surface-2: rgba(10, 10, 20, 0.06);
  --border: rgba(10, 10, 20, 0.10);
  --border-strong: rgba(10, 10, 20, 0.20);
  --text: #0b0b10;
  --text-2: #52525b;
  --text-3: #8a8a94;
  --grad: linear-gradient(100deg, #7c3aed 0%, #2563eb 45%, #0891b2 75%, #c026d3 100%);
  color-scheme: light;
}
html[data-theme="light"] ::selection { color: #0b0b10; }
html[data-theme="light"] .btn--light,
html[data-theme="light"] .btn--primary { background: #0b0b10; color: #fff; }
html[data-theme="light"] .btn--ghost:hover:not(:disabled) { border-color: rgba(10,10,20,.3); }
html[data-theme="light"] .nav.is-scrolled .nav__inner { background: rgba(255,255,255,.72); }
html[data-theme="light"] .mobile-menu { background: rgba(255,255,255,.94); }
html[data-theme="light"] .nav__burger span,
html[data-theme="light"] .scroll-cue span { background: #0b0b10; }
html[data-theme="light"] .blob { opacity: .22; }
html[data-theme="light"] .grid-lines { background-image: linear-gradient(rgba(10,10,20,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,20,.06) 1px, transparent 1px); }
html[data-theme="light"] .tile,
html[data-theme="light"] .step,
html[data-theme="light"] .price-hero,
html[data-theme="light"] .plan,
html[data-theme="light"] .wizard { background: linear-gradient(180deg, #fff, rgba(255,255,255,.7)); box-shadow: 0 30px 80px -50px rgba(20,20,40,.25); }
html[data-theme="light"] .plan--featured { background: linear-gradient(170deg, rgba(139,92,246,.12), #fff 60%); }
html[data-theme="light"] .plan__example,
html[data-theme="light"] .viz-page, html[data-theme="light"] .viz-pages span, html[data-theme="light"] .viz-many span,
html[data-theme="light"] .flow-step, html[data-theme="light"] .seg, html[data-theme="light"] .card, html[data-theme="light"] .style,
html[data-theme="light"] .check input, html[data-theme="light"] .summary, html[data-theme="light"] .nw-plan, html[data-theme="light"] .rep__row,
html[data-theme="light"] .pick__body, html[data-theme="light"] .pick__total, html[data-theme="light"] .touch__field input,
html[data-theme="light"] input, html[data-theme="light"] textarea, html[data-theme="light"] select { background: rgba(255,255,255,.85); }
html[data-theme="light"] input:focus, html[data-theme="light"] textarea:focus { background: #fff; }
html[data-theme="light"] .viz-page i { background: rgba(10,10,20,.12); }
html[data-theme="light"] .viz-page i.v-nav, html[data-theme="light"] .viz-page i.v-foot { background: rgba(10,10,20,.22); }
html[data-theme="light"] .step__num { background: linear-gradient(180deg, rgba(10,10,20,.35), rgba(10,10,20,.02)); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .speed__ring .track { stroke: rgba(10,10,20,.08); }
html[data-theme="light"] .wizard__bar { background: rgba(10,10,20,.08); }
html[data-theme="light"] .seg input:checked + span,
html[data-theme="light"] .chips input:checked + span { background: #0b0b10; color: #fff; border-color: #0b0b10; }
html[data-theme="light"] .card::after { background: #0b0b10; color: #fff; }
html[data-theme="light"] .chips label:hover span, html[data-theme="light"] .pick__card:hover .pick__body { border-color: rgba(10,10,20,.35); }
html[data-theme="light"] .check input:checked::after { color: #fff; }
html[data-theme="light"] .free-badge, html[data-theme="light"] .flow-step--pay span, html[data-theme="light"] .touch__msg.ok, html[data-theme="light"] .nav__client span { color: #047857; }
html[data-theme="light"] .extra-tag { color: #92400e; }
html[data-theme="light"] .field__error, html[data-theme="light"] .touch__msg.bad { color: #b91c1c; }
html[data-theme="light"] .tag--old { color: #b91c1c; }
html[data-theme="light"] .tag--new { color: #047857; }
html[data-theme="light"] .note { color: var(--text-2); }
html[data-theme="light"] .tip-i__box { background: #0b0b10; color: #f5f5f7; }
html[data-theme="light"] .tip-i__box::after { border-top-color: #0b0b10; }
html[data-theme="light"] .qp { background: #fff; }
html[data-theme="light"] .spinner { border-color: rgba(255,255,255,.3); border-top-color: #fff; }

/* Interruptor claro / oscuro */
.theme-sw { position: relative; flex-shrink: 0; width: 62px; height: 32px; padding: 0; border-radius: 99px; border: 1px solid var(--border-strong); cursor: pointer; overflow: hidden;
  background: linear-gradient(180deg, #14142a, #2a1f4f); transition: background .6s var(--ease), border-color .6s; }
.theme-sw::before { /* estrellas */
  content: ""; position: absolute; inset: 0; opacity: 1; transition: opacity .5s, transform .7s var(--ease);
  background: radial-gradient(1px 1px at 36px 9px, #fff 99%, transparent), radial-gradient(1px 1px at 46px 20px, #fff 99%, transparent), radial-gradient(1.4px 1.4px at 52px 10px, #fff 99%, transparent), radial-gradient(1px 1px at 40px 24px, #c4b5fd 99%, transparent); }
.theme-sw::after { /* nubes */
  content: ""; position: absolute; left: 8px; top: 15px; width: 22px; height: 10px; border-radius: 10px; background: #fff; opacity: 0; transform: translateY(12px);
  box-shadow: 8px -4px 0 1px #fff, -3px 3px 0 0 rgba(255,255,255,.9); transition: opacity .5s, transform .7s var(--ease); }
.theme-sw__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 35% 30%, #f8fafc, #cbd5e1 70%); box-shadow: 0 2px 6px rgba(0,0,0,.4), inset -3px -3px 6px rgba(0,0,0,.18);
  transition: transform .7s cubic-bezier(.68,-0.35,.27,1.35), background .6s, box-shadow .6s; }
.theme-sw__knob::before, .theme-sw__knob::after { /* cráteres */
  content: ""; position: absolute; border-radius: 50%; background: rgba(100,116,139,.45); transition: opacity .4s; }
.theme-sw__knob::before { width: 6px; height: 6px; top: 6px; left: 12px; }
.theme-sw__knob::after { width: 4px; height: 4px; top: 14px; left: 6px; }
html[data-theme="light"] .theme-sw { background: linear-gradient(180deg, #7dd3fc, #bae6fd); border-color: rgba(10,10,20,.12); }
html[data-theme="light"] .theme-sw::before { opacity: 0; transform: translateY(-10px); }
html[data-theme="light"] .theme-sw::after { opacity: 1; transform: none; }
html[data-theme="light"] .theme-sw__knob { transform: translateX(30px) rotate(180deg); background: radial-gradient(circle at 40% 35%, #fff7c2, #fbbf24 60%, #f59e0b);
  box-shadow: 0 0 0 4px rgba(251,191,36,.25), 0 0 16px 4px rgba(251,191,36,.55); }
html[data-theme="light"] .theme-sw__knob::before, html[data-theme="light"] .theme-sw__knob::after { opacity: 0; }
.theme-sw:active .theme-sw__knob { width: 30px; }
.theme-sw:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Cambio de tema con revelado circular desde el interruptor */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 9999; }
@media (prefers-reduced-motion: reduce) { .theme-sw, .theme-sw *, .theme-sw::before, .theme-sw::after { transition: none !important; } }
