/* EduClick Pro — sistema de diseno 2026 */
:root {
  --ink: #0b1f3a;
  --ink-2: #33455f;
  --muted: #64748b;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #e4e2dc;
  --blue: #1d4ed8;
  --blue-d: #1e40af;
  --blue-l: #e8eeff;
  --green: #00875a;
  --green-d: #006c47;
  --green-l: #e3f6ee;
  --gold: #b7791f;
  --accent: var(--blue);
  --accent-l: var(--blue-l);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --sh-1: 0 1px 2px rgba(11, 31, 58, .05), 0 6px 20px -8px rgba(11, 31, 58, .1);
  --sh-2: 0 2px 4px rgba(11, 31, 58, .06), 0 18px 40px -14px rgba(11, 31, 58, .22);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
[data-accent='slate'] { --accent: #334155; --accent-l: #e9edf2; }
[data-accent='rose'] { --accent: #be185d; --accent-l: #fce9f1; }
[data-accent='amber'] { --accent: #b45309; --accent-l: #fdf0dc; }
[data-accent='emerald'] { --accent: #047857; --accent-l: #e1f5ec; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 200; }
.skip:focus { left: 0; }
.ico { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #c9d4e5; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.4rem; border: 1.5px solid transparent; border-radius: var(--r-sm); font-weight: 700; font-size: .98rem; line-height: 1.2; cursor: pointer; text-align: center; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--cta { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 135, 90, .7); }
.btn--cta:hover { background: var(--green-d); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); }
.btn--ghost { border-color: var(--line); background: var(--white); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .1); }
.btn--block { width: 100%; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Promocion de una ficha (campo opcional promo del curso) y cabecera */
.offer { display: inline-flex; align-items: center; gap: .5rem; margin: 1.1rem 0 0; padding: .55rem .9rem; border-radius: var(--r-sm); background: var(--green-l); color: #064e3b; font-weight: 600; font-size: .93rem; }
.header { position: sticky; top: 0; z-index: 100; background: rgba(251, 250, 247, .9); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-stuck { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(11, 31, 58, .4); }
.header__in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { --logo-a: #3b82f6; --logo-b: #2563eb; --logo-c: #1e40af; --logo-pro: #0d9488; --logo-word: #2563eb; display: inline-flex; align-items: center; gap: .55rem; flex: none; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 44px; height: 32px; flex: none; overflow: visible; }
.logo__left { fill: var(--logo-a); }
.logo__right { fill: var(--logo-b); }
.logo__body { fill: var(--logo-c); }
.logo__left, .logo__right, .logo__body { stroke-linejoin: round; stroke-width: 1.6; }
.logo__left { stroke: var(--logo-a); }
.logo__right { stroke: var(--logo-b); }
.logo__body { stroke: var(--logo-c); }
.logo__tassel { transform-origin: 46px 13.5px; transition: transform .45s var(--ease); }
.logo__tassel path { fill: none; stroke: var(--logo-pro); stroke-width: 2.4; stroke-linecap: round; }
.logo__tassel circle { fill: var(--logo-pro); }
.logo:hover .logo__tassel { transform: rotate(-16deg); }
.logo__word { font-family: 'Poppins', var(--sans); font-weight: 800; font-size: 1.4rem; line-height: 1; letter-spacing: -.015em; color: var(--logo-word); }
.logo__word span { color: var(--logo-pro); }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav > a:not(.btn), .nav__btn { padding: .55rem .8rem; border-radius: var(--r-sm); color: var(--ink); font-weight: 600; font-size: .94rem; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; }
.nav > a:not(.btn):hover, .nav__btn:hover { background: #efede7; text-decoration: none; }
.nav__drop { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 8px); left: -1rem; width: 340px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: flex; gap: .75rem; align-items: center; padding: .65rem .75rem; border-radius: var(--r-sm); color: var(--ink); }
.nav__menu a:hover { background: var(--paper); text-decoration: none; }
.nav__menu small { display: block; color: var(--muted); font-weight: 400; }
.nav__menu .chip-ico { width: 36px; height: 36px; }
.header .btn { min-height: 42px; padding: .5rem 1rem; margin-left: .5rem; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); cursor: pointer; align-items: center; justify-content: center; }

.chip-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-l); color: var(--accent); display: grid; place-items: center; flex: none; }
.chip-ico .ico { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .45; mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, #000 20%, transparent 75%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero .lede { margin-top: 1.25rem; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; color: var(--ink); }
.badge .ico { color: var(--green); width: 1em; height: 1em; }
.badge--accent { background: var(--accent-l); border-color: transparent; color: var(--accent); }
.checks { display: grid; gap: .55rem; margin-top: 1.5rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks .ico { color: var(--green); margin-top: .15em; }
.hero__proof { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; }
.faces { display: flex; }
.faces img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); margin-left: -10px; }
.faces img:first-child { margin-left: 0; }
.hero__proof strong { color: var(--ink); display: block; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 1.75rem; }
.metric { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; }
.metric b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); line-height: 1.1; font-weight: 600; }
.metric span { font-size: .78rem; color: var(--muted); line-height: 1.3; display: block; margin-top: .25rem; }

/* Tarjeta de formulario */
.lead { position: relative; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: clamp(1.25rem, 2.4vw, 1.9rem); }
.lead::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--green), var(--blue)); }
.lead__title { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.lead__sub { font-size: .9rem; color: var(--muted); margin: .35rem 0 1.1rem; }
.steps { display: flex; gap: .4rem; margin-bottom: 1.1rem; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.steps i.on { background: var(--green); }
.step { display: none; }
.step.on { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.field { margin-bottom: .8rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .3rem; }
.field input, .field select { width: 100%; min-height: 46px; padding: .6rem .8rem; border: 1.5px solid #cdd3dc; border-radius: var(--r-sm); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 78, 216, .15); }
.field.bad input, .field.bad select { border-color: #c81e1e; }
.row2--tel { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.iti { display: block; width: 100%; --iti-border-color: #cdd3dc; --iti-hover-color: var(--paper); }
.iti__country-list { color: var(--ink); font-size: .93rem; }
.field .iti__search-input { min-height: 42px; padding-left: 32px; padding-right: 30px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.post-aside .row2, .post-aside .row2--tel { grid-template-columns: 1fr; gap: 0; }
.field .err { display: none; color: #c81e1e; font-size: .78rem; margin-top: .25rem; }
.field.bad .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .78rem; color: var(--muted); margin: .4rem 0 1rem; line-height: 1.45; }
.consent input { margin-top: .2rem; width: 18px; height: 18px; flex: none; accent-color: var(--green); }
.consent.bad { color: #c81e1e; }
.hp { position: absolute; left: -9999px; }
.lead__foot { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .78rem; color: var(--muted); margin-top: .8rem; text-align: center; }
.lead__back { background: none; border: 0; color: var(--muted); font-size: .85rem; cursor: pointer; padding: .5rem 0; margin-top: .4rem; width: 100%; }
.lead__msg { display: none; padding: .7rem .85rem; border-radius: var(--r-sm); font-size: .88rem; margin-top: .8rem; }
.lead__msg.err { display: block; background: #fdecec; color: #9b1c1c; }
/* Pagina de gracias */
.thanks { text-align: center; }
.thanks .tick { width: 76px; height: 76px; border-radius: 50%; background: var(--green-l); color: var(--green); display: grid; place-items: center; margin: 1rem auto 1.5rem; animation: tickIn .6s var(--ease); }
.thanks .tick .ico { width: 38px; height: 38px; stroke-width: 2.4; }
@keyframes tickIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.thanks h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.thanks .lede { margin-inline: auto; }
.thanks .how { text-align: left; max-width: 960px; margin: 3rem auto; }
.thanks__links { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin: 0; }
.livecount { display: none; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink); background: var(--green-l); border-radius: var(--r-sm); padding: .5rem .7rem; margin-bottom: 1rem; }
.livecount.on { display: flex; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0, 135, 90, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(0, 135, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 135, 90, 0); } }

/* Cifras */
.stats { background: var(--ink); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem 1.25rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 600; line-height: 1; color: #fff; }
.stat b small { font-size: .5em; font-family: var(--sans); font-weight: 600; color: #7ee2b8; }
.stat > span { display: block; margin-top: .6rem; font-size: .9rem; color: #a9b8cf; max-width: 22ch; }
.stats__src { font-size: .75rem; color: #7f90ab; padding: 0 0 1rem; text-align: right; }
.stats--light { background: none; color: inherit; }
.stats--light .stat { border-color: var(--line); padding: 1.25rem; }
.stats--light .stat b { color: var(--accent); }
.stats--light .stat > span { color: var(--muted); }

/* Tarjetas de curso */
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.course { display: grid; grid-template-columns: 42% 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.course:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.course__img { position: relative; overflow: hidden; min-height: 280px; background: var(--accent-l); }
.course__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.course:hover .course__img img { transform: scale(1.06); }
.course__tag { position: absolute; top: .9rem; left: .9rem; background: var(--white); color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; z-index: 1; }
.course__body { padding: 1.5rem; display: flex; flex-direction: column; }
.course__body h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.course__body h3 a { color: inherit; }
.course__body p { font-size: .92rem; margin: .6rem 0 1rem; }
.course__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .8rem 0; border-block: 1px solid var(--line); margin-bottom: 1rem; }
.course__nums b { display: block; color: var(--ink); font-size: 1.05rem; }
.course__nums span { font-size: .72rem; color: var(--muted); }
.course__cta { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.course__cta .btn { flex: 1; min-height: 44px; padding: .55rem .9rem; font-size: .9rem; }

/* Rejillas genericas */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-1); border-color: var(--accent); }
.card h3 { margin: 1rem 0 .4rem; }
.card p { font-size: .93rem; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.prose p { max-width: 68ch; }

/* Pasos */
.how { counter-reset: how; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.how li { counter-increment: how; position: relative; padding-top: 3.75rem; }
.how li::before { content: counter(how, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--green); line-height: 1; }
.how li::after { content: ''; position: absolute; top: 1.3rem; left: 4rem; right: -1rem; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.how li:last-child::after { display: none; }
.how p { font-size: .95rem; margin: .4rem 0 0; }

/* Acreditaciones y logos */
.accred { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.accred__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.accred__logo { height: 64px; display: flex; align-items: center; }
.accred__logo img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.accred__item p { font-size: .88rem; margin: 0; }
.accred__item strong { color: var(--ink); display: block; margin-bottom: .2rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: .5rem 0; }
.marquee__track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { width: 168px; height: 92px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; padding: .75rem; flex: none; }
.logo-tile img { max-height: 100%; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logos { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Opiniones */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1.25rem; scrollbar-width: thin; }
.quote { scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: flex; flex-direction: column; margin: 0; }
.quote blockquote { margin: 0 0 1.25rem; font-size: .98rem; color: var(--ink); flex: 1; }
.quote blockquote::before { content: '“'; display: block; font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--accent); margin-bottom: .6rem; }
.quote figcaption { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote b { display: block; color: var(--ink); font-size: .93rem; }
.quote small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.quote__kind { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--green-l); padding: .2rem .55rem; border-radius: 999px; margin-bottom: 1rem; }
.quote__kind--co { color: var(--blue); background: var(--blue-l); }
.quotes-nav { display: flex; gap: .5rem; justify-content: flex-end; margin-bottom: 1rem; }
.quotes-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s; }
.quotes-nav button:hover { background: var(--ink); color: #fff; }
.src { font-size: .78rem; color: var(--muted); margin-top: 1rem; }

/* Subnavegacion de ficha */
.subnav { position: sticky; top: 68px; z-index: 90; background: var(--white); border-block: 1px solid var(--line); }
.subnav__in { display: flex; align-items: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; height: 52px; }
.subnav a { white-space: nowrap; padding: .4rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.subnav a:hover { color: var(--ink); text-decoration: none; }
.subnav a.on { background: var(--accent-l); color: var(--accent); }
.subnav .btn { margin-left: auto; min-height: 36px; padding: .35rem .9rem; font-size: .85rem; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.crumbs { font-size: .82rem; color: var(--muted); padding: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* Ficha */
.facts { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .93rem; }
.facts caption { text-align: left; font-weight: 700; color: var(--ink); padding: 0 0 .75rem; }
.facts th, .facts td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 38%; color: var(--muted); font-weight: 600; background: var(--paper); }
.facts td { color: var(--ink); font-weight: 500; }
.acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); margin-bottom: .6rem; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc[open] { border-color: var(--accent); box-shadow: var(--sh-1); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-weight: 700; color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc__n { font-family: var(--serif); font-size: 1.1rem; color: var(--accent); width: 2rem; flex: none; }
.acc summary .ico { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease); }
.acc[open] summary .ico { transform: rotate(180deg); }
.acc__body { padding: 0 1.25rem 1.25rem 4.25rem; font-size: .93rem; }
.acc--faq .acc__body { padding-left: 1.25rem; }
.acc__body ul { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.5rem; }
.acc__body li { position: relative; padding-left: 1rem; }
.acc__body li::before { content: ''; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.acc__body h4 { font-size: .88rem; margin: 1rem 0 .5rem; color: var(--ink); }
.acc__body h4:first-child { margin-top: 0; }
.outlets { display: flex; flex-wrap: wrap; gap: .6rem; }
.outlets li { display: inline-flex; align-items: center; gap: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; font-weight: 600; color: var(--ink); font-size: .93rem; }
.outlets .ico { color: var(--accent); }
.salary { background: var(--accent-l); border-radius: var(--r); padding: 1.5rem; margin-top: 1.5rem; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.salary b { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); font-weight: 600; line-height: 1; }
.salary span { color: var(--ink); font-weight: 500; }
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo--round img { aspect-ratio: 1; }
.photo__note { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border-radius: var(--r); padding: .8rem 1rem; display: flex; gap: .75rem; align-items: center; font-size: .88rem; color: var(--ink); }
.photo__note b { display: block; }
.note { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 1.25rem 1.5rem; }
.note img { height: 44px; width: auto; flex: none; }
.note p { margin: 0; font-size: .93rem; }
.rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.rel li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.rel b { display: block; color: var(--ink); }
.rel span { font-size: .85rem; color: var(--muted); }
.legacy { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .75rem; }
.legacy a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.25rem; color: var(--ink); font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.legacy a:hover { text-decoration: none; border-color: var(--ink); transform: translateX(4px); }
.legacy small { display: block; color: var(--muted); font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }

/* Cierre y pie */
.final { background: var(--ink); color: #c9d4e5; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -180px; top: -260px; background: radial-gradient(circle, rgba(0, 135, 90, .35), transparent 65%); }
.final h2 { color: #fff; }
.final .checks li { color: #fff; }
.final .checks .ico { color: #7ee2b8; }
.final .eyebrow { color: #7ee2b8; }
.footer { background: #071528; color: #94a3b8; padding: 3.5rem 0 1.5rem; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h3 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: #cbd5e1; }
.footer li { margin-bottom: .5rem; }
.footer .logo { --logo-a: #93c5fd; --logo-b: #60a5fa; --logo-c: #3b82f6; --logo-pro: #2dd4bf; --logo-word: #fff; margin-bottom: 1rem; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .8rem; display: grid; gap: .6rem; }
.mcta { display: none; }

/* Blog y textos legales */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.posts--one { grid-template-columns: 1fr; }
.postcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.postcard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.postcard__img { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--blue-l); }
.postcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.postcard:hover .postcard__img img { transform: scale(1.05); }
.postcard__body { padding: 1.5rem; }
.postcard h2 { font-size: 1.45rem; }
.postcard h2 a { color: inherit; }
.postcard__body > p:not(.eyebrow):not(.post-meta) { font-size: .95rem; margin: .7rem 0 1rem; }
.post-meta { font-size: .88rem; color: var(--muted); margin: 0; }
.post-meta b { color: var(--ink); }
.post-title { max-width: 880px; margin-top: 1.5rem; }
.post-title h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.post-aside { position: sticky; top: 92px; }
.post-cover { margin: 0 0 2rem; }
.post-cover img { aspect-ratio: 16 / 9; }
.prose-post { font-size: 1.06rem; line-height: 1.75; max-width: 72ch; }
.prose-post h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 2.25rem 0 .8rem; }
.prose-post h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.prose-post h4 { font-size: 1rem; margin: 0 0 .5rem; }
.prose-post ul, .prose-post ol { margin: 0 0 1.2em; padding-left: 1.3rem; list-style: disc; }
.prose-post ol { list-style: decimal; }
.prose-post li { margin-bottom: .4rem; }
.prose-post strong { color: var(--ink); }
.prose-post .lede { font-size: 1.2rem; color: var(--ink); max-width: none; }
.prose-post blockquote { margin: 1.75rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--green); background: var(--white); border-radius: 0 var(--r) var(--r) 0; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.prose-post .callout { background: var(--blue-l); border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.prose-post .callout > :last-child { margin-bottom: 0; }
.post-cta { background: var(--ink); color: #c9d4e5; border-radius: var(--r-lg); padding: 2rem; margin-top: 2.5rem; max-width: 72ch; }
.post-cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.post-more { margin-top: 3rem; max-width: 72ch; }
.post-more > h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.legal { max-width: 900px; padding-bottom: 4rem; }
.legal .prose-post { max-width: none; }
.legal .facts { margin: 1rem 0 1.5rem; font-size: .88rem; line-height: 1.5; }
.legal .facts th { width: auto; }
.legal .facts code { font-size: .88em; background: var(--paper); padding: .1rem .35rem; border-radius: 4px; white-space: nowrap; }

/* Animaciones de entrada */
.js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-rv='left'] { transform: translateX(-30px); }
.js [data-rv='right'] { transform: translateX(30px); }
.js [data-rv='zoom'] { transform: scale(.94); }
.js [data-rv].in { opacity: 1; transform: none; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 1040px) {
  .hero__grid, .split, .post-grid, .posts { grid-template-columns: 1fr; }
  .post-aside { position: static; }
  .courses { grid-template-columns: 1fr; }
  .grid-4, .accred { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); display: none; max-height: calc(100vh - 68px); overflow: auto; margin: 0; }
  .nav.open { display: flex; }
  .nav > a:not(.btn), .nav__btn { padding: .9rem .5rem; width: 100%; justify-content: space-between; }
  .nav__menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem; display: none; }
  .nav__drop.is-open .nav__menu { display: block; }
  .header .nav .btn { margin: .75rem 0 0; }
  .burger { display: inline-flex; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 130px; }
  .metrics, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.5rem .75rem; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stats--light .stat { border-color: var(--line); }
  .course { grid-template-columns: 1fr; }
  .course__img { min-height: 200px; }
  .grid-4, .grid-3, .accred, .how, .footer__grid { grid-template-columns: 1fr; }
  .how li::after { display: none; }
  .acc__body { padding-left: 1.25rem; }
  .acc__body ul { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .subnav .btn { display: none; }
  .facts th { width: 44%; }
  .mcta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: var(--white); border-top: 1px solid var(--line); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); gap: .75rem; align-items: center; box-shadow: 0 -8px 24px -12px rgba(11, 31, 58, .3); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mcta.on { transform: none; }
  .mcta span { font-size: .8rem; line-height: 1.25; color: var(--ink); font-weight: 600; flex: 1; }
  .mcta .btn { min-height: 44px; padding: .5rem 1rem; }
  body { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rv] { opacity: 1; transform: none; }
}
@media print { .header, .subnav, .mcta, .lead { display: none; } }
