/* =========================================================
   BORA BLOCKCHAIN — Si existe, se puede tokenizar
   Identidad alineada al ecosistema BORA (tema "token")
   ========================================================= */

:root {
  --bg: #0B0A08; --bg-2: #14120D; --bg-3: #1B1811;
  --surface: rgba(255,255,255,.035); --surface-2: rgba(255,255,255,.065);
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --text: #F5F2EA; --muted: rgba(245,242,234,.68); --faint: rgba(245,242,234,.44);
  --gold: #FFAD00; --gold-2: #FFD27A; --gold-deep: #D08D00; --ink: #161208;
  --glow: rgba(255,173,0,.28);

  --f-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-data: "Inter", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --r: 18px; --r-lg: 28px;
  --gutter: clamp(16px, 5vw, 64px);
  --maxw: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --tick: 38px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--tick) + 84px); }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ---------- Grain + progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,-10%); } 40% { transform: translate(3%,-15%); }
  60% { transform: translate(12%,9%); } 80% { transform: translate(-1%,7%); }
}
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-2)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 1px solid transparent; transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .3s; white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--gold { background: linear-gradient(180deg, #FFC23D, var(--gold)); color: var(--ink); box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255,173,0,.5), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { border-color: var(--line-2); background: var(--surface); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(255,173,0,.08); transform: translateY(-2px); }
.ico { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-data); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255,173,0,.15); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,173,0,0); } }
.h2 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; max-width: 18ch; text-wrap: balance; }
.h2 .serif, .h3 .serif { color: var(--gold-2); }
.h3 { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; text-wrap: balance; }
.lead { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); max-width: 60ch; margin-top: 22px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: var(--tick) 0 auto; z-index: 100; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11,10,8,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; flex: none; }
.brand__mark { width: 36px; height: 36px; display: grid; place-items: center; }
.brand__mark svg { width: 36px; height: 36px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; }
.brand__mark circle { fill: var(--gold); stroke: none; }
.brand__mark path:nth-child(2) { opacity: .55; }
.brand__word { font-size: 17px; letter-spacing: -0.01em; font-weight: 400; color: var(--muted); }
.brand__word b { font-weight: 700; color: var(--text); letter-spacing: .04em; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav__links a { position: relative; transition: color .25s; white-space: nowrap; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__drawer { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--tick) + 140px) 0 0; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(255,173,0,.17), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(208,141,0,.10), transparent 70%); }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; flex: 1; padding-bottom: 60px; }
.hero__title { font-size: clamp(46px, 7.6vw, 104px); line-height: .98; letter-spacing: -0.045em; font-weight: 700; }
.hero__title .hl { color: var(--gold); font-weight: 400; position: relative; white-space: nowrap; }
.hero__swap { margin-top: 26px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; color: var(--muted); letter-spacing: -0.01em; display: flex; flex-wrap: wrap; gap: .3em; }
.swap { display: inline-block; position: relative; color: var(--text); }
.swap__word { display: inline-block; padding: 0 .35em; border-radius: 10px; background: rgba(255,173,0,.12); border: 1px solid rgba(255,173,0,.3); color: var(--gold-2); transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s; }
.swap__word.is-out { opacity: 0; transform: translateY(-40%); filter: blur(4px); }
.swap__word.is-in { opacity: 0; transform: translateY(40%); filter: blur(4px); }
.hero__lead { margin-top: 22px; font-size: clamp(16px, 1.35vw, 18.5px); color: var(--muted); max-width: 56ch; }
.hero__lead b { color: var(--text); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__proof li { display: flex; flex-direction: column; font-family: var(--f-data); font-size: 13px; color: var(--faint); }
.hero__proof b { font-family: var(--f-sans); color: var(--text); font-size: 15px; font-weight: 600; }

/* Stage + token card */
.hero__stage { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1200px; }
.orbit { position: absolute; inset: 50% auto auto 50%; width: 0; height: 0; }
.orbit i { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(255,173,0,.2); border-radius: 50%; transform: translate(-50%,-50%); animation: spin 40s linear infinite; }
.orbit i:nth-child(1) { width: 380px; height: 380px; }
.orbit i:nth-child(2) { width: 500px; height: 500px; animation-duration: 60s; animation-direction: reverse; border-style: solid; border-color: rgba(255,255,255,.05); }
.orbit i:nth-child(3) { width: 620px; height: 620px; animation-duration: 90s; }
.orbit i::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.tcard {
  position: relative; width: min(330px, 82vw); aspect-ratio: 3/4.1; padding: 20px; border-radius: 24px;
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(160deg, #221D12 0%, #120F0A 60%, #1A150C 100%);
  border: 1px solid rgba(255,210,122,.28);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4), 0 30px 90px -40px var(--glow);
  transform-style: preserve-3d; transition: transform .5s var(--ease);
}
.tcard__holo { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: .35;
  background: linear-gradient(115deg, transparent 30%, rgba(255,210,122,.45) 45%, rgba(255,255,255,.2) 50%, transparent 65%);
  background-size: 250% 250%; background-position: var(--hx, 50%) var(--hy, 50%); }
.tcard__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; }
.tcard__row--foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.12); font-family: var(--f-data); font-size: 11px; color: var(--faint); }
.tcard__row--foot span:last-child { color: #7FD69B; }
.pill { font-family: var(--f-data); font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); display: inline-flex; align-items: center; gap: 6px; }
.pill--live i { width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 8px #3DDC84; }
.tcard__art { flex: 1; display: grid; place-items: center; position: relative; margin: 10px 0; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.tcard__art svg { width: 62%; height: auto; fill: none; stroke: var(--gold-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(255,173,0,.35)); }
.tcard__art svg text { fill: var(--gold-2); stroke: none; font-family: var(--f-sans); font-weight: 600; }
.tcard__art img { width: 80%; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.tcard__meta { position: relative; transition: opacity .4s var(--ease); }
.tcard.is-changing .tcard__art { opacity: 0; transform: scale(.85) rotateY(40deg); }
.tcard.is-changing .tcard__meta { opacity: 0; }
.tcard__id { font-family: var(--f-data); font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.tcard__name { font-size: 19px; font-weight: 600; line-height: 1.25; margin-top: 4px; letter-spacing: -0.01em; }
.tcard__sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.tcard { z-index: 2; }
.mascot { position: absolute; z-index: 1; width: clamp(120px, 14vw, 180px); height: auto; right: calc(50% - min(165px, 41vw) - clamp(70px, 8vw, 110px)); bottom: 10%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); animation: float 6s ease-in-out infinite; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }

/* Marquee */
.marquee { position: relative; border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden; background: rgba(255,255,255,.015);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee__track span { font-size: clamp(18px, 2vw, 24px); font-weight: 500; padding: 0 28px; color: var(--faint); white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.marquee__track span::after { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); opacity: .7; }
.marquee__track span:nth-child(14n) { color: var(--gold-2); font-family: var(--f-serif); font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg) 85%); border-top: 1px solid var(--line); }
.section__head { margin-bottom: clamp(48px, 6vw, 72px); }
.section__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section__head--center .h2 { max-width: 20ch; }

/* Flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; }
.flow__step { position: relative; padding: 30px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.flow__step--hl { background: linear-gradient(170deg, rgba(255,173,0,.13), rgba(255,173,0,.03)); border-color: rgba(255,173,0,.35); }
.flow__n { font-family: var(--f-data); font-size: 12px; color: var(--faint); letter-spacing: .1em; }
.flow__ico { width: 58px; height: 58px; margin: 18px 0 20px; }
.flow__ico svg { width: 100%; height: 100%; fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.flow__step h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.flow__step p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.flow__arrow { display: grid; place-items: center; width: 56px; }
.flow__arrow svg { width: 56px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.benefit { background: var(--bg); padding: 28px 26px; transition: background .3s; }
.benefit:hover { background: var(--bg-3); }
.benefit h4 { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.benefit h4::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }
.benefit p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -24px 0 40px; }
.filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; color: var(--muted); transition: all .25s; }
.filters button:hover { color: var(--text); border-color: var(--gold); }
.filters button.is-on { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }

/* Assets grid */
.assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.asset { position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, background .3s, opacity .35s, filter .35s; overflow: hidden; }
.asset::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at var(--mx, 50%) var(--my, 0%), rgba(255,173,0,.13), transparent 55%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.asset:hover { transform: translateY(-4px); border-color: rgba(255,173,0,.4); }
.asset:hover::before { opacity: 1; }
.asset.is-dim { opacity: .22; filter: grayscale(1); transform: none; }
.asset--xl { grid-column: span 4; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 28px; align-items: center; padding: 30px 30px; }
.asset--xl:nth-child(1) { background: linear-gradient(110deg, rgba(255,173,0,.1), var(--surface) 60%); }
.asset--xl .asset__ico { grid-row: span 2; width: 72px; height: 72px; margin: 0; }
.asset--xl h3 { font-size: clamp(24px, 2.6vw, 32px); }
.asset--xl p { grid-column: 2; max-width: 70ch; }
.asset--xl .asset__tag { grid-column: 3; grid-row: 1 / span 2; }
.asset__ico { width: 48px; height: 48px; margin-bottom: 18px; }
.asset__ico svg { width: 100%; height: 100%; fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.asset__ico svg text { fill: var(--gold-2); stroke: none; font-size: 14px; font-weight: 600; font-family: var(--f-sans); }
.asset h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; position: relative; }
.asset p { color: var(--muted); font-size: 14.5px; margin-top: 6px; position: relative; }
.asset__tag { font-family: var(--f-data); font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,173,0,.35); color: var(--gold-2); white-space: nowrap; }
.asset--idea { background: linear-gradient(140deg, rgba(255,173,0,.18), rgba(255,173,0,.04)); border-color: rgba(255,173,0,.4); }
.idea { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; position: relative; }
.idea input { flex: 1; min-width: 0; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); font-size: 14px; }
.idea input::placeholder { color: var(--faint); }
.idea input:focus { outline: none; border-color: var(--gold); }

/* Steps */
.steps { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; transition: padding .4s var(--ease); }
.step b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 64px; line-height: .9; color: var(--gold); opacity: .85; }
.step h4 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.015em; }
.step p { color: var(--muted); margin-top: 6px; max-width: 64ch; }
.step:hover { padding-left: 12px; }

/* Tech */
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tech__card { padding: 24px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.tech__card:hover { border-color: rgba(255,173,0,.4); transform: translateY(-3px); }
.tech__card span { font-family: var(--f-data); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.tech__card h4 { font-size: 17px; font-weight: 600; margin-top: 14px; line-height: 1.3; }
.tech__card p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Case */
.case { background: radial-gradient(70% 70% at 80% 50%, rgba(158,74,99,.22), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.case__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.case__list { margin-top: 26px; display: grid; gap: 10px; }
.case__list li { display: flex; gap: 12px; color: var(--muted); }
.case__list li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.imagine { margin-top: 30px; font-size: 20px; font-weight: 500; padding-left: 18px; border-left: 2px solid var(--gold); }
.imagine em { display: block; font-family: var(--f-serif); font-size: 1.25em; color: var(--gold-2); }
.bottle { position: relative; display: grid; place-items: center; }
.bottle__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224,161,42,.35), transparent 65%); filter: blur(20px); }
.bottle__model { width: 100%; height: clamp(380px, 48vw, 560px); --poster-color: transparent; background: transparent; }
.bottle__hint { font-family: var(--f-data); font-size: 12px; color: var(--faint); margin-top: 8px; }

/* Ecosystem band */
.eco { padding: 0 0 clamp(90px, 12vw, 150px); }
.eco__inner { display: flex; gap: 40px; align-items: center; justify-content: space-between; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(255,173,0,.1), rgba(255,255,255,.02) 50%), var(--bg-2); }
.eco__inner p:not(.eyebrow) { color: var(--muted); margin-top: 14px; max-width: 70ch; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq__grid .section__head { position: sticky; top: 110px; margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 18px; font-weight: 500; position: relative; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--gold), var(--gold)) center/14px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) center/2px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--gold-2); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; max-width: 68ch; }

/* CTA */
.cta { position: relative; padding: clamp(100px, 14vw, 170px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line);
  background: radial-gradient(50% 60% at 50% 100%, rgba(255,173,0,.22), transparent 70%), var(--bg); }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__mascot { width: 130px; height: auto; margin-bottom: 18px; animation: float 6s ease-in-out infinite; }
.cta h2 { font-size: clamp(38px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; max-width: 16ch; }
.cta h2 .serif { color: var(--gold); }
.cta p { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 52ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

/* Footer */
.footer { padding: 72px 0 96px; border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 40ch; }
.footer h5 { font-family: var(--f-data); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-weight: 600; }
.footer ul { display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.footer ul a:hover { color: var(--gold-2); }
/* Ocupa ~80% del ancho útil: el texto mide ≈9× su tamaño de fuente */
.footer__big { font-size: calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) / 11.5); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  margin: 56px 0 28px; padding-bottom: .05em; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, rgba(255,193,61,.7), rgba(255,173,0,.18)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: var(--f-data); font-size: 12.5px; color: var(--faint); padding-top: 22px; border-top: 1px solid var(--line); }
.footer__bottom a { color: var(--gold-2); }

/* ---------- Ticker cripto ---------- */
.ticker { position: fixed; inset: 0 0 auto; z-index: 101; height: var(--tick); display: flex; align-items: center;
  background: #070605; border-bottom: 1px solid var(--line); font-family: var(--f-data); font-size: 12.5px; }
.ticker__label { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px 0 var(--gutter);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2);
  border-right: 1px solid var(--line); background: #070605; position: relative; z-index: 1; }
.ticker__label i { width: 6px; height: 6px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61,220,132,.18); animation: pulse-g 2s infinite; }
@keyframes pulse-g { 50% { box-shadow: 0 0 0 6px rgba(61,220,132,0); } }
.ticker__view { flex: 1; min-width: 0; overflow: hidden; height: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; align-items: center; height: 100%; width: max-content; }
.ticker__track.is-live { animation: marquee var(--dur, 60s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__msg { padding: 0 20px; color: var(--faint); }
.coin { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; height: 100%; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.05); }
.coin img, .coin__badge { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.coin__badge { display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #fff; background: var(--c, #666); }
.coin__sym { font-weight: 600; color: var(--text); }
.coin__name { color: var(--faint); }
.coin__price { color: var(--text); font-variant-numeric: tabular-nums; }
.coin__chg { font-variant-numeric: tabular-nums; font-weight: 600; }
.coin__chg.up { color: #3DDC84; } .coin__chg.down { color: #FF6B6B; }

/* ---------- Selector de idioma ---------- */
.lang { position: fixed; left: 20px; bottom: 20px; z-index: 95; }
.lang__btn { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 16px 0 14px; border-radius: 99px;
  background: rgba(20,18,13,.82); border: 1px solid var(--line-2); color: var(--text);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.7); font-size: 13.5px; font-weight: 600; letter-spacing: .08em;
  transition: border-color .3s, box-shadow .4s; }
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--gold); box-shadow: 0 14px 40px -12px var(--glow); }
.lang__flag { display: inline-block; flex: none; width: 24px; height: 16px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.lang__flag svg { width: 100%; height: 100%; }
.lang__flag--cur { width: 26px; height: 18px; }
.lang__chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .6; transform: rotate(180deg); transition: transform .4s var(--ease); }
.lang.is-open .lang__chev { transform: none; }
.lang__menu { position: absolute; left: 0; bottom: calc(100% + 10px); min-width: 200px; padding: 6px; border-radius: 18px;
  background: rgba(20,18,13,.95); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom left;
  pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.lang.is-open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__menu button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--muted); text-align: left; transition: background .25s, color .25s; }
.lang__menu button b { margin-left: auto; display: grid; place-items: center; min-width: 30px; height: 20px; padding: 0 6px; border-radius: 6px; font-size: 10.5px; letter-spacing: .08em; background: var(--surface-2); }
.lang__menu button:hover { background: var(--surface-2); color: var(--text); }
.lang__menu button[aria-selected="true"] { background: rgba(255,173,0,.12); color: var(--text); }
.lang__menu button[aria-selected="true"] b { background: var(--gold); color: var(--ink); }
main, .footer { transition: opacity .35s var(--ease); }
body.is-switching main, body.is-switching .footer { opacity: .25; }

/* WhatsApp float */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s, background .3s, filter .35s; transition-delay: calc(min(var(--i, 0), 6) * 70ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-stagger].is-in > .asset.is-dim { opacity: .22; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; margin-left: 0; }
  .nav__drawer { display: flex; flex-direction: column; gap: 4px; padding: 0 var(--gutter); max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), padding .5s var(--ease); background: rgba(11,10,8,.96); }
  .nav__drawer a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__drawer .btn { margin-top: 14px; border: 0; }
  .nav.is-open { background: rgba(11,10,8,.96); }
  .nav.is-open .nav__drawer { max-height: 520px; padding-bottom: 24px; }
  .assets, .tech { grid-template-columns: repeat(2, 1fr); }
  .asset--xl { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--tick) + 110px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { min-height: 460px; }
  .orbit i:nth-child(3) { display: none; }
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { width: auto; height: 36px; }
  .flow__arrow svg { transform: rotate(90deg); width: 40px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .case__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .section__head { position: static; }
  .eco__inner { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 600px) {
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .hero__ctas .btn, .cta__btns .btn { width: 100%; white-space: normal; text-align: center; }
  .hero__stage { min-height: 420px; }
  .orbit i:nth-child(2) { display: none; }
  .orbit i:nth-child(1) { width: 320px; height: 320px; }
  .hero .mascot { display: none; }
  .assets, .tech, .benefits { grid-template-columns: 1fr; }
  .asset--xl { grid-column: span 1; }
  .asset--xl { grid-template-columns: auto 1fr; padding: 24px 22px; }
  .asset--xl .asset__ico { width: 52px; height: 52px; grid-row: auto; }
  .asset--xl p { grid-column: 1 / -1; }
  .asset--xl .asset__tag { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .step { grid-template-columns: 54px 1fr; gap: 14px; }
  .step b { font-size: 46px; }
  .faq summary { font-size: 16.5px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .wa { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .lang { left: 14px; bottom: 14px; }
  .lang__btn { height: 48px; padding: 0 13px 0 12px; }
  .ticker__label { padding-right: 12px; }
  .ticker__label span, .coin__name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
