@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Share+Tech+Mono&display=swap');

/* ============================================================
   HUBSYSTEM — estilo ARES adaptado a azules/celestes
   HUD nocturno: Rajdhani (titulares) + Share Tech Mono (datos),
   paneles con esquinas recortadas, scanlines, brillos celestes.
   Mismos selectores que antes: no se toca el HTML ni el JS.
   ============================================================ */
:root {
  --hud: #4fd2ff;
  --hud-hi: #cdf1ff;
  --hud-dim: rgba(79, 210, 255, 0.55);
  --hud-faint: rgba(79, 210, 255, 0.16);
  --alien: #72f2ff;
  --alien-dim: rgba(114, 242, 255, 0.35);
  --warn: #ff5a4a;
  --ok: #a6ffbe;
  --panel: rgba(8, 18, 34, 0.66);
  --bg: #020610;
  --bg-2: #06101f;
  --ink: #dceeff;
  --muted: #8fb4d8;
  --blue: #1f6bff;
  --blue-deep: #0b3fa8;
  --cyan: #4fd2ff;
  --line: rgba(79, 210, 255, 0.14);
  --line-strong: rgba(79, 210, 255, 0.32);
  --glass: rgba(8, 18, 34, 0.6);
  --radius: 0px;
  --cut: 14px;
  --maxw: 1180px;
  --font-display: "Rajdhani", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, Menlo, monospace;
  --chamfer: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  --chamfer-sm: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(31, 107, 255, 0.14), transparent 55%), var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  text-align: left;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* scanlines CRT + viñeta */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 4, 12, 0.55) 100%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px);
  opacity: 0.55;
}

body.intro-active { overflow: hidden; }
body:not(.site-visible) .site-nav,
body:not(.site-visible) main,
body:not(.site-visible) .site-footer { opacity: 0; }

.site-nav, main, .site-footer { transition: opacity 1s ease; }
main, .site-footer { position: relative; z-index: 2; }

#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.intro-ui {
  position: absolute;
  top: 0;
  right: 0;
  padding: 18px 20px;
  display: flex;
  gap: 10px;
}

.intro.hidden { display: none; }

.ghost-btn {
  pointer-events: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hud);
  background: rgba(6, 14, 28, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  border-radius: 12px;
  padding: 10px 18px;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.ghost-btn:hover {
  color: var(--hud-hi);
  background: rgba(79, 210, 255, 0.12);
  box-shadow: 0 0 18px rgba(79, 210, 255, 0.25);
}

.ghost-btn.small { font-size: 11px; padding: 8px 14px; }

.ghost-arrow { display: inline-block; transform: translateY(-1px); }

/* ---------- barra superior ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, opacity 1s ease;
  border-bottom: 1px solid transparent;
  font-family: var(--font-mono);
}

.site-nav.scrolled {
  background: rgba(3, 8, 18, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--hud-faint);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(79, 210, 255, 0.08);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark { height: 34px; width: auto; filter: drop-shadow(0 0 8px rgba(79, 210, 255, 0.4)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 5px;
  color: var(--hud);
  text-shadow: 0 0 12px rgba(79, 210, 255, 0.55);
}
.brand-sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: 3px; color: var(--hud-dim); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 9px 12px;
  border: 1px solid transparent;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.nav-links a:hover { color: var(--hud-hi); background: rgba(79, 210, 255, 0.07); }
.nav-links a[aria-current="page"] { color: var(--hud-hi); border-color: var(--hud-faint); background: rgba(79, 210, 255, 0.08); }
.nav-links a.nav-cta {
  color: #02131d;
  background: var(--hud);
  border-radius: 12px;
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 0 18px rgba(79, 210, 255, 0.35);
}
.nav-links a.nav-cta:hover { background: var(--hud-hi); color: #02131d; }
.nav-sep { width: 1px; height: 22px; background: var(--hud-faint); margin: 0 8px; }
.nav-links a.nav-auth { border: 1px solid var(--line-strong); color: var(--hud); }
.nav-links a.nav-auth:hover { background: rgba(79, 210, 255, 0.12); color: var(--hud-hi); }
.nav-links a.nav-auth-solid { background: rgba(79, 210, 255, 0.14); color: var(--hud-hi); }

.hero-auth { display: flex; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-auth-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; color: var(--hud-dim); }
.btn-auth {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--hud);
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  border-radius: 12px;
  transition: background 0.25s, color 0.25s;
}
.btn-auth:hover { background: rgba(79, 210, 255, 0.12); color: var(--hud-hi); }
.btn-auth.solid { background: var(--hud); color: #02131d; font-weight: 700; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.opt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

.burger { display: none; background: none; border: 1px solid var(--line-strong); padding: 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--hud); transition: transform 0.3s, opacity 0.3s; }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { display: block; }
.section { max-width: var(--maxw); margin: 0 auto; padding: 84px 24px 8px; }

/* ---------- banner de portada ---------- */
.portada { max-width: none; margin: 0; padding: 75px 0 0; }
.portada-frame { position: relative; overflow: hidden; border: 1px solid rgba(140, 225, 255, 0.35); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(190, 235, 255, 0.25), 0 1px 0 rgba(0, 0, 0, 0.6), 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 54px rgba(79, 210, 255, 0.14); }
.portada-frame picture { display: block; }
.portada-img { display: block; width: 100%; height: auto; }
.portada-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2, 6, 16, 0.28) 0%, rgba(2, 6, 16, 0) 22%, rgba(2, 6, 16, 0) 60%, rgba(2, 6, 16, 0.9) 100%); }

/* ---------- héroe ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 46px 24px 60px; position: relative; }
.hero-inner { max-width: 860px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--hud);
  border: 1px solid var(--hud-faint);
  background: rgba(8, 18, 34, 0.55);
  padding: 8px 16px;
  border-radius: 12px;
  text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; background: var(--hud); box-shadow: 0 0 10px var(--hud); animation: pulse 2s infinite; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: 0.04em;
  margin: 26px 0 8px;
  color: var(--hud-hi);
  text-shadow: 0 0 34px rgba(79, 210, 255, 0.35);
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.grad {
  background: linear-gradient(100deg, var(--hud) 10%, var(--alien) 55%, var(--hud-hi) 90%);
  background-size: 200% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
.hero-tag {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--hud);
  margin: 10px 0;
}
.hero-copy { max-width: 620px; color: var(--muted); line-height: 1.75; font-size: 15px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 30px;
  cursor: pointer;
  border: 1px solid var(--hud);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.18s ease;
}
/* Cristal 3D: luz superior, sombra de contacto y halo exterior por capas. */
.btn-primary {
  background: linear-gradient(180deg, rgba(170, 232, 255, 0.22), rgba(79, 210, 255, 0.1) 45%, rgba(8, 34, 64, 0.35));
  color: var(--hud-hi);
  border-color: rgba(140, 225, 255, 0.8);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(210, 244, 255, 0.45),
    inset 0 -10px 20px rgba(3, 10, 25, 0.5),
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 12px 28px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(79, 210, 255, 0.22);
  text-shadow: 0 0 10px rgba(79, 210, 255, 0.6), 0 1px 2px rgba(0, 0, 0, 0.6);
}
/* Reflejo que barre el botón al pasar el cursor. */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(220, 245, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(180deg, rgba(190, 238, 255, 0.3), rgba(79, 210, 255, 0.2) 50%, rgba(8, 34, 64, 0.35));
  box-shadow:
    inset 0 1px 0 rgba(220, 248, 255, 0.6),
    inset 0 -10px 20px rgba(3, 10, 25, 0.45),
    0 1px 0 rgba(0, 0, 0, 0.6),
    0 18px 38px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(79, 210, 255, 0.4);
  color: #fff;
  transform: translateY(-2px);
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:active { transform: translateY(1px); box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(79, 210, 255, 0.25); }
.btn-ghost { background: linear-gradient(180deg, rgba(79, 210, 255, 0.06), transparent 60%); color: var(--hud); border-color: var(--line-strong); border-radius: 12px; box-shadow: inset 0 1px 0 rgba(160, 220, 255, 0.18), 0 8px 20px rgba(0, 0, 0, 0.45); }
.btn-ghost:hover { color: var(--hud-hi); border-color: var(--hud); background: linear-gradient(180deg, rgba(79, 210, 255, 0.14), rgba(79, 210, 255, 0.04)); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(180, 230, 255, 0.3), 0 12px 26px rgba(0, 0, 0, 0.5), 0 0 24px rgba(79, 210, 255, 0.2); }
.btn-ghost:active { transform: translateY(1px); }
.btn.full { width: 100%; text-align: center; }

.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--hud-faint); padding-left: 14px; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--hud-hi);
  text-shadow: 0 0 16px rgba(79, 210, 255, 0.5);
}
.stat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: var(--hud-dim); text-transform: uppercase; }

.scroll-hint { display: flex; justify-content: center; margin-top: 50px; }
.scroll-hint span { width: 22px; height: 36px; border: 1px solid var(--hud-dim); position: relative; display: block; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--hud); animation: drop 1.8s infinite; }


/* ---------- secciones ---------- */
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.narrow { max-width: 640px; }
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--hud);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.kicker::before { content: "▸ "; color: var(--alien); }
.section-head h2, .about-copy h2, .contact-info h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 50px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--hud-hi);
  text-shadow: 0 0 26px rgba(79, 210, 255, 0.3);
}
.section-sub { color: var(--muted); line-height: 1.7; font-size: 15px; margin: 0; }

/* ---------- tarjetas ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.card {
  position: relative;
  background: linear-gradient(165deg, rgba(16, 34, 66, 0.72), rgba(6, 12, 26, 0.6));
  border: 1px solid var(--hud-faint);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 20px 45px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(140, 225, 255, 0.65); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 38px rgba(79, 210, 255, 0.22); }
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(79, 210, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--hud);
}
.card-icon svg { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(79, 210, 255, 0.6)); }
.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--hud-hi);
}
.card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--hud);
  border: 1px solid var(--hud-faint);
  background: rgba(79, 210, 255, 0.05);
  padding: 5px 12px;
  text-transform: uppercase;
}

/* ---------- pasos / niveles / flujo ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: paso; }
.step-card {
  background: var(--panel);
  border: 1px solid var(--hud-faint);
  border-radius: 18px;
  padding: 26px 22px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.step-card:hover { border-color: var(--hud); box-shadow: 0 0 26px rgba(79, 210, 255, 0.16); }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: transparent;
  -webkit-text-stroke: 1px var(--hud);
  text-shadow: 0 0 18px rgba(79, 210, 255, 0.35);
}
.step-card h3 { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hud-hi); margin: 12px 0 8px; }
.step-card p { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--hud);
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(79, 210, 255, 0.04);
  transition: background 0.25s, color 0.25s;
}
.chip:hover { background: rgba(79, 210, 255, 0.14); color: var(--hud-hi); }

.flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.flow-step {
  flex: 1 1 180px;
  background: var(--panel);
  border: 1px solid var(--hud-faint);
  padding: 20px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}
.flow-step strong { display: block; font-family: var(--font-display); color: var(--hud-hi); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.flow-arrow { align-self: center; color: var(--hud); font-family: var(--font-mono); padding: 0 10px; font-size: 18px; }

.levels { display: flex; flex-direction: column; gap: 12px; }
.level-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--hud-faint);
  padding: 16px 20px;
  border-radius: 12px;
}
.level-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; color: var(--alien); text-transform: uppercase; }
.level-task { color: var(--ink); font-size: 14px; }
.level-reward { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1.5px; color: var(--hud-hi); border: 1px solid var(--hud); padding: 7px 14px; background: rgba(79, 210, 255, 0.08); white-space: nowrap; }

.panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  background: var(--panel);
  border: 1px solid var(--hud-faint);
  border-radius: 18px;
  padding: 30px;
}
.panel-col h3 { font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hud-hi); margin: 0 0 14px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { color: var(--muted); font-size: 14px; padding-left: 26px; position: relative; }
.check-list li::before { content: "▸"; position: absolute; left: 0; color: var(--hud); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 3px; color: var(--hud-dim); text-transform: uppercase; margin-bottom: 12px; }

/* ---------- nosotros / contacto ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.about-copy p { color: var(--muted); line-height: 1.75; font-size: 15px; }
.about-points { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.point { display: grid; grid-template-columns: 130px 1fr; gap: 12px; border-left: 2px solid var(--hud-faint); padding-left: 14px; }
.point-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--hud); text-transform: uppercase; padding-top: 2px; }
.point-v { color: var(--muted); font-size: 14px; line-height: 1.65; }
.about-visual { display: grid; place-items: center; min-height: 300px; }
.orb-ctn { position: relative; width: 280px; height: 280px; display: grid; place-items: center; }
.orb {
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--alien), var(--hud) 45%, #06263c 75%);
  box-shadow: 0 0 60px rgba(79, 210, 255, 0.45);
  animation: float 6s ease-in-out infinite;
}
.ring { position: absolute; border: 1px solid var(--hud-faint); border-radius: 50%; animation: spin 24s linear infinite; }
.ring.r1 { width: 200px; height: 200px; }
.ring.r2 { width: 250px; height: 250px; animation-duration: 36s; animation-direction: reverse; }
.ring.r3 { width: 300px; height: 120px; border-radius: 50%; transform: rotate(-18deg); animation: none; border-color: rgba(114, 242, 255, 0.25); }

.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; }
.contact-card {
  background: var(--panel);
  border: 1px solid var(--hud-faint);
  border-radius: 18px;
  padding: 32px;
  position: relative;
}
.contact-info p { color: var(--muted); line-height: 1.7; }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: var(--muted); }
.contact-list li > span:first-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--hud); text-transform: uppercase; min-width: 90px; }
.contact-list a { color: var(--hud-hi); text-decoration: none; border-bottom: 1px solid var(--hud-faint); }
.contact-list a:hover { border-color: var(--hud); }
.contact-list .plain { color: var(--ink); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; color: var(--hud); text-transform: uppercase; }
.field input, .field textarea {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.85), rgba(8, 18, 36, 0.6));
  border: 1px solid var(--line-strong);
  padding: 13px 15px;
  border-radius: 12px;
  outline: none;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.55), inset 0 -1px 0 rgba(140, 210, 255, 0.08);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus { border-color: var(--hud); box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(79, 210, 255, 0.14), 0 0 22px rgba(79, 210, 255, 0.25); }
.field textarea { min-height: 130px; resize: vertical; }
.form-status { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; min-height: 18px; color: var(--ok); }
.form-status.error { color: var(--warn); }

/* ---------- pie ---------- */
.site-footer { border-top: 1px solid var(--hud-faint); background: rgba(2, 6, 14, 0.85); margin-top: 90px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 44px 24px 20px; display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; }
.footer-logo { height: 40px; width: auto; filter: drop-shadow(0 0 10px rgba(79, 210, 255, 0.4)); }
.footer-brand .brand-mark { height: 30px; }
.footer-links { display: flex; gap: 4px 20px; flex-wrap: wrap; margin-left: auto; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 2px;
}
.footer-links a:hover { color: var(--hud-hi); }
.footer-actions { margin-left: auto; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--hud-dim);
}

/* ---------- utilidades ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--hud-hi);
  background: rgba(6, 14, 28, 0.9);
  border: 1px solid var(--hud);
  padding: 12px 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  z-index: 60;
  border-radius: 12px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.export-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(2, 6, 12, 0.8); padding: 20px; }
.export-card { width: min(480px, 100%); background: var(--panel); border: 1px solid var(--hud); border-radius: 18px; padding: 30px; text-align: center; }
.export-card h3 { font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--hud-hi); margin: 0 0 10px; }
.export-card p { color: var(--muted); font-size: 14px; }
.export-track { height: 8px; background: var(--hud-faint); margin: 18px 0; overflow: hidden; }
.export-bar { height: 100%; width: 0; background: var(--hud); box-shadow: 0 0 12px var(--hud); }
.export-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }


/* ---------- responsive y animaciones (originales) ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; min-height: 280px; }
  .contact-card { padding: 32px 20px; }
  .contact { grid-template-columns: 1fr; gap: 34px; }
  .section { padding: 60px 20px; }
  .hero { padding: 40px 20px 70px; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .level-row { grid-template-columns: 110px 1fr; }
  .level-reward { grid-column: 2; text-align: left; border-left: none; padding-left: 0; color: var(--cyan); }
  .panel { padding: 26px 20px; gap: 22px; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(5, 11, 24, 0.96);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }
  body.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
  .nav-links a.nav-auth { text-align: center; margin-top: 6px; }
  .nav-sep { width: 100%; height: 1px; margin: 8px 0 2px; }
  .site-nav .nav-inner { position: relative; }
}

@media (max-width: 760px) {
  .portada { padding: 68px 0 0; }
  .point { grid-template-columns: 1fr; gap: 4px; }
  .hero-auth { margin: 8px 0 54px; }
  .hero-auth-lbl { flex: 0 0 100%; margin: 0 0 2px; }
  .hero-stats { gap: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .level-row { grid-template-columns: 1fr; gap: 6px; }
  .level-reward { grid-column: 1; }
  .flow { flex-direction: column; align-items: stretch; gap: 10px; }
  .flow-step { flex: none; }
  .flow-arrow { transform: rotate(90deg); margin-left: 22px; align-self: center; }
  .flow-step { font-size: 13.5px; padding: 8px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .ring, .eyebrow .dot, .scroll-hint span, .grad { animation: none; }
  .btn-primary::after { display: none; }
  .btn-primary:hover, .btn-ghost:hover, .card:hover { transform: none; }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

@keyframes shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(13px); opacity: 0; } }

@keyframes float { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(8px); } }

@keyframes spin { to { transform: rotate(360deg) scale(var(--s, 1)); } }
