/* ══════════════════════════════════════════════════════════════
   APEX PERFORMANCE CLUB · style.css
   Identidad: grafito + cromo + volt (verde lima eléctrico)
   Stack: GSAP + ScrollTrigger + Lenis (local)
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #0A0A0B;
  --bg-2: #0F0F12;
  --panel: #131317;
  --panel-2: #17171C;
  --line: rgba(237, 236, 230, 0.10);
  --line-strong: rgba(237, 236, 230, 0.22);
  --ink: #EDECE6;
  --ink-dim: rgba(237, 236, 230, 0.58);
  --ink-faint: rgba(237, 236, 230, 0.34);
  --volt: #D6FF3F;
  --volt-dim: rgba(214, 255, 63, 0.14);
  --chrome: linear-gradient(115deg, #e9e9e4 0%, #8f8f97 24%, #ffffff 46%, #5c5c64 68%, #e6e6e1 100%);
  --font-display: 'Unbounded', sans-serif;
  --font-serif: 'Marcellus', serif;
  --font-body: 'Hanken Grotesk', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad-x: clamp(20px, 5vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.grain::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }

::selection { background: var(--volt); color: #0A0A0B; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 3000;
  background: var(--volt); color: #0A0A0B; padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ═══════════ PRELOADER ═══════════ */
.loader {
  position: fixed; inset: 0; z-index: 5000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: transform .9s var(--ease), opacity .6s ease;
}
.loader.done { transform: translateY(-100%); }
.loader-inner { text-align: center; }
.loader-mark {
  display: block; width: 10px; height: 10px; margin: 0 auto 16px;
  background: var(--volt); transform: rotate(45deg);
  animation: markPulse 1.1s var(--ease) infinite alternate;
}
@keyframes markPulse { from { opacity: .25; } to { opacity: 1; } }
.loader-word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 5rem); letter-spacing: .06em; line-height: 1;
}
.loader-amp { color: var(--volt); }
.loader-sub { margin-top: 10px; font-size: .68rem; letter-spacing: .5em; color: var(--ink-dim); }
.loader-bar { width: 220px; height: 2px; margin: 26px auto 0; background: rgba(255,255,255,.08); }
#loader-fill { display: block; height: 100%; width: 0; background: var(--volt); }

/* ═══════════ PROGRESO DE LECTURA ═══════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1500;
  background: transparent;
}
#progress-label {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--volt), #a8d92b);
}

/* ═══════════ CURSOR ═══════════ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 4000; pointer-events: none; mix-blend-mode: difference; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; border-radius: 50%; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s ease, background .3s ease;
}
.cursor-ring.is-hover { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(214,255,63,.12); border-color: var(--volt); }
.cursor-ring.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad-x);
  transition: background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { padding: 12px var(--pad-x); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(10,10,11,.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  opacity: 0; transition: opacity .4s ease;
}
.nav.scrolled::before { opacity: 1; border-bottom-color: var(--line); }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: .08em; display: flex; align-items: baseline; gap: 2px;
}
.logo-dot { color: var(--volt); }
.logo-sub { font-family: var(--font-body); font-weight: 600; font-size: .6rem; letter-spacing: .34em; color: var(--ink-dim); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.nav-cta) {
  font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-dim); position: relative; padding: 6px 0;
  transition: color .3s ease;
}
.nav-links > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--volt); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links > a:not(.nav-cta):hover { color: var(--ink); }
.nav-links > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links sup { color: var(--volt); font-size: .55em; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 8px; align-items: center;
  position: relative; z-index: 1300;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* ═══════════ BOTONES ═══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
  white-space: nowrap;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-volt { background: var(--volt); color: #0A0A0B; }
.btn-volt:hover { box-shadow: 0 0 0 1px var(--volt), 0 12px 40px -8px rgba(214,255,63,.55); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.04); transform: translateY(-2px); }
.btn-line { border: 1px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--volt); color: var(--volt); transform: translateY(-2px); }
.w-100 { width: 100%; justify-content: center; }

/* Iconos SVG inline (sprite) */
.ic { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.12em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }
.ic-lg { width: 1.3em; height: 1.3em; }
.ic-heart { font-size: .9rem; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 150px 0 90px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(237,236,230,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237,236,230,.045) 1px, transparent 1px);
  background-size: 90px 90px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 20%, transparent 78%);
}
.hero-mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(42% 34% at 18% 22%, rgba(214,255,63,.14), transparent 70%),
    radial-gradient(38% 30% at 82% 78%, rgba(120,120,255,.10), transparent 70%),
    radial-gradient(50% 40% at 70% 12%, rgba(255,255,255,.06), transparent 70%);
  filter: blur(20px);
  animation: meshFloat 18s ease-in-out infinite alternate;
}
@keyframes meshFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-3%,2%,0) scale(1.08); } }
.hero-haze { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-haze-a { width: 460px; height: 460px; background: rgba(214,255,63,.08); top: 12%; right: -140px; }
.hero-haze-b { width: 380px; height: 380px; background: rgba(255,255,255,.05); bottom: 6%; left: -120px; }
.hero-rings { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.hero-rings::before, .hero-rings::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px solid rgba(214,255,63,.25);
}
.hero-rings::before { width: 46vmin; height: 46vmin; top: -12vmin; left: -8vmin; }
.hero-rings::after { width: 30vmin; height: 30vmin; bottom: -6vmin; right: 6vmin; border-color: rgba(255,255,255,.12); }

.hero-vert {
  position: absolute; top: 50%; z-index: 1;
  font-family: var(--font-display); font-size: .62rem; letter-spacing: .5em;
  color: var(--ink-faint); writing-mode: vertical-rl; text-transform: uppercase;
}
.vert-left { left: 26px; transform: translateY(-50%) rotate(180deg); }
.vert-right { right: 26px; transform: translateY(-50%); }

.hero-content { position: relative; z-index: 3; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-main { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-dim);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--volt); }

.hero-title { margin: 26px 0 20px; }
.hero-apex {
  position: relative; display: inline-block;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(5rem, 19vw, 19rem);
  line-height: .82; letter-spacing: .01em;
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,.5));
}
.hero-apex::before {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -1;
  -webkit-text-stroke: 1px rgba(214,255,63,.45); color: transparent;
  transform: translate(8px, 8px);
}
.hero-line-wrap { display: block; margin-top: 30px; overflow: hidden; }
.hero-line {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 3.1rem); line-height: 1.15; color: var(--ink);
}
.hero-line em { font-style: italic; color: var(--volt); }

.hero-sub { margin-top: 22px; max-width: 560px; color: var(--ink-dim); font-size: 1.02rem; }
.hero-sub .br-desktop { display: block; }
.hero-sub em.em-sub { color: var(--ink); font-style: normal; font-weight: 600; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-dim); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px;
  transition: color .3s, border-color .3s;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip-volt { color: var(--volt); border-color: rgba(214,255,63,.5); background: var(--volt-dim); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* Visual hero (imagen real + chips flotantes) */
.hero-visual { position: relative; justify-self: end; width: min(420px, 100%); will-change: transform; }
.hv-frame {
  position: relative; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line-strong); aspect-ratio: 4/5;
  background: var(--panel);
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.8), 0 0 60px -20px rgba(214,255,63,.22);
  transform: perspective(1100px) rotateY(-7deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .hv-frame { transform: perspective(1100px) rotateY(0) rotateX(0); }
.hv-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: grayscale(.25) contrast(1.04); }
.hv-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 32%, rgba(10,10,11,.6)),
    linear-gradient(115deg, rgba(214,255,63,.14), transparent 55%);
}
.hv-ring {
  position: absolute; top: -30px; right: -30px; width: 130px; height: 130px;
  border: 1px dashed rgba(214,255,63,.5); border-radius: 50%;
  animation: spin 16s linear infinite; pointer-events: none;
}
.hv-ring::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .06em;
  padding: 11px 16px; border-radius: 999px; white-space: nowrap;
  background: rgba(16,16,20,.88); border: 1px solid var(--line-strong); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.7);
  animation: floaty 5.5s ease-in-out infinite;
}
.hv-chip .ic { color: var(--volt); }
.hv-chip-a { top: 26px; left: -26px; }
.hv-chip-b { bottom: 34px; right: -18px; color: var(--volt); animation-delay: 1.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(214,255,63,.6); } 70% { box-shadow: 0 0 0 9px rgba(214,255,63,0); } 100% { box-shadow: 0 0 0 0 rgba(214,255,63,0); } }

.rg-bg { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 7; }
.rg-fg { fill: none; stroke: #cfcfc9; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; }
.rg-fg-volt { stroke: var(--volt); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3;
  font-size: .6rem; letter-spacing: .4em; color: var(--ink-faint); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.scroll-hint .ic { animation: hintDown 1.6s infinite; color: var(--volt); }
@keyframes hintDown { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(6px); opacity: .4; } }

/* ═══════════ MARQUEE ═══════════ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .24em; white-space: nowrap; padding: 0 18px; color: var(--ink-dim); }
.marquee-track i { display: inline-block; width: 6px; height: 6px; background: var(--volt); transform: rotate(45deg); margin: 0 18px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ SECCIONES GENÉRICAS ═══════════ */
section { position: relative; }

.kicker {
  display: inline-block; font-size: .68rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--volt); margin-bottom: 22px;
}
.kicker::before { content: "// "; opacity: .6; }

.sec-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.08; }
.sec-title em { font-style: italic; color: var(--volt); }
.sec-sub { color: var(--ink-dim); margin-top: 18px; max-width: 560px; }
.sec-head { margin-bottom: 60px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }

/* máscara de palabras (JS envuelve en .wl > .wi) */
.wl { display: inline-block; overflow: hidden; vertical-align: bottom; }
.wi { display: inline-block; will-change: transform; }

/* ═══════════ MANIFIESTO ═══════════ */
.manifesto { padding: 130px 0 110px; overflow: hidden; }
.manifesto-wrap { max-width: 1000px; }
.manifesto-title { font-family: var(--font-serif); font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.12; font-weight: 400; }
.manifesto-title em { font-style: italic; }
.manifesto-title em.volt { color: var(--volt); }
.manifesto-text { margin-top: 34px; color: var(--ink-dim); font-size: 1.08rem; max-width: 640px; }
.manifesto-text strong { color: var(--ink); }

.ghost-word {
  position: absolute; right: -2vw; top: 8%; z-index: -1;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(8rem, 24vw, 24rem);
  line-height: 1; white-space: nowrap; user-select: none; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1px rgba(237,236,230,.07);
}

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 90px; border-top: 1px solid var(--line); padding-top: 50px; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-suffix { color: var(--volt); font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-top: 8px; }
.stat-label { color: var(--ink-dim); font-size: .86rem; margin-top: 8px; }

/* ═══════════ MÉTODO ═══════════ */
.method { padding: 120px 0; border-top: 1px solid var(--line); }
.method-list { margin-top: 50px; }
.method-item {
  border-top: 1px solid var(--line-strong);
  position: relative; padding: 30px 0;
}
.method-item:last-child { border-bottom: 1px solid var(--line-strong); }
.mi-num {
  font-family: var(--font-display); font-size: .7rem; letter-spacing: .3em; color: var(--ink-faint);
  transition: color .3s;
}
.mi-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-top: 6px; transition: color .3s, transform .4s var(--ease); }
.mi-tag { font-size: .62rem; letter-spacing: .3em; color: var(--ink-faint); margin-top: 8px; text-transform: uppercase; }
.mi-arrow { position: absolute; right: 0; top: 40px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .45s var(--ease), background .3s, border-color .3s; }
.method-item:hover .mi-arrow, .method-item.is-active .mi-arrow { transform: rotate(45deg); background: var(--volt); border-color: var(--volt); color: #0A0A0B; }
.method-item:hover .mi-title { color: var(--volt); }
.mi-panel {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease);
}
.method-item:hover .mi-panel, .method-item.is-active .mi-panel { grid-template-rows: 1fr; }
.mi-panel-inner { overflow: hidden; min-height: 0; padding-top: 22px; }
.mi-panel p { max-width: 640px; color: var(--ink-dim); }
.mi-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 22px; }
.mi-stats div { display: flex; flex-direction: column; gap: 2px; }
.mi-stats strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--volt); }
.mi-stats span { font-size: .78rem; color: var(--ink-faint); }

/* ═══════════ ESPACIO (horizontal scroll) ═══════════ */
.space { padding: 120px 0 140px; overflow: hidden; }
.space-head { margin-bottom: 60px; }
.hscroll { overflow: hidden; }
.hscroll-track { display: flex; gap: 22px; padding: 0 var(--pad-x); will-change: transform; }
.hpanel {
  flex: 0 0 auto; width: min(430px, 78vw); height: 520px;
  border-radius: 24px; padding: 34px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line-strong);
  transition: transform .5s var(--ease);
}
.hpanel:hover { transform: translateY(-10px); }
.hp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(.4) contrast(1.05); transition: transform .7s var(--ease); }
.hpanel:hover .hp-img { transform: scale(1.07); }
.hp-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,11,.18) 0%, rgba(10,10,11,.55) 42%, rgba(10,10,11,.94) 100%); }
.hp-index { position: relative; z-index: 2; font-family: var(--font-display); font-size: .72rem; letter-spacing: .3em; color: var(--ink-dim); }
.hpanel h3 { position: relative; z-index: 2; font-family: var(--font-serif); font-size: 2rem; margin-top: 12px; }
.hpanel p { position: relative; z-index: 2; margin-top: 10px; color: var(--ink-dim); max-width: 300px; font-size: .95rem; }
.hp-meta { position: relative; z-index: 2; display: inline-block; margin-top: 20px; font-size: .6rem; letter-spacing: .3em; color: var(--volt); text-transform: uppercase; }

.hscroll-hint { text-align: center; margin-top: 40px; font-size: .62rem; letter-spacing: .4em; color: var(--ink-faint); text-transform: uppercase; }
.hscroll-hint .ic { color: var(--volt); }

/* ═══════════ PORTAL APEX+ ═══════════ */
.portal { padding: 150px 0; overflow: hidden; border-top: 1px solid var(--line); }
.portal-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 70vw; height: 70vh; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(214,255,63,.09), transparent 70%);
  filter: blur(30px);
}
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.portal-intro { margin-top: 26px; color: var(--ink-dim); max-width: 560px; }
.portal-intro strong { color: var(--ink); }
.portal-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 38px; }
.pf {
  display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255,255,255,.02); transition: border-color .35s, transform .35s var(--ease), background .35s;
}
.pf:hover { border-color: rgba(214,255,63,.4); background: rgba(214,255,63,.05); }
.pf-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--volt-dim); color: var(--volt); display: grid; place-items: center; font-size: 1rem; }
.pf h4 { font-size: .98rem; }
.pf p { font-size: .82rem; color: var(--ink-dim); margin-top: 3px; }
.portal-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 42px; }

.portal-ui { position: relative; }
.dash-frame {
  background: linear-gradient(165deg, #16161B, #0C0C0F);
  border: 1px solid var(--line-strong); border-radius: 26px;
  padding: 24px; box-shadow: 0 40px 120px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(214,255,63,.06), 0 0 60px -20px rgba(214,255,63,.25);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.portal-ui:hover .dash-frame { transform: perspective(1200px) rotateY(0) rotateX(0); }
.dash-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dash-logo { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .08em; }
.dash-logo sup { color: var(--volt); }
.dash-dots { display: flex; gap: 5px; }
.dash-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); }

.dash-greet { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.dash-greet strong { display: block; font-size: 1rem; }
.dash-greet div > span { font-size: .72rem; color: var(--ink-dim); }
.dash-streak { color: var(--volt); font-family: var(--font-display); font-size: 1rem; background: var(--volt-dim); padding: 8px 12px; border-radius: 12px; }

.dash-rings { display: flex; justify-content: space-around; margin-top: 22px; }
.dash-ring { position: relative; width: 82px; height: 82px; }
.dash-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dash-ring .rg-bg { stroke-width: 6; }
.dash-ring .rg-fg { stroke-width: 6; stroke-dasharray: 251; stroke-dashoffset: 251; }
.dash-ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dash-ring-label strong { font-family: var(--font-display); font-size: 1rem; line-height: 1; }
.dash-ring-label span { font-size: .5rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); margin-top: 3px; }

.dash-chart { margin-top: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); }
.dash-card-head { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; }
.dash-card-head > span:first-child { color: var(--ink-dim); }
.dash-val { font-family: var(--font-display); font-weight: 700; }
.dash-val small { color: var(--ink-dim); font-weight: 400; }
.line-chart { width: 100%; height: 110px; margin-top: 10px; display: block; }
.lc-area { fill: url(#lc-fill); stroke: none; }
.lc-line { fill: none; stroke: var(--volt); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.lc-dot { fill: var(--volt); opacity: 0; }

.dash-routine, .dash-diet { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.02); }
.dash-link { color: var(--volt); font-size: .72rem; cursor: pointer; }
.routine-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: .86rem; border-bottom: 1px dashed rgba(255,255,255,.06); }
.routine-item:last-child { border-bottom: 0; }
.routine-item strong { margin-left: auto; color: var(--volt); font-family: var(--font-display); font-weight: 600; font-size: .72rem; }
.ri-check { width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--volt); background: var(--volt-dim); position: relative; flex: none; display: grid; place-items: center; color: var(--volt); }
.ri-check .ic { width: .7em; height: .7em; }

.macro-bar { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: .76rem; position: relative; height: 22px; }
.macro-bar > span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: var(--volt); opacity: .25; }
.macro-bar.macro-c > span { background: #9aa2ff; }
.macro-bar.macro-g > span { background: #ff9aa0; }
.macro-bar i { width: 18px; font-style: normal; font-family: var(--font-display); font-weight: 700; color: var(--ink); z-index: 1; }
.macro-bar b { margin-left: auto; z-index: 1; }

.ui-float {
  position: absolute; font-family: var(--font-body); font-weight: 600; font-size: .74rem;
  padding: 12px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink);
  box-shadow: 0 20px 50px -16px rgba(0,0,0,.7);
}
.ui-float .ic { color: var(--volt); }
.ui-float-a { top: -18px; right: -24px; animation: floaty 5s ease-in-out infinite; }
.ui-float-b { bottom: 40px; left: -30px; animation: floaty 6s ease-in-out 1s infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ═══════════ PLANES ═══════════ */
.plans { padding: 140px 0; border-top: 1px solid var(--line); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.plan-card {
  position: relative; border: 1px solid var(--line-strong); border-radius: 24px;
  padding: 40px 32px; background: linear-gradient(170deg, rgba(255,255,255,.03), transparent 60%);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), border-color .35s;
}
.plan-card:hover { transform: translateY(-10px); border-color: var(--ink-dim); }
.plan-featured {
  border: 1px solid var(--volt); background: linear-gradient(170deg, rgba(214,255,63,.1), transparent 55%);
  box-shadow: 0 30px 90px -30px rgba(214,255,63,.35);
}
.plan-featured:hover { border-color: var(--volt); }
.plan-tier { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; font-size: .8rem; color: var(--ink-dim); }
.plan-featured .plan-tier { color: var(--volt); }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; margin: 18px 0 24px; }
.plan-price small { font-size: .7rem; color: var(--ink-dim); font-weight: 400; margin-left: 6px; }
.plan-feats { list-style: none; display: grid; gap: 12px; margin-bottom: 34px; flex: 1; }
.plan-feats li { display: flex; gap: 12px; font-size: .9rem; color: var(--ink-dim); }
.plan-feats .ic { color: var(--volt); margin-top: 4px; font-size: .8rem; }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--volt); color: #0A0A0B; font-size: .62rem; font-weight: 700; letter-spacing: .2em;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
}

/* ═══════════ RESEÑAS ═══════════ */
.reviews { padding: 70px 0; overflow: hidden; border-top: 1px solid var(--line); }
.rev-marquee { overflow: hidden; }
.rev-track { display: flex; width: max-content; gap: 20px; padding: 10px 0; animation: marquee 40s linear infinite; }
.rev-track:hover { animation-play-state: paused; }
.rev-card {
  width: 360px; flex: none; padding: 26px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--panel);
  transition: border-color .3s, transform .4s var(--ease);
}
.rev-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.rev-stars { color: var(--volt); letter-spacing: 3px; font-size: .8rem; }
.rev-card p { margin-top: 14px; font-size: .94rem; color: var(--ink-dim); }
.rev-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.rev-author > span { width: 40px; height: 40px; border-radius: 50%; background: var(--volt-dim); color: var(--volt); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .7rem; flex: none; }
.rev-author strong { display: block; font-size: .88rem; }
.rev-author div > span { font-size: .72rem; color: var(--ink-faint); }

/* ═══════════ CONTACTO ═══════════ */
.contact { padding: 140px 0; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-top: 60px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.ci-item { display: flex; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, background .3s; }
.ci-item:hover { border-color: rgba(214,255,63,.4); background: rgba(214,255,63,.04); }
.ci-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--volt-dim); color: var(--volt); display: grid; place-items: center; font-size: 1.05rem; }
.ci-item div span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); display: block; }
.ci-item strong { font-size: 1rem; font-weight: 600; }
.contact-form { display: grid; gap: 16px; padding: 34px; border: 1px solid var(--line-strong); border-radius: 24px; background: linear-gradient(170deg, rgba(255,255,255,.03), transparent 60%); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group input, .form-group textarea {
  width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--ink); font-family: var(--font-body); font-size: .95rem;
  transition: border-color .3s, background .3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--volt); background: rgba(214,255,63,.04); }
.form-group textarea { resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-faint); }
.form-note { text-align: center; font-size: .76rem; color: var(--ink-faint); }

/* ═══════════ FOOTER COMPACTO ═══════════ */
.footer { border-top: 1px solid var(--line-strong); padding: 44px 0 28px; background: #070708; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; }
.footer-links a { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); transition: color .3s; }
.footer-links a:hover { color: var(--volt); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--ink-dim); transition: all .3s;
}
.footer-social a:hover { color: #0A0A0B; background: var(--volt); border-color: var(--volt); transform: translateY(-3px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .74rem; color: var(--ink-faint);
}
.footer-bottom .made b { color: var(--ink); letter-spacing: .06em; }
.footer-bottom .made .ic { color: var(--volt); margin: 0 3px; }

/* ═══════════ FLOTANTES ═══════════ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1100;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 14px 40px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(8deg); }

.to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 1100;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(10,10,11,.8); color: var(--ink); cursor: pointer; font-size: 1rem;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease), border-color .3s, color .3s;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { border-color: var(--volt); color: var(--volt); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1180px) {
  .hero-content { grid-template-columns: 1fr; gap: 54px; }
  .hero-visual { justify-self: center; }
  .hero { flex-direction: column; align-items: flex-start; }
  .portal-grid { grid-template-columns: 1fr; gap: 80px; }
  .ui-float-a { right: 10px; }
  .ui-float-b { left: 10px; }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(10,10,11,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 22px;
    transform: translateX(100%); transition: transform .55s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a:not(.nav-cta) { font-size: 1.5rem; }
  .nav-links .nav-cta { margin-top: 8px; }
  .nav-toggle { display: flex; }
  .vert-left, .vert-right { display: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .hscroll.is-touch { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .hscroll.is-touch .hscroll-track { width: max-content; padding-bottom: 12px; }
  .hscroll.is-touch .hpanel { scroll-snap-align: center; }
  .hscroll.is-touch::-webkit-scrollbar { display: none; }
}

@media (max-width: 640px) {
  .hero { padding-top: 130px; }
  .hero-line { margin-top: 22px; }
  .hero-apex { letter-spacing: -0.02em; }
  .hero-visual { width: min(340px, 100%); }
  .hv-chip-a { left: -8px; }
  .hv-chip-b { right: -6px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .portal-features { grid-template-columns: 1fr; }
  .dash-rings { gap: 10px; }
  .dash-ring { width: 72px; height: 72px; }
  .hpanel { width: 86vw; height: 460px; }
  .ui-float-a { top: -14px; right: 6px; }
  .ui-float-b { bottom: 20px; left: 6px; }
  .footer-row { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 16px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .portal { padding: 110px 0; }
  .manifesto, .method, .space, .plans, .contact { padding-top: 100px; padding-bottom: 100px; }
}

/* ═══════════ MOVIMIENTO REDUCIDO ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
