/* =====================================================================
   Gestión 360 Internacional — Sistema visual
   Navy institucional · azul/cian tecnológico · verde lima de acento
   ===================================================================== */
:root {
  --navy: #071d3a;
  --navy-2: #0b2b53;
  --navy-3: #041427;
  --blue: #0878d9;
  --cyan: #17b9cf;
  --lime: #8bd223;
  --lime-ink: #0b281d;
  --green: #129d72;
  --green-2: #8bd223;
  --ink: #142034;
  --muted: #657187;
  --line: #dde5ef;
  --soft: #f3f7fb;
  --bg: #f7f9fc;
  --card: #ffffff;
  --danger: #d14343;
  --warn: #d38a0c;
  --radius: 14px;
  --shadow: 0 22px 55px rgba(12, 32, 63, .10);
  --shadow-lg: 0 30px 80px rgba(12, 32, 63, .22);
  --grad: linear-gradient(135deg, #0878d9, #05a8cb);
  --grad-dark: linear-gradient(118deg, #061a34 0%, #082950 66%, #06365a 100%);
  --grad-green: linear-gradient(135deg, #8bd223, #5fb52c);
  --font: 'Open Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-h: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --sidebar: 258px;
  --pad: clamp(20px, 5vw, 82px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(23, 185, 207, .55); outline-offset: 2px; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -60px; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Botones ---------- */
.btn, .button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 44px; padding: 0 18px; border-radius: 9px; border: 1px solid transparent; font-weight: 800; font-size: .86rem; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; text-decoration: none; line-height: 1.2; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(7, 123, 216, .24); }
.btn.primary:hover { box-shadow: 0 13px 30px rgba(7, 123, 216, .33); }
.btn.green, .btn.lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 12px 30px rgba(139, 210, 35, .22); }
.btn.white { background: #fff; color: var(--navy); }
.btn.outline, .btn.secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn.outline-white, .on-dark .btn.outline { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.btn.ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn.danger { background: var(--danger); color: #fff; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: .78rem; }
.btn.block { width: 100%; }
.icon-btn { border: 0; background: transparent; cursor: pointer; padding: .4em .55em; border-radius: 8px; color: var(--muted); font-size: 1rem; line-height: 1; }
.icon-btn:hover { background: var(--soft); color: var(--navy); }
.text-link { padding: 0; border: 0; background: transparent; color: var(--blue); font-weight: 800; font-size: .86rem; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Etiquetas tipográficas ---------- */
.kicker { display: flex; gap: 10px; align-items: center; color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--lime); flex: none; }
.kicker.light { color: #79d6e1; }
.kicker.pale { color: #c4d6e9; }
.eyebrow { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: .35em 1em; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.tag { display: inline-block; color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; margin-bottom: 8px; }

/* =====================================================================
   ESTRUCTURA DE LA PLATAFORMA (barra lateral + barra superior)
   ===================================================================== */
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 22px 16px 18px; background: var(--navy); color: #fff; z-index: 60; display: flex; flex-direction: column; overflow: hidden auto; }

.sidebar .brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; padding: 0 8px 22px; border-bottom: 1px solid rgba(255,255,255,.11); color: #fff; }
.brand-logo { width: 50px; height: 50px; object-fit: contain; border-radius: 14px; background: #fff; padding: 3px; flex: none; }
.brand-copy { display: grid; text-transform: uppercase; line-height: 1.05; }
.brand-copy strong { font-size: .95rem; letter-spacing: -.01em; font-weight: 900; }
.brand-copy span { margin-top: 5px; font-size: .58rem; letter-spacing: .3em; color: #9fb1c9; }
.primary-nav { position: relative; z-index: 1; margin-top: 22px; flex: 1; }
.nav-label { margin: 0 10px 10px; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: #7f93ae; font-weight: 800; }
.nav-item { width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; border-radius: 12px; color: #becadc; background: transparent; padding: 12px 10px; text-align: left; margin-bottom: 5px; transition: .22s ease; text-decoration: none; }
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active { background: linear-gradient(135deg, rgba(8,120,217,.34), rgba(23,185,207,.15)); color: #fff; box-shadow: inset 3px 0 var(--lime); }
.nav-index { font-size: .7rem; color: #758aa5; font-weight: 800; }
.nav-item.active .nav-index { color: var(--lime); }
.nav-item > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.nav-item b { font-size: .84rem; }
.nav-item small { color: #8296b0; font-size: .66rem; }
.nav-item.active small { color: #adc0d6; }
.sidebar-bottom { position: relative; z-index: 1; display: grid; gap: 10px; margin-top: 16px; }
.system-status { display: flex; align-items: center; gap: 10px; padding: 11px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(139,210,35,.12); flex: none; }
.status-dot.warn { background: #f2b33d; box-shadow: 0 0 0 5px rgba(242,179,61,.14); }
.system-status > span:last-child { display: grid; gap: 1px; }
.system-status b { font-size: .72rem; }
.system-status small { font-size: .62rem; color: #8da1ba; }
.sidebar-profile { display: grid; grid-template-columns: 34px 1fr 16px; gap: 10px; align-items: center; border: 0; background: transparent; color: #fff; padding: 8px 6px; text-align: left; border-radius: 10px; }
.sidebar-profile:hover { background: rgba(255,255,255,.06); }
.sidebar-profile > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.sidebar-profile b { font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-profile small { color: #8296b0; font-size: .62rem; }
.sidebar-profile .avatar { width: 34px; height: 34px; border-radius: 10px; color: var(--navy); background: linear-gradient(135deg, var(--lime), #d2ff80); font-size: .68rem; font-weight: 900; }

.workspace { margin-left: var(--sidebar); min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 28px; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); }
.breadcrumbs { display: flex; gap: 9px; align-items: center; color: #8a95a6; font-size: .8rem; min-width: 0; }
.breadcrumbs b { color: #c7d0db; }
.breadcrumbs strong { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; min-width: 0; }
.top-actions .btn { min-height: 38px; font-size: .78rem; padding: 0 14px; }
.account-chip { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .76rem; font-weight: 700; }
.demo-pill { padding: 6px 10px; background: #fff7df; color: #8a6410; border: 1px solid #f1dfaa; font-size: .64rem; font-weight: 800; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.menu-btn { display: none; border: 0; background: transparent; color: var(--navy); font-size: 1.45rem; padding: 4px 6px; }
.scrim { display: none; }
main { flex: 1; min-width: 0; }

/* =====================================================================
   WEB INSTITUCIONAL
   ===================================================================== */
.hero { min-height: calc(100vh - 64px); color: #fff; background: radial-gradient(circle at 80% 28%, rgba(12,143,219,.2), transparent 30%), var(--grad-dark); display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 30px; padding: 70px var(--pad); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 520px; height: 520px; left: -180px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(139,210,35,.16), transparent 65%); pointer-events: none; }
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.hero-copy { max-width: 680px; }
.hero h1 { margin: 22px 0; font-size: clamp(2.6rem, 5.1vw, 4.75rem); line-height: .98; letter-spacing: -.055em; color: #fff; font-weight: 900; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p { max-width: 640px; color: #b8c9db; line-height: 1.75; font-size: 1.02rem; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; max-width: 620px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; gap: 12px; }
.trust-row div { display: grid; gap: 3px; padding-left: 16px; border-left: 2px solid rgba(139,210,35,.45); }
.trust-row b { font-size: .82rem; }
.trust-row span { color: #8198b3; font-size: .7rem; }
.hero-visual { min-height: 520px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(23,185,207,.25); border-radius: 50%; }
.orbit-one { width: 480px; height: 480px; }
.orbit-two { width: 620px; height: 620px; border-color: rgba(139,210,35,.1); }
.hero-dashboard { width: min(430px, 88%); background: rgba(255,255,255,.97); color: var(--ink); padding: 20px; border-radius: 19px; box-shadow: 0 40px 90px rgba(0,0,0,.35); transform: rotate(-2.5deg); position: relative; z-index: 2; }
.reference-label { display: block; font-size: .58rem; letter-spacing: .14em; color: #8a97a9; margin-bottom: 4px; }
.mini-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mini-brand { font-size: .62rem; font-weight: 900; color: var(--navy); letter-spacing: .06em; }
.live-dot { font-size: .58rem; font-weight: 900; color: var(--green); background: #e5faef; padding: 5px 8px; border-radius: 20px; }
.progress-visual { display: grid; grid-template-columns: 98px 1fr; align-items: center; gap: 18px; padding: 22px 4px; }
.mini-ring { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, #fff 77%, transparent 78% 99%), conic-gradient(var(--lime) calc(var(--p, 68) * 1%), #e5ebf2 0); }
.mini-ring span { font-size: 1.7rem; font-weight: 900; color: var(--navy); }
.mini-ring small { font-size: .7rem; }
.progress-visual > div:last-child { display: grid; gap: 5px; }
.progress-visual small { color: #738097; font-size: .6rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.progress-visual b { font-size: .95rem; }
.progress-visual p { margin: 0; color: #8290a5; font-size: .68rem; }
.mini-module { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 11px; background: #eef6fc; }
.play { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: .7rem; }
.mini-module div { display: grid; gap: 2px; }
.mini-module small { font-size: .58rem; color: #728097; }
.mini-module b { font-size: .7rem; }
.mini-module > span:last-child { color: #77859a; font-size: .62rem; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 15px; gap: 8px; }
.mini-stats div { padding: 10px; text-align: center; border: 1px solid var(--line); border-radius: 9px; display: grid; gap: 2px; }
.mini-stats b { color: var(--navy); }
.mini-stats span { color: #8290a5; font-size: .58rem; }
.floating-card { position: absolute; z-index: 3; display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow); animation: flt 6s ease-in-out infinite; }
.floating-card > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #e8f9cf; color: #477f00; font-weight: 900; }
.floating-card div { display: grid; gap: 1px; }
.floating-card b { font-size: .7rem; }
.floating-card small { font-size: .6rem; color: #8390a2; }
.floating-a { left: 2%; top: 20%; }
.floating-b { right: 0; bottom: 18%; animation-delay: -3s; }
@keyframes flt { 50% { transform: translateY(-9px); } }

.statement-band { background: #fff; border-bottom: 1px solid var(--line); padding: 30px var(--pad) 0; }
.statement-band > p { text-align: center; max-width: 860px; margin: 0 auto 26px; font-size: 1.2rem; line-height: 1.5; color: #6f7c90; }
.statement-band strong { color: var(--navy); }
.ticker { border-top: 1px solid var(--line); padding: 15px 0; display: flex; justify-content: space-around; gap: 20px; color: #8390a3; font-size: .64rem; font-weight: 900; letter-spacing: .17em; flex-wrap: wrap; }
.ticker i { color: var(--lime); font-style: normal; }

.section { padding: 96px var(--pad); }
.section.alt, .section.white { background: #fff; }
.section.dark, .on-dark { background: var(--grad-dark); color: #dfe8f7; }
.section.dark h2, .section.dark h3, .on-dark h2, .on-dark h3 { color: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.section-heading h2, .big-title { margin: 12px 0 0; font-size: clamp(1.95rem, 3.5vw, 3rem); line-height: 1.05; letter-spacing: -.045em; max-width: 680px; }
.section-heading > p { max-width: 440px; color: var(--muted); line-height: 1.7; font-size: .9rem; margin: 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.04em; }
.sec-head p { color: var(--muted); }
.section.dark .sec-head p { color: #b9c8e3; }

.filter-row { display: flex; gap: 7px; margin-bottom: 24px; flex-wrap: wrap; }
.filter, .tab { border: 1px solid var(--line); background: #fff; color: #667389; padding: 9px 15px; border-radius: 999px; font-size: .74rem; font-weight: 800; cursor: pointer; }
.filter.active, .tab.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: .22s ease; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.program-cover { min-height: 136px; position: relative; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: radial-gradient(circle at 75% 20%, rgba(139,210,35,.44), transparent 23%), linear-gradient(135deg, #082649, #0577c7); overflow: hidden; color: #fff; }
.program-cover::after { content: ''; position: absolute; width: 130px; height: 130px; border: 28px solid rgba(255,255,255,.08); border-radius: 50%; right: -40px; top: -42px; }
.program-cover.especializacion { background: radial-gradient(circle at 75% 20%, rgba(23,185,207,.5), transparent 23%), linear-gradient(135deg, #16315c, #1a4ca7); }
.program-cover.curso { background: radial-gradient(circle at 75% 20%, rgba(139,210,35,.55), transparent 23%), linear-gradient(135deg, #0f574f, #119d72); }
.program-cover h3 { color: #fff; font-size: 1.1rem; margin: 0; position: relative; z-index: 1; line-height: 1.25; }
.program-cover .pill { position: relative; z-index: 1; }
.pill { display: inline-flex; width: max-content; padding: 5px 9px; border-radius: 999px; background: var(--lime); color: #1d3512; font-size: .6rem; letter-spacing: .07em; font-weight: 900; text-transform: uppercase; }
.pill.white { background: #fff; color: var(--navy); }
.pill-row { display: flex; gap: 6px; flex-wrap: wrap; position: relative; z-index: 1; }
.program-body { padding: 18px 19px 20px; display: flex; flex: 1; flex-direction: column; }
.program-body p { color: var(--muted); font-size: .84rem; line-height: 1.6; margin: 0 0 14px; }
.program-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; color: #6e7d91; font-size: .74rem; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.program-meta b { display: block; color: var(--navy); font-size: .82rem; }
.program-footer { margin-top: auto; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 1.35rem; color: var(--navy); font-weight: 900; letter-spacing: -.02em; }
.price s { color: var(--muted); font-size: .82rem; }
.program-actions { display: flex; gap: 8px; margin-top: 14px; }
.program-actions .btn { flex: 1; }

.about-section { background: var(--navy); color: #fff; display: grid; grid-template-columns: .55fr 1.1fr 1fr; gap: 55px; align-items: start; position: relative; overflow: hidden; }
.about-section::after { content: ''; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; right: -230px; bottom: -260px; box-shadow: 0 0 0 90px rgba(255,255,255,.025); }
.about-number { font-size: clamp(4.4rem, 9vw, 8.2rem); color: transparent; -webkit-text-stroke: 1px rgba(139,210,35,.5); font-weight: 900; letter-spacing: -.06em; line-height: 1; align-self: center; }
.about-copy, .about-principles { position: relative; z-index: 1; }
.about-copy h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -.045em; line-height: 1.04; margin: 15px 0 24px; color: #fff; }
.about-copy p { color: #acbfd4; line-height: 1.75; font-size: .92rem; }
.about-principles article { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.about-principles article > span { grid-row: span 2; color: var(--lime); font-size: .72rem; font-weight: 900; }
.about-principles h3 { margin: 0 0 4px; font-size: .95rem; color: #fff; }
.about-principles p { margin: 0; color: #91a7c0; font-size: .8rem; line-height: 1.5; }

.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.purpose-card { min-height: 290px; padding: 32px; border-radius: 15px; position: relative; overflow: hidden; color: #fff; }
.purpose-card::after { content: ''; position: absolute; width: 170px; height: 170px; border: 35px solid rgba(255,255,255,.08); border-radius: 50%; right: -55px; bottom: -70px; }
.purpose-card.mission { background: var(--navy); }
.purpose-card.vision { background: linear-gradient(135deg, var(--blue), #09a7c1); }
.card-number { color: var(--lime); font-size: .72rem; font-weight: 900; }
.purpose-card h3 { margin: 50px 0 14px; font-size: 1.65rem; color: #fff; }
.purpose-card p { max-width: 520px; color: #c0cee0; line-height: 1.7; font-size: .92rem; }
.purpose-card.vision p { color: #dff5ff; }
.values-row { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.values-row article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 19px; display: flex; gap: 13px; }
.values-row article > span { color: var(--blue); font-weight: 900; }
.values-row h3 { margin: 0 0 4px; font-size: .9rem; }
.values-row p { margin: 0; font-size: .76rem; color: var(--muted); line-height: 1.45; }

.teacher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.teacher-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; grid-template-columns: 62px 1fr; gap: 16px; align-items: start; transition: .22s ease; }
.teacher-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.teacher-card h3 { font-size: .98rem; margin: 2px 0 2px; }
.teacher-card .grado { color: var(--blue); font-size: .76rem; font-weight: 700; }
.teacher-card p { color: var(--muted); font-size: .8rem; margin: 8px 0 0; line-height: 1.5; }
.esp { display: inline-block; background: #e8f9cf; color: #3f6f06; padding: .2em .7em; border-radius: 99px; font-size: .68rem; font-weight: 800; margin-top: 6px; }

.platform-section { background: linear-gradient(120deg, #071d3a, #093963); color: #fff; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; overflow: hidden; }
.platform-copy h2 { color: #fff; font-size: clamp(1.95rem, 3.5vw, 3rem); letter-spacing: -.045em; margin: 12px 0 14px; }
.platform-copy > p { color: #adc0d4; line-height: 1.7; font-size: .92rem; }
.feature-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.feature-list li { color: #d5e0ec; font-size: .88rem; }
.feature-list span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 9px; border-radius: 50%; background: rgba(139,210,35,.16); color: var(--lime); font-size: .7rem; }
.platform-screen { background: #f8fafc; border: 8px solid rgba(255,255,255,.12); border-radius: 17px; min-height: 350px; display: grid; grid-template-columns: 58px 1fr; color: var(--ink); box-shadow: 0 35px 80px rgba(0,0,0,.3); transform: perspective(1200px) rotateY(-5deg); }
.screen-sidebar { background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 35px; border-radius: 9px 0 0 9px; }
.screen-sidebar i { width: 17px; height: 17px; border: 1px solid #55708e; border-radius: 5px; }
.screen-sidebar i:first-child { border-color: var(--lime); background: rgba(139,210,35,.2); }
.screen-content { padding: 26px; }
.screen-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.screen-title div { display: grid; gap: 3px; }
.screen-title small { color: var(--blue); font-size: .58rem; font-weight: 900; letter-spacing: .1em; }
.screen-title b { color: var(--navy); font-size: .95rem; }
.screen-title > span { width: 43px; height: 43px; display: grid; place-items: center; background: #e8f7d6; color: #4f880b; border-radius: 50%; font-size: .7rem; font-weight: 900; }
.lesson-list { display: grid; margin-top: 10px; }
.lesson-list > div { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 12px 9px; border-bottom: 1px solid var(--line); }
.lesson-list > div > span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #e8edf3; color: #8a98a9; font-size: .6rem; }
.lesson-list .done > span { background: #e9f7d8; color: #578d13; }
.lesson-list .current { background: #edf6fd; border-radius: 8px; }
.lesson-list .current > span { background: var(--blue); color: #fff; }
.lesson-list b { font-size: .72rem; }
.lesson-list small { font-size: .6rem; color: #8b98a9; }

.certification-section { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 70px; background: #fff; }
.certificate-art { min-height: 340px; padding: 44px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 12px solid #f3f6f9; outline: 1px solid #dce5ef; background: radial-gradient(circle at center, #fff, #f6f9fc); box-shadow: var(--shadow); position: relative; }
.certificate-art::before, .certificate-art::after { content: ''; position: absolute; width: 55px; height: 55px; }
.certificate-art::before { left: 18px; top: 18px; border-left: 2px solid var(--lime); border-top: 2px solid var(--lime); }
.certificate-art::after { right: 18px; bottom: 18px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); }
.certificate-art img { width: 64px; }
.certificate-art > small { margin: 20px 0 6px; color: var(--blue); font-size: .6rem; font-weight: 900; letter-spacing: .2em; }
.certificate-art h3 { margin: 0 0 14px; font-size: 1.5rem; font-family: Georgia, serif; letter-spacing: 0; }
.certificate-art p { color: #708097; margin: 0; }
.signature-line { width: 150px; border-top: 1px solid #9facbb; margin: 20px 0 8px; }
.certificate-art > b { font-size: .6rem; color: #7d8b9e; letter-spacing: .08em; }
.cert-copy p { color: var(--muted); line-height: 1.75; font-size: .92rem; }
.check-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: .9rem; color: var(--ink); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: #e8f9cf; color: #477f00; font-size: .66rem; display: grid; place-items: center; font-weight: 900; }
.verify { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.verify input { flex: 1; min-width: 200px; }
.verify-res { margin-top: 12px; padding: 14px; border-radius: 10px; font-size: .88rem; display: none; line-height: 1.6; }
.verify-res.ok { display: block; background: #e7f8ee; color: #176d52; }
.verify-res.bad { display: block; background: #fff0f0; color: #a6414c; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.why-grid article { background: #fff; padding: 26px; }
.why-grid span { color: var(--lime); font-weight: 900; font-size: .72rem; }
.why-grid h3 { font-size: 1rem; margin: 10px 0 6px; }
.why-grid p { color: var(--muted); font-size: .84rem; margin: 0; }

.intl { position: relative; background: var(--grad-dark); color: #fff; border-radius: 22px; padding: 56px; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.intl h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; margin: 14px 0; }
.intl p { color: #b8c9db; }
.intl::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255,255,255,.05); }
.intl-points { display: grid; gap: 10px; position: relative; z-index: 1; }
.intl-points div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 18px; font-size: .9rem; }

.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.promo-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: relative; overflow: hidden; }
.promo-card .off { position: absolute; top: 18px; right: 18px; background: var(--lime); color: var(--lime-ink); font-weight: 900; padding: .25em .7em; border-radius: 99px; font-size: .74rem; }
.promo-card h3 { font-size: 1.05rem; margin: 12px 0 6px; padding-right: 50px; }
.promo-card p { color: var(--muted); font-size: .84rem; }
.promo-card .price { margin: 10px 0 16px; }
.benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.benefits span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: .5em 1em; font-size: .84rem; }

.faq-list { max-width: 900px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 20px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; color: var(--navy); font-weight: 800; font-size: .95rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--blue); font-size: 1.2rem; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { color: var(--muted); font-size: .88rem; line-height: 1.65; margin: -4px 40px 18px 0; }
/* FAQ con tarjetas (landing de conversión) */
.faq { max-width: 820px; margin: auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 2px 20px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

.contact-section { padding: 85px var(--pad); display: grid; grid-template-columns: 1fr .9fr; gap: 70px; color: #fff; background: linear-gradient(135deg, #071d3a, #063d61); }
.contact-section h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.045em; line-height: 1.03; margin: 15px 0 22px; color: #fff; }
.contact-section > div > p { color: #aec1d5; line-height: 1.7; font-size: .92rem; max-width: 500px; }
.contact-list { display: grid; gap: 2px; margin-top: 24px; }
.contact-list a, .contact-list div { display: flex; gap: 12px; align-items: center; color: #d5e0ec; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.contact-list small { display: block; color: #7f95ae; font-size: .7rem; }
.contact-list i { font-style: normal; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.07); flex: none; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; font-weight: 800; font-size: .72rem; border: 1px solid rgba(255,255,255,.12); }
.socials a:hover { background: var(--lime); color: var(--lime-ink); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.contact-form label { display: grid; gap: 6px; color: #a9bed3; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; margin: 0; }
.contact-form input, .contact-form select { border: 1px solid rgba(255,255,255,.17); background: rgba(255,255,255,.07); color: #fff; text-transform: none; letter-spacing: 0; font-size: .86rem; }
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus { border-color: var(--lime); box-shadow: none; }
.contact-form .full, .contact-form > small { grid-column: 1 / -1; }
.contact-form > small { color: #7891ab; font-size: .7rem; line-height: 1.5; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { padding: 26px var(--pad); background: var(--navy-3); color: #8296ae; display: grid; grid-template-columns: .8fr 1fr .6fr; align-items: center; gap: 30px; font-size: .74rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.footer-brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #fff; padding: 2px; }
.footer-brand span { display: grid; text-transform: uppercase; letter-spacing: .1em; font-size: .58rem; }
.footer-brand b { font-size: .78rem; }
.site-footer p { text-align: center; margin: 0; }
.site-footer nav { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.site-footer a { color: var(--lime); font-weight: 800; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45); font-size: 1.5rem; }

/* Tarjetas genéricas (presentación, landing) */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.05rem; }
.card p { color: var(--muted); font-size: .9rem; }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; background: #e9f4fd; margin-bottom: 14px; flex: none; }
.why { display: flex; gap: 16px; align-items: flex-start; }
.why .num { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); font-weight: 900; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px; }
.feat span { font-size: 1.3rem; }
.feat b { color: #fff; display: block; font-size: .92rem; }
.feat small { color: #b9c8e3; }
.cert-preview { background: #fff; border: 12px solid #f3f6f9; outline: 1px solid #dce5ef; padding: 34px 28px; text-align: center; box-shadow: var(--shadow); position: relative; }
.cert-preview img { width: 64px; margin: 0 auto 8px; }
.cert-preview h4 { letter-spacing: .25em; font-size: .78rem; color: var(--muted); }
.cert-preview .who { font-size: 1.35rem; color: var(--navy); font-weight: 800; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin: 10px 30px; font-family: Georgia, serif; }

/* =====================================================================
   APLICACIÓN (campus, panel docente, seguimiento, gestión, reportes)
   ===================================================================== */
.app-view { padding: 32px 34px 70px; max-width: 1500px; margin: 0 auto; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.page-kicker { color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-size: .66rem; font-weight: 900; }
.page-head h1 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.04em; margin: 6px 0 4px; }
.page-head p { color: var(--muted); margin: 0; font-size: .86rem; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.admin-tabs a, .admin-tabs button { padding: 0 2px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #78869a; font-size: .8rem; font-weight: 800; white-space: nowrap; text-decoration: none; }
.admin-tabs .active { color: var(--blue); border-color: var(--blue); }
.view { display: none; animation: fade .25s; }
.view.active { display: block; }

.kpis, .metric-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.metric-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 17px; position: relative; overflow: hidden; }
.kpi::after { content: ''; position: absolute; width: 58px; height: 58px; border-radius: 50%; background: #eef6fd; right: -18px; top: -18px; }
.kpi.g::after { background: #eefadf; }
.kpi.w::after { background: #fff4d8; }
.kpi .lbl { color: #6f7c8f; font-size: .7rem; font-weight: 700; line-height: 1.3; min-height: 1.9em; display: block; padding-right: 28px; position: relative; z-index: 1; }
.kpi .val { display: block; color: var(--navy); font-size: 1.55rem; font-weight: 900; margin: 8px 0 4px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi .hint { font-size: .68rem; color: var(--green); font-weight: 800; }
.kpi.w .hint { color: var(--warn); }
.kpi .i { position: absolute; right: 10px; top: 9px; z-index: 1; font-size: .95rem; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 22px; min-width: 0; }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; font-size: 1rem; }
.panel-head small { color: var(--muted); font-size: .76rem; }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; margin-bottom: 18px; }
.dash-grid.c3 { grid-template-columns: 1fr 1fr 1fr; }
.dash-grid.c2 { grid-template-columns: 1fr 1fr; }
.chart-box { position: relative; height: 270px; }

.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input, .toolbar select { width: auto; min-width: 170px; background: #fff; }
.toolbar .search { flex: 1; min-width: 210px; max-width: 360px; }
.toolbar .push { margin-left: auto; }
.empty { text-align: center; color: var(--muted); padding: 34px 10px; font-size: .9rem; }
.empty-state { padding: 34px; border: 1px dashed #d2dfeb; border-radius: 12px; background: #f9fbfd; color: var(--muted); text-align: center; }
.empty-state h3 { margin-bottom: 6px; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.panel .table-wrap { border: 0; border-radius: 0; margin: 0 -8px; }
table { width: 100%; border-collapse: collapse; font-size: .84rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #edf1f5; vertical-align: middle; }
th { color: #8b97a7; font-weight: 800; font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; background: #fbfcfe; border-bottom-color: var(--line); }
td { color: #4f5d72; }
td b { color: var(--navy); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcff; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tfoot td { font-weight: 800; color: var(--navy); background: #fbfcfe; border-top: 1px solid var(--line); }
.cell-user { display: flex; align-items: center; gap: 10px; min-width: 160px; }
.cell-user small { display: block; color: #8b98aa; font-size: .74rem; }
.row-actions { display: flex; gap: 2px; justify-content: flex-end; white-space: nowrap; }
.muted { color: var(--muted); }

.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; background: #e5f2fc; color: var(--blue); font-weight: 900; flex: none; font-size: .76rem; letter-spacing: .02em; }
.avatar.xl { width: 62px; height: 62px; font-size: 1.05rem; background: linear-gradient(135deg, #dfefff, #b5dafe); }
.avatar.alt { background: linear-gradient(135deg, #e8f7d6, #c9ed9d); color: #55860e; }

.badge { display: inline-block; padding: .3em .75em; border-radius: 99px; font-size: .64rem; font-weight: 900; white-space: nowrap; background: #eef2f6; color: #617085; text-transform: uppercase; letter-spacing: .04em; }
.b-interesado { background: #e6f3ff; color: #12639e; }
.b-contactado { background: #fff4d8; color: #946800; }
.b-matriculado { background: #efe8fe; color: #6a3fc2; }
.b-en-curso { background: #e1f6fb; color: #057a99; }
.b-finalizado, .b-pagado, .b-publicado, .b-aprobado, .b-en-vivo { background: #e4f8ee; color: #14805e; }
.b-pendiente, .b-desaprobado { background: #fff0f0; color: #b03838; }
.b-parcial, .b-programada, .b-oculto { background: #fff4d8; color: #946800; }
.b-diplomado { background: #e6edf9; color: var(--navy); }
.b-especialidad, .b-especializacion { background: #e1f6fb; color: #057a99; }
.b-curso { background: #e9f7d8; color: #4f850e; }
.b-administrador { background: var(--navy); color: #fff; }
.b-asesor { background: #fff4d8; color: #946800; }
.b-docente { background: #e1f6fb; color: #057a99; }
.b-alumno { background: #e9f7d8; color: #4f850e; }
.b-google-meet { background: #e4f8ee; color: #14805e; }
.b-zoom { background: #e6f3ff; color: #12639e; }

.list-item { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.list-item:last-child { border-bottom: 0; }
.list-item small { color: var(--muted); display: block; font-size: .74rem; }
.list-item .when { margin-left: auto; text-align: right; font-size: .76rem; color: var(--muted); white-space: nowrap; }
.when.hot { color: var(--danger); font-weight: 800; }
.bar { height: 6px; border-radius: 8px; background: #e8eef4; overflow: hidden; flex: 1; }
.bar > span { display: block; height: 100%; background: var(--lime); border-radius: inherit; }
.bar.blue > span { background: var(--grad); }

/* Kanban CRM */
.kanban { display: grid; grid-template-columns: repeat(5, minmax(210px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: #eef3f9; border-radius: 13px; padding: 12px; min-height: 260px; transition: background .2s; }
.col.over { background: #e1ecfa; outline: 2px dashed var(--blue); }
.col h4 { display: flex; justify-content: space-between; font-size: .8rem; margin: 2px 4px 12px; text-transform: uppercase; letter-spacing: .06em; }
.col h4 span { background: #fff; border-radius: 99px; padding: 0 .6em; font-size: .72rem; color: var(--muted); }
.kcard { background: #fff; border-radius: 11px; padding: 12px; margin-bottom: 9px; box-shadow: 0 2px 6px rgba(10,42,94,.05); cursor: grab; border: 1px solid var(--line); font-size: .82rem; }
.kcard:active { cursor: grabbing; }
.kcard.dragging { opacity: .4; }
.kcard b { display: block; color: var(--navy); }
.kcard small { color: var(--muted); display: block; font-size: .72rem; }
.kcard .k-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 6px; }
.timeline { border-left: 2px solid var(--line); margin-left: 8px; padding-left: 18px; }
.tl { position: relative; padding-bottom: 16px; font-size: .88rem; }
.tl::before { content: ''; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px #fff; }
.tl small { color: var(--muted); }
.seg-tabs { display: inline-flex; background: #edf1f6; border-radius: 11px; padding: 4px; gap: 4px; }
.seg-tabs button { border: 0; background: transparent; padding: .5em 1em; border-radius: 8px; cursor: pointer; font-weight: 800; color: var(--muted); font-size: .8rem; }
.seg-tabs button.on { background: #fff; color: var(--navy); box-shadow: 0 2px 6px rgba(0,0,0,.06); }

/* Campus y panel docente */
.continue-card { min-height: 250px; padding: 30px; color: #fff; background: linear-gradient(125deg, #082247, #075d9b); border-radius: 16px; position: relative; overflow: hidden; display: flex; align-items: center; margin-bottom: 18px; }
.continue-card::after { content: ''; position: absolute; width: 360px; height: 360px; border: 60px solid rgba(255,255,255,.05); border-radius: 50%; right: -150px; top: -130px; }
.continue-copy { width: 64%; position: relative; z-index: 1; }
.continue-copy h2 { margin: 12px 0 6px; font-size: 1.55rem; color: #fff; }
.continue-copy > p { color: #a9c1d8; font-size: .86rem; }
.continue-card .bar { background: rgba(255,255,255,.16); margin-top: 18px; }
.course-orbit { position: absolute; right: 6%; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(closest-side, #0b3a66 73%, transparent 74%), conic-gradient(var(--lime) calc(var(--p, 0) * 1%), rgba(255,255,255,.12) 0); z-index: 1; }
.course-orbit span { font-size: 2rem; font-weight: 900; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.course { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.course .program-cover { min-height: 110px; }
.course .c-body { padding: 18px; display: grid; gap: 14px; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: .78rem; color: var(--muted); }
.meta b { color: var(--navy); font-weight: 800; display: block; font-size: .84rem; }
.progress-line { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.prog-actions { display: flex; gap: 8px; }
.prog-actions .btn { flex: 1; }
.ring { --p: 0; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(closest-side, #fff 78%, transparent 79%), conic-gradient(var(--lime) calc(var(--p) * 1%), #e5ebf2 0); margin: auto; }
.ring b { font-size: 1.8rem; color: var(--navy); font-weight: 900; }
.res-item { display: flex; align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 9px; }
.res-item .ico { margin: 0; width: 42px; height: 42px; font-size: 1.1rem; }
.res-item > div { flex: 1; min-width: 0; }
.res-item b { color: var(--navy); }
.res-item small { color: var(--muted); display: block; font-size: .76rem; }
.agenda { display: grid; gap: 10px; }
.session { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.session.live { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(139,210,35,.18); }
.session.past { opacity: .72; }
.session time { width: 56px; height: 60px; display: grid; place-items: center; align-content: center; background: var(--soft); border-radius: 10px; color: #7c8a9d; font-size: .6rem; font-weight: 900; text-transform: uppercase; line-height: 1.2; }
.session time b { color: var(--navy); font-size: 1.35rem; }
.session > div { min-width: 0; }
.session h4 { margin: 0 0 3px; font-size: .95rem; }
.session small { color: var(--muted); font-size: .76rem; display: block; }
.session .s-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.video-ph { aspect-ratio: 16/9; border-radius: 12px; background: linear-gradient(125deg, #082247, #075d9b); color: #fff; display: grid; place-items: center; text-align: center; padding: 20px; font-size: .86rem; }
.video-ph span { font-size: 2.4rem; display: block; }
.video-frame { aspect-ratio: 16/9; width: 100%; border: 0; border-radius: 12px; }
.quiz-q { margin-bottom: 18px; }
.quiz-q p { font-weight: 700; margin-bottom: 8px; }
.quiz-q label { font-weight: 500; color: var(--ink); display: flex; gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: .9rem; }
.quiz-q label input { width: auto; }
.note { padding: 14px 16px; border-radius: 11px; color: #19547e; background: #eaf5ff; font-size: .84rem; line-height: 1.6; }
.note.warn { color: #7a5600; background: #fff7df; }
.note.ok { color: #176d52; background: #e7f8ee; }
.report-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.report-filters label { display: grid; gap: 5px; margin: 0; }
.report-filters input, .report-filters select { width: auto; min-width: 150px; }

/* Certificado imprimible */
.certificate { width: 100%; aspect-ratio: 1.414; background: #fff; border: 14px solid var(--navy); outline: 3px solid var(--lime); outline-offset: -26px; padding: 44px 60px; text-align: center; position: relative; display: flex; flex-direction: column; justify-content: center; background-image: radial-gradient(circle at 0 0, rgba(8,120,217,.07), transparent 35%), radial-gradient(circle at 100% 100%, rgba(139,210,35,.1), transparent 35%); }
.certificate img { width: 86px; margin: 0 auto 6px; }
.certificate h2 { letter-spacing: .3em; font-size: 1.55rem; margin-bottom: 0; }
.certificate .who { font-size: 2rem; color: var(--navy); margin: 14px auto; border-bottom: 2px solid var(--line); padding: 0 30px 8px; font-family: Georgia, serif; }
.certificate .code { margin-top: 18px; font-size: .72rem; color: var(--muted); }
.certificate .firma { display: flex; justify-content: space-around; margin-top: 32px; font-size: .82rem; }
.certificate .firma div { border-top: 1px solid var(--ink); padding-top: 6px; min-width: 170px; }

/* ---------- Formularios ---------- */
input, select, textarea { width: 100%; padding: .72em .9em; border-radius: 9px; border: 1px solid var(--line); background: #f7f9fb; transition: border-color .2s, box-shadow .2s; font-size: .9rem; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,120,217,.12); background: #fff; }
label { font-weight: 800; font-size: .7rem; color: #728096; display: block; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field.wide { grid-column: 1 / -1; }
.field small.help { display: block; color: var(--muted); font-size: .72rem; margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .86rem; color: var(--ink); }
.check input { width: auto; }
.form-error { color: var(--danger); font-size: .84rem; margin-right: auto; }

/* ---------- Modal y avisos ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 200; background: rgba(4,17,35,.72); display: grid; place-items: center; padding: 16px; animation: fade .18s; backdrop-filter: blur(6px); }
.modal-bg.out { opacity: 0; transition: opacity .18s; }
.modal { background: #fff; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 18px; box-shadow: 0 40px 100px rgba(0,0,0,.34); animation: pop .22s ease-out; }
.modal.wide { width: min(900px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.modal-head h3 { margin: 0; font-size: 1.1rem; }
.modal-body { padding: 22px 24px; }
.modal-foot { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
#toasts { position: fixed; z-index: 300; right: 20px; bottom: 20px; display: grid; gap: 8px; }
.toast { background: var(--navy); color: #fff; padding: 13px 17px; border-radius: 11px; box-shadow: var(--shadow-lg); font-size: .86rem; border-left: 4px solid var(--lime); animation: pop .2s; transition: opacity .4s, transform .4s; max-width: 380px; }
.toast.err { border-left-color: #ff6b6b; }
.toast.out { opacity: 0; transform: translateY(20px); }
.demo-banner { background: #fff7df; color: #7a5600; text-align: center; font-size: .78rem; padding: 7px 12px; border-bottom: 1px solid #f1dfaa; }
.demo-banner button { border: 0; background: transparent; text-decoration: underline; cursor: pointer; color: inherit; font-weight: 800; }

/* ---------- Ingreso ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--grad-dark); color: #fff; padding: 56px var(--pad); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 360px at 85% 15%, rgba(23,185,207,.22), transparent 60%), radial-gradient(420px 320px at 10% 95%, rgba(139,210,35,.14), transparent 60%); }
.auth-side > * { position: relative; }
.auth-side h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -.05em; line-height: 1.02; margin: 20px 0; }
.auth-side h1 em { color: var(--lime); font-style: normal; }
.auth-side p { color: #b8c9db; max-width: 460px; }
.auth-side .brand-logo { width: 72px; height: 72px; }
.auth-form { display: grid; place-items: center; padding: 40px 20px; background: #fff; }
.auth-box { width: min(410px, 100%); }
.auth-box .seg-tabs { width: 100%; margin-bottom: 24px; }
.auth-box .seg-tabs button { flex: 1; }
.auth-box form { display: grid; gap: 14px; }
.auth-box h2 { font-size: 1.6rem; letter-spacing: -.04em; margin: 0; }
.demo-users { margin-top: 22px; border: 1px dashed #e5c46a; background: #fffaeb; border-radius: 12px; padding: 14px; font-size: .82rem; }
.demo-users button { margin: 6px 6px 0 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   LANDING DE CONVERSIÓN (inscripcion.html)
   ===================================================================== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .container { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--navy); line-height: 1.05; text-transform: uppercase; }
.nav .brand img { width: 42px; height: 42px; object-fit: contain; }
.brand small { display: block; font-size: .56rem; letter-spacing: .3em; font-weight: 600; color: var(--muted); }
.brand b { color: var(--green); }
.lp-hero { position: relative; background: var(--grad-dark); color: #fff; padding: 48px 0 64px; overflow: hidden; }
.lp-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 340px at 90% 10%, rgba(23,185,207,.2), transparent 60%), radial-gradient(420px 300px at 0% 100%, rgba(139,210,35,.13), transparent 60%); }
.lp-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.lp-copy { padding-top: 12px; }
.lp-hero .eyebrow { margin-bottom: 16px; }
.lp-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.05em; line-height: 1.02; font-weight: 900; }
.lp-hero .lead { font-size: 1.04rem; color: #b8c9db; }
.lp-facts { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-facts li { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; }
.lp-facts li span { font-size: 1.25rem; }
.lp-facts small { display: block; color: #8fa6c2; font-size: .72rem; }
.lp-price { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-price small { display: block; color: #8fa6c2; font-size: .78rem; }
.lp-price b { font-size: 2.3rem; line-height: 1.1; font-weight: 900; letter-spacing: -.03em; }
.lp-price s { opacity: .65; margin-left: 10px; font-size: 1.05rem; }
.lp-price .off { background: var(--lime); color: var(--lime-ink); border-radius: 99px; padding: .4em 1em; font-weight: 900; font-size: .84rem; }
.lp-count { margin-top: 22px; }
.lp-count small { color: #8fa6c2; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }
.cd { display: flex; gap: 10px; margin-top: 8px; }
.cd div { background: #fff; color: var(--muted); border-radius: 11px; padding: 8px 4px; min-width: 66px; text-align: center; font-size: .7rem; }
.cd b { display: block; font-size: 1.55rem; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.2; font-weight: 900; }
.lp-form { position: relative; color: var(--ink); padding: 28px; box-shadow: 0 40px 90px rgba(0,0,0,.35); border: 0; border-radius: 18px; scroll-margin-top: 90px; }
.lp-form h2 { margin-bottom: 4px; letter-spacing: -.04em; }
.lp-form .sub { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.lp-form form { display: grid; gap: 12px; }
.lp-form label small { font-weight: 400; color: var(--muted); text-transform: none; }
.lp-consent { font-size: .78rem; color: var(--muted); font-weight: 500; align-items: flex-start; }
.lp-consent input { margin-top: 3px; }
.lp-cta { font-size: 1rem; min-height: 52px; letter-spacing: .02em; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 12px 30px rgba(139,210,35,.22), 0 0 0 8px rgba(139,210,35,.14); } }
.lp-safe { text-align: center; font-size: .76rem; color: var(--muted); margin: 0; }
.lp-thanks { text-align: center; }
.lp-thanks .ok-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-size: 2.2rem; display: grid; place-items: center; margin: 4px auto 14px; animation: pop .4s; font-weight: 900; }
.lp-trust { background: var(--navy); color: #c8d6ee; padding: 18px 0; }
.lp-trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; font-size: .86rem; }
.lp-trust b { color: var(--lime); margin-right: 6px; }
.lp-two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.lp-final { background: var(--grad-dark); color: #fff; }
.lp-final h2 { color: #fff; max-width: 760px; margin: 0 auto 10px; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.lp-final p { color: #b8c9db; }
.footer { background: var(--navy-3); color: #8296ae; font-size: .82rem; }
.footer .copy { text-align: center; }
.footer a { color: var(--lime); }
.lp-sticky { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) { .kpis, .metric-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1180px) {
  :root { --sidebar: 230px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .floating-card { display: none; }
  .program-grid, .teacher-grid, .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: 1fr 1fr; }
  .about-number { display: none; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid.c3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  
  .workspace { margin-left: 0; }
  .menu-btn { display: block; }
  .breadcrumbs { display: none; }
  .topbar { padding: 0 14px; }
  .top-actions { overflow-x: auto; scrollbar-width: none; }
  .top-actions .btn { flex: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 56px 24px; }
  .hero-visual { min-height: 460px; }
  .section { padding: 72px 24px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .about-section, .platform-section, .certification-section, .contact-section, .intl, .dash-grid, .dash-grid.c2, .dash-grid.c3, .lp-grid, .lp-two { grid-template-columns: 1fr; }
  .platform-screen { transform: none; }
  .contact-section { gap: 40px; padding: 64px 24px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .site-footer nav { justify-content: center; }
  .app-view { padding: 24px 18px 60px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { padding: 36px 24px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .lp-trust .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 14.5px; }
  .top-actions .hide-sm, .account-chip { display: none; }
  .hero { padding: 48px 20px; }
  .hero h1 { font-size: 2.55rem; letter-spacing: -.045em; }
  .hero-visual { min-height: 400px; }
  .hero-dashboard { width: 100%; transform: none; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { display: none; }
  .trust-row { gap: 8px; }
  .trust-row div { padding-left: 9px; }
  .program-grid, .teacher-grid, .promo-grid, .purpose-grid, .values-row, .why-grid, .g2, .g3, .g4, .grid-form, .feat-list, .contact-form, .meta, .program-meta { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1; }
  .kpis, .metric-grid, .metric-grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .section, .statement-band { padding-left: 18px; padding-right: 18px; }
  .platform-screen { grid-template-columns: 42px 1fr; }
  .screen-content { padding: 16px 12px; }
  .certificate-art { padding: 30px 20px; }
  .continue-card { padding: 24px; min-height: 330px; align-items: flex-start; }
  .continue-copy { width: 100%; }
  .course-orbit { width: 92px; height: 92px; bottom: 20px; right: 20px; top: auto; }
  .course-orbit span { font-size: 1.4rem; }
  .panel { padding: 16px; }
  .session { grid-template-columns: 50px 1fr; }
  .session .s-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .certificate { padding: 22px; }
  .certificate .who { font-size: 1.25rem; }
  #toasts { left: 16px; right: 16px; }
  .lp-hero { padding: 28px 0 40px; }
  .lp-facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lp-facts li { padding: 10px; gap: 8px; font-size: .86rem; }
  .lp-form { padding: 22px 18px; }
  .cd div { min-width: 0; flex: 1; }
  .lp-wa span { display: none; }
  body.lp { padding-bottom: 74px; }
  .lp-sticky { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 16px; background: #fff; box-shadow: 0 -6px 20px rgba(10,42,94,.12); transition: transform .25s; }
  .lp-sticky.hide { transform: translateY(110%); }
  .lp-sticky .btn.green { flex: 1; }
  .lp-sticky .btn.ghost { background: #25d366; color: #fff; font-size: 1.2rem; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { position: fixed; left: 0; top: 0; width: 100%; }
  @page { size: A4 landscape; margin: 10mm; }
}

/* Tarjeta de clase compacta (columnas angostas) */
.panel .agenda .session { grid-template-columns: 50px 1fr; }
.panel .agenda .session .s-actions { grid-column: 2; justify-content: flex-start; }
.panel .agenda .session time { width: 48px; height: 54px; }
.seg-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg-tabs button { white-space: nowrap; }

/* =====================================================================
   v2.1 — Menú superior de la web, menú de cuenta y retoques visuales
   ===================================================================== */
::selection { background: rgba(139,210,35,.35); }
.scrim { display: none; }
.scrim.open { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(4,17,35,.55); backdrop-filter: blur(2px); animation: fade .2s; }

/* Botón de menú (tres líneas que se convierten en X) */
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 0; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .2s, top .25s; }
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 20px; }
.menu-btn span:nth-child(3) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Barra lateral más limpia */
.sidebar { background: linear-gradient(180deg, #071d3a 0%, #082448 100%); border-right: 1px solid rgba(255,255,255,.04); }
.sidebar .brand-logo { width: 46px; height: 46px; }
.nav-item:hover .nav-index { color: #b8c7da; }
.sidebar-bottom { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-profile { grid-template-columns: 34px 1fr auto; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 9px 8px; }
.sidebar-profile .icon-btn { color: #9fb1c9; }
.sidebar-profile .icon-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.breadcrumbs a { color: #8a95a6; }
.breadcrumbs a:hover { color: var(--blue); }

/* Menú superior de la web pública */
[data-layout] .workspace { margin-left: 0; }
.btn-salir { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid #f3d0d0; background: #fff; color: var(--danger); font-weight: 800; font-size: .78rem; transition: background .2s, border-color .2s; flex: none; }
.btn-salir:hover { background: #fff3f3; border-color: var(--danger); }
.btn-salir span:first-child { font-size: 1rem; }
.btn-salir.saliendo, .acct-menu .salir.saliendo { opacity: .55; pointer-events: none; }
@media (max-width: 620px) {
  .btn-salir { width: 40px; padding: 0; justify-content: center; }
  .acct-menu { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; }
}
[data-layout="app"] .site-nav .web-links a { font-size: .82rem; }
[data-layout="app"] .app-view { padding-top: 28px; }
.site-nav { height: 72px; padding: 0; z-index: 60; transition: box-shadow .25s; }
.site-nav.scrolled { box-shadow: 0 10px 30px rgba(7,29,58,.08); }
.site-nav-in { width: 100%; height: 100%; display: flex; align-items: center; gap: 22px; padding: 0 var(--pad); }
.site-nav .brand { display: flex; align-items: center; gap: 10px; color: var(--navy); flex: none; }
.site-nav .brand-logo { width: 44px; height: 44px; border: 1px solid var(--line); }
.site-nav .brand-copy strong { color: var(--navy); }
.site-nav .brand-copy span { color: var(--muted); }
.web-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.web-links a { position: relative; padding: 9px 12px; border-radius: 9px; color: #4a5870; font-weight: 700; font-size: .84rem; transition: color .2s, background .2s; }
.web-links a:hover { color: var(--navy); background: var(--soft); }
.web-links a.on { color: var(--blue); }
.web-links a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--lime); }
.web-links-cta { display: none; }
.site-nav .top-actions { margin-left: 0; }

/* Menú de cuenta */
.acct { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 9px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; transition: border-color .2s, box-shadow .2s; }
.acct-btn:hover, .acct-btn.on { border-color: #c5d3e4; box-shadow: 0 6px 18px rgba(7,29,58,.08); }
.acct-btn .avatar { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--lime), #d2ff80); color: var(--navy); font-size: .68rem; }
.acct-name { display: grid; line-height: 1.15; max-width: 150px; }
.acct-name b { font-size: .78rem; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-name small { font-size: .66rem; color: var(--muted); }
.acct-btn .chev { color: var(--muted); font-size: .7rem; transition: transform .2s; }
.acct-btn.on .chev { transform: rotate(180deg); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(7,29,58,.18); padding: 8px; z-index: 80; animation: pop .18s ease-out; }
.acct-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: grid; gap: 3px; }
.acct-head b { color: var(--navy); font-size: .88rem; }
.acct-head small { color: var(--muted); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; }
.acct-head .badge { width: max-content; margin-top: 4px; }
.acct-menu a, .acct-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font-weight: 600; font-size: .84rem; text-align: left; }
.acct-menu a span, .acct-menu button span { width: 22px; text-align: center; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--soft); }
.acct-menu a.on { background: #eef6fd; color: var(--blue); }
.acct-menu .salir { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; color: var(--danger); }

/* Retoques visuales generales */
.hero { background: radial-gradient(900px 500px at 82% 30%, rgba(8,120,217,.28), transparent 60%), radial-gradient(500px 400px at 100% 100%, rgba(23,185,207,.14), transparent 60%), var(--grad-dark); }
.hero h1, .section-heading h2, .sec-head h2, .big-title { text-wrap: balance; }
.hero-dashboard { transition: transform .5s ease; }
.hero-visual:hover .hero-dashboard { transform: rotate(0deg) translateY(-6px); }
.btn.primary:active, .btn.lime:active { transform: translateY(0) scale(.98); }
.program-cover { transition: filter .3s; }
.program-card:hover .program-cover { filter: saturate(1.15) brightness(1.05); }
.teacher-card, .promo-card, .values-row article, .why-grid article { transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; }
.values-row article:hover, .promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.why-grid article:hover { background: #fbfdff; }
.kpi { transition: transform .2s, box-shadow .2s; }
.kpi:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(7,29,58,.07); }
.wa-float { transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

@media (max-width: 1180px) {
  .web-links a { padding: 9px 8px; font-size: .8rem; }
}
@media (max-width: 1100px) {
  .site-nav .menu-btn { display: block; order: 3; }
  .web-links { display: none; }
  .site-nav .top-actions { margin-left: auto; }
  .site-nav.open .web-links { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; left: 12px; right: 12px; top: 80px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 30px 70px rgba(7,29,58,.22); animation: pop .2s ease-out; }
  .site-nav.open .web-links a { padding: 13px 14px; font-size: .95rem; }
  .site-nav.open .web-links a.on::after { display: none; }
  .site-nav.open .web-links-cta { display: grid; gap: 8px; padding: 10px 4px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
}
@media (max-width: 900px) {
  .topbar .menu-btn { display: block; }
  .top-actions { overflow: visible; }
}
@media (max-width: 620px) {
  .site-nav { height: 64px; }
  .site-nav-in { gap: 10px; padding: 0 14px; }
  .site-nav .brand-copy { display: none; }
  .site-nav.open .web-links { top: 70px; }
  .acct-name, .acct-btn .chev { display: none; }
  .acct-btn { padding: 3px; }
  .hero { padding: 40px 20px 48px; }
  .hero-visual { min-height: 0; padding: 18px 0 6px; }
  .orbit, .floating-card { display: none; }
  .trust-row { margin-top: 30px; }
  .ticker { justify-content: center; gap: 10px 18px; }
  .ticker i { display: none; }
}
@media (max-width: 480px) {
  .hide-xs { display: none !important; }
}

/* =====================================================================
   v2.2 — Landing de conversión (inscripcion.html)
   ===================================================================== */
.btn.wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.28); }
.btn.wa:hover { background: #1fbe5b; }
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.lp-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.lp-nav .brand { display: flex; align-items: center; gap: 10px; }
.lp-nav .brand-logo { width: 42px; height: 42px; border: 1px solid var(--line); }
.lp-nav .brand-copy strong { color: var(--navy); }
.lp-nav .brand-copy span { color: var(--muted); }
.lp-nav .btn { min-height: 40px; font-size: .8rem; }

.lp-hero { padding: 56px 0 72px; background: radial-gradient(800px 480px at 85% 20%, rgba(8,120,217,.3), transparent 60%), var(--grad-dark); }
.lp-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.lp-copy { padding-top: 0; }
.lp-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 18px 0 16px; text-wrap: balance; }
.lp-hero h1 em { color: var(--lime); font-style: normal; }
.lp-hero .lead { font-size: 1.06rem; max-width: 560px; }
.lp-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.lp-checks li { position: relative; padding-left: 34px; color: #dbe6f2; font-size: .96rem; }
.lp-checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; background: var(--lime); color: var(--lime-ink); font-weight: 900; font-size: .74rem; display: grid; place-items: center; }
.lp-facts { margin: 22px 0 18px; }
.lp-price { margin-bottom: 4px; }
.lp-count { margin-top: 24px; }

.lp-form { background: #fff; padding: 0; overflow: hidden; border-radius: 20px; box-shadow: 0 40px 100px rgba(0,0,0,.4); }
.lp-form #formBox, .lp-form .lp-thanks { padding: 26px 28px 24px; }
.lp-form-head h2 { font-size: 1.55rem; margin: 0 0 4px; }
.lp-form-head p { color: var(--muted); font-size: .88rem; margin: 0 0 14px; }
.lp-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lp-steps span { height: 5px; border-radius: 4px; background: #e6ecf3; transition: background .3s; }
.lp-steps span.on { background: var(--lime); }
.lp-step-txt { display: block; color: var(--muted); font-size: .74rem; font-weight: 700; margin: 8px 0 18px; }
.lp-step { display: grid; gap: 14px; animation: fade .25s; }
.lp-form input, .lp-form select { min-height: 48px; font-size: .95rem; }
.lp-form label { margin-bottom: 6px; }
.phone { display: flex; border: 1px solid var(--line); border-radius: 9px; background: #f7f9fb; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.phone:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,120,217,.12); background: #fff; }
.phone span { display: grid; place-items: center; padding: 0 12px; font-weight: 700; font-size: .86rem; color: var(--navy); border-right: 1px solid var(--line); white-space: nowrap; }
.phone input { border: 0; background: transparent; box-shadow: none !important; }
input.invalid, select.invalid, .phone:has(input.invalid) { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(209,67,67,.1) !important; }
.lp-cta { min-height: 54px; font-size: 1rem; }
.lp-back { justify-self: center; color: var(--muted); }
.lp-form .form-error { display: block; margin-top: 10px; text-align: center; }
.lp-form .form-error:empty { display: none; }
.lp-safe { margin: 14px 0 0; }
.lp-thanks { text-align: center; }
.lp-thanks p { color: var(--muted); }

.lp-trust { padding: 20px 0; background: #041427; }
.lp-trust .container { font-size: .88rem; }
.lp-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: x; }
.lp-steps-grid article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: relative; }
.lp-steps-grid b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--grad); color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.lp-steps-grid article:nth-child(2) b { background: var(--lime); color: var(--lime-ink); }
.lp-steps-grid h3 { font-size: 1.02rem; margin-bottom: 4px; }
.lp-steps-grid p { color: var(--muted); font-size: .88rem; margin: 0; }
.lp-final { padding: 80px 0; text-align: center; background: radial-gradient(600px 300px at 50% 0%, rgba(139,210,35,.16), transparent 70%), var(--grad-dark); }
.lp-final h2 { margin: 14px auto 10px; }
.lp-final p { margin-bottom: 24px; }
body.lp .section { padding-left: 0; padding-right: 0; }

@media (max-width: 900px) {
  .lp-grid, .lp-two { grid-template-columns: 1fr; }
  .lp-hero { padding: 30px 0 44px; }
  .lp-steps-grid { grid-template-columns: 1fr; }
  /* En celular: título → formulario → beneficios */
  .lp-grid { gap: 0; }
  .lp-copy { display: contents; }
  .lp-copy > .eyebrow { justify-self: start; }
  .lp-hero .lead { margin-bottom: 22px; }
  .lp-form { order: 1; }
  .lp-facts, .lp-price, .lp-checks, .lp-count { order: 2; }
  .lp-facts { margin-top: 28px; }
  .lp-checks { margin-top: 26px; }
}
@media (max-width: 620px) {
  .lp-nav .brand-copy { display: none; }
  .lp-nav .container { height: 60px; }
  .lp-hero h1 { font-size: 2.1rem; }
  .lp-checks li { font-size: .9rem; }
  .lp-form #formBox, .lp-form .lp-thanks { padding: 22px 18px; }
  body.lp .section { padding: 60px 0; }
}

/* =====================================================================
   v2.3 — Tipografía institucional, íconos, fotos, video del curso y certificado
   ===================================================================== */
/* Tipografía: Montserrat (títulos, como el logo) + Open Sans (lectura) */
h1, h2, h3, h4, .kicker, .tag, .page-kicker, .btn, .pill, .badge, .brand-copy, .nav-label, .web-links a, .filter, .tab, .admin-tabs a, .kpi .val, .price b, .lp-price b, .cd b { font-family: var(--font-h); }
h1, h2 { letter-spacing: -.025em; }
.hero h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.section-heading h2, .big-title, .sec-head h2, .about-copy h2, .contact-section h2, .platform-copy h2, .intl h2, .page-head h1, .lp-hero h1, .auth-side h1 { letter-spacing: -.03em; font-weight: 800; }
.kicker { letter-spacing: .14em; }
body { line-height: 1.65; }

/* Íconos SVG */
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.ic-box { width: 46px; height: 46px; border-radius: 13px; display: inline-grid; place-items: center; background: linear-gradient(135deg, #e6f2fd, #eaf8dc); color: var(--blue); flex: none; }
.ic-box .ic { width: 22px; height: 22px; }
.wa-float .ic { width: 28px; height: 28px; stroke-width: 1.8; }

/* Inicio: foto de organización + propósito */
.trust-row div { position: relative; padding-left: 16px; }
.trust-row .ic { color: var(--lime); width: 20px; height: 20px; margin-bottom: 4px; }
.hero-visual { min-height: 520px; display: block; padding: 20px 0 40px 30px; }
.hero-photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.4); border: 6px solid rgba(255,255,255,.1); aspect-ratio: 4 / 3.4; position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,29,58,.55)); }
.hero-purpose { position: absolute; left: 0; right: 40px; bottom: 6px; display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); color: var(--ink); z-index: 3; }
.hero-purpose small { display: block; color: var(--green); font-family: var(--font-h); font-weight: 800; font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-purpose b { font-family: var(--font-h); color: var(--navy); font-size: 1rem; line-height: 1.3; }
.hero-visual .floating-a { left: -6px; top: 34px; }
.hero-visual .floating-b { right: -10px; top: 46%; }
.floating-card > span .ic { width: 17px; height: 17px; }

/* Nosotros: logo completo */
.about-logo { align-self: center; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 25px 60px rgba(0,0,0,.3); max-width: 300px; }
.about-logo img { width: 100%; height: auto; border-radius: 12px; }
.about-principles article { grid-template-columns: 52px 1fr; }
.about-principles .ic-box { grid-row: span 2; width: 40px; height: 40px; background: rgba(139,210,35,.14); color: var(--lime); }
.about-principles .ic-box .ic { width: 19px; height: 19px; }

/* Misión, visión y valores */
.purpose-icon { position: absolute; top: 28px; right: 28px; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: var(--lime); }
.purpose-card.vision .purpose-icon { color: #fff; }
.purpose-icon .ic { width: 28px; height: 28px; }
.values-row article { align-items: flex-start; }
.values-row .ic-box { width: 42px; height: 42px; }

/* Plataforma: profesional capacitándose */
.platform-photo { position: relative; padding: 10px 10px 30px 30px; }
.platform-photo figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; border: 6px solid rgba(255,255,255,.12); box-shadow: 0 35px 80px rgba(0,0,0,.35); }
.platform-photo img { width: 100%; height: 100%; object-fit: cover; }
.platform-photo .floating-card { animation: flt 6s ease-in-out infinite; }
.platform-photo .live { left: 0; bottom: 4px; }
.platform-photo .live > span { background: #ffe9e9; color: #d14343; }
.platform-photo .progress { right: -6px; top: 28px; animation-delay: -3s; }
.platform-photo .progress i { display: inline-block; width: 46px; height: 5px; border-radius: 4px; vertical-align: middle; margin-right: 4px; background: linear-gradient(90deg, var(--lime) calc(var(--p) * 1%), #e5ebf2 0); }
.feature-list span { width: 26px; height: 26px; }
.feature-list span .ic { width: 14px; height: 14px; }

/* Certificación: modelo referencial */
.cert-model { position: relative; display: grid; grid-template-columns: 14% 1fr; aspect-ratio: 297 / 210; background: #fff; border-radius: 6px; box-shadow: var(--shadow); outline: 1px solid #dce5ef; overflow: hidden; container-type: inline-size; }
.cm-band { background: linear-gradient(170deg, #071d3a, #0b3a66 55%, #129d72 85%, #8bd223); }
.cm-body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 3.5cqw 5cqw 3cqw; }
.cm-body img { height: 11cqw; width: auto; }
.cm-body h3 { font-family: Georgia, serif; font-size: 6cqw; letter-spacing: .5cqw; margin: 1.5cqw 0 0; line-height: 1; }
.cm-rule { width: 12cqw; height: .5cqw; background: var(--lime); border-radius: 1cqw; margin: 1cqw 0 1.6cqw; }
.cm-body small { font-size: 1.8cqw; color: var(--muted); }
.cm-name { font-family: var(--font-h); font-size: 3.6cqw; color: var(--navy); margin: .6cqw 0 1cqw; }
.cm-body p { font-size: 1.8cqw; margin: 0; color: #33435a; line-height: 1.5; }
.cm-prog { font-family: var(--font-h); font-size: 2.8cqw; color: #2f7d16; margin: .6cqw 0; }
.cm-sign { display: flex; justify-content: space-around; width: 100%; margin-top: auto; }
.cm-sign span { border-top: 1px solid #33435a; padding-top: .6cqw; font-size: 1.6cqw; min-width: 26cqw; }
.cm-tag { position: absolute; right: 10px; top: 10px; background: var(--soft); color: var(--muted); font-size: .66rem; font-weight: 700; padding: 4px 9px; border-radius: 99px; font-family: var(--font-h); }
.icon-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.icon-list li { display: flex; gap: 14px; align-items: center; font-size: .92rem; color: var(--ink); }
.icon-list .ic-box { width: 40px; height: 40px; }
.verify .btn .ic { width: 16px; height: 16px; }

/* ¿Por qué elegirnos?, alcance y beneficios */
.why-grid .ic-box { margin-bottom: 4px; }
.why-grid article:hover .ic-box { background: var(--lime); color: var(--lime-ink); transition: background .25s, color .25s; }
.intl-points div { display: flex; gap: 12px; align-items: center; }
.intl-points .ic { color: var(--lime); width: 20px; height: 20px; }
.benefits span { display: inline-flex; gap: 8px; align-items: center; }
.benefits .ic { color: var(--blue); }
.contact-list i .ic { width: 17px; height: 17px; color: var(--lime); }

/* Programas: video del curso */
.video-btn { display: inline-flex; align-items: center; gap: 9px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #cfe3f7; background: #eef6fd; color: var(--blue); font-family: var(--font-h); font-weight: 700; font-size: .8rem; cursor: pointer; text-decoration: none; transition: background .2s; }
.video-btn:hover { background: #e1effc; }
.video-btn .ic { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--blue); color: #fff; fill: #fff; stroke: none; }
.video-btn.off { background: var(--soft); border-color: var(--line); color: var(--muted); cursor: default; }
.video-btn.off .ic { background: #dbe3ec; color: #8090a3; fill: none; stroke: currentColor; stroke-width: 2.4; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; margin: 6px 0 18px; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info-block { margin: 16px 0; padding: 16px 18px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); }
.info-block h4 { display: flex; gap: 8px; align-items: center; font-size: .9rem; margin: 0 0 8px; color: var(--navy); }
.info-block h4 .ic { color: var(--blue); }
.info-block p { margin: 0; color: #3d4b60; font-size: .9rem; }
.tematica { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 6px; counter-reset: t; }
.tematica li { position: relative; padding-left: 30px; font-size: .88rem; color: #3d4b60; }
.tematica li::before { counter-increment: t; content: counter(t); position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 6px; background: var(--navy); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; font-family: var(--font-h); }
.info-meta { grid-template-columns: repeat(3, 1fr) !important; margin: 18px 0; }
.info-meta .ic { color: var(--blue); width: 14px; height: 14px; margin-right: 5px; vertical-align: -.15em; }

/* Ingreso */
.auth-logo { display: inline-block; background: #fff; border-radius: 18px; padding: 10px; width: 170px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.auth-logo img { width: 100%; height: auto; border-radius: 10px; }
.auth-slogan { color: var(--lime) !important; font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; }

@media (max-width: 900px) {
  .hero-visual { padding: 10px 0 30px; min-height: 0; }
  .about-logo { max-width: 240px; }
  .platform-photo { padding: 0 0 26px; }
  .info-meta { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 620px) {
  .hero-visual .floating-card, .platform-photo .floating-card { display: none; }
  .hero-purpose { position: relative; right: auto; margin-top: -40px; margin-inline: 12px; }
  .purpose-icon { width: 46px; height: 46px; top: 22px; right: 22px; }
  .about-principles article { grid-template-columns: 46px 1fr; }
}

/* ===================== v2.4 · Flyer publicitario de entrada ===================== */
.flyer-bg { position: fixed; inset: 0; z-index: 250; background: rgba(4,17,35,.78); display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 16px; animation: fade .25s; backdrop-filter: blur(6px); }
.flyer-bg.out { opacity: 0; transition: opacity .2s; }
.flyer { position: relative; width: min(560px, 100%); flex: none; margin: auto; animation: pop .3s; }
.flyer-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.flyer-slide { flex: 0 0 100%; min-width: 0; color: #fff; display: flex; flex-direction: column; background: radial-gradient(circle at 85% 18%, rgba(139,210,35,.45), transparent 30%), linear-gradient(140deg, #071d3a, #0878d9); }
.flyer-slide.especializacion { background: radial-gradient(circle at 85% 18%, rgba(23,185,207,.5), transparent 30%), linear-gradient(140deg, #0d2350, #1a4ca7); }
.flyer-slide.curso { background: radial-gradient(circle at 85% 18%, rgba(139,210,35,.55), transparent 30%), linear-gradient(140deg, #0b4842, #119d72); }
.flyer-viewport { overflow: hidden; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.flyer-top { background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; }
.flyer-top img { height: 64px; width: auto; }
.flyer-top span { background: var(--lime); color: var(--lime-ink); font: 800 .78rem var(--font-h); text-transform: uppercase; letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; animation: pulse 2s infinite; }
.flyer-main { padding: 22px 26px 26px; display: grid; gap: 14px; position: relative; }
.flyer-main::after { content: ''; position: absolute; width: 180px; height: 180px; border: 34px solid rgba(255,255,255,.07); border-radius: 50%; right: -60px; bottom: -70px; pointer-events: none; }
.flyer-main .pill { justify-self: start; }
.flyer-main h3 { color: #fff; font: 800 clamp(1.35rem, 4.4vw, 1.9rem)/1.15 var(--font-h); margin: 0; text-wrap: balance; }
.flyer-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.flyer-chips li { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 8px 10px; }
.flyer-chips .ic { width: 18px; height: 18px; flex: none; stroke: var(--lime); }
.flyer-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.flyer-price small { width: 100%; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.flyer-price b { font: 800 2.2rem/1 var(--font-h); color: var(--lime); }
.flyer-price s { opacity: .7; }
.flyer-cta { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.flyer-cta .btn { flex: 1 1 auto; }
.flyer-cta .btn .ic { width: 18px; height: 18px; margin-right: 6px; }
.flyer-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font: 700 2rem/1 var(--font-h); display: grid; place-items: center; padding-bottom: 4px; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .15s, background .15s; }
.flyer-nav:hover { background: var(--lime); transform: translateY(-50%) scale(1.08); }
.flyer-nav.prev { left: -64px; }
.flyer-nav.next { right: -64px; }
.flyer-close { position: absolute; top: -14px; right: -14px; z-index: 4; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-weight: 800; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.flyer-close:hover { background: var(--lime); }
.flyer-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.flyer-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .2s, background .2s; }
.flyer-dots button.on { width: 26px; background: var(--lime); }
@media (max-width: 720px) {
  .flyer-nav { width: 40px; height: 40px; font-size: 1.6rem; top: auto; bottom: -58px; transform: none; }
  .flyer-nav:hover { transform: scale(1.06); }
  .flyer-nav.prev { left: 0; }
  .flyer-nav.next { right: 0; }
  .flyer-dots { margin: 18px 52px 0; min-height: 40px; align-content: center; }
  .flyer-close { right: 6px; top: 6px; }
  .flyer-top img { height: 48px; }
  .flyer-main { padding: 18px; }
  .flyer-chips { grid-template-columns: 1fr; }
}

/* ===================== v2.5 · Panel superior, buscador, próximos, eventos y repositorio ===================== */
/* Panel destacado tipo flyer */
.top-banner { position: relative; padding: 18px var(--pad) 26px; background: linear-gradient(180deg, #eef4fb, #fff); }
.tb-viewport { overflow: hidden; border-radius: 20px; box-shadow: 0 18px 50px rgba(7,29,58,.22); }
.tb-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.tb-slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; padding: 26px 76px; min-height: 190px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 88% 20%, rgba(139,210,35,.45), transparent 28%), linear-gradient(120deg, #071d3a, #0878d9); }
.tb-slide.especializacion { background: radial-gradient(circle at 88% 20%, rgba(23,185,207,.5), transparent 28%), linear-gradient(120deg, #0d2350, #1a4ca7); }
.tb-slide.curso { background: radial-gradient(circle at 88% 20%, rgba(139,210,35,.55), transparent 28%), linear-gradient(120deg, #0b4842, #119d72); }
.tb-slide.evento { background: radial-gradient(circle at 88% 20%, rgba(255,196,0,.4), transparent 28%), linear-gradient(120deg, #3a0f5c, #7b2cbf); }
.tb-slide::after { content: ""; position: absolute; width: 220px; height: 220px; border: 40px solid rgba(255,255,255,.07); border-radius: 50%; left: 42%; bottom: -120px; pointer-events: none; }
.tb-copy { display: grid; gap: 10px; position: relative; z-index: 1; }
.tb-copy .pill { justify-self: start; }
.tb-copy h3 { color: #fff; margin: 0; font: 800 clamp(1.25rem, 2.6vw, 1.9rem)/1.15 var(--font-h); text-wrap: balance; }
.tb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tb-chips li { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px; }
.tb-chips .ic { width: 16px; height: 16px; stroke: var(--lime); }
.tb-side { display: grid; gap: 8px; justify-items: end; text-align: right; position: relative; z-index: 1; }
.tb-side small { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.tb-side .price b, .tb-free { font: 800 2rem/1 var(--font-h); color: var(--lime); }
.tb-side .price s { color: rgba(255,255,255,.7); margin-left: 6px; }
.tb-cta { display: flex; gap: 8px; }
.tb-nav { position: absolute; top: calc(50% - 4px); transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font: 700 1.8rem/1 var(--font-h); display: grid; place-items: center; padding-bottom: 4px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: background .15s, transform .15s; }
.tb-nav:hover { background: var(--lime); transform: translateY(-50%) scale(1.08); }
.tb-nav.prev { left: calc(var(--pad) + 14px); }
.tb-nav.next { right: calc(var(--pad) + 14px); }
.tb-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.tb-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: #c3cfdd; cursor: pointer; transition: width .2s, background .2s; }
.tb-dots button.on { width: 24px; background: var(--blue); }

/* Buscador y filtros compactos */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.filter-bar .filter-row { margin: 0; }
.filter-bar .filter { padding: 7px 12px; font-size: .7rem; }
.prog-search { flex: 1 1 280px; max-width: 420px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; transition: border-color .15s, box-shadow .15s; }
.prog-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8,120,217,.12); }
.prog-search .ic { width: 18px; height: 18px; stroke: var(--muted); flex: none; }
.prog-search input { border: 0; outline: 0; background: transparent; padding: 11px 0; width: 100%; font: inherit; font-size: .86rem; box-shadow: none; min-height: 0; }

/* Tarjetas de programa compactas */
.program-grid:has(.compact) { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.program-card.compact .program-cover { min-height: 104px; padding: 14px; gap: 10px; }
.program-card.compact .program-cover h3 { font-size: .95rem; }
.program-card.compact .pill { font-size: .6rem; }
.program-card.compact .program-body { padding: 13px 14px 14px; }
.program-card.compact .program-body p { font-size: .78rem; line-height: 1.5; margin-bottom: 10px; }
.program-card.compact .program-footer { padding-top: 10px; }
.program-card.compact .price b { font-size: 1.2rem; }
.program-card.compact .video-btn { padding: 6px 10px; font-size: .7rem; }
.program-card.compact .program-actions { margin-top: 10px; gap: 6px; }
.program-card.compact .program-actions .btn { padding: 0 8px; font-size: .74rem; }
.program-facts { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .74rem; font-weight: 700; color: var(--navy); padding: 9px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.program-facts span { display: inline-flex; align-items: center; gap: 5px; }
.program-facts .ic { width: 15px; height: 15px; stroke: var(--blue); }

/* Próximos inicios */
.prox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prox-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: .22s ease; }
.prox-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prox-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prox-body h4 { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.prox-body h4 .ic { width: 16px; height: 16px; }
.prox-body > p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.prox-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* Eventos */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; transition: .22s ease; }
.event-card:hover { box-shadow: var(--shadow); }
.event-img { width: calc(100% + 36px); margin: -18px -18px 0; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px 14px 0 0; }
.event-head { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
.event-head h3 { margin: 6px 0 0; font-size: 1rem; line-height: 1.3; }
.event-date { background: var(--grad); color: #fff; border-radius: 12px; text-align: center; padding: 8px 4px; display: grid; }
.event-date b { font: 800 1.6rem/1 var(--font-h); }
.event-date span { font-size: .62rem; font-weight: 800; letter-spacing: .06em; }
.event-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .8rem; color: var(--navy); }
.event-meta li { display: flex; align-items: center; gap: 7px; }
.event-meta .ic { width: 16px; height: 16px; stroke: var(--blue); }
.event-card > p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.event-foot { margin-top: auto; display: flex; gap: 8px; }
.event-foot .btn .ic { width: 16px; height: 16px; margin-right: 4px; }

/* Repositorio */
.repo-list { display: grid; gap: 12px; }
.repo-item { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.repo-item h3 { margin: 6px 0 4px; font-size: 1rem; line-height: 1.35; }
.repo-item p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.repo-item .repo-autor { color: var(--navy); font-weight: 600; margin-bottom: 4px; }
.repo-tags { display: flex; align-items: center; gap: 8px; }
.repo-tags small { color: var(--muted); font-weight: 700; }
.repo-item .btn .ic { width: 16px; height: 16px; margin-right: 4px; }

@media (max-width: 1100px) {
  .program-grid:has(.compact) { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .program-grid:has(.compact), .prox-grid, .event-grid { grid-template-columns: repeat(2, 1fr); }
  .tb-slide { grid-template-columns: 1fr; padding: 22px 64px 24px; gap: 14px; }
  .tb-side { justify-items: start; text-align: left; }
}
@media (max-width: 720px) {
  .program-grid:has(.compact), .prox-grid, .event-grid { grid-template-columns: 1fr; }
  .top-banner { padding: 12px 12px 18px; }
  .tb-slide { padding: 20px 18px 22px; }
  .tb-nav { width: 34px; height: 34px; font-size: 1.4rem; top: auto; bottom: 10px; transform: none; }
  .tb-nav:hover { transform: scale(1.06); }
  .tb-nav.prev { left: 12px; }
  .tb-nav.next { right: 12px; }
  .tb-dots { margin: 12px 48px 0; min-height: 34px; align-items: center; flex-wrap: wrap; }
  .tb-cta { flex-wrap: wrap; }
  .prog-search { max-width: none; }
  .repo-item { grid-template-columns: 1fr; }
  .repo-item .ic-box { display: none; }
}

/* Menú web con más secciones */
.web-links a { white-space: nowrap; }
.site-nav-in { gap: 14px; }
@media (max-width: 1440px) {
  .web-links a { padding: 9px 8px; font-size: .78rem; }
  [data-layout="web"] .site-nav .top-actions .hide-sm { display: none; }
}
@media (max-width: 1280px) {
  [data-layout="web"] .site-nav .brand-copy { display: none; }
}
@media (max-width: 1180px) {
  .web-links a { padding: 8px 6px; font-size: .74rem; }
}
.program-card.compact .price, .program-card.compact .price b { white-space: nowrap; }
.program-card.compact .program-footer { flex-wrap: wrap; }
.program-card.compact .video-btn { white-space: nowrap; }
.prox-foot .video-btn { white-space: nowrap; }

/* ===================== v2.6 · Catálogo paginado, reels, eventos expandibles, páginas propias ===================== */
/* Paginación del catálogo */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 24px; }
.pager:empty { display: none; }
.pg { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 700 .78rem var(--font-h); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.pg:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.pg.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pg:disabled { opacity: .4; cursor: default; }
.pager small { width: 100%; text-align: center; color: var(--muted); font-size: .76rem; margin-top: 4px; }

/* Carriles horizontales con flechas */
.rail-wrap { position: relative; }
.rail-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font: 700 1.8rem/1 var(--font-h); display: grid; place-items: center; padding-bottom: 4px; cursor: pointer; box-shadow: 0 10px 28px rgba(7,29,58,.22); transition: background .15s, transform .15s; }
.rail-nav:hover { background: var(--lime); transform: translateY(-50%) scale(1.08); }
.rail-nav.prev { left: -18px; }
.rail-nav.next { right: -18px; }
.reel-rail, .ev-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 6px 2px 14px; }
.reel-rail::-webkit-scrollbar, .ev-rail::-webkit-scrollbar { display: none; }
.reel-rail > .empty, .ev-rail > .empty { width: 100%; }

/* Próximos inicios: tarjetas verticales tipo reel */
.reel { --poster: none; flex: 0 0 250px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; position: relative; color: #fff; scroll-snap-align: start; box-shadow: 0 14px 34px rgba(7,29,58,.18);
  background: linear-gradient(180deg, rgba(4,17,35,.05) 30%, rgba(4,17,35,.92) 78%), var(--poster) center / cover, radial-gradient(circle at 70% 18%, rgba(139,210,35,.45), transparent 32%), linear-gradient(160deg, #0878d9, #071d3a); }
.reel.especializacion { background: linear-gradient(180deg, rgba(4,17,35,.05) 30%, rgba(4,17,35,.92) 78%), var(--poster) center / cover, radial-gradient(circle at 70% 18%, rgba(23,185,207,.5), transparent 32%), linear-gradient(160deg, #1a4ca7, #0d2350); }
.reel.curso { background: linear-gradient(180deg, rgba(4,17,35,.05) 30%, rgba(4,17,35,.92) 78%), var(--poster) center / cover, radial-gradient(circle at 70% 18%, rgba(139,210,35,.55), transparent 32%), linear-gradient(160deg, #119d72, #0b4842); }
.reel-media { position: absolute; inset: 0 0 46% 0; display: grid; place-items: center; }
.reel-play { width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s, background .2s; }
.reel-play:hover { transform: scale(1.1); background: var(--lime); }
.reel-play .ic { width: 26px; height: 26px; fill: currentColor; stroke: none; margin-left: 4px; }
.reel-soon { display: grid; justify-items: center; gap: 6px; opacity: .85; }
.reel-soon .ic { width: 42px; height: 42px; stroke: #fff; }
.reel-soon small { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.reel.playing .reel-media { inset: 0; z-index: 3; background: #000; }
.reel.playing .reel-media iframe { width: 100%; height: 100%; border: 0; }
.reel-top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.reel-top .pill { font-size: .6rem; }
.reel-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: grid; gap: 8px; z-index: 2; }
.reel-info h3 { color: #fff; margin: 0; font: 800 1.02rem/1.2 var(--font-h); }
.reel-info p { margin: 0; font-size: .74rem; line-height: 1.45; color: rgba(255,255,255,.86); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.reel-info p b { color: var(--lime); }
.reel-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.reel-facts span { font-size: .66rem; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 3px 9px; }
.reel-cta { display: flex; gap: 6px; }
.reel-cta .btn { flex: 1; padding: 0 8px; font-size: .72rem; }

/* Eventos: tarjetas que se expanden al pasar el mouse */
.ev-card { flex: 0 0 300px; height: 400px; border-radius: 18px; overflow: hidden; display: flex; background: #0c2a3a; color: #fff; scroll-snap-align: start; box-shadow: 0 14px 34px rgba(7,29,58,.18); transition: flex-basis .45s cubic-bezier(.4,0,.2,1); outline: none; }
.ev-info { flex: 0 0 0; min-width: 0; opacity: 0; overflow: hidden; padding: 0; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(160deg, #123a4a, #0b2230); transition: opacity .25s, flex-basis .45s cubic-bezier(.4,0,.2,1), padding .45s; }
.ev-media { flex: 1 0 300px; position: relative; background: radial-gradient(circle at 70% 25%, rgba(139,210,35,.45), transparent 35%), linear-gradient(150deg, #0878d9, #071d3a) center / cover no-repeat; display: grid; place-items: center; }
.ev-media[style] { background-size: cover; background-position: center; }
.ev-media.webinar { background-color: #0878d9; }
.ev-media.conferencia { background: radial-gradient(circle at 70% 25%, rgba(255,196,0,.4), transparent 35%), linear-gradient(150deg, #7b2cbf, #3a0f5c); }
.ev-media.taller { background: radial-gradient(circle at 70% 25%, rgba(139,210,35,.55), transparent 35%), linear-gradient(150deg, #119d72, #0b4842); }
.ev-ico .ic { width: 90px; height: 90px; stroke: rgba(255,255,255,.35); stroke-width: 1.2; }
.ev-mini { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; display: grid; gap: 6px; background: linear-gradient(180deg, transparent, rgba(4,17,35,.9)); transition: opacity .25s; }
.ev-mini .ev-tag { justify-self: start; }
.ev-mini b { font: 800 1.15rem/1.2 var(--font-h); }
.ev-mini small { opacity: .85; font-size: .78rem; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-tag { display: inline-block; background: #6ef3c5; color: #062b24; font: 700 .72rem var(--font-h); padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.ev-tag.line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.ev-info h3 { color: #fff; margin: 0; font: 800 1.5rem/1.25 var(--font-h); }
.ev-sub { opacity: .75; font-size: .78rem; margin-top: -6px; }
.ev-desc { margin: 0; font-size: .82rem; line-height: 1.55; color: rgba(255,255,255,.8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev-when { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.ev-cal { width: 50px; border: 1.5px solid #fff; border-radius: 10px; text-align: center; padding: 4px 0; display: grid; flex: none; }
.ev-cal small { font-size: .62rem; font-weight: 800; letter-spacing: .06em; }
.ev-cal b { font: 800 1.35rem/1 var(--font-h); }
.ev-when > div:last-child { display: grid; gap: 2px; font-size: .82rem; }
.ev-when > div:last-child b { color: #6ef3c5; }
.ev-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.ev-btn { background: #eef2f5; color: #0b2230; border-radius: 999px; min-height: 44px; padding: 0 22px; }
.ev-btn:hover { background: #fff; }
.ev-btn .ic { width: 16px; height: 16px; margin-right: 6px; }
.ev-more { color: #6ef3c5; font-weight: 800; font-size: .82rem; }
/* expandida: al pasar el mouse, con foco, o la primera por defecto */
.ev-card:hover, .ev-card:focus-within, .ev-card.open { flex-basis: 720px; }
.ev-rail:hover .ev-card.open:not(:hover):not(:focus-within) { flex-basis: 300px; }
.ev-card:hover .ev-info, .ev-card:focus-within .ev-info, .ev-card.open .ev-info { flex-basis: 420px; opacity: 1; padding: 28px; }
.ev-rail:hover .ev-card.open:not(:hover):not(:focus-within) .ev-info { flex-basis: 0; opacity: 0; padding: 0; }
.ev-card:hover .ev-mini, .ev-card:focus-within .ev-mini, .ev-card.open .ev-mini { opacity: 0; }
.ev-rail:hover .ev-card.open:not(:hover):not(:focus-within) .ev-mini { opacity: 1; }
.ev-card.pasado .ev-media { filter: grayscale(.35); }
.ev-all { flex: 0 0 220px; height: 400px; border-radius: 18px; border: 2px dashed #b9c7d8; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: var(--navy); padding: 20px; transition: border-color .2s, background .2s; }
.ev-all:hover { border-color: var(--blue); background: #f2f7fd; }
.ev-all .ic { width: 40px; height: 40px; stroke: var(--blue); }
.ev-all span { color: var(--blue); font-weight: 700; font-size: .84rem; }
.ev-empty { width: 100%; display: flex; align-items: center; gap: 16px; background: #fff; border: 1px dashed #b9c7d8; border-radius: 16px; padding: 24px; }
.ev-empty > div { display: grid; gap: 4px; }
.ev-empty span { color: var(--muted); font-size: .88rem; }

/* Página de eventos: tarjetas completas en cuadrícula */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.ev-grid > .ev-empty { grid-column: 1 / -1; }
.ev-card.full { flex-direction: column-reverse; height: auto; }
.ev-card.full .ev-media { flex: 0 0 200px; }
.ev-card.full .ev-info { flex: 1 1 auto; opacity: 1; padding: 22px; }
.ev-card.full .ev-mini { display: none; }
.ev-card.full .ev-info h3 { font-size: 1.25rem; }
.ev-card.full .ev-desc { -webkit-line-clamp: unset; }
.ev-card.destacado { box-shadow: 0 0 0 4px var(--lime), 0 18px 40px rgba(7,29,58,.25); }

/* Cabecera de páginas propias */
.page-hero { color: #fff; background: radial-gradient(circle at 85% 20%, rgba(139,210,35,.25), transparent 30%), var(--grad-dark); padding: 64px var(--pad) 56px; display: grid; gap: 14px; }
.page-hero h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; }
.page-hero h1 em { color: var(--lime); font-style: normal; }
.page-hero p { margin: 0; max-width: 640px; color: rgba(255,255,255,.8); line-height: 1.7; }
.page-hero-count { justify-self: start; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; font-size: .78rem; font-weight: 700; }
.page-hero-count:empty { display: none; }

@media (max-width: 720px) {
  .rail-nav { display: none; }
  .reel { flex-basis: 66vw; }
  .ev-card, .ev-card:hover, .ev-card:focus-within, .ev-card.open { flex: 0 0 86vw; flex-direction: column-reverse; height: auto; }
  .ev-card .ev-media { flex: 0 0 170px; }
  .ev-card .ev-info, .ev-rail:hover .ev-card.open:not(:hover):not(:focus-within) .ev-info { flex: 1 1 auto; opacity: 1; padding: 20px; }
  .ev-card .ev-mini { display: none; }
  .ev-info h3 { font-size: 1.2rem; }
  .ev-all { flex-basis: 60vw; height: auto; }
  .ev-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1100px) { .rail-nav.prev { left: -58px; } .rail-nav.next { right: -58px; } }

/* ===== v2.7 · Páginas de programa (SEO) ===== */
.program-cover h3 a { color: inherit; text-decoration: none; }
.program-cover h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs { font-size: .8rem; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.prog-hero h1 { max-width: 22ch; }
.prog-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.prog-detail h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin: 32px 0 10px; color: var(--navy); }
.prog-detail h2 small { font-size: .8rem; font-weight: 600; }
.prog-detail p { line-height: 1.75; color: var(--ink); max-width: 68ch; }
.prog-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: -32px; position: relative; }
.prog-facts > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.prog-facts small { color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.prog-facts b { font-family: var(--font-h); color: var(--navy); font-size: 1.15rem; }
.prog-facts s { color: var(--muted); font-weight: 400; font-size: .85rem; }
.prog-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.prog-card-side { position: sticky; top: 90px; margin-top: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; box-shadow: var(--shadow); }
.prog-card-side b { font-family: var(--font-h); color: var(--navy); line-height: 1.3; }
.prog-card-side ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.9; font-size: .9rem; }
.prog-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.prog-links a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--navy); font-weight: 700; text-decoration: none; line-height: 1.35; transition: border-color .2s, transform .2s; }
.prog-links a:hover { border-color: var(--blue); transform: translateY(-2px); }
.prog-links small { color: var(--green); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px) { .prog-cols { grid-template-columns: 1fr; gap: 0; } .prog-card-side { position: static; } }
