/* =========================================================================
   MINCAP 2026 · Sistema de diseño
   Industrial-dark · Rojo marca + ámbar alta visibilidad
   ========================================================================= */

:root {
  --bg: #0A0B0D;
  --bg-2: #0F1114;
  --surface: #14171B;
  --surface-2: #1A1E23;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F4F4F5;
  --muted: #A1A1AA;
  --dim: #71717A;
  --red: #F2464B;
  --red-2: #FF6B6F;
  --amber: #FFB800;
  --wa: #25D366;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1280px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--amber); color: #000; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Grano sutil sobre todo el sitio */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--amber); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.02; font-stretch: 112%; }
.display { font-size: clamp(44px, 7.6vw, 112px); letter-spacing: -.035em; line-height: .95; font-stretch: 118%; }
.h2 { font-size: clamp(34px, 5vw, 68px); letter-spacing: -.03em; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hl { color: var(--amber); }
.hl-red { color: var(--red); }
.outline-text { -webkit-text-stroke: 1.5px rgba(255,255,255,.55); color: transparent; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--text);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--amber); color: #0A0A0A; box-shadow: 0 10px 40px -10px rgba(255,184,0,.6); }
.btn-primary:hover { background: #FFC933; box-shadow: 0 16px 50px -10px rgba(255,184,0,.75); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 40px -12px rgba(242,70,75,.7); }
.btn-red:hover { background: var(--red-2); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.07); }
.btn-wa { background: var(--wa); color: #04260F; box-shadow: 0 10px 40px -12px rgba(37,211,102,.7); }
.btn-wa:hover { background: #3BE07A; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 62px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 90; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--amber)); }

/* ---------- Topbar ---------- */
.topbar {
  position: relative; z-index: 60;
  background: var(--amber); color: #0A0A0A;
  font-size: 13px; font-weight: 600;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; }
.topbar .tb-right { display: flex; gap: 22px; }
.topbar .tb-badge { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 70;
  padding: 14px 0;
  transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { padding: 8px 0; background: rgba(10,11,13,.78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.header .container { display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 26px; letter-spacing: -.03em; font-stretch: 100%; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo b { color: var(--red); font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a.active { color: var(--text); }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); transform: translateX(-50%); }
.header-cta { display: flex; gap: 10px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; align-items: center; justify-content: center; margin-left: auto; }
.burger svg { width: 22px; height: 22px; }

/* Menú móvil */
.mnav {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(10,11,13,.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; padding: 24px var(--pad) 40px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; }
.mnav nav { display: flex; flex-direction: column; margin-top: 40px; }
.mnav nav a { font-size: clamp(34px, 9vw, 54px); font-weight: 800; font-stretch: 115%; letter-spacing: -.03em; padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s, color .2s; }
.mnav nav a:hover { color: var(--amber); }
.mnav.open nav a { transform: none; opacity: 1; }
.mnav nav a svg { width: 28px; height: 28px; opacity: .4; }
.mnav-foot { margin-top: auto; display: grid; gap: 12px; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-sm { padding: clamp(56px, 7vw, 90px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.sec-head .h2 { margin-top: 16px; max-width: 16ch; }
.sec-head .lead { margin-top: 18px; }

/* Fondos decorativos */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
  opacity: .6;
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: .5; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.hero .glow.g1 { width: 620px; height: 620px; background: var(--red); top: -240px; left: -200px; opacity: .28; }
.hero .glow.g2 { width: 520px; height: 520px; background: var(--amber); bottom: -280px; right: 10%; opacity: .16; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.hero-chip .dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(52,211,153,.15); display: grid; place-items: center; }
.hero-chip .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }
.hero h1 { margin-top: 26px; }
.hero h1.display { font-size: clamp(42px, 6.3vw, 94px); font-stretch: 108%; }
.hero h1 .line > span { white-space: nowrap; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { to { transform: none; } }
.hero h1 em { font-style: normal; color: var(--amber); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .3em; overflow: visible; }
.hero h1 em svg path { stroke: var(--red); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.2s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { margin-top: 26px; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Buscador */
.search {
  margin-top: 34px; max-width: 620px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.search:focus-within { border-color: var(--amber); box-shadow: 0 0 0 6px rgba(255,184,0,.12); background: rgba(255,255,255,.07); }
.search svg { width: 22px; height: 22px; color: var(--dim); flex: none; }
.search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font-size: 17px; }
.search input::placeholder { color: var(--dim); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.quick span { font-size: 13px; color: var(--dim); margin-right: 4px; }
.quick a { font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: all .25s; }
.quick a:hover { border-color: var(--amber); color: var(--amber); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Columnas de fotos en movimiento */
.hero-visual { position: relative; height: clamp(520px, 62vw, 700px); }
.reels {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  transform: rotate(-6deg) scale(1.12);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.reel { overflow: hidden; }
.reel-track { display: flex; flex-direction: column; gap: 14px; animation: reelUp 38s linear infinite; }
.reel:nth-child(2) .reel-track { animation-name: reelDown; animation-duration: 46s; }
.reel:nth-child(3) .reel-track { animation-duration: 42s; }
@keyframes reelUp { to { transform: translateY(-50%); } }
@keyframes reelDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.reel img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; filter: saturate(.85) contrast(1.05); }
.hero-visual:hover .reel-track { animation-play-state: paused; }
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 14px; border-radius: 18px;
  background: rgba(16,18,22,.82); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--amber); color: #000; flex: none; }
.float-card .ic svg { width: 24px; height: 24px; }
.float-card strong { display: block; font-size: 20px; font-weight: 800; line-height: 1.1; font-stretch: 110%; }
.float-card small { color: var(--muted); font-size: 13px; }
.float-card.fc1 { left: -28px; top: 18%; }
.float-card.fc2 { right: -12px; bottom: 16%; animation-delay: -3s; }
.float-card.fc2 .ic { background: var(--red); color: #fff; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* =========================================================================
   CINTA DE SEGURIDAD (marquee)
   ========================================================================= */
.tape-wrap { position: relative; z-index: 5; padding: 30px 0; overflow: hidden; }
.tape {
  background: var(--amber); color: #0A0A0A;
  transform: rotate(-2deg); margin: 0 -40px;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  border-image: repeating-linear-gradient(45deg, #0A0A0A 0 14px, var(--amber) 14px 28px) 6;
  box-shadow: 0 20px 60px -20px rgba(255,184,0,.5);
}
.tape.alt { background: var(--surface-2); color: var(--text); transform: rotate(1.5deg); margin-top: -64px; position: relative; z-index: -1; border-image: none; border: 0; box-shadow: none; }
.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee-track { display: flex; flex: none; align-items: center; gap: 0; animation: marquee 40s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tape .marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding: 0 28px; font-size: clamp(20px, 2.6vw, 32px); font-weight: 900; font-stretch: 120%; text-transform: uppercase; letter-spacing: -.01em; line-height: 2.1; white-space: nowrap; }
.tape .marquee-track span::after { content: ""; width: 14px; height: 14px; background: currentColor; transform: rotate(45deg); }

/* =========================================================================
   STATS
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 900; font-stretch: 120%; letter-spacing: -.04em; line-height: 1; }
.stat strong sup { font-size: .45em; color: var(--amber); vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.stat > span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* =========================================================================
   ÁREAS (bento)
   ========================================================================= */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area {
  --c: var(--amber);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 250px; padding: 26px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .4s;
}
.area::before {
  content: ""; position: absolute; z-index: -1;
  width: 320px; height: 320px; right: -120px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%);
  opacity: .25; transition: opacity .5s, transform .6s var(--ease);
}
.area:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.area:hover::before { opacity: .7; transform: scale(1.25); }
.area .a-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.area .a-ic svg { width: 28px; height: 28px; }
.area h3 { margin-top: auto; padding-top: 30px; font-size: 24px; }
.area p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.area .a-count { position: absolute; top: 26px; right: 26px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.area .a-go { position: absolute; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #000; transform: scale(0) rotate(-45deg); transition: transform .45s var(--ease); }
.area .a-go svg { width: 20px; height: 20px; }
.area:hover .a-go { transform: scale(1) rotate(0); }
.area.big { grid-column: span 2; grid-row: span 2; min-height: 514px; padding: 36px; }
.area.big h3 { font-size: clamp(32px, 3.4vw, 48px); }
.area.big p { font-size: 17px; max-width: 40ch; }
.area.big .a-photo { position: absolute; inset: 0; z-index: -2; }
.area.big .a-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: grayscale(.4); transition: transform 1s var(--ease), opacity .5s; }
.area.big .a-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--surface) 15%, rgba(20,23,27,.4) 70%, rgba(20,23,27,.7)); }
.area.big:hover .a-photo img { transform: scale(1.06); opacity: .55; }

/* =========================================================================
   TARJETAS DE CURSO
   ========================================================================= */
.card {
  --c: var(--amber);
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--c) 50%, transparent); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.card:hover .card-media img { transform: scale(1.07); filter: saturate(1.1); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,23,27,.9), transparent 55%); }
.tags { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  background: rgba(10,11,13,.72); backdrop-filter: blur(8px); border: 1px solid var(--line-2);
}
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.tag.new { background: var(--red); border-color: transparent; color: #fff; margin-left: auto; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; }
.card-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.card-body h3 { font-size: 22px; line-height: 1.12; }
.card-body p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.opp { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--c) 8%, transparent); border: 1px dashed color-mix(in srgb, var(--c) 30%, transparent); font-size: 13.5px; line-height: 1.45; color: #D4D4D8; }
.opp svg { width: 18px; height: 18px; flex: none; color: var(--c); margin-top: 1px; }
.card-foot { display: flex; gap: 8px; margin-top: auto; padding-top: 20px; }
.card-foot .btn { flex: 1; height: 46px; font-size: 14px; padding: 0 14px; }
.card-link { position: absolute; inset: 0; z-index: 1; }
.card-foot, .card-foot * { position: relative; z-index: 2; }

/* Arte generativo para cursos sin foto */
.art { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--c) 55%, #000) 0%, #0D0F12 60%); }
.art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(135deg, transparent 20%, #000); -webkit-mask-image: linear-gradient(135deg, transparent 20%, #000); }
.art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(45deg, var(--c) 0 12px, transparent 12px 24px); opacity: .55; }
.art svg { position: absolute; right: -6%; bottom: -14%; width: 64%; height: auto; color: var(--c); opacity: .9; stroke-width: 1; filter: drop-shadow(0 0 30px color-mix(in srgb, var(--c) 60%, transparent)); transition: transform 1s var(--ease); }
.card:hover .art svg { transform: rotate(-6deg) scale(1.06); }
.art .art-label { position: absolute; left: 18px; bottom: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* Carrusel */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 400px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--pad) 30px; margin: 0 calc(var(--pad) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; display: grid; place-items: center; transition: all .3s; }
.rail-ctrl button:hover { background: var(--amber); color: #000; border-color: var(--amber); }
.rail-ctrl svg { width: 22px; height: 22px; }

/* =========================================================================
   OPORTUNIDAD
   ========================================================================= */
.opp-sec { background: var(--bg-2); overflow: hidden; }
.opp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.big-quote { font-size: clamp(32px, 3.6vw, 54px); font-weight: 800; font-stretch: 115%; letter-spacing: -.035em; line-height: 1.02; }
.big-quote .muted { color: #52525B; }
.opp-list { display: grid; gap: 14px; }
.opp-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease); }
.opp-item:hover { border-color: rgba(255,184,0,.4); transform: translateX(8px); }
.opp-item .n { font-family: var(--mono); font-size: 13px; color: var(--amber); }
.opp-item .ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,184,0,.1); color: var(--amber); }
.opp-item .ic svg { width: 30px; height: 30px; }
.opp-item h3 { font-size: 22px; }
.opp-item p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }

/* =========================================================================
   PROCESO
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 34px; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.step { position: relative; padding-right: 28px; }
.step .bubble { position: relative; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--mono); font-weight: 600; color: var(--amber); font-size: 18px; transition: all .4s var(--ease); }
.step:hover .bubble { background: var(--amber); color: #000; border-color: var(--amber); transform: scale(1.08); }
.step h3 { margin-top: 26px; font-size: 24px; }
.step p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; max-width: 30ch; }

/* =========================================================================
   AUDIENCIAS (Empresas / Personas)
   ========================================================================= */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; padding: clamp(32px, 4vw, 56px); min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); }
.duo-card .bg { position: absolute; inset: 0; z-index: -2; }
.duo-card .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo-card:hover .bg img { transform: scale(1.05); }
.duo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,11,13,.97) 30%, rgba(10,11,13,.55) 70%, rgba(10,11,13,.3)); }
.duo-card .eyebrow { margin-bottom: 16px; }
.duo-card h3 { font-size: clamp(34px, 3.8vw, 54px); font-stretch: 115%; letter-spacing: -.03em; }
.duo-card ul { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.duo-card li { display: flex; gap: 12px; color: #D4D4D8; }
.duo-card li svg { width: 22px; height: 22px; flex: none; color: var(--amber); }
.duo-card.red li svg { color: var(--red-2); }
.duo-card.red .eyebrow { color: var(--red-2); }
.duo-card .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* =========================================================================
   GALERÍA
   ========================================================================= */
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; border-radius: 16px; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .8s var(--ease), filter .5s; filter: grayscale(.35); }
.gallery figure:hover img { transform: scale(1.05); filter: none; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; border-radius: 14px; box-shadow: 0 40px 100px rgba(0,0,0,.6); }

/* =========================================================================
   CLIENTES & CERTIFICACIONES
   ========================================================================= */
.clients .marquee-track span { display: inline-flex; align-items: center; gap: 40px; padding: 0 40px; font-size: clamp(26px, 3.4vw, 46px); font-weight: 800; font-stretch: 118%; letter-spacing: -.03em; white-space: nowrap; color: #3F3F46; transition: color .3s; }
.clients .marquee-track span:hover { color: var(--text); }
.clients .marquee-track span::after { content: "✦"; font-size: .45em; color: var(--red); }
.clients .marquee + .marquee { margin-top: 10px; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(50px, 6vw, 80px); }
.cert { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.cert .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.04); color: var(--amber); flex: none; border: 1px solid var(--line); }
.cert .ic svg { width: 26px; height: 26px; }
.cert strong { display: block; font-size: 17px; font-stretch: 110%; }
.cert small { color: var(--muted); font-size: 13px; }

/* =========================================================================
   CTA FINAL
   ========================================================================= */
.cta-final { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: clamp(50px, 8vw, 110px) clamp(28px, 6vw, 90px); background: var(--red); }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 100% 0%, #FF8A5B 0%, transparent 55%), radial-gradient(60% 80% at 0% 100%, #B3161B 0%, transparent 60%); }
.cta-final::after { content: ""; position: absolute; z-index: -1; right: -5%; top: -20%; width: 55%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); box-shadow: 0 0 0 60px rgba(255,255,255,.04), 0 0 0 120px rgba(255,255,255,.03); }
.cta-final h2 { font-size: clamp(42px, 7vw, 104px); font-stretch: 120%; letter-spacing: -.04em; line-height: .92; max-width: 12ch; }
.cta-final p { margin: 24px 0 0; font-size: clamp(17px, 1.5vw, 21px); max-width: 48ch; color: rgba(255,255,255,.85); }
.cta-final .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.cta-final .btn-ghost { border-color: rgba(255,255,255,.45); }
.cta-final .btn-dark { background: #0A0A0A; color: #fff; }
.cta-final .btn-dark:hover { background: #222; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { position: relative; padding: 90px 0 30px; margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; font-stretch: 100%; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a { color: #D4D4D8; font-size: 15px; transition: color .2s; }
.footer li a:hover { color: var(--amber); }
.footer .about { color: var(--muted); font-size: 15px; max-width: 36ch; margin: 18px 0 24px; }
.footer .ct li { display: flex; gap: 10px; align-items: flex-start; color: #D4D4D8; font-size: 15px; }
.footer .ct svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--amber); }
.footer-mega { font-size: clamp(80px, 19vw, 300px); font-weight: 900; font-stretch: 125%; letter-spacing: -.06em; line-height: .8; margin-top: 70px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }

/* =========================================================================
   WHATSAPP FLOTANTE
   ========================================================================= */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; align-items: flex-end; gap: 12px; flex-direction: column; }
.wa-btn { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -8px rgba(37,211,102,.6); transition: transform .35s var(--ease); }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-btn::before, .wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.4s infinite; }
.wa-btn::after { animation-delay: 1.2s; }
@keyframes waRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.wa-bubble { max-width: 280px; padding: 16px 18px; border-radius: 18px 18px 4px 18px; background: #fff; color: #111; font-size: 14.5px; line-height: 1.45; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); transform: translateY(10px) scale(.95); transform-origin: 100% 100%; opacity: 0; visibility: hidden; transition: all .45s var(--ease); position: relative; }
.wa-bubble.show { transform: none; opacity: 1; visibility: visible; }
.wa-bubble strong { display: block; font-size: 15px; margin-bottom: 2px; }
.wa-bubble .x { position: absolute; top: 6px; right: 8px; border: 0; background: none; cursor: pointer; color: #777; font-size: 18px; line-height: 1; padding: 4px; }
.wa-bubble .online { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #128C7E; font-weight: 600; margin-top: 6px; }
.wa-bubble .online::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }

/* =========================================================================
   PÁGINAS INTERNAS
   ========================================================================= */
.page-hero { position: relative; padding: clamp(50px, 8vw, 110px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.page-hero .glow { width: 560px; height: 560px; background: var(--red); top: -300px; right: -150px; opacity: .22; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--dim); margin-bottom: 24px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 14px; height: 14px; }

/* Catálogo */
.catalog-bar { position: sticky; top: 74px; z-index: 40; padding: 14px 0; background: rgba(10,11,13,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.catalog-bar .container { display: flex; gap: 14px; align-items: center; }
.catalog-bar .search { margin: 0; flex: 0 0 340px; height: 52px; padding: 0 8px 0 18px; }
.catalog-bar .search input { height: 50px; font-size: 15.5px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { --c: var(--text); flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--muted); transition: all .25s; }
.chip svg { width: 17px; height: 17px; color: var(--c); }
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.chip.on { background: var(--c); border-color: var(--c); color: #0A0A0A; }
.chip.on svg { color: #0A0A0A; }
.chip .n { font-family: var(--mono); font-size: 11px; opacity: .65; }
.results-meta { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 24px; color: var(--muted); font-size: 15px; gap: 20px; flex-wrap: wrap; }
.results-meta strong { color: var(--text); }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.toggle input { appearance: none; width: 40px; height: 24px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); position: relative; cursor: pointer; transition: background .25s; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .3s var(--ease), background .25s; }
.toggle input:checked { background: var(--red); border-color: var(--red); }
.toggle input:checked::after { transform: translateX(16px); background: #fff; }
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty h3 { color: var(--text); font-size: 28px; margin-bottom: 10px; }
.empty .btn { margin-top: 24px; }

/* Ficha de curso */
.course-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 7vw, 90px); }
.course-hero .ch-bg { position: absolute; inset: 0; z-index: -2; }
.course-hero .ch-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: grayscale(.3); transform: scale(1.05); }
.course-hero .ch-bg .art { opacity: .9; }
.course-hero .ch-bg .art svg { width: 38%; right: 4%; bottom: -10%; opacity: .5; }
.course-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 25%, rgba(10,11,13,.7) 60%, rgba(10,11,13,.4)), linear-gradient(to top, var(--bg), transparent 40%); }
.course-hero h1 { font-size: clamp(38px, 5.6vw, 82px); letter-spacing: -.035em; font-stretch: 115%; max-width: 15ch; margin-top: 18px; }
.course-hero .lead { margin-top: 22px; color: #D4D4D8; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.pill { --c: var(--amber); display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font-size: 13.5px; font-weight: 600; }
.pill svg { width: 16px; height: 16px; color: var(--c); }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.course-main > section + section { margin-top: 64px; }
.course-main h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 22px; }
.course-main p { color: #C4C4CC; font-size: 17.5px; margin: 0 0 18px; max-width: 68ch; }
.syllabus { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: m; }
.syllabus li { counter-increment: m; display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 16.5px; transition: border-color .3s, transform .4s var(--ease); }
.syllabus li:hover { border-color: color-mix(in srgb, var(--c, var(--amber)) 50%, transparent); transform: translateX(6px); }
.syllabus li::before { content: "M" counter(m, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--c, var(--amber)); font-weight: 500; }
.opp-banner { --c: var(--amber); position: relative; overflow: hidden; padding: 34px; border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 18%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.opp-banner .eyebrow { color: var(--c); }
.opp-banner p { margin: 14px 0 0 !important; font-size: clamp(20px, 2vw, 26px) !important; color: var(--text) !important; font-weight: 700; line-height: 1.3; font-stretch: 108%; letter-spacing: -.01em; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.info small { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.info div { font-weight: 600; color: #E4E4E7; }
.sticky-box { position: sticky; top: 100px; padding: 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.sticky-box h3 { font-size: 26px; }
.sticky-box > p { color: var(--muted); font-size: 15px; margin: 10px 0 22px; }
.sticky-box .btn + .btn { margin-top: 10px; }
.sticky-box .perks { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.sticky-box .perks li { display: flex; gap: 12px; font-size: 14.5px; color: #D4D4D8; }
.sticky-box .perks svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.notice { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(242,70,75,.08); border: 1px solid rgba(242,70,75,.25); font-size: 13px; color: #FCA5A5; }

/* Formularios */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); outline: 0; font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23A1A1AA' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255,184,0,.12); }
.hp { position: absolute; left: -9999px; }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.form-msg.ok { display: block; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: #6EE7B7; }
.form-msg.err { display: block; background: rgba(242,70,75,.1); border: 1px solid rgba(242,70,75,.35); color: #FCA5A5; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
a.ccard:hover { border-color: rgba(255,184,0,.4); transform: translateX(6px); }
.ccard .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,184,0,.1); color: var(--amber); flex: none; }
.ccard.wa .ic { background: rgba(37,211,102,.12); color: var(--wa); }
.ccard .ic svg { width: 26px; height: 26px; }
.ccard small { display: block; color: var(--dim); font-size: 13px; }
.ccard strong { font-size: 19px; font-stretch: 108%; }
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line-2); }
.map { margin-top: 14px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); height: 260px; filter: grayscale(1) invert(.92) contrast(.9); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; aspect-ratio: 3/4; }
.about-photos img:nth-child(2) { margin-top: 60px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv-card { padding: clamp(30px, 4vw, 50px); border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.mv-card .eyebrow { margin-bottom: 20px; }
.mv-card p { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.4; font-weight: 600; margin: 0; color: #E4E4E7; }
.clients-list { columns: 3 260px; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.clients-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); color: #D4D4D8; font-size: 15px; display: flex; gap: 10px; }
.clients-list li::before { content: "✦"; color: var(--red); font-size: 11px; margin-top: 4px; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf .code { font-size: clamp(120px, 26vw, 340px); font-weight: 900; font-stretch: 125%; letter-spacing: -.06em; line-height: .85; background: linear-gradient(180deg, var(--amber), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================================
   REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 10px 12px; font-size: 14.5px; }
  .header-cta .btn-ghost { display: none; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .area.big { grid-column: span 3; grid-row: auto; min-height: 380px; }
  #areas-grid .area:last-child { grid-column: span 2; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .course-layout { grid-template-columns: minmax(0, 1fr) 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .topbar .tb-badge { display: none; }
  .topbar .container { justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; margin: 10px calc(var(--pad) * -1) 0; }
  .reels { transform: rotate(-6deg) scale(1.15); grid-template-columns: repeat(4, 1fr); }
  .float-card.fc1 { left: 16px; top: 8%; }
  .float-card.fc2 { right: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .opp-grid, .duo, .contact-grid, .about-grid, .mv { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before { display: none; }
  .certs { grid-template-columns: 1fr 1fr; }
  .course-layout { grid-template-columns: 1fr; }
  .sticky-box { position: relative; top: 0; }
  .catalog-bar { top: 64px; }
  .catalog-bar .container { flex-direction: column; align-items: stretch; }
  .catalog-bar .search { flex: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .display { font-size: clamp(36px, 11.5vw, 56px); font-stretch: 100%; }
  .h2 { font-stretch: 100%; }
  .search .btn { padding: 0 16px; }
  .search .btn svg { display: none; }
  .topbar .tb-right a:not(:first-child) { display: none; }
  .stat { padding: 24px 16px; }
  .stat strong { font-size: 34px; }
  .areas { grid-template-columns: 1fr 1fr; gap: 10px; }
  .area { min-height: 200px; padding: 20px; }
  .area.big { grid-column: span 2; min-height: 340px; padding: 26px; }
  #areas-grid .area:last-child { grid-column: auto; }
  .area h3 { font-size: 19px; }
  .area p { display: none; }
  .area.big p { display: block; font-size: 15px; }
  .grid-cards { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 86%; }
  .steps { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .info-grid, .form .row { grid-template-columns: 1fr; }
  .duo-card { min-height: 520px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1; }
  .opp-item { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; }
  .sec-head .rail-ctrl { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track, .reel-track { animation: none !important; }
  .hbar div i { width: var(--w) !important; }
}

/* =========================================================================
   PLATAFORMA · PROVEEDORES (v2)
   ========================================================================= */
.tag.online { background: rgba(34,211,238,.16); border-color: rgba(34,211,238,.45); color: #A5F3FC; }
.tag.online svg { width: 12px; height: 12px; }
.toggles { display: flex; gap: 22px; flex-wrap: wrap; }
.platform-note { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.3); font-size: 13.5px; color: #CFFAFE; transition: border-color .3s; }
.platform-note:hover { border-color: #22D3EE; }
.platform-note svg { width: 22px; height: 22px; color: #22D3EE; flex: none; }
.platform-note strong { display: block; color: #fff; font-size: 14.5px; }
.cyan { color: #22D3EE; }
ul.perks li svg, .wl-cap svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 2px; }
ul.perks li strong { color: var(--text); }
ul.perks li { color: #D4D4D8; }

/* Navegador / mockup */
.browser { position: relative; border-radius: 18px; overflow: hidden; background: #F1F5F9; border: 1px solid var(--line-2); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04); color: #0F172A; font-size: 12px; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #E2E8F0; border-bottom: 1px solid #CBD5E1; }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #F87171; }
.browser-bar .dots i:nth-child(2) { background: #FBBF24; }
.browser-bar .dots i:nth-child(3) { background: #34D399; }
.browser-bar .url { flex: 1; display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 8px; background: #fff; color: #475569; font-family: var(--mono); font-size: 11.5px; }
.browser-bar .url svg { width: 13px; height: 13px; color: #16A34A; }
.app { display: grid; grid-template-columns: 170px 1fr; min-height: 420px; }
.app-side { background: var(--brand, #0D2B5E); color: rgba(255,255,255,.75); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-brand { display: flex; align-items: center; gap: 8px; padding: 4px 6px 16px; color: #fff; font-weight: 800; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 10px; }
.app-brand img, .app-brand .lg { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; display: grid; place-items: center; }
.app-side a { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 600; }
.app-side a svg { width: 14px; height: 14px; opacity: .8; }
.app-side a.on { background: var(--accent, #C1121F); color: #fff; }
.app-main { padding: 18px; display: grid; gap: 12px; align-content: start; }
.app-h { display: flex; justify-content: space-between; align-items: center; }
.app-h strong { font-size: 15px; color: var(--brand, #0D2B5E); font-stretch: 100%; }
.app-h small { display: block; color: #64748B; font-size: 10.5px; }
.app-h .pdf { padding: 6px 10px; border-radius: 7px; background: var(--accent, #C1121F); color: #fff; font-weight: 700; font-size: 10.5px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi { background: #fff; border-radius: 10px; padding: 10px; border: 1px solid #E2E8F0; }
.kpi b { display: block; font-size: 19px; font-weight: 800; color: #0F172A; font-stretch: 100%; letter-spacing: -.02em; }
.kpi span { color: #64748B; font-size: 10px; }
.kpi i { display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--accent, #C1121F); margin-bottom: 7px; }
.charts { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; }
.chart-card { background: #fff; border-radius: 10px; padding: 12px; border: 1px solid #E2E8F0; }
.chart-card h5 { margin: 0 0 10px; font-size: 11px; color: #334155; font-stretch: 100%; letter-spacing: 0; }
.donut { width: 110px; aspect-ratio: 1; margin: 4px auto; border-radius: 50%; background: conic-gradient(#059669 0 22%, #D97706 22% 38%, #E5E7EB 38% 100%); display: grid; place-items: center; }
.donut::after { content: attr(data-label); width: 66%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #0F172A; }
.legend { display: flex; justify-content: center; gap: 10px; font-size: 9.5px; color: #64748B; margin-top: 8px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
.hbars { display: grid; gap: 7px; }
.hbar { display: grid; grid-template-columns: 92px 1fr 30px; gap: 8px; align-items: center; font-size: 10px; color: #475569; }
.hbar div { height: 9px; border-radius: 5px; background: #F1F5F9; overflow: hidden; }
.hbar div i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--brand2, #1A4A8A), var(--accent, #C1121F)); width: 0; transition: width 1.4s var(--ease); }
.in .hbar div i { width: var(--w); }
.hbar b { text-align: right; color: #0F172A; }
.platform-hero .browser { transform: perspective(1800px) rotateY(-9deg) rotateX(4deg); transition: transform 1s var(--ease); }
.platform-hero .browser:hover { transform: none; }
.platform-hero .hero-grid { grid-template-columns: .95fr 1.05fr; }
.platform-hero h1.display { font-size: clamp(42px, 5.6vw, 84px); }

/* Funcionalidades */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.feature:hover { border-color: rgba(34,211,238,.45); transform: translateY(-5px); }
.feature .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(34,211,238,.1); color: #22D3EE; border: 1px solid rgba(34,211,238,.25); }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin-top: 22px; font-size: 21px; }
.feature p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.feature.wide { grid-column: span 2; }
.feature .badge { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }

/* Marca blanca */
.wl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wl .browser .app { min-height: 300px; }
.wl-cap { margin-top: 14px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.wl-cap b { color: var(--text); }

/* Diploma */
.diploma { position: relative; aspect-ratio: 11 / 8.5; border-radius: 14px; background: #FFFDF7; color: #1F2937; padding: 7% 8%; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; transform: rotate(-2deg); }
.diploma::before { content: ""; position: absolute; inset: 14px; border: 2px solid #C9A227; border-radius: 8px; pointer-events: none; }
.diploma::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(201,162,39,.4); border-radius: 6px; pointer-events: none; }
.diploma .d-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: #111; font-stretch: 100%; }
.diploma .d-logo svg { width: 24px; height: 24px; }
.diploma .d-logo b { color: var(--red); }
.diploma small { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #92400E; margin-top: 6%; }
.diploma h4 { font-size: clamp(18px, 2.2vw, 28px); margin-top: 3%; color: #111; font-stretch: 100%; letter-spacing: -.01em; }
.diploma .d-name { font-size: clamp(16px, 2vw, 24px); font-style: italic; font-family: Georgia, serif; margin-top: 4%; color: #111; border-bottom: 1px solid #D1D5DB; padding: 0 20px 4px; }
.diploma p { font-size: 11px; color: #4B5563; margin: 3% 0 0; max-width: 40ch; line-height: 1.4; }
.diploma .d-foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; font-size: 9px; color: #6B7280; }
.diploma .d-sign { border-top: 1px solid #9CA3AF; padding-top: 4px; min-width: 30%; }
.diploma .seal { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F2D27A, #C9A227 60%, #8A6A12); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 9px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }

/* Caso de éxito */
.case { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; border: 1px solid var(--line-2); background: linear-gradient(135deg, #0D2B5E 0%, #0B1B38 55%, #14090B 100%); padding: clamp(32px, 5vw, 70px); }
.case::before { content: ""; position: absolute; z-index: -1; right: -140px; top: -140px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(193,18,31,.5), transparent 70%); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.case-logo { display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 18px; background: #fff; box-shadow: 0 20px 40px -15px rgba(0,0,0,.6); }
.case-logo { padding: 6px 10px; }
.case-logo img { height: 92px; width: 230px; object-fit: cover; object-position: 50% 56%; }
.case h2 { margin-top: 26px; font-size: clamp(32px, 3.8vw, 54px); font-stretch: 112%; letter-spacing: -.03em; }
.case p.lead { color: #CBD5E1; margin-top: 18px; }
.case .stats { border-color: rgba(255,255,255,.12); grid-template-columns: 1fr 1fr; }
.case .stat { border-color: rgba(255,255,255,.12); }
.case .stat:nth-child(3) { border-left: 0; }
.case .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
.case .stat strong { color: #fff; }
.case-photo { position: relative; border-radius: 22px; overflow: hidden; margin-top: 18px; }
.case-photo img { width: 100%; }
.case-courses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.case-courses span { padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #E2E8F0; }

/* Comparativa */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.compare thead th { background: var(--surface-2); font-size: 13px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.compare thead th.us { color: #0A0A0A; background: var(--amber); }
.compare td.us { background: rgba(255,184,0,.05); color: var(--text); font-weight: 600; }
.compare td { color: var(--muted); background: var(--surface); }
.compare tr:last-child td { border-bottom: 0; }
.compare td svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.compare td.us svg { color: #34D399; }

/* Proveedores: paquetes */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pack { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.pack.hot { border-color: var(--amber); background: linear-gradient(180deg, rgba(255,184,0,.08), var(--surface) 40%); }
.pack .ribbon { position: absolute; top: -12px; left: 32px; padding: 5px 12px; border-radius: 999px; background: var(--amber); color: #000; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pack h3 { font-size: 26px; }
.pack > p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.pack ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.pack li { display: flex; gap: 10px; font-size: 14.5px; color: #D4D4D8; }
.pack li svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 2px; }
.pack .btn { margin-top: auto; }
.req-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.req { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.req svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
.req strong { display: block; font-size: 16px; }
.req span { color: var(--muted); font-size: 14px; }

@media (max-width: 1320px) { .header-cta .btn-ghost { display: none; } .nav a { padding: 10px 11px; font-size: 14.5px; } }
@media (max-width: 1180px) { .features { grid-template-columns: 1fr 1fr; } .packs { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 980px) {
  .platform-hero .hero-grid, .case-grid, .wl { grid-template-columns: 1fr; }
  .platform-hero .browser { transform: none; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .req-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .feature.wide { grid-column: auto; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .charts { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px; font-size: 13.5px; }
  .case .stat strong { font-size: 30px; }
}

/* =========================================================================
   DESTACADO "PORTAL DE CURSOS" (menú + aviso sutil)
   ========================================================================= */
.nav-feature { position: relative; display: inline-flex; }
.nav-feature > a { color: var(--text) !important; }
.nf-dot { position: relative; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: #22D3EE; vertical-align: 2px; box-shadow: 0 0 10px #22D3EE; }
.nf-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #22D3EE; animation: nfPing 2.2s infinite; }
@keyframes nfPing { from { transform: scale(1); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
.mnav-new { display: inline-block; margin-left: 12px; padding: 4px 10px; border-radius: 999px; background: #22D3EE; color: #04232A; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; font-stretch: 100%; }
.portal-hint { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 75; display: flex; align-items: center; gap: 2px; padding: 4px 4px 4px 4px; border-radius: 999px; background: rgba(16,20,26,.92); border: 1px solid rgba(34,211,238,.45); box-shadow: 0 16px 40px -12px rgba(0,0,0,.8), 0 0 0 4px rgba(34,211,238,.06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s; }
.portal-hint::before { content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; background: rgba(16,20,26,.92); border-left: 1px solid rgba(34,211,238,.45); border-top: 1px solid rgba(34,211,238,.45); transform: translateX(-50%) rotate(45deg); }
.portal-hint.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.portal-hint a { display: inline-flex; align-items: center; gap: 9px; padding: 7px 8px 7px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #CFFAFE; transition: background .25s; }
.portal-hint a:hover { background: rgba(34,211,238,.1); }
.portal-hint a b { color: #fff; font-weight: 700; }
.portal-hint a svg { width: 15px; height: 15px; color: #22D3EE; transition: transform .3s var(--ease); }
.portal-hint a:hover svg { transform: translateX(3px); }
.ph-dot { width: 7px; height: 7px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 8px #22D3EE; flex: none; }
.ph-x { width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--dim); font-size: 17px; line-height: 1; cursor: pointer; transition: color .2s, background .2s; }
.ph-x:hover { color: var(--text); background: rgba(255,255,255,.06); }
.portal-hint.is-mobile { display: none; }
@media (max-width: 980px) {
  .portal-hint.is-mobile { display: flex; position: fixed; top: auto; left: 16px; bottom: 26px; transform: translateY(10px); }
  .portal-hint.is-mobile::before { display: none; }
  .portal-hint.is-mobile.show { transform: none; }
}

/* =========================================================================
   RECORRIDO INTERACTIVO DEL PORTAL (v3)
   ========================================================================= */
.tour { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; }
.tour-tabs { display: grid; gap: 8px; }
.tt { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; text-align: left; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: transparent; cursor: pointer; overflow: hidden; transition: background .3s, border-color .3s; }
.tt:hover { background: rgba(255,255,255,.03); }
.tt.on { background: var(--surface); border-color: var(--line-2); }
.tt-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.04); color: var(--muted); border: 1px solid var(--line); transition: all .3s; }
.tt-ic svg { width: 22px; height: 22px; }
.tt.on .tt-ic { background: var(--amber); color: #000; border-color: var(--amber); }
.tt-tx b { display: block; font-size: 16.5px; font-stretch: 108%; }
.tt-tx small { display: block; color: var(--dim); font-size: 13.5px; line-height: 1.45; margin-top: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.tt.on .tt-tx small { max-height: 80px; opacity: 1; color: var(--muted); }
.tt-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; }
.tt-prog i { display: block; height: 100%; width: 0; background: var(--amber); }
.tour-stage { position: sticky; top: 100px; }
.tour-cap { margin: 12px 0 0; color: var(--dim); font-size: 12.5px; text-align: right; font-family: var(--mono); }
.t-app { position: relative; min-height: 540px; background: #F8FAFC; }
.scr { position: absolute; inset: 0; padding: 20px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s, transform .45s var(--ease), visibility .45s; overflow: hidden; }
.scr.on { position: relative; opacity: 1; visibility: visible; transform: none; }
.scr svg { width: 14px; height: 14px; flex: none; }
.t-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.t-h b { font-size: 15px; color: #0F2747; font-stretch: 100%; }
.t-h small { display: block; color: #64748B; font-size: 11px; }
.t-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.t-chips span { padding: 4px 10px; border-radius: 999px; background: #E2E8F0; color: #475569; font-size: 10.5px; font-weight: 700; }
.t-chips span.on { background: #0F2747; color: #fff; }
.t-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 #E2E8F0, 0 0 0 1px #E2E8F0; font-size: 11.5px; color: #334155; }
.t-table th { text-align: left; padding: 9px 12px; background: #F1F5F9; color: #64748B; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.t-table td { padding: 10px 12px; border-top: 1px solid #F1F5F9; white-space: nowrap; vertical-align: middle; }
.t-table td b { color: #0F172A; }
.pb { display: inline-block; width: 70px; height: 7px; border-radius: 4px; background: #E2E8F0; overflow: hidden; vertical-align: middle; margin-right: 6px; }
.pb i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: #F2464B; }
.st { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.st.ok { background: #DCFCE7; color: #166534; }
.st.warn { background: #FEF3C7; color: #92400E; }
.st.bad { background: #FEE2E2; color: #991B1B; }
.st.prog { background: #DBEAFE; color: #1E40AF; }
.st.live { background: #DC2626; color: #fff; animation: livePulse 1.6s infinite; }
@keyframes livePulse { 50% { opacity: .65; } }
.avt { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 9.5px; font-weight: 800; margin-right: 8px; vertical-align: middle; }
.t-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px; background: #F2464B; color: #fff; font-size: 10.5px; font-weight: 700; white-space: nowrap; cursor: default; }
.t-btn.ghost { background: #fff; color: #334155; box-shadow: 0 0 0 1px #CBD5E1; }
.t-btn.light { background: #fff; color: #0F2747; }
.t-note { margin-top: 12px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #FEF2F2; color: #991B1B; font-size: 11.5px; }
.t-note a { margin-left: auto; font-weight: 800; text-decoration: underline; }
.t-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.t-kpis div { background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: 0 0 0 1px #E2E8F0; }
.t-kpis b { display: block; font-size: 20px; color: #0F172A; font-weight: 800; font-stretch: 100%; }
.t-kpis b.g { color: #059669; } .t-kpis b.a { color: #D97706; } .t-kpis b.r { color: #DC2626; }
.t-kpis span { font-size: 10px; color: #64748B; }
.t-foot { display: flex; gap: 6px; align-items: center; justify-content: flex-end; margin-top: 10px; font-size: 10.5px; color: #64748B; }
.t-board { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.b-card { background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 0 0 1px #E2E8F0; font-size: 11.5px; color: #334155; }
.b-card p { margin: 6px 0 0; line-height: 1.45; }
.b-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748B; margin-bottom: 6px; }
.b-hero { grid-row: span 2; background: linear-gradient(150deg, #0F2747, #1E4D8C); color: #fff; display: flex; flex-direction: column; }
.b-hero .b-tag { color: #FCA5A5; }
.b-hero b { font-size: 17px; line-height: 1.2; font-stretch: 100%; margin-top: 4px; }
.b-hero p { color: rgba(255,255,255,.75); flex: 1; }
.b-hero .t-btn { align-self: flex-start; margin-top: 10px; }
.b-msg { grid-column: span 2; background: #FFFBEB; box-shadow: 0 0 0 1px #FDE68A; }
.b-msg .b-tag { color: #B45309; }
.b-prog { display: flex; align-items: center; gap: 12px; }
.ring { --p: 50; width: 66px; height: 66px; border-radius: 50%; background: conic-gradient(#059669 calc(var(--p) * 1%), #E2E8F0 0); display: grid; place-items: center; flex: none; }
.ring span { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 11.5px; color: #0F172A; }
.b-prog ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 10.5px; }
.b-prog li i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.b-prog i.g { background: #059669; } .b-prog i.a { background: #D97706; } .b-prog i.n { background: #CBD5E1; }
.b-cal { display: flex; gap: 10px; align-items: center; padding: 5px 0; }
.b-cal div { width: 34px; text-align: center; border-radius: 7px; background: #F1F5F9; padding: 3px 0; flex: none; }
.b-cal div b { display: block; font-size: 13px; color: #0F2747; line-height: 1.1; }
.b-cal div span { font-size: 8px; font-weight: 800; color: #F2464B; }
.b-cal p { margin: 0; font-size: 10.5px; }
.b-wide { grid-column: span 3; }
.b-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.b-bars div { display: grid; grid-template-columns: 90px 1fr 34px; align-items: center; font-size: 10.5px; }
.b-bars .pb { width: 100%; }
.b-bars b { text-align: right; color: #0F172A; }
.t-sessions { display: grid; gap: 8px; }
.ses { display: grid; grid-template-columns: 50px 1fr auto auto; gap: 14px; align-items: center; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 0 0 1px #E2E8F0; }
.ses.live { box-shadow: 0 0 0 2px #FCA5A5; background: #FFF7F7; }
.ses .d { text-align: center; border-radius: 9px; background: #0F2747; color: #fff; padding: 6px 0; }
.ses.live .d { background: #DC2626; }
.ses .d b { display: block; font-size: 13px; font-stretch: 100%; }
.ses .d span { font-size: 9.5px; opacity: .8; }
.ses .i b { display: block; font-size: 12.5px; color: #0F172A; font-stretch: 100%; }
.ses .i small { color: #64748B; font-size: 10.5px; }
.t-player { display: grid; grid-template-columns: 190px 1fr; gap: 12px; }
.t-player aside { background: #0F2747; color: #fff; border-radius: 12px; padding: 14px; font-size: 11px; }
.t-player aside > b { font-size: 13px; font-stretch: 100%; }
.t-player .pp { display: flex; align-items: center; gap: 6px; margin: 8px 0 12px; font-weight: 800; }
.t-player .pp .pb { flex: 1; background: rgba(255,255,255,.15); }
.t-player ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.t-player li { display: flex; gap: 7px; align-items: center; padding: 7px 8px; border-radius: 7px; color: rgba(255,255,255,.6); line-height: 1.25; }
.t-player li.done svg { color: #34D399; }
.t-player li.on { background: #F2464B; color: #fff; }
.pl-main { display: grid; gap: 10px; align-content: start; }
.pl-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; background-size: cover; background-position: center; display: grid; place-items: center; overflow: hidden; }
.pl-play { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.95); color: #F2464B; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.scr .pl-play svg { width: 30px; height: 30px; }
.pl-bar { position: absolute; left: 12px; right: 12px; bottom: 28px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.3); }
.pl-bar i { display: block; height: 100%; width: 61%; background: #F2464B; border-radius: 3px; }
.pl-video small { position: absolute; left: 12px; bottom: 8px; color: #fff; font-size: 10px; font-family: var(--mono); }
.pl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 0 0 1px #E2E8F0; }
.pl-row b { display: block; font-size: 12.5px; color: #0F172A; font-stretch: 100%; }
.pl-row small { color: #64748B; font-size: 10.5px; }
.t-lib { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lib { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #E2E8F0; padding-bottom: 10px; }
.lib-img { position: relative; aspect-ratio: 16 / 9; background-size: cover; background-position: center; margin-bottom: 8px; }
.lib b { display: block; padding: 0 10px; font-size: 12px; color: #0F172A; font-stretch: 100%; }
.lib small { padding: 0 10px; color: #64748B; font-size: 10px; }
.t-dip { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; align-items: center; }
.dip-list { display: grid; gap: 8px; }
.dl-i { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: 0 0 0 1px #E2E8F0; }
.dl-i > span:first-child { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #F1F5F9; color: #94A3B8; }
.dl-i > span.ok { background: #FEF3C7; color: #B45309; }
.scr .dl-i > span:first-child svg { width: 18px; height: 18px; }
.dl-i b { display: block; font-size: 12px; color: #0F172A; font-stretch: 100%; }
.dl-i small { color: #64748B; font-size: 10.5px; }
.dl-i.off { opacity: .55; }
.dip-prev { position: relative; aspect-ratio: 8.5 / 11; max-height: 430px; margin: 0 auto; background: #fff; border-radius: 6px; box-shadow: 0 20px 50px -15px rgba(15,39,71,.45), inset 0 0 0 10px #fff, inset 0 0 0 12px #CBD5E1; padding: 9% 9%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; color: #0F2747; font-family: Georgia, serif; }
.dp-logos { width: 100%; display: flex; justify-content: space-between; align-items: center; font-family: var(--font); }
.dp-co { font-size: 9px; font-weight: 900; letter-spacing: .1em; padding: 4px 7px; border: 1.5px solid #0F2747; border-radius: 4px; }
.dp-mc { font-weight: 800; font-size: 14px; font-stretch: 100%; color: #111; }
.dp-mc b { color: #F2464B; }
.dip-prev > i { font-size: 19px; font-weight: 700; margin-top: 10px; }
.dip-prev small { font-size: 9.5px; font-style: italic; color: #334155; }
.dp-n { font-size: 15px; border-bottom: 1px solid #94A3B8; padding: 0 22px 3px; }
.dp-c { font-size: 12px; font-family: var(--font); font-stretch: 100%; border-bottom: 1px solid #94A3B8; padding: 0 10px 3px; }
.dp-f { display: grid; gap: 2px; font-size: 9.5px; font-style: italic; margin-top: 6px; }
.dp-s { margin-top: auto; width: 100%; display: flex; justify-content: space-between; font-size: 8px; font-family: var(--font); color: #475569; }
.dp-s span { border-top: 1px solid #94A3B8; padding-top: 3px; width: 44%; }

/* Celular */
.phone { position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 620; margin: 0 auto; border-radius: 46px; background: #0B0C0F; padding: 12px; box-shadow: 0 0 0 2px #2A2D33, 0 50px 100px -30px rgba(0,0,0,.9); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0B0C0F; z-index: 3; }
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; background: #F1F5F9; color: #0F172A; font-size: 11px; display: flex; flex-direction: column; }
.ph-top { background: #0F2747; color: #fff; padding: 52px 16px 16px; }
.ph-top small { opacity: .7; font-size: 10px; }
.ph-top b { display: block; font-size: 16px; font-stretch: 100%; }
.ph-msg { margin: 12px 12px 0; padding: 10px 12px; border-radius: 12px; background: #FFFBEB; box-shadow: 0 0 0 1px #FDE68A; line-height: 1.4; }
.ph-list { padding: 10px 12px; display: grid; gap: 8px; }
.ph-c { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: 0 0 0 1px #E2E8F0; display: grid; gap: 6px; }
.ph-c b { font-size: 12px; font-stretch: 100%; }
.ph-c .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ph-c .pb { width: 100%; }

/* Audiencias del portal */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trio .pack h3 { font-size: 24px; }
.trio .pack .eyebrow { margin-bottom: 14px; }

@media (max-width: 1180px) { .tour { grid-template-columns: 300px minmax(0, 1fr); } }
@media (max-width: 980px) {
  .tour { grid-template-columns: 1fr; }
  .tour-tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 4px; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tt { flex: none; grid-template-columns: 34px auto; padding: 10px 14px; align-items: center; }
  .tt-ic { width: 34px; height: 34px; }
  .tt-tx small { display: none; }
  .tour-stage { position: relative; top: 0; }
  .t-app { overflow-x: auto; }
  .scr { min-width: 640px; }
  .trio { grid-template-columns: 1fr; }
}
