/* ============================================================
   HARRIAN — página de marketing
   Neobrutalismo duotono (teal × magenta sobre papel, tinta #28252D)
   Patrones: portal-event.com → traducidos al mundo de la escalada.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #28252D;
  --paper: #F8F3F1;
  --white: #FFFFFF;
  --sand: #F2EEE3;
  --mist: #C9D3DC;

  --teal: #1FA5BE;
  --sky: #3ECBDD;
  --deep: #1C90AC;

  --magenta: #E72585;
  --coral: #F76BAB;
  --rose: #FA85BD;
  --blush: #FBABD4;

  --lime: #D6E077;

  --ink-soft: rgba(40, 37, 45, 0.13);
  --paper-soft: rgba(248, 243, 241, 0.75);

  --display: 'Archivo Black', 'Archivo', system-ui, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, sans-serif;

  --border: 2px solid var(--ink);
  --border-thick: 3px solid var(--ink);
  --shadow-3: 3px 3px 0 0 var(--ink);
  --shadow-4: 4px 4px 0 0 var(--ink);
  --shadow-6: 6px 6px 0 0 var(--ink);
  --shadow-8: 8px 8px 0 0 var(--ink);
  --shadow-10: 10px 10px 0 0 var(--ink);

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.18, 1);

  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lock, html.lock body, html.menu-open, html.menu-open body { overflow: hidden; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--magenta); color: var(--paper); }

::-webkit-scrollbar { width: 13px; }
::-webkit-scrollbar-track { background: var(--paper); border-left: 2px solid var(--ink); }
::-webkit-scrollbar-thumb { background: var(--teal); border: 2px solid var(--ink); }

:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 2px; }

section[id] { scroll-margin-top: calc(var(--nav-h) + 10px); }

.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 0.7em 1.2em; border-radius: 0 0 10px 10px;
  font-weight: 700; transition: top 0.25s;
}
.skip:focus-visible { top: 0; }

/* ---------- Texturas y utilidades ---------- */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--ink-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-soft) 1px, transparent 1px);
  background-size: 2.6rem 2.6rem;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 96%);
  mask-image: linear-gradient(#000 55%, transparent 96%);
}

.eyebrow {
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}

.giant {
  font-family: var(--display);
  font-size: clamp(2.9rem, 8.6vw, 7.6rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.giant-sm { font-size: clamp(2.3rem, 6vw, 5rem); }
.giant-paper { color: var(--paper); }
.accent-magenta { color: var(--coral); }
.accent-teal { color: var(--teal); }
.accent-lime { color: var(--lime); }

.tline { display: block; overflow: hidden; padding-block: 0.04em; }
.tline-inner { display: inline-block; }

.bangs {
  display: inline-block; font-style: normal;
  color: var(--magenta);
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(8deg);
  margin-left: 0.08em;
}
.bangs-cta { color: var(--lime); }

.tags { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5em 1em;
  border: var(--border); border-radius: 999px;
  box-shadow: var(--shadow-3);
  background: var(--white); color: var(--ink);
}
.tag-teal { background: var(--sky); }
.tag-coral { background: var(--coral); }
.tag-lime { background: var(--lime); }

.chip {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.4em 0.9em;
  border: var(--border); border-radius: 999px;
  box-shadow: var(--shadow-3);
  background: var(--white); color: var(--ink);
}
.chip-white { background: var(--white); }
.chip-magenta { background: var(--magenta); color: var(--paper); }
.chip-sky { background: var(--sky); }
.chip-lime { background: var(--lime); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6em;
  font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
  padding: 0.95em 1.8em;
  background: var(--white); color: var(--ink);
  border: var(--border); border-radius: 999px;
  box-shadow: var(--shadow-4);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
              background-color 0.16s, color 0.16s;
  will-change: transform;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 0 var(--ink); }
.btn-magenta { background: var(--coral); }
.btn-magenta:hover { background: var(--magenta); color: var(--paper); }
.btn-lime { background: var(--lime); }
.btn-lime:hover { background: var(--paper); }
.btn-big { font-size: 1rem; padding: 1.05em 2.1em; }
.btn-huge { font-size: 1.12rem; padding: 1.2em 2.6em; box-shadow: var(--shadow-6); }
.btn-huge:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 0 var(--ink); }

/* ============================================================
   LOADER
   ============================================================ */
.loader { position: fixed; inset: 0; z-index: 100; }
.loader::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ink); z-index: 3;
  transition: transform 0.7s var(--ease-io) 0.05s;
}
.loader-curtain { position: absolute; inset: 0; }
.loader-curtain.c1 { background: var(--teal); z-index: 2; transition: transform 0.7s var(--ease-io) 0.17s; }
.loader-curtain.c2 { background: var(--magenta); z-index: 1; transition: transform 0.7s var(--ease-io) 0.29s; }
.loader-inner {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.1rem; color: var(--paper);
  transition: opacity 0.3s ease;
}
.loader-badge img {
  width: 72px; height: 72px;
  border: var(--border-thick); border-radius: 16px;
  border-color: var(--paper);
  animation: loaderBob 1.4s ease-in-out infinite;
}
.loader-word { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.12em; }
.loader-count { font-family: var(--display); font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1; color: var(--lime); }
.loader-bar {
  width: min(300px, 60vw); height: 14px;
  border: 2px solid var(--paper); border-radius: 999px;
  overflow: hidden; background: transparent;
}
.loader-bar span { display: block; height: 100%; width: 0%; background: var(--coral); }
.loader-hint { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; opacity: 0.6; }

.loader.done .loader-inner { opacity: 0; }
.loader.done::before, .loader.done .loader-curtain { transform: translateY(-101%); }
.loader.gone { visibility: hidden; }

@keyframes loaderBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: var(--paper);
  border-bottom: var(--border);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none;
  font-family: var(--display); font-size: 1.12rem; letter-spacing: 0.04em;
}
.nav-brand img { width: 36px; height: 36px; border: var(--border); border-radius: 9px; }
.nav-links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav-links a {
  text-decoration: none;
  font-size: 0.84rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4em 0;
  background-image: linear-gradient(var(--magenta), var(--magenta));
  background-repeat: no-repeat;
  background-size: 0% 3px;
  background-position: left calc(100% - 2px);
  transition: background-size 0.25s var(--ease);
}
.nav-links a:hover { background-size: 100% 3px; }
.nav-cta { flex-shrink: 0; }

.nav-burger {
  display: none;
  width: 46px; height: 46px;
  border: var(--border); border-radius: 10px;
  background: var(--white); box-shadow: var(--shadow-3);
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  margin-left: auto;
}
.nav-burger span {
  width: 22px; height: 3px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--ink); color: var(--paper);
  padding: 2.5rem clamp(1.2rem, 6vw, 3rem);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-103%);
  transition: transform 0.5s var(--ease-io);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  display: block; text-decoration: none;
  font-family: var(--display);
  font-size: clamp(2rem, 8.5vw, 3.2rem);
  text-transform: uppercase; line-height: 1.25;
  padding: 0.25em 0;
  border-bottom: 2px solid rgba(248, 243, 241, 0.15);
}
.mobile-menu a:hover { color: var(--lime); }
.mobile-menu .mobile-cta { color: var(--sky); }
.mobile-menu-foot { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; opacity: 0.55; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + clamp(1.5rem, 4vh, 3.5rem)) clamp(1.2rem, 4vw, 3.5rem) 4rem;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.12fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 1.2rem 0 1.9rem;
}
.hero-line { display: block; overflow: hidden; padding-block: 0.045em; white-space: nowrap; }
.hero-line-inner { display: inline-flex; align-items: center; }
.hero-line:nth-child(2) .hero-line-inner { color: var(--teal); }
.hero-line:nth-child(3) .hero-line-inner { color: var(--magenta); }

/* Motivo: topo-anillos inline, como los "portales" del original */
.hero-motif {
  display: inline-grid; place-items: center;
  width: 0.72em; height: 0.72em;
  margin-left: 0.18em;
  animation: motifSpin 14s linear infinite;
}
.hero-motif i {
  grid-area: 1 / 1; border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%;
  border: var(--border);
}
.hero-motif i:nth-child(1) { width: 100%; height: 100%; background: var(--sky); }
.hero-motif i:nth-child(2) { width: 66%; height: 66%; background: var(--lime); }
.hero-motif i:nth-child(3) { width: 34%; height: 34%; background: var(--magenta); }
@keyframes motifSpin { to { transform: rotate(360deg); } }

.hero-cta { display: flex; align-items: center; gap: 1.3rem; }
.hero-arrow { color: var(--ink); flex-shrink: 0; animation: arrowNudge 1.6s ease-in-out infinite; }
@keyframes arrowNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

.hero-right { display: flex; flex-direction: column; gap: 1.8rem; align-items: center; }

/* Topo de curvas de nivel — el "portal" de Harrian */
.topo {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.topo-ring {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  border: 2.5px solid var(--ink);
}
.topo-ring.r1 { width: 92%; height: 92%; background: var(--teal); border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; animation: topoSpin 30s linear infinite; }
.topo-ring.r2 { width: 78%; height: 78%; background: var(--sky); border-radius: 55% 45% 48% 52% / 45% 56% 44% 55%; animation: topoSpinR 24s linear infinite; }
.topo-ring.r3 { width: 75%; height: 75%; background: var(--lime); border-radius: 44% 56% 58% 42% / 55% 45% 55% 45%; animation: topoSpin 19s linear infinite; }
.topo-ring.r4 { width: 72%; height: 72%; background: var(--sand); border-radius: 58% 42% 45% 55% / 46% 54% 46% 54%; animation: topoSpinR 14s linear infinite; }
.topo-ring.r5 { width: 66%; height: 66%; background: var(--blush); border-radius: 47% 53% 56% 44% / 54% 46% 52% 48%; animation: topoSpin 10s linear infinite; }
@keyframes topoSpin { to { transform: rotate(360deg); } }
@keyframes topoSpinR { to { transform: rotate(-360deg); } }

.topo-pulse {
  position: absolute; inset: 0; margin: auto;
  width: 60%; height: 60%;
  border: 2px solid var(--ink); border-radius: 50%;
  opacity: 0;
  animation: topoPulse 3.2s ease-out infinite;
  pointer-events: none;
}
.topo-pulse.p2 { animation-delay: 1.6s; }
@keyframes topoPulse {
  0% { transform: scale(0.35); opacity: 0.9; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* El mark vive dentro del topo como un blob más de la "foto aérea" —
   recorte orgánico, sin marco cuadrado ni sombra dura. */
.topo-mark {
  position: absolute;
  width: 34%; aspect-ratio: 1;
  border: 2.5px solid var(--ink);
  border-radius: 47% 53% 56% 44% / 54% 46% 52% 48%;
  overflow: hidden;
  animation: markBob 6s ease-in-out infinite;
}
.topo-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
@keyframes markBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.hero-chip { position: absolute; animation: chipBob 3.4s ease-in-out infinite; }
.hero-chip.hc1 { top: 8%; left: 2%; animation-delay: 0.2s; }
.hero-chip.hc2 { top: 16%; right: 4%; animation-delay: 0.9s; }
.hero-chip.hc3 { bottom: 14%; right: 0%; animation-delay: 1.5s; }
.hero-chip.hc4 { bottom: 6%; left: 10%; animation-delay: 0.5s; }
@keyframes chipBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.hero-tag {
  align-self: flex-end;
  max-width: 420px;
  border-top: var(--border-thick);
  padding-top: 1rem;
}
.hero-tag-title {
  font-family: var(--display);
  font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.hero-tag-desc {
  font-size: 0.78rem; font-weight: 600; line-height: 1.75;
  letter-spacing: 0.05em; text-transform: uppercase;
  opacity: 0.75;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.strip {
  background: var(--ink); color: var(--paper);
  border-block: var(--border);
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.02);
  position: relative; z-index: 2;
}
.strip-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.strip-group { display: flex; align-items: center; padding-block: 0.7em; }
.strip-group span {
  font-family: var(--display);
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  text-transform: uppercase; letter-spacing: 0.02em;
  white-space: nowrap;
}
.strip-group i { font-style: normal; color: var(--lime); margin: 0 1.4rem; font-size: 1.1em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   MANIFESTO (sección tinta)
   ============================================================ */
.manifesto {
  position: relative;
  background: var(--ink); color: var(--paper);
  padding: clamp(7rem, 14vh, 11rem) clamp(1.2rem, 4vw, 3rem) clamp(8rem, 16vh, 12rem);
  overflow: hidden;
  margin-top: -1.4rem; /* cubre el hueco que deja la cinta rotada */
}
.manifesto-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.manifesto-text {
  max-width: 54ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
  color: rgba(248, 243, 241, 0.85);
}

/* App-UI flotante */
.floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.float {
  position: absolute;
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg));
  will-change: transform;
}
.float-feed {
  --rot: -5deg;
  left: 3%; top: 16%;
  width: 235px;
  background: var(--white); color: var(--ink);
  border: var(--border); border-radius: 14px;
  box-shadow: var(--shadow-6);
  padding: 0.9rem;
}
.ff-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.ff-avatar {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--teal); color: var(--paper);
  font-weight: 700; border: var(--border); border-radius: 50%;
}
.ff-avatar.av-teal { background: var(--teal); }
.ff-avatar.av-coral { background: var(--coral); color: var(--ink); }
.ff-head strong { display: block; font-size: 0.85rem; line-height: 1.2; }
.ff-head em { display: block; font-style: normal; font-size: 0.7rem; opacity: 0.6; }
.ff-grade { font-family: var(--display); font-size: 2.5rem; line-height: 1; color: var(--magenta); }
.ff-route { font-size: 0.78rem; font-weight: 600; margin: 0.25rem 0 0.6rem; }
.ff-foot { display: flex; gap: 0.5rem; }
.ff-foot span {
  font-size: 0.72rem; font-weight: 700;
  border: var(--border); border-radius: 999px;
  padding: 0.2em 0.7em; background: var(--sand);
}

.float-pr {
  --rot: -12deg;
  right: 7%; top: 12%;
  width: 118px; height: 118px;
  display: grid; place-items: center;
  background: var(--magenta); color: var(--paper);
  clip-path: polygon(50% 0%, 59% 12%, 72% 5%, 75% 19%, 90% 18%, 86% 32%, 100% 38%, 89% 50%, 100% 62%, 86% 68%, 90% 82%, 75% 81%, 72% 95%, 59% 88%, 50% 100%, 41% 88%, 28% 95%, 25% 81%, 10% 82%, 14% 68%, 0% 62%, 11% 50%, 0% 38%, 14% 32%, 10% 18%, 25% 19%, 28% 5%, 41% 12%);
  animation: prSpin 22s linear infinite;
}
.float-pr span { font-family: var(--display); font-size: 1.5rem; transform: rotate(12deg); }
@keyframes prSpin { to { transform: rotate(348deg); } }

.float.f3 { --rot: 6deg; left: 12%; bottom: 20%; }

.float-grade {
  --rot: 8deg;
  right: 16%; bottom: 26%;
  width: 86px; height: 86px;
  display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
  font-family: var(--display); font-size: 2rem;
  border: var(--border-thick); border-radius: 14px;
  box-shadow: var(--shadow-6);
}

.float-pyramid {
  --rot: -7deg;
  right: 4%; top: 48%;
  width: 150px;
  background: var(--white);
  border: var(--border); border-radius: 14px;
  box-shadow: var(--shadow-6);
  padding: 0.9rem 0.6rem;
}
.float-pyramid i { display: block; height: 15px; margin: 5px auto 0; border: var(--border); border-radius: 5px; }
.float-pyramid i:nth-child(1) { width: 30%; background: var(--magenta); margin-top: 0; }
.float-pyramid i:nth-child(2) { width: 55%; background: var(--coral); }
.float-pyramid i:nth-child(3) { width: 78%; background: var(--sky); }
.float-pyramid i:nth-child(4) { width: 100%; background: var(--teal); }

.float-map {
  --rot: 5deg;
  left: 4%; top: 55%;
  width: 205px;
  background: var(--white); color: var(--ink);
  border: var(--border); border-radius: 14px;
  box-shadow: var(--shadow-6);
  padding: 0.9rem;
  background-image:
    linear-gradient(var(--ink-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-soft) 1px, transparent 1px);
  background-size: 1.1rem 1.1rem;
}
.fm-pin {
  display: block; width: 20px; height: 20px;
  background: var(--magenta);
  border: var(--border); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-bottom: 0.5rem;
}
.float-map strong { display: block; font-size: 0.95rem; }
.float-map em { display: block; font-style: normal; font-size: 0.74rem; opacity: 0.65; }

/* ============================================================
   FEATURES LIST
   ============================================================ */
.features {
  position: relative;
  padding: clamp(6rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3.5rem);
  max-width: 1440px; margin: 0 auto;
}
.features-head {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: clamp(1rem, 4vw, 3rem);
  margin-bottom: 3.5rem;
}
.features-head-mid { text-align: center; }
.features-sub {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.5rem);
  text-transform: uppercase; line-height: 1.3;
  margin-top: 0.6rem;
}
.grade-big {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  line-height: 1;
  text-shadow: 5px 5px 0 var(--ink);
}
.gb-teal { color: var(--teal); }
.gb-magenta { color: var(--magenta); }

.features-list { border-bottom: var(--border); }
.features-list li {
  border-top: var(--border);
  transition: background-color 0.25s var(--ease);
}
/* Cada fila es un enlace a su card del stack — que el → cumpla su promesa */
.fl-link {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.35rem clamp(0.5rem, 2vw, 1.5rem);
  text-decoration: none; color: inherit;
  transition: padding-left 0.25s var(--ease);
}
.fl-num { font-weight: 700; font-size: 0.95rem; opacity: 0.45; }
.fl-name {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.4vw, 2.7rem);
  text-transform: uppercase; line-height: 1.05;
}
.fl-arrow {
  font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700;
  opacity: 0; transform: translateX(-14px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.features-list li:hover .fl-link, .features-list li:focus-within .fl-link { padding-left: clamp(1rem, 3vw, 2.5rem); }
.features-list li:hover .fl-arrow, .features-list li:focus-within .fl-arrow { opacity: 1; transform: translateX(0); }
.features-list li:nth-child(1):hover { background: var(--sky); }
.features-list li:nth-child(2):hover { background: var(--blush); }
.features-list li:nth-child(3):hover { background: var(--lime); }
.features-list li:nth-child(4):hover { background: var(--sand); }
.features-list li:nth-child(5):hover { background: var(--coral); }
.features-list li:nth-child(6):hover { background: var(--teal); }

/* ============================================================
   BARRAS DE COLOR
   ============================================================ */
.bars {
  display: flex;
  height: clamp(80px, 14vh, 140px);
  border-block: var(--border);
}
.bars span {
  flex: 1;
  background: var(--c);
  border-right: var(--border);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.6s var(--ease-io);
  transition-delay: calc(var(--i) * 70ms);
}
.bars span:last-child { border-right: 0; }
.bars.in span { transform: scaleY(1); }

/* ============================================================
   STICKY STACK — la app
   ============================================================ */
.stack-section {
  padding: clamp(6rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3.5rem) 5rem;
  max-width: 1360px; margin: 0 auto;
}
.stack-head { text-align: center; margin-bottom: 4rem; display: flex; flex-direction: column; gap: 1.2rem; align-items: center; }
.stack-sub { font-weight: 600; font-size: 1.05rem; opacity: 0.75; }

/* El gap define cuánto scroll "vive" cada card sola antes de que la
   siguiente la cubra — generoso para que se vea entera con calma. */
.stack { display: grid; gap: clamp(110px, 28vh, 320px); }
.stack-card {
  position: sticky;
  top: calc(var(--nav-h) + 14px + var(--i) * 12px);
  scroll-margin-top: calc(var(--nav-h) + 14px);
  background: var(--sand);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-8);
  overflow: hidden;
  transform-origin: top center;
  will-change: transform;
}
.sc-head {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem);
  padding: 1.5rem clamp(1.2rem, 3vw, 2.2rem);
}
.sc-index {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.sc-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  text-transform: uppercase; line-height: 1;
  font-weight: 400;
}
.sc-motif {
  width: clamp(30px, 4vw, 44px); height: clamp(30px, 4vw, 44px);
  margin-left: auto;
  background: var(--accent);
  border: var(--border);
  box-shadow: var(--shadow-3);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.sc-marquee {
  background: var(--ink); color: var(--paper);
  border-block: var(--border);
  overflow: hidden;
}
.sc-marquee-track { display: flex; width: max-content; animation: marquee 18s linear infinite; }
.sc-marquee-group { display: flex; align-items: center; padding-block: 0.55em; }
.sc-marquee-group span {
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.sc-marquee-group i { font-style: normal; color: var(--accent); margin: 0 1.1rem; }
.sc-body {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.2rem, 3vw, 2.2rem) clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.sc-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  max-width: 46ch;
}

/* --- Mockup de móvil --- */
.phone {
  width: min(270px, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 17;
  background: var(--white);
  border: var(--border-thick); border-radius: 36px;
  box-shadow: var(--shadow-10);
  padding: 12px;
  transform: rotate(2.2deg);
  transition: transform 0.4s var(--ease);
}
.stack-card:hover .phone { transform: rotate(0deg) translateY(-6px); }
.phone-notch {
  width: 84px; height: 18px;
  background: var(--ink); border-radius: 999px;
  margin: 0 auto 10px;
}
.phone-screen {
  height: calc(100% - 28px);
  background: var(--paper);
  border: var(--border); border-radius: 24px;
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 9px;
  overflow: hidden;
}
.ps-title { font-family: var(--display); font-size: 0.9rem; text-transform: uppercase; }
.ps-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: var(--border); border-radius: 11px;
  box-shadow: var(--shadow-3);
  padding: 8px;
}
.ps-grade {
  font-family: var(--display); font-size: 0.85rem;
  padding: 0.15em 0.5em;
  border: var(--border); border-radius: 8px;
  flex-shrink: 0;
}
.g-teal { background: var(--teal); color: var(--paper); }
.g-sky { background: var(--sky); }
.g-coral { background: var(--coral); }
.ps-route strong { display: block; font-size: 0.78rem; line-height: 1.25; }
.ps-route em { display: block; font-style: normal; font-size: 0.68rem; opacity: 0.6; }
.ps-btn {
  margin-top: auto;
  border: 2px dashed var(--ink); border-radius: 11px;
  text-align: center; padding: 9px;
  font-weight: 700; font-size: 0.8rem;
  opacity: 0.65;
}
.ps-chart {
  display: flex; align-items: flex-end; gap: 6px;
  height: 108px; padding-top: 4px;
}
.ps-chart i {
  flex: 1; height: var(--h);
  border: var(--border); border-radius: 7px 7px 0 0;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.7s var(--ease-io);
}
.ps-chart i:nth-child(odd) { background: var(--teal); }
.ps-chart i:nth-child(even) { background: var(--sky); }
.ps-chart i:last-child { background: var(--magenta); }
.stack-card.in .ps-chart i { transform: scaleY(1); }
.ps-chart i:nth-child(2) { transition-delay: 0.08s; }
.ps-chart i:nth-child(3) { transition-delay: 0.16s; }
.ps-chart i:nth-child(4) { transition-delay: 0.24s; }
.ps-chart i:nth-child(5) { transition-delay: 0.32s; }
.ps-chart i:nth-child(6) { transition-delay: 0.4s; }
.ps-pyramid i {
  display: block; width: var(--w);
  margin: 4px auto 0;
  border: var(--border); border-radius: 6px;
  font-size: 0.62rem; font-weight: 700; text-align: center;
  line-height: 1.6; font-style: normal;
}
.ps-pyramid i:nth-child(1) { background: var(--magenta); color: var(--paper); margin-top: 0; }
.ps-pyramid i:nth-child(2) { background: var(--coral); }
.ps-pyramid i:nth-child(3) { background: var(--rose); }
.ps-pyramid i:nth-child(4) { background: var(--blush); }
.ps-pr {
  background: var(--magenta); color: var(--paper);
  border: var(--border); border-radius: 11px;
  box-shadow: var(--shadow-3);
  text-align: center; padding: 8px;
  font-family: var(--display); font-size: 0.85rem;
}
.ps-feed-card {
  background: var(--white);
  border: var(--border); border-radius: 13px;
  box-shadow: var(--shadow-3);
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.ps-feed-head { display: flex; align-items: center; gap: 8px; }
.ps-feed-head .ff-avatar { width: 28px; height: 28px; font-size: 0.8rem; }
.ps-feed-head strong { display: block; font-size: 0.78rem; line-height: 1.2; }
.ps-feed-head em { display: block; font-style: normal; font-size: 0.66rem; opacity: 0.6; }
.ps-feed-grade { font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--deep); }
.ps-feed-grade small { font-family: var(--body); font-size: 0.68rem; font-weight: 600; opacity: 0.65; }
.ps-feed-foot { display: flex; gap: 6px; }
.ps-feed-foot span {
  font-size: 0.68rem; font-weight: 700;
  border: var(--border); border-radius: 999px;
  padding: 0.15em 0.6em; background: var(--sand);
}
.ps-feed-foot .ps-kudos { background: var(--blush); }
.ps-map {
  position: relative;
  background-image:
    linear-gradient(var(--ink-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-soft) 1px, transparent 1px);
  background-size: 1.2rem 1.2rem;
  background-color: var(--sand);
}
.ps-pin {
  position: absolute;
  width: 18px; height: 18px;
  border: var(--border); border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.ps-pin.pp1 { background: var(--magenta); top: 18%; left: 22%; }
.ps-pin.pp2 { background: var(--teal); top: 38%; right: 20%; }
.ps-pin.pp3 { background: var(--lime); top: 56%; left: 38%; }
.ps-sheet {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background: var(--white);
  border: var(--border); border-radius: 13px;
  box-shadow: var(--shadow-3);
  padding: 10px;
}
.ps-sheet strong { display: block; font-size: 0.78rem; }
.ps-sheet em { display: block; font-style: normal; font-size: 0.68rem; opacity: 0.6; }
.ps-conv {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--white);
  border: var(--border); border-radius: 11px;
  box-shadow: var(--shadow-3);
  padding: 9px;
}
.ps-conv i { font-style: normal; font-weight: 700; opacity: 0.5; }

/* ============================================================
   TUNNEL — SIN PAPEL / SIN EXCUSAS / SIN LÍMITES
   ============================================================ */
.tunnel { height: 460vh; background: var(--ink); position: relative; }
.tunnel-sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid; place-items: center;
}
.tunnel-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.tunnel-rings i {
  position: absolute;
  width: 42vmin; height: 42vmin;
  border: 2px solid rgba(248, 243, 241, 0.22);
  border-radius: 50%;
  transform: scale(var(--rs, 0.4));
}
.tunnel-rings i:nth-child(2) { width: 70vmin; height: 70vmin; border-color: rgba(62, 203, 221, 0.3); }
.tunnel-rings i:nth-child(3) { width: 105vmin; height: 105vmin; border-color: rgba(231, 37, 133, 0.28); }
.tunnel-text {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(var(--s, 0.1));
  opacity: var(--o, 0);
  font-family: var(--display);
  font-size: clamp(2.6rem, 9.5vw, 8.5rem);
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform, opacity;
}
.tunnel-text.tt1 { color: var(--paper); }
.tunnel-text.tt2 { color: var(--sky); }
.tunnel-text.tt3 { color: var(--lime); }
.tunnel-text.tt4 { color: var(--coral); text-shadow: 6px 6px 0 rgba(248, 243, 241, 0.12); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  position: relative;
  padding: clamp(6rem, 12vh, 9.5rem) clamp(1.2rem, 4vw, 3.5rem);
  border-top: var(--border);
}
.stats-head { position: relative; z-index: 1; text-align: center; margin-bottom: 4rem; }
.stats-head .eyebrow { margin-bottom: 1rem; }
.stats-grid {
  position: relative; z-index: 1;
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}
.stat-card {
  background: var(--white);
  border: 2.5px solid var(--ink); border-radius: 18px;
  box-shadow: var(--shadow-6);
  padding: 2rem 1.8rem 1.9rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.stat-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-10); }
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.6vw, 4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num::after {
  content: '';
  display: block;
  width: 58px; height: 11px;
  margin-top: 10px;
  background: var(--accent);
  border: var(--border); border-radius: 999px;
}
.stat-name {
  font-family: var(--display);
  font-size: 1.02rem; text-transform: uppercase;
  margin: 1rem 0 0.45rem;
  font-weight: 400;
}
.stat-text { font-size: 0.94rem; line-height: 1.7; opacity: 0.85; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--sand);
  border-top: var(--border);
  padding: clamp(6rem, 12vh, 9rem) clamp(1.2rem, 4vw, 3.5rem);
}
.faq-head {
  max-width: 1000px; margin: 0 auto 3.5rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem;
}
.faq-sub { font-weight: 600; margin-top: 1rem; opacity: 0.75; }
.qmark {
  font-family: var(--display);
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  line-height: 1;
  color: var(--magenta);
  text-shadow: 6px 6px 0 var(--ink);
  transform: rotate(10deg);
  flex-shrink: 0;
}
.faq-list { max-width: 1000px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: var(--border); border-radius: 15px;
  box-shadow: var(--shadow-4);
  margin-bottom: 1rem;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.faq-item:has(.faq-q[aria-expanded="true"]) { box-shadow: var(--shadow-6); transform: translate(-2px, -2px); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 1rem;
  text-align: left;
  padding: 1.2rem 1.4rem;
  font-weight: 700; font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  border-radius: 15px;
}
.faq-q-mark {
  width: 32px; height: 32px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--lime);
  border: var(--border); border-radius: 50%;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease-back), background-color 0.25s;
}
.faq-q[aria-expanded="true"] .faq-q-mark { transform: rotate(360deg); background: var(--sky); }
.faq-plus {
  margin-left: auto; flex-shrink: 0;
  font-family: var(--display); font-size: 1.5rem; line-height: 1;
  transition: transform 0.35s var(--ease-back);
}
.faq-q[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-io); }
.faq-a.open { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  padding: 0 1.4rem 1.35rem calc(1.4rem + 32px + 1rem);
  line-height: 1.75;
  font-size: 0.98rem;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--teal);
  border-top: var(--border);
  padding: clamp(7rem, 15vh, 11rem) clamp(1.2rem, 4vw, 3rem);
  text-align: center;
}
.cta-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2.2rem; }
.cta-tags .tag { box-shadow: var(--shadow-3); }
.cta-foot {
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(248, 243, 241, 0.9);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink); color: var(--paper);
  border-top: var(--border);
  padding: 4.5rem clamp(1.2rem, 4vw, 3.5rem) 1.6rem;
  overflow: hidden;
}
.footer-top {
  max-width: 1360px; margin: 0 auto 2rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 1.1rem; }
.footer-brand img {
  width: 56px; height: 56px;
  border: 2px solid var(--paper); border-radius: 13px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.65; opacity: 0.85; }
.footer-brand em { font-style: italic; opacity: 0.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a {
  text-decoration: none;
  font-size: 0.84rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer-links a:hover { opacity: 1; color: var(--sky); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 3px; }
.footer-word {
  font-family: var(--display);
  font-size: clamp(2.9rem, 15.2vw, 20rem);
  line-height: 0.85;
  text-align: center;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--sky) 0%, var(--lime) 48%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  margin-bottom: 0.6rem;
}
.footer-bottom {
  max-width: 1360px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 2px solid rgba(248, 243, 241, 0.18);
  padding-top: 1.3rem;
  font-size: 0.78rem; font-weight: 600; opacity: 0.75;
}

/* ============================================================
   REVEALS (activados por JS con IntersectionObserver)
   ============================================================ */
html.js [data-rv] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, calc(var(--i, 0) * 90ms));
}
html.js [data-rv].in { opacity: 1; transform: none; }

/* Tags: pop con rebote, marca de la casa del original */
html.js .tags .tag, html.js .hero-chip {
  opacity: 0;
  transform: scale(0.4) rotate(-10deg);
  transition: opacity 0.55s var(--ease-back), transform 0.55s var(--ease-back);
  transition-delay: var(--d, 0s);
}
html.js .tags.in .tag { opacity: 1; transform: none; }
html.js.ready .hero-chip { opacity: 1; transform: none; animation-play-state: running; }
html.js:not(.ready) .hero-chip { animation-play-state: paused; }
.hero-chip.hc1 { transition-delay: 1s; }
.hero-chip.hc2 { transition-delay: 1.15s; }
.hero-chip.hc3 { transition-delay: 1.3s; }
.hero-chip.hc4 { transition-delay: 1.45s; }

/* Titulares gigantes: líneas que suben desde su máscara */
html.js [data-title] .tline-inner {
  transform: translateY(115%);
  transition: transform 0.95s var(--ease);
}
html.js [data-title].in .tline-inner { transform: translateY(0); }
html.js [data-title] .tline:nth-child(2) .tline-inner { transition-delay: 0.1s; }
html.js [data-title] .tline:nth-child(3) .tline-inner { transition-delay: 0.2s; }

/* Hero: entra tras el loader (html.ready) */
html.js .hero-line-inner {
  transform: translateY(115%);
  transition: transform 1s var(--ease);
}
html.js.ready .hero-line-inner { transform: translateY(0); }
html.js .hero-line:nth-child(2) .hero-line-inner { transition-delay: 0.12s; }
html.js .hero-line:nth-child(3) .hero-line-inner { transition-delay: 0.24s; }

html.js .features-list li {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease),
              background-color 0.25s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s;
}
html.js .features-list li.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Alturas cortas de desktop: cada card sticky debe caber ENTERA
   bajo el nav — se compacta el mockup y los paddings. */
@media (max-height: 940px) and (min-width: 761px) {
  .phone { zoom: 0.85; }
  .sc-head { padding-block: 1.1rem; }
  .sc-body { padding-block: 1.5rem 1.8rem; }
}
@media (max-height: 800px) and (min-width: 761px) {
  .phone { zoom: 0.6; }
  .sc-head { padding-block: 0.9rem; }
  .sc-body { padding-block: 1.2rem 1.5rem; }
  .sc-title { font-size: clamp(1.7rem, 4vw, 2.6rem); }
  .sc-index { font-size: clamp(1.8rem, 4vw, 2.6rem); }
  .sc-text { font-size: 1rem; line-height: 1.65; }
}

@media (max-width: 1120px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .float-pyramid, .float.f3 { display: none; }
}

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-right { margin-top: 1rem; }
  .hero-tag { align-self: center; text-align: center; }
  .sc-body { grid-template-columns: 1fr; }
  .sc-text { max-width: 60ch; }
  .phone { max-width: 250px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr; }
  .features-head { grid-template-columns: 1fr; text-align: center; }
  .grade-big { display: none; }
  .faq-head { flex-direction: column; }
  .qmark { align-self: flex-end; }
  .float-feed { width: 190px; left: -2%; top: 8%; }
  .float-map { display: none; }
  .float-pr { width: 90px; height: 90px; right: 3%; top: 5%; }
  .float-grade { right: 6%; bottom: 8%; width: 68px; height: 68px; font-size: 1.5rem; }
  .hero-chip.hc2 { right: 1%; }
  .hero-chip.hc3 { right: 1%; bottom: 10%; }
  .stack-card { position: static; }
  .stack { gap: 2rem; }
  /* Los mockups a escala reducida — en pantallas pequeñas se comían la card */
  .phone { zoom: 0.6; }

  /* Túnel: sin pin en móvil, bloque estático */
  .tunnel { height: auto; }
  .tunnel-sticky { position: static; height: auto; padding: 6rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
  .tunnel-rings { display: none; }
  .tunnel-text { position: static; transform: none; opacity: 1; white-space: normal; text-align: center; }
}

/* ============================================================
   MODO QA (?y=…): estados finales instantáneos para capturas
   headless — las transiciones CSS corren con tiempo real y salen
   a medias en el screenshot si no se anulan.
   ============================================================ */
html.qa *, html.qa *::before, html.qa *::after {
  transition: none !important;
  animation: none !important;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .loader { display: none; }
  html.js [data-rv], html.js .tags .tag, html.js .hero-chip,
  html.js [data-title] .tline-inner, html.js .hero-line-inner,
  html.js .features-list li, .bars span, .ps-chart i {
    opacity: 1 !important; transform: none !important;
  }
  .tunnel { height: auto; }
  .tunnel-sticky { position: static; height: auto; padding: 6rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
  .tunnel-rings { display: none; }
  .tunnel-text { position: static; transform: none; opacity: 1; white-space: normal; text-align: center; }
}
