@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #0f192a; --navy-deep: #0a1322; --navy-2: #121f36; --paper: #f3f0ea;
  --text: #eef1f6; --text-mute: rgba(238,241,246,.70); --text-dim: rgba(238,241,246,.46);
  --line: rgba(238,241,246,.12); --line-strong: rgba(238,241,246,.24);
  --accent: #ff5a2b; --accent-ink: #c2380f; --mint: #5eead4;
  --display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --r: 20px; --r-lg: 28px; --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; background: var(--navy-deep); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--navy-deep); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); background: rgba(10,19,34,.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.nav nav { display: flex; gap: 28px; }
.nav nav a { text-decoration: none; color: var(--text-mute); font-size: .95rem; transition: color .2s; }
.nav nav a:hover { color: var(--text); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--navy-deep); font-family: var(--sans); font-weight: 700; text-decoration: none; border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; font-size: .95rem; transition: transform .35s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); background: #ff7347; }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { color: var(--text); text-decoration: none; padding: 16px 8px; font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); }

/* hero */
.hero { position: relative; padding: clamp(72px, 12vw, 150px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 140%; background:
  radial-gradient(40% 50% at 18% 20%, rgba(255,90,43,.38), transparent 70%),
  radial-gradient(38% 46% at 82% 12%, rgba(94,234,212,.22), transparent 70%),
  radial-gradient(50% 50% at 60% 80%, rgba(46,63,255,.22), transparent 70%); filter: blur(30px); animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate3d(2%, 3%, 0) scale(1.06); } }
.hero .wrap { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 24px; font-weight: 600; }
.eyebrow .line { width: 36px; height: 1px; background: var(--accent); }
.eyebrow .num { font-family: var(--display); color: var(--text-dim); letter-spacing: .1em; }
h1 { font-size: clamp(2.6rem, 8.2vw, 6.6rem); max-width: 14ch; }
h1 em { color: var(--accent); font-style: normal; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-mute); max-width: 56ch; margin: 28px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px; }
.checks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 10px; color: var(--text-mute); font-size: .98rem; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(94,234,212,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }

/* secciones */
.section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--navy-2); }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 18ch; }
.sub { color: var(--text-mute); max-width: 60ch; margin: 20px 0 0; }

/* galería */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 28px; }
.chip { font: inherit; font-size: .9rem; color: var(--text-mute); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: all .25s; }
.chip:hover { color: var(--text); border-color: var(--text-dim); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--navy-deep); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.card { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--navy-2); border: 1px solid var(--line); cursor: pointer; padding: 0; text-align: left; color: inherit; font: inherit; transition: transform .5s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card video { opacity: 0; transition: opacity .5s; }
.card.playing video { opacity: 1; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,19,34,.92) 100%); }
.card .meta { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; }
.tag { display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); font-weight: 600; margin: 0 0 8px; }
.card h3 { font-size: 1.1rem; line-height: 1.12; letter-spacing: -.02em; }
.play { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,19,34,.6); backdrop-filter: blur(6px); display: grid; place-items: center; }
.play::before { content: ""; border-left: 11px solid var(--text); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.note { margin-top: 24px; color: var(--text-dim); font-size: .95rem; }
.note a { color: var(--accent); }

/* biblioteca */
.two { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.docs { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.doc { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center; padding: 20px 22px; border-radius: var(--r); background: rgba(238,241,246,.04); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.doc .kind { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.doc h3 { font-size: 1.25rem; letter-spacing: -.02em; margin: 4px 0 6px; }
.doc p { margin: 0; color: var(--text-mute); font-size: .95rem; line-height: 1.5; }
.doc .meta { font-size: .8rem; color: var(--text-dim); margin-top: 8px; }
.doc .lock { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(238,241,246,.08); }
.doc .lock svg { width: 20px; height: 20px; stroke: var(--text-mute); }
.doc.locked h3, .doc.locked p { filter: blur(3.5px); user-select: none; opacity: .75; }
.doc.open { border-color: rgba(94,234,212,.4); background: rgba(94,234,212,.06); }
.doc .get { white-space: nowrap; }
.gate { position: sticky; top: 100px; }
.gate-card { padding: 30px; border-radius: var(--r-lg); background: var(--paper); color: var(--navy-deep); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.gate-kicker { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; margin: 0 0 10px; }
.gate-card h3 { font-size: 1.9rem; margin-bottom: 20px; }
.gate-card label { display: block; font-size: .85rem; font-weight: 600; margin: 14px 0 6px; }
.gate-card input[type=text], .gate-card input[type=email], .gate-card input[type=tel] { width: 100%; font: inherit; font-size: 1rem; padding: 13px 16px; border-radius: 14px; border: 1.5px solid rgba(10,19,34,.2); background: #fff; color: var(--navy-deep); }
.gate-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,90,43,.25); }
.gate-card input.bad { border-color: #c0361a; }
.gate-card label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .82rem; line-height: 1.45; margin: 18px 0 4px; color: rgba(10,19,34,.8); }
.gate-card label.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.err { color: #b02a10; font-size: .88rem; min-height: 1.3em; margin: 10px 0 12px; font-weight: 600; }
.gate-card .btn { color: var(--navy-deep); }
.unlocked p { color: rgba(10,19,34,.8); margin: 0 0 20px; }

/* como */
.steps { list-style: none; padding: 0; margin: 44px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 28px; border-radius: var(--r-lg); background: var(--navy-2); border: 1px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--navy-deep); font-family: var(--display); font-weight: 800; margin-bottom: 18px; }
.steps h3 { font-size: 1.4rem; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--text-mute); font-size: .98rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 18px; font-size: .9rem; color: var(--text-mute); }

/* final */
.final { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 140px) 0; text-align: center; border-top: 1px solid var(--line); }
.final .wrap { position: relative; display: grid; justify-items: center; gap: 0; }
.final h2 { max-width: 20ch; margin-inline: auto; font-size: clamp(2.2rem, 6vw, 4.4rem); }
.final .lead { margin-inline: auto; }
.final .btn { margin-top: 34px; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 100px; color: var(--text-dim); font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-links { display: flex; gap: 20px; }

/* flotante */
.float-wa { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 30; background: var(--accent); color: var(--navy-deep); font-weight: 700; text-decoration: none; padding: 14px 22px; border-radius: 999px; box-shadow: 0 14px 40px rgba(255,90,43,.35); transition: transform .35s var(--ease); font-size: .95rem; }
.float-wa:hover { transform: translateY(-3px); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(5,10,20,.86); backdrop-filter: blur(8px); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(420px, 100%); max-height: 94vh; overflow: auto; background: var(--navy-2); border-radius: var(--r-lg); border: 1px solid var(--line-strong); }
.modal video { width: 100%; max-height: 66vh; background: #000; aspect-ratio: 9/16; object-fit: contain; }
.modal-info { padding: 18px 20px 22px; display: grid; gap: 8px; justify-items: start; }
.modal-info h3 { font-size: 1.3rem; }
.modal-x { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(10,19,34,.72); color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* móvil */
@media (max-width: 860px) {
  .nav nav { display: none; }
  .two { grid-template-columns: 1fr; }
  .gate { position: static; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card h3 { font-size: .98rem; }
  .float-wa { display: block; left: 16px; right: 16px; text-align: center; bottom: 14px; }
  .nav .btn-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
