/* =========================================================
   GAMMA XG · Guías v2: estructura premium (componentes gx-)
   Se activa con la clase "gxn" en <body>.
   ========================================================= */
.gxn {
    --bg: #0a142c;
    --panel: #0a142c;
    --panel-2: #0a1020;
    --line: rgba(255, 255, 255, .07);
    --line-2: rgba(255, 255, 255, .12);
    --text: #eef2f8;
    --soft: #aeb7c6;
    --muted: #7c8698;
    --neon: #3b82f6;
    --neon-2: #3b82f6;
    --ok: #34d399;
    --ko: #f87171;
    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 12px;
    --nav-h: 64px;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.gxn *, .gxn *::before, .gxn *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.gxn main.gx-main { display: block; width: 100%; flex: 1 0 auto; position: relative; z-index: 1; }
.gxn .gx-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.gxn a { -webkit-tap-highlight-color: transparent; }
.gxn :focus-visible { outline: 2px solid var(--neon-2); outline-offset: 3px; border-radius: 8px; }
.gxn [id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* ---------------- HERO ---------------- */
.gx-hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 56px; overflow: hidden; border-bottom: 1px solid var(--line); }
.gx-hero::before {
    content: ""; position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none;
    background:
        radial-gradient(40% 60% at 22% 30%, rgba(59, 130, 246, .20), transparent 70%),
        radial-gradient(35% 50% at 85% 20%, rgba(59, 130, 246, .12), transparent 70%);
}
.gx-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 80% at 30% 20%, #000 20%, transparent 75%);
    mask-image: radial-gradient(70% 80% at 30% 20%, #000 20%, transparent 75%);
}
.gx-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.gx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; font-size: 13px; color: var(--muted); }
.gx-crumbs a { color: var(--soft); text-decoration: none; }
.gx-crumbs a:hover { color: #fff; }
.gx-crumbs [aria-current] { color: var(--text); font-weight: 600; }
.gx-crumbs .sep { opacity: .4; }
.gx-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--neon-2); }
.gx-kicker::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--neon), transparent); }
.gx-h1 { margin: 0 0 20px; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; font-weight: 300; letter-spacing: -.045em; color: #fff; }
.gx-h1 em { font-style: normal; font-weight: 600; background: linear-gradient(100deg, #3b82f6 0%, #3b82f6 55%, #3b82f6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: .04em; }
.gx-lede { margin: 0 0 32px; max-width: 560px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.7; color: var(--soft); }
.gx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
    font-size: 14px; font-weight: 600; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.gx-btn i { font-size: 12px; transition: transform .25s ease; }
.gx-btn-primary { color: #fff; background: linear-gradient(180deg, #3b82f6, #3b82f6); box-shadow: 0 10px 30px -10px rgba(59, 130, 246, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.gx-btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
@media (hover: hover) {
    .gx-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(59, 130, 246, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
    .gx-btn-ghost:hover { border-color: rgba(59, 130, 246, .5); background: rgba(59, 130, 246, .08); }
    .gx-btn:hover i { transform: translateX(3px); }
}

/* Datos clave */
.gx-facts {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
    border: 1px solid var(--line-2);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.gx-facts-title { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gx-facts-title b { color: var(--neon-2); font-weight: 600; }
.gx-facts { display: block; }
.gx-facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.gx-fact { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; min-width: 0; background: #0a142c; }
.gx-fact-label { font-size: 12px; color: var(--muted); }
.gx-fact strong { font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.gx-fact small { font-size: 12px; color: var(--soft); }
.gx-fact-main { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; background: radial-gradient(80% 120% at 0% 0%, rgba(59, 130, 246, .18), transparent 60%), #0a142c; }
.gx-fact-main strong { font-size: 64px; line-height: .9; font-weight: 600; letter-spacing: -.05em; background: linear-gradient(180deg, #fff, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.gx-fact-main div { display: flex; flex-direction: column; gap: 4px; }
/* ---------------- CUERPO: índice + contenido ---------------- */
.gx-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-top: 64px; padding-bottom: 32px; }
.gx-index { position: -webkit-sticky; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.gx-index-title { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.gx-index ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.gx-index li { margin: 0; }
.gx-index a {
    position: relative; display: flex; gap: 12px; align-items: baseline; padding: 9px 0 9px 18px; margin-left: -1px;
    border-left: 1px solid transparent; font-size: 14px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s;
}
.gx-index a span { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .25); font-variant-numeric: tabular-nums; transition: color .2s; }
.gx-index a:hover { color: var(--text); }
.gx-index a.on { color: #fff; border-left-color: var(--neon); }
.gx-index a.on span { color: var(--neon-2); }
.gx-index-cta { margin-top: 28px; padding: 18px; border-radius: var(--r-md); border: 1px solid rgba(59, 130, 246, .25); background: linear-gradient(180deg, rgba(59, 130, 246, .10), rgba(59, 130, 246, .02)); }
.gx-index-cta p { margin: 0 0 12px; font-size: 13px; line-height: 1.55; color: var(--soft); }
.gx-index-cta a { font-size: 13px; font-weight: 600; color: var(--neon-2); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.gx-index-cta a:hover { color: #fff; }

.gx-content { min-width: 0; }
.gx-sec { padding: 0 0 72px; }
.gx-sec + .gx-sec { padding-top: 72px; border-top: 1px solid var(--line); }
.gx-sec-head { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; margin-bottom: 32px; }
.gx-num { font-size: 13px; font-weight: 600; color: var(--neon-2); font-variant-numeric: tabular-nums; letter-spacing: .05em; }
.gx-h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; color: #fff; }
.gx-sec-head p { grid-column: 2; margin: 14px 0 0; max-width: 640px; font-size: 16px; line-height: 1.7; color: var(--soft); }
.gx-sec-head p strong, .gx-content p strong { color: #fff; font-weight: 600; }
.gx-label { margin: 0 0 16px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Tarjetas */
.gx-card { position: relative; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.gx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gx-card p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--soft); }

/* Cursos */
.gx-courses { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gx-courses li {
    display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 20px; border-radius: var(--r-md);
    background: rgba(255, 255, 255, .025); border: 1px solid var(--line); font-size: 16px; font-weight: 600; color: #fff;
    transition: border-color .25s, background .25s;
}
.gx-courses li i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.gx-courses li small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.gx-courses li.wide { grid-column: 1 / -1; }
@media (hover: hover) { .gx-courses li:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .04); } }
.gx-callout { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-md); background: linear-gradient(90deg, rgba(59, 130, 246, .12), rgba(59, 130, 246, .02)); border: 1px solid rgba(59, 130, 246, .22); }
.gx-callout-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(59, 130, 246, .16); color: var(--neon-2); font-size: 15px; }
.gx-callout strong { display: block; margin-bottom: 4px; font-size: 15px; color: #fff; }
.gx-callout p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--soft); }

/* Listas con check */
.gx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gx-checks li { position: relative; padding-left: 34px; font-size: 15px; line-height: 1.6; color: var(--soft); }
.gx-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(59, 130, 246, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3' 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; }
.gx-checks li strong { color: #fff; font-weight: 600; }

/* Resultado: seleccionado / no seleccionado */
.gx-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.gx-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gx-ok .gx-badge { color: var(--ok); background: rgba(52, 211, 153, .10); border: 1px solid rgba(52, 211, 153, .25); }
.gx-ko .gx-badge { color: var(--ko); background: rgba(248, 113, 113, .10); border: 1px solid rgba(248, 113, 113, .25); }
.gx-ok { background: linear-gradient(180deg, rgba(52, 211, 153, .06), rgba(255, 255, 255, .01)); }
.gx-ko { background: linear-gradient(180deg, rgba(248, 113, 113, .06), rgba(255, 255, 255, .01)); }
.gx-card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: #fff; }
.gx-dash { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.gx-dash li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--soft); }
.gx-dash li::before { content: "→"; color: var(--muted); }

/* Ciclos con pasos */
.gx-cycles { display: grid; gap: 16px; margin-bottom: 48px; }
.gx-cycle { padding: 26px 28px 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); border: 1px solid var(--line); }
.gx-cycle-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 26px; }
.gx-cycle-head h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.gx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-tag { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--soft); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.gx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.gx-steps::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: linear-gradient(90deg, var(--neon), rgba(59, 130, 246, .15)); }
.gx-steps li { position: relative; padding: 26px 12px 0 0; min-width: 0; }
.gx-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--neon); box-shadow: 0 0 0 4px rgba(59, 130, 246, .12); }
.gx-steps span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.gx-steps strong { display: block; font-size: 15px; line-height: 1.4; font-weight: 600; color: #fff; }

/* Precios */
.gx-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gx-price { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); border: 1px solid var(--line); }
.gx-price .gx-tag { align-self: flex-start; margin-bottom: 12px; color: var(--neon-2); border-color: rgba(59, 130, 246, .25); background: rgba(59, 130, 246, .08); }
.gx-price h3 { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--soft); }
.gx-price strong { margin-top: auto; padding-top: 18px; font-size: 32px; line-height: 1; font-weight: 600; letter-spacing: -.035em; color: #fff; font-variant-numeric: tabular-nums; }
.gx-price strong small { font-size: 16px; font-weight: 600; color: var(--muted); margin-right: 4px; letter-spacing: 0; }

/* Pasos numerados (documentos) */
.gx-numbered { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; counter-reset: gxn; }
.gx-numbered li { counter-increment: gxn; display: flex; gap: 18px; align-items: center; padding: 18px 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .025); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--text); }
.gx-numbered li::before { content: counter(gxn, decimal-leading-zero); flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--neon-2); background: rgba(59, 130, 246, .12); border: 1px solid rgba(59, 130, 246, .22); }
.gx-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* CTA final */
.gx-cta {
    position: relative; overflow: hidden; margin: 8px 0 72px; padding: clamp(32px, 5vw, 56px); border-radius: 28px;
    background: radial-gradient(70% 120% at 100% 0%, rgba(59, 130, 246, .28), transparent 60%), linear-gradient(180deg, #0b1430, #070b18);
    border: 1px solid rgba(59, 130, 246, .3);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
}
.gx-cta .gx-kicker { margin-bottom: 12px; }
.gx-cta h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; font-weight: 600; letter-spacing: -.035em; color: #fff; }
.gx-cta p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.7; color: var(--soft); }
.gx-cta p strong { color: #fff; font-weight: 600; }

/* Fuentes */
.gx-sources { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-top: 40px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.gx-sources .gx-label { margin: 0; }
.gx-sources p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--soft); }
.gx-sources a { color: var(--neon-2); text-decoration: none; word-break: break-word; }
.gx-sources a:hover { color: #fff; }
.gx-ref { margin-top: 16px; padding: 16px 18px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .02); border: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.gx-ref b { display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Aparición suave */
@media (prefers-reduced-motion: no-preference) {
    .gx-hero-copy > *, .gx-facts { animation: gxUp .8s cubic-bezier(.22, 1, .36, 1) both; }
    .gx-hero-copy > :nth-child(2) { animation-delay: .05s; }
    .gx-hero-copy > :nth-child(3) { animation-delay: .1s; }
    .gx-hero-copy > :nth-child(4) { animation-delay: .15s; }
    .gx-hero-copy > :nth-child(5) { animation-delay: .2s; }
    .gx-facts { animation-delay: .25s; }
}
@keyframes gxUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------- Tablet ---------------- */
@media (max-width: 1023px) {
    .gx-hero { padding: calc(var(--nav-h) + 40px) 0 44px; }
    .gx-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .gx-lede { max-width: 640px; }
    .gx-body { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
    .gx-index, .gx-index ol { min-width: 0; }
    .gx-index {
        position: -webkit-sticky; position: sticky; top: var(--nav-h); z-index: 20;
        margin: 0 calc(-1 * max(20px, env(safe-area-inset-left))) 48px; padding: 10px max(20px, env(safe-area-inset-left));
        background: rgba(10, 20, 44, .9); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
        border-bottom: 1px solid var(--line);
    }
    .gx-index-title, .gx-index-cta { display: none; }
    .gx-index ol { display: flex; gap: 6px; overflow-x: auto; border: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .gx-index ol::-webkit-scrollbar { display: none; }
    .gx-index a { flex: none; padding: 8px 14px; margin: 0; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; font-size: 13px; }
    .gx-index a.on { border-color: rgba(59, 130, 246, .5); background: rgba(59, 130, 246, .12); }
    .gx-index a span { display: none; }
    .gx-index li:first-child { padding-top: 0; }
    .gx-sources { grid-template-columns: 1fr; gap: 16px; }
    .gx-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------- Celular ---------------- */
@media (max-width: 680px) {
    .gxn { --nav-h: 64px; }
    .gx-hero { padding: calc(var(--nav-h) + 28px) 0 36px; }
    .gx-crumbs { margin-bottom: 20px; font-size: 12px; }
    .gx-h1 { font-size: clamp(36px, 11vw, 48px); }
    .gx-lede { font-size: 16px; margin-bottom: 26px; }
    .gx-actions { flex-direction: column; }
    .gx-actions .gx-btn { width: 100%; }
    .gx-fact { padding: 16px 18px; }
    .gx-fact strong { font-size: 19px; }
    .gx-fact-main strong { font-size: 54px; }
    .gx-facts-title { padding: 14px 18px; }
    .gx-index { margin-bottom: 36px; }
    .gx-sec { padding-bottom: 52px; }
    .gx-sec + .gx-sec { padding-top: 52px; }
    .gx-sec-head { grid-template-columns: 1fr; row-gap: 10px; margin-bottom: 24px; }
    .gx-sec-head p { grid-column: 1; margin-top: 4px; font-size: 15px; }
    .gx-cols, .gx-courses, .gx-prices { grid-template-columns: minmax(0, 1fr); }
    .gx-card, .gx-cycle, .gx-price { padding: 22px 20px; border-radius: 18px; }
    .gx-courses li { min-height: 56px; font-size: 15px; }
    .gx-callout { padding: 18px; gap: 14px; }
    .gx-steps { grid-template-columns: 1fr; gap: 0; }
    .gx-steps::before { left: 6px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; background: linear-gradient(180deg, var(--neon), rgba(59, 130, 246, .15)); }
    .gx-steps li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 0 18px 30px; }
    .gx-steps li:last-child { padding-bottom: 0; }
    .gx-steps li::before { top: 3px; }
    .gx-steps span { margin: 0; font-size: 11px; }
    .gx-steps strong { font-size: 14px; text-align: right; }
    .gx-price { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .gx-price .gx-tag { margin-bottom: 0; }
    .gx-price h3 { flex-basis: 100%; order: 3; }
    .gx-price strong { margin: 0; padding: 0; font-size: 26px; order: 2; }
    .gx-numbered li { padding: 16px; gap: 14px; align-items: flex-start; font-size: 14px; }
    .gx-cta { grid-template-columns: 1fr; gap: 24px; margin-bottom: 52px; border-radius: 22px; }
    .gx-cta .gx-btn { width: 100%; }
}
@media (max-width: 360px) {
    .gx-facts { grid-template-columns: 1fr; }
    .gx-facts-grid { grid-template-columns: 1fr; }
}

/* Etiquetas pequeñas dentro de tarjetas */
.gx-card .gx-label { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--neon-2); }

/* =========================================================
   GX92 · Cabecera original (altura 64/96 px), ancho como antes
   (máx. 1280 px, igual que la cabecera y el pie) y animaciones.
   ========================================================= */
.gxn { --nav-h: 64px; }
@media (min-width: 768px) { .gxn { --nav-h: 96px; } }
.gxn .gx-wrap { max-width: 1280px; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
@media (max-width: 767px) { .gxn .gx-wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); } }
.gxn .animate-blob { display: none; }
.gx-fuentes { padding-bottom: 64px; }
@media (min-width: 1280px) { .gx-body { grid-template-columns: 260px minmax(0, 1fr); gap: 80px; } }

/* Barra de progreso de lectura */
.gx-progress-bar { position: fixed; left: 0; top: 0; z-index: 70; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #3b82f6, #3b82f6 40%, #3b82f6); box-shadow: 0 0 12px rgba(59, 130, 246, .8); pointer-events: none; }

/* Aparición al hacer scroll (solo si el JS está activo) */
.gx-anim .gx-rv { opacity: 0; transform: translate3d(0, 26px, 0) scale(.985); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--d, 0ms); }
.gx-anim .gx-rv.is-in { opacity: 1; transform: none; }

/* Foco de luz que sigue al cursor en tarjetas */
.gx-host { isolation: isolate; }
.gx-spot { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s ease;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 130, 246, .14), rgba(59, 130, 246, .05) 35%, transparent 60%); }
.gx-host:hover > .gx-spot { opacity: 1; }
.gx-lift { transition: transform .55s cubic-bezier(.22, 1, .36, 1), border-color .4s ease, box-shadow .55s ease; }
@media (hover: hover) {
    .gx-lift:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, .28) !important; box-shadow: 0 28px 60px -32px rgba(59, 130, 246, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
}

/* Botones: destello y pulsación */
.gx-btn { position: relative; overflow: hidden; isolation: isolate; }
.gx-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .32) 50%, transparent 70%); transform: translateX(-130%); transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) { .gx-btn:hover::after { transform: translateX(130%); } }
.gx-btn:active { transform: scale(.97) !important; transition-duration: .12s; }

/* Índice: deslizamiento suave */
.gx-index a { transition: color .25s, border-color .35s, padding-left .35s cubic-bezier(.22, 1, .36, 1), background .3s; }
@media (hover: hover) and (min-width: 1024px) { .gx-index a:hover { padding-left: 24px; } }

/* Línea de tiempo que se dibuja */
.gx-anim .gx-steps::before { transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.3s cubic-bezier(.22, 1, .36, 1) .15s; }
.gx-anim .gx-steps li::before { transform: scale(0); transition: transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.gx-anim .gx-steps li > * { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.gx-anim .gx-steps.is-drawn::before { transform: none; }
.gx-anim .gx-steps.is-drawn li::before, .gx-anim .gx-steps.is-drawn li > * { transform: none; opacity: 1; }
.gx-steps li:nth-child(1)::before, .gx-steps li:nth-child(1) > * { transition-delay: .25s; }
.gx-steps li:nth-child(2)::before, .gx-steps li:nth-child(2) > * { transition-delay: .5s; }
.gx-steps li:nth-child(3)::before, .gx-steps li:nth-child(3) > * { transition-delay: .75s; }
.gx-steps li:nth-child(4)::before, .gx-steps li:nth-child(4) > * { transition-delay: 1s; }
@media (max-width: 680px) { .gx-anim .gx-steps::before { transform-origin: 50% 0; transform: scaleY(0); } }

/* Datos clave: inclinación 3D sutil */
.gx-facts { transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s ease; transform-style: preserve-3d; will-change: transform; }

/* Pulso suave en el punto del curso */
@media (prefers-reduced-motion: no-preference) {
    .gx-courses li i { animation: gxPulse 3.2s ease-in-out infinite; }
    .gx-courses li:nth-child(2) i { animation-delay: .4s; } .gx-courses li:nth-child(3) i { animation-delay: .8s; }
    .gx-courses li:nth-child(4) i { animation-delay: 1.2s; } .gx-courses li:nth-child(5) i { animation-delay: 1.6s; }
}
@keyframes gxPulse { 0%, 100% { box-shadow: 0 0 10px var(--c); } 50% { box-shadow: 0 0 22px var(--c), 0 0 0 6px rgba(255, 255, 255, .03); } }

@media (prefers-reduced-motion: reduce) {
    .gx-anim .gx-rv, .gx-anim .gx-steps::before, .gx-anim .gx-steps li::before, .gx-anim .gx-steps li > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .gx-lift, .gx-facts, .gx-btn::after { transition: none !important; }
}
@media (max-width: 1023px) {
    .gxn .gx-index { margin-left: calc(-1 * max(24px, env(safe-area-inset-left))); margin-right: calc(-1 * max(24px, env(safe-area-inset-right))); padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
}
@media (max-width: 767px) {
    .gxn .gx-index { margin-left: calc(-1 * max(16px, env(safe-area-inset-left))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right))); padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
}

/* =========================================================
   GX116 · Fase 4: botones, letras y colores de la portada
   (solo aspecto; el contenido y la navegación no cambian)
   ========================================================= */
.gxn { --bg: #0a142c; }
/* Brillo del fondo: azul + índigo de la portada (sin violeta claro) */
.gx-hero::before {
    background:
        radial-gradient(40% 60% at 22% 30%, rgba(59, 130, 246, .20), transparent 70%),
        radial-gradient(35% 50% at 85% 20%, rgba(59, 130, 246, .22), transparent 70%);
}
/* Títulos gruesos y apretados como la portada */
.gx-h1 { font-weight: 600; letter-spacing: -.05em; line-height: 1; font-size: clamp(34px, 6vw, 72px); }
.gx-h1 em { background: linear-gradient(100deg, #3b82f6 0%, #3b82f6 45%, #3b82f6 100%); -webkit-background-clip: text; background-clip: text; }
.gx-h2, .gx-cta h2 { font-weight: 600; letter-spacing: -.045em; }
/* Etiquetas pequeñas: azul, MAYÚSCULAS y mucho espaciado */
.gx-kicker { font-size: 12px; font-weight: 600; letter-spacing: 4px; color: #3b82f6; }
.gx-index-title, .gx-label, .gx-facts-title, .gx-ref b { font-weight: 600; letter-spacing: 3px; }
/* Números en Space Grotesk */
.gx-fact strong, .gx-fact-main strong, .gx-price strong, .gx-num, .gx-numbered li::before, .gx-index a span {
    font-family: 'Plus Jakarta Sans', sans-serif; font-variant-numeric: tabular-nums;
}
.gx-fact-main strong { letter-spacing: -.04em; }
/* Botones como la portada: píldora, MAYÚSCULAS, espaciado, destello y elevación */
.gx-btn {
    min-height: 52px; padding: 0 30px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    transition: transform .4s cubic-bezier(.23, 1, .32, 1), background .4s cubic-bezier(.23, 1, .32, 1), border-color .4s, box-shadow .4s, color .4s;
}
.gx-btn-primary, .gxn .gx-btn-purple { color: #fff; background: #3b82f6; border: 1px solid #3b82f6; box-shadow: 0 10px 30px -12px rgba(59, 130, 246, .8); }
.gx-btn-ghost { color: #fff; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) {
    .gx-btn-primary:hover, .gxn .gx-btn-purple:hover { background: #3b82f6; border-color: #3b82f6; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(59, 130, 246, .35); }
    .gx-btn-ghost:hover { border-color: #3b82f6; background: rgba(59, 130, 246, .1); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(59, 130, 246, .2); }
}
@media (max-width: 480px) { .gx-btn { white-space: normal; text-align: center; line-height: 1.3; padding: 10px 18px; font-size: 11.5px; letter-spacing: 1.5px; } }
/* Barra de lectura sin violeta */
.gx-progress-bar { background: linear-gradient(90deg, #3b82f6, #3b82f6 60%, #3b82f6); }
@media (prefers-reduced-motion: reduce) { .gx-btn, .gx-btn:hover { transform: none !important; } }
