@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
/* ILC Academy Brand Kit — componentes del campus (ilccampus.com, tema ilc-lms).
   Copiado de assets/css/campus.css el 2026-11-12. Los colores, radios r-xl/r-lg/r-md y la familia
   vienen de tokens.json (mismos --nombres que el campus). Cambios frente al original:
   rgb(var(--shadow) / a) -> rgba(46,24,52,a) (sombra-ciruela), y la textura de 101 PRO
   se pasa en --c101-papel-img (url) porque --c101-papel es aquí el color #383844. */
:root {
  --f-display: var(--font-sans, 'Poppins', 'Segoe UI', system-ui, sans-serif);
  --f-body: var(--font-sans, 'Poppins', 'Segoe UI', system-ui, sans-serif);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --logo: url("../marca/ilc-sello-web-480.webp"); /* assets/Logo/ilc-sello-web-480.webp */
  --grad: linear-gradient(160deg, var(--ilc) 0%, var(--ilc-mid) 52%, var(--ilc-deep) 100%);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ---------- Base (campus.css) ---------- */
html, body { background: var(--bg); }
body { margin: 0; color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.005em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: 40px; }
h2 { font-size: 26px; }
h3 { font-size: 23px; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.tnum { font-variant-numeric: tabular-nums; }
.col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Estructura: barra lateral, barra superior, vista ---------- */
/* ---------- Estructura ---------- */
.app { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow: hidden; color: var(--on-dark); background: var(--grad); display: flex; flex-direction: column; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; }
.aurora .a1 { width: 360px; height: 360px; left: -140px; top: -110px; background: radial-gradient(closest-side, rgba(196,150,206,0.55), transparent); }
.aurora .a2 { width: 320px; height: 320px; right: -170px; bottom: 30px; background: radial-gradient(closest-side, rgba(232,203,146,0.34), transparent); }
.grain::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.17; mix-blend-mode: soft-light; pointer-events: none; border-radius: inherit; }
.side-inner { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 24px 16px 18px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 18px; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--ilc-mid); background: linear-gradient(145deg, #FFFFFF, #EEDFF2); box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5), inset 0 -2px 0 rgba(74,48,80,0.15); }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-size: 15px; letter-spacing: 0.08em; }
.brand-name span { font-size: 11px; letter-spacing: 0.3em; color: var(--gold-bright); }
.nav { position: relative; display: flex; flex-direction: column; gap: 4px; }
.nav-pill { position: absolute; left: 0; top: 0; width: 100%; height: 52px; border-radius: 14px; background: linear-gradient(180deg, #FFFFFF, #F5ECF7); box-shadow: 0 10px 24px -10px rgba(0,0,0,0.5), inset 0 1px 0 #FFFFFF; z-index: 0; }
.nav-pill::after { content: ""; position: absolute; left: 12px; top: 50%; width: 4px; height: 18px; margin-top: -9px; border-radius: 4px; background: linear-gradient(180deg, var(--gold-bright), #C99A4A); }
.nav-item { position: relative; z-index: 1; min-height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 14px 0 26px; border: 0; border-radius: 14px; background: transparent; color: var(--on-dark-2); font-size: 15px; font-weight: 500; text-align: left; transition: color .35s var(--ease); }
.nav-item:hover { color: #FFFFFF; }
.nav-item[aria-current="page"] { color: #3B2241; font-weight: 600; }
.nav-item svg { flex: 0 0 auto; }
.nav-grupo { display: block; padding: 14px 14px 2px 26px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); }
.nav-item .badge { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--gold-bright); color: #3B2241; }
.side-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; margin-top: auto; }
.side-foot .nav-item[aria-current="page"] { background: linear-gradient(180deg, #FFFFFF, #F5ECF7); }
.me { display: flex; align-items: center; gap: 12px; padding: 14px 8px 4px; border-top: 1px solid rgba(255,255,255,0.14); }
.avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #FFFFFF; background: conic-gradient(from 210deg, #A57BAD, #E8CB92, #6B4771, #A57BAD); box-shadow: 0 0 0 2px rgba(255,255,255,0.22); }
.me strong { display: block; font-size: 14px; }
.me span { font-size: 13px; color: var(--on-dark-2); }
.rol-btn { min-height: 44px; border-radius: 12px; border: 1px solid rgba(232,203,146,0.45); background: rgba(255,255,255,0.06); color: #FFFFFF; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background-color .3s; }
.rol-btn:hover { background: rgba(255,255,255,0.12); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px clamp(16px, 4vw, 40px); background: rgba(245,240,246,0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(230,218,231,0.8); }
.crumb { font-size: 14px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; min-width: 0; flex-wrap: wrap; }
.crumb strong { color: var(--ink); font-weight: 600; }
.crumb .rolchip { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-line); }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.switch .track { width: 40px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; transition: background-color .3s var(--ease); }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0,0,0,0.25); transition: transform .45s var(--ease); }
.switch[aria-checked="true"] .track { background: var(--accent); }
.switch[aria-checked="true"] .knob { transform: translateX(16px); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); }
.menu-btn { display: none; }
.view { width: 100%; max-width: 1220px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); padding-block: 30px 90px; display: flex; flex-direction: column; gap: 26px; }
.view:focus { outline: none; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; }
.head .t { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 420px; }
.head p { color: var(--ink-2); max-width: 64ch; }

/* ---------- Superficies ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 2px rgba(46,24,52,0.06), 0 10px 30px -18px rgba(46,24,52,0.28); }

/* ---------- Superficies, botones, pastillas, chips, pestañas, segmentado, buscador ---------- */
.lift { transition: transform .5s var(--ease), border-color .35s var(--ease); }
.lift::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 28px 56px -26px rgba(46,24,52,0.45); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.lift:hover { transform: translateY(-5px); border-color: var(--line-2); }
.lift:hover::after { opacity: 1; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(165,123,173,0.17), transparent 50%); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; z-index: 0; }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.dark { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark); border-radius: var(--r-xl); background: linear-gradient(130deg, var(--ilc) 0%, var(--ilc-mid) 48%, var(--ilc-deep) 100%); box-shadow: 0 30px 60px -32px rgba(42,23,48,0.75), inset 0 1px 0 rgba(255,255,255,0.14); }
.dark .blob { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.dark .b1 { width: 520px; height: 520px; right: -150px; top: -270px; background: radial-gradient(closest-side, rgba(232,203,146,0.38), transparent); }
.dark .b2 { width: 460px; height: 460px; left: -170px; bottom: -280px; background: radial-gradient(closest-side, rgba(196,150,206,0.5), transparent); }
.dark .b3 { width: 260px; height: 260px; left: 46%; top: 30%; background: radial-gradient(closest-side, rgba(165,123,173,0.45), transparent); }
.dark .dots-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.22; background-image: radial-gradient(rgba(255,255,255,0.55) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 75%); mask-image: linear-gradient(110deg, transparent 30%, #000 75%); }
.dark h2, .dark h3 { color: #FFFFFF; }
.dark .eyebrow { color: var(--gold-bright); }
.dark .muted { color: var(--on-dark-2); }
.gold-rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(232,203,146,0.55), transparent); border: 0; margin: 0; width: 100%; }

/* ---------- Botones ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; transition: transform .25s var(--ease), background-color .3s var(--ease), color .3s, border-color .3s; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(160deg, #7A5481, var(--accent) 60%, #573A5D); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 12px 26px -14px rgba(46,24,52,0.75); }
.btn-gold { background: linear-gradient(160deg, #F0D7A6, #D9AE63 60%, #C2933F); color: #3B2241; box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 12px 26px -14px rgba(156,110,36,0.7); }
.btn-light { background: #FFFFFF; color: #3B2241; box-shadow: 0 14px 30px -14px rgba(0,0,0,0.5); }
.btn-ghost { background: var(--surface); color: var(--accent-text); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-glass { background: rgba(255,255,255,0.1); color: #FFFFFF; border: 1px solid rgba(255,255,255,0.32); }
.btn-glass:hover { background: rgba(255,255,255,0.16); }
.btn-ok { background: var(--ok); color: #FFFFFF; }
.btn-danger { background: var(--bad); color: #FFFFFF; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent); transform: skewX(-20deg); pointer-events: none; }
.shine:hover::after { left: 130%; transition: left 1s var(--ease); }
.btn.is-done { background: var(--ok); color: #FFFFFF; }
.linkish { border: 0; background: none; padding: 0; font-weight: 700; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pastillas, chips, pestañas ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.p-free { background: var(--accent-soft); color: var(--accent-text); }
.p-on { background: var(--warn-soft); color: var(--warn); }
.p-ok { background: var(--ok-soft); color: var(--ok); }
.p-new { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.p-bad { background: var(--bad-soft); color: var(--bad); }
.p-info { background: var(--info-soft); color: var(--info); }
.p-gold { background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-line); }
.p-glass { background: rgba(255,255,255,0.14); color: #FFFFFF; border: 1px solid rgba(255,255,255,0.24); }
.p-prem { background: linear-gradient(135deg, #F0D7A6, #D9AE63); color: #3B2241; }
.ind { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.chips { position: relative; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.chips .ind { border-radius: 999px; background: linear-gradient(160deg, #7A5481, var(--accent)); box-shadow: 0 8px 18px -10px rgba(46,24,52,0.8); }
.chip { position: relative; z-index: 1; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color .35s var(--ease); }
.chip[aria-pressed="true"] { color: var(--accent-ink); }
.chip .n { font-weight: 500; opacity: 0.75; margin-left: 4px; }
.tabs { position: relative; display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs .ind { border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--gold-bright)); }
.tab { position: relative; z-index: 1; min-height: 50px; padding: 0 18px; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.tab[aria-selected="true"] { color: var(--accent-text); }
.seg { position: relative; display: inline-flex; flex-wrap: wrap; padding: 6px; gap: 4px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.seg .ind { border-radius: 12px; background: var(--surface); box-shadow: 0 8px 18px -10px rgba(46,24,52,0.6), 0 0 0 1px var(--line-2); }
.seg button { position: relative; z-index: 1; min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.seg button[aria-pressed="true"] { color: var(--accent-text); }
.rgroup { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.rgroup .ind { border-radius: 20px; border: 2px solid var(--accent); box-shadow: 0 0 0 5px rgba(107,71,113,0.12); }
.rcard { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); text-align: left; color: var(--ink); }
.rcard .lv { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; font-weight: 700; color: #FFFFFF; background: var(--grad); }
.rcard .lv.ok { background: linear-gradient(145deg, #3E9C73, #2B7756); }
/* E-Coach: el sello de la certificación en lugar de la inicial (2026-10-24), como .co-mini */
.rcard .lv.sello { background: #FFFFFF; box-shadow: 0 8px 18px -10px rgba(46,24,52,0.55); }
.rcard .lv.sello img { width: 44px; height: 44px; display: block; }

/* ---------- Búsqueda ---------- */
.search { position: relative; flex: 0 1 380px; min-width: 240px; }
.search input { width: 100%; min-height: 52px; padding: 0 50px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; color: var(--ink); transition: border-color .3s var(--ease), box-shadow .4s var(--ease); }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 5px rgba(107,71,113,0.14), 0 18px 30px -22px rgba(46,24,52,0.6); }
.search > svg { position: absolute; left: 18px; top: 16px; color: var(--accent-text); pointer-events: none; }
.search .clear { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--accent-soft); color: var(--accent-text); font-size: 18px; line-height: 1; }

/* ---------- Hero y anillo de progreso ---------- */
.results { position: absolute; top: 60px; left: 0; right: 0; z-index: 15; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.res { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 6px 10px; border: 0; border-radius: 12px; background: transparent; text-align: left; color: var(--ink); }
.res:hover { background: var(--accent-soft); }

/* ---------- Tarjeta principal (continuar) ---------- */
.hero { padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 36px; align-items: center; }
.hero h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--on-dark-2); font-size: 15px; }
.hero .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-bright); }
.hero .hero-sub { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.45; color: var(--on-dark-2); }
.hero .hero-acc { margin-top: 10px; }
.hero .hero-acc .btn { min-height: 60px; padding: 0 30px; font-size: 18px; }
/* Quizzes que quedaron atrás (2026-10-24): aviso chico bajo el botón de la lección. */
.hero .hero-pend { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 2px; padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); background: var(--gold-soft); border: 1px solid var(--gold-line); text-decoration: none; }
.hero .hero-pend svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--gold); }
.hero .hero-pend:hover { border-color: var(--gold); }
.ring-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ring-wrap .ring svg { width: 100%; height: 100%; }
.ring-lbl { font-size: 15px; font-weight: 500; color: var(--on-dark-2); text-align: center; }
.ring { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring .val { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.ring .val strong { font-family: var(--f-display); font-size: 50px; font-weight: 700; color: #FFFFFF; }
.ring .val > span { font-size: 13px; color: var(--on-dark-2); margin-top: 6px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Tarjeta de programa y portada genérica ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pcard { overflow: hidden; display: flex; flex-direction: column; }
.cover { position: relative; height: 112px; overflow: hidden; isolation: isolate; background: var(--grad); }
.cover::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(60% 80% at 15% 20%, var(--c1), transparent 70%), radial-gradient(55% 75% at 90% 90%, var(--c2), transparent 70%); opacity: 0.8; transition: transform 1.2s var(--ease); }
.pcard:hover .cover::before { transform: scale(1.08) rotate(2deg); }
.cover .mono { position: absolute; right: 14px; bottom: -18px; font-family: var(--f-display); font-size: 120px; font-weight: 700; line-height: 1; color: rgba(255,255,255,0.14); }
.cover .tags { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.pbody { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pbody h3 { font-family: var(--f-body); font-size: 17px; font-weight: 600; line-height: 1.35; }

/* ---------- Campos con etiqueta flotante ---------- */
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; min-height: 60px; padding: 24px 16px 8px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; color: var(--ink); transition: border-color .3s var(--ease), box-shadow .4s var(--ease); appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 110px; resize: vertical; padding-top: 28px; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 22px) 28px, calc(100% - 16px) 28px; background-size: 6px 6px; background-repeat: no-repeat; }
.field label { position: absolute; left: 17px; top: 19px; font-size: 16px; color: var(--ink-3); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 5px rgba(107,71,113,0.13); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { transform: translateY(-11px) scale(0.8); color: var(--accent-text); }

/* ---------- Avisos (toast) ---------- */
/* ---------- Avisos, modal y efectos ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; width: min(92vw, 480px); }
.toast { pointer-events: auto; width: 100%; position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(130deg, var(--ilc-mid), var(--ilc-deep)); color: #FFFFFF; font-size: 15px; font-weight: 500; box-shadow: 0 24px 48px -20px rgba(42,23,48,0.65); }
.toast .ti { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; display: grid; place-items: center; background: #3E9C73; }
.toast .tl { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold-bright); transform-origin: left center; }

/* ---------- Portadas de certificación y hero de certificación en curso ---------- */
/* Portadas de las tarjetas de programa (propuesta B, elegida por el usuario 2026-10-14):
   fondo claro con el tinte de cada certificación, su sello en un medallón y de marca de
   agua, "Cohorte N" y una línea de color abajo. Los programas: portada genérica sin sello.
   Reemplaza al degradado morado con la letra grande del prototipo. */
.cover.cover-cert, .cover.cover-prog { height: 148px; background: linear-gradient(120deg, #FFFFFF 0%, var(--cv-tinte) 100%); border-bottom: 4px solid var(--cv-linea); }
.cover.cover-cert::before, .cover.cover-prog::before { display: none; }
.cover.cover-prog { --cv-tinte: #F7ECD8; --cv-linea: #C2933F; --cv-color: #3B2241; }
.cover .cv-wm { position: absolute; right: -58px; top: -52px; width: 250px; height: 250px; opacity: 0.13; transform: rotate(-12deg); z-index: -1; pointer-events: none; display: block; }
.cover-prog .cv-wm { opacity: 0.32; transform: none; color: var(--gold); }
.cover .cv-medal { position: absolute; left: 18px; top: 50%; width: 86px; height: 86px; margin-top: -43px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; box-shadow: 0 10px 22px -12px rgba(46,24,52,0.55), 0 0 0 1px rgba(46,24,52,0.06); }
.cover .cv-medal img { width: 78px; height: 78px; display: block; }
.cover-prog .cv-medal { color: var(--gold); }
.cover-prog .cv-medal svg { width: 34px; height: 34px; }
.cover .cv-col { position: absolute; left: 122px; right: 14px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.cover .cv-col .tags { position: static; margin-bottom: 6px; }
.cover .cv-eb { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cv-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-prog .cv-eb { color: var(--gold); }
.cover .cv-n { font-family: var(--f-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--cv-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover .cv-n.prog { font-size: 24px; line-height: 1.05; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cover-cert .pill.p-glass, .cover-prog .pill.p-glass { background: rgba(255,255,255,0.78); color: var(--accent-text); border: 1px solid var(--line); }
.cover .cv-col .pill { min-height: 24px; padding: 0 9px; font-size: 11.5px; }

/* Tarjeta principal de una certificación EN CURSO (Inicio del CIT y Mis certificaciones, 2026-10-15):
   mismo estilo que su portada (tinte, sello, su color y la línea abajo). Terminada o programa: la morada. */
.hero-cert { position: relative; overflow: hidden; isolation: isolate; color: var(--ink); border-radius: var(--r-xl); background: linear-gradient(120deg, #FFFFFF 0%, var(--cv-tinte) 100%); border: 1px solid var(--line); border-bottom: 5px solid var(--cv-linea); box-shadow: 0 30px 60px -36px rgba(46,24,52,0.45); }
.hero-cert .hero-wm { position: absolute; right: -90px; top: -110px; width: 420px; height: 420px; opacity: 0.1; transform: rotate(-12deg); z-index: -1; pointer-events: none; }
.hero-cert .hero-cab { gap: 12px; flex-wrap: nowrap; }
.hero-cert .hero-medal { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; box-shadow: 0 10px 22px -12px rgba(46,24,52,0.55), 0 0 0 1px rgba(46,24,52,0.06); }
.hero-cert .hero-medal img { width: 52px; height: 52px; display: block; }
.hero-cert .eyebrow { color: var(--cv-color); }
.hero-cert h2 { color: var(--cv-color); }

/* ---------- Coaching 101 PRO ---------- */
/* Coaching 101 PRO · Nueva edición con su marca (pedido del usuario 2026-10-27): papel gris carbón de sus piezas,
   rojo #BD0029, su sello en el medallón y de marca de agua, y el logo «C101ACHING PRO» (assets/img/c101/). */
.cover.cover-c101 { height: 148px; background: #383844 var(--c101-papel-img, none) center / cover; border-bottom: 4px solid #BD0029; }
.cover.cover-c101::before { display: none; }
.cover-c101 .cv-wm { opacity: 0.05; }
.cover-c101 .cv-medal { box-shadow: 0 10px 22px -10px rgba(0,0,0,0.7); }
.cover-c101 .cv-eb { color: rgba(255,255,255,0.82); }
.cover-c101 .cv-logo { display: block; width: 100%; max-width: 210px; height: auto; margin-top: 2px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35)); }
.cover-c101 .pill.p-glass { background: rgba(255,255,255,0.12); color: #FFFFFF; border: 1px solid rgba(255,255,255,0.3); }
.hero-c101, .banda-c101 { background: #383844 var(--c101-papel-img, none) center / cover; border-bottom: 5px solid #BD0029; box-shadow: 0 30px 60px -32px rgba(20,20,28,0.75), inset 0 1px 0 rgba(255,255,255,0.1); }
.hero-c101 .hero-wm { position: absolute; right: -90px; top: -110px; width: 420px; height: 420px; opacity: 0.08; transform: rotate(-12deg); z-index: -1; pointer-events: none; }
.hero-c101 .hero-cab { gap: 14px; flex-wrap: nowrap; align-items: center; }
.hero-c101 .hero-medal, .banda-c101 .hero-medal { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(0,0,0,0.7); }
.hero-c101 .hero-medal img, .banda-c101 .hero-medal img { width: 60px; height: 60px; display: block; }
.hero-c101 .hero-logo, .banda-c101 .hero-logo { display: block; width: 100%; max-width: 250px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); }
.hero-c101 .eyebrow { color: rgba(255,255,255,0.82); }

/* ---------- Ajustes generales 2026-10-16: una sola fuente (Poppins) y fondo blanco ---------- */
/* --bg (#FFFFFF) y --f-display (Poppins) viven en tokens.json / el preludio */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: 32px; }
h2 { font-size: 22px; }
h3 { font-size: 19px; }
@media (max-width: 900px) { h1 { font-size: 26px; } }
.brand-mark { font-size: 16px; }
.rcard .lv { font-size: 17px; }
.ring .val strong { font-size: 40px; }
.date-block strong { font-size: 26px; }
.date-block.sm strong { font-size: 21px; }
.stat strong { font-size: 32px; }
.cover .mono { font-size: 96px; }
.mod-head .num { font-size: 18px; }
.score .big { font-size: 52px; }
.evt .time { font-size: 21px; }
.profile .big { font-size: 26px; }
.lf-t { font-size: 30px; }
.lesson-body h2, .lesson-body .ilc-bloque-titulo { font-size: 24px; }
.lesson-body h3, .lesson-body h4 { font-size: 20px; }
.cover .cv-n { font-size: 28px; }
.hero h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; }
.lesson-top h1 { font-size: clamp(28px, 3.4vw, 38px); }

/* ---------- Logo oficial (sello): solo el logo, con una sombra suave (campus.css) ---------- */
.seal { display: inline-block; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--logo) center / contain no-repeat; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.35)); }
.seal.lg { width: 104px; height: 104px; filter: drop-shadow(0 14px 26px rgba(0,0,0,0.4)); }
.seal.sm { width: 40px; height: 40px; filter: drop-shadow(0 4px 8px rgba(42,23,48,0.3)); }
