:root {
  --blue: #2966b1;
  --blue-mid: #2581c4;
  --blue-dark: #1a4a8a;
  --gold: #e8af3f;
  --gold-soft: #f2ca8b;

  --ink: #0f1a2e;
  --ink-soft: #3d4f6a;
  --paper: #fafcff;
  --white: #ffffff;

  --success: #2e7d32;
  --success-light: #e8f5e9;
  --error: #c62828;
  --error-light: #ffebee;
  --locked: #9e9e9e;
  --locked-bg: #f5f5f5;

  --font-primary: "Nunito", system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;

  --shadow: 0 2px 12px rgba(15, 26, 46, 0.08);
  --shadow-lg: 0 4px 24px rgba(15, 26, 46, 0.12);

  --container: 720px;
  --header-height: 60px;
  --progress-height: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-mid);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.375rem, 3vw + 0.4rem, 1.875rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.125rem, 2vw + 0.3rem, 1.375rem);
  margin-bottom: 0.5rem;
}

p {
  font-size: clamp(0.9375rem, 1vw + 0.5rem, 1.0625rem);
  margin-bottom: 1rem;
}

.lead {
  color: var(--ink-soft);
  max-width: 38rem;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 1rem;
  background: linear-gradient(135deg, var(--ink), var(--blue-dark));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.app-header__brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.app-header__brand:hover {
  color: var(--white);
  text-decoration: none;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.progress {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 28px;
  padding: 0 1rem;
  background: var(--paper);
  border-bottom: 1px solid rgba(15, 26, 46, 0.06);
}

.progress__track {
  position: relative;
  flex: 1;
  height: var(--progress-height);
  overflow: hidden;
  background: rgba(15, 26, 46, 0.08);
  border-radius: 2px;
}

.progress__fill {
  height: 100%;
  min-width: 0;
  background: linear-gradient(90deg, var(--blue-mid), var(--gold));
  border-radius: 2px;
  transition: width 0.35s ease;
}

.progress__label {
  min-width: 2.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: right;
}

.page-shell {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 2rem 1rem;
}

.section {
  padding: 2rem 0;
}

.divider {
  height: 1px;
  margin: 2rem 0;
  border: 0;
  background: rgba(15, 26, 46, 0.08);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 2rem;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:hover {
  text-decoration: none;
}

.button:active {
  transform: scale(0.98);
}

.button--primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 2px 8px rgba(232, 175, 63, 0.3);
}

.button--primary:hover {
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(232, 175, 63, 0.4);
}

.button--secondary {
  color: var(--blue);
  border: 2px solid var(--blue);
  background: transparent;
}

.button--secondary:hover {
  color: var(--white);
  background: var(--blue);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
}

.field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field__control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid rgba(15, 26, 46, 0.15);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field__control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(41, 102, 177, 0.12);
  outline: 0;
}

.choice-list {
  display: grid;
  gap: 0.5rem;
}

.choice-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1.5px solid rgba(15, 26, 46, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.choice-card:hover {
  background: rgba(41, 102, 177, 0.02);
  border-color: rgba(41, 102, 177, 0.3);
}

.choice-card input {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  accent-color: var(--blue);
}

.choice-card strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
}

.choice-card small {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(15, 26, 46, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  white-space: nowrap;
}

.badge--step {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue));
}

.badge--success {
  color: var(--success);
  background: var(--success-light);
}

.callout {
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  background: rgba(41, 102, 177, 0.05);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.callout strong {
  display: block;
  margin-bottom: 0.25rem;
}

.callout p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .page-shell {
    padding: 3rem 2rem;
  }
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: none;
  background: rgba(15, 26, 46, 0.5);
}

.menu-overlay--visible {
  display: block;
}

.step-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 280px;
  height: 100vh;
  padding: 1.5rem 0;
  overflow-y: auto;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.step-menu--open {
  transform: translateX(0);
}

.step-menu__title {
  padding: 0 1.25rem 0.75rem;
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-menu__list {
  display: grid;
}

.step-menu__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink);
  text-align: left;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.step-menu__item:hover {
  background: rgba(41, 102, 177, 0.04);
}

.step-menu__item--current {
  font-weight: 700;
  color: var(--ink);
  background: rgba(232, 175, 63, 0.08);
  border-left-color: var(--gold);
}

.step-menu__item--completed {
  color: var(--ink);
}

.step-menu__item--completed .step-menu__icon {
  color: var(--success);
}

.step-menu__item--current .step-menu__icon {
  color: var(--gold);
}

.step-menu__item--locked {
  color: var(--locked);
  cursor: default;
}

.step-menu__item--locked:hover {
  background: transparent;
}

.step-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.choice-card--selected {
  border-color: var(--blue);
  background: rgba(41, 102, 177, 0.04);
}

@media (min-width: 768px) {
  .step-menu {
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
  }
}

:root {
  --header-height: 60px;
}

.app-header__logo {
  width: 90px;
  height: auto;
  max-height: 38px;
}

.app-header {
  justify-content: flex-start;
}

.app-header__brand {
  display: flex;
  align-items: center;
}

.app-header__logo {
  display: block;
  width: 70px;
  height: auto;
  max-height: none;
}

.app-header {
  justify-content: space-between;
}

.icon-button {
  margin-left: auto;
}

.app-header {
  min-height: 60px;
  padding: 0 1rem;
  justify-content: space-between;
}

.app-header__brand {
  display: flex;
  align-items: center;
  height: 44px;
}

.app-header__logo {
  display: block;
  width: 115px;
  height: auto;
  max-height: none;
}

.app-header__brand {
  margin-left: -34px;
}

.icon-button {
  width: 44px;
  height: 44px;
  margin-left: auto;
  font-size: 1.75rem;
  line-height: 1;
}

.button-row--center {
  justify-content: center;
}

.app-header__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
}

.app-header__breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.app-header__breadcrumb a:hover {
  color: #fff;
  text-decoration: none;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.breadcrumb-current {
  min-width: 0;
  overflow: hidden;
  color: var(--gold);
  text-overflow: ellipsis;
}
3. Añade esto a v3/app.js
Pégalo antes del DOMContentLoaded final:
function getBreadcrumbLabel() {
  const currentPage = getCurrentPageName();
  const currentStep = steps.find((step) => step.href === currentPage);

  if (!currentStep) return "";

  return currentStep.label;
}

function renderBreadcrumb() {
  const breadcrumb = document.querySelector(".app-header__breadcrumb");

  if (!breadcrumb) return;

  const label = getBreadcrumbLabel();

  if (!label || label === "Inicio") {
    breadcrumb.innerHTML = "";
    return;
  }

  breadcrumb.innerHTML = `
    <a href="inicio.html">Inicio</a>
    <span class="breadcrumb-separator">›</span>
    <span class="breadcrumb-current" aria-current="page">${label}</span>
  `;
}

.menu a,
.menu button,
.nav a,
.nav button,
.step-menu a,
.step-menu button,
.sidebar a,
.sidebar button {
  text-transform: none;
}

  .site-footer {
  padding: 2rem 1rem;
  margin-top: 2rem;
  text-align: center;
  border-top: 1px solid rgba(15, 26, 46, 0.06);
}

.site-footer__disclaimer {
  max-width: 720px;
  margin: 0 auto 1rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  line-height: 1.55;
  opacity: 0.75;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.site-footer__links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--blue);
  text-decoration: underline;
}
