/* =====================================================================
   CursosIA · sistema de diseño
   Dark editorial · acento por curso · movimiento contenido
   ===================================================================== */

/* ------------------------------- tokens ---------------------------- */
:root {
  --bg: #05050a;
  --bg-2: #08080f;
  --bg-3: #0c0c16;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.085);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f3f8;
  --muted: #a0a0b4;
  --dim: #6e6e84;

  --acc: #8b7bff;
  --acc-2: #22d3ee;
  --acc-ink: #0a0a12;

  --wa: #25d366;

  --font-display: 'Bricolage Grotesque', 'Inter Tight', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  --shell: 1200px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 20px 50px -24px rgba(0, 0, 0, 0.9);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 90px -40px rgba(0, 0, 0, 1);

  color-scheme: dark;
}

[data-accent='violet'] {
  --acc: #8b7bff;
  --acc-2: #22d3ee;
}
[data-accent='rose'] {
  --acc: #ff6b8a;
  --acc-2: #ffb457;
}
[data-accent='green'] {
  --acc: #35e08b;
  --acc-2: #8b7bff;
}
[data-accent='amber'] {
  --acc: #ffa94d;
  --acc-2: #ff6b8a;
}

/* ------------------------------- reset ----------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
svg {
  width: 1em;
  height: 1em;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
::selection {
  background: color-mix(in srgb, var(--acc) 40%, transparent);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ----------------------------- utilidades -------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
  position: relative;
}
.section-tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.016) 18%, rgba(255, 255, 255, 0.016) 82%, transparent);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--acc);
  color: var(--acc-ink);
  padding: 0.8rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 10px 0;
}
.skip:focus {
  left: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 9999;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--acc), var(--acc-2), #b6ff3b);
  box-shadow: 0 0 14px color-mix(in srgb, var(--acc) 60%, transparent);
}

/* --------------------------- tipografía --------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 18%, transparent), 0 0 12px var(--acc);
  flex: none;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.86);
  }
}
.grad {
  background: linear-gradient(100deg, var(--acc) 0%, var(--acc-2) 58%, #c6ff5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-head {
  max-width: 900px;
  margin-bottom: clamp(2.2rem, 4vw, 3.6rem);
}
.sec-head.is-center {
  margin-inline: auto;
  text-align: center;
}
.sec-title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  margin-top: 1rem;
  letter-spacing: -0.035em;
}
.sec-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--acc), var(--acc-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-sub {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 68ch;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
  transition: 0.25s var(--ease);
}
.link-arrow svg {
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover {
  border-color: var(--acc);
  color: var(--acc);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ----------------------------- botones ----------------------------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
  isolation: isolate;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  transition: transform 0.35s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.99);
}
.btn-primary {
  background: linear-gradient(100deg, var(--acc), var(--acc-2));
  color: var(--acc-ink);
  font-weight: 600;
  box-shadow: 0 12px 34px -14px color-mix(in srgb, var(--acc) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 18px 44px -16px color-mix(in srgb, var(--acc) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  filter: brightness(1.06) saturate(1.05);
}
.btn-primary:hover svg {
  transform: translateX(3px);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--acc) 55%, var(--line-2));
  background: rgba(255, 255, 255, 0.06);
}
.btn-wa {
  background: color-mix(in srgb, var(--wa) 12%, transparent);
  border-color: color-mix(in srgb, var(--wa) 35%, transparent);
  color: #6cf09b;
}
.btn-wa svg {
  width: 1.15em;
  height: 1.15em;
}
.btn-wa:hover {
  background: var(--wa);
  border-color: var(--wa);
  color: #04160a;
  box-shadow: 0 14px 34px -14px rgba(37, 211, 102, 0.6);
}
.btn-lg {
  padding: 1.05rem 1.8rem;
  font-size: 1.02rem;
}
.btn-sm {
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
}
.btn-block {
  width: 100%;
}

/* ------------------------------- nav ------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(5, 5, 10, 0.72);
  backdrop-filter: blur(22px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0.95rem var(--pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}
.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--acc);
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--acc) 45%, transparent));
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand-text strong span {
  background: linear-gradient(100deg, var(--acc), var(--acc-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-text em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav-links a {
  position: relative;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
  transition: width 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--text);
}
.nav-links a:hover::after,
.nav-links a[aria-current='page']::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 10, 0.97);
  backdrop-filter: blur(20px);
  padding: 1.2rem var(--pad) 1.8rem;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu a {
  padding: 0.85rem 0.4rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.mm-all {
  color: var(--acc);
}
.mobile-menu .btn {
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 0;
}

/* ------------------------------- hero ------------------------------ */
.hero {
  position: relative;
  padding-top: clamp(6.6rem, 10vw, 9rem);
  overflow: clip;
}
.hero-bg {
  position: absolute;
  inset: -10% -5% 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 22s var(--ease) infinite alternate;
}
.b1 {
  width: 46vw;
  height: 46vw;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--acc) 60%, transparent), transparent 68%);
}
.b2 {
  width: 38vw;
  height: 38vw;
  top: 6%;
  right: -6%;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--acc-2) 45%, transparent), transparent 70%);
  animation-delay: -7s;
  opacity: 0.42;
}
.b3 {
  width: 30vw;
  height: 30vw;
  bottom: -12%;
  left: 32%;
  background: radial-gradient(circle at 50% 50%, rgba(198, 255, 94, 0.24), transparent 70%);
  animation-delay: -13s;
  opacity: 0.3;
}
@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(4%, -5%, 0) scale(1.12);
  }
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  opacity: 0.7;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.4rem);
  align-items: center;
}
.hero-copy {
  max-width: 48ch;
}
.hero-title {
  font-size: clamp(2.35rem, 4.6vw, 3.95rem);
  letter-spacing: -0.04em;
  line-height: 0.97;
  margin-top: 1.25rem;
}
.hero-title span {
  display: block;
}
.hero-title .grad {
  padding-bottom: 0.06em;
  margin-top: 0.02em;
}
.hero-sub {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  max-width: 52ch;
  line-height: 1.62;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.9rem;
}
.hero-cta .btn,
.ch-cta .btn {
  padding: 0.92rem 1.3rem;
  font-size: 0.95rem;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  margin-top: 1.9rem;
  font-size: 0.84rem;
  color: var(--muted);
}
.hero-chips li {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}
.hero-chips svg {
  color: var(--acc);
  width: 0.92em;
  height: 0.92em;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--dim);
}
.hero-proof strong {
  color: var(--text);
  font-weight: 600;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: #ffc42e;
}
.stars svg {
  width: 13px;
  height: 13px;
}

/* --------------------------- hero visual --------------------------- */
.hero-visual {
  position: relative;
  perspective: 1400px;
  z-index: 1;
  padding: 30px 0 34px;
}
.hv-panel {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 42%, rgba(255, 255, 255, 0.048));
  backdrop-filter: blur(26px) saturate(1.3);
  box-shadow: var(--shadow-2), 0 0 90px -40px color-mix(in srgb, var(--acc) 55%, transparent);
  transform: rotateY(-7deg) rotateX(4deg) translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease);
  overflow: hidden;
}
.hero-visual:hover .hv-panel {
  transform: rotateY(-2deg) rotateX(1.5deg);
}
.hv-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 36%);
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hv-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.hv-lights {
  display: flex;
  gap: 5px;
}
.hv-lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.hv-lights i:first-child {
  background: #ff6b6b;
}
.hv-lights i:nth-child(2) {
  background: #ffc42e;
}
.hv-lights i:nth-child(3) {
  background: #35e08b;
}
.hv-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hv-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6cf09b;
}
.hv-live span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulse 2s infinite;
}
.hv-body {
  padding: 1.15rem;
}
.hv-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.hv-kpi div {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.024);
  padding: 0.6rem 0.7rem;
}
.hv-kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hv-kpi span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.hv-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hv-row {
  display: grid;
  grid-template-columns: 10px 1.6fr 0.9fr 1fr;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid transparent;
  transition: 0.3s var(--ease);
  opacity: 0;
  animation: hvIn 0.7s var(--ease) forwards;
  animation-delay: calc(0.25s + var(--i) * 0.09s);
}
@keyframes hvIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hv-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}
.hv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc);
}
.hv-name {
  font-size: 0.82rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hv-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--dim);
  text-align: right;
  white-space: nowrap;
}
.hv-bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.hv-bar i {
  display: block;
  height: 100%;
  width: var(--p);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
}
.hv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hv-ia {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--acc);
}
.hv-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 18, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.95);
  font-size: 0.72rem;
  line-height: 1.3;
  animation: floaty 7s var(--ease) infinite;
}
.hv-float strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
}
.hv-float span:not(.hv-f-ic) {
  color: var(--dim);
  font-size: 0.68rem;
}
.hv-f-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--acc) 16%, transparent);
  color: var(--acc);
  flex: none;
}
.hv-f1 {
  top: 2px;
  left: 14px;
  animation-delay: -2s;
}
.hv-f2 {
  bottom: 4px;
  right: 6px;
  animation-delay: -4.5s;
}
.hv-f3 {
  display: none;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ----------------------------- marquee ----------------------------- */
.marquee {
  position: relative;
  margin-top: clamp(2.4rem, 4.5vw, 4rem);
  padding: 1.1rem 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.marquee span i {
  color: var(--acc);
  font-style: normal;
  opacity: 0.6;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ------------------------------ stats ------------------------------ */
.stats-band {
  padding-block: clamp(2.6rem, 4vw, 3.6rem);
  border-bottom: 1px solid var(--line);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.stats li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}
.stats li:first-child {
  border-left: 0;
  padding-left: 0;
}
.stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats span {
  font-size: 0.8rem;
  color: var(--dim);
}

/* ------------------------- tarjetas de curso ----------------------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 55%);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
  isolation: isolate;
}
.course-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.cc-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--acc) 40%, transparent), transparent 66%);
  filter: blur(40px);
  opacity: 0.35;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  z-index: -1;
}
.course-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--acc) 34%, var(--line));
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018) 55%);
}
.course-card:hover::before {
  opacity: 1;
}
.course-card:hover .cc-glow {
  opacity: 0.6;
  transform: scale(1.15);
}
.cc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cc-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--acc);
  letter-spacing: 0.14em;
}
.cc-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.025);
}
.cc-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.035em;
  margin-top: 0.2rem;
}
.cc-sum {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 46ch;
}
.cc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.2rem;
}
.cc-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cc-meta svg {
  color: var(--acc);
  width: 0.95em;
  height: 0.95em;
}
.cc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.cc-price {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}
.cc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--muted);
  transition: 0.3s var(--ease);
}
.cc-link svg {
  width: 1em;
  height: 1em;
  transition: transform 0.3s var(--ease);
}
.course-card:hover .cc-link {
  color: var(--acc);
}
.course-card:hover .cc-link svg {
  transform: translate(3px, -1px);
}
.courses-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1.2rem 1.5rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  color: var(--muted);
  font-size: 0.92rem;
}
.courses-note strong {
  color: var(--text);
}

/* ------------------------------ bento ------------------------------ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.bento-card {
  position: relative;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: 0.5s var(--ease);
}
.bento-card.is-wide {
  grid-column: span 2;
  background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 12%, transparent), rgba(255, 255, 255, 0.015) 60%);
  border-color: color-mix(in srgb, var(--acc) 22%, var(--line));
}
.bento-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.bento-card.is-wide:hover {
  border-color: color-mix(in srgb, var(--acc) 45%, var(--line));
}
.bento-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--acc) 30%, var(--line));
  background: color-mix(in srgb, var(--acc) 12%, transparent);
  color: var(--acc);
  margin-bottom: 1.1rem;
}
.bento-ic svg {
  width: 20px;
  height: 20px;
}
.bento-card h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.38rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  max-width: 30ch;
}
.bento-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 52ch;
}

/* ------------------------------ pasos ------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  position: relative;
  counter-reset: step;
}
.steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 3%;
  right: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--acc) 45%, transparent), color-mix(in srgb, var(--acc-2) 45%, transparent), transparent);
}
.step {
  position: relative;
  padding: 0 0.4rem;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--acc);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
  transition: 0.4s var(--ease);
}
.step:hover .step-n {
  border-color: var(--acc);
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px -4px color-mix(in srgb, var(--acc) 70%, transparent);
}
.step h3 {
  font-size: 1.2rem;
  margin: 1.2rem 0 0.5rem;
  letter-spacing: -0.03em;
}
.step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --------------------------- instructor ---------------------------- */
.instructor-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.2rem;
  align-items: start;
}
.inst-card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012) 60%);
  overflow: hidden;
}
.inst-card::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--acc) 35%, transparent), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.inst-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--acc-ink);
  background: linear-gradient(140deg, var(--acc), var(--acc-2));
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--acc) 75%, transparent);
  margin-bottom: 1.4rem;
}
.inst-id h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: 0.5rem;
  letter-spacing: -0.04em;
}
.inst-role {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.45rem;
}
.inst-bio {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
  margin-top: 1.3rem;
  max-width: 60ch;
}
.inst-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.inst-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.inst-stats span {
  font-size: 0.72rem;
  color: var(--dim);
}
.inst-quote {
  margin-top: 1.6rem;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--acc);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: color-mix(in srgb, var(--acc) 7%, transparent);
}
.inst-quote p {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.45;
  color: #dcdce8;
}
.inst-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.mini-card {
  padding: 1.4rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.024);
  transition: 0.4s var(--ease);
}
.mini-card:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.045);
}
.mini-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--acc) 12%, transparent);
  color: var(--acc);
  margin-bottom: 0.85rem;
}
.mini-card h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.mini-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.58;
}

/* ------------------------ infraestructura / VPS -------------------- */
.infra {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.7rem, 4vw, 3.4rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  align-items: center;
}
.infra-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.infra-bg span {
  position: absolute;
  width: 60%;
  height: 120%;
  left: -10%;
  top: -20%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--acc) 24%, transparent), transparent 65%);
  filter: blur(50px);
}
.infra-content {
  position: relative;
  z-index: 1;
}
.infra h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.35rem);
  margin-top: 0.9rem;
  letter-spacing: -0.04em;
  max-width: 26ch;
}
.infra-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 54ch;
}
.infra-list {
  display: grid;
  gap: 0.5rem;
  margin: 1.4rem 0 1.6rem;
}
.infra-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #cfcfdd;
}
.infra-list svg {
  color: var(--acc);
  flex: none;
  margin-top: 0.22em;
  width: 0.95em;
  height: 0.95em;
}
.infra-note {
  font-size: 0.72rem;
  color: var(--dim);
  margin-top: 0.9rem;
  max-width: 56ch;
  line-height: 1.55;
}
.infra-visual {
  position: relative;
  z-index: 1;
}
.vps-card {
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 6, 12, 0.9);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  font-family: var(--font-mono);
}
.vps-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.62rem;
  color: var(--dim);
  letter-spacing: 0.05em;
}
.vps-lights {
  display: flex;
  gap: 4px;
}
.vps-lights i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.vps-card pre {
  padding: 1.1rem 1rem;
  font-size: 0.72rem;
  line-height: 1.85;
  overflow-x: auto;
  color: #c7c7d6;
}
.vps-card code {
  font-family: inherit;
}
.c-dim {
  color: var(--dim);
}
.c-ok {
  color: #5fe39b;
}
.c-tag {
  color: var(--acc);
  opacity: 0.85;
}
.vps-glow {
  position: absolute;
  inset: auto 10% -30px;
  height: 60px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--acc) 55%, transparent), transparent 70%);
  filter: blur(26px);
  z-index: -1;
}

/* ----------------------------- precios ----------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008));
  transition: 0.45s var(--ease);
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--acc), var(--acc-2));
  opacity: 0.75;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--acc) 32%, var(--line));
}
.pc-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 24px;
}
.pc-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--acc);
}
.pc-badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.22rem 0.5rem;
  white-space: nowrap;
}
.price-card h3 {
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  margin-top: 0.3rem;
}
.pc-price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-top: 0.4rem;
}
.pc-note {
  color: var(--dim);
  font-size: 0.72rem;
  line-height: 1.5;
  min-height: 2.1em;
}
.pc-list {
  display: grid;
  gap: 0.42rem;
  margin: 0.7rem 0 1.1rem;
}
.pc-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.pc-list svg {
  color: var(--acc);
  flex: none;
  margin-top: 0.2em;
  width: 0.9em;
  height: 0.9em;
}
.price-card .btn {
  margin-top: auto;
}
.price-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.1rem;
}
.pack-card,
.insti-card {
  position: relative;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.pack-card {
  background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 14%, transparent), rgba(255, 255, 255, 0.015) 60%);
  border-color: color-mix(in srgb, var(--acc) 28%, var(--line));
}
.pack-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--acc-ink);
  background: linear-gradient(100deg, var(--acc), var(--acc-2));
  border-radius: 99px;
  padding: 0.28rem 0.7rem;
  margin-bottom: 1rem;
}
.pack-card h3,
.insti-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.035em;
}
.pack-card > p,
.insti-card > p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  max-width: 48ch;
}
.pack-price {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0.4rem 0 1rem;
}
.pack-now {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.pack-was {
  color: var(--dim);
  text-decoration: line-through;
  font-size: 1rem;
}
.insti-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}
.insti-card .pc-list {
  margin-top: 1rem;
}

/* ------------------------------- FAQ ------------------------------- */
.faq-shell {
  max-width: 960px;
}
.accordion {
  border-top: 1px solid var(--line);
}
.acc {
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0.2rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  letter-spacing: -0.02em;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}
.acc summary::-webkit-details-marker {
  display: none;
}
.acc summary:hover {
  color: var(--acc);
}
.acc-ic {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: 0.4s var(--ease);
}
.acc-ic::before,
.acc-ic::after {
  content: '';
  position: absolute;
  inset: 50% 50%;
  width: 9px;
  height: 1.4px;
  background: currentColor;
  translate: -50% -50%;
  transition: 0.4s var(--ease);
}
.acc-ic::after {
  rotate: 90deg;
}
.acc[open] .acc-ic {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--acc-ink);
  rotate: 180deg;
}
.acc[open] .acc-ic::after {
  opacity: 0;
}
.acc-a {
  padding: 0 2.5rem 1.5rem 0.2rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
  max-width: 78ch;
}
.acc[open] .acc-a {
  animation: accIn 0.45s var(--ease);
}
@keyframes accIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------ CTA band --------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8rem);
  overflow: clip;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-bg span:first-child {
  width: 55vw;
  height: 30vw;
  left: 10%;
  top: -10%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--acc) 34%, transparent), transparent 68%);
  animation: drift 20s var(--ease) infinite alternate;
}
.cta-bg span:last-child {
  width: 45vw;
  height: 28vw;
  right: 5%;
  bottom: -15%;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--acc-2) 26%, transparent), transparent 68%);
  animation: drift 24s var(--ease) infinite alternate-reverse;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  letter-spacing: -0.045em;
  max-width: 22ch;
  margin-top: 1rem;
}
.cta-inner h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--acc), var(--acc-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-inner > p {
  color: var(--muted);
  margin-top: 0.9rem;
  max-width: 56ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ------------------------------ footer ----------------------------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015));
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
}
.footer-cta h3 {
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  letter-spacing: -0.035em;
  margin-top: 0.65rem;
  max-width: 26ch;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 15.2vw, 13rem);
  line-height: 0.78;
  letter-spacing: -0.058em;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.015) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  margin-top: 1.6rem;
  white-space: nowrap;
}
.footer-wordmark span {
  background: linear-gradient(100deg, var(--acc), var(--acc-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.footer-word {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(120deg, #fff, rgba(255, 255, 255, 0.45));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-word span {
  background: linear-gradient(100deg, var(--acc), var(--acc-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 40ch;
}
.footer-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
  font-size: 0.78rem;
  color: var(--dim);
  flex-wrap: wrap;
}
.footer-rating strong {
  color: var(--text);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.footer-cols h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--dim);
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer-cols ul {
  display: grid;
  gap: 0.55rem;
}
.footer-cols a {
  font-size: 0.86rem;
  color: var(--muted);
  transition: 0.25s var(--ease);
}
.footer-cols a:hover {
  color: var(--text);
}
.footer-bottom {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--dim);
  max-width: 100ch;
  line-height: 1.6;
}
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wa);
  color: #04220f;
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  transition: 0.35s var(--ease);
}
.wa-float svg {
  width: 26px;
  height: 26px;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 44px -14px rgba(37, 211, 102, 0.9);
}
body[data-page*='/cursos/'] .wa-float {
  bottom: 96px;
}

/* =====================================================================
   PÁGINA DE CURSO
   ===================================================================== */
.course-hero,
.catalog-hero {
  position: relative;
  padding-top: clamp(7rem, 11vw, 9.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: clip;
}
.course-hero-bg {
  position: absolute;
  inset: -20% -10% 0;
  pointer-events: none;
}
.ch-blob {
  position: absolute;
  width: 70vw;
  height: 55vw;
  top: -30%;
  left: -10%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 40%, color-mix(in srgb, var(--acc) 32%, transparent), transparent 66%);
  filter: blur(80px);
  opacity: 0.75;
}
.ch-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 30% 20%, #000 20%, transparent 75%);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--dim);
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.crumbs a {
  transition: color 0.2s;
}
.crumbs a:hover {
  color: var(--text);
}
.course-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.ch-copy {
  max-width: 44ch;
}
.ch-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-top: 1.2rem;
}
.ch-claim {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-style: italic;
  line-height: 1.4;
  color: #d9d9e6;
  margin-top: 1.1rem;
  max-width: 40ch;
}
.ch-sub {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-top: 1.1rem;
  max-width: 52ch;
}
.ch-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}
.ch-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.2rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.ch-meta li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.mi-ic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--acc) 26%, var(--line));
  background: color-mix(in srgb, var(--acc) 10%, transparent);
  color: var(--acc);
  flex: none;
}
.mi-ic svg {
  width: 15px;
  height: 15px;
}
.mi-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mi-txt small {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.mi-txt strong {
  font-size: 0.82rem;
  font-weight: 500;
  color: #dcdce8;
  line-height: 1.25;
}

/* tarjeta de compra */
.buy {
  position: sticky;
  top: 96px;
}
.buy-card {
  padding: 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--acc) 24%, var(--line));
  background: linear-gradient(165deg, color-mix(in srgb, var(--acc) 9%, rgba(255, 255, 255, 0.03)), rgba(255, 255, 255, 0.012) 55%);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.buy-head {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.buy-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--acc);
}
.buy-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: 0.3rem;
}
.buy-note {
  font-size: 0.74rem;
  color: var(--dim);
  line-height: 1.5;
}
.buy-list {
  display: grid;
  gap: 0.42rem;
  padding: 0.4rem 0 0.6rem;
}
.buy-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.83rem;
  color: #cdcddb;
  line-height: 1.45;
}
.buy-list svg {
  color: var(--acc);
  flex: none;
  margin-top: 0.2em;
  width: 0.9em;
  height: 0.9em;
}
.buy-safe {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.68rem;
  color: var(--dim);
  line-height: 1.5;
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.buy-safe svg {
  flex: none;
  margin-top: 0.15em;
  color: var(--muted);
}

/* intro + highlights */
.lead-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.lead-text {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: #d6d6e3;
  margin-top: 1rem;
}
.lead-claim {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.35;
  margin-top: 1.4rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--acc);
  color: #eeeef6;
}
.hl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}
.hl {
  padding: 1.05rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  transition: 0.4s var(--ease);
}
.hl:hover {
  border-color: color-mix(in srgb, var(--acc) 32%, var(--line));
  background: rgba(255, 255, 255, 0.04);
}
.hl-k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 0.45rem;
}
.hl p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* programa */
.programa-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(1.5rem, 3vw, 2.6rem);
  align-items: start;
}
.mods {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.mod {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.5rem 0.2rem;
  border-bottom: 1px solid var(--line);
  transition: 0.35s var(--ease);
}
.mod:hover {
  background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 6%, transparent), transparent 60%);
}
.mod-n {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--acc);
  letter-spacing: 0.05em;
  padding-top: 0.25rem;
}
.mod-body h3 {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.45rem;
}
.mod-body p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 62ch;
}
.mod-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.mod-items li {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.28rem 0.6rem;
  background: rgba(255, 255, 255, 0.025);
}
.mod-mat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--dim);
  margin-top: 0.75rem;
}
.mod-mat svg {
  color: var(--acc);
  width: 0.95em;
  height: 0.95em;
}
.programa-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
}
.side-card {
  padding: 1.4rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.024);
}
.side-accent {
  background: linear-gradient(160deg, color-mix(in srgb, var(--acc) 11%, transparent), rgba(255, 255, 255, 0.012));
  border-color: color-mix(in srgb, var(--acc) 24%, var(--line));
}
.side-card h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.check-list {
  display: grid;
  gap: 0.5rem;
}
.check-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}
.check-list svg {
  color: var(--acc);
  flex: none;
  margin-top: 0.2em;
  width: 0.9em;
  height: 0.9em;
}
.side-card .link-arrow {
  margin-top: 1rem;
  font-size: 0.84rem;
}

/* para quién */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.fit-col {
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.fit-yes {
  border-color: color-mix(in srgb, #35e08b 26%, var(--line));
  background: linear-gradient(160deg, rgba(53, 224, 139, 0.07), rgba(255, 255, 255, 0.01));
}
.fit-no {
  border-color: rgba(255, 107, 138, 0.22);
  background: linear-gradient(160deg, rgba(255, 107, 138, 0.06), rgba(255, 255, 255, 0.01));
}
.fit-col h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.06rem;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
}
.fit-ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
}
.fit-yes .fit-ic {
  background: rgba(53, 224, 139, 0.16);
  color: #5cf0a2;
}
.fit-no .fit-ic {
  background: rgba(255, 107, 138, 0.14);
  color: #ff8fa5;
}
.fit-ic svg {
  width: 13px;
  height: 13px;
}
.fit-col ul {
  display: grid;
  gap: 0.65rem;
}
.fit-col li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.fit-col li svg {
  flex: none;
  margin-top: 0.22em;
  width: 0.9em;
  height: 0.9em;
  opacity: 0.75;
}
.fit-yes li svg {
  color: #5cf0a2;
}
.fit-no li svg {
  color: #ff8fa5;
}

/* casos */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.case {
  padding: clamp(1.3rem, 2.2vw, 1.7rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.case-where {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
}
.case h3 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
  font-weight: 500;
  font-family: var(--font-body);
  color: #e6e6ef;
}
.case-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: auto;
}
.case-result {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
.disclaimer {
  margin-top: 1.6rem;
  font-size: 0.74rem;
  color: var(--dim);
  line-height: 1.6;
  max-width: 90ch;
}

/* sticky buy bar */
.sticky-buy {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem var(--pad);
  background: rgba(6, 6, 12, 0.92);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
}
.sticky-buy.is-visible {
  transform: none;
}
.sb-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.sb-info strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}
.sb-info span {
  font-size: 0.68rem;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =====================================================================
   CATÁLOGO
   ===================================================================== */
.catalog-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  letter-spacing: -0.045em;
  margin-top: 1.2rem;
  max-width: 20ch;
}
.catalog-hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--acc), var(--acc-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.catalog-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 64ch;
  margin-top: 1.3rem;
  line-height: 1.65;
}
.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.catalog-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.42rem 0.8rem;
  background: rgba(255, 255, 255, 0.024);
}
.catalog-tags svg {
  color: var(--acc);
  width: 0.95em;
  height: 0.95em;
}
.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cat-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
  transition: 0.45s var(--ease);
  overflow: hidden;
}
.cat-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--acc), var(--acc-2));
  opacity: 0.5;
  transition: opacity 0.4s;
}
.cat-item:hover {
  border-color: color-mix(in srgb, var(--acc) 30%, var(--line));
  transform: translateY(-3px);
}
.cat-item:hover::before {
  opacity: 1;
}
.cat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--acc);
  letter-spacing: -0.04em;
  opacity: 0.9;
}
.cat-main {
  min-width: 0;
}
.cat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.cat-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
}
.cat-badge {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.2rem 0.5rem;
}
.cat-main h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  letter-spacing: -0.035em;
  margin: 0.55rem 0;
}
.cat-main h2 a:hover {
  color: var(--acc);
}
.cat-sum {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 68ch;
}
.cat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 0.9rem;
}
.cat-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cat-meta svg {
  color: var(--acc);
  width: 0.95em;
  height: 0.95em;
}
.cat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.cat-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  text-align: right;
  min-width: 120px;
}
.cat-price {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.cat-price-note {
  font-size: 0.68rem;
  color: var(--dim);
  line-height: 1.4;
  max-width: 18ch;
}

/* comparativa */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  -webkit-overflow-scrolling: touch;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.84rem;
}
.compare th,
.compare td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dim);
  font-weight: 400;
  background: rgba(255, 255, 255, 0.03);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
}
.compare thead th a {
  color: var(--text);
  transition: color 0.2s;
}
.compare thead th a:hover {
  color: var(--acc);
}
.compare tbody th {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
  width: 22%;
}
.compare td {
  color: #d5d5e2;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}
.compare tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* =====================================================================
   LEGAL
   ===================================================================== */
.legal-hero {
  padding-top: clamp(7rem, 11vw, 9rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.04em;
  margin-top: 1rem;
}
.legal-intro {
  color: var(--muted);
  max-width: 70ch;
  margin-top: 1rem;
  line-height: 1.65;
}
.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--dim);
  margin-top: 1.2rem;
  letter-spacing: 0.04em;
}
.legal-shell {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.legal-body {
  max-width: 74ch;
}
.legal-block {
  padding-bottom: 1.8rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}
.legal-block h2 {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.8rem;
}
.legal-block p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
  margin-bottom: 0.75rem;
}
.legal-note {
  font-size: 0.84rem !important;
  color: var(--dim) !important;
  border-left: 2px solid var(--line-2);
  padding-left: 0.9rem;
}
.legal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.legal-cta p {
  color: var(--muted);
  font-size: 0.9rem;
}
.legal-side {
  position: sticky;
  top: 100px;
  padding: 1.4rem;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.legal-side h3 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  font-weight: 400;
  margin-bottom: 1rem;
}
.legal-side ul {
  display: grid;
  gap: 0.5rem;
}
.legal-side a {
  font-size: 0.86rem;
  color: var(--muted);
  transition: 0.2s;
}
.legal-side a:hover,
.legal-side a[aria-current='page'] {
  color: var(--acc);
}

/* =====================================================================
   404
   ===================================================================== */
.nf {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding-top: 6rem;
  overflow: clip;
}
.nf-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.nf h1 {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  letter-spacing: -0.045em;
  max-width: 22ch;
}
.nf h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  background: linear-gradient(100deg, var(--acc), var(--acc-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nf p {
  color: var(--muted);
}
.nf-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}

/* =====================================================================
   REVEAL / MOTION
   ===================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
[data-delay='1'] {
  --d: 1;
}
[data-delay='2'] {
  --d: 2;
}
[data-delay='3'] {
  --d: 3;
}
[data-delay='4'] {
  --d: 4;
}
[data-delay='5'] {
  --d: 5;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-copy {
    max-width: 60ch;
  }
  .hero-visual {
    max-width: 640px;
  }
  .hv-panel {
    transform: none;
  }
  .hv-f2 {
    left: auto;
    right: 6px;
  }
  .instructor-grid,
  .lead-grid,
  .programa-grid,
  .course-hero-grid {
    grid-template-columns: 1fr;
  }
  .buy,
  .programa-side,
  .legal-side {
    position: static;
  }
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.2rem;
  }
  .steps::before {
    display: none;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.is-wide {
    grid-column: span 2;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .legal-shell {
    grid-template-columns: 1fr;
  }
  .legal-side {
    order: -1;
  }
  .cat-item {
    grid-template-columns: auto 1fr;
  }
  .cat-side {
    grid-column: 2;
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    align-items: baseline;
    gap: 0.8rem;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-actions .btn-wa {
    display: none;
  }
  .mobile-menu:not([hidden]) {
    display: block;
  }
  .nav.is-open .mobile-menu {
    display: block;
  }
  .hero {
    padding-top: 6.5rem;
  }
  .hero-title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
  .hero-cta .btn,
  .ch-cta .btn {
    flex: 1 1 100%;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem 1rem;
  }
  .stats li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .course-grid,
  .price-grid,
  .bento,
  .price-extra,
  .hl-grid,
  .fit-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .bento-card.is-wide {
    grid-column: span 1;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step-n {
    width: 44px;
    height: 44px;
    font-size: 0.7rem;
  }
  .inst-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .infra {
    grid-template-columns: 1fr;
    padding: 1.4rem;
  }
  .hv-kpi {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
  .hv-kpi strong {
    font-size: 1.05rem;
  }
  .hv-row {
    grid-template-columns: 8px 1.5fr 1fr;
  }
  .hv-meta {
    display: none;
  }
  .hv-float {
    display: none;
  }
  .ch-meta {
    grid-template-columns: 1fr;
  }
  .ch-claim {
    font-size: 1.15rem;
  }
  .footer-bottom {
    font-size: 0.68rem;
  }
  .sticky-buy {
    display: flex;
  }
  .course-hero,
  .catalog-hero {
    padding-top: 6.5rem;
  }
  .buy-card {
    padding: 1.3rem;
  }
  .cta-actions .btn {
    flex: 1 1 100%;
  }
  .compare {
    min-width: 0;
  }
  .compare thead {
    display: none;
  }
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }
  .compare tr {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--line);
  }
  .compare tbody th {
    border: 0;
    padding-bottom: 0.2rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--acc);
    width: auto;
  }
  .compare td {
    border: 0;
    padding: 0.15rem 0 0.15rem 0;
    font-size: 0.82rem;
  }
  .compare td::before {
    content: attr(data-label) ': ';
    color: var(--dim);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .table-wrap {
    border: 0;
    background: none;
  }
}

@media (max-width: 420px) {
  .brand-text em {
    display: none;
  }
  .cc-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .marquee span {
    font-size: 0.66rem;
  }
}

/* --------------------------- accesibilidad ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
  }
}
@media print {
  .nav,
  .wa-float,
  .sticky-buy,
  .grain,
  .scroll-progress {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
  }
}
