
:root {
  --blue-950: #0d2d3c;
  --blue-900: #123d52;
  --blue-800: #19566f;
  --blue-600: #2b83aa;
  --blue-400: #6ec5e9;
  --blue-100: #eaf7fc;
  --green-800: #2f6d2c;
  --green-700: #3f8639;
  --green-100: #edf7eb;
  --ink: #18232b;
  --muted: #5b6972;
  --line: #dce5e9;
  --surface: #ffffff;
  --surface-alt: #f5f9fa;
  --shadow: 0 18px 50px rgba(13, 45, 60, .11);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-800); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--green-800); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.narrow { max-width: 830px; }
.skip-link { position: fixed; left: 1rem; top: -10rem; z-index: 1000; background: #fff; color: #000; padding: .8rem 1rem; border-radius: .5rem; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }
.notice-bar { background: var(--blue-950); color: #fff; font-size: .92rem; }
.notice-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.notice-bar a { color: #fff; font-weight: 750; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,229,233,.9); backdrop-filter: blur(12px); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 2rem; }
.brand { display: block; flex: 0 0 auto; text-decoration: none; }
.brand img { display: block; width: 180px; height: auto; max-height: 72px; object-fit: contain; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 680; font-size: .94rem; padding: .8rem .76rem; border-radius: 9px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--blue-100); color: var(--blue-900); }
.menu-button { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; padding: .65rem .8rem; font-weight: 700; align-items: center; gap: .55rem; }
.menu-button-lines, .menu-button-lines::before, .menu-button-lines::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; position: relative; }
.menu-button-lines::before { position: absolute; top: -6px; }
.menu-button-lines::after { position: absolute; top: 6px; }
.hero { overflow: hidden; background: radial-gradient(circle at 15% 25%, rgba(110,197,233,.36), transparent 33%), radial-gradient(circle at 85% 0%, rgba(63,134,57,.14), transparent 28%), linear-gradient(135deg, #f9fdff 0%, #eef8fc 58%, #f7fbf7 100%); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr); align-items: center; gap: 4rem; padding-block: 5rem; }
.eyebrow { margin: 0 0 .65rem; color: var(--green-800); font-weight: 800; letter-spacing: .075em; text-transform: uppercase; font-size: .82rem; }
h1, h2, h3 { color: var(--blue-950); line-height: 1.15; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.6rem, 5.8vw, 5rem); letter-spacing: -.045em; }
h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.025em; }
h3 { margin: 0 0 .7rem; font-size: 1.35rem; }
.hero-lead { max-width: 760px; font-size: clamp(1.08rem, 1.4vw, 1.24rem); color: #344751; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 790; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue-900); box-shadow: 0 10px 25px rgba(18,61,82,.18); }
.button-primary:hover { color: #fff; background: var(--green-800); }
.button-secondary { color: var(--blue-900); background: #fff; border-color: #b9cbd3; }
.button-secondary:hover { color: var(--blue-950); border-color: var(--blue-600); }
.button-light { color: var(--blue-950); background: #fff; }
.button-light:hover { color: var(--green-800); }
.button.full { width: 100%; }
.trust-list { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; list-style: none; padding: 0; margin: 2rem 0 0; color: var(--muted); font-size: .93rem; }
.trust-list li::before { content: "✓"; color: var(--green-700); font-weight: 900; margin-right: .4rem; }
.hero-panel { background: rgba(255,255,255,.9); padding: 1.25rem; border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-panel-top { display: flex; align-items: center; gap: .6rem; color: var(--green-800); font-weight: 800; padding: .2rem .25rem 1rem; }
.status-dot { width: 10px; height: 10px; background: #51a949; border-radius: 50%; box-shadow: 0 0 0 6px rgba(81,169,73,.12); }
.mini-course { display: flex; align-items: center; gap: 1rem; padding: 1.15rem; margin-bottom: .75rem; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.mini-course:hover { border-color: var(--blue-400); color: var(--blue-900); }
.mini-course span:last-child { display: grid; }
.mini-course small { color: var(--muted); }
.mini-icon { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 13px; background: var(--blue-100); color: var(--blue-900); font-weight: 900; }
.text-link { display: inline-flex; gap: .35rem; align-items: center; font-weight: 780; }
.hero-panel > .text-link { margin: .6rem .3rem .2rem; }
.section { padding-block: 5.5rem; }
.section-tight { padding-block: 2.5rem; }
.section-alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.prose-intro { max-width: 920px; font-size: 1.15rem; color: #374a54; }
.prose-intro p { margin: 0; }
.section-heading { max-width: 760px; margin: 0 auto 2.2rem; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading > p:last-child { color: var(--muted); }
.card-grid { display: grid; gap: 1.5rem; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: 0 10px 30px rgba(13,45,60,.06); }
.course-card-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 1.4rem; color: var(--muted); font-size: .87rem; }
.tag { display: inline-flex; align-self: flex-start; background: var(--green-100); color: var(--green-800); border-radius: 999px; padding: .32rem .68rem; font-weight: 800; font-size: .82rem; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.check-list li { position: relative; padding-left: 1.65rem; margin: .55rem 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 900; }
.card-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: auto; padding-top: 1.2rem; }
.split-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.stat-panel { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.stat-panel div { padding: 1.5rem; border-radius: var(--radius-md); background: var(--blue-100); }
.stat-panel div:last-child { background: var(--green-100); }
.stat-panel strong { display: block; color: var(--blue-950); font-size: 2.3rem; letter-spacing: -.04em; }
.stat-panel span { color: var(--muted); }
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 1.5rem; }
.partner-card { display: grid; place-items: center; min-height: 220px; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); text-align: center; }
.partner-card img { max-height: 125px; width: auto; }
.partner-card p { margin-bottom: 0; color: var(--muted); font-weight: 750; }
.cta-section { padding-top: 1rem; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.8rem; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(125deg, var(--blue-950), var(--blue-800)); box-shadow: var(--shadow); }
.cta-card h2, .cta-card .eyebrow { color: #fff; }
.cta-card p { max-width: 720px; }
.page-hero { background: radial-gradient(circle at 10% 0%, rgba(110,197,233,.3), transparent 32%), linear-gradient(135deg, #f7fcfe, #eef7fa); border-bottom: 1px solid var(--line); padding-block: 4.6rem; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.page-hero p:last-child { color: #40535d; font-size: 1.15rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 4rem; align-items: start; }
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 2.5rem; font-size: 1.85rem; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin: .45rem 0; }
.side-card { padding: 1.55rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-alt); }
.side-card h2 { font-size: 1.35rem; }
.side-card .text-link { display: flex; margin-top: .75rem; }
.sticky { position: sticky; top: 112px; }
.compact-list { padding-left: 1.2rem; }
.course-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: center; }
.price-card { padding: 1.5rem; border: 1px solid #bfd7e1; border-radius: var(--radius-lg); background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.price-card span, .price-card small { display: block; color: var(--muted); }
.price-card strong { display: block; color: var(--blue-950); font-size: 3rem; letter-spacing: -.05em; line-height: 1.1; }
.price-card p { margin-bottom: 0; font-size: .95rem; }
.facts { margin: 1.3rem 0 0; }
.facts > div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: .75rem 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; font-weight: 750; }
.facts.vertical > div { display: block; }
.facts.vertical dd { text-align: left; margin-top: .15rem; }
.centered { display: flex !important; justify-content: center; margin-top: 1rem !important; }
.document-list { display: grid; gap: .75rem; }
.document-list a { display: flex; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.document-list a:hover { border-color: var(--blue-400); }
.document-list span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-100); color: var(--blue-900); font-weight: 900; font-size: .8rem; }
.year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.5rem 0; }
.year-grid > div { padding: 1rem; background: var(--surface-alt); border: 1px solid var(--line); border-radius: 12px; }
.year-grid p { margin-bottom: 0; font-size: .92rem; }
.download-banner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; background: var(--blue-100); border-radius: var(--radius-md); padding: 1.3rem; margin-bottom: 2rem; }
.download-banner div { display: grid; }
.download-banner span { color: var(--muted); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 3rem; align-items: start; }
.contact-form { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 10px 35px rgba(13,45,60,.06); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 750; color: var(--blue-950); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #b7c7ce; border-radius: 9px; padding: .72rem .8rem; color: var(--ink); background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(110,197,233,.35); border-color: var(--blue-600); }
.field small, .form-note { color: var(--muted); }
.full-field { grid-column: 1 / -1; }
.checkbox-field { display: flex; align-items: flex-start; }
.checkbox-field input { width: auto; margin-top: .3rem; }
.checkbox-field label { font-weight: 500; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.captcha-field { padding: 1rem; border: 1px solid #c9d9df; border-radius: 12px; background: var(--surface-alt); }
.captcha-box { display: flex; align-items: center; gap: 1rem; }
.captcha-question { min-width: 150px; color: var(--blue-950); font-size: 1.05rem; }
.captcha-box input { width: 90px; text-align: center; font-weight: 800; font-size: 1.05rem; }
.form-note { font-size: .88rem; margin-bottom: 0; }
.privacy-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .87rem; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; min-height: 130px; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; color: var(--ink); background: #fff; }
.contact-card:hover { border-color: var(--blue-400); color: var(--blue-900); }
.contact-card span:last-child { display: grid; }
.contact-card small { color: var(--muted); }
.contact-icon { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--blue-100); color: var(--blue-900); font-size: 1.3rem; font-weight: 900; }
.login-card { max-width: 620px; margin: auto; padding: 3rem; border-radius: var(--radius-lg); border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow); }
.login-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 18px; background: var(--blue-100); color: var(--blue-900); font-size: 2rem; }
.small-muted { color: var(--muted); font-size: .9rem; }
.site-footer { margin-top: 3rem; background: var(--blue-950); color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .9fr; gap: 3rem; padding-block: 4rem; }
.footer-grid h2 { color: #fff; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-grid a { display: block; color: rgba(255,255,255,.9); margin: .55rem 0; }
.footer-logo { width: 170px; height: auto; padding: .55rem .7rem; background: #fff; border-radius: 10px; }
.footer-grid > div:first-child p { max-width: 480px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; align-items: center; border-top: 1px solid rgba(255,255,255,.15); padding-block: 1.25rem; font-size: .86rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(255,255,255,.85); }
.course-list-grid .course-card h2 { font-size: 1.7rem; margin-top: .8rem; }
@media (max-width: 1000px) {
  .menu-button { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); margin: 0; padding: .75rem; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .8rem 1rem; }
  .hero-grid, .course-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; gap: 2rem; }
  .hero-panel { max-width: 620px; }
  .content-grid, .form-layout { grid-template-columns: 1fr; gap: 2rem; }
  .sticky { position: static; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .notice-inner { font-size: .82rem; }
  .header-inner { min-height: 72px; }
  .brand img { width: 155px; max-height: 62px; }
  .hero-grid, .section { padding-block: 3.8rem; }
  .page-hero { padding-block: 3.4rem; }
  .card-grid.two, .split-layout, .footer-grid, .year-grid { grid-template-columns: 1fr; }
  .stat-panel { grid-template-columns: 1fr; }
  .stat-panel div:last-child { grid-column: auto; }
  .course-card { padding: 1.35rem; }
  .partner-grid { grid-template-columns: 1fr; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .contact-form { padding: 1.2rem; }
  .captcha-box { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .download-banner { align-items: flex-start; flex-direction: column; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .notice-inner span { display: none; }
  .notice-inner { justify-content: center; }
  .brand img { width: 140px; }
  .menu-button span:last-child { display: none; }
  h1 { font-size: 2.45rem; }
  .button-row .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.price-card-modern {
    background: #ffffff;
    border: 1px solid #cbdbe5;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(28, 54, 74, 0.10);
    max-width: 400px;
}

.price-badge {
    display: inline-block;
    background: #e7f2f8;
    color: #1f4e68;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.price-title {
    margin: 0 0 20px;
    font-size: 1.55rem;
    line-height: 1.25;
    color: #173247;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.price-features li {
    position: relative;
    padding-left: 27px;
    margin-bottom: 12px;
    color: #415b6d;
    line-height: 1.5;
}

.price-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #2d6c62;
}

.price-contact-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #21475e;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 13px 18px;
    border-radius: 12px;
}

.price-contact-btn:hover {
    background: #17394d;
    color: #ffffff;
    transform: translateY(-1px);
}

.price-note {
    margin: 17px 0 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #728391;
}

.legal-section {
    padding-block: 3.5rem;
    background: #ffffff;
}

.legal-notice {
    max-width: 1050px;
    margin: 0 auto;
    background: #f2f8fb;
    border: 1px solid #d5e5ed;
    border-left: 4px solid #5c7f32;
    border-radius: 16px;
    padding: 28px 32px;
}

.legal-notice .eyebrow {
    margin-bottom: 8px;
}

.legal-notice h2 {
    margin: 0 0 16px;
    color: #173247;
    font-size: 1.65rem;
}

.legal-notice p {
    max-width: 950px;
    margin: 0 0 12px;
    color: #415b6d;
    line-height: 1.7;
}

.legal-notice p:last-child {
    margin-bottom: 0;
}



/* Ajustes finales de accesibilidad y presentación */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:3px solid var(--blue-400);outline-offset:3px;}
.price-text {margin:0 0 1.15rem;color:#415b6d;line-height:1.6;}
.legal-summary {max-width:1020px;margin:0 auto;padding:1.55rem 1.75rem;border:1px solid #d8e6ec;border-left:4px solid var(--green-700);border-radius:14px;background:#f8fbfc;}
.legal-summary .eyebrow {margin-bottom:.45rem;}
.legal-summary h2 {margin-bottom:.85rem;font-size:clamp(1.35rem,2vw,1.65rem);}
.legal-summary p {margin:0 0 .7rem;color:#415b6d;}
.legal-summary p:last-child {margin-bottom:0;}
