/* ==========================================================================
   LaXON — sitio corporativo · estilos globales
   Base cromática: Regulus (#0c5078, #0a0a0a/#111/#1a1a1a, #f8fafc). Cada producto
   aporta su color solo en su estrella / tarjeta (--c y --cg).
   Tipografía: Geist + Geist Mono (igual que los productos).
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --s1: #111111;
  --s2: #1a1a1a;
  --bd: #262626;
  --paper: #f3f0e8;
  --white: #faf8f3;
  --line: #d9d4c6;
  --ink: #1c1b18;
  --ink2: #3d3a33;
  --mut: #6b675c;
  --mut-d: #a39f92;

  --reg: #0c5078;  --reg-g: #7cc0f5;
  --zos: #0f766e;  --zos-g: #5eead4;
  --alg: #690681;  --alg-g: #d18ae6;
  --ale: #da7d51;  --ale-g: #f5b08e;  --ale-bg: #faf2e8;
  --red: #c12425;

  --c: var(--reg);
  --cg: var(--reg-g);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --hdr: 68px;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(15px, 0.3vw + 13.5px, 18px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Geist', system-ui, sans-serif; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--reg-g); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--reg); color: #fff; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.dark { background: var(--bg); color: #e5e7eb; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.paper { background: var(--paper); }
.white { background: #fff; }

.eyebrow {
  font-family: 'Geist Mono', monospace; font-size: .72rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mut); display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.dark .eyebrow { color: var(--reg-g); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--mut); max-width: 62ch; }
.dark .lead { color: var(--mut-d); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 1.1rem; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px;
  padding: .7rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg.arr { transform: translateX(3px); }
.btn-primary { background: var(--reg); color: #fff; box-shadow: 0 0 0 1px rgba(124,192,245,.25) inset; }
.btn-primary:hover { background: #0e6291; transform: translateY(-1px); }
.btn-light { background: #fff; color: #0a0a0a; }
.btn-light:hover { background: #e8eef5; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.09); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-c { background: var(--c); color: #fff; }
.btn-c:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr); display: flex; align-items: center;
  background: rgba(10,10,10,.62); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07); transition: background .3s, border-color .3s;
}
.hdr.solid { background: rgba(10,10,10,.92); }
.hdr .container { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; font-weight: 700; letter-spacing: -.02em; font-size: 1.15rem; }
.brand { gap: .7rem; }
.brand .logo { height: 34px; width: auto; object-fit: contain; }
.brand .wm { height: 21px; width: auto; margin-top: 2px; }
.brand b { font-weight: 700; }
.brand b i { font-style: normal; color: var(--reg-g); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav > a, .nav > .dd > button {
  background: none; border: 0; color: #c9ced6; font-size: .92rem; font-weight: 500; padding: .55rem .8rem; border-radius: 8px;
  transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: .35rem;
}
.nav > a:hover, .nav > .dd > button:hover, .nav a.on { color: #fff; background: rgba(255,255,255,.07); }
.nav .chev { width: 10px; height: 10px; transition: transform .25s var(--ease); }
.dd { position: relative; }
.dd:hover .chev, .dd:focus-within .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 14px); left: -20px; width: 560px; padding: 14px; border-radius: 16px;
  background: rgba(17,17,17,.97); border: 1px solid var(--bd); box-shadow: 0 30px 80px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.dd:hover .mega, .dd:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.dd::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega a.mi { display: flex; gap: 12px; padding: 12px; border-radius: 10px; transition: background .2s; align-items: flex-start; }
.mega a.mi:hover { background: rgba(255,255,255,.06); }
.mi .st { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 28%, transparent), 0 0 14px var(--cg); margin-top: 7px; flex: none; }
.mi strong { display: block; color: #fff; font-size: .95rem; font-weight: 600; }
.mi span { color: var(--mut-d); font-size: .8rem; line-height: 1.3; display: block; }
.mega-foot { margin-top: 8px; padding: 12px 14px; border-top: 1px solid var(--bd); display: flex; justify-content: space-between; color: var(--mut-d); font-size: .82rem; align-items: center; gap: 12px; }
.mega-foot a { color: var(--reg-g); font-weight: 600; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; overflow: hidden; font-family: 'Geist Mono', monospace; font-size: .72rem;
}
.lang button { background: none; border: 0; color: #9aa3af; padding: .42rem .6rem; letter-spacing: .06em; }
.lang button.on { background: rgba(255,255,255,.12); color: #fff; }
.hdr .btn { min-height: 40px; padding: .5rem 1rem; font-size: .88rem; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: none; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: #fff; position: relative; transition: transform .3s var(--ease), opacity .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer {
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 99; background: rgba(10,10,10,.98); padding: 18px clamp(18px,4vw,40px) 40px; overflow-y: auto;
  transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.drawer.open { transform: none; opacity: 1; visibility: visible; }
.drawer a { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--bd); color: #fff; font-size: 1.1rem; font-weight: 500; }
.drawer .sub a { font-size: .98rem; color: #c9ced6; padding: 13px 4px 13px 8px; }
.drawer .sub .st { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--cg); }
.drawer .actions { display: grid; gap: 10px; margin-top: 22px; }
.drawer .actions a { border: 0; justify-content: center; padding: 0; }

@media (max-width: 980px) {
  .nav, .hdr-right .btn-demo { display: none; }
  .burger { display: grid; }
  .hdr .container { gap: 12px; }
}
@media (min-width: 981px) { .drawer { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--hdr) + 40px) 0 56px; display: flex; align-items: center; overflow: hidden; }
.hero::before { /* retícula técnica muy tenue */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 50%, #000 20%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.1vw, 3.9rem); line-height: 1.04; letter-spacing: -.04em; margin: 1.3rem 0 1.3rem; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #fff 20%, var(--reg-g) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-stage { position: relative; aspect-ratio: 1 / 1.02; min-height: 420px; }
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: default; }
.hero-hint { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; font-family: 'Geist Mono', monospace; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #6b7280; pointer-events: none; }
.star-tip {
  position: absolute; z-index: 5; pointer-events: none; padding: 10px 14px; border-radius: 12px; background: rgba(17,17,17,.94); border: 1px solid var(--bd);
  color: #fff; font-size: .85rem; min-width: 190px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease); box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.star-tip.on { opacity: 1; transform: none; }
.star-tip b { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.star-tip b i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--cg); }
.star-tip small { display: block; color: var(--mut-d); margin-top: 3px; line-height: 1.35; }
.star-tip em { font-style: normal; font-family: 'Geist Mono', monospace; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cg); display: block; margin-top: 7px; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; z-index: 3; width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; 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(12px); } }
@media (max-width: 900px) {
  .hero { align-items: flex-start; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; aspect-ratio: 1 / 1.15; order: -1; margin: 0 -10px; }
  .scroll-cue { display: none; }
}

/* ---------- Franja de confianza ---------- */
.trust { background: var(--s1); border-block: 1px solid var(--bd); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-row li { display: flex; align-items: center; gap: 14px; padding: 22px 20px; color: #c9c3b2; font-size: .9rem; border-left: 1px solid var(--bd); }
.trust-row li:first-child { border-left: 0; }
.trust-row svg { width: 22px; height: 22px; color: var(--reg-g); flex: none; }
.trust-row b { display: block; color: #fff; font-weight: 600; font-size: .92rem; }
@media (max-width: 900px) { .trust-row { grid-template-columns: 1fr 1fr; } .trust-row li:nth-child(3) { border-left: 0; } .trust-row li:nth-child(n+3) { border-top: 1px solid var(--bd); } }
@media (max-width: 520px) { .trust-row { grid-template-columns: 1fr; } .trust-row li { border-left: 0; border-top: 1px solid var(--bd); } .trust-row li:first-child { border-top: 0; } }

/* ---------- Preguntas ---------- */
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.q { padding: clamp(26px, 3vw, 40px); border-left: 1px solid var(--line); display: grid; gap: 14px; align-content: start; position: relative; transition: background .3s; }
.q:first-child { border-left: 0; }
.q:hover { background: #ece8dd; }
.q .qn { font-family: 'Geist Mono', monospace; font-size: .72rem; color: var(--mut); letter-spacing: .1em; }
.q h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); letter-spacing: -.035em; }
.q p { color: var(--mut); font-size: .98rem; }
.q .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; padding: .3rem .65rem; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); color: var(--c); background: color-mix(in srgb, var(--c) 7%, #fff); }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
@media (max-width: 860px) { .q-grid { grid-template-columns: 1fr; } .q { border-left: 0; border-top: 1px solid var(--line); } .q:first-child { border-top: 0; } }

/* ---------- Tarjetas de producto ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pcard {
  position: relative; border-radius: 22px; border: 1px solid var(--line); background: #fff; padding: clamp(24px, 2.6vw, 36px); overflow: hidden;
  display: grid; gap: 18px; align-content: start; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
  isolation: isolate;
}
.pcard::before { /* resplandor de estrella al pasar el cursor */
  content: ''; position: absolute; z-index: -1; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 66%); opacity: .55; transition: opacity .4s, transform .6s var(--ease);
}
.pcard:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 55%, #fff); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--c) 45%, transparent); }
.pcard:hover::before { opacity: 1; transform: scale(1.25); }
.pcard .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pstar { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.pstar::before, .pstar::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--c); opacity: .5; animation: ring 3.4s var(--ease) infinite; }
.pstar::after { animation-delay: 1.7s; }
.pstar i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 0 18px var(--c); }
@keyframes ring { 0% { transform: scale(.35); opacity: .7; } 100% { transform: scale(1.1); opacity: 0; } }
.pcard .meta { font-family: 'Geist Mono', monospace; font-size: .74rem; letter-spacing: .06em; color: var(--mut); text-align: right; line-height: 1.5; }
.pcard h3 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); }
.pcard .tag { color: var(--c); font-weight: 600; font-size: .95rem; margin-top: 4px; }
.pcard p.d { color: var(--mut); }
.pcard ul.f { display: grid; gap: 8px; margin-top: 2px; }
.pcard ul.f li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink2); }
.pcard ul.f svg { width: 16px; height: 16px; color: var(--c); flex: none; margin-top: 3px; }
.pcard .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c); margin-top: 6px; }
.pcard .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pcard:hover .go svg { transform: translateX(5px); }
.badge { font-family: 'Geist Mono', monospace; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 99px; border: 1px solid; display: inline-flex; align-items: center; gap: 6px; }
.badge.ok { color: #047857; background: #ecfdf5; border-color: #a7f3d0; }
.badge.ok::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: pulse 2s infinite; }
.badge.soon { color: #b45309; background: #fffbeb; border-color: #fde68a; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5);} 60% { box-shadow: 0 0 0 6px rgba(16,185,129,0);} }
.soon-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.scard { border-radius: 22px; border: 1px dashed #c9c3b2; padding: 26px 30px; background: transparent; display: grid; gap: 10px; grid-template-columns: auto 1fr; align-items: start; column-gap: 20px; transition: border-color .3s, background .3s; }
.scard:hover { border-color: var(--c); background: #fff; }
.scard .pstar i { background: transparent; border: 1.5px solid var(--c); box-shadow: none; }
.scard h4 { font-size: 1.25rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.scard p { color: var(--mut); font-size: .93rem; grid-column: 2; }
.scard a.n { grid-column: 2; font-weight: 600; font-size: .88rem; color: var(--c); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 860px) { .prod-grid, .soon-row { grid-template-columns: 1fr; } }

/* ---------- Plataforma (diagrama) ---------- */
.plat { display: grid; grid-template-columns: .9fr 1.25fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.plat-svg { width: 100%; height: auto; overflow: visible; }
.plat-svg .trace { fill: none; stroke: #3b4350; stroke-width: 1.4; }
.plat-svg .trace.lit { stroke: var(--cg, #7cc0f5); opacity: .55; stroke-dasharray: 5 7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.plat-svg .pk { r: 3.4; }
.plat-core { fill: #111; stroke: #3b4350; }
.plat-svg text { font-family: 'Geist', sans-serif; fill: #e5e7eb; }
.plat-svg .mono { font-family: 'Geist Mono', monospace; fill: #7b8594; font-size: 10px; letter-spacing: .08em; }
.mods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mods span { font-family: 'Geist Mono', monospace; font-size: .74rem; padding: .35rem .65rem; border: 1px solid var(--bd); border-radius: 8px; color: #c9c3b2; background: var(--s1); }
@media (max-width: 900px) { .plat { grid-template-columns: 1fr; } }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; counter-reset: s; }
.step { padding: 0 clamp(14px, 2vw, 32px) 0 0; position: relative; }
.step .num { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-family: 'Geist Mono', monospace; font-weight: 500; color: var(--reg); position: relative; z-index: 2; transition: all .4s var(--ease); }
.step:hover .num { background: var(--reg); color: #fff; border-color: var(--reg); transform: scale(1.06); }
.step::before { content: ''; position: absolute; left: 54px; right: 0; top: 27px; border-top: 1px dashed #b6c2d2; }
.step:last-child::before { display: none; }
.step h3 { font-size: 1.35rem; margin: 22px 0 8px; }
.step p { color: var(--mut); font-size: .96rem; max-width: 36ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 34px; } .step::before { left: 27px; top: 54px; bottom: -34px; right: auto; border-top: 0; border-left: 1px dashed #b6c2d2; } .step { padding-left: 0; } .step h3 { margin-top: 0; } .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; } .step .num { grid-row: span 2; } }

/* ---------- Beneficios (bento simple) ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wcard { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: grid; gap: 12px; align-content: start; transition: transform .4s var(--ease), border-color .3s; }
.wcard:hover { transform: translateY(-4px); border-color: var(--reg); }
.wcard svg { width: 28px; height: 28px; color: var(--reg); }
.wcard h3 { font-size: 1.12rem; letter-spacing: -.02em; }
.wcard p { color: var(--mut); font-size: .92rem; }
@media (max-width: 980px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- Seguridad (banda) ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.sfact { padding: 28px; border-radius: 18px; border: 1px solid var(--bd); background: var(--s1); display: grid; gap: 12px; align-content: start; }
.sfact .big { font-family: 'Geist Mono', monospace; font-size: 2.1rem; color: #fff; font-weight: 500; letter-spacing: -.04em; }
.sfact .big span { color: var(--reg-g); }
.sfact h3 { font-size: 1.05rem; }
.sfact p { color: var(--mut-d); font-size: .92rem; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(34px, 6vw, 80px); background: var(--reg); color: #fff; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 90% at 100% 0, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 80% 90% at 100% 0, #000, transparent 70%); }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 18ch; color: #fff; }
.cta-band p { color: #cfe6f7; margin-top: 16px; max-width: 52ch; font-size: 1.05rem; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-band .already { margin-top: 26px; font-size: .9rem; color: #bcdcf2; }
.cta-band .already a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.ftr { background: var(--bg); color: #9aa3af; padding: 72px 0 32px; border-top: 1px solid var(--bd); }
.ftr-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.ftr .brand { margin-bottom: 14px; }
.ftr p.t { max-width: 34ch; font-size: .93rem; }
.ftr h5 { margin: 0 0 14px; color: #fff; font-size: .78rem; font-family: 'Geist Mono', monospace; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.ftr li { margin-bottom: 9px; font-size: .92rem; }
.ftr li a { transition: color .2s; display: inline-flex; gap: 8px; align-items: center; }
.ftr li a:hover { color: #fff; }
.ftr li .st { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--cg); }
.ftr-bot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--bd); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .84rem; }
.ftr-bot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr-bot a:hover { color: #fff; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > :first-child { grid-column: span 2; } }

/* ---------- Páginas internas (hero chico) ---------- */
.phero { padding: calc(var(--hdr) + clamp(48px, 8vw, 110px)) 0 clamp(48px, 7vw, 90px); position: relative; overflow: hidden; }
.phero::before { content: ''; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000, transparent 75%); }
.phero .container { position: relative; display: grid; gap: 1.3rem; justify-items: start; }
.phero h1 { max-width: 20ch; } .phero .lead { max-width: 58ch; }
.phero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: -.04em; }
.phero .container.wide { max-width: var(--maxw); }

/* ---------- Mapa estelar (productos) ---------- */
.map-wrap { position: relative; border: 1px solid var(--bd); border-radius: 24px; background: var(--s1); overflow: hidden; aspect-ratio: 16 / 8.2; }
.map-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-leg { position: absolute; left: 20px; bottom: 16px; display: flex; gap: 18px; flex-wrap: wrap; font-family: 'Geist Mono', monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #8b95a3; pointer-events: none; }
.map-leg i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--reg-g); margin-right: 7px; box-shadow: 0 0 8px var(--reg-g); }
.map-leg i.off { background: transparent; border: 1px solid #8b95a3; box-shadow: none; }
@media (max-width: 760px) { .map-wrap { aspect-ratio: 4 / 6.4; } }

/* ---------- Acceso ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 920px; margin: 0 auto; }
.acard { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 26px 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.acard::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 55%); opacity: 0; transition: opacity .4s; }
.acard:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 24px 50px -26px color-mix(in srgb, var(--c) 55%, transparent); }
.acard:hover::before { opacity: 1; }
.acard strong { font-size: 1.3rem; letter-spacing: -.02em; display: block; }
.acard span.s { color: var(--mut); font-size: .9rem; }
.acard .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s var(--ease); }
.acard:hover .arrow { background: var(--c); border-color: var(--c); color: #fff; transform: translateX(3px); }
.acard .arrow svg { width: 16px; height: 16px; }
.acc-extra { max-width: 920px; margin: 28px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.xcard { padding: 22px 26px; border-radius: 16px; border: 1px dashed #c9c3b2; display: flex; gap: 16px; align-items: center; justify-content: space-between; color: var(--ink2); font-size: .94rem; transition: border-color .3s, background .3s; }
.xcard:hover { border-color: var(--reg); background: #fff; }
.xcard b { display: block; color: var(--ink); }
.xcard svg { width: 18px; height: 18px; color: var(--reg); flex: none; }
.acc-note { text-align: center; color: var(--mut); font-size: .85rem; margin-top: 28px; font-family: 'Geist Mono', monospace; }
@media (max-width: 760px) { .acc-grid, .acc-extra { grid-template-columns: 1fr; } }

/* ---------- Formulario / contacto ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-family: 'Geist Mono', monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); font-weight: 500; }
.form input, .form select, .form textarea { font: inherit; font-family: 'Geist', sans-serif; text-transform: none; letter-spacing: 0; font-size: .98rem; color: var(--ink); padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; width: 100%; min-height: 48px; transition: border-color .2s, background .2s; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--reg); background: #fff; }
.form .note { font-size: .8rem; color: var(--mut); }
.form .ok { display: none; padding: 14px 16px; border-radius: 12px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; font-weight: 500; }
.form.sent .ok { display: block; }
.ch { display: grid; gap: 14px; }
.chcard { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.chcard:hover { border-color: var(--reg); transform: translateX(3px); }
.chcard svg { width: 24px; height: 24px; color: var(--reg); flex: none; }
.chcard b { display: block; }
.chcard small { color: var(--mut); font-size: .86rem; }
.chcard.wa svg { color: #16a34a; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .form .row2 { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.neuron-fig { aspect-ratio: 1015 / 912; border-radius: 24px; border: 1px solid var(--bd); background: radial-gradient(ellipse at 60% 46%, #0d1d2b, #0a0a0a 70%); position: relative; overflow: hidden; }
.neuron-fig img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; }
.neuron-fig .nf-base { opacity: .28; }
@property --r { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.neuron-fig .nf-pulse { --r: 0%; -webkit-mask-image: radial-gradient(circle at 60% 46%, transparent calc(var(--r) - 10%), #000 var(--r), transparent calc(var(--r) + 10%)); mask-image: radial-gradient(circle at 60% 46%, transparent calc(var(--r) - 10%), #000 var(--r), transparent calc(var(--r) + 10%)); animation: sweep 5.5s cubic-bezier(.3,.1,.4,1) infinite; filter: drop-shadow(0 0 6px rgba(124,192,245,.7)); }
@keyframes sweep { from { --r: 0%; } to { --r: 105%; } }
.neuron-fig .soma-glow { position: absolute; left: 60%; top: 46%; width: 26%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(60,140,220,.55), transparent 65%); animation: breathe 5.5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .35; transform: scale(.85); } 8% { opacity: 1; transform: scale(1.1); } 40% { opacity: .45; transform: scale(.95); } }
.sec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .sec-cards { grid-template-columns: 1fr; } }
.starlist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.starrow { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff; align-items: start; }
.starrow .pstar { width: 36px; height: 36px; margin-top: 2px; }
.starrow h4 { font-size: 1.1rem; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.starrow h4 small { font-family: 'Geist Mono', monospace; font-weight: 400; font-size: .7rem; color: var(--mut); letter-spacing: .06em; }
.starrow p { color: var(--mut); font-size: .9rem; margin-top: 4px; }
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .about-grid, .vals, .starlist { grid-template-columns: 1fr; } }

/* ---------- Legales ---------- */
.prose { max-width: 780px; margin: 0 auto; color: var(--ink2); }
.prose h2 { font-size: 1.5rem; margin: 2.4rem 0 .7rem; color: var(--ink); }
.prose p, .prose li { margin-bottom: .9rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; }
.draft { padding: 14px 18px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .9rem; margin-bottom: 2rem; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 100px 20px; }
.nf h1 { font-size: clamp(5rem, 16vw, 11rem); font-family: 'Geist Mono', monospace; letter-spacing: -.06em; background: linear-gradient(180deg, #fff, #3b4350); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Preferencias de movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.scard ul.f { grid-column: 2; display: grid; gap: 6px; margin-top: 4px; }
.scard ul.f li { display: flex; gap: 9px; font-size: .88rem; color: var(--ink2); align-items: flex-start; }
.scard ul.f svg { width: 15px; height: 15px; color: var(--c); flex: none; margin-top: 3px; }
.scard .pstar { grid-row: span 5; }

.still .hero { min-height: 900px; } .still .reveal { opacity: 1; transform: none; transition: none; }

.scard a.n svg { width: 16px; height: 16px; flex: none; }

/* ---------- Redes sociales ---------- */
.soc { display: flex; gap: 10px; margin-top: 20px; }
.soc-b { display: inline-flex; align-items: center; gap: 9px; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--bd); color: #cbd5e1; transition: color .25s, border-color .25s, background .25s, transform .25s; }
.soc-b svg { width: 18px; height: 18px; flex: none; }
.soc-b:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.soc-box { display: grid; gap: 4px; align-items: start; }
.soc-box-h b { display: block; color: var(--ink); } .soc-box-h small { color: var(--mut); }
.soc-n { margin-top: 12px; flex-wrap: wrap; }
.soc-n .soc-b { width: auto; height: 42px; padding: 0 16px; border-radius: 99px; border-color: #cfc9b8; color: var(--ink2); font-weight: 500; font-size: .92rem; }
.soc-n .soc-b:hover { color: var(--ink); border-color: var(--ink); background: #fff; }

/* ---------- Documentos legales ---------- */
.prose ol { list-style: decimal; padding-left: 1.4rem; }
.prose a { color: var(--reg); text-decoration: underline; text-underline-offset: 3px; }
.lg-note { font-size: .86rem; color: var(--mut); border-left: 2px solid var(--line); padding-left: 12px; margin-bottom: 1.6rem; }
.prose .tbl { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.prose th { text-align: left; font: 500 .72rem 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); background: var(--paper); padding: 11px 14px; }
.prose td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
