/* ============================================================
   MESH FUTURES — sistema de diseño monocromo de precisión
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* --- grises / monocromo --- */
  --black:      #050506;
  --bg:         #08080a;
  --bg-2:       #0b0b0e;
  --panel:      #101013;
  --panel-2:    #16161b;
  --panel-3:    #1d1d24;
  --white:      #f6f6f8;
  --gray-100:   #e4e4e9;
  --gray-300:   #b6b6c0;
  --gray-400:   #92929d;
  --gray-500:   #6f6f7a;
  --gray-600:   #4d4d56;
  --gray-700:   #34343b;

  --line:        rgba(255,255,255,.075);
  --line-soft:   rgba(255,255,255,.045);
  --line-strong: rgba(255,255,255,.16);
  --glow:        rgba(255,255,255,.55);

  /* --- tipografía --- */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* --- ritmo --- */
  --u: 8px;
  --maxw: 1200px;
  --radius: 4px;
  --radius-lg: 8px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--black);
  color: var(--gray-300);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--white); color: var(--black); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ============================================================
   FONDO GLOBAL — capas (canvas mesh + grid + glows + grano)
   ============================================================ */

#mesh-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .9;
}

.bg-layers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* rejilla técnica fina */
.bg-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 90%);
}

/* glows radiales en escala de grises */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}
.bg-glow.g1 { width: 60vw; height: 60vw; top: -22vw; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%); }
.bg-glow.g2 { width: 42vw; height: 42vw; top: 60vh; left: -12vw;
  background: radial-gradient(circle, rgba(255,255,255,.05), transparent 70%); }
.bg-glow.g3 { width: 46vw; height: 46vw; top: 130vh; right: -14vw;
  background: radial-gradient(circle, rgba(255,255,255,.045), transparent 70%); }

/* viñeta + grano */
.bg-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, transparent 55%, rgba(0,0,0,.55) 100%);
}
.bg-noise {
  position: absolute; inset: 0;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* contenido por encima de los fondos */
.page { position: relative; z-index: 2; }

/* ============================================================
   UTILIDADES
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gray-600);
}

.mono { font-family: var(--font-mono); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px; letter-spacing: .04em;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.btn:hover .arw { transform: translateX(4px); }

.btn--solid {
  background: var(--white); color: var(--black); border-color: var(--white);
  font-weight: 500;
}
.btn--solid:hover {
  background: var(--gray-100);
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 8px 40px rgba(255,255,255,.16);
}

/* ============================================================
   TICKER SUPERIOR
   ============================================================ */
.ticker {
  position: relative; z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,6,.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  height: 38px;
  display: flex; align-items: center;
}
.ticker__track {
  display: flex; gap: 0; white-space: nowrap;
  animation: scroll-x 34s linear infinite;
}
.ticker__item {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray-300);
  padding: 0 26px;
  display: inline-flex; align-items: center; gap: 26px;
}
.ticker__item::after { content: "◆"; color: var(--gray-600); font-size: 7px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.header.scrolled {
  background: rgba(5,5,6,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { width: 26px; height: auto; }
/* logo del header: más grande, blanco y girando */
.header .brand__mark {
  width: 42px;
  transform-origin: 50% 50%;
  animation: brand-spin 16s linear infinite;
}
@keyframes brand-spin { to { transform: rotate(360deg); } }
.brand__name {
  display: inline-flex; flex-direction: column; align-items: center;
  line-height: 1;
}
/* padding-left = letter-spacing → compensa el espacio extra de la última letra
   para que los glifos queden ópticamente centrados, no la caja */
.brand__name-main {
  font-weight: 700; font-size: 18px;
  letter-spacing: .16em; padding-left: .16em;
  color: var(--white);
}
.brand__name small {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 9px; letter-spacing: .24em; padding-left: 0;
  color: var(--gray-400); margin-top: 5px;
  transform: translateX(-1.5px);
}
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: var(--font-mono); font-weight: 700; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-300); transition: color .25s var(--ease); position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--white); transition: width .3s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { width: 100%; background: var(--gray-600); }
.header__cta { display: flex; align-items: center; gap: 14px; }
/* zona superior en mayúscula y con más presencia */
.header .btn { text-transform: uppercase; font-weight: 600; letter-spacing: .1em; }
/* ----- botón hamburguesa (solo mobile) ----- */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer; position: relative; z-index: 60;
  transition: border-color .25s var(--ease);
}
.menu-btn span {
  display: block; width: 18px; height: 1.5px; background: var(--white);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-btn.open { border-color: rgba(255,255,255,.4); }
.menu-btn.open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ----- panel de menú mobile ----- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(5,5,6,.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: 100px 24px 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  font-family: var(--font-mono); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: 1.05rem; color: var(--gray-300);
  padding: 19px 2px; border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.mobile-menu__nav a:hover, .mobile-menu__nav a[aria-current="page"] { color: var(--white); }
.mobile-menu__nav a:active { padding-left: 8px; color: var(--white); }
.mobile-menu__cta { margin-top: auto; padding-top: 30px; }
.mobile-menu__cta .btn { width: 100%; justify-content: center; }
body.menu-open { overflow: hidden; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(70px, 12vh, 140px) 0 90px; }
.hero__in { position: relative; }

.hero h1 {
  font-size: clamp(2.9rem, 8.4vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 600;
  color: var(--white);
  margin: 26px 0 0;
  text-wrap: balance;
}
.hero h1 .dim { color: var(--gray-600); }
.hero h1 .line { display: block; }

.hero__sub {
  max-width: 560px;
  margin: 30px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--gray-400);
  text-wrap: pretty;
}
.hero__sub b { color: var(--gray-100); font-weight: 500; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.hero__meta .cell {
  flex: 1 1 160px;
  padding: 22px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__meta .k {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px;
}
.hero__meta .v { font-size: 20px; color: var(--white); font-weight: 500; letter-spacing: -.01em; }

@media (min-width: 1080px) {
  .hero__sub { max-width: 540px; }
}

/* ============================================================
   COMPATIBILIDAD — banner de wordmarks
   ============================================================ */
.compat {
  padding: clamp(64px, 11vh, 120px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 10, .55);
  position: relative;
}
.compat__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin-bottom: 44px;
}
.compat__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(44px, 8vw, 104px);
  flex-wrap: wrap;
}
.compat__logo {
  height: 26px;
  width: auto;
  opacity: .8;
  transition: opacity .35s var(--ease);
}
.compat__logo:hover { opacity: 1; }
@media (max-width: 720px) {
  .compat__logos { flex-direction: column; gap: 30px; }
}

/* ============================================================
   SECCIÓN GENÉRICA
   ============================================================ */
.section { padding: clamp(80px, 13vh, 150px) 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.04; letter-spacing: -.025em; font-weight: 600;
  color: var(--white); margin: 18px 0 0; text-wrap: balance;
}
.section__head p { margin-top: 20px; color: var(--gray-400); font-size: 1.08rem; max-width: 560px; }

/* número fantasma de sección */
.ghost-num {
  position: absolute; right: 0; top: -.35em;
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(6rem, 22vw, 16rem); line-height: 1;
  color: rgba(255,255,255,.022); letter-spacing: -.04em;
  pointer-events: none; z-index: 0; user-select: none;
}

/* ============================================================
   ENFOQUE — lista editorial numerada
   ============================================================ */
.enfoque {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) 1.1fr;
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}
.enfoque__lead { position: sticky; top: 104px; }
.enfoque__lead h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; letter-spacing: -.025em;
  font-weight: 600; color: var(--white); margin: 18px 0 0; text-wrap: balance;
}
.enfoque__lead > p {
  margin-top: 20px; color: var(--gray-400); font-size: 1.06rem; max-width: 420px; text-wrap: pretty;
}
.enfoque__link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em;
  color: var(--gray-300); transition: color .25s var(--ease);
}
.enfoque__link span { transition: transform .3s var(--ease); }
.enfoque__link:hover { color: var(--white); }
.enfoque__link:hover span { transform: translateX(5px); }

.enfoque__list { list-style: none; }
.enfoque__item {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; column-gap: clamp(22px, 3vw, 42px);
  align-items: start;
  padding: clamp(26px, 4vh, 40px) 0 clamp(26px, 4vh, 40px) 24px;
  border-top: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
.enfoque__item:first-child { border-top: none; padding-top: 4px; }
.enfoque__item::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 2px; height: 62%; background: var(--white);
  transform: translateY(-50%) scaleY(0); transform-origin: center;
  transition: transform .4s var(--ease);
}
.enfoque__idx {
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -.02em;
  color: var(--gray-700); transition: color .4s var(--ease);
}
.enfoque__text h3 {
  color: var(--white); font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 600;
  letter-spacing: -.01em; margin-bottom: 10px;
}
.enfoque__text p { color: var(--gray-400); font-size: 1rem; max-width: 480px; text-wrap: pretty; }
.enfoque__item:hover { transform: translateX(6px); }
.enfoque__item:hover::before { transform: translateY(-50%) scaleY(1); }
.enfoque__item:hover .enfoque__idx { color: var(--white); }

@media (max-width: 920px) {
  .enfoque { grid-template-columns: 1fr; gap: 40px; }
  .enfoque__lead { position: static; }
}

/* ============================================================
   OFERTAS — las dos cosas que se venden
   ============================================================ */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  padding: 40px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.offer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,.06), transparent 55%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.offer:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.offer:hover::before { opacity: 1; }

.offer__tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray-300); padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 100px; margin-bottom: 30px;
}
.offer__tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--white);
  box-shadow: 0 0 10px var(--glow); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.offer h3 { color: var(--white); font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; }
.offer__desc { color: var(--gray-400); margin: 14px 0 30px; font-size: 1rem; }

.offer__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.offer__price .amt {
  font-family: var(--font-mono); font-weight: 700; color: var(--white);
  font-size: 3rem; letter-spacing: -.03em; line-height: 1;
}
.offer__price .cyc { font-family: var(--font-mono); font-size: 13px; color: var(--gray-500);
  letter-spacing: .04em; }
.offer__note { font-family: var(--font-mono); font-size: 12px; color: var(--gray-600);
  margin-bottom: 30px; }

.offer__list { list-style: none; display: flex; flex-direction: column; gap: 14px;
  margin: 4px 0 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.offer__list li { display: flex; gap: 13px; align-items: flex-start; font-size: .96rem;
  color: var(--gray-300); }
.offer__list li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--gray-400); }
.offer__cta { margin-top: auto; }
.offer__cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   MESHSUITE — detalle de indicadores
   ============================================================ */
.suite { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.indicator {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-2); padding: 34px; position: relative; overflow: hidden;
  transition: background .4s var(--ease);
}
.indicator:hover { background: var(--panel); }
.indicator__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.indicator__id { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--gray-600); }
.indicator__chip { font-family: var(--font-mono); font-size: 11px; color: var(--gray-300);
  border: 1px solid var(--line); padding: 5px 11px; border-radius: 100px; letter-spacing: .03em; }
.indicator h3 { color: var(--white); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em;
  margin-bottom: 10px; }
.indicator p { font-size: .96rem; color: var(--gray-400); margin-bottom: 26px; }
.indicator__viz { height: 120px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--black); position: relative; overflow: hidden; margin-bottom: 26px; }
.indicator__viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.indicator__foot { display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 22px; border-top: 1px solid var(--line); }
.indicator__price .amt { font-family: var(--font-mono); font-weight: 700; color: var(--white);
  font-size: 1.6rem; }
.indicator__price .cyc { font-family: var(--font-mono); font-size: 12px; color: var(--gray-500); }
.suite__note { margin-top: 26px; font-family: var(--font-mono); font-size: 12.5px;
  color: var(--gray-500); display: flex; gap: 10px; align-items: center; }
.suite__note svg { width: 15px; height: 15px; color: var(--gray-500); flex: none; }

/* ============================================================
   INDICADOR DESTACADO (Mesh Edge)
   ============================================================ */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.feature__info { padding: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; }
.feature__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.feature__info h3 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; margin-bottom: 16px; }
.feature__info > p { color: var(--gray-400); font-size: 1.02rem; margin-bottom: 4px; }
.feature__list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 30px 0 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.feature__list li { display: flex; gap: 13px; align-items: flex-start; font-size: .98rem; color: var(--gray-300); }
.feature__list li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--gray-400); }
.feature__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; border-top: 1px solid var(--line); }
.feature__foot .btn { white-space: nowrap; }
.feature__viz { position: relative; border-left: 1px solid var(--line); background: var(--black); min-height: 380px; overflow: hidden; }
.feature__viz svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature__viz-label { position: absolute; top: 18px; left: 20px; z-index: 1; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--gray-500); }
/* animación "en vivo" del gráfico Mesh Edge */
.edge-line { stroke-dasharray: 100; animation: edge-draw 2s var(--ease) .3s both; }
@keyframes edge-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.edge-scan { animation: edge-scan 5s linear 1.4s infinite; }
@keyframes edge-scan { from { transform: translateX(0); } to { transform: translateX(440px); } }
.edge-mark { animation: edge-pulse 2.6s var(--ease) infinite; }
.edge-mark:nth-of-type(2) { animation-delay: .55s; }
.edge-mark:nth-of-type(3) { animation-delay: 1.1s; }
@keyframes edge-pulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@media (max-width: 920px) {
  .feature { grid-template-columns: 1fr; }
  .feature__viz { border-left: none; border-top: 1px solid var(--line); min-height: 220px; order: -1; }
}

/* ============================================================
   PROCESO
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--line); background: var(--line); border-radius: var(--radius-lg);
  overflow: hidden; }
.step { background: var(--bg-2); padding: 34px 28px 40px; position: relative;
  transition: background .4s var(--ease); }
.step:hover { background: var(--panel); }
.step__n { font-family: var(--font-mono); font-size: 13px; color: var(--white);
  width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 26px; }
.step h4 { color: var(--white); font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--gray-400); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 4px; color: var(--white); font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 500; letter-spacing: -.01em;
  transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--gray-300); }
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--gray-400); transition: transform .3s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq__item.open .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a-in { padding: 0 4px 30px; color: var(--gray-400); max-width: 720px; font-size: 1rem; }
.faq__item.open .faq__q { color: var(--white); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-band { position: relative; padding: clamp(90px, 16vh, 170px) 0; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(255,255,255,.06), transparent 70%);
}
.cta-band__in { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.03em;
  font-weight: 600; color: var(--white); text-wrap: balance; }
.cta-band p { color: var(--gray-400); margin: 24px auto 40px; max-width: 480px; }
.cta-band .hero__cta { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 70px 0 48px; position: relative; z-index: 2; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand p { font-size: .95rem; color: var(--gray-500); max-width: 320px; }
.footer__col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gray-600); margin-bottom: 20px; }
.footer__col a { display: block; color: var(--gray-400); font-size: .95rem; margin-bottom: 13px;
  transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 28px;
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer__bottom span { font-family: var(--font-mono); font-size: 11.5px; color: var(--gray-600);
  letter-spacing: .04em; }
.disclaimer { margin-top: 26px; padding: 20px 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: rgba(255,255,255,.012); }
.disclaimer p { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7;
  color: var(--gray-600); letter-spacing: .01em; }

/* ============================================================
   MANIFIESTO — página "¿Qué es Mesh Futures?"
   ============================================================ */
.manifesto {
  padding: clamp(72px, 13vh, 140px) 0 clamp(80px, 14vh, 150px);
  position: relative;
}
.manifesto__head { max-width: 880px; margin: 0 auto clamp(48px, 7vh, 76px); text-align: center; }
.manifesto__head h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: .98; letter-spacing: -.035em; font-weight: 600;
  color: var(--white); margin-top: 22px; text-wrap: balance;
}
.manifesto__body { max-width: 700px; margin: 0 auto; }
.manifesto__body p {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.74;
  color: var(--gray-300); margin-bottom: 28px; text-wrap: pretty;
}
.manifesto__body p.lead {
  font-size: clamp(1.22rem, 2.1vw, 1.6rem); line-height: 1.55; color: var(--gray-100);
  margin-bottom: 34px;
}
.manifesto__body b { color: var(--white); font-weight: 600; }
.pull {
  margin: clamp(40px, 6vh, 60px) 0; padding: 6px 0 8px 30px;
  border-left: 2px solid var(--line-strong);
  font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.12; letter-spacing: -.025em;
  font-weight: 600; color: var(--white); text-wrap: balance;
}
.manifesto__cta {
  max-width: 700px; margin: clamp(56px, 8vh, 80px) auto 0;
  padding-top: clamp(40px, 6vh, 56px); border-top: 1px solid var(--line); text-align: center;
}
.manifesto__cta h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--white); font-weight: 600;
  letter-spacing: -.02em; margin-bottom: 28px; text-wrap: balance;
}
.manifesto__cta .hero__cta { justify-content: center; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .principles { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .suite { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .header__cta { display: none; }
  .menu-btn { display: flex; }

  /* CTAs full-width y apilados (mejor para el dedo) */
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  /* espaciados más ajustados en mobile */
  .section { padding: 58px 0; }
  .section__head { margin-bottom: 36px; }
  .hero { padding: 46px 0 60px; }
  .hero__meta { margin-top: 44px; }
  .step { padding: 26px 24px 30px; }
  .cta-band { padding: 70px 0; }
  .manifesto { padding: 54px 0 62px; }

  .hero__meta .cell { flex-basis: 50%; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .offer { padding: 30px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
