  /* ============================================================
     Landing + páginas públicas de cursos (cursos.css)
     Landing: prefijo .cx-* · Página de curso: prefijo .cp-*
     Generado por build.js junto con los HTML. Depende de ../styles.css (variables, .glass, .btn, .grad,
     .eyebrow, .serif-it, .backdrop, .grain, .container, .section,
     .sec-head, .wa-float, footer).
     ============================================================ */
  [hidden] { display: none !important; }
  html { scroll-behavior: smooth; }
  .cx-main { position: relative; z-index: 2; }
  .cx-main :focus-visible { outline: 2px solid rgba(240,54,225,0.75); outline-offset: 3px; border-radius: 12px; }
  .btn:focus-visible { border-radius: 999px; }

  /* ---------- Top bar (misma que onboarding) ---------- */
  .cx-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0 0; }
  .cx-top .brand img { height: 34px; }
  .cx-top .brand span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-faint); }
  .cx-top .right { display: flex; align-items: center; gap: 8px; }
  .cx-top .back { display: none; padding: 9px 14px; border-radius: 999px; font-size: 13px; color: var(--paper-dim); text-decoration: none; border: 1px solid var(--line); transition: color .2s, background .2s; }
  .cx-top .back:hover { color: var(--paper); background: rgba(255,255,255,0.06); }
  @media (min-width: 640px) { .cx-top .back { display: inline-flex; } }
  .cx-icon-btn {
    width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
    background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--paper);
    cursor: pointer; transition: background .2s;
  }
  .cx-icon-btn:hover { background: rgba(255,255,255,0.1); }
  .cx-icon-btn .ic-moon { display: none; }
  html[data-theme="light"] .cx-icon-btn .ic-moon { display: block; }
  html[data-theme="light"] .cx-icon-btn .ic-sun { display: none; }
  html[data-theme="light"] .cx-icon-btn { background: rgba(255,255,255,0.6); }

  /* ---------- Hero ---------- */
  .cx-hero { padding: 72px 0 40px; }
  @media (max-width: 760px) { .cx-hero { padding: 48px 0 24px; } }
  .cx-hero-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
  .cx-hero-row > *, .cx-courses > *, .cx-steps > *, .cx-vs > *, .cx-cta > * { min-width: 0; }
  .cx-course-media .title h3, .cx-hero h1 { overflow-wrap: anywhere; }
  @media (max-width: 1024px) { .cx-hero-row { grid-template-columns: 1fr; gap: 36px; } }
  .cx-hero h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: 1; letter-spacing: -0.028em; font-weight: 500; margin: 22px 0 24px; text-wrap: balance; }
  .cx-hero h1 .grad { display: inline-block; }
  .cx-hero p { font-size: clamp(15px, 1.2vw, 18px); color: var(--paper-dim); max-width: 540px; line-height: 1.55; margin: 0; text-wrap: pretty; }
  .cx-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  .cx-meta span {
    display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(255,255,255,0.04); font-size: 13px; color: var(--paper-dim);
  }
  .cx-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 999px; flex-shrink: 0; background: linear-gradient(135deg, var(--pink), var(--violet)); }
  .cx-hero-ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

  /* Foto del hero con overlay de marca */
  .cx-photo {
    position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; max-width: 460px; margin-left: auto; width: 100%;
    box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,0.8), 0 0 80px -30px rgba(145,73,255,0.5);
  }
  @media (max-width: 1024px) { .cx-photo { margin-left: 0; aspect-ratio: 16/10; max-width: none; } }
  .cx-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); }
  .cx-photo::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(200deg, rgba(240,54,225,0.28), transparent 45%),
      linear-gradient(20deg, rgba(145,73,255,0.42), transparent 55%),
      linear-gradient(180deg, transparent 55%, rgba(1,1,1,0.72));
  }
  .cx-photo .cap {
    position: absolute; left: 22px; bottom: 20px; right: 22px; z-index: 2; color: #fff;
  }
  .cx-photo .cap small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,238,246,0.75); margin-bottom: 6px; }
  .cx-photo .cap b { font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
  .cx-photo .logo-wm { position: absolute; top: 20px; right: 20px; z-index: 2; height: 28px; width: auto; opacity: .9; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.5)); }

  /* ---------- Sección genérica ---------- */
  .cx-section { padding: 72px 0; }
  @media (max-width: 760px) { .cx-section { padding: 52px 0; } }
  .cx-section .sec-head { margin-bottom: 36px; }
  .cx-section .sec-head h2 { font-size: clamp(36px, 4.6vw, 68px); text-wrap: balance; }

  /* ---------- Tarjetas de curso ---------- */
  .cx-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  @media (max-width: 960px) { .cx-courses { grid-template-columns: 1fr; } }
  .cx-course { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; }
  .cx-course-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
  .cx-course-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
  .cx-course:hover .cx-course-media img { transform: scale(1.04); }
  .cx-course-media::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(200deg, rgba(240,54,225,0.22), transparent 45%),
      linear-gradient(20deg, rgba(145,73,255,0.32), transparent 55%),
      linear-gradient(180deg, transparent 45%, rgba(1,1,1,0.8));
  }
  .cx-course-media .num {
    position: absolute; top: 18px; left: 20px; z-index: 2;
    font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
    padding: 7px 12px; border-radius: 999px; background: rgba(1,1,1,0.45); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(10px);
  }
  .cx-course-media .num em { font-style: normal; color: #ffb3f5; }
  .cx-course-media .price {
    position: absolute; top: 18px; right: 20px; z-index: 2;
    font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
    padding: 7px 12px; border-radius: 999px; background: linear-gradient(110deg, #f036e1, #9149ff); box-shadow: 0 10px 24px -10px rgba(240,54,225,0.7);
  }
  .cx-course-media .title { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; }
  .cx-course-media .title h3 { margin: 0; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
  .cx-course-media .title h3 .grad { display: inline-block; }
  html[data-theme="light"] .cx-course-media .title h3 .grad { background: linear-gradient(110deg, #ff8df0 0%, #c7a6ff 100%); -webkit-background-clip: text; background-clip: text; }
  html[data-theme="light"] .cx-photo .cap, html[data-theme="light"] .cx-course-media .title { color: #fff; }
  .cx-course-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
  @media (max-width: 540px) { .cx-course-body { padding: 22px 20px 24px; } }
  .cx-course-body .desc { font-size: 15.5px; color: var(--paper-dim); line-height: 1.55; margin: 0; text-wrap: pretty; }
  .cx-course-body .desc b { color: var(--paper); font-weight: 600; }
  .cx-meta.tight { margin-top: 0; }
  .cx-meta.tight span { padding: 7px 13px; font-size: 12.5px; }

  /* Temario */
  .cx-temario { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  @media (max-width: 540px) { .cx-temario { grid-template-columns: 1fr; } }
  .cx-temario li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--paper-dim); line-height: 1.35; padding: 8px 10px 8px 8px; border-radius: 12px; background: rgba(255,255,255,0.03); box-shadow: inset 0 0 0 1px var(--line); }
  .cx-temario li i {
    font-style: normal; width: 30px; height: 26px; border-radius: 8px; display: grid; place-items: center;
    font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 500; color: #ffb3f5;
    background: linear-gradient(135deg, rgba(240,54,225,0.22), rgba(145,73,255,0.22)); box-shadow: inset 0 0 0 1px rgba(240,54,225,0.28);
  }
  html[data-theme="light"] .cx-temario li i { color: #a8138f; }
  .cx-temario li span { min-width: 0; padding-top: 3px; }
  .cx-temario li span small { display: block; font-size: 11.5px; color: var(--paper-faint); margin-top: 1px; }
  .cx-course-body .lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-faint); margin: 0 0 10px; }

  .cx-course-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
  .cx-course-ctas .btn { padding: 13px 20px; }
  .cx-course-ctas .btn svg { width: 15px; height: 15px; flex-shrink: 0; }
  .cx-course-ctas .lock { font-size: 12px; color: var(--paper-faint); display: inline-flex; align-items: center; gap: 6px; width: 100%; margin-top: 2px; }
  .cx-course-ctas .lock svg { width: 12px; height: 12px; }

  /* ---------- Método ---------- */
  .cx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  @media (max-width: 1024px) { .cx-steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 540px) { .cx-steps { grid-template-columns: 1fr; } }
  .cx-step { padding: 26px 24px; border-radius: 24px; display: flex; flex-direction: column; gap: 12px; }
  .cx-step .n {
    width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
    font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 500; color: #fff;
    background: linear-gradient(110deg, #f036e1, #9149ff); box-shadow: 0 10px 24px -10px rgba(240,54,225,0.6);
  }
  .cx-step h3 { margin: 6px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
  .cx-step p { margin: 0; font-size: 14px; color: var(--paper-dim); line-height: 1.5; text-wrap: pretty; }

  /* ---------- Comparativa ---------- */
  .cx-vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
  @media (max-width: 860px) { .cx-vs { grid-template-columns: 1fr; } .cx-vs .mid { display: none; } }
  .cx-vs .col { padding: 28px; border-radius: 26px; display: flex; flex-direction: column; }
  .cx-vs .col h3 { margin: 0 0 4px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.025em; }
  .cx-vs .col.a h3 { color: #ffb3f5; } .cx-vs .col.b h3 { color: #d3bcff; }
  html[data-theme="light"] .cx-vs .col.a h3 { color: #a8138f; } html[data-theme="light"] .cx-vs .col.b h3 { color: #5618c4; }
  .cx-vs .col .tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-faint); margin-bottom: 16px; }
  .cx-vs .col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .cx-vs .col li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; color: var(--paper-dim); line-height: 1.45; }
  .cx-vs .col li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; margin-top: .55em; background: linear-gradient(135deg, var(--pink), var(--violet)); }
  .cx-vs .col li b { color: var(--paper); font-weight: 600; }
  .cx-vs .col li span { min-width: 0; }
  .cx-vs .col .win { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: #b8efd2; }
  .cx-vs .col .win::before { content: "→ "; color: #5ed29c; }
  html[data-theme="light"] .cx-vs .col .win { color: #1d7a4a; }
  .cx-vs .mid { display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.16em; color: var(--paper-faint); }

  /* ---------- Cierre / CTA ---------- */
  .cx-cta { padding: 48px; border-radius: 28px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; overflow: hidden; position: relative; }
  @media (max-width: 860px) { .cx-cta { grid-template-columns: 1fr; padding: 32px 26px; } }
  .cx-cta h2 { margin: 12px 0 14px; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.028em; font-weight: 500; text-wrap: balance; }
  .cx-cta p { margin: 0; font-size: 15.5px; color: var(--paper-dim); line-height: 1.55; max-width: 520px; text-wrap: pretty; }
  .cx-cta .ctas { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
  .cx-cta .ctas .btn { justify-content: center; }
  .cx-cta .ctas .btn svg { width: 16px; height: 16px; }
  .cx-cta .ctas small { text-align: center; font-size: 12.5px; color: var(--paper-faint); }

  /* ---------- Footer mini ---------- */
  .cx-foot { padding: 20px 0 40px; }
  .cx-foot .foot-bottom { margin-top: 0; }
  .cx-foot .foot-bottom a { color: var(--paper-dim); text-decoration: none; }
  .cx-foot .foot-bottom a:hover { color: var(--paper); }
  .cx-foot .links { display: flex; gap: 18px; flex-wrap: wrap; }

  /* ---------- Reveal on scroll ---------- */
  .cx-r { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
  .cx-r.is-in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .cx-r { opacity: 1; transform: none; } }

  /* ============================================================
     Página pública de curso (.cp-*)
     ============================================================ */
  .cp-hero { padding: 56px 0 32px; }
  @media (max-width: 760px) { .cp-hero { padding: 40px 0 20px; } }
  .cp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-faint); margin-bottom: 22px; }
  .cp-crumbs a { color: var(--paper-dim); text-decoration: none; }
  .cp-crumbs a:hover { color: var(--paper); }
  .cp-crumbs span::before { content: "/"; margin: 0 6px; color: var(--paper-faint); }
  .cp-crumbs span:first-child::before { content: none; margin: 0; }
  .cp-hero h1 { font-size: clamp(38px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -0.028em; font-weight: 500; margin: 20px 0 20px; text-wrap: balance; overflow-wrap: anywhere; }
  .cp-hero h1 .grad { display: inline-block; }
  .cp-hero .lead { font-size: clamp(15.5px, 1.25vw, 19px); color: var(--paper-dim); max-width: 560px; line-height: 1.55; margin: 0; text-wrap: pretty; }
  .cp-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; max-width: 560px; }
  @media (max-width: 540px) { .cp-facts { grid-template-columns: 1fr 1fr; } }
  .cp-fact { padding: 12px 14px; border-radius: 16px; }
  .cp-fact small { display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-faint); margin-bottom: 4px; }
  .cp-fact b { font-weight: 500; font-size: 14px; letter-spacing: -0.01em; line-height: 1.3; display: block; }

  .cp-para { display: flex; flex-wrap: wrap; gap: 10px; }
  .cp-para li { list-style: none; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; font-size: 14px; color: var(--paper-dim); border: 1px solid var(--line); background: rgba(255,255,255,0.04); }
  .cp-para li::before { content: ""; width: 7px; height: 7px; border-radius: 999px; flex-shrink: 0; background: linear-gradient(135deg, var(--pink), var(--violet)); }
  html[data-theme="light"] .cp-para li { background: rgba(255,255,255,0.55); }
  .cp-para { margin: 0; padding: 0; }

  /* Temario */
  .cp-day { margin-bottom: 36px; }
  .cp-day > h3 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; font-weight: 500; margin: 0 0 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .cp-day > h3 small { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-faint); }
  .cp-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  @media (max-width: 900px) { .cp-blocks { grid-template-columns: 1fr; } }
  .cp-block { padding: 24px 24px 22px; border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
  @media (max-width: 540px) { .cp-block { padding: 20px 18px; } }
  .cp-block-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
  .cp-block-head .num {
    font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: #fff;
    width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
    background: linear-gradient(110deg, #f036e1, #9149ff); box-shadow: 0 10px 24px -10px rgba(240,54,225,0.6);
  }
  .cp-block-head h4 { margin: 0; font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
  .cp-block-head h4 .grad { display: inline-block; }
  .cp-block-head p { margin: 6px 0 0; font-size: 14px; color: var(--paper-dim); line-height: 1.5; text-wrap: pretty; }
  .cp-block-head .min { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-faint); }
  .cp-block-head .min::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: linear-gradient(135deg, var(--pink), var(--violet)); }
  .cp-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
  .cp-items li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,0.03); box-shadow: inset 0 0 0 1px var(--line); }
  html[data-theme="light"] .cp-items li { background: rgba(255,255,255,0.55); }
  @media (max-width: 540px) { .cp-items li { grid-template-columns: 1fr; gap: 4px; } }
  .cp-items .k { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-faint); padding-top: 4px; }
  .cp-items .k.ej { color: #5ed29c; } html[data-theme="light"] .cp-items .k.ej { color: #1d7a4a; }
  .cp-items .k.gl { color: #d3bcff; } html[data-theme="light"] .cp-items .k.gl { color: #5618c4; }
  .cp-items .k.br { color: var(--paper-faint); }
  .cp-items b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
  .cp-items b .grad { display: inline; }
  .cp-items small { display: block; font-size: 13px; color: var(--paper-dim); line-height: 1.45; margin-top: 2px; text-wrap: pretty; }

  /* FAQ */
  .cp-faq { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 860px; }
  .cp-faq details { border-radius: 18px; padding: 0 22px; }
  .cp-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
  .cp-faq summary::-webkit-details-marker { display: none; }
  .cp-faq summary::after { content: "+"; font-family: 'JetBrains Mono', monospace; font-size: 20px; color: var(--paper-faint); flex-shrink: 0; transition: transform .25s; }
  .cp-faq details[open] summary::after { transform: rotate(45deg); }
  .cp-faq details p { margin: 0 0 20px; font-size: 14.5px; color: var(--paper-dim); line-height: 1.55; text-wrap: pretty; }

  /* Otros cursos */
  .cp-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  @media (max-width: 900px) { .cp-related { grid-template-columns: 1fr; } }
  .cp-rel { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 22px; overflow: hidden; transition: transform .25s; }
  .cp-rel:hover { transform: translateY(-3px); }
  .cp-rel .media { aspect-ratio: 16/9; overflow: hidden; position: relative; }
  .cp-rel .media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); }
  .cp-rel .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(240,54,225,0.22), transparent 45%), linear-gradient(20deg, rgba(145,73,255,0.32), transparent 55%), linear-gradient(180deg, transparent 50%, rgba(1,1,1,0.75)); }
  .cp-rel .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
  .cp-rel .body small { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-faint); }
  .cp-rel .body b { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
  .cp-rel .body b .grad { display: inline; }
  .cp-rel .body span { font-size: 13px; color: var(--paper-dim); line-height: 1.45; }

  /* Landing: grid de todos los cursos */
  .cx-courses.all { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 1100px) { .cx-courses.all { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 720px) { .cx-courses.all { grid-template-columns: 1fr; } }
  .cx-courses.all .cx-course-media .title h3 { font-size: clamp(24px, 2vw, 30px); }
  .cx-course-media .num, .cx-course-media .price { max-width: calc(50% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cx-courses.all .cx-course-body { padding: 22px 22px 24px; gap: 16px; }
  .cx-courses.all .cx-temario { grid-template-columns: 1fr; gap: 6px; }
  .cx-courses.all .cx-temario li { padding: 6px 8px 6px 6px; font-size: 13.5px; }
  .cx-courses.all .cx-course-body .desc { font-size: 14.5px; }
  .cx-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
  .cx-filter button { padding: 9px 15px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 13px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); color: var(--paper-dim); transition: background .2s, border-color .2s, color .2s; }
  .cx-filter button:hover { background: rgba(255,255,255,0.08); color: var(--paper); }
  .cx-filter button.on { background: linear-gradient(110deg, rgba(240,54,225,0.22), rgba(145,73,255,0.22)); border-color: rgba(240,54,225,0.55); color: var(--paper); }
  html[data-theme="light"] .cx-filter button { background: rgba(255,255,255,0.55); }
  html[data-theme="light"] .cx-filter button.on { background: linear-gradient(110deg, rgba(240,54,225,0.16), rgba(145,73,255,0.16)); }
  .cx-course.is-hidden { display: none; }

  /* ============================================================
     Glosario público (.gl-*)
     ============================================================ */
  .gl-hero .container { max-width: 960px; }
  .gl-full { margin: -6px 0 14px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-faint); }
  .gl-def { max-width: 720px !important; font-size: clamp(17px, 1.4vw, 21px) !important; color: var(--paper) !important; }
  .gl-def b { font-weight: 600; }
  .gl-ej { margin-top: 18px; padding: 14px 18px; border-radius: 14px; max-width: 720px; font-family: 'JetBrains Mono', monospace; font-size: 13.5px; line-height: 1.55; background: rgba(240,54,225,0.08); box-shadow: inset 0 0 0 1px rgba(240,54,225,0.25); color: #ffd6fa; }
  .gl-ej small { display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink); margin-bottom: 4px; }
  html[data-theme="light"] .gl-ej { color: #7a0d66; background: rgba(240,54,225,0.07); }
  html[data-theme="light"] .gl-ej small { color: #a8138f; }
  .gl-search { display: flex; align-items: center; gap: 12px; margin-top: 24px; max-width: 560px; }
  .gl-search input { flex: 1; height: 48px; padding: 0 16px; border-radius: 14px; font: inherit; font-size: 15px; color: var(--paper); outline: none; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); }
  .gl-search input:focus { border-color: rgba(240,54,225,0.6); box-shadow: 0 0 0 3px rgba(240,54,225,0.12); }
  html[data-theme="light"] .gl-search input { background: rgba(255,255,255,0.65); }
  .gl-search span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper-faint); white-space: nowrap; }

  /* Diapositiva de muestra: siempre oscura (así se proyecta) */
  .gl-slide { position: relative; padding: clamp(22px, 3vw, 40px); border-radius: 28px; color: #f4eef6; overflow: hidden;
    background: radial-gradient(900px 500px at 10% 0%, rgba(240,54,225,0.22), transparent 60%), radial-gradient(900px 500px at 90% 100%, rgba(145,73,255,0.28), transparent 60%), linear-gradient(180deg, #0b080f, #16121c);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 40px 80px -40px rgba(0,0,0,0.8); }
  .gl-slide-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,238,246,0.55); flex-wrap: wrap; }
  .gl-slide-top img { height: 22px; width: auto; } .gl-slide-top b { margin-left: auto; color: #ffb3f5; font-weight: 500; }
  .gl-eyebrow { display: inline-flex; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(145,73,255,0.45); background: rgba(145,73,255,0.1); color: #d3bcff; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
  .gl-slide h3 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
  .gl-slide h3 .grad { background: linear-gradient(110deg, #f036e1, #9149ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
  .gl-slide > p { margin: 0 0 20px; color: rgba(244,238,246,0.65); font-size: 15px; line-height: 1.5; max-width: 62ch; }
  .gl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
  .gl-card { padding: 20px; border-radius: 20px; background: rgba(255,255,255,0.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 8px; }
  .gl-card.on { box-shadow: inset 0 0 0 2px rgba(240,54,225,0.75), 0 0 40px -10px rgba(240,54,225,0.5); }
  .gl-card .term { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
  .gl-card .full { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,238,246,0.45); }
  .gl-card .def { font-size: 14.5px; color: rgba(244,238,246,0.7); line-height: 1.5; } .gl-card .def b { color: #f4eef6; }
  .gl-card .ej { margin-top: auto; padding: 9px 12px; border-radius: 10px; font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.5; background: rgba(240,54,225,0.09); box-shadow: inset 0 0 0 1px rgba(240,54,225,0.25); color: #ffd6fa; }
  .gl-card .ej::before { content: "ej. "; color: #f036e1; }
  .gl-nota { margin-top: 16px; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; color: rgba(244,238,246,0.7); background: rgba(145,73,255,0.12); border: 1px solid rgba(145,73,255,0.3); max-width: 70ch; } .gl-nota b { color: #d3bcff; }

  .gl-locked { position: relative; margin-top: 16px; padding: 22px; border-radius: 24px; background: rgba(255,255,255,0.03); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
  html[data-theme="light"] .gl-locked { background: rgba(255,255,255,0.5); }
  .gl-locked-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; } .gl-locked-head svg { width: 22px; height: 22px; color: var(--pink); flex-shrink: 0; }
  .gl-locked-head b { display: block; font-weight: 600; font-size: 16px; } .gl-locked-head small { color: var(--paper-faint); font-size: 12.5px; }
  .gl-blur { filter: blur(3px); opacity: .55; pointer-events: none; user-select: none; max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); mask-image: linear-gradient(180deg, #000 30%, transparent); }
  .gl-locked-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; } .gl-locked-cta .btn svg { width: 16px; height: 16px; }
  .gl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .gl-chips a { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; text-decoration: none; color: var(--paper); font-weight: 500; font-size: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); transition: border-color .2s, transform .2s; }
  .gl-chips a:hover { border-color: rgba(240,54,225,0.55); transform: translateY(-2px); } .gl-chips a small { font-size: 10.5px; color: var(--paper-faint); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
  html[data-theme="light"] .gl-chips a { background: rgba(255,255,255,0.55); }
  .gl-group { margin-bottom: 40px; }
  .gl-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  @media (max-width: 1000px) { .gl-list { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .gl-list { grid-template-columns: 1fr; } }
  .gl-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; text-decoration: none; color: inherit; transition: transform .2s; }
  .gl-item:hover { transform: translateY(-2px); } .gl-item b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; } .gl-item small { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper-faint); }
  .gl-item span { font-size: 13px; color: var(--paper-dim); line-height: 1.45; margin-top: 4px; }
