  :root {
    --navy: #0E2A47;
    --body-ink: #344154;
    --paper: #F8F5EF;
    --paper-2: #F1ECE2;
    --line: #DCD5C5;
    --orange: #E2761E;
    --grey: #9AA3AE;

    --c1: #2BA0A0; --c1-soft: #E7F3F3;
    --c2: #2E7DB0; --c2-soft: #E8F0F8;
    --c3: #3A63AE; --c3-soft: #E8EEF8;
    --c4: #3E4E9C; --c4-soft: #EAEAF5;
    --c5: #8C8BA9; --c5-soft: #EFEFF4;
    --inst-blue: #4F63DC; --inst-blue-deep: #3B4FB8;
  }

  * { box-sizing: border-box; }

  html { scroll-behavior: smooth; }
  section[id] { scroll-margin-top: 76px; }

  html, body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--body-ink);
    font-family: "IBM Plex Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  body {
    background-image:
      radial-gradient(circle at 1px 1px, rgba(14,42,71,0.07) 1px, transparent 0);
    background-size: 22px 22px;
  }

  .wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 28px 90px;
  }

  /* ---------- Header ---------- */
  header.hero {
    padding: 56px 0 40px;
    position: relative;
  }
  .kicker {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--body-ink);
    font-weight: 400;
    max-width: 620px;
    margin: 0 0 22px;
  }
  .kicker b {
    color: var(--orange);
    font-weight: 600;
  }
  h1.title {
    font-family: "Fraunces", serif;
    font-weight: 500;
    font-size: 52px;
    line-height: 1.04;
    color: var(--navy);
    margin: 0 0 18px;
    letter-spacing: -0.01em;
  }
  h1.title em {
    font-style: italic;
    font-weight: 500;
    color: var(--orange);
  }
  p.lede {
    font-size: 18px;
    line-height: 1.55;
    max-width: 620px;
    color: var(--body-ink);
    margin: 0;
  }
  p.lede b { color: var(--navy); }

  .hero-rule {
    margin-top: 36px;
    height: 1px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 12%, var(--line) 12%, var(--line) 100%);
  }

  /* ---------- Intro / how to navigate ---------- */
  section.intro-nav { padding: 6px 0 8px; }
  .intro-nav-hint {
    font-size: 13px;
    color: var(--grey);
    margin: 18px 0 0;
    line-height: 1.5;
  }
  .intro-nav-hint a { color: var(--grey); }
  .gl-ref-demo {
    text-decoration: underline dotted 1.5px;
    text-decoration-color: var(--c2);
    text-underline-offset: 3px;
    border-radius: 2px;
  }
  .intro-nav-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 600;
    color: var(--grey);
    margin: 0 0 16px;
  }
  .nav-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  a.nav-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--navcolor, var(--navy));
    border-radius: 4px;
    padding: 18px 20px 20px;
    text-decoration: none;
    color: inherit;
    transition: transform .18s, box-shadow .18s, border-color .18s;
  }
  a.nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(14,42,71,0.12);
    border-color: var(--navcolor, var(--navy));
  }
  .nav-card-step {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 13px;
    color: var(--navcolor, var(--orange));
    margin: 0 0 8px;
  }
  .nav-card-title {
    font-family: "Fraunces", serif;
    font-weight: 500;
    font-size: 19px;
    color: var(--navy);
    margin: 0 0 8px;
    line-height: 1.2;
  }
  .nav-card-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--body-ink);
    margin: 0 0 14px;
    flex-grow: 1;
  }
  .nav-card-cta {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navcolor, var(--navy));
    display: flex;
    align-items: center;
    gap: 6px;
  }
  a.nav-card:hover .nav-card-cta { text-decoration: underline; }

  /* ---------- Modelo formativo ---------- */
  section.modelo-section {
    margin-top: 68px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
  }
  .modelo-lede {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--body-ink);
    max-width: 740px;
    margin: 0 0 30px;
  }
  .modelo-components {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
  }
  .modelo-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--navcolor, var(--navy));
    border-radius: 4px;
    padding: 18px 20px 20px;
    text-decoration: none;
    color: inherit;
  }
  a.modelo-card { transition: transform .18s, box-shadow .18s, border-color .18s; }
  a.modelo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(14,42,71,0.12);
    border-color: var(--navcolor, var(--navy));
  }
  .modelo-card-eyebrow {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 13px;
    color: var(--navcolor, var(--orange));
    margin: 0 0 8px;
  }
  .modelo-card-title {
    font-family: "Fraunces", serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--navy);
    margin: 0 0 8px;
    line-height: 1.2;
  }
  .modelo-card-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--body-ink);
    margin: 0;
    flex-grow: 1;
  }
  .modelo-card-cta {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navcolor, var(--navy));
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
  }
  a.modelo-card:hover .modelo-card-cta { text-decoration: underline; }

  .modelo-bridge {
    font-size: 14px;
    font-style: italic;
    color: var(--grey);
    margin: 30px 0 0;
  }

  /* ---------- Cycle visual + nav ---------- */
  section.cycle-section {
    margin-top: 68px;
    padding: 0 0 36px;
    border-top: 1px solid var(--line);
    padding-top: 48px;
  }
  .cycle-section .section-head { margin-bottom: 8px; }
  .cycle-section-lede {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--body-ink);
    max-width: 680px;
    margin: 0 0 30px;
  }

  .cycle-visual {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
  }
  .cycle-visual svg { width: 100%; height: auto; display: block; overflow: visible; }
  .node-group { cursor: pointer; outline: none; }
  .node-group:focus { outline: none; }
  .node-group:focus-visible { outline: none; }
  .node-group:focus-visible .node-circle { stroke: var(--navy); stroke-width: 4; }
  .node-circle {
    transition: transform 0.3s cubic-bezier(.2,.8,.2,1), filter 0.3s;
    transform-origin: center;
    transform-box: fill-box;
    stroke: transparent;
    stroke-width: 0;
  }
  .node-group:hover .node-circle { filter: brightness(1.07); }
  .node-group.active .node-circle,
  .node-group.pop-active .node-circle {
    transform: scale(1.045);
    filter: drop-shadow(0 8px 16px rgba(14,42,71,0.30));
  }
  .node-ring {
    fill: none;
    stroke-width: 2.5;
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
    pointer-events: none;
    animation: node-invite 2.8s ease-out infinite;
  }
  @keyframes node-invite {
    0%   { transform: scale(0.92); opacity: 0; }
    18%  { opacity: 0.55; }
    100% { transform: scale(1.34); opacity: 0; }
  }
  .node-group.pop-active .node-ring {
    animation-play-state: paused;
    opacity: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .node-ring { animation: none; display: none; }
  }
  .node-badge-circle { fill: var(--inst-blue); stroke: var(--paper); stroke-width: 3; }
  .node-num {
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.2px;
    fill: #fff;
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
  }
  .node-label {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    fill: var(--navy);
    text-anchor: middle;
    pointer-events: none;
    letter-spacing: 0.002em;
  }
  .ring-path { fill: none; stroke: #E8E1CC; stroke-width: 16; }
  .ring-arrow { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(60,50,20,0.25)); }
  .center-circle { fill: var(--inst-blue); }
  .cycle-center-label {
    font-family: "Fraunces", serif;
    font-weight: 500;
    font-size: 19px;
    fill: #fff;
    text-anchor: middle;
    pointer-events: none;
  }

  .cycle-hint {
    margin-top: 18px;
    font-size: 13px;
    color: var(--grey);
    text-align: center;
    font-style: italic;
  }

  /* ---------- Phase purpose popup (cloud) ---------- */
  .phase-pop {
    position: absolute;
    z-index: 5;
    top: 0;
    width: min(248px, calc(100% - 24px));
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 18px 14px;
    box-shadow: 0 14px 30px rgba(14,42,71,0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s, top .2s ease, bottom .2s ease;
    pointer-events: none;
  }
  .phase-pop.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
  .phase-pop::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 1px solid var(--line);
    transform: translateX(-50%) rotate(45deg);
  }
  .phase-pop.pop-below::before { top: -8px; border-right: none; border-bottom: none; }
  .phase-pop.pop-above::before { bottom: -8px; border-left: none; border-top: none; }
  .phase-pop-name {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--accent, var(--navy));
    margin: 0 0 6px;
  }
  .phase-pop-text { font-size: 13px; line-height: 1.5; color: var(--body-ink); margin: 0 0 12px; }
  .phase-pop-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--orange);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .phase-pop-cta:hover { text-decoration: underline; }

  /* ---------- Detail panel ---------- */
  .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(14,42,71,0.02);
    scroll-margin-top: 76px;
  }
  .panel-ghost {
    position: absolute;
    right: 4px;
    top: -36px;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 200px;
    line-height: 1;
    color: var(--ghost-color, #000);
    opacity: 0.05;
    pointer-events: none;
    user-select: none;
  }
  .panel-head {
    padding: 30px 34px 22px;
    border-bottom: 1px solid var(--line);
    position: relative;
  }
  .panel-phase-no {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .panel-name {
    font-family: "Fraunces", serif;
    font-weight: 500;
    font-size: 30px;
    color: var(--navy);
    margin: 4px 0 8px;
  }
  .panel-tagline {
    font-size: 15.5px;
    color: var(--body-ink);
    max-width: 520px;
    line-height: 1.45;
  }
  .panel-back {
    margin-bottom: 16px;
    padding: 7px 16px;
    font-size: 12.5px;
  }

  details.dim {
    border-bottom: 1px solid var(--paper-2);
    border-left: 3px solid var(--accent, var(--orange));
  }
  details.dim:last-child { border-bottom: none; }
  @media (max-width: 860px) {
    .nav-cards { grid-template-columns: repeat(2, 1fr); }
    .modelo-components { grid-template-columns: 1fr; }
  }
  @media (max-width: 620px) {
    .dim-label { padding: 16px 22px; }
    .dim-content { padding: 0 22px 18px; }
    .nav-cards { grid-template-columns: 1fr; }
    .plan-block { flex-direction: column; gap: 4px; }
    .plan-time { width: auto; }
    .mc-card { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
    .mc-body { max-width: none; }
    .mc-qr-wrap { justify-self: center; }
    .syl-step { grid-template-columns: 1fr; }
    .syl-step-num { font-size: 20px; }
    .syl-tl-card { padding: 18px 16px 16px; }
  }
  .dim-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    cursor: pointer;
    padding: 18px 34px;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
  }
  .dim-label::-webkit-details-marker { display: none; }
  .dim-label .gl-plus { font-size: 17px; color: var(--orange); transition: transform .25s; flex-shrink: 0; }
  details.dim[open] > .dim-label .gl-plus { transform: rotate(45deg); }
  .dim-content { font-size: 15.5px; line-height: 1.6; color: var(--body-ink); padding: 0 34px 22px; }
  .dim-content ul { margin: 0; padding-left: 20px; }
  .dim-content li { margin-bottom: 7px; }
  .dim-content li:last-child { margin-bottom: 0; }
  .dim-content p { margin: 0 0 10px; }
  .dim-content p:last-child { margin-bottom: 0; }

  /* ---------- Prev/next ---------- */
  .stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 34px 26px;
    gap: 16px;
  }
  .step-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 9px 18px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    transition: border-color .2s, background .2s;
  }
  .step-btn:hover { border-color: var(--navy); background: var(--paper); }
  .step-progress { font-size: 12.5px; color: var(--grey); letter-spacing: 0.04em; }

  /* ---------- PPE examples ---------- */
  section.ppe-examples { margin-top: 20px; }
  .ppe-examples-lede {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--body-ink);
    max-width: 700px;
    margin: 0 0 22px;
  }

  .ppe-note {
    display: flex;
    gap: 14px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--orange);
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 28px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--body-ink);
  }
  .ppe-note b { color: var(--navy); }
  .ppe-note .ppe-note-mark {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 600;
    color: var(--orange);
    flex-shrink: 0;
  }

  .ppe-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
  }
  .ppe-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 10px 18px 10px 14px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    text-align: left;
    transition: border-color .2s, background .2s, transform .15s;
  }
  .ppe-pill:hover { border-color: var(--pillc, var(--navy)); background: var(--paper); }
  .ppe-pill-dot {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--pillc, var(--navy));
    color: #fff;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .ppe-pill[aria-expanded="true"] {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
  }
  .ppe-pill[aria-expanded="true"] .ppe-pill-dot { background: #fff; color: var(--navy); }

  .ppe-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease;
  }
  .ppe-panel-inner { padding: 30px 2px 46px; }

  .ppe-block-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 6px;
  }
  .ppe-block-num {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 13px;
    color: var(--pillc, var(--orange));
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  h3.ppe-block-title {
    font-family: "Fraunces", serif;
    font-weight: 500;
    font-size: 25px;
    color: var(--navy);
    margin: 0;
  }
  p.ppe-block-proposito {
    font-size: 15px;
    line-height: 1.55;
    color: var(--body-ink);
    max-width: 720px;
    margin: 10px 0 26px;
  }

  .ppe-criterios {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 6px 22px 10px;
    margin-bottom: 22px;
  }
  .ppe-criterios-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
    padding: 16px 0 12px;
  }
  .ppe-criterios-sub {
    font-size: 12.5px;
    color: var(--grey);
    font-style: italic;
    margin: -8px 0 12px;
  }

  details.crit-item { border-top: 1px solid var(--line); }
  details.crit-item summary {
    list-style: none;
    cursor: pointer;
    padding: 13px 2px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-family: "IBM Plex Sans", sans-serif;
  }
  details.crit-item summary::-webkit-details-marker { display: none; }
  .crit-num {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--pillc, var(--navy));
    color: #fff;
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    transform: translateY(2px);
  }
  .crit-name { font-size: 14.5px; font-weight: 600; color: var(--navy); flex: 1; line-height: 1.4; }
  .crit-cta {
    font-size: 12px; font-weight: 500; color: var(--grey); flex-shrink: 0;
    display: flex; align-items: center; gap: 5px;
  }
  details.crit-item .gl-plus { font-size: 17px; color: var(--orange); transition: transform .25s; flex-shrink: 0; }
  details.crit-item[open] .gl-plus { transform: rotate(45deg); }
  ul.crit-acciones { margin: 0 0 16px; padding: 0 0 0 20px; }
  ul.crit-acciones li { font-size: 13.5px; line-height: 1.55; color: var(--body-ink); margin-bottom: 7px; }
  ul.crit-acciones li:last-child { margin-bottom: 0; }
  ul.crit-acciones li b { color: var(--navy); }

  details.ppe-script {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-bottom: 30px;
  }
  details.ppe-script summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy);
  }
  details.ppe-script summary::-webkit-details-marker { display: none; }
  details.ppe-script .gl-plus { font-size: 18px; color: var(--orange); transition: transform .25s; }
  details.ppe-script[open] .gl-plus { transform: rotate(45deg); }
  .ppe-script-body {
    border-top: 1px solid var(--line);
    padding: 18px 24px 22px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--body-ink);
    white-space: pre-wrap;
  }
  .ppe-script-body .sd { color: var(--navy); font-weight: 600; }
  .ppe-script-body .sa { color: var(--grey); font-style: italic; }

  .ppe-script-list {
    white-space: normal;
    padding: 14px 16px 16px;
    border-top: 1px solid var(--line);
    background: var(--paper-2);
  }
  details.ppe-script-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    margin: 0 0 10px;
  }
  details.ppe-script-item:last-of-type { margin-bottom: 0; }
  details.ppe-script-item summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "IBM Plex Sans", sans-serif;
  }
  details.ppe-script-item summary::-webkit-details-marker { display: none; }
  details.ppe-script-item .gl-plus { margin-left: auto; font-size: 17px; color: var(--orange); transition: transform .25s; flex-shrink: 0; }
  details.ppe-script-item[open] .gl-plus { transform: rotate(45deg); }
  .ppe-script-item-body {
    border-top: 1px solid var(--line);
    padding: 16px 18px 18px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--body-ink);
    white-space: pre-wrap;
  }
  .ppe-script-item-body.is-plan { white-space: normal; }
  .ppe-script-item-body .sd { color: var(--navy); font-weight: 600; }
  .ppe-script-item-body .sa { color: var(--grey); font-style: italic; }

  .script-tag {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 100px;
  }
  .tag-modelo { background: var(--c1-soft); color: #1D7A7A; }
  .tag-caso { background: #FBE6DC; color: #A8431A; }
  .tag-plan { background: var(--c4-soft); color: #3E4E9C; }
  .script-item-ctx {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--grey);
    font-style: italic;
  }

  .script-analysis-prompt {
    margin: 18px 0 0;
    padding: 12px 16px;
    background: #FBE6DC;
    border-left: 3px solid #A8431A;
    border-radius: 4px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--body-ink);
    white-space: normal;
  }
  .script-analysis-prompt b { color: #A8431A; }

  .plan-objetivo {
    background: var(--paper-2);
    border-left: 3px solid var(--pillc, var(--navy));
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--body-ink);
  }
  .plan-objetivo b { color: var(--navy); }
  .plan-block { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
  .plan-block:first-of-type { border-top: none; padding-top: 4px; }
  .plan-time {
    flex-shrink: 0;
    width: 64px;
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 13px;
    color: var(--pillc, var(--orange));
    padding-top: 2px;
  }
  .plan-body { flex: 1; }
  .plan-momento { font-size: 14.5px; font-weight: 600; color: var(--navy); margin: 0 0 6px; }
  ul.plan-detalle { margin: 0; padding-left: 18px; }
  ul.plan-detalle li { font-size: 13.5px; line-height: 1.55; color: var(--body-ink); margin-bottom: 5px; }
  ul.plan-detalle li:last-child { margin-bottom: 0; }
  ul.plan-detalle li b { color: var(--navy); }

  .ppe-hint {
    margin: 16px 0 6px;
    font-size: 13px;
    color: var(--grey);
    text-align: center;
    font-style: italic;
  }

  /* ---------- Pauta retroalimentación — formato institucional USS ---------- */
  details.ppe-pauta {
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
  }
  details.ppe-pauta > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    user-select: none;
  }
  details.ppe-pauta > summary::-webkit-details-marker { display: none; }
  details.ppe-pauta > summary .gl-plus { font-size: 18px; color: var(--orange); transition: transform .25s; flex-shrink: 0; }
  details.ppe-pauta[open] > summary .gl-plus { transform: rotate(45deg); }
  .ppe-pauta-body {
    padding: 0 16px 20px;
    border-top: 1px solid var(--line);
  }
  .ppe-pauta-context {
    font-size: 13px;
    color: var(--body-ink);
    line-height: 1.62;
    background: #F3F7FF;
    border-left: 3px solid var(--navy);
    padding: 11px 16px;
    border-radius: 0 4px 4px 0;
    margin: 16px 0 18px;
  }
  .ppe-pauta-section-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--grey);
    margin: 0 0 8px;
  }
  .ppe-pauta-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--body-ink);
    background: #FAFAF7;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 14px 18px;
    margin-bottom: 18px;
  }
  .ppe-pauta-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
  }
  .ppe-pauta-table th {
    background: var(--navy);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    text-align: left;
    padding: 10px 14px;
    vertical-align: top;
  }
  .ppe-pauta-table th em { font-weight: 400; font-style: italic; }
  .ppe-pauta-table td {
    padding: 11px 14px;
    border: 1px solid var(--line);
    vertical-align: top;
  }
  .ppe-pauta-table tr:nth-child(even) td { background: #FAFAF7; }
  .ppe-pauta-table td:first-child {
    width: 34%;
    color: var(--navy);
    font-weight: 600;
  }
  .ppe-pauta-table td:last-child { color: var(--body-ink); }
  .ppe-pauta-table ul { margin: 6px 0 0 16px; padding: 0; }
  .ppe-pauta-table ul li { margin-bottom: 5px; }
  .ppe-pauta-table ul li:last-child { margin-bottom: 0; }
  @media (max-width: 600px) {
    .ppe-pauta-table thead { display: none; }
    .ppe-pauta-table, .ppe-pauta-table tbody, .ppe-pauta-table tr, .ppe-pauta-table td { display: block; width: 100%; }
    .ppe-pauta-table td:first-child { background: #E8EBF5; border-bottom: none; }
    .ppe-pauta-table td:first-child { width: 100%; }
  }

  /* ---------- Syllabus ---------- */
  section.syllabus-section {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
  }
  .syllabus-lede {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--body-ink);
    max-width: 700px;
    margin: 0 0 34px;
  }
  .syl-steps {
    display: flex;
    flex-direction: column;
    gap: 38px;
  }
  .syl-step {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
  .syl-step-content { min-width: 0; }
  .syl-step-num {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 26px;
    color: var(--orange);
    line-height: 1;
    margin: 0;
  }
  .syl-step-title {
    font-family: "Fraunces", serif;
    font-weight: 500;
    font-size: 18.5px;
    color: var(--navy);
    margin: 0 0 10px;
    line-height: 1.3;
  }
  .syl-step-body {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--body-ink);
    margin: 0;
    max-width: 760px;
  }
  .syl-timelines {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 20px;
    min-width: 0;
  }
  .syl-tl-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px 26px 22px;
    min-width: 0;
  }
  .syl-tl-title {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--navy);
    margin: 0 0 6px;
  }
  .syl-tl-desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--body-ink);
    margin: 0 0 18px;
    max-width: 720px;
  }
  .syl-tl-scroll {
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .syl-grid {
    display: grid;
    row-gap: 8px;
    column-gap: 3px;
    align-items: stretch;
  }
  .syl-row-label {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 12.5px;
    color: var(--navy);
    padding-right: 10px;
    margin: 0;
    align-self: center;
    line-height: 1.3;
  }
  .syl-row-label small {
    display: block;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 11px;
    color: var(--grey);
    margin-top: 2px;
  }
  .syl-week-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    margin: 0;
  }
  .syl-week-num {
    font-size: 11px;
    font-weight: 600;
    color: var(--grey);
    text-align: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    margin: 0;
  }
  .syl-bar {
    height: 32px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 0 5px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
  }
  .syl-bar.wrap { white-space: normal; }
  .syl-bar.grey { background: var(--grey); }
  .syl-bar.dashed {
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.75);
  }
  .syl-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--body-ink);
  }
  .syl-legend .sw {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 5px;
    vertical-align: -1px;
  }
  .syl-foot {
    margin-top: 10px;
    font-size: 12px;
    color: var(--orange);
    font-weight: 600;
  }

  /* ---------- Glossary ---------- */
  section.glossary {
    margin-top: 64px;
  }
  .section-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 22px;
  }
  h2.section-title {
    font-family: "Fraunces", serif;
    font-weight: 500;
    font-size: 27px;
    color: var(--navy);
    margin: 0;
  }
  .section-head .rule { flex: 1; height: 1px; background: var(--line); }

  .gl-category {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    color: var(--grey);
    margin: 34px 0 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }
  .gl-category:first-child { margin-top: 0; }
  details.gl-item {
    border-bottom: 1px solid var(--line);
  }
  details.gl-item summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 4px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    font-family: "IBM Plex Sans", sans-serif;
  }
  details.gl-item summary::-webkit-details-marker { display: none; }
  .gl-term { font-size: 16px; font-weight: 600; color: var(--navy); }
  .gl-plus {
    font-size: 18px;
    color: var(--orange);
    transition: transform .25s;
    flex-shrink: 0;
  }
  details.gl-item[open] .gl-plus { transform: rotate(45deg); }
  .gl-def {
    padding: 0 4px 18px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--body-ink);
    max-width: 680px;
  }

  /* ---------- Glossary concept map ---------- */
  .gl-map-hint {
    text-align: center;
    font-size: 13.5px;
    font-style: italic;
    color: var(--grey);
    margin: -6px 0 20px;
  }
  .gl-map-root { display: flex; justify-content: center; margin-bottom: 18px; }
  .gl-map-svg { width: 100%; max-width: 560px; height: auto; overflow: visible; }
  .gl-map-spoke { stroke: var(--line); stroke-width: 1.5; }
  .gl-hub-circle { fill: var(--inst-blue); }
  .gl-hub-label { fill: var(--paper); font-family: "Fraunces", serif; font-weight: 600; text-anchor: middle; pointer-events: none; }
  .gl-node-group { cursor: pointer; outline: none; }
  .gl-node-circle {
    fill: var(--paper);
    stroke: var(--gl-accent);
    stroke-width: 2.5;
    transform-origin: center;
    transform-box: fill-box;
    transition: transform .2s ease, filter .2s ease, fill .2s ease;
  }
  .gl-node-group:hover .gl-node-circle { transform: scale(1.03); }
  .gl-node-group.active .gl-node-circle {
    fill: var(--gl-accent);
    transform: scale(1.06);
    filter: drop-shadow(0 8px 16px rgba(14,42,71,.25));
  }
  .gl-node-label {
    fill: var(--navy);
    font-family: "Fraunces", serif;
    font-weight: 600;
    text-anchor: middle;
    pointer-events: none;
    transition: fill .2s ease;
  }
  .gl-node-count {
    fill: var(--grey);
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 11px;
    text-anchor: middle;
    pointer-events: none;
    transition: fill .2s ease;
  }
  .gl-node-group.active .gl-node-label,
  .gl-node-group.active .gl-node-count { fill: var(--paper); }
  .gl-node-group.active .gl-node-count { opacity: .85; }
  .gl-node-group:focus-visible .gl-node-circle { stroke-width: 4; }
  .gl-panel {
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px 24px 8px;
  }
  .gl-panel-title {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    margin: 0 0 8px;
  }
  .gl-cat-panel { display: none; }
  .gl-cat-panel.active { display: block; }
  .gl-cat-panel details.gl-item:last-child { border-bottom: none; }

  /* ---------- Glossary inline references (tooltip + jump-to-glossary) ---------- */
  .gl-ref {
    text-decoration: underline dotted 1.5px;
    text-decoration-color: var(--c2);
    text-underline-offset: 3px;
    cursor: pointer;
    color: inherit;
    border-radius: 2px;
  }
  .gl-ref:hover, .gl-ref:focus-visible {
    background: var(--c2-soft);
    text-decoration-color: var(--navy);
    outline: none;
  }
  .gl-ref.gl-flash { animation: glFlash 1.6s ease; }
  @keyframes glFlash {
    0%, 100% { background: transparent; }
    15% { background: #FBE6D2; }
  }
  details.gl-item.gl-flash-target { animation: glFlashItem 1.8s ease; }
  @keyframes glFlashItem {
    0%, 100% { background: transparent; }
    15% { background: #FBE6D2; }
  }
  .gl-tooltip {
    position: fixed;
    z-index: 500;
    max-width: 320px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(14,42,71,.16);
    padding: 14px 16px;
    font-family: "IBM Plex Sans", sans-serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
  }
  .gl-tooltip.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .gl-tooltip-term {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--navy);
    margin: 0 0 6px;
  }
  .gl-tooltip-def {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--body-ink);
    margin: 0;
  }
  .gl-tooltip-link {
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--orange);
  }

  /* ---------- Mejora continua ---------- */
  section.mejora-continua { margin-top: 70px; }
  .mc-card {
    background: linear-gradient(127deg, #2B5FA8 0%, #2C8F8C 58%, #2C9E72 100%);
    border-radius: 18px;
    padding: 46px 46px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 38px;
    align-items: center;
    box-shadow: 0 18px 40px rgba(20,60,80,0.20);
  }
  .mc-eyebrow {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.85);
    margin: 0 0 10px;
  }
  .mc-title {
    font-family: "Fraunces", serif;
    font-weight: 600;
    font-size: 32px;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.15;
  }
  .mc-body {
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 14px;
    color: rgba(255,255,255,0.96);
    max-width: 480px;
  }
  .mc-invite {
    background: rgba(255,255,255,0.14);
    border-radius: 8px;
    padding: 12px 14px;
    margin: 4px 0 18px;
  }
  .mc-invite b { color: #fff; }
  .mc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #235E8F;
    font-weight: 600;
    font-size: 13.5px;
    padding: 11px 22px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s;
  }
  .mc-link:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
  .mc-qr-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
  }
  .mc-qr { width: 160px; height: 160px; display: block; border-radius: 4px; }
  .mc-qr-caption {
    margin: 12px 0 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--navy);
    text-align: center;
    max-width: 160px;
    line-height: 1.4;
  }

  /* ---------- Footer ---------- */
  footer {
    margin-top: 70px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--grey);
    line-height: 1.6;
  }
  footer .note {
    font-style: italic;
    color: var(--body-ink);
    margin-bottom: 10px;
    font-size: 13.5px;
  }

  /* ---------- Scroll progress ---------- */
  .scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--orange), var(--inst-blue));
    z-index: 60;
    transition: width .08s linear;
  }

  /* ---------- Sticky site nav ---------- */
  .site-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 55;
    background: rgba(248,245,239,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
    will-change: transform;
  }
  .site-nav.is-stuck { transform: translateY(0); box-shadow: 0 6px 20px rgba(14,42,71,0.10); }
  .site-nav-inner {
    max-width: 980px; margin: 0 auto; padding: 10px 28px;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 54px;
  }
  .site-nav-brand {
    font-family: "Fraunces", serif; font-weight: 600; font-style: italic;
    font-size: 14px; line-height: 1.3; color: var(--navy); text-decoration: none;
    margin-right: 24px;
  }
  /* ---------- Back to top ---------- */
  .back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 55;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: #fff; border: none;
    font-size: 18px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(12px) scale(.85);
    pointer-events: none;
    transition: opacity .25s, transform .25s, background .2s;
    box-shadow: 0 8px 20px rgba(14,42,71,0.25);
  }
  .back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .back-to-top:hover { background: var(--orange); }

  /* ---------- Reveal on scroll ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }

  /* ---------- Panel content fade on phase/PPE switch ---------- */
  .panel-dims { transition: opacity .28s ease, transform .28s ease; }
  .panel-dims.fading { opacity: 0; transform: translateY(4px); }

  @media (max-width: 620px) {
    h1.title { font-size: 36px; }
    .site-nav-inner { padding: 8px 20px; min-height: 48px; }
    .site-nav-brand { font-size: 12px; margin-right: 14px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .panel-dims, .site-nav, .back-to-top { transition: none; }
  }

/* ================================================================
   SHELL MULTIPÁGINA — añadido al migrar de archivo único a 7 páginas
   (nav siempre visible, stepper de progreso, menú móvil, anterior/siguiente,
   portada). Lo de arriba es el CSS original, intacto; esto solo se agrega.
   ================================================================ */

/* ---------- Nav: ahora siempre visible (ya no se oculta hasta hacer scroll) ---------- */
.site-nav {
  transform: translateY(0) !important;
}
.site-nav.is-stuck { box-shadow: 0 6px 20px rgba(14,42,71,0.10); }

/* ---------- Stepper de progreso narrativo (6 nodos) — también la navegación principal ---------- */
.progress-stepper {
  position: relative;
  max-width: 980px; margin: 0 auto; padding: 16px 28px 14px;
  display: flex; align-items: flex-start; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.progress-stepper::-webkit-scrollbar { display: none; }
.stepper-line, .stepper-line-fill {
  position: absolute; left: 48px; right: 48px; top: 28px; height: 2px;
}
.stepper-line { background: var(--line); }
.stepper-line-fill {
  background: linear-gradient(90deg, var(--orange), var(--inst-blue));
  width: 0%; transition: width .3s ease;
}
.stepper-node {
  position: relative; z-index: 1;
  flex: 1 0 124px; min-width: 124px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; padding-top: 2px; cursor: pointer;
}
.stepper-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: var(--paper); color: var(--grey);
  border: 2px solid var(--grey);
  transition: all .2s ease;
}
.stepper-label {
  font-size: 11.5px; font-weight: 600; color: var(--grey);
  text-align: center; line-height: 1.25; max-width: 116px;
  transition: color .2s ease;
}
.stepper-node.is-visited .stepper-dot {
  background: var(--stepc, var(--orange)); border-color: var(--stepc, var(--orange)); color: #fff;
}
.stepper-node.is-visited .stepper-label { color: var(--body-ink); }
.stepper-node.is-active .stepper-dot {
  width: 34px; height: 34px; font-size: 13px;
  background: var(--stepc, var(--navy)); border-color: var(--stepc, var(--navy)); color: #fff;
  box-shadow: 0 0 0 5px rgba(14,42,71,0.12);
}
.stepper-node.is-active .stepper-label { color: var(--navy); font-weight: 700; }
.stepper-node:hover .stepper-label { color: var(--navy); }
.stepper-node:hover .stepper-dot { border-color: var(--navy); }

.stepper-subdots {
  display: flex; gap: 4px; margin-top: 2px;
}
.stepper-subdot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--line);
}
.stepper-subdot.is-active { background: var(--orange); }

/* Versión grande del stepper, usada solo en la portada como "mapa del recorrido" */
#heroStepper.progress-stepper {
  background: none; border-top: none; padding: 8px 0 0; margin-top: 18px;
  position: static;
}
#heroStepper .stepper-line, #heroStepper .stepper-line-fill { top: 34px; left: 60px; right: 60px; }
#heroStepper .stepper-node { flex: 1 0 130px; }
#heroStepper .stepper-dot { width: 36px; height: 36px; font-size: 14px; }
#heroStepper .stepper-node.is-active .stepper-dot { width: 42px; height: 42px; font-size: 15px; }
#heroStepper .stepper-label { font-size: 12.5px; max-width: 124px; }

/* ---------- Body offset for fixed nav + stepper (ahora presente en las 7 páginas) ----------
   --nav-h se mide en vivo en shell.js (nav.offsetHeight) porque la altura real del nav varía:
   marca larga que puede envolver en 2 líneas, subdots de PPE bajo el nodo activo, carga de fuente.
   Los valores fijos de abajo son solo el fallback para el primer paint antes de que corra el JS. */
body { padding-top: var(--nav-h, 106px); }

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  body { padding-top: var(--nav-h, 110px); }
  .stepper-node { flex: 1 0 96px; min-width: 96px; }
  .stepper-label { font-size: 10.5px; max-width: 88px; }
  .progress-stepper {
    mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
  }
}

/* ---------- Anterior / Siguiente ---------- */
.page-nav {
  max-width: 980px; margin: 36px auto 0; padding: 0 28px;
  display: flex; justify-content: space-between; gap: 16px;
}
.page-nav-btn {
  flex: 1; max-width: 320px; text-decoration: none;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .2s, transform .2s;
}
.page-nav-btn:hover { border-color: var(--orange); transform: translateY(-1px); }
.page-nav-next { margin-left: auto; text-align: right; }
.page-nav-dir { font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .04em; }
.page-nav-name { font-size: 14px; font-weight: 600; color: var(--navy); }

@media (max-width: 620px) {
  .page-nav {
    position: sticky; bottom: 0; z-index: 40;
    background: var(--paper); border-top: 1px solid var(--line);
    margin: 24px 0 0; padding: 10px 14px;
  }
  .page-nav-btn { padding: 8px 12px; border-radius: 8px; }
  .page-nav-name { font-size: 12.5px; }
}

/* ---------- Portada (home) ---------- */
.home-hero {
  text-align: center; padding: 18px 0 8px;
}
.home-hero .kicker { justify-content: center; display: flex; }
.home-scope {
  display: inline-flex; gap: 10px; align-items: center;
  margin-top: 14px; padding: 7px 16px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: 13px; color: var(--body-ink);
}
.home-cta-row {
  display: flex; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap;
}
.home-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  background: var(--navy); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px;
  transition: background .2s, transform .2s;
}
.home-cta:hover { background: var(--orange); transform: translateY(-1px); }
.home-cta.secondary {
  background: transparent; color: var(--navy); border: 1.5px solid var(--line);
}
.home-cta.secondary:hover { border-color: var(--orange); color: var(--orange); background: transparent; }
.home-map-label {
  text-align: center; font-size: 13px; color: var(--grey); margin: 30px 0 -6px;
}
