:root {
  --navy: #13253a;
  --navy-deep: #0b1827;
  --navy-soft: #253c56;
  --gold: #d3ad52;
  --gold-pale: #f1dfad;
  --paper: #f4f0e6;
  --paper-light: #faf8f2;
  --ink: #1c1b18;
  --muted: #6d685f;
  --line: rgba(28, 27, 24, .16);
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section-space { padding-block: clamp(76px, 10vw, 140px); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1000; background: var(--gold); color: var(--navy-deep); padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px) / 2)); color: white; border-bottom: 1px solid rgba(255,255,255,.18); }
.solid-header { position: relative; background: var(--navy-deep); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-family: var(--serif); font-size: 1.25rem; }
.wordmark-mark { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-pale); }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: .84rem; }
.main-nav a { text-decoration: none; opacity: .86; }
.main-nav a:hover { opacity: 1; color: var(--gold-pale); }
.nav-emphasis { padding: 9px 14px; border: 1px solid rgba(255,255,255,.45); }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; }
.back-link { color: white; text-decoration: none; font-size: .9rem; }

.hero { min-height: 92vh; position: relative; display: grid; align-items: end; color: white; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 58%; }
.hero-shade { background: linear-gradient(90deg, rgba(5,16,29,.88) 0%, rgba(5,16,29,.62) 48%, rgba(5,16,29,.2) 78%), linear-gradient(0deg, rgba(5,16,29,.72), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding-block: 150px 110px; }
.hero h1, .course-hero h1 { margin: 18px 0 24px; max-width: 850px; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 6.9rem); font-weight: 400; line-height: .98; letter-spacing: -.025em; }
.hero-copy { max-width: 620px; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.hero-caption { position: absolute; right: 24px; bottom: 26px; z-index: 3; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); writing-mode: vertical-rl; }
.eyebrow { margin: 0; color: #836b36; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: var(--gold-pale); }
.actions { display: flex; align-items: center; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .18s, background .18s, color .18s; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button-gold { background: var(--gold); color: var(--navy-deep); }
.button-ink { background: var(--navy); color: white; }
.button-outline-light { border-color: rgba(255,255,255,.38); color: white; }
.text-link { display: inline-flex; gap: 12px; margin-top: 24px; color: var(--navy); text-decoration: none; font-weight: 600; }
.text-link span { color: var(--gold); }
.light-link { margin-top: 0; color: white; }
.muted-link { color: var(--muted); font-weight: 400; }

.opening { display: grid; grid-template-columns: 90px minmax(0, .85fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.section-number { font-family: var(--serif); color: var(--gold); font-size: 1.4rem; border-top: 1px solid var(--gold); padding-top: 10px; }
.opening h2, .section-heading h2, .feature-copy h2, .course-copy h2, .book-copy h2, .section-heading h2, .closing h2, .quiz-gate h2, .quiz-heading h2, .diploma-form h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 4.5rem); line-height: 1.05; letter-spacing: -.02em; margin: 18px 0 0; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.4; }
.opening-copy > p:last-of-type { color: var(--muted); }

/* Portada */
.start-heading { display: grid; grid-template-columns: .72fr 1fr; gap: 22px 80px; align-items: end; margin-bottom: 58px; }
.start-heading .eyebrow { grid-column: 1 / -1; }
.start-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5.4vw, 5.4rem); font-weight: 400; line-height: 1; letter-spacing: -.025em; }
.start-heading .lead { margin: 0; }
.start-options { display: grid; grid-template-columns: 1fr 1fr 1.1fr; border: 1px solid var(--line); }
.start-options.two-options { grid-template-columns: .85fr 1.15fr; }
.start-card { min-height: 340px; padding: 34px; display: flex; flex-direction: column; color: inherit; text-decoration: none; border-right: 1px solid var(--line); transition: background .2s, color .2s; }
.start-card:last-child { border-right: 0; }
.start-card:not(.image-card):hover { background: var(--navy); color: white; }
.start-number { color: var(--gold); font-family: var(--serif); }
.start-card h3 { margin: auto 0 16px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 400; line-height: 1.08; }
.start-card p { color: var(--muted); }
.start-card:hover p { color: inherit; opacity: .72; }
.start-card strong { margin-top: 22px; font-size: .84rem; }
.image-card { position: relative; overflow: hidden; padding: 0; color: white; }
.image-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,16,29,.88), rgba(5,16,29,.05) 70%); }
.image-card:hover img { transform: scale(1.035); }
.image-card-copy { position: relative; z-index: 2; min-height: 340px; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; }
.image-card-copy h3 { margin: 10px 0 14px; }

.articles { background: #e9e2d4; }
.articles-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.articles-image { position: relative; }
.articles-image img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.articles-image p { position: absolute; left: 24px; bottom: 8px; padding: 8px 12px; background: rgba(11,24,39,.86); color: white; font-size: .76rem; }
.articles-copy h2 { margin: 18px 0 28px; font-family: var(--serif); font-size: clamp(2.6rem, 4.8vw, 4.8rem); font-weight: 400; line-height: 1.02; }
.topic-list { display: flex; gap: 9px; flex-wrap: wrap; margin: 28px 0 36px; }
.topic-list span { padding: 7px 12px; border: 1px solid rgba(28,27,24,.22); font-size: .76rem; }

.compact-actions { margin-top: 30px; }
.visual-break { display: grid; grid-template-columns: 1.45fr .85fr; background: var(--navy-deep); }
.visual-break figure { position: relative; min-height: 430px; margin: 0; overflow: hidden; }
.visual-break figure + figure { border-left: 4px solid var(--paper); }
.visual-break img { width: 100%; height: 100%; object-fit: cover; }
.visual-break figure:nth-child(2) img { object-position: center; }
.visual-break figcaption { position: absolute; left: 20px; bottom: 18px; padding: 7px 11px; background: rgba(11,24,39,.86); color: white; font-size: .75rem; }

.social-section { background: var(--paper-light); }
.social-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.social-cards { border-top: 1px solid var(--line); }
.social-cards a { display: grid; grid-template-columns: .65fr 1fr auto; gap: 25px; align-items: center; min-height: 135px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: padding .2s, color .2s; }
.social-cards a:hover { padding-inline: 12px; color: #7a6029; }
.network-name { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.7rem); }
.social-cards strong { font-weight: 500; }
.social-cards a > span:last-child { color: var(--muted); font-size: .82rem; }
.services-layout > .section-heading { margin-bottom: 0; }
.services-layout > .section-heading .button { margin-top: 24px; }
.hire-panel { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: center; margin-top: 55px; padding: clamp(30px, 5vw, 55px); border-block: 1px solid var(--line); }
.hire-panel > div > span { color: var(--gold); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hire-panel h3 { margin: 12px 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.08; }
.hire-panel p { max-width: 720px; margin-bottom: 0; color: var(--muted); }

.paths { background: var(--paper-light); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 58px; }
.path-list { border-top: 1px solid var(--line); }
.path-row { display: grid; grid-template-columns: 72px 1.05fr 1fr 28px; gap: 22px; align-items: center; min-height: 116px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .2s, color .2s; }
.path-row:hover { padding-inline: 12px; color: #7a6029; }
.path-index { color: var(--gold); font-family: var(--serif); }
.path-name { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.35rem); }
.path-description { color: var(--muted); font-size: .92rem; }
.path-arrow { font-size: 1.3rem; color: var(--gold); }

.feature-dark { background: var(--navy-deep); color: white; }
.feature-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(45px, 8vw, 110px); align-items: center; }
.video-poster { position: relative; }
.video-poster img { width: 100%; aspect-ratio: 16/10; object-fit: cover; filter: saturate(.75); }
.video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,12,22,.55), transparent 60%); pointer-events: none; }
.video-poster p { position: absolute; left: 20px; bottom: 4px; z-index: 2; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.play { position: absolute; inset: 50% auto auto 50%; z-index: 3; transform: translate(-50%,-50%); width: 72px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: rgba(244,240,230,.92); color: var(--navy); text-decoration: none; }
.feature-copy h2 { font-size: clamp(2.5rem, 4.7vw, 4.6rem); }
.feature-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); }

.course-feature { display: grid; grid-template-columns: .48fr 1fr .58fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.course-emblem { width: min(250px, 100%); aspect-ratio: 1; display: grid; place-items: center; align-content: center; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--serif); color: var(--navy); }
.course-emblem::before, .course-emblem::after { content: ""; position: absolute; }
.course-emblem span { font-size: 5rem; line-height: 1; }
.course-emblem small { color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }
.plain-list { padding: 0; list-style: none; border-top: 1px solid var(--line); margin: 30px 0; }
.plain-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.plain-list li::before { content: "·"; color: var(--gold); margin-right: 10px; }
.course-note { border-left: 1px solid var(--gold); padding-left: 28px; font-family: var(--serif); font-size: 1.45rem; color: var(--muted); }

.resources { background: #e9e2d4; }
.resource-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 140px); align-items: center; }
.resource-sheet { position: relative; background: var(--paper-light); padding: clamp(34px, 5vw, 70px); box-shadow: 14px 18px 0 rgba(19,37,58,.08); border-top: 5px solid var(--gold); }
.resource-sheet h3 { margin: 18px 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; }
.resource-symbol { position: absolute; right: 30px; top: 22px; color: rgba(211,173,82,.4); font-family: var(--serif); font-size: 2.4rem; }
.status-label { display: inline-block; margin-top: 22px; padding: 8px 12px; background: rgba(19,37,58,.08); color: var(--navy); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }

.book-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(55px, 10vw, 150px); align-items: center; }
.book-mock { width: min(360px, 82vw); aspect-ratio: 3/4.3; margin-inline: auto; padding: 42px 36px; display: flex; flex-direction: column; background: var(--navy); color: var(--gold-pale); box-shadow: -14px 16px 0 #c8b37e, 0 35px 55px rgba(10,24,39,.18); transform: rotate(-2deg); }
.book-mock span, .book-mock small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.book-mock strong { margin: auto 0; font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 5.5rem); font-weight: 400; line-height: .92; }

.services { background: var(--paper-light); border-top: 1px solid var(--line); }
.narrow { max-width: 640px; }
.service-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-block: 1px solid var(--line); margin: 55px 0 35px; }
.service-columns div { padding: 36px; border-right: 1px solid var(--line); }
.service-columns div:last-child { border-right: 0; }
.service-columns span { color: var(--gold); font-family: var(--serif); }
.service-columns h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.service-columns p { color: var(--muted); }

.closing { background: var(--navy); color: white; }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 140px); }
.closing-grid > div:last-child > p { color: rgba(255,255,255,.67); }
.social-links { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.social-links a { color: var(--gold-pale); text-underline-offset: 5px; }
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 48px 0; font-size: .85rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr auto; gap: 34px; }
.footer-grid strong { color: white; font-family: var(--serif); font-size: 1.35rem; }
.footer-grid > div { display: flex; flex-direction: column; gap: 7px; }
.footer-grid a { color: inherit; text-decoration: none; }
.copyright { align-self: end; }

/* Curso */
.course-page { background: var(--paper-light); }
.course-hero { position: relative; overflow: hidden; background: var(--navy); color: white; padding: 110px 0 90px; }
.course-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.course-hero h1 { font-size: clamp(3.2rem, 6.7vw, 6.5rem); }
.course-hero p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.72); }
.course-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid rgba(255,255,255,.22); }
.course-facts div { padding: 20px 4px; border-bottom: 1px solid rgba(255,255,255,.22); }
.course-facts dt { font-size: .67rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-pale); }
.course-facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.45rem; }
.course-tree { position: absolute; right: -90px; top: -110px; width: 500px; height: 500px; opacity: .14; }
.course-tree i { position: absolute; width: 72px; aspect-ratio: 1; border: 1px solid var(--gold-pale); border-radius: 50%; }
.course-tree i:nth-child(1){left:214px;top:10px}.course-tree i:nth-child(2){left:100px;top:105px}.course-tree i:nth-child(3){left:328px;top:105px}.course-tree i:nth-child(4){left:100px;top:235px}.course-tree i:nth-child(5){left:328px;top:235px}.course-tree i:nth-child(6){left:214px;top:170px}.course-tree i:nth-child(7){left:100px;top:365px}.course-tree i:nth-child(8){left:328px;top:365px}.course-tree i:nth-child(9){left:214px;top:315px}.course-tree i:nth-child(10){left:214px;top:430px}
.progress-bar-wrap { position: sticky; top: 0; z-index: 12; background: var(--paper-light); border-bottom: 1px solid var(--line); }
.progress-inner { min-height: 74px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 45px; }
.progress-inner > div:first-child { display: flex; gap: 18px; align-items: baseline; font-size: .78rem; }
.progress-inner span { color: var(--muted); }
.progress-track { height: 4px; background: rgba(19,37,58,.12); overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .35s; }
.course-shell { max-width: 920px; }
.course-intro { padding-block: 90px 55px; }
.course-intro > p:last-child { color: var(--muted); max-width: 750px; }
.lesson { display: grid; grid-template-columns: 120px 1fr; gap: 45px; padding: 72px 0; border-top: 1px solid var(--line); }
.lesson-number { color: var(--gold); font-family: var(--serif); }
.lesson-body h2 { margin: 14px 0 30px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.05; }
.lesson-body > p:not(.eyebrow) { font-size: 1.04rem; }
.lesson-key { display: grid; grid-template-columns: 160px 1fr; gap: 20px; background: #ece4d3; padding: 24px; margin: 34px 0; }
.lesson-key strong { color: #765d25; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.complete-button { padding: 11px 16px; border: 1px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; }
.complete-button.is-complete { background: var(--navy); color: white; }
.quiz-gate { padding-block: 90px; border-top: 1px solid var(--line); }
.quiz-section { padding-block: 80px 120px; }
.quiz-heading { margin-bottom: 52px; }
.question { border: 0; border-top: 1px solid var(--line); padding: 34px 0; margin: 0; }
.question legend { font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; margin-bottom: 22px; }
.question legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 12px; border: 1px solid var(--gold); border-radius: 50%; color: #785f2d; font-family: var(--sans); font-size: .75rem; }
.question label { display: block; width: fit-content; margin: 10px 0; cursor: pointer; }
.question input { margin-right: 10px; accent-color: var(--gold); }
.quiz-submit { display: flex; gap: 25px; align-items: center; border-top: 1px solid var(--line); padding-top: 32px; }
.quiz-submit p { margin: 0; font-weight: 600; }
.diploma-form { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; padding-block: 90px; border-top: 1px solid var(--line); }
.diploma-form form { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.diploma-form input { width: 100%; padding: 14px; border: 1px solid var(--line); background: white; }
.certificate-wrap { background: #e4dccb; padding: 65px 20px 100px; }
.certificate-actions { margin-bottom: 25px; text-align: center; }
.certificate { width: min(1000px, 100%); aspect-ratio: 1.414/1; margin: auto; padding: 22px; background: var(--paper-light); color: var(--navy-deep); box-shadow: 0 25px 70px rgba(10,24,39,.2); }
.certificate-frame { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 45px; text-align: center; border: 2px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -9px; }
.certificate-mark { display: grid; place-items: center; width: 58px; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; color: #80692e; font-size: 1.7rem; }
.certificate-brand { font-family: var(--serif); font-size: 1.25rem; }
.certificate-kicker { margin: 18px 0 0; color: #80692e; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.certificate h2 { margin: 12px 0 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4vw, 4rem); }
.certificate-line { margin: 0; color: var(--muted); }
.certificate-name { min-width: 65%; margin: 8px 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--gold); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.7rem); }
.certificate-copy { max-width: 650px; margin: 0; }
.certificate-meta { display: flex; gap: 35px; margin-top: 28px; color: var(--muted); font-size: .78rem; }
.certificate-note { margin-top: 20px; font-size: .64rem; color: var(--muted); }
.course-footer .footer-grid { grid-template-columns: 1fr auto; }

[hidden] { display: none !important; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 82px; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy-deep); padding: 18px 24px 28px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-emphasis { padding-inline: 0; border-inline: 0; border-top: 0; }
  .opening { grid-template-columns: 50px 1fr; }
  .opening-copy { grid-column: 2; }
  .path-row { grid-template-columns: 48px 1fr 25px; padding-block: 25px; }
  .path-description { grid-column: 2; }
  .path-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .feature-grid, .resource-grid, .book-section, .closing-grid, .course-hero-grid, .diploma-form { grid-template-columns: 1fr; }
  .course-feature { grid-template-columns: .45fr 1fr; }
  .course-note { grid-column: 2; }
  .service-columns { grid-template-columns: 1fr; }
  .service-columns div { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .course-tree { opacity: .08; }
  .start-heading, .articles-grid, .social-grid { grid-template-columns: 1fr; }
  .start-options { grid-template-columns: 1fr 1fr; }
  .start-options.two-options { grid-template-columns: 1fr 1fr; }
  .start-card:nth-child(2) { border-right: 0; }
  .image-card { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .image-card-copy { min-height: 310px; }
  .visual-break { grid-template-columns: 1fr 1fr; }
  .visual-break figure { min-height: 300px; }
  .social-cards a { grid-template-columns: .75fr 1fr; }
  .social-cards a > span:last-child { grid-column: 2; }
  .hire-panel { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 70px; padding-inline: 16px; }
  .main-nav { top: 70px; }
  .hero { min-height: 88vh; }
  .hero-content { padding: 125px 0 75px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-caption { display: none; }
  .opening { grid-template-columns: 1fr; }
  .section-number { width: 45px; }
  .opening-copy { grid-column: 1; }
  .path-row { grid-template-columns: 36px 1fr 20px; gap: 10px; }
  .course-feature { grid-template-columns: 1fr; }
  .course-emblem { max-width: 175px; }
  .course-note { grid-column: 1; }
  .service-columns div { padding: 30px 0; }
  .footer-grid, .course-footer .footer-grid { grid-template-columns: 1fr; }
  .course-hero { padding: 82px 0 70px; }
  .course-hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .progress-inner { grid-template-columns: 1fr; gap: 8px; padding-block: 12px; }
  .lesson { grid-template-columns: 1fr; gap: 12px; padding: 55px 0; }
  .lesson-key { grid-template-columns: 1fr; }
  .quiz-submit { align-items: flex-start; flex-direction: column; }
  .certificate { aspect-ratio: auto; min-height: 720px; padding: 12px; }
  .certificate-frame { padding: 25px 16px; }
  .certificate-meta { flex-direction: column; gap: 4px; }
  .start-options { grid-template-columns: 1fr; }
  .start-options.two-options { grid-template-columns: 1fr; }
  .start-card { min-height: 285px; border-right: 0; border-bottom: 1px solid var(--line); }
  .image-card { grid-column: auto; border-top: 0; }
  .visual-break { grid-template-columns: 1fr; }
  .visual-break figure + figure { border-left: 0; border-top: 4px solid var(--paper); }
  .visual-break figure { min-height: 260px; }
  .social-cards a { grid-template-columns: 1fr; gap: 6px; padding-block: 24px; }
  .social-cards a > span:last-child { grid-column: 1; }
}

@media print {
  body * { visibility: hidden; }
  .certificate-wrap, .certificate-wrap * { visibility: visible; }
  .certificate-wrap { position: absolute; inset: 0; padding: 0; background: white; }
  .certificate-actions { display: none; }
  .certificate { width: 100%; height: 100vh; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ==== ESTILO CLARO (25/10/2026) ====
   Capa de estilo inspirada en portales institucionales limpios:
   fondo blanco, tipografía sans, acento azul sereno, tarjetas suaves.
   Para volver al estilo anterior, borra desde esta línea hasta el final. */
:root {
  --navy: #1d3f63;
  --navy-deep: #16304d;
  --navy-soft: #2a5d8f;
  --gold: #2a5d8f;
  --gold-pale: #cfdcea;
  --paper: #ffffff;
  --paper-light: #f4f5f7;
  --ink: #222831;
  --muted: #5f6670;
  --line: #dfe3e8;
  --accent: #2a5d8f;
  --accent-soft: #e8eef5;
  --serif: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 3px rgba(20, 30, 45, .08), 0 6px 18px rgba(20, 30, 45, .06);
  --radius: 6px;
}
body { background: #fff; color: var(--ink); font-size: 17px; }

/* Cabecera blanca fija */
.site-header, .solid-header { position: sticky; top: 0; height: 68px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.wordmark { font-weight: 600; font-size: 1.1rem; }
.wordmark-mark { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.main-nav { gap: 26px; font-size: .95rem; }
.main-nav a { opacity: 1; color: var(--ink); }
.main-nav a:hover { color: var(--accent); }
.nav-emphasis { border: 0; background: var(--accent); color: #fff !important; border-radius: var(--radius); padding: 8px 16px; }
.nav-emphasis:hover { background: var(--navy); }
.back-link { color: var(--ink); }

/* Titulares sans, sobrios */
.hero h1, .course-hero h1 { font-weight: 600; line-height: 1.12; letter-spacing: -.015em; font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 0 0 18px; }
.opening h2, .section-heading h2, .feature-copy h2, .course-copy h2, .book-copy h2, .closing h2, .quiz-gate h2, .quiz-heading h2, .diploma-form h2, .start-heading h2, .articles-copy h2, .lesson-body h2 { font-weight: 600; font-size: clamp(1.9rem, 3.3vw, 2.8rem); line-height: 1.15; letter-spacing: -.01em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.eyebrow, .hire-panel > div > span { color: var(--accent); letter-spacing: .12em; }
.eyebrow.light { color: var(--gold-pale); }
.section-space { padding-block: clamp(56px, 7vw, 96px); }

/* Portada: imagen grande con caja blanca de texto */
.hero { min-height: 74vh; color: var(--ink); align-items: end; }
.hero-shade { background: linear-gradient(0deg, rgba(10,20,35,.35), rgba(10,20,35,0) 60%); }
.hero-content { width: min(640px, calc(100% - 32px)); margin: 0 0 56px max(16px, calc((100vw - 1180px) / 2)); padding: clamp(28px, 4vw, 44px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-copy { color: var(--muted); font-size: 1.05rem; }
.hero .actions { margin-top: 26px; gap: 22px; }
.light-link { color: var(--accent); }
.hero-caption { color: rgba(255,255,255,.8); }

/* Botones y enlaces */
.button { border-radius: var(--radius); font-weight: 600; min-height: 46px; }
.button:hover { transform: none; filter: brightness(1.08); }
.button-gold, .button-ink { background: var(--accent); color: #fff; }
.text-link { color: var(--accent); }
.text-link span { color: var(--accent); }

/* Tarjetas de inicio */
.start-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; max-width: 820px; }
.start-options, .start-options.two-options { border: 0; gap: 24px; }
.start-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-height: 300px; }
.start-card:last-child { border-right: 1px solid var(--line); }
.start-card:not(.image-card):hover { background: var(--accent-soft); color: var(--ink); }
.start-card h3 { font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.start-card strong { color: var(--accent); font-size: .95rem; }
.start-number { color: var(--accent); font-weight: 600; }
.image-card { border-radius: var(--radius); overflow: hidden; }
.image-card strong, .image-card .start-number { color: #fff; }

/* Vídeo destacado en franja gris */
.feature-dark { background: var(--paper-light); color: var(--ink); }
.feature-copy > p:not(.eyebrow) { color: var(--muted); }
.feature-dark .eyebrow.light { color: var(--accent); }
.feature-dark .light-link { color: var(--accent); }
.video-poster { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-poster img { filter: none; }
.play { background: var(--accent); color: #fff; }

/* Curso */
.course-emblem { border: 2px solid var(--accent); color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.course-note { border-left: 3px solid var(--accent); font-size: 1.1rem; line-height: 1.5; }
.plain-list li::before { content: "✓"; color: var(--accent); }

/* Redes */
.social-section { background: var(--paper-light); }
.social-cards { border-top: 0; display: grid; gap: 14px; }
.social-cards a { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; min-height: 0; box-shadow: var(--shadow); }
.social-cards a:hover { padding-inline: 26px; color: var(--accent); border-color: var(--accent); }
.network-name { font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.6rem); }

/* Libro */
.book-mock { background: var(--navy); color: #fff; border-radius: 3px 8px 8px 3px; transform: none; box-shadow: 0 18px 40px rgba(20,30,45,.22); }
.book-mock strong { font-weight: 600; font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1.05; }

/* Charlas */
.services { background: #fff; }
.hire-panel { background: var(--paper-light); border: 0; border-radius: var(--radius); }
.hire-panel h3 { font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* Otras secciones con colores fijos */
.articles, .resources, .certificate-wrap { background: var(--paper-light); }
.social-cards a:hover, .path-row:hover { color: var(--accent); }
.path-name, .service-columns h3, .resource-sheet h3 { font-weight: 600; }
.lesson-key { background: var(--accent-soft); border-radius: var(--radius); }
.lesson-key strong, .question legend span, .certificate-mark, .certificate-kicker { color: var(--accent); }
.resource-sheet { border-top-color: var(--accent); box-shadow: var(--shadow); }

/* Página del curso: cabecera azul serena */
.course-hero { background: var(--navy); }
.course-facts dd { font-weight: 600; }

/* Pie claro */
.site-footer { background: var(--paper-light); color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid strong { color: var(--ink); font-weight: 600; }
.footer-grid a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .main-nav { top: 68px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav a { border-bottom: 1px solid var(--line); }
  .nav-emphasis { width: auto !important; margin-top: 12px; padding: 10px 16px; border-bottom: 0 !important; }
  .start-options.two-options { grid-template-columns: 1fr; }
  .start-card:nth-child(2) { border-right: 1px solid var(--line); }
  .image-card { border-top: 0; }
}
@media (max-width: 600px) {
  .site-header { height: 64px; }
  .main-nav { top: 64px; }
  .hero { min-height: 0; padding-top: 220px; }
  .hero-content { margin: 0 16px 24px; width: auto; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .start-card { border-bottom: 1px solid var(--line); }
}

/* Seccion Articulos en portada (25/10/2026) */
.articulos-home { background: var(--paper-light); }
.articulos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.articulo-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.articulo-card:hover { border-color: var(--accent); }
.articulo-tema { color: var(--accent); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.articulo-card h3 { margin: 0; font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
.articulo-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.articulo-card strong { margin-top: auto; padding-top: 8px; color: var(--accent); font-size: .92rem; }
.articulos-todos { margin-top: 36px; }
@media (max-width: 860px) { .articulos-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .articulos-grid { grid-template-columns: 1fr; } }

/* Curso: textos ampliados (25/10/2026) */
.course-intro { display: grid; gap: 18px; }
.course-intro p { margin: 0; }
.course-goals { margin: 10px 0; padding: 28px 32px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); }
.course-goals h2 { margin: 0 0 14px; font-size: 1.25rem; font-weight: 600; }
.course-goals ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink); }
.course-goals li::marker { color: var(--accent); }
.lesson-aim { margin: -12px 0 24px; padding: 10px 14px; background: var(--accent-soft); border-radius: var(--radius); color: var(--navy); font-size: .95rem; }
.lesson-sub { margin: 34px 0 12px; font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.lesson-terms { margin: 18px 0; border-top: 1px solid var(--line); }
.lesson-terms > div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lesson-terms dt { font-weight: 600; color: var(--accent); }
.lesson-terms dd { margin: 0; color: var(--ink); }
.lesson-terms-compact > div { grid-template-columns: 110px 1fr; padding: 8px 0; }
.lesson-list { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 6px; }
.lesson-body a { color: var(--accent); }
@media (max-width: 600px) { .lesson-terms > div, .lesson-terms-compact > div { grid-template-columns: 1fr; gap: 2px; } .course-goals { padding: 22px; } }

/* Diploma rediseñado (25/10/2026) */
.certificate { background: #fff; padding: 18px; border-radius: 2px; }
.certificate-frame { justify-content: space-between; gap: 0; padding: 34px 48px 22px; border: 2px solid var(--navy); outline: 1px solid #c9a24a; outline-offset: -10px; }
.certificate-logo { width: 190px; height: auto; margin: 0 auto 4px; }
.certificate-kicker { margin: 6px 0 0; color: #9a7a2c; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.certificate h2 { margin: 6px 0 14px; color: var(--navy); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; }
.certificate-line { color: var(--muted); font-size: .95rem; }
.certificate-name { min-width: 60%; margin: 4px 0 12px; padding-bottom: 6px; border-bottom: 1px solid #c9a24a; color: var(--ink); font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 400; }
.certificate-copy { max-width: 640px; margin: 0; color: var(--ink); font-size: .98rem; line-height: 1.55; }
.certificate-details { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 760px; margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.certificate-details > div { display: flex; flex-direction: column; gap: 2px; padding: 9px 6px; border-right: 1px solid var(--line); }
.certificate-details > div:last-child { border-right: 0; }
.certificate-details span { color: var(--muted); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.certificate-details strong { color: var(--ink); font-size: .86rem; font-weight: 600; }
.certificate-sign { display: flex; flex-direction: column; align-items: center; gap: 1px; margin-top: 18px; font-size: .9rem; color: var(--ink); }
.certificate-sign-line { width: 230px; margin-bottom: 6px; border-top: 1px solid var(--ink); }
.certificate-sign small { color: var(--muted); font-size: .75rem; }
.certificate-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 14px 0 0; color: var(--navy); font-size: .74rem; font-weight: 600; letter-spacing: .03em; }
.certificate-note { margin-top: 6px; color: var(--muted); font-size: .62rem; }
@media (max-width: 700px) { .certificate-frame { padding: 26px 18px 18px; } .certificate-details { grid-template-columns: 1fr 1fr; } .certificate-details > div:nth-child(2) { border-right: 0; } .certificate-logo { width: 150px; } }
@media print { .certificate { padding: 10mm; } .certificate-frame { padding: 10mm 14mm 6mm; } }

/* Curso: vídeos, sigue aprendiendo y corrección del cuestionario (25/10/2026) */
.lesson-video { margin: 22px 0 26px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.lesson-video > strong { display: block; margin-bottom: 8px; color: var(--accent); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.lesson-video ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lesson-video a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.lesson-video a:hover { color: var(--accent); }
.lesson-video-play { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #c4302b; color: #fff; font-size: .62rem; }
.keep-learning { background: var(--paper-light); border-top: 1px solid var(--line); }
.keep-learning h2 { margin: 12px 0 14px; font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.keep-learning > .shell > p { color: var(--muted); max-width: 680px; }
.keep-list { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; gap: 10px; }
.keep-list a { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 500; }
.keep-list a:hover { border-color: var(--accent); color: var(--accent); }
.keep-list span { flex: none; min-width: 64px; color: #c4302b; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.question.is-correct { background: #eef7f1; border-left: 4px solid #2e7d4f; padding-left: 16px; }
.question.is-wrong { background: #fbeeee; border-left: 4px solid #b23a3a; padding-left: 16px; }
.question.is-missing { background: #fff7e6; border-left: 4px solid #c48a1a; padding-left: 16px; }
.question-note { margin: 10px 0 0; font-size: .9rem; font-weight: 600; }
.is-correct .question-note { color: #2e7d4f; }
.is-wrong .question-note { color: #b23a3a; }
.is-missing .question-note { color: #9a6b12; }
.quiz-summary { margin: 28px 0 0; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.quiz-summary.is-success { border-color: #2e7d4f; background: #eef7f1; }
.quiz-summary.is-pending { border-color: #b23a3a; }
.quiz-score { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 8px; font-size: .95rem; }
.quiz-score strong { font-size: 1.6rem; font-weight: 600; margin-right: 4px; }
.quiz-score span:nth-child(1) strong { color: #2e7d4f; }
.quiz-score span:nth-child(2) strong { color: #b23a3a; }
.quiz-score span:nth-child(3) strong { color: #9a6b12; }
.quiz-summary p { margin: 0; }

/* Destacado del diploma (25/10/2026) */
.diploma-callout { display: flex; gap: 16px; align-items: flex-start; margin: 22px 0 26px; padding: 18px 22px; background: #fbf6ea; border: 1px solid #e5d3a4; border-left: 4px solid #c9a24a; border-radius: var(--radius); }
.diploma-callout-mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #f1dfad; font-size: 1.2rem; }
.diploma-callout strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 1.05rem; font-weight: 600; }
.diploma-callout p { margin: 0; color: var(--ink); font-size: .95rem; line-height: 1.55; }
.course-hero .diploma-highlight { color: #f1dfad; font-weight: 600; }

/* Boletín y página legal (28/10/2026) */
.boletin { background: var(--navy); color: #fff; }
.boletin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.boletin .eyebrow { color: #cfdcea; }
.boletin h2 { margin: 12px 0 14px; color: #fff; font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.boletin-copy p:not(.eyebrow) { color: rgba(255,255,255,.82); max-width: 520px; }
.boletin-form { padding: 28px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; }
.boletin-form .entry__label { display: block; margin-bottom: 6px; font-weight: 600; }
.boletin-form .input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.boletin-form .input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.boletin-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.boletin-consent input { margin-top: 3px; accent-color: var(--accent); }
.boletin-consent a { color: var(--accent); }
.boletin-form .button { width: 100%; }
.boletin-note { margin: 12px 0 0; color: var(--muted); font-size: .8rem; }
.input--hidden { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sib-form-message-panel { display: none; margin-bottom: 14px; padding: 12px 14px; border-radius: var(--radius); font-size: .92rem; }
.sib-form-message-panel--active { display: block; }
#success-message { background: #eef7f1; color: #1f5f3a; border: 1px solid #2e7d4f; }
#error-message { background: #fbeeee; color: #8a2a2a; border: 1px solid #b23a3a; }
.entry__error { display: block; margin-top: 6px; color: #b23a3a; font-size: .85rem; }
.entry__error:empty { display: none; }
.legal-body { padding-block: 64px 90px; }
.legal-body h1 { margin: 12px 0 6px; font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-update { color: var(--muted); font-size: .9rem; }
.legal-body h2 { margin: 34px 0 8px; font-size: 1.3rem; font-weight: 600; }
.legal-body a { color: var(--accent); }
@media (max-width: 860px) { .boletin-grid { grid-template-columns: 1fr; } }

/* Boletín dentro del paso del diploma (28/10/2026) */
.diploma-boletin { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: 8px; padding: clamp(22px, 4vw, 36px); background: var(--accent-soft); border-radius: var(--radius); }
.diploma-boletin h3 { margin: 10px 0 10px; color: var(--navy); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.2; }
.diploma-boletin .boletin-copy p:not(.eyebrow) { color: var(--ink); }
.diploma-boletin .boletin-form { box-shadow: none; border: 1px solid var(--line); }
.sib-form-block__button:disabled { opacity: .7; cursor: wait; }
@media (max-width: 860px) { .diploma-boletin { grid-template-columns: 1fr; } }
