/* Legality Laboral · tema · sistema «plano de línea» */
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/overpass-latin-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --paper: oklch(0.965 0.015 85);
  --surface: oklch(0.99 0.006 85);
  --ink: oklch(0.22 0.028 250);
  --ink-2: oklch(0.3 0.03 250);
  --muted: oklch(0.43 0.025 250);
  --border: oklch(0.82 0.025 80);
  --copper: oklch(0.43 0.105 45);
  --copper-hover: oklch(0.37 0.1 45);
  --on-copper: oklch(0.98 0.008 85);
  --rest-line: oklch(0.84 0.014 250);

  --l-despidos: oklch(0.46 0.15 258);
  --l-salarios: oklch(0.47 0.12 150);
  --l-sanciones: oklch(0.49 0.105 95);
  --l-acoso: oklch(0.47 0.16 345);
  --l-incapacidad: oklch(0.47 0.09 210);

  --font: "Overpass", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.875rem, 3.2vw, 2.25rem);
  --step-4: clamp(2.375rem, 5.6vw, 3.5rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 75rem;
  --line-w: 8px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--muted) var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--copper);
}
::selection { background: oklch(0.86 0.06 45); color: var(--ink); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Aviso de revisión: solo existe en la maqueta */
.review-bar { background: var(--ink); color: oklch(0.9 0.02 85); font-size: var(--step--1); }
.review-bar .wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; padding-block: 0.5rem; }
.review-bar strong { color: oklch(0.86 0.07 60); font-weight: 600; }
.pending {
  display: inline-block; font-size: var(--step--1); font-weight: 600; line-height: 1.3;
  color: var(--copper); border: 1px dashed currentColor; padding: 0.1rem 0.45rem; border-radius: 4px;
  vertical-align: 0.1em;
}

/* Cabecera */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand svg { flex: none; }
.brand small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.975rem; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 2px; }
.nav .nav-link { padding-block: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out;
}
.btn-primary { background: var(--copper); color: var(--on-copper); }
.btn-primary:hover { background: var(--copper-hover); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--surface); }
.btn svg { flex: none; }

@media (max-width: 52rem) {
  .nav .nav-link { display: none; }
  .site-header .btn { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
}

/* Portada · cabecera con plano */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--step-4); max-width: 12ch; }
.hero .lede { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 2rem; }
.phone { font-weight: 800; font-size: 1.125rem; text-decoration: none; }
.phone-note { display: block; margin-top: 0.75rem; font-size: var(--step--1); color: var(--muted); }

.plano { background: var(--surface); border: 1px solid var(--border); padding: clamp(1rem, 2.5vw, 1.75rem); }
.plano-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.plano-head h2 { font-size: var(--step-1); }
.plano-head p { font-size: var(--step--1); color: var(--muted); }
.plano-map { position: relative; aspect-ratio: 640 / 380; }
.plano-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plano-map .route { fill: none; stroke: var(--rest-line); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; transition: stroke 180ms ease-out, opacity 180ms ease-out; }
.plano-map .stop { fill: var(--surface); stroke: var(--rest-line); stroke-width: 4; transition: stroke 180ms ease-out; }
.plano-map [data-line].is-active .route { stroke: var(--c); }
.plano-map [data-line].is-active .stop { stroke: var(--c); }
.plano-map .hub { fill: var(--copper); }
.plano-map .hub-text { fill: var(--on-copper); font: 800 17px var(--font); letter-spacing: 0.02em; }
.line-btn {
  position: absolute; left: 0; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.3rem 0.85rem 0.3rem 0.35rem;
  border: 2px solid var(--rest-line); border-radius: 999px; background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 0.9375rem; cursor: pointer; white-space: nowrap;
  transition: border-color 180ms ease-out, background-color 180ms ease-out, color 180ms ease-out;
}
.line-btn .chip { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--c); color: #fff; font-size: 0.8125rem; font-weight: 800; }
.line-btn:hover { border-color: var(--c); }
.line-btn[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.line-btn[aria-pressed="true"] .chip { background: #fff; color: var(--c); }

/* Selector y tira de línea */
.journey { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--surface); border-block: 1px solid var(--border); }
.journey-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); }
.journey h2 { font-size: var(--step-3); }
.journey-head > p { color: var(--ink-2); max-width: 60ch; align-self: end; }
.journey-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); margin-top: 2.5rem; align-items: start; }
.picker { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.pick {
  width: 100%; display: grid; grid-template-columns: 0.5rem 1fr auto; align-items: center; gap: 1rem;
  min-height: 3.5rem; padding: 0.75rem 1rem 0.75rem 0; text-align: left;
  border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--ink);
  font: inherit; font-size: 1.0625rem; font-weight: 600; cursor: pointer;
}
.pick::before { content: ""; width: 0.5rem; height: 100%; min-height: 2.25rem; background: var(--c); border-radius: 4px; opacity: 0.35; transition: opacity 180ms ease-out; }
.pick .pick-line { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.pick:hover::before { opacity: 0.7; }
.pick[aria-pressed="true"] { font-weight: 800; }
.pick[aria-pressed="true"]::before { opacity: 1; }
.pick[aria-pressed="true"] .pick-line { color: var(--c); }

.strip { --c: var(--l-despidos); position: relative; padding: 0.25rem 0 0 0; }
.strip-sign { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--c); color: #fff; padding: 0.45rem 1rem 0.45rem 0.5rem; border-radius: 999px; font-weight: 800; transition: background-color 180ms ease-out; }
.strip-sign .chip { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #fff; color: var(--c); font-size: 0.8125rem; }
.stops { list-style: none; margin: 1.75rem 0 0; padding: 0; position: relative; }
.stops::before { content: ""; position: absolute; left: 11px; top: 0.6rem; bottom: 2.4rem; width: var(--line-w); background: var(--c); border-radius: 4px; transition: background-color 180ms ease-out; }
.stop-item { position: relative; padding: 0 0 2rem 3.25rem; }
.stop-item::before { content: ""; position: absolute; left: 3px; top: 0.3rem; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 5px solid var(--c); box-sizing: border-box; transition: border-color 180ms ease-out; }
.stop-item h3 { font-size: var(--step-1); }
.stop-item p, .stop-item ul { margin-top: 0.5rem; color: var(--ink-2); max-width: 62ch; }
.stop-item ul { padding-left: 1.1rem; }
.stop-item li + li { margin-top: 0.2rem; }
.stop-item.hub-stop::before { left: -3px; top: 0; width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--copper); }
.stop-item.hub-stop { padding-bottom: 0; }
.stop-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; margin-top: 0.85rem; }
.cite { display: inline-flex; align-items: baseline; gap: 0.4rem; font-size: var(--step--1); font-weight: 600; color: var(--ink); }
.cite::before { content: "BOE"; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.06em; padding: 0.05rem 0.35rem; border: 1.5px solid currentColor; border-radius: 999px; }

/* Bloques de lectura */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); }
.split h2 { font-size: var(--step-3); }
.prose p + p { margin-top: 1rem; }
.prose { max-width: 66ch; color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.25rem; max-width: 62ch; }
.checklist li { position: relative; padding: 0.7rem 0 0.7rem 2.25rem; border-bottom: 1px solid var(--border); font-weight: 600; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--ink); background: var(--surface); }

/* Quién atiende */
.person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.portrait-slot {
  aspect-ratio: 4 / 5; border: 2px dashed var(--border); display: grid; place-items: center; text-align: center;
  padding: 1.5rem; color: var(--muted); font-size: var(--step--1); background: var(--surface);
}
.facts { margin: 1.5rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.5rem; }
.facts dt { font-weight: 800; }
.facts dd { margin: 0; color: var(--ink-2); }

/* Consulta: el transbordo */
.consulta { background: var(--ink); color: oklch(0.95 0.012 85); padding-block: clamp(3.5rem, 7vw, 6rem); }
.consulta .sign { display: inline-flex; align-items: center; gap: 0.75rem; }
.consulta .sign i { width: 2.25rem; height: 2.25rem; border-radius: 12px; background: var(--copper); display: block; }
.consulta h2 { font-size: var(--step-3); color: #fff; }
.consulta .prose { color: oklch(0.88 0.015 85); margin-top: 1.25rem; }
.consulta .split { align-items: start; }
.consulta .checklist li { border-color: oklch(0.38 0.03 250); color: oklch(0.95 0.012 85); }
.consulta .checklist li::before { border-color: var(--on-copper); background: var(--ink); }
.consulta .pending { color: oklch(0.82 0.08 60); }
.consulta .btn-ghost { border-color: oklch(0.95 0.012 85); color: oklch(0.95 0.012 85); }
.consulta .btn-ghost:hover { background: oklch(0.95 0.012 85); color: var(--ink); }
.channels { display: grid; gap: 1rem; margin-top: 1.75rem; }
.channel { border-top: 1px solid oklch(0.38 0.03 250); padding-top: 1rem; }
.channel b { display: block; font-size: var(--step-1); color: #fff; }
.channel span { font-size: var(--step--1); color: oklch(0.82 0.015 85); }
.consulta a { color: #fff; }

/* Pie */
.site-footer { background: var(--paper); padding-block: 2.5rem; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* Ficha de servicio */
.crumbs { font-size: var(--step--1); color: var(--muted); padding-top: 1.5rem; }
.crumbs a { color: var(--muted); }
.svc-hero { padding-block: 1.5rem clamp(2.5rem, 5vw, 4rem); }
.svc-hero .line-sign { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--c); color: #fff; padding: 0.4rem 1rem 0.4rem 0.45rem; border-radius: 999px; font-weight: 800; font-size: 0.9375rem; }
.svc-hero .line-sign .chip { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #fff; color: var(--c); font-size: 0.8125rem; }
.svc-hero h1 { font-size: var(--step-4); max-width: 17ch; margin-top: 1.25rem; }
.svc-hero .lede { margin-top: 1.25rem; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.route-body { position: relative; padding-left: 3.25rem; }
.route-body::before { content: ""; position: absolute; left: 11px; top: 0.5rem; bottom: 0; width: var(--line-w); background: var(--c); border-radius: 4px; }
.route-body > section { position: relative; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); scroll-margin-top: 1.5rem; }
.route-body > section > h2 { font-size: var(--step-2); position: relative; }
.route-body > section > h2::before { content: ""; position: absolute; left: calc(-3.25rem + 3px); top: 0.15em; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 5px solid var(--c); box-sizing: border-box; }
.route-body .prose { margin-top: 1rem; }
.plazo-sign { margin-top: 1.75rem; display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.5rem; align-items: center; background: var(--surface); border: 1px solid var(--border); padding: 1.25rem 1.5rem; max-width: 40rem; }
.plazo-sign .big { grid-row: span 2; font-size: clamp(2.75rem, 6vw, 3.75rem); font-weight: 800; line-height: 1; color: var(--c); letter-spacing: -0.03em; }
.plazo-sign .big small { display: block; font-size: 1rem; letter-spacing: 0; color: var(--ink); margin-top: 0.35rem; }
.plazo-sign p { font-size: var(--step--1); color: var(--ink-2); }
.route-body .checklist { margin-top: 1.5rem; }
.route-body .checklist li::before { border-color: var(--c); }
.aviso { margin-top: 1rem; background: var(--surface); border: 1px solid var(--border); padding: 1.25rem 1.5rem; max-width: 66ch; }
.aviso h3 { font-size: var(--step-1); }
.aviso p { margin-top: 0.5rem; color: var(--ink-2); }
.route-body > section.hub-section > h2::before { left: calc(-3.25rem - 3px); top: -0.05em; width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--copper); }
.route-body > section.hub-section { padding-bottom: 0; }
.route-body > section.hub-section::after { content: ""; position: absolute; left: calc(-3.25rem + 4px); top: 2.4rem; bottom: 0; width: 24px; background: var(--paper); }

.rail { position: sticky; top: 1.5rem; }
.rail h2 { font-size: 0.8125rem; font-weight: 800; color: var(--muted); letter-spacing: 0.04em; }
.rail ol { list-style: none; margin: 0.75rem 0 0; padding: 0; position: relative; }
.rail ol::before { content: ""; position: absolute; left: 7px; top: 0.85rem; bottom: 0.85rem; width: 4px; background: var(--c, var(--ink)); border-radius: 2px; }
.rail li a { position: relative; display: block; padding: 0.55rem 0 0.55rem 1.75rem; text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--ink-2); }
.rail li a::before { content: ""; position: absolute; left: 0; top: 0.8rem; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 4px solid var(--c, var(--ink)); box-sizing: border-box; }
.rail li a[aria-current="true"] { color: var(--ink); font-weight: 800; }
.rail li a[aria-current="true"]::before { background: var(--c, var(--ink)); }
.rail li a[aria-current="true"]::after { content: "Estás aquí"; display: block; font-size: 0.75rem; font-weight: 800; color: var(--copper); }
.rail .other { margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.rail .other a { display: flex; align-items: center; gap: 0.6rem; padding-block: 0.5rem; text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.rail .other a::before { content: ""; width: 1.5rem; height: 6px; border-radius: 3px; background: var(--c); flex: none; }
.rail .btn { margin-top: 1.5rem; width: 100%; }

@media (max-width: 52rem) {
  .hero-grid, .journey-head, .journey-body, .split, .person, .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 14ch; }
  .plano-map { display: none; }
  .plano-mobile { display: grid !important; }
  .rail { position: static; }
  .rail > h2, .rail ol, .rail > .btn { display: none; }
  .rail .other { margin-top: 0; }
  .journey-body .picker { display: none; }
  .journey-body { margin-top: 1.5rem; }
  .route-body { padding-left: 2.5rem; }
  .route-body > section > h2::before { left: calc(-2.5rem + 3px); }
  .route-body > section.hub-section > h2::before { left: calc(-2.5rem - 3px); }
  .route-body > section.hub-section::after { left: calc(-2.5rem + 4px); }
  .stop-item { padding-left: 2.75rem; }
  .portrait-slot { aspect-ratio: auto; min-height: 9rem; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .facts dd { margin-bottom: 0.6rem; }
}
.plano-mobile { display: none; gap: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Ajustes tras QA 12-11-2026 */
.btn { white-space: nowrap; }
.phone, .stop-links a, .cite, .site-footer nav a, .rail .other a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.rail .other a { display: flex; padding-block: 0.25rem; }
.person { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
.portrait-slot { aspect-ratio: 1 / 1; }
.route-body > section.hub-section::after { top: 2rem; }
@media (max-width: 52rem) {
  .brand small { display: none; }
  .brand { font-size: 1.125rem; }
  .plano-head { flex-direction: column; gap: 0.15rem; }
  .person { grid-template-columns: minmax(0, 1fr); }
  .portrait-slot { aspect-ratio: auto; }
}

.brand { min-height: 2.75rem; }
.rail li a { min-height: 2.75rem; }
@media (max-width: 52rem) {
  .plazo-sign { grid-template-columns: minmax(0, 1fr); padding: 1.1rem 1.25rem; }
  .plazo-sign .big { grid-row: auto; display: flex; align-items: baseline; gap: 0.6rem; }
  .plazo-sign .big small { display: inline; margin: 0; }
}

/* ===== Tema WordPress · componentes del sitio completo ===== */
.line-despidos { --c: var(--l-despidos); }
.line-salarios { --c: var(--l-salarios); }
.line-sanciones { --c: var(--l-sanciones); }
.line-acoso { --c: var(--l-acoso); }
.line-incapacidad, .line-accidente { --c: var(--l-incapacidad); }
.line-guia { --c: var(--ink); }

/* Cabecera con menú de servicios */
.site-header { position: relative; z-index: 20; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle { display: none; min-height: 2.75rem; padding: 0.5rem 0.9rem; border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.nav-services > summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 0.975rem; min-height: 2.75rem; display: inline-flex; align-items: center; gap: 0.45rem; }
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary::after { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.15rem) rotate(45deg); transition: transform 160ms ease-out; }
.nav-services[open] > summary::after { transform: translateY(0.1rem) rotate(-135deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-block: 1px solid var(--border); box-shadow: 0 18px 32px -18px oklch(0.22 0.028 250 / 0.35); }
.mega .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; padding-block: 1.75rem 2rem; }
.net-col h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 800; }
.net-col h3::before { content: ""; width: 1.75rem; height: 8px; border-radius: 4px; background: var(--c); flex: none; }
.net-col ul { list-style: none; margin: 0.6rem 0 0 0.6rem; padding: 0 0 0 0.85rem; border-left: 4px solid var(--c); display: grid; }
.net-col li a { display: flex; align-items: center; min-height: 2.75rem; padding-left: 0.25rem; text-decoration: none; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; position: relative; }
.net-col li a::before { content: ""; position: absolute; left: calc(-0.85rem - 9px); width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--c); box-sizing: border-box; }
.net-col li a:hover { text-decoration: underline; }
.net-col li a[aria-current="page"] { font-weight: 800; }
.net-col li a[aria-current="page"]::before { background: var(--c); }

@media (max-width: 52rem) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1rem; }
  .nav.is-open { display: flex; }
  .nav .nav-link { display: flex; align-items: center; min-height: 3rem; border-top: 1px solid var(--border); }
  .nav-services { border-top: 1px solid var(--border); }
  .nav-services > summary { min-height: 3rem; width: 100%; }
  .mega { position: static; box-shadow: none; border: 0; background: transparent; }
  .mega .wrap { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-block: 0.5rem 1rem; }
}

/* Cabecera de ficha: respuesta y plazos clave */
.svc-hero .lede { max-width: 60ch; }
.svc-hero .hero-actions { margin-top: 1.75rem; }
.facts-strip { margin-top: 2.25rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); border-top: 4px solid var(--c, var(--ink)); background: var(--surface); }
.fact { padding: 1.1rem 1.25rem 1.25rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fact .v { display: block; font-size: var(--step-2); font-weight: 800; line-height: 1.15; color: var(--c, var(--ink)); letter-spacing: -0.02em; }
.fact .l { display: block; margin-top: 0.35rem; font-weight: 600; }
.fact .cite { margin-top: 0.35rem; }

/* Situaciones: filas, no tarjetas */
.situations { margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.situations > div { padding: 1rem 0; border-top: 1px solid var(--border); }
.situations dt { font-weight: 800; font-size: var(--step-1); line-height: 1.3; }
.situations dd { margin: 0.4rem 0 0; color: var(--ink-2); }
.route-body .stops { margin-top: 1.5rem; }
.route-body .stops::before { bottom: 1.5rem; }
.route-body .stop-item:last-child { padding-bottom: 0.5rem; }
.route-body .stop-item h3 { font-size: 1.125rem; }
.route-body > section > h2 { scroll-margin-top: 1.5rem; }
.route-body .prose ul { padding-left: 1.2rem; margin: 1rem 0 0; }
.route-body .prose li + li { margin-top: 0.3rem; }
.route-body .prose h3 { font-size: var(--step-1); margin-top: 1.75rem; color: var(--ink); }

/* Tablas normativas */
.table-wrap { margin-top: 1.5rem; overflow-x: auto; border: 1px solid var(--border); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.975rem; min-width: 32rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.table-wrap th { font-weight: 800; background: oklch(0.95 0.014 85); }
.table-wrap tr:last-child td { border-bottom: 0; }

/* Preguntas frecuentes y fuentes */
.faq { margin-top: 1.25rem; display: grid; max-width: 66ch; }
.faq > div { padding: 1.1rem 0; border-top: 1px solid var(--border); }
.faq h3 { font-size: var(--step-1); line-height: 1.3; }
.faq p { margin-top: 0.45rem; color: var(--ink-2); }
.sources { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.25rem; }
.updated { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); }

/* Portada: plazos y red */
.plazos-band { background: var(--ink); color: oklch(0.95 0.012 85); padding-block: clamp(3rem, 6vw, 4.5rem); }
.plazos-band h2 { font-size: var(--step-3); color: #fff; max-width: 24ch; }
.plazos-band .wrap > p { margin-top: 0.75rem; color: oklch(0.86 0.015 85); max-width: 60ch; }
.plazos-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid oklch(0.4 0.03 250); }
.plazo { padding: 1.5rem 1.5rem 0 0; }
.plazo + .plazo { padding-left: 1.5rem; border-left: 1px solid oklch(0.4 0.03 250); }
.plazo .v { display: block; font-size: clamp(2.25rem, 4.5vw, 3rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -0.03em; }
.plazo .v small { font-size: 1rem; letter-spacing: 0; margin-left: 0.35rem; color: oklch(0.86 0.07 60); }
.plazo p { margin-top: 0.65rem; color: oklch(0.88 0.015 85); }
.plazo .cite, .plazo a { color: #fff; }
.network { padding-block: clamp(3.5rem, 7vw, 6rem); }
.network h2 { font-size: var(--step-3); }
.network .wrap > p { margin-top: 0.75rem; color: var(--ink-2); max-width: 60ch; }
.network-map { margin-top: 2.25rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem; }
.home-faq { padding-block: 0 clamp(3.5rem, 7vw, 6rem); }

/* Pie completo */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem; color: var(--ink-2); font-size: 0.9375rem; }
.site-footer .wrap { display: block; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem; }
.footer-brand p { margin-top: 0.75rem; max-width: 36ch; }
.footer-net { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; }
.footer-net h3 { font-size: 0.875rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 0.45rem; }
.footer-net h3::before { content: ""; width: 1.25rem; height: 6px; border-radius: 3px; background: var(--c); }
.footer-net ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.footer-net a { display: flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.footer-net a:hover { text-decoration: underline; }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; align-items: center; font-size: var(--step--1); color: var(--muted); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }

@media (max-width: 64rem) {
  .network-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .situations, .plazos-grid, .network-map, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .plazo, .plazo + .plazo { padding: 1.25rem 0; border-left: 0; border-bottom: 1px solid oklch(0.4 0.03 250); }
  .fact { border-right: 0; }
}

.stop-pages { list-style: none; padding: 0 !important; margin-top: 0.5rem; display: grid; }
.stop-pages a { display: flex; align-items: center; min-height: 2.75rem; font-weight: 700; color: var(--ink); }
.svc-hero .line-sign, .route-body, .rail { --c: inherit; }

/* Ajustes QA sitio 12-11-2026 */
.site-header .nav { order: 2; margin-left: auto; }
.site-header .header-actions { order: 3; }
.fact .l { margin-top: 0; font-size: var(--step--1); font-weight: 800; color: var(--muted); }
.fact .v { margin-top: 0.35rem; }
.fact .v.long { font-size: 1.0625rem; line-height: 1.45; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.footer-net { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.footer-net a, .net-col li a { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 52rem) {
  .site-header .nav { order: 4; margin-left: 0; }
}

.site-footer .footer-net { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.show-sm { display: none; }
@media (max-width: 64rem) { .site-footer .footer-net { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 52rem) {
  .site-footer .footer-net { grid-template-columns: minmax(0, 1fr); }
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; }
  .site-header .brand { font-size: 1.0625rem; }
  .site-header .header-actions { gap: 0.5rem; margin-left: auto; }
  .site-header .header-actions .btn { padding: 0.5rem 0.9rem; font-size: 0.9375rem; }
  .menu-toggle { padding: 0.45rem 0.8rem; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}
@media (max-width: 52rem) {
  .site-header .wrap { column-gap: 0.5rem; }
  .site-header .brand { font-size: 1rem; gap: 0.45rem; }
  .site-header .brand svg { width: 26px; height: 26px; }
  .site-header .header-actions .btn, .menu-toggle { padding: 0.45rem 0.75rem; font-size: 0.875rem; min-height: 2.75rem; }
}
.mega .wrap { align-items: start; min-height: 0; }

/* Holgura de etiquetas (aviso cramped-padding) */
.pending { padding: 0.25rem 0.6rem; }
.cite::before { padding: 0.1rem 0.45rem; }

/* Calculadora de indemnización */
.calc { margin-top: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--c, var(--ink)); padding: clamp(1.25rem, 3vw, 1.75rem); display: grid; gap: 1.25rem; max-width: 46rem; }
.calc fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.calc legend { font-weight: 800; margin-bottom: 0.5rem; }
.calc-type label { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-weight: 600; cursor: pointer; }
.calc input[type="radio"] { width: 1.25rem; height: 1.25rem; accent-color: var(--copper); }
.calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.calc-grid label { display: grid; gap: 0.4rem; font-weight: 700; font-size: 0.9375rem; line-height: 1.3; align-content: start; }
.calc-grid input { font: inherit; font-weight: 400; min-height: 3rem; padding: 0.6rem 0.75rem; border: 1.5px solid var(--muted); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.calc-grid input:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-color: var(--ink); }
.calc-help { font-size: var(--step--1); color: var(--muted); }
.calc .btn { justify-self: start; }
.calc-result { margin-top: 1.25rem; max-width: 46rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--border); }
.calc-result:focus { outline: none; }
.calc-result p + p { margin-top: 0.6rem; }
.calc-amount { font-size: var(--step--1); color: var(--ink-2); }
.calc-amount span { display: block; font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 800; line-height: 1.05; color: var(--c, var(--ink)); letter-spacing: -0.03em; }
.calc-cap { font-weight: 700; color: var(--copper); }
.calc-note { font-size: var(--step--1); color: var(--muted); }
.calc-result.is-error { border-color: var(--copper); color: var(--copper); font-weight: 700; }
@media (max-width: 52rem) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Decisión en hubs y siguientes paradas */
.decision { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; max-width: 46rem; }
.decision li + li { border-top: 1px solid var(--border); }
.decision a { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1.25rem; align-items: center; min-height: 3.5rem; padding: 0.85rem 0; text-decoration: none; }
.decision span { color: var(--ink-2); }
.decision b { font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--c, var(--copper)); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.decision a:hover b { color: var(--copper); }
.next-stops { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.next-stops a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1rem; border: 2px solid var(--c, var(--ink)); border-radius: 999px; font-weight: 700; text-decoration: none; }
.next-stops a:hover { background: var(--c, var(--ink)); color: #fff; }
.route-body .prose a { text-decoration-color: var(--c, var(--copper)); text-decoration-thickness: 1.5px; }
@media (max-width: 52rem) {
  .decision a { grid-template-columns: minmax(0, 1fr); }
  .review-bar .wrap > span + span { display: none; }
}

/* Formulario de consulta */
.calc-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.consult-form select, .consult-form textarea { font: inherit; font-weight: 400; min-height: 3rem; padding: 0.6rem 0.75rem; border: 1.5px solid var(--muted); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.consult-form textarea { resize: vertical; min-height: 7rem; }
.consult-form label.full { display: grid; gap: 0.4rem; font-weight: 700; font-size: 0.9375rem; }
.consult-form label.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9375rem; min-height: 2.75rem; }
.consult-form label.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--copper); flex: none; }
.consult-form [aria-invalid="true"] { border-color: var(--copper); outline: 2px solid var(--copper); outline-offset: 1px; }
@media (max-width: 52rem) { .calc-grid.two { grid-template-columns: minmax(0, 1fr); } }

body { --c: var(--ink); }

/* ===== v3 · cara, credencial y conversión ===== */
.pending, .phone-note { display: none; }
.show-review .pending { display: inline-block; }
.show-review .phone-note { display: block; }
.review-bar .wrap { align-items: center; justify-content: space-between; }
.review-toggle { font: inherit; font-size: var(--step--1); font-weight: 700; color: oklch(0.86 0.07 60); background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: 0.2rem 0.75rem; min-height: 2rem; cursor: pointer; }
.review-toggle[aria-pressed="true"] { background: oklch(0.86 0.07 60); color: var(--ink); }

/* Portada: hero en tinta con retrato real */
.hero-ink { background: var(--ink); color: oklch(0.95 0.012 85); overflow: hidden; }
.hero-ink-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-copy { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero-ink h1 { color: #fff; font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 11ch; }
.hero-ink .lede { margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.5; color: oklch(0.88 0.015 85); max-width: 40ch; }
.hero-ink .hero-actions { margin-top: 2rem; }
.hero-ink .phone { color: #fff; font-weight: 700; }
.hero-ink .btn-primary { background: oklch(0.6 0.13 50); color: var(--ink); }
.hero-ink .btn-primary:hover { background: oklch(0.68 0.13 55); }
.cred { list-style: none; margin: 2.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid oklch(0.38 0.03 250); display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: 0.9375rem; color: oklch(0.86 0.015 85); }
.cred li { display: flex; align-items: center; gap: 0.5rem; }
.cred li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 3px solid oklch(0.6 0.13 50); }
.hero-portrait { margin: 0; position: relative; align-self: end; }
.hero-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px 18px 0 0; }
.hero-portrait::before { content: ""; position: absolute; left: -1.25rem; top: 12%; bottom: 0; width: 8px; border-radius: 4px; background: var(--l-despidos); box-shadow: -18px 0 0 var(--l-salarios), -36px 0 0 var(--l-sanciones); opacity: 0.9; }
.hero-portrait figcaption { position: absolute; left: 1rem; bottom: 1rem; background: oklch(0.22 0.028 250 / 0.82); color: #fff; font-size: var(--step--1); font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px; backdrop-filter: blur(6px); }

/* Plano + tira juntos */
.journey-body.map-first { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.journey-body.map-first .plano { align-self: start; position: sticky; top: 1.5rem; }
.journey-head h2 { font-size: var(--step-3); }

/* Ficha: cabecera con «Lo esencial» */
.svc-hero.has-aside { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-hero.has-aside h1 { max-width: 16ch; }
.essentials { background: var(--surface); border: 1px solid var(--border); border-top: 6px solid var(--c, var(--ink)); padding: 1.25rem 1.5rem 1.5rem; margin-top: 0.5rem; }
.essentials h2 { font-size: 0.875rem; font-weight: 800; color: var(--muted); letter-spacing: 0.02em; }
.essentials dl { margin: 0.5rem 0 0; }
.ess-row { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
.ess-row dt { font-size: var(--step--1); font-weight: 700; color: var(--muted); }
.ess-row dd { margin: 0.2rem 0 0; }
.ess-row .v { display: block; font-size: var(--step-1); font-weight: 800; line-height: 1.25; color: var(--c, var(--ink)); }
.ess-row .v.long { font-size: 1rem; line-height: 1.45; color: var(--ink); }
.ess-row .cite { margin-top: 0.3rem; }
.attends { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; margin-top: 1.1rem; }
.attends img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.attends p { display: grid; line-height: 1.3; }
.attends b { font-weight: 800; }
.attends span { font-size: var(--step--1); color: var(--muted); }
.attends .pending { flex-basis: 100%; }

/* Retrato en Quién te atiende y despacho */
.person-photo { margin: 0; }
.person-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.person-photo.inline { max-width: 22rem; margin-top: 1.25rem; }

/* Barra fija de contacto en móvil */
.mobile-cta { display: none; }
@media (max-width: 52rem) {
  .hero-ink-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { padding-bottom: 2rem; }
  .hero-portrait { max-width: 20rem; justify-self: end; margin-right: -0.5rem; }
  .hero-portrait::before { display: none; }
  .journey-body.map-first { grid-template-columns: minmax(0, 1fr); }
  .journey-body.map-first .plano { position: static; }
  .svc-hero.has-aside { grid-template-columns: minmax(0, 1fr); }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px)); background: oklch(0.99 0.006 85 / 0.96); border-top: 1px solid var(--border); backdrop-filter: blur(8px); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 3rem; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--ink); color: var(--ink); }
  .mobile-cta a.primary { background: var(--copper); border-color: var(--copper); color: var(--on-copper); }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
}

.btn { line-height: 1; padding-top: 0.85rem; padding-bottom: 0.65rem; }
.cred li.who::before { display: none; }
.cred li.who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid oklch(0.6 0.13 50); }
@media (min-width: 52.01rem) { .cred li.who img { display: none; } .cred li.who::before { display: block; } }
@media (max-width: 52rem) { .site-header .header-actions .btn { display: none; } }

/* ===== v4 · peticiones de revisión ===== */
.route-body .prose, .svc-hero .lede, .faq p { color: oklch(0.28 0.03 250); }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }
.ico.sm { width: 1.1rem; height: 1.1rem; }
.hero-portrait::before { display: none; }
.home .site-header .header-actions .btn { display: none; }
.btn-ghost-light { border-color: oklch(0.95 0.012 85 / 0.7); color: #fff; background: transparent; gap: 0.55rem; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { gap: 0.5rem; }
.cred li::before { display: none !important; }
.cred-ico { color: oklch(0.72 0.12 55); }
.cred li.who img { display: none; }

/* Calculadora en portada */
.home-calc { padding-block: clamp(3rem, 6vw, 5rem); background: var(--surface); border-bottom: 1px solid var(--border); }
.home-calc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.home-calc h2 { font-size: var(--step-3); max-width: 18ch; }
.home-calc-grid > div > p { margin-top: 1rem; color: oklch(0.28 0.03 250); max-width: 46ch; }
.home-calc .calc { margin-top: 0; border-top-color: var(--copper); }
.more-link { font-weight: 700; text-decoration-color: var(--copper); text-decoration-thickness: 2px; }
.calc-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Tarjetas de situación */
.home-sits { padding-block: clamp(3.5rem, 7vw, 6rem); }
.sits-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: end; }
.sits-head h2 { font-size: var(--step-4); }
.sits-head p { color: oklch(0.28 0.03 250); max-width: 52ch; }
.sits { margin-top: 2.25rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.sit { position: relative; display: flex; flex-direction: column; gap: 0.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem 1.5rem 1.25rem; overflow: hidden; }
.sit::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c); }
.sit h3 { font-size: var(--step-1); line-height: 1.25; }
.sit-v { display: grid; gap: 0.15rem; }
.sit-v b { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.05; font-weight: 800; color: var(--c); letter-spacing: -0.02em; }
.sit-v span { color: oklch(0.32 0.03 250); font-size: 0.975rem; }
.sit .cite { align-self: flex-start; }
.sit-go { margin-top: auto; padding-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; font-weight: 800; color: var(--ink); text-decoration: none; border-top: 1px solid var(--border); }
.sit-go:hover { color: var(--c); }
.sit-go::after { content: ""; position: absolute; inset: 0; }
.sit-more { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; position: relative; z-index: 1; }
.sit-more a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.9375rem; font-weight: 600; color: oklch(0.32 0.03 250); }
.sit .cite { position: relative; z-index: 1; }
.sit:hover { border-color: var(--c); box-shadow: 0 14px 30px -20px oklch(0.22 0.028 250 / 0.45); }

/* Tres pasos */
.home-steps { background: var(--surface); border-block: 1px solid var(--border); }
.home-steps h2 { font-size: var(--step-3); }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
.steps li { display: grid; gap: 0.6rem; align-content: start; }
.step-ico { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.step-ico .ico { width: 1.5rem; height: 1.5rem; }
.steps h3 { font-size: var(--step-1); }
.steps p { color: oklch(0.28 0.03 250); }

/* Fichas: reloj, calculadora y CTA intermedia */
.clock { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.clock::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 6px; background: var(--c, var(--ink)); border-radius: 3px; }
.clock li { position: relative; padding: 2.25rem 1rem 0 0; }
.clock li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 5px solid var(--c, var(--ink)); box-sizing: border-box; }
.clock li:last-child::before { background: var(--copper); border-color: var(--copper); border-radius: 8px; }
.clock b { display: block; font-size: 1.0625rem; }
.clock p { margin-top: 0.35rem; font-size: 0.9375rem; color: oklch(0.28 0.03 250); }
.clock .cite { margin-top: 0.4rem; }
.calc-card { margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.25rem, 3vw, 2rem); background: var(--ink); color: oklch(0.95 0.012 85); border-radius: 16px; }
.calc-card h2 { color: #fff; font-size: var(--step-2); }
.calc-card > p { margin-top: 0.5rem; color: oklch(0.86 0.015 85); }
.calc-card .calc { margin-top: 1.25rem; color: var(--ink); border-top-color: var(--copper); }
.calc-card .calc-result { color: var(--ink); }
.mid-cta { margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-left: 0; border-radius: 14px; box-shadow: inset 6px 0 0 var(--c, var(--copper)); }
.mid-cta b { font-size: var(--step-1); }
.mid-cta p { color: oklch(0.32 0.03 250); margin-top: 0.2rem; }
.mid-cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Pie compacto */
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.fcol h3 { font-size: 0.875rem; font-weight: 800; color: var(--ink); }
.fcol ul { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.fcol a { display: flex; align-items: center; min-height: 2.25rem; text-decoration: none; font-size: 0.9375rem; }
.fcol a:hover { text-decoration: underline; }

@media (max-width: 64rem) {
  .sits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .home-calc-grid, .sits-head, .steps { grid-template-columns: minmax(0, 1fr); }
  .sits { grid-template-columns: minmax(0, 1fr); }
  .clock { grid-template-columns: minmax(0, 1fr); padding-left: 2.25rem; }
  .clock::before { left: 9px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; }
  .clock li { padding: 0 0 1.25rem 0; }
  .clock li::before { left: -2.25rem; top: 0; }
  .fcol a { min-height: 2.75rem; }
  .sits-head h2 { font-size: var(--step-3); }
}

@media (max-width: 52rem) {
  .network-map { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .net-col li a { font-size: 0.875rem; }
}

/* ===== v5 · fuera la metáfora de metro: despacho editorial, un solo acento ===== */
:root { --l-despidos: var(--ink); --l-salarios: var(--ink); --l-sanciones: var(--ink); --l-acoso: var(--ink); --l-incapacidad: var(--ink); }
.eyebrow { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); }
.svc-hero .eyebrow + h1 { margin-top: 0.75rem; }
.essentials { border-top: 4px solid var(--copper); border-radius: 0 0 14px 14px; }

/* Cuerpo de ficha: secciones numeradas como un escrito */
.route-body { padding-left: 0; counter-reset: sec; }
.route-body::before { display: none; }
.route-body > section { counter-increment: sec; border-top: 1px solid var(--border); padding-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.route-body > section:first-child { border-top: 0; padding-top: 0; }
.route-body > section > h2::before,
.route-body > section.hub-section > h2::before {
  content: counter(sec, decimal-leading-zero); position: static; display: block; width: auto; height: auto;
  border: 0; border-radius: 0; background: none; margin-bottom: 0.5rem;
  font-size: 0.875rem; font-weight: 800; letter-spacing: 0.08em; color: var(--copper);
}
.route-body > section.hub-section::after { display: none; }
.route-body > section.hub-section { padding-bottom: 0; }
.route-body .prose a { text-decoration-color: var(--copper); }

/* Procedimiento: pasos numerados, sin vía ni paradas */
.stops { counter-reset: st; }
.stops::before, .route-body .stops::before { display: none; }
.stop-item { counter-increment: st; padding: 1.1rem 0 1.1rem 3rem; border-top: 1px solid var(--border); }
.stop-item:first-child { border-top: 0; padding-top: 0.25rem; }
.stop-item::before, .stop-item.hub-stop::before {
  content: counter(st); left: 0; top: 0.95rem; width: auto; height: auto; border: 0; border-radius: 0; background: none;
  font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--copper); letter-spacing: -0.02em;
}
.stop-item:first-child::before { top: 0.15rem; }

/* Plazo del despido: cuatro tarjetas en orden */
.clock { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; counter-reset: ck; }
.clock::before { display: none; }
.clock li { counter-increment: ck; padding: 1.1rem 1.25rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.clock li::before, .clock li:last-child::before {
  content: "Paso " counter(ck); position: static; display: block; width: auto; height: auto; border: 0; border-radius: 0; background: none;
  margin-bottom: 0.35rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper);
}
.clock li:last-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.clock li:last-child::before { color: oklch(0.78 0.11 60); }
.clock li:last-child p { color: oklch(0.88 0.015 85); }
.clock li:last-child .cite { color: #fff; }

/* Índice lateral: lista sobria, sin puntos */
.rail ol::before { display: none; }
.rail li a { padding: 0.4rem 0 0.4rem 1rem; border-left: 2px solid var(--border); }
.rail li a::before, .rail li a[aria-current="true"]::after { display: none; }
.rail li a[aria-current="true"] { border-left-color: var(--copper); color: var(--ink); }

/* Red de servicios y menú: columnas de índice */
.net-col h3 { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); padding-bottom: 0.6rem; border-bottom: 1.5px solid var(--ink); }
.net-col h3::before { display: none; }
.net-col ul { margin: 0; padding: 0; border-left: 0; }
.net-col li + li { border-top: 1px solid var(--border); }
.net-col li a { padding-left: 0; }
.net-col li a::before { display: none; }
.net-col li a[aria-current="page"] { color: var(--copper); }

/* Tarjetas de situación: sin franjas de colores */
.sit::before { display: none; }
.sit-v b { color: var(--copper); }
.sit:hover { border-color: var(--ink); }
.sit-go:hover { color: var(--copper); }

/* Listas con marca de verificación en lugar de anillos */
.checklist li::before, .route-body .checklist li::before {
  left: 0.4rem; top: 0.85rem; width: 0.55rem; height: 1rem; border: 0 solid var(--copper); border-right-width: 3px; border-bottom-width: 3px;
  border-radius: 0; background: none; transform: rotate(45deg);
}
.consulta .checklist li::before { border-color: oklch(0.78 0.11 60); background: none; }

/* Enlaces relacionados, CTA y decisiones */
.next-stops a { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); gap: 0.5rem; }
.next-stops a::after { content: "→"; color: var(--copper); }
.next-stops a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.mid-cta { box-shadow: inset 4px 0 0 var(--copper); }
.decision b { text-decoration-color: var(--copper); }
.calc { border-top-color: var(--copper); }

@media (max-width: 52rem) {
  .rail { display: none; }
  .route-body { padding-left: 0; }
  .stop-item { padding-left: 2.5rem; }
  .clock { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .clock li { padding: 1rem 1.1rem 1.1rem; }
}
.rail li a { border-left-color: transparent; }
.rail li a:hover { border-left-color: var(--border); }
.rail li a[aria-current="true"] { border-left-color: var(--copper); }


/* «El truco» · H2 = description bajo el H1, con aspecto de entradilla (15-11-2026) */
h2.lede-h2 { font-weight: 400; letter-spacing: normal; line-height: 1.5; font-size: var(--step-1); text-wrap: pretty; }
.svc-hero h2.lede-h2 { margin-top: 1.25rem; max-width: 58ch; color: oklch(0.26 0.03 250); font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem); font-weight: 500; }
.hero-ink h2.lede-h2 { margin-top: 1.5rem; max-width: 46ch; color: oklch(0.88 0.015 85); }
.svc-hero .lede-answer { margin-top: 0.9rem; max-width: 64ch; color: var(--ink-2); line-height: 1.6; }

/* Campo trampa antispam del formulario */
.consult-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
