/* Landing de guías @noisy.ia
   Tema único oscuro (el mismo de las guías PDF). Acento: naranja. El azul solo vive en el recuadro de selección, que es la firma de la marca.
   Radios: tarjetas 20px, botones e inputs 14px, píldoras completas. */
:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --card: rgba(255, 255, 255, .035);
  --text: #f3f3f1;
  --muted: #b3b3b8;
  --dim: #85858b;
  --accent: #d97757;
  --accent-2: #ec8c6b;
  --accent-ink: #1a0f0a;
  --blue: #1e7bff;
  --green: #2fd27a;
  --red: #ff6b5f;
  --cream: #f5efe6;
  --r-card: 20px;
  --r-ctl: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(217, 119, 87, .35); }
.ph { line-height: 1; }
[hidden] { display: none !important; }

/* ---------- fondo: brillos que derivan lento + piso en perspectiva (motivo de las guías) ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg::before, .bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform;
}
.bg::before { width: 420px; height: 420px; left: -140px; top: -120px; background: radial-gradient(circle, rgba(217,119,87,.55), transparent 65%); animation: drift-a 18s ease-in-out infinite alternate; }
.bg::after { width: 380px; height: 380px; right: -160px; top: 220px; background: radial-gradient(circle, rgba(30,123,255,.28), transparent 65%); animation: drift-b 22s ease-in-out infinite alternate; }
.floor { position: absolute; left: -50%; right: -50%; top: 340px; height: 520px; perspective: 360px; }
.floor i {
  position: absolute; inset: 0; transform: rotateX(64deg); transform-origin: 50% 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent 85%); mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent 85%);
  animation: floor 9s linear infinite;
}
@keyframes drift-a { to { transform: translate(90px, 80px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-80px, 120px) scale(.9); } }
@keyframes floor { to { background-position: 0 56px; } }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- barra superior ---------- */
.nav { position: sticky; top: 0; z-index: 20; padding: 12px 0; background: linear-gradient(to bottom, rgba(10,10,11,.92), rgba(10,10,11,.7)); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 38px; height: 38px; border-radius: 12px; background: var(--cream); image-rendering: pixelated; object-fit: cover; object-position: 50% 12%; flex: none; }
.brand b { display: block; font-weight: 700; letter-spacing: -.2px; font-size: 15.5px; }
.brand span { display: block; font-size: 12.5px; color: var(--dim); font-weight: 500; }
.follow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-decoration: none; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); transition: background .2s ease, transform .15s ease; white-space: nowrap; }
.follow:hover { background: rgba(255,255,255,.07); }
.follow:active { transform: scale(.96); }
.follow .ph { font-size: 17px; }

/* ---------- tipografía ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px "JetBrains Mono", ui-monospace, monospace; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-2); padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(217,119,87,.1); border: 1px solid rgba(217,119,87,.28); }
.eyebrow .ph { font-size: 15px; }
h1 { font-size: clamp(38px, 10.5vw, 64px); font-weight: 700; letter-spacing: -.05em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(28px, 7.6vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1.06; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.5; color: var(--muted); font-weight: 500; max-width: 36ch; text-wrap: pretty; }
.sub { font-size: 16.5px; line-height: 1.5; color: var(--muted); font-weight: 500; max-width: 46ch; margin-top: 10px; }

/* recuadro de selección (firma de las guías y los reels) */
.sel { position: relative; display: inline-block; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; padding: 0 .14em .04em; line-height: 1.08; margin-left: .04em; white-space: nowrap; }
.sel::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--blue); }
.sel i { position: absolute; width: 9px; height: 9px; background: #fff; border: 2px solid var(--blue); z-index: 1; }
.sel i:first-child { left: -5px; top: -5px; }
.sel i:last-child { right: -5px; bottom: -5px; }

/* ---------- hero ---------- */
.hero { padding: 26px 0 8px; overflow-x: clip; }
.feature { overflow: clip; }
.hero h1 { margin: 18px 0 14px; }
.hero-grid { display: grid; gap: 8px; }

/* abanico de páginas */
.stack { position: relative; height: 276px; margin: 18px auto 6px; width: min(100%, 360px); perspective: 900px; cursor: pointer; }
.stack .pg { position: absolute; left: 50%; top: 8px; width: 170px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 50px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4); transform-origin: 50% 110%; transition: transform .7s var(--ease); background: #111; }
.stack .pg img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stack .p1 { z-index: 3; transform: translateX(-50%) rotate(0deg); }
.stack .p2 { z-index: 2; transform: translateX(-50%) rotate(0deg); }
.stack .p3 { z-index: 1; transform: translateX(-50%) rotate(0deg); }
.stack.fan .p1 { transform: translateX(-50%) translateY(-4px) rotate(-1.5deg); }
.stack.fan .p2 { transform: translateX(-100%) translateY(18px) rotate(-10deg); }
.stack.fan .p3 { transform: translateX(0%) translateY(18px) rotate(9deg); }
.stack.fan:hover .p2, .stack.open .p2 { transform: translateX(-112%) translateY(10px) rotate(-13deg); }
.stack.fan:hover .p3, .stack.open .p3 { transform: translateX(12%) translateY(10px) rotate(12deg); }
.stack .float { position: absolute; inset: 0; animation: float 6s ease-in-out 1.4s infinite; }
.badge-pages { position: absolute; z-index: 4; left: 50%; bottom: 4px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: 700 12.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .5px; color: #fff; background: rgba(18,18,20,.86); border: 1px solid var(--line-2); padding: 8px 13px; border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.badge-pages .ph { color: var(--accent-2); font-size: 16px; }
.stack.reels { height: 330px; }
.stack.reels .pg { width: 150px; border-radius: 16px; }
.stack.reels .pg img { aspect-ratio: 9 / 16; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- formulario ---------- */
.capture { position: relative; padding: 18px; border-radius: var(--r-card); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -30px rgba(0,0,0,.8); scroll-margin-top: 90px; }
.capture label { display: block; font-weight: 700; font-size: 16.5px; margin-bottom: 10px; letter-spacing: -.2px; }
.field { position: relative; }
.field .ph { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--dim); pointer-events: none; transition: color .2s ease; }
.capture input[type=email], .capture input[type=text] {
  width: 100%; font: 500 17px "Inter Tight", system-ui, sans-serif; /* 17px evita el zoom de iOS */
  color: #fff; background: #0c0c0e; border: 1.5px solid rgba(255,255,255,.16); border-radius: var(--r-ctl); padding: 15px 14px 15px 46px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.capture input::placeholder { color: #75757b; }
.capture input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(217,119,87,.18); }
.field:focus-within .ph { color: var(--accent-2); }
.capture input[aria-invalid=true] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,107,95,.14); animation: shake .4s ease; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: var(--red); font-size: 14px; font-weight: 600; margin-top: 8px; }
.err:empty { display: none; }
.fine { display: flex; gap: 8px; font-size: 13px; line-height: 1.45; color: var(--dim); margin-top: 12px; font-weight: 500; }
.fine .ph { font-size: 16px; flex: none; margin-top: 1px; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.btn {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 12px;
  font: 800 18px "Inter Tight", system-ui, sans-serif; letter-spacing: -.2px; color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, var(--accent-2), var(--accent)); border: 0; border-radius: var(--r-ctl); padding: 17px 18px; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 30px -8px rgba(217,119,87,.6);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; touch-action: manipulation;
}
.btn .ph { font-size: 20px; transition: transform .25s var(--ease); }
.btn:hover { filter: brightness(1.05); }
.btn:hover .ph-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(.98) translateY(1px); }
.btn[disabled] { cursor: progress; filter: saturate(.7); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-18deg); animation: shine 4.5s ease-in-out 2.2s infinite; }
.btn.ghost { background: rgba(255,255,255,.04); border: 1.5px solid var(--line-2); box-shadow: none; font-weight: 700; font-size: 16px; }
.btn.ghost::after { display: none; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* estado listo */
.done { text-align: center; padding: 22px 18px 18px; }
.done .me-thumbs { width: 96px; height: 106px; margin: -4px auto 6px; image-rendering: pixelated; animation: pop .6s var(--ease) both; }
.done h3 { font-size: 26px; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 6px; animation: rise .5s var(--ease) .1s both; }
.done p { color: var(--muted); font-weight: 500; font-size: 15.5px; animation: rise .5s var(--ease) .18s both; }
.done p b { display: block; color: #fff; overflow-wrap: anywhere; margin: 2px 0; }
.done .btn { animation: rise .5s var(--ease) .26s both; }
.done .btn + .btn { margin-top: 10px; }
.confetti { position: fixed; z-index: 60; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; top: 0; left: 0; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- cifras ---------- */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 34px 0 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof div { padding: 18px 6px 16px; text-align: center; }
.proof div + div { border-left: 1px solid var(--line); }
.proof b { display: block; font: 800 34px/1 "Barlow Condensed", "Inter Tight", sans-serif; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.proof span { display: block; font-size: 12.5px; line-height: 1.3; color: var(--dim); font-weight: 600; margin-top: 6px; }

/* ---------- secciones ---------- */
.sec { padding: 54px 0 0; }
.sec > .wrap > h2, .sec h2 { margin-bottom: 4px; }

/* carrusel de páginas */
.pages { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 22px 16px 10px; margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.pages::-webkit-scrollbar { display: none; }
.pages figure { position: relative; scroll-snap-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #111; box-shadow: 0 20px 40px -20px rgba(0,0,0,.9); }
.pages img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pages figure.locked img { filter: blur(7px) brightness(.55); transform: scale(1.06); }
.pages figure.locked figcaption { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 16px; font-weight: 700; font-size: 15px; }
.pages figure.locked figcaption .ph { font-size: 26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(217,119,87,.18); color: var(--accent-2); border: 1px solid rgba(217,119,87,.35); }
.pages figure.locked figcaption a { color: var(--accent-2); text-decoration: none; font-size: 14px; }
.hint { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dim); font-weight: 600; margin-top: 4px; }

/* lo que aprendes: grilla 2x2 con números grandes */
.learn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.learn li { list-style: none; position: relative; padding: 16px 14px 18px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); min-height: 132px; overflow: hidden; }
.learn li:first-child { background: linear-gradient(160deg, rgba(217,119,87,.22), rgba(217,119,87,.04) 70%); border-color: rgba(217,119,87,.3); }
.learn li:nth-child(4) { background: linear-gradient(200deg, rgba(30,123,255,.14), rgba(255,255,255,.02) 70%); }
.learn b { display: block; font: 800 40px/1 "Barlow Condensed", "Inter Tight", sans-serif; color: var(--accent-2); margin-bottom: 10px; }
.learn li:nth-child(4) b { color: #7fb0ff; }
.learn span { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.32; color: #e6e6e8; letter-spacing: -.1px; }

/* sobre mí */
.me { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 18px; margin-top: 22px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.me .avatar { width: 112px; height: 124px; border-radius: 18px; background: var(--cream); display: grid; place-items: end center; overflow: hidden; }
.me .avatar img { width: 104px; image-rendering: pixelated; }
.me h3 { font-size: 21px; letter-spacing: -.03em; margin-bottom: 4px; }
.me p { font-size: 15px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.me a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; font-size: 14.5px; color: var(--accent-2); text-decoration: none; }

/* otras guías */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 20px 16px 6px; margin: 0 -16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; display: block; text-decoration: none; transition: transform .2s var(--ease); }
.tile:active { transform: scale(.97); }
.tile .cv { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); margin-bottom: 10px; background: #111; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile b { display: block; font-size: 14.5px; line-height: 1.28; letter-spacing: -.2px; }
.tile span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--accent-2); font-weight: 700; margin-top: 4px; }

footer { margin-top: 56px; padding: 22px 0 calc(110px + var(--safe-b)); border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--dim); font-weight: 600; }
footer a { text-decoration: none; }

/* barra fija inferior: aparece cuando el formulario sale de la pantalla */
.dock { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 10px 10px 12px; border-radius: 18px; background: rgba(22,22,25,.88); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 20px 40px -10px rgba(0,0,0,.7); transform: translateY(140%); transition: transform .5s var(--ease); max-width: 560px; margin: 0 auto; }
.dock.show { transform: none; }
.dock img { width: 44px; height: 55px; object-fit: cover; border-radius: 6px; }
.dock b { display: block; font-size: 14.5px; line-height: 1.2; letter-spacing: -.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock span { font-size: 12.5px; color: var(--dim); font-weight: 600; }
.dock .btn { margin: 0; width: auto; padding: 12px 16px; font-size: 15.5px; }
.dock > div { min-width: 0; }

/* ---------- inicio ---------- */
.home-hero { padding-top: 30px; padding-bottom: 4px; display: grid; gap: 18px; }
.home-hero .wave { width: 92px; height: 102px; border-radius: 22px; background: var(--cream); display: grid; place-items: end center; overflow: hidden; box-shadow: 0 16px 40px -16px rgba(217,119,87,.5); }
.home-hero .wave img { width: 86px; image-rendering: pixelated; }
.feature { display: grid; gap: 18px; margin-top: 30px; padding: 18px; border-radius: 24px; text-decoration: none; background: linear-gradient(160deg, rgba(217,119,87,.16), rgba(255,255,255,.02) 60%); border: 1px solid rgba(217,119,87,.28); overflow: hidden; }
.feature .stack { height: 260px; margin: 6px auto 0; }
.feature .stack .pg { width: 160px; }
.feature h2 { font-size: clamp(26px, 7vw, 36px); }
.feature p { color: var(--muted); font-weight: 500; margin-top: 8px; }
.feature .btn { margin-top: 16px; }
.new { display: inline-flex; align-items: center; gap: 6px; font: 700 12px "JetBrains Mono", ui-monospace, monospace; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-2); padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; margin-top: 22px; }
.grid .tile .meta { font-size: 12.5px; color: var(--dim); font-weight: 600; margin-top: 4px; }
.banner { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 18px; margin-top: 26px; text-decoration: none; border-radius: var(--r-card); border: 1px solid var(--line-2); background: var(--card); }
.banner b { display: block; font-size: 17px; letter-spacing: -.3px; }
.banner span { color: var(--muted); font-weight: 500; font-size: 14.5px; }
.banner .ph { font-size: 22px; color: var(--accent-2); }

/* ---------- aparición al hacer scroll y entrada del hero ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .w { display: inline-block; opacity: 0; transform: translateY(.45em); animation: word .8s var(--ease) forwards; animation-delay: calc(120ms + var(--i) * 55ms); }
.js h1 .sel::after { clip-path: inset(0 100% 0 0); animation: draw .6s var(--ease) forwards; animation-delay: calc(260ms + var(--i) * 55ms); }
.js h1 .sel i { transform: scale(0); animation: handle .4s var(--ease) forwards; animation-delay: calc(560ms + var(--i) * 55ms); }
.js .in-1 { opacity: 0; animation: enter .8s var(--ease) .45s forwards; }
.js .in-2 { opacity: 0; animation: enter .8s var(--ease) .6s forwards; }
.js .in-3 { opacity: 0; animation: enter .8s var(--ease) .75s forwards; }
.js .rv .sel::after { clip-path: inset(0 100% 0 0); }
.js .rv .sel i { transform: scale(0); }
.js .rv.in .sel::after { animation: draw .6s var(--ease) .35s forwards; }
.js .rv.in .sel i { animation: handle .4s var(--ease) .75s forwards; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes word { to { opacity: 1; transform: none; } }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
@keyframes handle { to { transform: scale(1); } }

/* ---------- escritorio ---------- */
@media (min-width: 900px) {
  .wrap { padding: 0 32px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .hero-grid .stack { grid-column: 2; grid-row: 1 / span 2; height: 460px; width: 100%; }
  .stack .pg { width: 270px; }
  .hero-grid .stack.reels { height: 520px; }
  .stack.reels .pg { width: 230px; }
  .hero-grid .capture { max-width: 480px; }
  .lead { font-size: 19.5px; }
  .pages { grid-auto-columns: 260px; margin: 0; padding: 22px 0 10px; }
  .learn { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .me { max-width: 640px; }
  .rail { grid-auto-columns: 210px; margin: 0; padding: 20px 0 6px; }
  .dock { left: auto; right: 24px; width: 420px; }
  .home-hero { grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding-top: 52px; }
  .feature { grid-template-columns: 1fr 1fr; align-items: center; padding: 32px; gap: 32px; }
  .feature .stack { height: 340px; }
  .feature .stack .pg { width: 210px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
  .proof b { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .w, .js .in-1, .js .in-2, .js .in-3 { opacity: 1; transform: none; }
  .js h1 .sel::after { clip-path: none; }
  .js h1 .sel i, .js .rv .sel i { transform: none; }
  .js .rv .sel::after { clip-path: none; }
}

/* ---------- oferta en "¡Listo!": lista de espera con un clic ---------- */
.offer { margin-top: 18px; padding: 16px; border-radius: 16px; text-align: left; background: linear-gradient(160deg, rgba(217,119,87,.16), rgba(255,255,255,.02) 70%); border: 1px solid rgba(217,119,87,.3); display: grid; grid-template-columns: 74px 1fr; gap: 6px 14px; align-items: center; animation: rise .6s var(--ease) .5s both; }
.offer-fan { position: relative; height: 92px; grid-row: span 2; }
.offer-fan img { position: absolute; top: 4px; left: 16px; width: 44px; border-radius: 7px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 8px 18px -6px rgba(0,0,0,.7); aspect-ratio: 9 / 16; object-fit: cover; }
.offer-fan img:nth-child(1) { transform: translateX(-16px) rotate(-10deg); }
.offer-fan img:nth-child(3) { transform: translateX(16px) rotate(10deg); }
.offer-fan img:nth-child(2) { z-index: 1; }
.offer-txt b { display: block; font-size: 16px; line-height: 1.25; letter-spacing: -.2px; color: #fff; }
.offer-txt span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); font-weight: 500; margin-top: 4px; }
.offer .btn { grid-column: 2; margin-top: 4px; padding: 12px 14px; font-size: 15.5px; animation: none; }
.offer .btn::after { animation-delay: 1.2s; }
.done .offer-ok { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--green); font-size: 15px; margin-top: 6px; animation: rise .4s var(--ease) both; }
.offer-ok .ph { font-size: 20px; }
.offer.joined .btn { display: none; }

/* ---------- sección del sistema al final de cada guía ---------- */
.pitch { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 20px; border-radius: var(--r-card); text-decoration: none; background: var(--card); border: 1px solid var(--line-2); overflow: hidden; transition: border-color .25s ease, transform .2s var(--ease); }
.pitch:hover { border-color: rgba(217,119,87,.45); }
.pitch:active { transform: scale(.99); }
.pitch-fan { position: relative; height: 170px; }
.pitch-fan img { position: absolute; left: 50%; top: 6px; width: 86px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 11px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 30px -12px rgba(0,0,0,.8); transition: transform .6s var(--ease); }
.pitch-fan img:nth-child(1) { transform: translateX(-112%) translateY(10px) rotate(-9deg); }
.pitch-fan img:nth-child(2) { transform: translateX(-50%); z-index: 1; }
.pitch-fan img:nth-child(3) { transform: translateX(12%) translateY(10px) rotate(9deg); }
.pitch:hover .pitch-fan img:nth-child(1) { transform: translateX(-124%) translateY(6px) rotate(-12deg); }
.pitch:hover .pitch-fan img:nth-child(3) { transform: translateX(24%) translateY(6px) rotate(12deg); }
.pitch-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-2); margin-bottom: 8px; }
.pitch h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.035em; margin-bottom: 8px; text-wrap: balance; }
.pitch p { font-size: 15px; line-height: 1.45; color: var(--muted); font-weight: 500; }
.pitch .btn { margin-top: 14px; }
.pitch.joined .btn { color: var(--green); border-color: rgba(47,210,122,.35); }
@media (min-width: 900px) {
  .pitch { grid-template-columns: 300px 1fr; align-items: center; padding: 28px 32px; max-width: 860px; }
  .pitch-fan { height: 220px; }
  .pitch-fan img { width: 110px; }
  .pitch .btn { width: auto; display: inline-flex; padding: 13px 20px; }
}

/* foto real en "Hola, soy Jorge" */
.me .avatar.foto { background: #1a1a1c; place-items: stretch; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 30px -14px rgba(0,0,0,.8); }
.me .avatar.foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; image-rendering: auto; }

/* ---------- fake door del sistema: popup ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:has(.modal[open]) { overflow: hidden; }
.modal { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 26px 18px calc(18px + var(--safe-b)); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 24px 24px 0 0; background: linear-gradient(180deg, #19191c, #111113); color: var(--text); box-shadow: 0 -20px 60px -10px rgba(0,0,0,.8); overflow-y: auto; overscroll-behavior: contain; text-align: center; }
.modal[open] { animation: sheet .5s var(--ease); }
.modal::backdrop { background: rgba(5,5,6,.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open]::backdrop { animation: fade .3s ease; }
@keyframes sheet { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.modal-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--muted); font-size: 18px; cursor: pointer; }
.modal-x:hover { color: #fff; }
.modal-fan { position: relative; height: 112px; margin: 2px auto 10px; width: 150px; }
.modal-fan img { position: absolute; left: 50%; top: 4px; width: 56px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 24px -10px rgba(0,0,0,.8); }
.modal-fan img:nth-child(1) { transform: translateX(-108%) translateY(8px) rotate(-10deg); }
.modal-fan img:nth-child(2) { transform: translateX(-50%); z-index: 1; }
.modal-fan img:nth-child(3) { transform: translateX(8%) translateY(8px) rotate(10deg); }
.modal[open] .modal-fan img { animation: pop .6s var(--ease) both; }
.modal[open] .modal-fan img:nth-child(2) { animation-delay: .08s; }
.modal[open] .modal-fan img:nth-child(3) { animation-delay: .16s; }
.modal .pitch-tag { justify-content: center; }
.modal h3 { font-size: 26px; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 8px; }
.modal-p { color: var(--muted); font-size: 15.5px; line-height: 1.45; font-weight: 500; max-width: 380px; margin: 0 auto 16px; }
.modal-form { text-align: left; padding: 0; background: none; border: 0; box-shadow: none; }
.modal-ok { padding: 8px 0 0; }
.modal-ok .btn { margin-top: 16px; }

/* /sistema: bloque con el botón principal */
.cta-sistema b { display: block; font-size: 16.5px; letter-spacing: -.2px; margin-bottom: 12px; }
.cta-sistema .fine { justify-content: center; }
.cta-sistema .btn [data-pitch-cta] { display: inline-flex; align-items: center; gap: 8px; }
.cta-sistema .joined, .cta-sistema .btn.joined { background: rgba(47,210,122,.12); color: var(--green); box-shadow: none; }

@media (min-width: 640px) {
  .modal { max-width: 440px; margin: auto; border-radius: 24px; border-bottom: 1px solid var(--line-2); padding: 30px 26px 24px; }
  .modal[open] { animation: rise-modal .45s var(--ease); }
  @keyframes rise-modal { from { opacity: 0; transform: translateY(18px) scale(.97); } }
}
@media (prefers-reduced-motion: reduce) {
  .modal[open], .modal[open]::backdrop, .modal[open] .modal-fan img { animation: none; }
}
.pitch.joined .btn, .offer.joined .btn { background: rgba(47,210,122,.12); color: var(--green); box-shadow: none; border: 1px solid rgba(47,210,122,.35); }
.pitch.joined .btn::after, .cta-sistema .btn.joined::after { display: none; }

/* ---------- sección del sistema, versión llamativa ---------- */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pitch.pro { position: relative; isolation: isolate; gap: 6px; padding: 18px 18px 20px; border: 1.5px solid transparent;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(217,119,87,.18), transparent 60%) padding-box,
    linear-gradient(180deg, #17171a, #0f0f11) padding-box,
    conic-gradient(from var(--ang), rgba(217,119,87,.15), #ec8c6b 12%, rgba(217,119,87,.15) 25%, rgba(255,255,255,.08) 50%, rgba(217,119,87,.15) 75%, #d97757 88%, rgba(217,119,87,.15)) border-box;
  animation: borde 6s linear infinite; box-shadow: 0 30px 70px -30px rgba(217,119,87,.45); }
@keyframes borde { to { --ang: 360deg; } }
.pitch.pro:hover { border-color: transparent; }

.pitch.pro .pitch-fan { height: 210px; }
.pitch.pro .pitch-fan img { width: 100px; top: 12px; animation: flota 5s ease-in-out infinite; }
.pitch.pro .pitch-fan img:nth-child(2) { --r: -9deg; --x: -112%; --y: 12px; }
.pitch.pro .pitch-fan img:nth-child(3) { --r: 0deg; --x: -50%; --y: 0px; z-index: 1; animation-delay: -1.6s; width: 108px; }
.pitch.pro .pitch-fan img:nth-child(4) { --r: 9deg; --x: 12%; --y: 12px; animation-delay: -3.2s; }
.pitch.pro .pitch-fan img { transform: translateX(var(--x)) translateY(var(--y)) rotate(var(--r)); }
@keyframes flota { 50% { transform: translateX(var(--x)) translateY(calc(var(--y) - 8px)) rotate(var(--r)); } }
.pitch.pro:hover .pitch-fan img:nth-child(2) { --x: -126%; --r: -12deg; }
.pitch.pro:hover .pitch-fan img:nth-child(4) { --x: 26%; --r: 12deg; }
.pitch-glow { position: absolute; left: 50%; top: 50%; width: 220px; height: 160px; transform: translate(-50%, -45%); background: radial-gradient(closest-side, rgba(217,119,87,.45), transparent); filter: blur(10px); z-index: -1; }
.pitch-chip { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font: 700 11.5px "JetBrains Mono", ui-monospace, monospace; color: #fff; padding: 7px 12px; border-radius: 999px; background: rgba(20,20,22,.9); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 24px -8px rgba(0,0,0,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pitch-chip .ph { color: var(--accent-2); font-size: 14px; }

.pitch-badge { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent-2); padding: 6px 11px 6px 9px; border-radius: 999px; background: rgba(217,119,87,.12); border: 1px solid rgba(217,119,87,.32); margin-bottom: 10px; }
.pitch-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(236,140,107,.6); animation: latido 1.8s ease-out infinite; }
@keyframes latido { to { box-shadow: 0 0 0 8px rgba(236,140,107,0); } }

.pitch.pro h3 { font-size: clamp(25px, 7vw, 32px); line-height: 1.12; margin-bottom: 10px; }
.pitch.pro h3 .sel { font-size: 1.08em; margin-top: 4px; }
.pitch.pro p { font-size: 15.5px; }

.pitch-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 4px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.pitch-stats div { padding: 12px 4px 10px; text-align: center; }
.pitch-stats div + div { border-left: 1px solid var(--line); }
.pitch-stats b { display: block; font: 800 25px/1 "Barlow Condensed", "Inter Tight", sans-serif; color: #fff; letter-spacing: .3px; }
.pitch-stats span { display: block; font-size: 11.5px; color: var(--dim); font-weight: 600; margin-top: 4px; }

.pitch-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.pitch-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; font-weight: 600; color: var(--text); }
.pitch-list .ph { flex: none; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; color: var(--accent-ink); background: var(--accent-2); margin-top: 0; }

.pitch.pro .btn { margin-top: 18px; font-size: 17px; padding: 16px 18px; box-shadow: 0 14px 34px -10px rgba(217,119,87,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.pitch.pro:hover .btn .ph-arrow-right { transform: translateX(4px); }
.pitch-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--accent-2); }
.pitch.pro.joined .pitch-note { display: none; }

@media (min-width: 900px) {
  .pitch.pro { grid-template-columns: 380px 1fr; gap: 28px; padding: 34px 38px; max-width: 980px; margin: 0 auto; }
  .pitch.pro .pitch-fan { height: 300px; }
  .pitch.pro .pitch-fan img { width: 128px; top: 30px; }
  .pitch.pro .pitch-fan img:nth-child(3) { width: 140px; }
  .pitch-glow { width: 320px; height: 240px; }
  .pitch.pro .btn { width: auto; display: inline-flex; padding: 15px 26px; }
  .pitch-note { justify-content: flex-start; }
}

/* tarjeta en ¡Listo! */
.offer.pro { position: relative; border: 1.5px solid transparent;
  background:
    linear-gradient(160deg, rgba(217,119,87,.2), rgba(20,20,22,.96) 65%) padding-box,
    conic-gradient(from var(--ang), rgba(217,119,87,.15), #ec8c6b 12%, rgba(217,119,87,.15) 25%, rgba(255,255,255,.08) 50%, rgba(217,119,87,.15) 75%, #d97757 88%, rgba(217,119,87,.15)) border-box;
  animation: rise .6s var(--ease) .5s both, borde 6s linear infinite; box-shadow: 0 20px 50px -24px rgba(217,119,87,.6); }
.offer.pro .pitch-badge { margin-bottom: 6px; padding: 4px 9px 4px 8px; font-size: 10.5px; }
.offer.pro .btn { box-shadow: 0 12px 28px -10px rgba(217,119,87,.75); }

@media (prefers-reduced-motion: reduce) {
  .pitch.pro, .offer.pro { animation: none; }
  .pitch.pro .pitch-fan img, .pitch-badge i { animation: none; }
}
.pitch.pro:hover .pitch-fan img { transform: translateX(var(--x)) translateY(var(--y)) rotate(var(--r)); }
.offer-txt .pitch-badge { display: inline-flex; width: auto; margin-top: 0; color: var(--accent-2); font-size: 10.5px; line-height: 1; }

/* celular: la insignia "Nuevo · Mi sistema" arriba a la izquierda de la tarjeta */
@media (max-width: 899px) {
  .pitch.pro { padding-top: 60px; }
  .pitch.pro .pitch-badge { position: absolute; top: 18px; left: 18px; margin: 0; z-index: 3; }
}

/* ---------- página /sistema ---------- */
.hero .pitch-badge { margin-bottom: 0; }
.cta-sistema.pro { text-align: center; border: 1.5px solid transparent;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(217,119,87,.2), transparent 65%) padding-box,
    linear-gradient(180deg, #17171a, #101012) padding-box,
    conic-gradient(from var(--ang), rgba(217,119,87,.15), #ec8c6b 12%, rgba(217,119,87,.15) 25%, rgba(255,255,255,.08) 50%, rgba(217,119,87,.15) 75%, #d97757 88%, rgba(217,119,87,.15)) border-box;
  box-shadow: 0 30px 70px -30px rgba(217,119,87,.5); }
.js .cta-sistema.pro.in-3 { animation: enter .8s var(--ease) .75s forwards, borde 6s linear infinite; }
.cta-sistema.pro .pitch-stats { margin: 0 0 16px; }
.cta-sistema.pro .btn { font-size: 17px; padding: 16px 18px; box-shadow: 0 14px 34px -10px rgba(217,119,87,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.cta-sistema.pro .fine { margin-top: 8px; }

.steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 40px; bottom: -13px; width: 2px; height: 14px; background: linear-gradient(var(--accent), transparent); }
.steps .ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; font-size: 25px; color: var(--accent-2); background: rgba(217,119,87,.13); border: 1px solid rgba(217,119,87,.3); }
.steps li:last-child .ic { color: #fff; background: linear-gradient(160deg, var(--accent-2), var(--accent)); border-color: transparent; box-shadow: 0 10px 24px -8px rgba(217,119,87,.7); }
.steps small { display: block; font: 700 11.5px "JetBrains Mono", ui-monospace, monospace; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.steps b { display: block; font-size: 17px; line-height: 1.25; letter-spacing: -.2px; margin-bottom: 4px; }
.steps span { display: block; font-size: 14.5px; line-height: 1.45; color: var(--muted); font-weight: 500; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps li { grid-template-columns: 1fr; padding: 22px; }
  .steps li:not(:last-child)::after { left: auto; right: -17px; top: 46px; bottom: auto; width: 18px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
}
@media (prefers-reduced-motion: reduce) { .js .cta-sistema.pro.in-3 { animation: none; opacity: 1; } }

/* /sistema: tarjeta de compra igual a la sección del sistema de las guías */
.cta-sistema.pro { text-align: left; padding: 20px 18px; }
.cta-intro { font-size: 15.5px; line-height: 1.45; color: var(--muted); font-weight: 500; margin: 0; }
.cta-sistema.pro .pitch-stats { margin: 16px 0 4px; }
.cta-sistema.pro .btn { margin-top: 18px; }
.cta-sistema.pro .pitch-note { justify-content: center; }
