/* ============================================================
   VYRON · vyronweb.com · V3 "La página que se transforma"
   Base sobria: carbón cálido + hueso + brasa (cero rosa/azul/morado).
   Los colores fuertes viven DENTRO de cada estilo de la galería.
   Archivo (Omnibus-Type) / Space Mono + fuentes por estilo.

   REGLA DURA ANTI-BUG: el estado final visible es el DEFAULT.
   Este CSS no oculta contenido; GSAP pone estados iniciales
   inline con from()/set() en main.js (con watchdog y fallbacks).
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #131110;
  --surface: #1B1816;
  --ink: #EDE6DC;
  --muted: #A99E92;
  --faint: #857B70;
  --ember: #C97F4E;
  --bone: #F1EAE0;
  --line: rgba(237, 230, 220, 0.12);
  --line-strong: rgba(237, 230, 220, 0.26);
  --font-sans: "Archivo", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 28px 64px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.35);
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--ember); color: #131110; }

a { text-underline-offset: 3px; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #131110; }
::-webkit-scrollbar-thumb { background: #3B342E; border-radius: 6px; border: 3px solid #131110; }
::-webkit-scrollbar-thumb:hover { background: #56493E; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--bone);
  color: #131110;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Nav (mix-blend difference: sobrevive a los 6 mundos) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 70;
  mix-blend-mode: difference;
  pointer-events: none;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a { pointer-events: auto; }
.wordmark {
  font-weight: 650;
  font-stretch: 118%;
  letter-spacing: 0.12em;
  font-size: 18px;
  color: #FFFFFF;
  text-decoration: none;
}
.wordmark-dot { color: #FFFFFF; opacity: 0.55; }
.wordmark-sm { font-size: 16px; }
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  transition: color 0.3s var(--ease);
}
.nav-links a:hover { color: #FFFFFF; }
.nav-cta {
  color: #FFFFFF;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease);
}
.nav-cta:hover { border-color: #FFFFFF; }
.nav-arrow { display: inline-block; margin-left: 6px; transition: transform 0.3s var(--ease); }
.nav-cta:hover .nav-arrow { transform: translateX(3px); }

/* ---------- Botones (monocromo invertido, regla de la casa) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  padding: 12px 24px;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--bone);
  color: #131110;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.btn-primary:hover { background: #FFFFFF; }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 11px 23px;
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 12px 32px; }

/* ============================================================
   ATERRIZAJE · paisaje procedural + wordmark
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /* Fallback del cielo si el canvas no pinta */
  background: linear-gradient(180deg, #0D0B0A 0%, #241612 45%, #54301D 72%, #9C5A32 88%, #C97F4E 100%);
}
.hero-sky { position: absolute; inset: 0; }
.hero-canvas { width: 100%; height: 100%; display: block; }
.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}
.hero-title { line-height: 1; }
.hero-wm {
  font-size: clamp(72px, 13.5vw, 196px);
  line-height: 0.94;
  font-weight: 700;
  font-stretch: 120%;
  letter-spacing: 0.015em;
  color: var(--bone);
  text-shadow: 0 2px 28px rgba(15, 8, 4, 0.45);
}
.hero-dot { color: #FFD9AE; }
.hero-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #F7EDE2;
  text-shadow: 0 1px 16px rgba(15, 8, 4, 0.5);
}
.line-mask { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line { display: block; }

/* ---------- Secciones base ---------- */
section { padding: 112px 0; }

.section-title {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  font-weight: 650;
  font-stretch: 114%;
  letter-spacing: -0.015em;
  max-width: 720px;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}

/* ============================================================
   NARRATIVA · los dos sueños
   ============================================================ */
.suenos { padding-top: 128px; }
.suenos-lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  max-width: 560px;
  text-wrap: pretty;
}
.suenos-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  background: var(--surface);
}
.panel-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
}
.panel-title {
  margin-top: 12px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 650;
  font-stretch: 110%;
  letter-spacing: -0.01em;
}
.panel-list {
  margin-top: 24px;
  list-style: none;
  display: grid;
  gap: 12px;
}
.panel-list li {
  padding-left: 24px;
  position: relative;
  color: var(--muted);
}
.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 2px;
  background: var(--ember);
}
.panel-body { margin-top: 24px; color: var(--muted); }
.query-list {
  margin-top: 24px;
  list-style: none;
  display: grid;
  gap: 8px;
}
.query-list li {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  color: #E4C7A8;
  background: rgba(201, 127, 78, 0.08);
  border: 1px solid rgba(201, 127, 78, 0.22);
  border-radius: 6px;
  padding: 12px 16px;
}
.suenos-close {
  margin-top: 40px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  max-width: 620px;
  text-wrap: pretty;
}

/* ============================================================
   LA GALERÍA VIVA · PUERTA (pin + scrub abre las dos hojas)
   Default (sin motion): puertas cerradas = sección legible.
   ============================================================ */
.gate {
  position: relative;
  height: 100vh;
  height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #F2E52E;
  color: #141005;
}
.gate-behind {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(227, 38, 43, 0.18), transparent 42%),
    #F2E52E;
}
.gate-tease {
  font-family: "Anton", var(--font-sans);
  font-size: clamp(48px, 11vw, 160px);
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px #141005;
}
.gate-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.35%;
  background:
    linear-gradient(180deg, #17130F 0%, #131110 60%, #1C1511 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  will-change: transform;
}
.gate-l {
  left: 0;
  align-items: flex-end;
  text-align: right;
  padding: 24px min(5vw, 64px) 24px 24px;
  border-right: 1px solid rgba(201, 127, 78, 0.5);
}
.gate-r {
  right: 0;
  align-items: flex-start;
  text-align: left;
  padding: 24px 24px 24px min(5vw, 64px);
  border-left: 1px solid rgba(201, 127, 78, 0.5);
}
.gate-word {
  font-weight: 750;
  font-stretch: 125%;
  font-size: clamp(44px, 8.6vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bone);
}
.gate-r .gate-word { color: var(--ember); -webkit-text-stroke: 0; }
.gate-intro {
  margin-top: 28px;
  max-width: 340px;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
  text-wrap: pretty;
}
.gate-hint {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9C9186;
}

/* ============================================================
   GALERÍA · base compartida de estilos
   ============================================================ */
.st { position: relative; overflow: hidden; padding: 0; }
.st-inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 120px; }
.st-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-top: 20px;
}
.st-feats {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 48px;
  max-width: 640px;
}
.st-tips { margin-top: 48px; max-width: 560px; }
.st-tips-title {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.st-tips ol { padding-left: 20px; display: grid; gap: 10px; }
.st-cta {
  display: inline-block;
  margin-top: 48px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.st-cta:active { transform: translateY(1px); }

/* ============================================================
   TEMA 1 · MAXIMALISMO (Anton, amarillo + rojo + negro)
   ============================================================ */
.st-max {
  background: #F2E52E;
  color: #141005;
}
.max-marquee {
  overflow: hidden;
  background: #141005;
  padding: 14px 0;
  border-bottom: 4px solid #E3262B;
}
.max-marquee-track {
  display: flex;
  width: max-content;
  animation: max-marquee 16s linear infinite;
}
.max-marquee-track span {
  font-family: "Anton", var(--font-sans);
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0.08em;
  color: #F2E52E;
  white-space: nowrap;
}
@keyframes max-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.max-title {
  font-family: "Anton", var(--font-sans);
  font-weight: 400;
  font-size: clamp(76px, 15vw, 230px);
  line-height: 0.84;
  letter-spacing: 0.01em;
  display: grid;
}
.max-w1 { color: #E3262B; }
.max-w2 {
  color: transparent;
  -webkit-text-stroke: 3px #141005;
  margin-left: 0.35em;
}
.max-w3 { color: #141005; margin-left: 0.9em; }
.max-year { background: #141005; color: #F2E52E; }
.max-lead {
  margin-top: 32px;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.4;
  font-weight: 700;
  max-width: 560px;
  text-wrap: pretty;
}
.max-stickers { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.max-stk {
  position: absolute;
  font-family: "Anton", var(--font-sans);
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0.06em;
  background: #FFFFFF;
  color: #141005;
  border: 3px solid #141005;
  box-shadow: 6px 6px 0 #141005;
  padding: 8px 16px;
}
.stk-1 { top: 22%; right: 8%; transform: rotate(7deg); background: #E3262B; color: #FFFFFF; }
.stk-2 { top: 46%; right: 22%; transform: rotate(-9deg); font-size: 32px; padding: 6px 14px; }
.stk-3 { top: 66%; right: 10%; transform: rotate(4deg); background: #0E6E33; color: #FFFFFF; }
.max-feats li {
  font-size: 19px;
  line-height: 28px;
  border: 3px solid #141005;
  background: #FFF9C9;
  padding: 18px 22px;
  box-shadow: 8px 8px 0 #141005;
}
.max-feats li:nth-child(2) { transform: rotate(-0.6deg); background: #FFFFFF; }
.max-feats li:nth-child(3) { transform: rotate(0.5deg); }
.max-tips {
  background: #141005;
  color: #F2E52E;
  padding: 32px 36px;
  transform: rotate(-1deg);
  box-shadow: 10px 10px 0 #E3262B;
}
.max-tips .st-tips-title { color: #FFFFFF; }
.max-cta {
  font-family: "Anton", var(--font-sans);
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0.05em;
  background: #141005;
  color: #FFFFFF;
  padding: 18px 32px;
  box-shadow: 8px 8px 0 #E3262B;
}
.max-cta:hover { transform: translate(-2px, -2px); box-shadow: 12px 12px 0 #E3262B; }
.max-cta:active { transform: translate(2px, 2px); box-shadow: 4px 4px 0 #E3262B; }

/* ============================================================
   TEMA 2 · BENTO GRID (Manrope, gris claro + naranja)
   ============================================================ */
.st-bento {
  background: #F3F2EE;
  color: #17181A;
  font-family: "Manrope", var(--font-sans);
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.b-cell {
  background: #FFFFFF;
  border: 1px solid rgba(23, 24, 26, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(23, 24, 26, 0.04);
}
.b-name { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.bento-title {
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.bento-year { background: #17181A; color: #F3F2EE; margin-top: 24px; align-self: flex-start; }
.bento-lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: #4B4D52;
  max-width: 420px;
  text-wrap: pretty;
}
.b-feat h3 { font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: -0.01em; }
.b-feat p { margin-top: 10px; font-size: 15px; line-height: 22px; color: #5A5C61; }
.b-img { grid-column: span 2; padding: 0; overflow: hidden; display: flex; }
.b-img img { object-fit: cover; width: 100%; height: 100%; min-height: 200px; }
.b-accent { background: #17181A; border-color: #17181A; }
.b-accent h3 { color: #FFFFFF; }
.b-accent p { color: #B9BBC0; }
.b-tips { grid-column: span 2; }
.b-tips .st-tips-title { color: #C74310; margin-bottom: 12px; font-weight: 800; }
.b-tips ol { padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 22px; color: #4B4D52; }
.b-cta { display: flex; align-items: center; justify-content: center; background: #FBFAF7; }
.bento-cta {
  background: #17181A;
  color: #FFFFFF;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  margin-top: 0;
  text-align: center;
}
.bento-cta:hover { background: #C74310; }

/* ============================================================
   TEMA 3 · PIXEL ART (Press Start 2P + VT323, paleta Game Boy)
   Vertical por default; .px-h (JS, desktop) = nivel horizontal.
   ============================================================ */
.st-pixel {
  background: #0F380F;
  color: #9BBC0F;
  font-family: "VT323", var(--font-mono);
}
.px-wrap { position: relative; padding: 120px 24px; }
.px-track {
  display: grid;
  gap: 72px;
  max-width: 1080px;
  margin: 0 auto;
}
.px-panel { position: relative; }
.px-title {
  font-family: "Press Start 2P", var(--font-mono);
  font-weight: 400;
  font-size: clamp(30px, 5.4vw, 72px);
  line-height: 1.15;
  color: #9BBC0F;
  text-shadow: 4px 4px 0 #306230;
}
.px-year {
  border: 2px solid #8BAC0F;
  color: #C6E416;
  border-radius: 0;
  font-family: "VT323", var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.06em;
}
.px-lead {
  margin-top: 28px;
  font-size: 26px;
  line-height: 1.35;
  max-width: 520px;
  color: #C6E416;
}
.px-sub {
  font-family: "Press Start 2P", var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #C6E416;
}
.px-feats { margin-top: 32px; gap: 14px; }
.px-feats li {
  font-size: 24px;
  line-height: 1.35;
  padding: 16px 20px;
  border: 4px solid #306230;
  background: #12420F;
  color: #B8D40E;
}
.px-feats li strong { color: #E0F35C; font-weight: 400; }
.px-tips { margin-top: 0; }
.px-tips .st-tips-title {
  font-family: "Press Start 2P", var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #C6E416;
}
.px-tips ol { font-size: 24px; line-height: 1.35; color: #B8D40E; }
.px-cta {
  font-family: "Press Start 2P", var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  background: #9BBC0F;
  color: #0F380F;
  padding: 16px 22px;
  border: 4px solid #306230;
  box-shadow: 6px 6px 0 #071F07;
}
.px-cta:hover { background: #C6E416; }
.px-cta:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #071F07; }

/* Sprite 8-bit (invader) dibujado con box-shadow */
.px-sprite { position: relative; }
.px-sprite::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 6px;
  color: #C6E416;
  background: transparent;
  box-shadow:
    12px 0px 0 0 currentColor, 48px 0px 0 0 currentColor,
    18px 6px 0 0 currentColor, 42px 6px 0 0 currentColor,
    12px 12px 0 0 currentColor, 18px 12px 0 0 currentColor, 24px 12px 0 0 currentColor,
    30px 12px 0 0 currentColor, 36px 12px 0 0 currentColor, 42px 12px 0 0 currentColor,
    48px 12px 0 0 currentColor,
    6px 18px 0 0 currentColor, 12px 18px 0 0 currentColor, 24px 18px 0 0 currentColor,
    30px 18px 0 0 currentColor, 36px 18px 0 0 currentColor, 48px 18px 0 0 currentColor,
    54px 18px 0 0 currentColor,
    0px 24px 0 0 currentColor, 6px 24px 0 0 currentColor, 12px 24px 0 0 currentColor,
    18px 24px 0 0 currentColor, 24px 24px 0 0 currentColor, 30px 24px 0 0 currentColor,
    36px 24px 0 0 currentColor, 42px 24px 0 0 currentColor, 48px 24px 0 0 currentColor,
    54px 24px 0 0 currentColor, 60px 24px 0 0 currentColor,
    0px 30px 0 0 currentColor, 12px 30px 0 0 currentColor, 18px 30px 0 0 currentColor,
    24px 30px 0 0 currentColor, 30px 30px 0 0 currentColor, 36px 30px 0 0 currentColor,
    42px 30px 0 0 currentColor, 48px 30px 0 0 currentColor, 60px 30px 0 0 currentColor,
    0px 36px 0 0 currentColor, 12px 36px 0 0 currentColor, 48px 36px 0 0 currentColor,
    60px 36px 0 0 currentColor,
    18px 42px 0 0 currentColor, 24px 42px 0 0 currentColor, 36px 42px 0 0 currentColor,
    42px 42px 0 0 currentColor;
  animation: px-walk 0.7s steps(1) infinite;
}
@keyframes px-walk {
  0%, 100% {
    box-shadow:
      12px 0px 0 0 currentColor, 48px 0px 0 0 currentColor,
      18px 6px 0 0 currentColor, 42px 6px 0 0 currentColor,
      12px 12px 0 0 currentColor, 18px 12px 0 0 currentColor, 24px 12px 0 0 currentColor,
      30px 12px 0 0 currentColor, 36px 12px 0 0 currentColor, 42px 12px 0 0 currentColor,
      48px 12px 0 0 currentColor,
      6px 18px 0 0 currentColor, 12px 18px 0 0 currentColor, 24px 18px 0 0 currentColor,
      30px 18px 0 0 currentColor, 36px 18px 0 0 currentColor, 48px 18px 0 0 currentColor,
      54px 18px 0 0 currentColor,
      0px 24px 0 0 currentColor, 6px 24px 0 0 currentColor, 12px 24px 0 0 currentColor,
      18px 24px 0 0 currentColor, 24px 24px 0 0 currentColor, 30px 24px 0 0 currentColor,
      36px 24px 0 0 currentColor, 42px 24px 0 0 currentColor, 48px 24px 0 0 currentColor,
      54px 24px 0 0 currentColor, 60px 24px 0 0 currentColor,
      0px 30px 0 0 currentColor, 12px 30px 0 0 currentColor, 18px 30px 0 0 currentColor,
      24px 30px 0 0 currentColor, 30px 30px 0 0 currentColor, 36px 30px 0 0 currentColor,
      42px 30px 0 0 currentColor, 48px 30px 0 0 currentColor, 60px 30px 0 0 currentColor,
      0px 36px 0 0 currentColor, 12px 36px 0 0 currentColor, 48px 36px 0 0 currentColor,
      60px 36px 0 0 currentColor,
      18px 42px 0 0 currentColor, 24px 42px 0 0 currentColor, 36px 42px 0 0 currentColor,
      42px 42px 0 0 currentColor;
  }
  50% {
    box-shadow:
      12px 0px 0 0 currentColor, 48px 0px 0 0 currentColor,
      0px 6px 0 0 currentColor, 18px 6px 0 0 currentColor, 42px 6px 0 0 currentColor,
      60px 6px 0 0 currentColor,
      0px 12px 0 0 currentColor, 12px 12px 0 0 currentColor, 18px 12px 0 0 currentColor,
      24px 12px 0 0 currentColor, 30px 12px 0 0 currentColor, 36px 12px 0 0 currentColor,
      42px 12px 0 0 currentColor, 48px 12px 0 0 currentColor, 60px 12px 0 0 currentColor,
      0px 18px 0 0 currentColor, 6px 18px 0 0 currentColor, 12px 18px 0 0 currentColor,
      24px 18px 0 0 currentColor, 30px 18px 0 0 currentColor, 36px 18px 0 0 currentColor,
      48px 18px 0 0 currentColor, 54px 18px 0 0 currentColor, 60px 18px 0 0 currentColor,
      0px 24px 0 0 currentColor, 6px 24px 0 0 currentColor, 12px 24px 0 0 currentColor,
      18px 24px 0 0 currentColor, 24px 24px 0 0 currentColor, 30px 24px 0 0 currentColor,
      36px 24px 0 0 currentColor, 42px 24px 0 0 currentColor, 48px 24px 0 0 currentColor,
      54px 24px 0 0 currentColor, 60px 24px 0 0 currentColor,
      6px 30px 0 0 currentColor, 12px 30px 0 0 currentColor, 18px 30px 0 0 currentColor,
      24px 30px 0 0 currentColor, 30px 30px 0 0 currentColor, 36px 30px 0 0 currentColor,
      42px 30px 0 0 currentColor, 48px 30px 0 0 currentColor, 54px 30px 0 0 currentColor,
      12px 36px 0 0 currentColor, 48px 36px 0 0 currentColor,
      6px 42px 0 0 currentColor, 54px 42px 0 0 currentColor;
  }
}
.px-sprite-inline {
  display: block;
  width: 66px;
  height: 48px;
  margin-top: 40px;
  transform: scale(1.6);
  transform-origin: top left;
}
.px-sprite-run { display: none; }

/* Modo horizontal (lo activa JS solo en desktop con motion) */
.px-h .px-wrap {
  height: 100vh;
  height: 100svh;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.px-h .px-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  max-width: none;
  will-change: transform;
}
.px-h .px-panel {
  flex: 0 0 auto;
  width: 82vw;
  padding: 0 9vw 96px;
}
.px-h .px-ground {
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background:
    repeating-linear-gradient(90deg, #306230 0 24px, #12420F 24px 48px);
  border-top: 6px solid #8BAC0F;
}
.px-ground { display: none; }
.px-h .px-sprite-run {
  display: block;
  position: absolute;
  left: 10vw;
  bottom: 58px;
  width: 66px;
  height: 48px;
  transform: scale(2);
  transform-origin: bottom left;
  z-index: 3;
}
.px-h .px-sprite-inline { display: none; }

/* ============================================================
   TEMA 4 · Y2K (Michroma, plata cromada + burbujas)
   ============================================================ */
.st-y2k {
  background: linear-gradient(180deg, #EAEEF2 0%, #CDD6DE 55%, #B7C2CC 100%);
  color: #232B33;
  font-family: "Michroma", var(--font-sans);
}
.y2k-orbs { position: absolute; inset: 0; pointer-events: none; }
.y2k-orb {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 18%, rgba(190, 225, 245, 0.35) 42%, rgba(150, 190, 215, 0.28) 62%, rgba(120, 150, 175, 0.16) 100%);
  box-shadow: inset 0 -12px 32px rgba(255, 255, 255, 0.5), 0 18px 44px rgba(60, 80, 100, 0.18);
}
.orb-1 { width: 240px; height: 240px; top: 10%; right: 8%; }
.orb-2 { width: 120px; height: 120px; top: 48%; right: 26%; }
.orb-3 { width: 88px; height: 88px; top: 72%; right: 6%; }
.y2k-title {
  font-weight: 400;
  font-size: clamp(88px, 22vw, 320px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg,
    #FDFEFF 0%, #C9D4DE 26%, #76879A 46%, #F2F7FB 52%, #9FB2C4 66%, #55636F 88%, #8C9CAC 100%);
  background-size: 100% 260%;
  background-position: 50% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 2px rgba(255, 255, 255, 0.75)) drop-shadow(0 10px 24px rgba(60, 80, 100, 0.3));
}
.y2k-year { border: 1px solid #7C8B99; color: #37424D; background: rgba(255, 255, 255, 0.5); }
.y2k-lead {
  margin-top: 32px;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  max-width: 560px;
  text-wrap: pretty;
}
.y2k-feats { margin-top: 56px; }
.y2k-feats li {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 26px;
  padding: 18px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 10px 26px rgba(60, 80, 100, 0.14);
  color: #2A333C;
}
.y2k-feats li strong { font-family: "Michroma", var(--font-sans); font-weight: 400; font-size: 15px; }
.y2k-tips .st-tips-title { color: #37424D; }
.y2k-tips ol { font-family: var(--font-sans); color: #37424D; }
.y2k-cta {
  font-size: 15px;
  line-height: 22px;
  padding: 16px 30px;
  border-radius: 999px;
  color: #1D242B;
  background: linear-gradient(180deg, #FFFFFF 0%, #D5DEE6 45%, #AEBAC5 55%, #E6ECF1 100%);
  border: 1px solid #8D9CAA;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 12px 28px rgba(60, 80, 100, 0.25);
}
.y2k-cta:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #FFFFFF, 0 18px 36px rgba(60, 80, 100, 0.3); }

/* ============================================================
   TEMA 5 · DARK MODE UI (mono, casi-negro frío + neón)
   ============================================================ */
.st-dark {
  background: #0B0E12;
  color: #D7DEE6;
  border-top: 1px solid rgba(61, 220, 132, 0.35);
}
.dark-title {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #EDF2F7;
}
.dark-title::after { content: "_"; color: #3DDC84; animation: dark-blink 1.1s steps(1) infinite; }
@keyframes dark-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.dark-year { border: 1px solid rgba(61, 220, 132, 0.4); color: #3DDC84; }
.dark-lead {
  margin-top: 28px;
  font-size: 18px;
  line-height: 28px;
  color: #9AA7B4;
  max-width: 560px;
  text-wrap: pretty;
}
.dark-window {
  margin-top: 48px;
  max-width: 560px;
  background: #12161C;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
}
.dark-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.d-dot { width: 10px; height: 10px; border-radius: 50%; background: #2A3038; }
.d-file {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  color: #5D6873;
}
.dark-code {
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 24px;
  color: #C9D4DE;
  overflow-x: auto;
}
.c-kw { color: #FF7B72; }
.c-var { color: #EDF2F7; }
.c-key { color: #7EE787; }
.c-str { color: #A5D6FF; }
.c-num { color: #FFA657; }
.dark-feats { margin-top: 48px; }
.dark-feats li {
  font-size: 16px;
  line-height: 26px;
  color: #9AA7B4;
  padding: 16px 20px;
  background: #10141A;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.dark-feats li strong { color: #EDF2F7; }
.dark-tips .st-tips-title { color: #3DDC84; font-family: var(--font-mono); }
.dark-tips ol { color: #9AA7B4; }
.dark-cta {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 22px;
  padding: 14px 26px;
  border-radius: 8px;
  color: #3DDC84;
  border: 1px solid rgba(61, 220, 132, 0.55);
  background: rgba(61, 220, 132, 0.06);
}
.dark-cta:hover { background: rgba(61, 220, 132, 0.14); box-shadow: 0 0 0 1px rgba(61, 220, 132, 0.35), 0 8px 28px rgba(61, 220, 132, 0.12); }

/* ============================================================
   TEMA 6 · GLASSMORPHISM (Outfit, vidrio sobre color)
   ============================================================ */
.st-glass {
  background: #10141A;
  color: #EFF3F8;
  font-family: "Outfit", var(--font-sans);
}
.glass-blobs { position: absolute; inset: 0; pointer-events: none; }
.g-blob { position: absolute; border-radius: 50%; }
.blob-1 {
  width: 560px; height: 560px;
  top: -8%; right: -6%;
  background: radial-gradient(circle, rgba(224, 141, 80, 0.55) 0%, rgba(224, 141, 80, 0.18) 45%, transparent 70%);
}
.blob-2 {
  width: 460px; height: 460px;
  top: 40%; left: -10%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.45) 0%, rgba(46, 196, 182, 0.14) 45%, transparent 70%);
}
.blob-3 {
  width: 380px; height: 380px;
  bottom: -6%; right: 18%;
  background: radial-gradient(circle, rgba(214, 79, 168, 0.4) 0%, rgba(214, 79, 168, 0.12) 45%, transparent 70%);
}
.glass-title {
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.glass-year { border: 1px solid rgba(255, 255, 255, 0.35); color: #EFF3F8; background: rgba(255, 255, 255, 0.08); }
.glass-lead {
  margin-top: 28px;
  font-size: 19px;
  line-height: 28px;
  color: #C4CDD8;
  max-width: 560px;
  text-wrap: pretty;
}
.glass-panel {
  margin-top: 48px;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 24px 56px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}
@supports not ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass-panel { background: rgba(22, 28, 36, 0.9); }
}
.glass-feats { margin-top: 0; gap: 14px; }
.glass-feats li { font-size: 17px; line-height: 26px; color: #DCE3EB; }
.glass-feats li strong { color: #FFFFFF; }
.glass-panel-tips { margin-top: 24px; }
.glass-panel-tips .st-tips-title { color: #FFD9AE; }
.glass-panel-tips ol { color: #DCE3EB; }
.glass-cta {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.glass-cta:hover { background: rgba(255, 255, 255, 0.2); }

/* ============================================================
   TEMA · plantilla (Neoclassical / Scrapbook / Gothic / Mixed
   media). Al agregar un estilo nuevo: copiar este bloque,
   renombrar .st-nombre y definir fondo, tipografía display
   (Google Fonts), color de .st-year, .st-feats, .st-tips y
   .st-cta en el lenguaje del estilo. Mantener .st-inner y los
   mismos huesos de contenido.
   ============================================================ */

/* ---------- Salida de la galería ---------- */
.salida { text-align: left; }
.salida-body {
  margin-top: 24px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  max-width: 620px;
  text-wrap: pretty;
}
.salida .btn { margin-top: 40px; }

/* ============================================================
   TRABAJO REAL (marcos sobre base oscura)
   ============================================================ */
.case { margin-top: 64px; }
.case-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
}
.case-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.case-flip .case-visual-phone { order: 2; }
.case-flip .case-copy { order: 1; }

.case-visual { position: relative; }
.case-visual .browser { box-shadow: var(--shadow-card); }

.browser {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1E1B18;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #1E1B18;
}
.b-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.b-url {
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  color: var(--faint);
}
.phone {
  border-radius: 40px;
  border: 8px solid #2A2622;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { border-radius: 30px; }
.phone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 14px;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}
.phone-overlap {
  position: absolute;
  width: 128px;
  right: -16px;
  bottom: -32px;
  box-shadow: var(--shadow-card);
  border-width: 6px;
  border-radius: 32px;
}
.phone-overlap img { border-radius: 24px; }
.case-visual-phone { display: flex; justify-content: center; }
.phone-lg { width: min(260px, 70%); box-shadow: var(--shadow-card); }

.case-title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 650;
  font-stretch: 110%;
  letter-spacing: -0.01em;
}
.case-role {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  color: var(--ember);
}
.case-body {
  margin-top: 16px;
  color: var(--muted);
  max-width: 65ch;
  text-wrap: pretty;
}
.case-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ember);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}
.case-link:hover { color: var(--ember); }

.case-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 24px;
  align-items: start;
}
.duo-item { position: relative; }
.duo-item .browser { box-shadow: var(--shadow-card); }
.duo-item .phone-overlap { width: 112px; bottom: auto; top: 148px; right: -12px; z-index: 2; }
.duo-copy { padding: 24px 8px 0; }
.duo-copy .case-title { font-size: 24px; line-height: 32px; }
.duo-copy .case-body { font-size: 15px; line-height: 24px; }

/* ---------- Tagline ---------- */
.tagline { padding: 128px 0; }
.tagline-text {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.14;
  font-weight: 650;
  font-stretch: 114%;
  letter-spacing: -0.015em;
  max-width: 920px;
  text-wrap: balance;
}
.tagline-text .w { display: inline-block; }

/* ---------- Proceso ---------- */
.steps {
  margin-top: 48px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  color: var(--ember);
}
.step-title {
  margin-top: 12px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.step-body {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.faq-list { display: grid; gap: 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ember); }
.qa-mark {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--faint);
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
  flex-shrink: 0;
}
.qa[open] .qa-mark { transform: rotate(45deg); color: var(--ember); }
.qa p {
  padding: 0 40px 24px 0;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Cierre (tarjeta hueso: inversión monocroma) ---------- */
.cierre { padding: 112px 0 96px; }
.cierre-inner {
  text-align: center;
  background: var(--bone);
  color: #131110;
  border-radius: 28px;
  padding: 88px 24px;
}
.cierre-title {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  font-weight: 650;
  font-stretch: 114%;
  letter-spacing: -0.015em;
  max-width: 680px;
  margin: 0 auto;
}
.cierre-body {
  margin: 24px auto 0;
  max-width: 480px;
  font-size: 18px;
  line-height: 28px;
  color: #4E463D;
  text-wrap: pretty;
}
.cierre-estilo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  color: #131110;
  background: rgba(19, 17, 16, 0.06);
  border: 1px solid rgba(19, 17, 16, 0.25);
  border-radius: 999px;
  padding: 8px 18px;
}
.estilo-quitar {
  border: 0;
  background: transparent;
  color: #4E463D;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}
.estilo-quitar:hover { color: #131110; }
.cierre-ctas {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cierre .btn-primary {
  background: #131110;
  color: var(--bone);
  box-shadow: 0 12px 28px rgba(19, 17, 16, 0.28);
}
.cierre .btn-primary:hover { background: #000000; }
.cierre .btn-ghost { border-color: rgba(19, 17, 16, 0.4); color: #131110; }
.cierre .btn-ghost:hover { border-color: #131110; }
.cierre-mail { margin-top: 24px; }
.cierre-mail a {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  color: #6B6156;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.cierre-mail a:hover { color: #131110; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer .wordmark { font-size: 16px; }
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--ink); }
.footer-note {
  font-size: 14px;
  line-height: 20px;
  color: var(--faint);
}

/* ---------- Grano ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  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='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- Motion off (?static=1 pone .no-motion en <html>) ---------- */
.no-motion *, .no-motion *::before, .no-motion *::after {
  animation: none !important;
}

@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;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .b-name { grid-column: span 2; grid-row: auto; }
  .b-img { grid-column: span 2; }
  .b-tips { grid-column: span 2; }
  .orb-1 { width: 180px; height: 180px; }
}

@media (max-width: 860px) {
  section { padding: 80px 0; }
  .st-inner { padding-top: 88px; padding-bottom: 88px; }
  .px-wrap { padding: 88px 24px; }
  .suenos-grid { grid-template-columns: 1fr; }
  .case-split, .case-flip { grid-template-columns: 1fr; gap: 32px; }
  .case-flip .case-visual-phone { order: 1; }
  .case-flip .case-copy { order: 2; }
  .case-duo { grid-template-columns: 1fr; gap: 64px; }
  .duo-item .phone-overlap { top: auto; bottom: -28px; right: -4px; width: 104px; }
  .cierre-inner { padding: 64px 24px; }

  /* Puerta en vertical: hojas apiladas legibles; el scrub las abre igual */
  .gate { height: auto; min-height: 100svh; display: grid; grid-template-rows: 1fr 1fr; }
  .gate-door { position: relative; width: 100%; }
  .gate-l {
    align-items: flex-start;
    text-align: left;
    padding: 88px 24px 40px;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 127, 78, 0.5);
  }
  .gate-r { padding: 40px 24px 64px; border-left: 0; }
  .gate-behind { position: absolute; inset: 0; }
  .gate-tease { font-size: clamp(40px, 13vw, 96px); }

  .max-stickers { display: none; }
  .orb-2 { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { gap: 16px; justify-content: space-between; padding: 16px 20px; }
  .hero-copy { padding-bottom: 40px; }
  .panel { padding: 24px; }
  .steps { grid-template-columns: 1fr; }
  .phone-overlap { width: 104px; right: -8px; }
  .duo-item .phone-overlap { width: 92px; right: -4px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { margin-left: 0; }
  .bento-grid { grid-template-columns: 1fr; }
  .b-name, .b-img, .b-tips { grid-column: auto; }
  .max-feats li { font-size: 17px; box-shadow: 5px 5px 0 #141005; }
  .max-tips { box-shadow: 6px 6px 0 #E3262B; padding: 24px; }
  .px-feats li, .px-tips ol, .px-lead { font-size: 21px; }
  .dark-code { font-size: 12px; line-height: 20px; }
  .glass-panel { padding: 24px; }
  .st-cta { margin-top: 40px; }
}
