/* Apartado Educación (clientes y asesores). Usa las variables de color/tipografía de cada página. */
.edu-back { width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--gray); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.edu-back:active { transform: scale(.94); }
.edu-curso { margin-bottom: 18px; }
.edu-curso-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 4px 2px 8px; }
.edu-curso-head h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.edu-curso-head span { font-size: 12px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.edu-nivel { margin: 18px 2px 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.edu-nivel small { display: block; margin-top: 2px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--text); font-weight: 800; }
.edu-mod { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 13px 14px; margin-bottom: 8px; font: inherit; color: inherit; cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s; }
.edu-mod:active { transform: scale(.985); }
.edu-mod.edu-bloqueado { cursor: not-allowed; opacity: .55; background: var(--gray); }
.edu-mod.edu-actual { border-color: var(--brand); box-shadow: 0 6px 18px rgba(224, 27, 27, .12); }
.edu-ico { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--gray); color: var(--muted); }
.edu-completado .edu-ico { background: var(--green-bg); color: var(--green); }
.edu-actual .edu-ico, .edu-en_curso .edu-ico { background: var(--brand-soft); color: var(--brand); }
.edu-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.edu-t { font-size: 14px; font-weight: 800; line-height: 1.25; }
.edu-m { font-size: 12px; color: var(--muted); }
.edu-chev { color: var(--muted); font-size: 20px; line-height: 1; }
.edu-bar { height: 6px; background: var(--border); border-radius: 99px; overflow: hidden; margin: 6px 0 2px; }
.edu-bar > i { display: block; height: 100%; width: 0; background: var(--brand-grad, var(--brand)); border-radius: 99px; transition: width .5s var(--ease); }
.edu-bar.edu-verde > i { background: var(--green); }
.edu-video-wrap { position: relative; width: 100%; background: #000; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 14px; }
.edu-video-wrap video { width: 100%; height: 100%; display: block; background: #000; }
.edu-video-msg { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .72); display: none; }
.edu-video-msg.on { display: block; }
.edu-titulo { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; margin: 2px 0 6px; }
.edu-resumen { font-size: 13px; color: var(--muted); line-height: 1.55; }
.edu-estado { font-size: 12px; font-weight: 700; margin-top: 8px; color: var(--muted); }
.edu-estado.ok { color: var(--green); }
.edu-continuar { margin-bottom: 14px; }
.edu-entrada-txt { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.edu-vacio { text-align: center; color: var(--muted); font-size: 14px; padding: 40px 10px; }
@media (min-width: 720px) { #eduScroll, #eduCursoScroll, #eduPlayerScroll { max-width: 760px; margin-left: auto; margin-right: auto; width: 100%; } }

/* ---- Pantalla de cursos: tarjetas con imagen, avance y total de módulos ---- */
.edu-bar { display: block; }
.edu-card { width: 100%; display: block; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; padding: 0; font: inherit; color: inherit; cursor: pointer; box-shadow: 0 2px 12px rgba(23, 24, 28, .06); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.edu-card:active { transform: scale(.985); box-shadow: 0 1px 6px rgba(23, 24, 28, .08); }
.edu-card-img { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #3a1a15, #17110F); overflow: hidden; }
.edu-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edu-card-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .5); }
.edu-badge { position: absolute; top: 10px; right: 10px; background: var(--green); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 99px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.edu-card-body { display: flex; flex-direction: column; gap: 7px; padding: 14px 15px 16px; }
.edu-card-t { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.edu-card-d { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.edu-card-m { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); font-weight: 700; }
.edu-card-m b { color: var(--text); font-size: 13px; }
.edu-card-cta { font-size: 13px; font-weight: 800; color: var(--brand); margin-top: 2px; }
.edu-resumen-curso { margin-bottom: 14px; }
.edu-resumen-curso .edu-curso-head { margin-top: 0; }
