/* Portada — bienvenida + "Bitcoin en un minuto" y secciones de la home */

/* Una sola pantalla: texto a la izquierda y, a la derecha, una tarjeta con 6 diapositivas
   (portada + 5 capítulos) que avanza sola como unas historias. home.js gestiona data-step. */
.hx { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 110px 0 70px; overflow: hidden; }
.hx::before {
  content: ''; position: absolute; inset: -10%; pointer-events: none;
  background:
    radial-gradient(38% 48% at 74% 52%, rgba(247,147,26,.16), transparent 70%),
    radial-gradient(30% 30% at 16% 30%, rgba(232,89,12,.07), transparent 70%);
}
.hx-wrap {
  position: relative; z-index: 2; width: min(1160px, 100% - 48px);
  display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 64px; align-items: center;
}
.hx-intro { animation: hello .9s var(--ease) both; }
@keyframes hello { from { opacity: 0; transform: translateY(14px); } }

.dissect-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(247,147,26,.08); border: 1px solid rgba(247,147,26,.25);
  color: #f9b35c; font-size: .9rem; font-weight: 600;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(247,147,26,.18); }
.dissect-title {
  font-size: clamp(2.3rem, 4.1vw, 3.5rem); line-height: 1.08; margin: 0 0 20px;
  font-stretch: 108%; font-weight: 750; letter-spacing: -0.03em; max-width: 15ch; color: var(--bone);
}
.dissect-lead { margin: 0 0 32px; max-width: 34em; font-size: 1.12rem; line-height: 1.65; color: var(--ash); }
.dissect-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-solid, .btn-soft {
  display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px;
  font-weight: 650; font-size: .98rem; text-decoration: none; transition: background .25s var(--ease), border-color .25s var(--ease);
}
.btn-solid { background: var(--orange); color: #000; }
.btn-solid:hover { background: #ffa53d; }
.btn-soft { color: var(--bone); border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); }
.btn-soft:hover { border-color: rgba(247,147,26,.5); background: rgba(247,147,26,.06); }

/* Tarjeta */
.hx-card {
  position: relative; border-radius: 28px; padding: 22px 28px 26px;
  background: linear-gradient(180deg, rgba(28,28,30,.85), rgba(12,12,13,.92));
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: hello 1s .15s var(--ease) both;
  touch-action: pan-y;
}
.hx-bars { display: flex; gap: 6px; margin-bottom: 22px; }
.hx-bars button { flex: 1; height: 18px; padding: 7px 0; border: 0; background: none; cursor: pointer; }
.hx-bars i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.hx-bars i::after { content: ''; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hx-bars button.done i::after { transform: scaleX(1); }
.hx-bars button.on i::after { animation: fillbar var(--dur, 7s) linear forwards; }
.hx-card.paused .hx-bars button.on i::after { animation-play-state: paused; }
.hx-card.static .hx-bars button.on i::after { animation: none; transform: scaleX(1); }
@keyframes fillbar { to { transform: scaleX(1); } }

.hx-slides { display: grid; }
.hx-slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; min-height: 470px;
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s .55s;
}
.hx-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s; }
.hx-slide.gone { transform: translateX(-24px); }

.hx-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.hx-num { font-family: var(--mono); font-size: .78rem; color: var(--ash-dim); letter-spacing: .08em; }
.hx-tag { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); padding: 4px 9px; border: 1px solid rgba(247,147,26,.3); border-radius: 6px; }
.hx-title { margin: 6px 0 12px; font-size: 1.65rem; line-height: 1.15; font-stretch: 108%; font-weight: 750; letter-spacing: -0.02em; color: var(--bone); }
.hx-text { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ash); }
.hx-live { margin: 14px 0 0; color: var(--ash); font-size: .92rem; display: flex; gap: 7px; flex-wrap: wrap; align-items: baseline; }
.hx-live .mono { font-family: var(--mono); color: var(--orange); }
.hx-live a { text-decoration: none; }
.hx-cta { margin-top: auto; align-self: flex-start; transform: translateY(8px); }
.hx-eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; color: var(--orange); margin: 0; }

/* Ilustraciones de línea: se dibujan al entrar */
.hx-art { width: 100%; height: 170px; margin: 4px 0 6px; overflow: visible; }
.hx-art .draw { fill: none; stroke: url(#hxg); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hx-art .draw.thin { stroke-width: 1.4; opacity: .7; }
.hx-art .draw.dash { opacity: .45; }
.hx-slide.on .draw { transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) .15s; stroke-dashoffset: 0; }
.hx-slide.on .draw.thin { transition-delay: .45s; }
.hx-art .fillin { fill: var(--orange); opacity: 0; transition: opacity .5s 1.1s; }
.hx-art .fillin-t { font-family: var(--mono); font-size: 10px; font-weight: 600; fill: #000; text-anchor: middle; opacity: 0; transition: opacity .5s 1.1s; }
.hx-slide.on .fillin, .hx-slide.on .fillin-t { opacity: 1; }
.hx-art .art-label { font-family: var(--mono); font-size: 13px; fill: var(--orange); text-anchor: middle; }
.hx-art .art-label.dim { fill: var(--ash-dim); }
.hx-art .art-big { font-family: var(--mono); font-size: 20px; font-weight: 600; fill: var(--bone); text-anchor: end; }
.hx-art .art-big.c, .hx-art .art-small.c { text-anchor: middle; }
.hx-art .art-big.l { text-anchor: start; }
.hx-art .art-small { font-family: 'Archivo', sans-serif; font-size: 11px; fill: var(--ash); }
.hx-art .nodes circle { fill: #0c0c0d; stroke: var(--orange); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: hxpulse 2.4s ease-in-out infinite; }
.hx-art .nodes circle:nth-child(2n) { animation-delay: -1.2s; }
@keyframes hxpulse { 50% { transform: scale(1.4); fill: rgba(247,147,26,.5); } }
.hx-art .ring { fill: none; stroke: url(#hxg); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s cubic-bezier(.4,0,.2,1) .2s; }
.hx-slide.on .ring { stroke-dasharray: var(--pct, 95.7) 100; }

/* Portada de la tarjeta: logo */
.hx-cover { align-items: center; text-align: center; justify-content: center; }
.hx-cover .hx-title { font-size: 1.85rem; max-width: 14em; }
.hx-cover .hx-text { max-width: 26em; }
.hx-logo { position: relative; width: 210px; height: 210px; margin: 0 0 18px; display: grid; place-items: center; }
.hx-logo svg { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 0 40px rgba(247,147,26,.45)); animation: hxfloat 6s ease-in-out infinite; }
.hx-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 55%, rgba(247,147,26,.9) 75%, transparent 76% 100%);
  -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%, #000 68.5%, transparent 69.5%);
          mask: radial-gradient(circle, transparent 66%, #000 67%, #000 68.5%, transparent 69.5%);
  animation: hxspin 5s linear infinite;
}
.hx-ring::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
}
@keyframes hxspin { to { transform: rotate(360deg); } }
@keyframes hxfloat { 50% { transform: translateY(-6px); } }

/* Flechas */
.hx-nav { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 8px; }
.hx-nav button {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem;
  background: rgba(255,255,255,.04); color: var(--bone); border: 1px solid var(--line-strong);
  transition: border-color .2s, background .2s;
}
.hx-nav button:hover { border-color: rgba(247,147,26,.6); background: rgba(247,147,26,.08); }
.hx-card[data-step="5"] .hx-nav { display: none; }

/* Manifiesto: palabras que se encienden con el scroll */
.statement { max-width: 860px; margin: 0 auto; padding: 14vh 24px 12vh; }
.statement-text {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.18; font-stretch: 108%; font-weight: 700;
  letter-spacing: -0.025em; margin: 0 0 48px;
}
.statement-text [data-lit] { transition: color .2s linear; }
.statement-sub { max-width: 38em; color: var(--ash); font-size: 1.15rem; line-height: 1.7; }
.statement-sub strong { color: var(--bone); }

/* Ticker más discreto */
.ticker-strip { border-top: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; background: transparent !important; }
.ticker-strip * { font-family: var(--mono) !important; }

/* Métricas */
.metrics-section { padding-top: 140px !important; }
#btc-price { font-size: clamp(3rem, 8vw, 6.5rem) !important; letter-spacing: -0.05em !important; }
.supply-bar-wrap { border-radius: 28px !important; background: var(--surface) !important; border: 1px solid var(--line) !important; }
.supply-bar { border-radius: 999px !important; overflow: visible; }
.supply-bar-fill { border-radius: 999px !important; background: linear-gradient(90deg, var(--ember), var(--orange)) !important; }
.metric-card { padding: 30px !important; }
.metric-number { color: var(--bone) !important; font-size: clamp(1.8rem, 3vw, 2.4rem) !important; }

/* Pilares */
.pillars { padding-top: 140px !important; }
.pillar-card { padding: 40px 34px !important; }
.pillar-number { font-family: var(--font) !important; letter-spacing: 0 !important; color: var(--orange) !important; font-weight: 600; }
.pillar-title { font-stretch: 112%; font-weight: 800 !important; font-size: 1.7rem !important; letter-spacing: -0.02em; }

/* Declaración de Barlow: tipografía grande, sin caja */
.barlow-section { padding: 160px 24px !important; }
.barlow-quote { background: none !important; border: 0 !important; padding: 0 !important; }
.barlow-quote blockquote, .barlow-quote blockquote span {
  font-family: var(--font) !important; font-style: normal !important; font-stretch: 110%;
  font-size: clamp(1.5rem, 3vw, 2.3rem) !important; line-height: 1.3 !important; color: var(--bone) !important; letter-spacing: -0.02em;
}
.barlow-quote-mark { color: var(--orange) !important; }

/* Apoya el proyecto: tono cercano, importes sugeridos y QR que cambia según la elección */
.support { padding: 120px 24px 140px; }
.support-card {
  max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  padding: clamp(28px, 4vw, 56px); border-radius: 32px;
  background: radial-gradient(80% 90% at 100% 0%, rgba(247,147,26,.12), transparent 60%), var(--surface);
  border: 1px solid var(--line);
}
.support-kicker { color: var(--orange); font-weight: 600; margin: 0 0 14px; }
.support-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.12; margin: 0 0 18px; max-width: 16ch; }
.support-text { color: var(--ash); font-size: 1.05rem; line-height: 1.65; margin: 0 0 24px; max-width: 34em; }
.support-uses { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.support-uses li { display: flex; gap: 12px; align-items: baseline; color: var(--bone); font-size: 1rem; }
.support-other { color: var(--ash); font-size: .95rem; line-height: 1.55; margin: 0 0 14px; max-width: 32em; }
.support-share {
  font: inherit; font-weight: 600; font-size: .92rem; color: var(--bone); cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 18px;
}
.support-share:hover { border-color: rgba(247,147,26,.5); }

.support-pay { display: grid; gap: 16px; align-content: start; }
.tip-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tip {
  font: inherit; cursor: pointer; text-align: left; color: var(--bone);
  display: grid; gap: 2px; padding: 14px 14px 12px; border-radius: 16px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line-strong);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.tip:hover { border-color: rgba(247,147,26,.5); }
.tip[aria-checked="true"] { border-color: var(--orange); background: rgba(247,147,26,.1); }
.tip-emoji { font-size: 1.4rem; }
.tip-label { font-weight: 650; font-size: .95rem; }
.tip-sats { font-family: var(--mono); font-size: .78rem; color: var(--ash); }
.tip-custom { display: flex; align-items: center; gap: 10px; color: var(--ash); font-size: .92rem; }
.tip-custom input {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: .95rem; color: var(--bone);
  background: #000; border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px;
}
.tip-custom input:focus { outline: none; border-color: var(--orange); }

.tip-qr-box, .tip-thanks {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 22px; border-radius: 24px; background: #000; border: 1px solid var(--line);
}
.tip-qr { background: #fff; border-radius: 16px; padding: 10px; width: 220px; height: 220px; display: grid; place-items: center; }
.tip-qr img, .tip-qr svg { width: 100%; height: 100%; display: block; }
.tip-caption { color: var(--ash); font-size: .9rem; margin: 0; max-width: 30ch; line-height: 1.5; }
.tip-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tip-btn {
  font: inherit; font-weight: 650; font-size: .88rem; text-decoration: none; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; background: var(--orange); color: #000; border: 1px solid var(--orange);
}
.tip-btn.ghost { background: transparent; color: var(--bone); border-color: var(--line-strong); font-family: var(--mono); font-weight: 400; font-size: .8rem; }
.tip-qr-box[hidden], .tip-thanks[hidden] { display: none; }
.support-copy, .support-pay, .tip { min-width: 0; }
.tip-thanks-emoji { font-size: 2.6rem; }
.tip-thanks-title { font-size: 1.3rem; font-weight: 700; margin: 0; }
.tip-thanks-text { color: var(--ash); margin: 0; max-width: 30ch; line-height: 1.5; }

@media (max-width: 900px) {
  .hx { min-height: 0; padding: 96px 0 40px; }
  .hx-wrap { grid-template-columns: 1fr; gap: 32px; width: calc(100% - 32px); }
  .dissect-title { font-size: 2.05rem; }
  .dissect-lead { font-size: 1rem; margin-bottom: 22px; }
  .hx-card { padding: 16px 18px 20px; border-radius: 22px; }
  .hx-slide { min-height: 0; }
  .hx-slides { min-height: 420px; }
  .hx-slide:not(.hx-cover) { padding-bottom: 52px; }
  .hx-art { height: 140px; }
  .hx-title { font-size: 1.4rem; }
  .hx-cover .hx-title { font-size: 1.5rem; }
  .hx-logo { width: 160px; height: 160px; }
  .hx-text { font-size: .97rem; }
  .hx-nav { right: 16px; bottom: 16px; }
  .support { padding: 80px 16px 100px; }
  .support-card { grid-template-columns: 1fr; gap: 36px; }
  .support-card { padding: 24px 18px; }
  .tip-chips { gap: 8px; }
  .tip { padding: 10px 8px; }
  .tip-label { font-size: .82rem; }
  .tip-sats { font-size: .66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-intro, .hx-card, .hx-logo svg, .hx-ring, .hx-art .nodes circle { animation: none; }
  .hx-slide, .hx-slide.on { transition: none; transform: none; }
  .hx-art .draw { stroke-dashoffset: 0; }
  .hx-art .fillin, .hx-art .fillin-t { opacity: 1; }
}


/* =====================================================================
   2026-11-12 · Ritmo de la portada: espaciado común, separadores,
   accesos en rejilla bento (iconos propios, foco que sigue al cursor e
   inclinación 3D), métricas más vivas, pilares en escalera que se
   dibujan al entrar y «Sigue aprendiendo» como tres rutas.
   ===================================================================== */
:root { --sec-y: clamp(80px, 10vw, 136px); }

/* Ritmo: mismo aire arriba y abajo en todas las secciones */
.go, .metrics-section, .pillars, .learn {
  max-width: calc(var(--wrap) + 48px) !important; margin: 0 auto !important;
  padding: var(--sec-y) 24px !important; position: relative; z-index: 1;
}
.barlow-section { padding: var(--sec-y) 24px !important; }
.cta-section { padding: var(--sec-y) 24px !important; border-top: 0 !important; }
.support { padding: calc(var(--sec-y) * .6) 24px var(--sec-y); }
.statement { padding-bottom: calc(var(--sec-y) * .8); }

/* Cabecera de sección común */
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head .section-title { margin-bottom: 0 !important; }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; }

/* Separador: línea fina con un punto naranja que brilla */
.sec-rule {
  position: relative; height: 1px; max-width: var(--wrap); margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}
.sec-rule::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px rgba(247,147,26,.12), 0 0 22px rgba(247,147,26,.6);
}

/* ---------- Accesos rápidos: rejilla bento ---------- */
.go-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(196px, auto); gap: 14px; }
.go-hero { grid-column: span 2; grid-row: span 2; }
.go-wide { grid-column: span 2; }
.go-grid .go-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 26px 26px 28px; border-radius: 24px; color: var(--bone); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease), background-color .3s;
}
.go-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(247,147,26,.17), transparent 55%);
  transition: opacity .35s var(--ease);
}
.go-ic {
  width: 48px; height: 48px; margin-bottom: auto; display: grid; place-items: center; border-radius: 15px;
  color: var(--orange); background: rgba(247,147,26,.09); border: 1px solid rgba(247,147,26,.28);
  transition: transform .45s var(--ease), background-color .3s, color .3s, box-shadow .4s;
}
.go-ic svg, .rs-ic svg, .route-ic svg, .metric-icon svg {
  width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.go-title { display: block; margin-top: 22px; font-size: 1.2rem; font-weight: 720; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.2; }
.go-desc { display: block; color: var(--ash); font-size: .92rem; line-height: 1.5; max-width: 30ch; }
.go-arrow {
  position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ash); font-size: 1rem;
  transform: rotate(-45deg); transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
@media (hover: hover) {
  .go-card:hover { border-color: rgba(247,147,26,.5); box-shadow: 0 24px 60px rgba(0,0,0,.65), 0 0 40px rgba(247,147,26,.12); }
  .go-card:hover::before { opacity: 1; }
  .go-card:hover .go-ic { transform: translateY(-4px) rotate(-6deg) scale(1.06); background: var(--orange); color: #000; box-shadow: 0 10px 26px rgba(247,147,26,.35); }
  .go-card:hover .go-arrow { transform: rotate(0deg); background: var(--orange); border-color: var(--orange); color: #000; }
}
.go-card:focus-visible { outline: none; border-color: var(--orange); box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--orange); }
.go-grid .go-card:active { transform: perspective(1000px) scale(.985); transition-duration: .1s; }

/* Tarjeta grande: «¿Qué es Bitcoin?» con moneda en órbita */
.go-hero { background: radial-gradient(90% 80% at 85% 10%, rgba(247,147,26,.16), transparent 60%), var(--surface); padding: 34px; }
.go-hero .go-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.go-hero .go-desc { font-size: 1.05rem; }
.go-hero .go-arrow { top: auto; bottom: 30px; right: 30px; width: 48px; height: 48px; }
.go-art { position: absolute; top: -6%; right: -8%; width: 64%; max-width: 330px; z-index: -1; overflow: visible; transition: transform .8s var(--ease); }
.go-orbit { fill: none; stroke: rgba(247,147,26,.35); stroke-width: 1; stroke-dasharray: 2 7; transform-box: view-box; transform-origin: 110px 110px; animation: goSpin 60s linear infinite; }
.go-orbit.o2 { stroke: rgba(255,255,255,.12); stroke-dasharray: none; animation-direction: reverse; animation-duration: 90s; }
.go-sat { fill: var(--orange); filter: drop-shadow(0 0 6px var(--orange)); transform-box: view-box; transform-origin: 110px 110px; animation: goSpin 14s linear infinite; }
.go-coin { fill: var(--orange); filter: drop-shadow(0 0 30px rgba(247,147,26,.55)); }
.go-coin-t { font-family: var(--font); font-weight: 800; font-size: 64px; fill: #000; text-anchor: middle; }
@keyframes goSpin { to { transform: rotate(360deg); } }
@media (hover: hover) { .go-hero:hover .go-art { transform: scale(1.06) rotate(-6deg); } }

/* Tarjeta ancha: curso, con los 7 módulos que se encienden */
.go-feature { background: linear-gradient(130deg, rgba(247,147,26,.18), rgba(247,147,26,.02) 62%), var(--surface); border-color: rgba(247,147,26,.38); }
.go-feature .go-title { color: var(--orange); }
.go-steps { position: absolute; top: 44px; left: 96px; right: 76px; display: flex; gap: 6px; }
.go-steps i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); transition: background-color .3s; }
@media (hover: hover) {
  .go-feature:hover .go-steps i { background: var(--orange); }
  .go-steps i:nth-child(2) { transition-delay: .05s; } .go-steps i:nth-child(3) { transition-delay: .1s; }
  .go-steps i:nth-child(4) { transition-delay: .15s; } .go-steps i:nth-child(5) { transition-delay: .2s; }
  .go-steps i:nth-child(6) { transition-delay: .25s; } .go-steps i:nth-child(7) { transition-delay: .3s; }
}

/* ---------- Métricas más vivas ---------- */
.live-chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 8px 15px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--bone); background: rgba(247,147,26,.08); border: 1px solid rgba(247,147,26,.35);
}
.live-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.live-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); animation: livePing 1.8s var(--ease) infinite; }
@keyframes livePing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.metric-hero.m-glow {
  position: relative; border-radius: 28px !important; border: 1px solid transparent !important;
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(247,147,26,.10), transparent 60%) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--ang), rgba(255,255,255,.08) 0 62%, rgba(247,147,26,.9) 80%, rgba(255,255,255,.08) 96%) border-box !important;
  animation: angSpin 7s linear infinite;
}
@keyframes angSpin { to { --ang: 360deg; } }
.supply-bar-fill::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent) no-repeat;
  background-size: 22% 100%; background-position: -30% 0; animation: sheen 3.6s var(--ease) infinite;
}
@keyframes sheen { 0% { background-position: -30% 0; } 60%, 100% { background-position: 130% 0; } }
.metric-icon {
  width: 42px; height: 42px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 13px;
  color: var(--orange); background: rgba(247,147,26,.09); border: 1px solid rgba(247,147,26,.25);
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.metric-icon svg { width: 22px; height: 22px; }
.metric-card:has(.metric-number[id])::after {
  content: ''; position: absolute; top: 28px; right: 28px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px rgba(247,147,26,.15); animation: liveBlink 2.4s ease-in-out infinite;
}
@keyframes liveBlink { 50% { opacity: .35; } }
@media (hover: hover) { .metric-card:hover .metric-icon { transform: rotate(-8deg) scale(1.08); background: var(--orange); color: #000; } }

/* ---------- Pilares: escalera, numeral gigante e ilustración que se dibuja ---------- */
.pillars .pillars-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; max-width: none; }
.pillars .pl {
  overflow: hidden; padding: 30px 30px 32px !important; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(247,147,26,.07), transparent 42%), var(--surface);
}
.pillars .pl:nth-child(2) { margin-top: 64px; }
.pillars .pl:nth-child(3) { margin-top: 128px; }
.pl-big {
  position: absolute; top: -26px; right: 8px; z-index: 0; pointer-events: none;
  font-size: 9.5rem; font-weight: 900; font-stretch: 125%; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(247,147,26,.28); transition: transform .7s var(--ease), -webkit-text-stroke-color .4s;
}
.pl > :not(.pl-big) { position: relative; z-index: 1; }
.pl-art { display: block; width: 100%; height: 112px; margin: 6px 0 22px; overflow: visible; }
.pd { fill: none; stroke: url(#pgr); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pd.thin { stroke-width: 1.4; opacity: .7; }
.pl.is-in .pd { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) .25s; }
.pl.is-in .pd.thin { transition-delay: .7s; }
.pl-bars path { fill: none; stroke: url(#pgr); stroke-width: 6; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transform: scaleY(0); }
.pl.is-in .pl-bars path { transform: scaleY(1); transition: transform .7s var(--ease); }
.pl-bars path:nth-child(2) { transition-delay: .05s; } .pl-bars path:nth-child(3) { transition-delay: .1s; }
.pl-bars path:nth-child(4) { transition-delay: .15s; } .pl-bars path:nth-child(5) { transition-delay: .2s; }
.pl-bars path:nth-child(6) { transition-delay: .25s; } .pl-bars path:nth-child(7) { transition-delay: .3s; }
.pl-bars path:nth-child(8) { transition-delay: .35s; } .pl-bars path:nth-child(9) { transition-delay: .4s; }
.pl-bars path:nth-child(10) { transition-delay: .45s; } .pl-bars path:nth-child(11) { transition-delay: .5s; }
@keyframes plEq { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.pl-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 10px 18px; border-radius: 999px;
  color: var(--orange); font-weight: 650; font-size: .92rem; text-decoration: none;
  border: 1px solid rgba(247,147,26,.4); transition: background-color .25s, color .25s, transform .25s var(--ease);
}
@media (hover: hover) {
  .pl:hover .pl-big { transform: translateY(-8px) scale(1.04); -webkit-text-stroke-color: rgba(247,147,26,.6); }
  .pl.is-in:hover .pl-bars path { animation: plEq .9s ease-in-out infinite; }
  .pl.is-in:hover .pl-bars path:nth-child(odd) { animation-delay: -.45s; }
  .pl-link:hover { background: var(--orange); color: #000; transform: translateX(3px); }
}

/* ---------- Sigue aprendiendo: tres rutas con pasos enlazados ---------- */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.route {
  min-width: 0; padding: 24px 14px 12px; border-radius: 24px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 30%), var(--surface);
  transition: border-color .3s var(--ease);
}
.route:hover { border-color: rgba(247,147,26,.3); }
.route-head { display: flex; gap: 14px; align-items: center; padding: 0 10px 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.route-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--orange); color: #000; box-shadow: 0 8px 24px rgba(247,147,26,.28); }
.route-t { margin: 0; font-size: 1.15rem; font-weight: 750; font-stretch: 108%; letter-spacing: -0.01em; color: var(--bone); }
.route-d { margin: 3px 0 0; font-size: .86rem; color: var(--ash-aa, #9a9aa0); line-height: 1.4; }
.route-list { list-style: none; margin: 0; padding: 0; position: relative; }
.route-list::before {
  content: ''; position: absolute; left: 28px; top: 30px; bottom: 30px; width: 1px;
  background: linear-gradient(180deg, rgba(247,147,26,.7), rgba(247,147,26,.08));
}
.route-step {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 16px;
  color: var(--bone); text-decoration: none; transition: background-color .25s var(--ease);
}
.rs-ic {
  position: relative; z-index: 1; flex: none; width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%;
  background: #000; color: var(--orange); border: 1px solid rgba(247,147,26,.45);
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .3s;
}
.rs-ic svg { width: 18px; height: 18px; }
.rs-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.rs-t { font-weight: 650; font-size: 1rem; line-height: 1.3; }
.rs-d { font-size: .84rem; line-height: 1.4; color: var(--ash-aa, #9a9aa0); }
.rs-go { flex: none; color: var(--orange); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
.route-step:focus-visible { outline: none; box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--orange); }
.route-step:hover, .route-step:focus-visible { background: rgba(255,255,255,.04); }
.route-step:hover .rs-ic, .route-step:focus-visible .rs-ic { background: var(--orange); color: #000; transform: scale(1.1); box-shadow: 0 0 0 5px rgba(247,147,26,.14); }
.route-step:hover .rs-go, .route-step:focus-visible .rs-go { opacity: 1; transform: none; }

/* ---------- Móvil y tableta ---------- */
@media (max-width: 1024px) {
  .routes { grid-template-columns: 1fr 1fr; }
  .routes .route:last-child { grid-column: span 2; }
}
@media (max-width: 900px) {
  .go, .metrics-section, .pillars, .learn, .barlow-section, .cta-section { padding-left: 16px !important; padding-right: 16px !important; }
  .sec-rule { margin: 0 16px; }
  .go-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 10px; }
  .go-hero { grid-row: span 1; min-height: 250px; padding: 24px; }
  .go-card { padding: 18px 16px 18px; border-radius: 20px; }
  .go-ic { width: 42px; height: 42px; border-radius: 13px; }
  .go-ic svg { width: 21px; height: 21px; }
  .go-title { margin-top: 16px; font-size: 1.04rem; }
  .go-desc { font-size: .82rem; }
  .go-arrow { top: 14px; right: 14px; width: 30px; height: 30px; font-size: .85rem; }
  .go-hero .go-arrow { bottom: 20px; right: 20px; width: 40px; height: 40px; }
  .go-hero .go-title { font-size: 1.8rem; }
  .go-hero .go-desc { font-size: .95rem; max-width: 22ch; }
  .go-art { width: 58%; top: -10%; right: -12%; }
  .go-steps { top: 37px; left: 74px; right: 56px; }
  .pillars .pillars-grid { grid-template-columns: 1fr; gap: 14px; }
  .pillars .pl:nth-child(n) { margin-top: 0; }
  .pillars .pl { padding: 24px 20px 26px !important; }
  .pl-big { font-size: 7rem; top: -18px; }
  .pl-art { height: 92px; margin-bottom: 16px; }
  .routes { grid-template-columns: 1fr; gap: 14px; }
  .routes .route:last-child { grid-column: auto; }
  .route { padding: 20px 8px 8px; }
  .metric-card:has(.metric-number[id])::after { top: 22px; right: 22px; }
  .metric-icon { margin-bottom: 16px; }
}
@media (max-width: 380px) {
  .go-grid { grid-template-columns: 1fr; }
  .go-hero, .go-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .go-card, .go-ic, .go-arrow, .go-art, .pl-big, .pl-link, .rs-ic, .rs-go, .metric-icon { transition: none !important; }
  .go-card { transform: none !important; }
  .go-orbit, .go-sat, .live-pulse::after, .metric-hero.m-glow, .supply-bar-fill::before, .metric-card:has(.metric-number[id])::after, .pl-bars path { animation: none !important; }
  .pd { stroke-dashoffset: 0; }
  .pl-bars path { transform: none; }
}
