/* ============================================================
   HUELLA DEPORTIVA · Hoja de estilos común
   Idea: la plataforma de presiones es la protagonista. Su escala
   térmica (azul → rojo) es el único color intenso de la web; todo
   lo demás es azul pastel, blanco y marino, tranquilo y legible.
   ============================================================ */
:root {
  --bg: #dcebf6;            /* azul pastel */
  --surface: #ffffff;
  --ink: #0e2433;           /* marino */
  --muted: #4a6476;
  --line: #bfd6e6;
  --accent: #0b6e8a;        /* azul clínico */
  --accent-ink: #ffffff;
  --hot: #c8321f;           /* rojo de la escala, para avisos */
  --soft: #e9f2f9;
  --plate: #f7fafc;         /* la plataforma siempre es clara */
  --plate-dot: rgba(14, 36, 51, .13);
  --band-bg: #c9e0f1;
  --band-fg: #0e2433;
  --band-muted: #3f5b6c;
  --scale: linear-gradient(90deg, #2340e0, #12b8f0 22%, #22c24a 45%, #f2e32a 65%, #f0901e 82%, #e0261e);
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --max: 1160px;
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1d29; --surface: #13283a; --ink: #e5eef3; --muted: #97acb8; --line: #24394a;
    --accent: #5cc0dc; --accent-ink: #06141a; --hot: #ff7a5c; --soft: #172f42;
    --plate: #e8f0f5; --band-bg: #0a1822; --band-fg: #eef4f7; --band-muted: #9fb4c0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1d29; --surface: #13283a; --ink: #e5eef3; --muted: #97acb8; --line: #24394a;
  --accent: #5cc0dc; --accent-ink: #06141a; --hot: #ff7a5c; --soft: #172f42;
  --plate: #e8f0f5; --band-bg: #0a1822; --band-fg: #eef4f7; --band-muted: #9fb4c0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.15rem; line-height: 1.62; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
/* Etiquetas pequeñas: en minúscula normal, sin espaciado ni monoespaciada */
.eyebrow, .label { font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* ---------- Cabecera ---------- */
.site-header { background: var(--surface); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; box-shadow: 0 1px 0 var(--line); }
.site-header::after { content: ""; display: block; height: 3px; background: var(--scale); }
.site-header > .wrap { display: flex; align-items: center; gap: 28px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 28px; height: 28px; }
.brand-mark ellipse, .brand-mark circle { fill: var(--accent); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 1.2rem; letter-spacing: -.01em; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; align-items: center; }
.nav::-webkit-scrollbar { display: none; }
.nav a { font-family: var(--font-display); font-stretch: 100%; font-size: .92rem; font-weight: 500; color: var(--muted); text-decoration: none; padding: 8px 8px; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--accent); }
.nav-sep { width: 1px; height: 20px; background: var(--line); margin: 0 8px; flex-shrink: 0; }
.nav a.nav-cta { color: var(--accent); font-weight: 650; }
.nav a.nav-cta[aria-current="page"] { color: var(--ink); }

/* ---------- Anuncios ---------- */
.ad-slot { margin: 0 auto; text-align: center; }
.ad-label { font-family: var(--font-display); font-size: .72rem; color: var(--muted); display: block; margin-bottom: 6px; }
.ad-placeholder { background: var(--soft); border: 1px dashed var(--line); border-radius: var(--r); display: grid; place-items: center; color: var(--muted); font-family: var(--font-display); font-size: .8rem; max-width: 100%; margin-inline: auto; }
.ad-leaderboard { padding-block: 20px; }
.ad-leaderboard .ad-placeholder { width: 728px; height: 90px; }
.ad-inarticle .ad-placeholder { width: 100%; height: 250px; }
.ad-sidebar .ad-placeholder { width: 300px; height: 600px; }
@media (max-width: 760px) {
  .ad-leaderboard .ad-placeholder { width: 320px; height: 100px; }
  .ad-sidebar .ad-placeholder { width: 300px; height: 250px; }
}

/* ---------- Portada: la plataforma de presiones ---------- */
.banner { background: var(--band-bg); color: var(--band-fg); }
.banner-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-block: 44px 40px; }
.banner-text { container-type: inline-size; min-width: 0; }
.banner-title { font-size: clamp(3rem, 17cqi, 7.6rem); font-weight: 900; font-stretch: 100%; letter-spacing: -.02em; line-height: .86; color: var(--band-fg); text-transform: none; }
.banner-lede { font-size: 1.22rem; line-height: 1.5; color: var(--band-muted); max-width: 34ch; margin: 22px 0 0; }
.banner-by { font-family: var(--font-display); font-size: .95rem; color: var(--band-fg); margin: 22px 0 0; }
.banner-by a { color: inherit; }

.plate { margin: 0; min-width: 0; background: var(--plate); border-radius: 10px; padding: 18px 18px 14px; box-shadow: inset 0 0 0 1px rgba(14, 36, 51, .1); }
.plate-map { position: relative; padding-top: 24px; border-radius: 4px; background-image: radial-gradient(var(--plate-dot) 1.1px, transparent 1.3px); background-size: 9px 9px; background-position: center; }
.plate-map img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; animation: pisada 1.6s cubic-bezier(.3, .6, .2, 1) .15s both; }
@keyframes pisada { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.plate-side { position: absolute; top: 0; font-family: var(--font-display); font-size: .78rem; font-weight: 600; color: #3f5b6c; }
.plate-side.l { left: 2px; }
.plate-side.r { right: 2px; }
.plate figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(14, 36, 51, .12); font-family: var(--font-display); font-size: .82rem; color: #3f5b6c; }
.scale { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.scale-bar { width: 120px; height: 8px; border-radius: 4px; background: var(--scale); }

/* ---------- Ciclo de la marcha ---------- */
.gait { background: var(--surface); border-bottom: 1px solid var(--line); }
.gait .wrap { padding-block: 30px; display: grid; gap: 16px; }
.gait-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; }
.gait-head h2 { font-size: 1.15rem; font-weight: 750; }
.gait-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.gait-row > span { font-family: var(--font-display); font-weight: 650; font-size: .95rem; }
.bar { display: flex; height: 36px; border-radius: 4px; overflow: hidden; font-family: var(--font-display); font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar div { display: flex; align-items: center; padding: 0 12px; white-space: nowrap; overflow: hidden; }
.bar .stance { background: var(--accent); color: var(--accent-ink); }
.bar .swing { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.gait-note { font-size: 1rem; color: var(--muted); margin: 0; max-width: 72ch; }

/* ---------- Cuerpo ---------- */
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-block: 56px; }
.intro { max-width: 66ch; min-width: 0; }
.intro h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 850; font-stretch: 100%; margin: 0 0 22px; }
.intro p { margin: 0 0 1.1em; }
.intro h3 { font-size: 1.3rem; font-weight: 750; margin: 1.7em 0 .55em; }
.intro ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.intro li { margin-bottom: .45em; }
.intro li::marker { color: var(--accent); }
.intro li strong { font-family: var(--font-display); font-weight: 700; }
.intro .ad-slot { margin-block: 2em; }
.disclaimer { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--hot); padding: 2px 0 2px 14px; margin-top: 1.8em; }

.sidebar { display: grid; gap: 28px; align-content: start; }
.side-box { border-top: 3px solid var(--ink); padding-top: 14px; }
.side-box h3 { font-size: 1.05rem; font-weight: 750; margin-bottom: 8px; }
.side-box p { font-size: 1rem; margin: 0; color: var(--muted); }
.side-sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }

/* ---------- Apartados del blog ---------- */
.sections { padding-block: 16px 64px; }
.sections-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sections-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 850; font-stretch: 100%; }
.sections-head p { margin: 0; font-size: 1rem; color: var(--muted); }
.sections-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: start; }
.feature { display: grid; gap: 12px; padding: 26px; background: var(--surface); border-radius: 10px; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--scale); }
.feature-label { font-family: var(--font-display); font-size: .85rem; font-weight: 650; color: var(--accent); }
.feature h3 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; font-stretch: 100%; line-height: .95; }
.feature p { margin: 0; color: var(--muted); }
.feature-list { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.feature-go { font-family: var(--font-display); font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.feature:hover .feature-go { text-decoration-thickness: 2px; }
.soon-title { font-size: 1.05rem; font-weight: 750; margin-bottom: 4px; }
.soon { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.soon > div { padding: 14px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.soon dt { font-family: var(--font-display); font-weight: 750; font-size: 1.08rem; }
.soon dd { margin: 2px 0 0; font-size: .98rem; color: var(--muted); line-height: 1.45; }
.soon > div:target { background: var(--soft); box-shadow: -10px 0 0 var(--soft), 10px 0 0 var(--soft); }

/* Compatibilidad con tarjetas antiguas */
.chip { font-family: var(--font-display); font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.chip-live { color: var(--accent-ink); background: var(--accent); box-shadow: none; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--bg); }
.site-footer .wrap { padding-block: 36px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-family: var(--font-display); font-size: .92rem; }
.site-footer a { color: var(--bg); opacity: .82; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .main-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .side-sticky { position: static; }
  .sections-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .banner-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px 28px; }
  .plate { max-width: 460px; }
  .brand-name { display: none; }
  .site-header .wrap { gap: 14px; }
}
@media (max-width: 480px) {
  .gait-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .soon { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .plate-map img { animation: none; } }

/* ================= Páginas internas ================= */
.banner-compact .banner-grid { grid-template-columns: minmax(0, 1fr); padding-block: 28px 30px; gap: 0; }
.banner-compact .brand-line { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 1.05rem; color: var(--band-fg); text-decoration: none; }
.banner-compact .brand-line span { color: inherit; }
.banner-compact h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); font-weight: 900; font-stretch: 100%; letter-spacing: -.015em; line-height: .95; margin-top: 18px; color: var(--band-fg); max-width: 20ch; }
.banner-compact .banner-lede { margin-top: 14px; max-width: 58ch; }
.crumbs { font-family: var(--font-display); font-size: .85rem; color: var(--band-muted); display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.crumbs a { color: var(--band-muted); }
.crumbs a:hover { color: var(--band-fg); }

/* Índice de artículos de una sección */
.series { padding-block: 48px; }
.series-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 850; font-stretch: 100%; margin: 0 0 24px; }
.series-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.series-item { border-bottom: 1px solid var(--line); }
.series-item > a, .series-item > div { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 4px; text-decoration: none; color: var(--ink); }
.series-item > a:hover h3 { color: var(--accent); }
.series-num { font-family: var(--font-display); font-weight: 900; font-stretch: 100%; font-size: 2rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.series-item.is-soon .series-num { color: var(--muted); }
.series-item h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 750; transition: color .15s; }
.series-item p { margin: 6px 0 0; font-size: 1rem; color: var(--muted); }
.series-item.is-soon { opacity: .66; }
.series-meta { font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* Artículo */
.article { max-width: 68ch; min-width: 0; }
.article-meta { font-family: var(--font-display); font-size: .88rem; color: var(--muted); display: flex; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 28px; }
.article .answer { font-size: 1.32rem; line-height: 1.5; margin: 0 0 1.4em; padding-bottom: 1.2em; border-bottom: 1px solid var(--line); }
.article h2 { font-size: clamp(1.45rem, 2.8vw, 1.85rem); font-weight: 800; font-stretch: 100%; margin: 1.9em 0 .6em; scroll-margin-top: 90px; }
.article p { margin: 0 0 1.1em; }
.article .ad-slot { margin-block: 2.2em; }
.source { font-family: var(--font-display); font-size: .8rem; color: var(--muted); white-space: nowrap; }
.source a { color: var(--muted); }

.figure { margin: 1.8em 0; padding: 22px; background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.figure-title { font-family: var(--font-display); font-weight: 750; font-size: 1.05rem; margin: 0 0 4px; }
.figure-sub { font-size: .95rem; color: var(--muted); margin: 0 0 18px; }
.cmp { display: grid; gap: 12px; }
.cmp-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; font-family: var(--font-display); font-size: .92rem; }
.cmp-track { background: var(--soft); border-radius: 4px; height: 32px; position: relative; }
.cmp-fill { height: 100%; border-radius: 4px; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; font-family: var(--font-display); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cmp-fill.a { background: var(--accent); color: var(--accent-ink); }
.cmp-fill.b { background: var(--muted); color: var(--surface); }
.figure-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; margin: 1.6em 0 1.2em; }
.step { padding: 14px 0 6px; border-top: 3px solid var(--line); }
.step:last-child { border-top-color: var(--accent); }
.step b { display: block; font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 1.25rem; margin-bottom: 4px; }
.step span { font-size: .98rem; color: var(--muted); display: block; }

.takeaway { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; margin: 1.6em 0; box-shadow: inset 0 0 0 1px var(--line); }
.takeaway p:last-child { margin-bottom: 0; }

.refs { margin-top: 2.4em; padding-top: 1.4em; border-top: 2px solid var(--ink); }
.refs h2 { margin-top: 0; }
.refs ol { padding-left: 1.3em; font-size: .98rem; }
.refs li { margin-bottom: .6em; }
.refs .pmid { font-family: var(--font-display); font-size: .82rem; font-variant-numeric: tabular-nums; }
.method { font-size: .98rem; color: var(--muted); }

.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 1rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.next-box a { font-family: var(--font-display); font-weight: 650; }

@media (max-width: 600px) {
  .series-item > a, .series-item > div { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .series-meta { grid-column: 2; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cmp-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- Componentes de artículo ---------- */
.defs { margin: 0 0 1.2em; display: grid; gap: 14px; }
.defs > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.defs dt { font-family: var(--font-display); font-weight: 750; }
.defs dd { margin: 0; }

.dotgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(22px, 1fr)); gap: 6px; max-width: 480px; }
.dotgrid i { aspect-ratio: 1; max-width: 100%; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.dotgrid i.on { background: var(--hot); box-shadow: none; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-family: var(--font-display); font-size: .88rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 12px; height: 12px; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); display: inline-block; }
.key-on { background: var(--hot); box-shadow: none; }

.when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.6em 0; }
.when > div { background: var(--surface); border-radius: var(--r); padding: 18px 20px; border-top: 4px solid var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.when > .when-no { border-top-color: var(--hot); }
.when b { font-family: var(--font-display); font-weight: 750; display: block; margin-bottom: 6px; }
.when p { margin: 0; font-size: 1rem; }

.calc { margin: 1.6em 0; padding: 22px; background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.calc-row label { font-family: var(--font-display); font-weight: 650; }
.calc-input { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .88rem; color: var(--muted); }
.calc-input input { width: 6em; font: 700 1.3rem var(--font-display); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 16px; }
.calc-out > div { display: grid; gap: 2px; }
.calc-k { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--muted); }
.calc-out b { font-family: var(--font-display); font-weight: 900; font-stretch: 100%; font-size: 2.1rem; line-height: 1.05; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-u { font-size: .85rem; color: var(--muted); }

.summary { margin: 0; padding-left: 1.1em; }
.summary li { margin-bottom: .5em; }
.summary li:last-child { margin-bottom: 0; }

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 2.4em; }
.pager a { display: grid; gap: 4px; padding: 16px 0 0; border-top: 2px solid var(--ink); text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.pager a:hover { color: var(--accent); border-top-color: var(--accent); }
.pager a span { font-weight: 500; font-size: .85rem; color: var(--muted); }
.pager .pager-next { text-align: right; }

@media (max-width: 600px) {
  .defs > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .when, .pager { grid-template-columns: minmax(0, 1fr); }
  .pager .pager-next { text-align: left; }
  .calc-out b { font-size: 1.6rem; }
}

/* ---------- Servicios y contacto ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.facts > div { padding: 14px 16px 14px 0; display: grid; gap: 2px; }
.facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts b { font-family: var(--font-display); font-weight: 850; font-stretch: 100%; font-size: 1.3rem; line-height: 1.15; }

.book { background: var(--surface); border-radius: var(--r); padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.book p { margin-top: 0; }
.contact-list { margin: 0; display: grid; gap: 0; }
.contact-list > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-family: var(--font-display); font-size: .88rem; font-weight: 600; color: var(--muted); padding-top: 2px; }
.contact-list dd { margin: 0; font-size: 1.02rem; overflow-wrap: anywhere; }
.copyable { user-select: all; font-family: var(--font-display); font-weight: 600; font-size: .98rem; }

.legal-box { margin: 2em 0; padding: 18px 22px; border-left: 4px solid var(--hot); border-radius: 0 var(--r) var(--r) 0; background: var(--surface); }
.legal-box b { font-family: var(--font-display); font-weight: 750; display: block; margin-bottom: 6px; color: var(--hot); }
.legal-box p { margin: 0; font-size: 1rem; }

.clinics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.clinic { background: var(--surface); border-radius: 10px; padding: 26px; display: grid; gap: 6px; align-content: start; min-width: 0; box-shadow: inset 0 0 0 1px var(--line); }
.clinic h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 900; font-stretch: 100%; line-height: 1; margin-top: 4px; }
.clinic-sub { margin: 0 0 12px; color: var(--muted); }
.clinic-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .98rem; padding: 11px 18px; border-radius: var(--r); background: var(--accent); color: var(--accent-ink); text-decoration: none; border: 1px solid var(--accent); }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--accent); }
.clinic-note { font-size: 1rem; color: var(--muted); max-width: 70ch; margin: 20px 0 32px; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 26px; border-radius: 10px; background: var(--ink); color: var(--bg); margin-bottom: 28px; }
.cta-strip b { font-family: var(--font-display); font-weight: 850; font-stretch: 100%; font-size: 1.45rem; }
.cta-strip p { margin: 4px 0 0; color: var(--bg); opacity: .8; font-size: 1rem; }
.cta-strip .btn { background: var(--bg); border-color: var(--bg); color: var(--ink); }

/* Aviso de responsabilidad, común a todas las páginas */
.health-notice { background: var(--surface); border-top: 1px solid var(--line); }
.health-notice .wrap { padding-block: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.health-notice .hn-mark { font-family: var(--font-display); font-size: .85rem; font-weight: 750; color: var(--hot); padding-top: 1px; white-space: nowrap; }
.health-notice p { margin: 0; font-size: .95rem; color: var(--muted); max-width: 95ch; }

@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .clinics { grid-template-columns: minmax(0, 1fr); }
  .health-notice .wrap { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 480px) {
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- Sobre mí ---------- */
.timeline { list-style: none; margin: 1.2em 0 1.4em; padding: 0; border-left: 2px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 0 0 22px 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline li:last-child::before { background: var(--accent); }
.tl-date { font-family: var(--font-display); font-size: .9rem; font-weight: 650; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.timeline b { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; display: block; }
.tl-place { display: block; color: var(--accent); font-family: var(--font-display); font-size: .98rem; margin-top: 2px; }
.timeline p { margin: 8px 0 0; font-size: 1rem; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 1.2em 0; border-top: 2px solid var(--ink); }
.services > div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.services b { font-family: var(--font-display); font-weight: 750; }
.services span { font-size: .98rem; color: var(--muted); }
@media (max-width: 600px) {
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .services { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Menú desplegable «Deportes» ---------- */
.nav-drop { display: inline-flex; align-items: center; gap: 4px; font: 500 .92rem var(--font-display); font-stretch: 100%; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 8px; cursor: pointer; white-space: nowrap; }
.nav-drop svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav-drop:hover { color: var(--ink); }
.nav-drop[aria-expanded="true"] { color: var(--ink); }
.nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop.is-current { color: var(--ink); font-weight: 700; border-bottom-color: var(--accent); }
.sports-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 18px 32px -18px rgba(14, 36, 51, .35); }
.sports-panel[hidden] { display: none; }
.sports-panel .wrap { padding-block: 18px 22px; }
.sports-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; }
.sports-list a { display: grid; gap: 3px; padding: 12px 0 10px; border-top: 2px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; align-content: start; }
.sports-list a:hover b { color: var(--accent); }
.sports-list .is-live a { border-top-color: var(--accent); }
.sports-list a[aria-current="page"] b { color: var(--accent); }
.sports-list b { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 1.15rem; }
.sports-list span { font-size: .95rem; line-height: 1.4; color: var(--muted); }
.sports-list em { font-style: normal; font-family: var(--font-display); font-size: .8rem; font-weight: 650; color: var(--muted); margin-top: 4px; }
.sports-list .is-live em { color: var(--accent); }
@media (max-width: 760px) {
  .sports-list { grid-template-columns: minmax(0, 1fr); }
  .sports-list a { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 0; border-top-width: 1px; }
  .sports-list .is-live a { border-top-width: 1px; border-top-color: var(--line); }
  .sports-list b { grid-column: 1; }
  .sports-list span { grid-column: 1; }
  .sports-list em { grid-column: 2; grid-row: 1; margin: 0; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .nav-drop svg { transition: none; } }

/* ---------- Portada: varios apartados disponibles ---------- */
.features { display: grid; gap: 20px; }

/* ---------- Menú: apartado actual con enlace normal ---------- */
.nav a.is-current { color: var(--ink); font-weight: 700; border-bottom-color: var(--accent); }

/* ---------- Artículos de lesiones ---------- */
.article .h3, .faq h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 750; margin: 1.6em 0 .45em; }
.article .summary li::marker { color: var(--accent); }
.takeaway .figure-title { margin-bottom: 10px; }
.note-box { border-left-color: var(--accent); }
.note-box b { color: var(--accent); }

.exercise { margin: 1.4em 0; padding: 20px 22px; background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.exercise h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 100%; margin: 0 0 6px; }
.exercise .ex-for { color: var(--muted); font-size: 1.02rem; margin: 0 0 12px; }
.exercise ol { margin: 0 0 14px; padding-left: 1.4em; display: grid; gap: 4px; }
.exercise ol li::marker { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.dose { display: grid; gap: 2px; margin: 0 0 10px !important; padding: 10px 14px; background: var(--soft); border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.4; }
.dose span { font-size: .8rem; font-weight: 650; color: var(--muted); }
.exercise .ex-note { margin: 0; font-size: .98rem; color: var(--muted); }

.when ul.summary { margin-top: 4px; font-size: 1rem; }
.article .cta-strip { margin: 2em 0; }

.faq { margin-top: 2.2em; }
.faq h3 { padding-top: 14px; border-top: 1px solid var(--line); margin-top: 1.2em; }
.faq h2 + h3 { margin-top: .4em; }
.faq p { margin-bottom: .4em; }
.refs li { scroll-margin-top: 100px; }
.refs li:target { background: var(--soft); }
.toc-box .toc { gap: 6px; font-size: .96rem; }

/* Enlace al pie de un menú desplegable */
.panel-foot { margin: 14px 0 0; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.panel-foot a { color: var(--accent); }
.sports-list .is-live em { color: var(--accent); }

/* Subapartados: en el menú y en el índice de lesiones */
.sports-list li { display: grid; align-content: start; }
.panel-sub { display: block; margin-top: 6px; padding-left: 12px; border-left: 2px solid var(--accent); font-family: var(--font-display); font-weight: 650; font-size: .92rem; color: var(--ink); text-decoration: none; }
.panel-sub:hover, .panel-sub[aria-current="page"] { color: var(--accent); }
.series-item.is-sub > a { padding-left: 40px; }
.series-item.is-sub .series-num { font-size: 1.5rem; }
.series-item.is-sub h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); }
@media (max-width: 600px) { .series-item.is-sub > a { padding-left: 20px; } }
@media (max-width: 760px) { .panel-sub { margin: 0 0 10px; } }
.sports-list a.panel-sub { display: block; height: auto; border-top: 0; padding: 2px 0 2px 12px; margin-top: 8px; border-left: 2px solid var(--accent); }
@media (max-width: 760px) { .sports-list a.panel-sub { margin: 0 0 10px; } }

/* ---------- Sobre mí: cabecera con foto ---------- */
.banner-profile .banner-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 48px; align-items: end; padding-bottom: 0; }
.banner-profile .banner-grid > div { padding-bottom: 30px; }
.profile-role { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--band-fg); margin: 12px 0 0; }
.profile-photo { margin: 0; align-self: end; }
.profile-photo img { display: block; width: 100%; height: auto; border-radius: 12px 12px 0 0; box-shadow: 0 -1px 0 rgba(14, 36, 51, .08); }
.author-thumb { display: block; width: 96px; height: 96px; object-fit: cover; object-position: 50% 22%; border-radius: 50%; margin: 4px 0 12px; }
@media (max-width: 760px) {
  .banner-profile .banner-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .banner-profile .banner-grid > div { padding-bottom: 0; }
  .profile-photo { max-width: 300px; }
}

/* Menú de lesiones: 6 elementos en dos filas de tres */
#menu-lesiones .sports-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
@media (max-width: 760px) { #menu-lesiones .sports-list { grid-template-columns: minmax(0, 1fr); row-gap: 0; } }

/* Etiqueta «Novedad» en los menús: naranja cálido de la escala de presiones */
:root { --new: #d4471f; --new-ink: #ffffff; }
.sports-list .is-live em {
  justify-self: start; align-self: start;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; padding: 2px 9px 2px 8px; border-radius: 999px;
  background: var(--new); color: var(--new-ink);
  font-size: .76rem; font-weight: 750; letter-spacing: .01em; line-height: 1.5;
}
.sports-list .is-live em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffd23f; }
@media (max-width: 760px) { .sports-list .is-live em { margin-top: 0; align-self: center; } }

/* Pasos numerados dentro de un artículo (vuelta a correr) */
.steps-list { margin: 0 0 1.1em; padding-left: 1.4em; display: grid; gap: 8px; }
.steps-list li::marker { font-family: var(--font-display); font-weight: 800; color: var(--accent); }
.steps-list b { font-family: var(--font-display); }
.when > div > p { font-size: .95rem; color: var(--muted); }

/* Portada: deportes ya publicados */
.sports-links dt a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); }
.sports-links dt a:hover { color: var(--accent); }

/* ================= Auditoría con las Web Interface Guidelines de Vercel ================= */
:root { --line: rgba(14, 58, 86, .17); --new: #c23d17; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --line: rgba(160, 200, 225, .16); } }
:root[data-theme="dark"] { --line: rgba(160, 200, 225, .16); }

/* Saltos a anclas sin quedar tapados por el menú fijo */
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
a, button { -webkit-tap-highlight-color: rgba(11, 110, 138, .18); touch-action: manipulation; }

/* Enlace para saltar al contenido */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 50; padding: 10px 16px; border-radius: var(--r); background: var(--ink); color: var(--bg); font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Sin palabras sueltas en la última línea */
p, li, dd, .banner-lede { text-wrap: pretty; }

/* «Próximamente»: color atenuado en vez de opacidad (contraste suficiente) */
.series-item.is-soon { opacity: 1; }
.series-item.is-soon h3 { color: var(--muted); }

/* Superficies elevadas: borde semitransparente y sombras en capas, teñidas de marino */
.feature, .clinic, .plate {
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(14, 36, 51, .05), 0 8px 24px -12px rgba(14, 36, 51, .14);
}
.exercise, .figure, .calc, .book, .when > div, .takeaway { box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(14, 36, 51, .04); }
.sports-panel { box-shadow: 0 1px 0 var(--line), 0 12px 32px -16px rgba(14, 36, 51, .3); }

/* Citas [1] con zona de toque mayor sin mover el texto */
.source a { padding: 4px 3px; margin: -4px -1px; }

/* Zonas táctiles de 44 px en pantallas táctiles */
@media (pointer: coarse) {
  .nav a, .nav-drop, .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .toc a, .crumbs a, .site-footer nav a, .panel-foot a, .side-box p a, .refs a.pmid, .banner-by a { display: inline-flex; align-items: center; min-height: 44px; }
  .toc { gap: 0; }
  .source a { padding: 12px 6px; margin: -12px -4px; }
  .site-footer nav { gap: 4px 18px; }
}

/* Menú en móvil: fundido a la derecha para indicar que se puede deslizar */
@media (max-width: 760px) {
  .nav { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); padding-right: 32px; }
}
@media (pointer: coarse) {
  .brand-line, .sports-links dt a, .article-meta a { display: inline-flex; align-items: center; min-height: 44px; }
  .article-meta { row-gap: 0; }
}
@media (pointer: coarse) { .defs dt a { display: inline-flex; align-items: center; min-height: 44px; } }
.crumbs { align-items: center; }
@media (pointer: coarse) { .crumbs { margin-top: 10px; } }

/* ---------- Guías de calzado ---------- */
.shoe { margin: 1.4em 0; padding: 22px 24px 18px; background: var(--surface); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(14, 36, 51, .05), 0 8px 24px -14px rgba(14, 36, 51, .14); scroll-margin-top: 96px; }
.shoe-cat { margin: 0 0 4px; font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--accent); }
.shoe h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 900; font-stretch: 100%; line-height: 1.05; margin: 0 0 10px; }
.shoe > p { margin: 0 0 14px; }
.shoe-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 14px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.shoe-specs > div { padding: 10px 12px 10px 0; display: grid; gap: 2px; align-content: start; }
.shoe-specs > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.shoe-specs dt { font-family: var(--font-display); font-size: .78rem; font-weight: 650; color: var(--muted); }
.shoe-specs dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
.shoe-line { margin: 0 0 8px !important; font-size: 1rem; line-height: 1.5; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.shoe-line span { font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--accent); padding-top: 2px; }
.shoe-ojo span { color: var(--hot); }
.shoe-src { margin: 10px 0 0 !important; font-family: var(--font-display); font-size: .78rem; color: var(--muted); }
@media (max-width: 600px) {
  .shoe { padding: 18px 18px 14px; }
  .shoe-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shoe-specs > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .shoe-specs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shoe-line { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
.guide-list { list-style: none; margin: 1em 0 1.4em; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 2px solid var(--ink); }
.guide-list a { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.guide-list b { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: 1.2rem; }
.guide-list span { font-size: .98rem; color: var(--muted); }
.guide-list a:hover b { color: var(--accent); }
@media (max-width: 600px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }
#menu-calzado .sports-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
@media (max-width: 760px) { #menu-calzado .sports-list { grid-template-columns: minmax(0, 1fr); row-gap: 0; } }

/* ================= Transiciones ================= */

/* Cambio de página: transición nativa entre documentos (Chrome, Edge, Safari 18.2+).
   La cabecera fija se mantiene y el contenido entra deslizando suavemente. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: cabecera; }
.banner-compact h1, .banner-title { view-transition-name: titulo; }
::view-transition-old(root) { animation: vt-salida .2s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-entrada .42s cubic-bezier(.16, 1, .3, 1) both; }
::view-transition-group(titulo) { animation-duration: .45s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(titulo) { animation: vt-fundido-salida .2s ease both; }
::view-transition-new(titulo) { animation: vt-fundido-entrada .38s .08s ease both; }
@keyframes vt-salida { to { opacity: 0; transform: translateY(-8px) scale(.995); } }
@keyframes vt-entrada { from { opacity: 0; transform: translateY(14px); } }
@keyframes vt-fundido-salida { to { opacity: 0; } }
@keyframes vt-fundido-entrada { from { opacity: 0; } }

/* Menús desplegables: fundido, ligero descenso y elementos en cascada */
.sports-panel { opacity: 0; transform: translateY(-10px); clip-path: inset(0 0 100% 0); transition: opacity .2s ease, transform .32s cubic-bezier(.16, 1, .3, 1), clip-path .36s cubic-bezier(.16, 1, .3, 1); }
.sports-panel.is-open { opacity: 1; transform: none; clip-path: inset(0 0 -40px 0); }
.sports-panel.is-closing { transition-duration: .16s, .2s, .22s; transition-timing-function: ease-in; }
.sports-panel .sports-list > li, .sports-panel .panel-foot { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .4s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 35ms + 60ms); }
.sports-panel.is-open .sports-list > li, .sports-panel.is-open .panel-foot { opacity: 1; transform: none; }
.sports-panel.is-closing .sports-list > li, .sports-panel.is-closing .panel-foot { transition-delay: 0s; transition-duration: .12s; }
.nav-drop svg { transition: transform .32s cubic-bezier(.16, 1, .3, 1); }

/* Pequeños detalles al pasar el ratón, solo donde hay acción */
.feature, .guide-list a, .sports-list a { transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, color .2s ease; }
@media (hover: hover) {
  .feature:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 2px 4px rgba(14, 36, 51, .06), 0 16px 32px -16px rgba(14, 36, 51, .22); }
  .sports-list a:hover { transform: translateY(-2px); }
}

/* Fotos de las zapatillas (aparecen cuando se sube el archivo) */
.shoe-photo { margin: -22px -24px 16px; aspect-ratio: 16 / 10; background: var(--plate); border-radius: 10px 10px 0 0; overflow: hidden; }
.shoe-photo img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 4% 8%; mix-blend-mode: multiply; }
@media (max-width: 600px) { .shoe-photo { margin: -18px -18px 14px; } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .sports-panel, .sports-panel .sports-list > li, .sports-panel .panel-foot, .feature, .guide-list a, .sports-list a { transition: none !important; }
  .sports-panel.is-open, .sports-panel.is-open .sports-list > li { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Auditoría de tráfico: mapa del pie, tabla rápida, enlazado ---------- */
.footmap { margin: 0 0 2em; padding: 20px 22px 18px; background: var(--surface); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(14, 36, 51, .05), 0 8px 24px -14px rgba(14, 36, 51, .14); }
.footmap-views { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: end; margin-top: 8px; }
.footmap svg { display: block; width: 100%; height: auto; max-height: 340px; overflow: visible; }
.fm-foot path, .fm-foot ellipse { fill: var(--plate); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.fm-spot { cursor: pointer; outline: none; }
.fm-spot circle { fill: var(--accent); transition: transform .2s ease, fill .2s ease; transform-box: fill-box; transform-origin: center; }
.fm-spot .fm-halo { fill: #f0901e; opacity: .28; }
.fm-spot text { fill: #fff; font: 800 13px/1 var(--font-display); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.fm-spot:hover circle:not(.fm-halo), .fm-spot:focus-visible circle:not(.fm-halo) { fill: var(--hot); transform: scale(1.18); }
.fm-spot:hover .fm-halo, .fm-spot:focus-visible .fm-halo { opacity: .5; transform: scale(1.12); }
.fm-spot:focus-visible .fm-halo { stroke: var(--ink); stroke-width: 2; }
.footmap-cap { margin: 6px 0 0 !important; text-align: center; font-family: var(--font-display); font-size: .82rem; color: var(--muted); }
.footmap-legend { margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 14px; font-family: var(--font-display); font-size: .92rem; counter-reset: z; list-style: none; }
.footmap-legend li { counter-increment: z; display: flex; align-items: center; }
.footmap-legend li::before { content: counter(z); display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; margin-right: 6px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-weight: 800; }
.footmap-legend li:last-child::before { content: "+"; background: var(--muted); }
.footmap-legend a { display: inline-block; padding: 4px 0; color: var(--ink); text-decoration: none; }
.footmap-legend a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) {
  .footmap { padding: 16px 14px 14px; }
  .footmap-views { grid-template-columns: minmax(0, 1fr); }
  .footmap-views > div:first-child svg { max-height: 280px; }
  .footmap-views > div:last-child svg { max-height: 190px; }
  .footmap-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.qtable-wrap { overflow-x: auto; margin: 0 0 .6em; }
.qtable { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.qtable th { text-align: left; font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 2px solid var(--ink); }
.qtable td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.qtable td:first-child { font-family: var(--font-display); font-weight: 700; }
.figure-note { font-family: var(--font-display); font-size: .85rem; color: var(--muted); }
.hub-link { margin: 0 0 28px; }
.hub-link a { display: grid; gap: 2px; padding: 16px 20px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -14px rgba(14, 36, 51, .14); text-decoration: none; color: var(--ink); border-left: 4px solid var(--accent); }
.hub-link b { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.hub-link span { color: var(--muted); font-size: 1rem; }
.hub-link a:hover b { color: var(--accent); }
.related { margin-top: 2.6em; }
.related h2 { margin-top: 0 !important; }
.popular { padding: 8px 0 40px; }
.popular h2 { font-size: clamp(1.45rem, 2.8vw, 1.85rem); font-weight: 800; font-stretch: 100%; margin-bottom: 4px; }
.popular-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .popular-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .popular-list { grid-template-columns: minmax(0, 1fr); } }
.ask-box { margin: 1.4em 0; padding: 16px 20px; border-radius: 10px; background: var(--surface); border-left: 4px solid var(--hot); box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -14px rgba(14, 36, 51, .14); }
.ask-box b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--hot); margin-bottom: 4px; }
.ask-box p { margin: 0 !important; }
.vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 1.4em; }
.vs > div { padding: 18px 20px 8px; background: var(--surface); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -14px rgba(14, 36, 51, .14); }
.vs h3 { font-size: 1.4rem; font-weight: 900; font-stretch: 100%; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.vs .vs-k { margin: 12px 0 4px !important; font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--accent); }
.vs .vs-no { color: var(--hot); }
.vs .summary { font-size: 1rem; }
@media (max-width: 700px) { .vs { grid-template-columns: minmax(0, 1fr); } }
.zone-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.zone-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.zone-nav a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.zone-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; font-stretch: 100%; margin: 1.6em 0 2px; scroll-margin-top: 90px; }
.zone-desc { margin: 0 0 10px; color: var(--muted); font-size: 1rem; }
.footmap-views.three { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); grid-template-rows: auto auto; align-items: center; }
.footmap-views.three > div:first-child { grid-row: span 2; }
.footmap-views.three > div:not(:first-child) svg { max-height: 190px; }
.fm-detail { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; opacity: .45; }
.fm-foot path { stroke-width: 1.8; }
.fm-side { fill: var(--muted); font: 600 11px/1 var(--font-display); text-anchor: middle; }
.knee-legend { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.knee-legend li:last-child::before { content: counter(z); background: var(--accent); }
@media (max-width: 600px) {
  .footmap-views.three { grid-template-columns: minmax(0, 1fr); }
  .footmap-views.three > div:first-child { grid-row: auto; }
  .knee-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#menu-lesiones .zone-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 28px; }
#menu-lesiones .zone-col:first-child .sports-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#menu-lesiones .zone-col .sports-list { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
#menu-lesiones .zone-h { margin: 0 0 4px; padding-bottom: 0; font-family: var(--font-display); font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  #menu-lesiones .zone-cols { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #menu-lesiones .zone-col:first-child .sports-list { grid-template-columns: minmax(0, 1fr); }
}
.footmap-legend { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.knee-legend { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
#menu-lesiones .zone-cols { grid-template-columns: 3fr 1fr 1fr; }
#menu-lesiones .zone-col:first-child .sports-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { #menu-lesiones .zone-cols { grid-template-columns: 2fr 1fr 1fr; } #menu-lesiones .zone-col:first-child .sports-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { #menu-lesiones .zone-cols { grid-template-columns: minmax(0, 1fr); } #menu-lesiones .zone-col:first-child .sports-list { grid-template-columns: minmax(0, 1fr); } }
#menu-lesiones .zone-cols { grid-template-columns: 2.2fr 1fr 1fr 1.1fr; }
#menu-lesiones .zone-col:first-child .sports-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#menu-lesiones .zone-col .sports-list span { font-size: .9rem; }
#menu-lesiones .zone-col:last-child .sports-list { row-gap: 8px; }
@media (max-width: 1000px) { #menu-lesiones .zone-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; } }
@media (max-width: 760px) { #menu-lesiones .zone-cols { grid-template-columns: minmax(0, 1fr); } #menu-lesiones .zone-col:first-child .sports-list { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   MÓVIL: cabecera compacta, menú a pantalla completa e índice plegable
   ============================================================ */
.m-cta, .m-menu, .m-sheet, .toc-mobile { display: none; }
@media (max-width: 860px) {
  .site-header > .wrap { gap: 10px; padding-block: 8px; }
  .site-header .nav { display: none; }
  .brand-name { display: inline; font-size: 1.02rem; }
  .brand { margin-right: auto; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
  .m-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 .88rem/1 var(--font-display); text-decoration: none; white-space: nowrap; }
  .m-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 10px; border: 0; background: none; color: var(--ink); font: 700 .92rem/1 var(--font-display); cursor: pointer; }
  .m-burger { display: grid; gap: 4px; width: 20px; }
  .m-burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .28s cubic-bezier(.16, 1, .3, 1), opacity .2s ease; }
  .m-menu[aria-expanded="true"] .m-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .m-menu[aria-expanded="true"] .m-burger i:nth-child(2) { opacity: 0; }
  .m-menu[aria-expanded="true"] .m-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .sports-panel { display: none !important; }

  .m-sheet { display: block; position: fixed; left: 0; right: 0; top: var(--hdr-b, 64px); bottom: 0; z-index: 30; background: var(--surface); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .3s cubic-bezier(.16, 1, .3, 1); }
  .m-sheet.is-open { opacity: 1; transform: none; }
  .m-inner { padding: 8px max(16px, env(safe-area-inset-left, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)); font-family: var(--font-display); }
  .m-home, .m-group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 800; font-stretch: 100%; list-style: none; cursor: pointer; }
  .m-group > summary::-webkit-details-marker { display: none; }
  .m-group > summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s ease; }
  .m-group[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
  .m-home[aria-current="page"] { color: var(--accent); }
  .m-group ul { list-style: none; margin: 0; padding: 4px 0 10px; }
  .m-group li a { display: grid; gap: 1px; padding: 10px 0 10px 12px; border-left: 2px solid var(--line); text-decoration: none; color: var(--ink); }
  .m-group li a b { font-weight: 700; font-size: 1.02rem; }
  .m-group li a span { font-family: var(--font-body); font-size: .92rem; color: var(--muted); }
  .m-group li a[aria-current="page"] { border-left-color: var(--accent); }
  .m-group li a[aria-current="page"] b { color: var(--accent); }
  .m-group li a.m-sub { display: block; padding: 6px 0 10px 26px; font-size: .92rem; font-weight: 600; color: var(--accent); }
  .m-zone { margin: 14px 0 0 !important; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .m-all a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
  .m-links { display: grid; margin-top: 10px; }
  .m-links a { display: flex; align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); color: var(--accent); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
  .m-links a[aria-current="page"] { color: var(--ink); }
  .m-book { display: flex !important; justify-content: center; margin-top: 22px; min-height: 50px; align-items: center; }
  body.menu-open { overflow: hidden; }

  /* Índice plegable al principio del artículo */
  .toc-mobile { display: block; margin: 0 0 1.6em; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-display); }
  .toc-mobile > summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 16px; font-weight: 800; cursor: pointer; list-style: none; }
  .toc-mobile > summary::-webkit-details-marker { display: none; }
  .toc-mobile > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
  .toc-mobile[open] > summary::after { transform: rotate(-135deg); }
  .toc-mobile ul { list-style: none; margin: 0; padding: 0 16px 10px; }
  .toc-mobile a { display: flex; align-items: center; min-height: 44px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
  .sidebar .toc-box { display: none; }
}
@media (max-width: 480px) {
  .banner-compact .banner-grid { padding-block: 22px 22px; }
  .banner-compact h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); line-height: .98; margin-top: 12px; }
  .banner-compact .brand-line { font-size: .95rem; }
  .crumbs { margin-top: 12px; }
  .ad-leaderboard { padding-block: 12px; }
  .article-meta { margin-bottom: 18px; font-size: .82rem; }
  .article .answer { font-size: 1.18rem; }
  body { font-size: 1.08rem; }
  .article h2 { margin-top: 1.6em; }
  .cta-strip .btn { flex: 1 1 100%; justify-content: center; }
  .main-grid { gap: 32px; }
  .m-cta { padding: 0 12px; }
}
@media (max-width: 360px) { .brand-name { display: none; } }
@media (prefers-reduced-motion: reduce) { .m-sheet, .m-burger i { transition: none; } }
.brand-line { gap: .28em; }

/* Esquema «dónde duele → cómo duele → qué suele ser» */
.schema { position: relative; margin: 0 0 .8em; padding-left: 22px; }
.schema::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 26px; width: 2px; border-radius: 2px; background: var(--scale); background: linear-gradient(180deg, #e0261e, #f0901e 35%, #12b8f0 68%, #2340e0); }
.schema-root { position: relative; margin: 0 0 18px -22px !important; }
.schema-root span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 800 1.05rem/1 var(--font-display); font-stretch: 100%; }
.schema-root span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--scale); box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.schema-branch { position: relative; margin: 0 0 18px; padding: 14px 16px 6px; background: var(--surface); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(14, 36, 51, .05), 0 10px 26px -18px rgba(14, 36, 51, .25); }
.schema-branch::before { content: ""; position: absolute; left: -15px; top: 24px; width: 15px; height: 2px; background: var(--c); }
.schema-branch::after { content: ""; position: absolute; left: -20px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--bg); }
.schema-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; font-size: .82rem !important; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.schema-title::before { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--c); }
.schema-list { list-style: none; margin: 0; padding: 0; }
.schema-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.schema-list li:first-child { border-top: 0; }
.sz-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--c) 16%, var(--surface)); color: var(--ink); box-shadow: inset 0 0 0 2px var(--c); font: 800 .85rem/1 var(--font-display); }
.sz-text { display: grid; gap: 1px; min-width: 0; }
.sz-text b { font-family: var(--font-display); font-weight: 750; font-size: 1.02rem; line-height: 1.25; }
.sz-text span { font-size: .95rem; line-height: 1.4; color: var(--muted); font-style: italic; }
.sz-cause { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 10%, var(--surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 55%, transparent); color: var(--ink); text-decoration: none; font: 700 .9rem/1.15 var(--font-display); white-space: nowrap; transition: background .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1); }
.sz-cause svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .2s ease; }
.sz-cause:hover { background: color-mix(in srgb, var(--c) 22%, var(--surface)); }
.sz-cause:hover svg { transform: translateX(2px); }
@media (min-width: 1000px) {
  .schema-branches-2 { display: grid; }
}
@media (max-width: 560px) {
  .schema-list li { grid-template-columns: 30px minmax(0, 1fr); }
  .sz-cause { grid-column: 2; justify-self: start; white-space: normal; }
  .schema-branch { padding: 12px 14px 4px; }
}
.sz-cause.is-soon { background: var(--soft); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); font-weight: 600; }
.schema-list li > .sz-num:not(:empty) { font-size: .8rem; }

/* Comparativa «A vs B» */
.versus { margin: 0 0 1em; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 10px 26px -18px rgba(14, 36, 51, .25); font-family: var(--font-display); }
.vs-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.vs-head .vs-a, .vs-head .vs-b { padding: 14px 16px; font-weight: 900; font-stretch: 100%; font-size: 1.25rem; text-align: center; color: #fff; }
.vs-head .vs-a { background: linear-gradient(135deg, #c8321f, #e0611e); }
.vs-head .vs-b { background: linear-gradient(135deg, #0b6e8a, #1294b8); }
.vs-mid { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 -20px; z-index: 1; border-radius: 50%; background: var(--surface); color: var(--ink); font-weight: 900; font-size: .85rem; box-shadow: 0 0 0 4px var(--surface), 0 2px 8px rgba(14, 36, 51, .2); position: relative; }
.vs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.vs-row .vs-k { grid-column: 1 / -1; padding: 10px 16px 0; text-align: center; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vs-row .vs-a, .vs-row .vs-b { padding: 6px 16px 12px; font-size: .98rem; font-weight: 600; line-height: 1.35; text-align: center; }
.vs-row .vs-a { color: #a62a1a; }
.vs-row .vs-b { color: var(--accent); border-left: 1px dashed var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vs-row .vs-a { color: #ff8a70; } }

/* ============================================================
   NAVEGACIÓN MÁS CLARA: acciones de cabecera, buscador,
   accesos de portada, pie con mapa de la web y «volver arriba»
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Cabecera: buscar + pedir cita siempre a mano */
.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.search-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .92rem/1 var(--font-display); cursor: pointer; }
.search-btn svg, .hero-search-box svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.search-btn:hover, .search-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.hdr-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 .95rem/1 var(--font-display); text-decoration: none; white-space: nowrap; }
.hdr-cta:hover { filter: brightness(1.08); }
@media (min-width: 861px) { .site-header > .wrap { gap: 22px; } }
#menu-consulta .sports-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { #menu-consulta .sports-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1080px) and (min-width: 861px) { .search-btn span { display: none; } .search-btn { padding: 0 11px; } }
@media (max-width: 860px) {
  .hdr-actions { gap: 4px; }
  .search-btn { border: 0; padding: 0; width: 44px; justify-content: center; background: none; }
  .search-btn span { display: none; }
  .hdr-cta { min-height: 38px; padding: 0 14px; font-size: .88rem; }
}
@media (max-width: 480px) {
  .m-menu { padding: 0 6px; }
  .m-menu .m-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header > .wrap { gap: 6px; }
}
@media (max-width: 400px) { .brand-name { display: none !important; } }

/* Panel de búsqueda */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 18px 32px -18px rgba(14, 36, 51, .35); }
.search-panel[hidden] { display: none; }
.search-panel .wrap { padding-block: 18px 22px; }
.search-label, .hero-search-label { display: block; font: 700 1rem var(--font-display); margin-bottom: 8px; }
.site-search { position: relative; }
.site-search input { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 500 1.08rem var(--font-display); }
.site-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.search-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: min(60vh, 440px); overflow-y: auto; }
.search-results a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a.is-active { background: var(--soft); }
.search-results b { font: 700 1.02rem/1.3 var(--font-display); }
.search-results .sr-sec { font: 650 .78rem var(--font-display); color: var(--accent); }
.search-empty { padding: 10px 12px; font-size: .98rem; color: var(--muted); }

/* Buscador grande de la portada */
.hero-search { margin-top: 26px; max-width: 30rem; }
.hero-search-label { color: var(--band-fg); }
.hero-search-box { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-radius: 12px; background: var(--surface); box-shadow: 0 1px 0 rgba(14, 36, 51, .06), 0 10px 24px -14px rgba(14, 36, 51, .45); color: var(--muted); }
.hero-search-box input { border: 0; background: transparent; padding-left: 0; min-height: 56px; }
.hero-search-box input:focus { box-shadow: none; }
.hero-search-box:focus-within { box-shadow: 0 0 0 2px var(--accent), 0 10px 24px -14px rgba(14, 36, 51, .45); }
.hero-search .search-results { position: absolute; left: 0; right: 0; top: 100%; z-index: 15; background: var(--surface); border-radius: 12px; padding: 6px; box-shadow: 0 18px 40px -16px rgba(14, 36, 51, .5); }
.hero-hints { margin: 12px 0 0; font: 500 .92rem/1.6 var(--font-display); color: var(--band-muted); }
.hero-hints a { color: var(--band-fg); }

/* Menú móvil: buscador arriba */
.m-search { padding: 12px 0 6px; }
.m-search input { min-height: 48px; }

/* Accesos de portada */
.paths { padding-block: 40px 28px; }
.paths h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 850; font-stretch: 100%; margin-bottom: 18px; }
.path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.path { display: grid; align-content: start; gap: 10px; padding: 24px; background: var(--surface); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.path h3 { font-size: 1.55rem; font-weight: 850; font-stretch: 100%; }
.path p { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--muted); }
.path-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent); }
.path-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.path-go { font: 700 1rem var(--font-display); color: var(--accent); text-decoration: none; }
.path-go::after { content: " →"; }
.path-go:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chips a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 .92rem var(--font-display); text-decoration: none; }
.chips a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.path-main { box-shadow: inset 0 0 0 2px var(--accent); }
.path-book { background: var(--ink); box-shadow: none; }
.path-book h3 { color: var(--bg); }
.path-book p { color: var(--bg); opacity: .8; }
.path-book .path-ico { background: rgba(255, 255, 255, .12); color: var(--bg); }
.path-book .btn { justify-self: start; background: var(--bg); border-color: var(--bg); color: var(--ink); }
.path-book .path-links a { color: var(--bg); }
@media (max-width: 760px) {
  .path-grid { grid-template-columns: minmax(0, 1fr); }
  .path { padding: 20px; }
  .hero-search { max-width: none; }
}

/* Volver arriba */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 25; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 .88rem var(--font-display); text-decoration: none; box-shadow: 0 8px 20px -8px rgba(14, 36, 51, .5); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.menu-open .to-top { display: none; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* Pie con mapa de la web */
.site-footer .footer-cols { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 40px 28px; }
.site-footer .footer-cols nav { display: grid; align-content: start; gap: 6px; }
.site-footer .footer-cols b { font: 800 1rem var(--font-display); color: var(--bg); margin-bottom: 4px; }
.site-footer .f-name { font-size: 1.25rem !important; }
.site-footer .f-about p { margin: 6px 0 14px; font-size: .95rem; opacity: .8; max-width: 30ch; }
.site-footer .f-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--bg); color: var(--ink); opacity: 1; font-weight: 700; text-decoration: none; }
.site-footer .footer-legal { padding-block: 16px 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-footer .footer-legal { border-top-color: rgba(14, 36, 51, .18); } }
:root[data-theme="dark"] .site-footer .footer-legal { border-top-color: rgba(14, 36, 51, .18); }
@media (max-width: 860px) { .site-footer .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .f-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .footer-cols { grid-template-columns: minmax(0, 1fr); } }

/* Portada en móvil: la huella, más pequeña, para que los accesos se vean antes */
@media (max-width: 760px) {
  .banner .plate { max-width: 300px; justify-self: center; padding: 12px 12px 10px; }
  .banner .plate figcaption { font-size: .8rem; }
  .banner-grid { padding-block: 24px 26px; }
}

/* Ruta de navegación encima del título */
.banner-compact .crumbs { margin: 0 0 12px; }
.banner-compact h1 { margin-top: 0; }
.crumbs a { color: var(--band-fg); }
.path:target { box-shadow: inset 0 0 0 2px var(--accent); }
.paths .path { scroll-margin-top: 90px; }
.to-top { background: var(--accent); color: var(--accent-ink); }
.site-footer .footer-legal { padding-bottom: 72px; }
@media (max-width: 760px) {
  .banner .plate { max-width: 230px; padding: 10px 10px 6px; }
  .banner .plate figcaption, .banner .plate-side { display: none; }
  .banner .plate-map { padding-top: 0; }
  .banner-by { margin-top: 14px; }
  .hero-search { margin-top: 18px; }
}

/* ==========================================================================
   REDISEÑO · «Laboratorio de la pisada»
   El mundo de la web es la consulta de podología deportiva: el azul del
   pijama sanitario como fondo, el blanco de la plataforma de presiones como
   superficie y la tinta marina de los informes. La escala térmica de la
   plataforma (azul → rojo) solo aparece donde muestra datos o presión.
   Titulares: Anybody (grotesca deportiva con eje de anchura).
   Texto: Atkinson Hyperlegible (diseñada para leerse sin esfuerzo).
   Escala tipográfica clásica: 14 · 16 · 18 · 21 · 24 · 36 · 48 · 60 · 72.
   ========================================================================== */
:root {
  --bg: #d9e6f5;            /* azul pijama, pastel */
  --surface: #fbfcfe;       /* blanco de plataforma */
  --ink: #10233d;           /* tinta de informe */
  --muted: #4a5d76;
  --line: #bccfe6;
  --soft: #e8f0fa;
  --accent: #1e4fd8;        /* azul plataforma: acciones y enlaces */
  --accent-ink: #ffffff;
  --hot: #c63a26;           /* presión alta: avisos */
  --c-les: #d9412b;         /* lesiones = zona roja de la escala */
  --c-dep: #17904a;         /* deportes = zona verde */
  --c-cal: #b98000;         /* calzado = zona amarilla */
  --c-con: #1e4fd8;         /* consulta = zona azul */
  --band-bg: #c4d8f0;
  --band-fg: #10233d;
  --band-muted: #3d516b;
  --plate: #fbfcfe;
  --plate-dot: rgba(16, 35, 61, .16);
  --font-display: "Anybody", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Verdana", "Segoe UI", system-ui, sans-serif;
  --t-14: .875rem; --t-16: 1rem; --t-18: 1.125rem; --t-21: 1.3125rem; --t-24: 1.5rem;
  --t-36: 2.25rem; --t-48: 3rem; --t-60: 3.75rem; --t-72: 4.5rem;
  --r: 8px;
  --r-lg: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1b2c; --surface: #15263b; --ink: #e6eef8; --muted: #a2b4ca; --line: #2a4364; --soft: #1b3049;
    --accent: #86a8ff; --accent-ink: #0b1626; --hot: #ff8a70;
    --c-les: #ff7a62; --c-dep: #5fd18b; --c-cal: #f2c14e; --c-con: #86a8ff;
    --band-bg: #12233a; --band-fg: #eef4fb; --band-muted: #a9bbd1; --plate: #eef3fa;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1b2c; --surface: #15263b; --ink: #e6eef8; --muted: #a2b4ca; --line: #2a4364; --soft: #1b3049;
  --accent: #86a8ff; --accent-ink: #0b1626; --hot: #ff8a70;
  --c-les: #ff7a62; --c-dep: #5fd18b; --c-cal: #f2c14e; --c-con: #86a8ff;
  --band-bg: #12233a; --band-fg: #eef4fb; --band-muted: #a9bbd1; --plate: #eef3fa;
  color-scheme: dark;
}

/* Base tipográfica */
body { font-size: var(--t-18); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 100%; letter-spacing: -.012em; line-height: 1.08; }
.article, .intro { max-width: 66ch; }
.article p, .intro p { hyphens: manual; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }

/* Cabecera: blanca y sobria; la escala térmica se reserva para los datos */
.site-header { background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.site-header::after { display: none; }
.brand-name { font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; }
.brand-mark ellipse, .brand-mark circle { fill: var(--accent); }
.nav a, .nav-drop { font-family: var(--font-body); font-size: var(--t-16); font-weight: 400; color: var(--ink); }
.nav a[aria-current="page"], .nav-drop.is-current { font-weight: 700; border-bottom-color: var(--accent); }
.search-btn { font-family: var(--font-body); font-weight: 700; border-color: var(--line); }
.hdr-cta, .btn, .site-footer .f-cta { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.sports-list b { font-stretch: 100%; font-size: var(--t-18); }
.sports-list span { font-family: var(--font-body); }

/* ---------- Portada: la plataforma de presiones ---------- */
header.banner:not(.banner-compact) { background: var(--band-bg); padding-block: 22px 26px; }
header.banner:not(.banner-compact) .banner-grid {
  position: relative; gap: 40px; padding: 48px 48px 40px; border-radius: var(--r-lg);
  background-color: var(--surface);
  background-image: radial-gradient(var(--plate-dot) 1.2px, transparent 1.4px);
  background-size: 16px 16px;
  box-shadow: 0 0 0 1px rgba(16, 35, 61, .08), 0 24px 48px -32px rgba(16, 35, 61, .55);
  margin-inline: max(16px, env(safe-area-inset-left, 0px));
  max-width: calc(var(--max) - 32px);
}
@media (min-width: 1192px) { header.banner:not(.banner-compact) .banner-grid { margin-inline: auto; } }
/* Borde inferior de la plataforma: su escala de presión, de baja a alta */
header.banner:not(.banner-compact) .banner-grid::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--scale); }
.banner-text { container-type: inline-size; }
.banner-title { font-size: clamp(3.4rem, 15.5cqi, 7.5rem); font-weight: 900; font-stretch: 118%; letter-spacing: -.035em; line-height: .84; color: var(--ink); text-wrap: balance; }
.banner-lede { font-size: var(--t-21); line-height: 1.45; color: var(--muted); max-width: 30ch; margin-top: 20px; }
.banner-by { font-family: var(--font-body); font-size: var(--t-16); color: var(--muted); }
.banner-by a { color: var(--ink); font-weight: 700; }
header.banner:not(.banner-compact) .plate { background: transparent; box-shadow: none; padding: 0; }
header.banner:not(.banner-compact) .plate-map { background-image: none; padding-top: 22px; }
header.banner:not(.banner-compact) .plate-side, header.banner:not(.banner-compact) .plate figcaption { font-family: var(--font-body); color: var(--muted); }
header.banner:not(.banner-compact) .plate figcaption { border-top: 0; }

/* Buscador de la portada */
.hero-search-label { font-family: var(--font-display); font-stretch: 105%; font-size: var(--t-18); font-weight: 750; color: var(--ink); }
.hero-search-box { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 999px; padding-left: 20px; }
.hero-search-box:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.hero-search-box input { font-family: var(--font-body); font-size: var(--t-18); min-height: 58px; }
.site-search input { font-family: var(--font-body); }
.hero-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-body); font-size: var(--t-14); color: var(--muted); }
.hero-hints a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--soft); color: var(--ink); text-decoration: none; font-weight: 700; }
.hero-hints a:hover { background: var(--accent); color: var(--accent-ink); }
.search-results b { font-family: var(--font-body); }
.search-results .sr-sec { font-family: var(--font-body); }

/* ---------- Accesos «¿Por dónde empiezo?» ---------- */
.paths { padding-block: 44px 24px; }
.paths h2, .popular h2, .intro h2 { font-size: clamp(var(--t-24), 3.6vw, var(--t-36)); font-weight: 850; font-stretch: 108%; letter-spacing: -.02em; }
.path { border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); padding: 26px; gap: 12px; }
.path h3 { font-size: var(--t-24); font-weight: 850; font-stretch: 108%; }
.path p { font-size: var(--t-16); }
.path-ico { width: 48px; height: 48px; border-radius: 14px; }
.path-main { box-shadow: inset 0 0 0 1px var(--line); }
.path-main .path-ico { background: color-mix(in srgb, var(--c-les) 14%, transparent); color: var(--c-les); }
#deportes .path-ico { background: color-mix(in srgb, var(--c-dep) 14%, transparent); color: var(--c-dep); }
.path-grid > .path:nth-child(3) .path-ico { background: color-mix(in srgb, var(--c-cal) 16%, transparent); color: var(--c-cal); }
.path-go { font-family: var(--font-body); font-size: var(--t-16); }
.path-go::after { content: none; }
.path-go { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.chips a { font-family: var(--font-body); font-weight: 700; font-size: var(--t-14); background: var(--bg); box-shadow: none; }
.chips a:hover { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.path-book { background: var(--accent); }
.path-book h3, .path-book p { color: var(--accent-ink); }
.path-book p { opacity: .9; }
.path-book .path-ico { background: rgba(255, 255, 255, .16); color: var(--accent-ink); }
.path-book .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); }
.path-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.path-book .path-links a { color: var(--accent-ink); }

/* Lo más consultado */
.popular-list { border-top: 2px solid var(--ink); }
.guide-list b { font-stretch: 100%; font-size: var(--t-18); font-weight: 800; }
.guide-list span { font-family: var(--font-body); font-size: var(--t-16); }

/* Ciclo de la marcha: datos, así que aquí sí habla la escala de colores */
.gait { background: var(--surface); }
.gait-head h2 { font-size: var(--t-21); font-weight: 800; }
.bar { border-radius: 999px; font-family: var(--font-body); }
.bar .stance { background: var(--accent); }

/* Franja de cita */
.cta-strip { background: var(--accent); color: var(--accent-ink); border-radius: var(--r-lg); }
.cta-strip b { font-stretch: 105%; font-weight: 850; font-size: var(--t-24); color: var(--accent-ink); }
.cta-strip p { color: var(--accent-ink); opacity: .9; }
.cta-strip .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); }

/* Botones */
.btn { border-radius: 999px; }
.btn-ghost { background: transparent; }

/* ---------- Páginas interiores ---------- */
.banner-compact { background: var(--band-bg); }
.banner-compact h1 { font-size: clamp(2.25rem, 5.6vw, var(--t-60)); font-weight: 900; font-stretch: 110%; letter-spacing: -.03em; line-height: .96; max-width: 22ch; }
.banner-compact .banner-lede { font-size: var(--t-18); }
.crumbs { font-family: var(--font-body); font-size: var(--t-14); }
.article-meta { font-family: var(--font-body); font-size: var(--t-14); color: var(--muted); }
.answer { font-size: var(--t-21) !important; line-height: 1.5 !important; }
.article h2 { font-size: clamp(var(--t-24), 3vw, 2rem); font-weight: 850; font-stretch: 105%; letter-spacing: -.018em; }
.article h3, .intro h3 { font-size: var(--t-21); font-weight: 800; }
.article li::marker, .intro li::marker { color: var(--accent); }

/* Recuadros: superficie entera en lugar de barra lateral de color */
.takeaway { border-left: 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 22px 26px; }
.takeaway .figure-title { font-family: var(--font-display); font-weight: 850; font-stretch: 105%; font-size: var(--t-18); }
.legal-box { border-left: 0; border-radius: var(--r-lg); background: color-mix(in srgb, var(--hot) 9%, var(--surface)); }
.legal-box.note-box, .note-box { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.legal-box b { font-family: var(--font-body); }
.dose { border-left: 0; border-radius: var(--r); background: var(--soft); }
.exercise, .figure, .calc, .book, .when > div, .shoe { border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.shoe h3 { font-stretch: 105%; }
.shoe-specs { border-top-width: 2px; }
.side-box { border-top: 2px solid var(--ink); }
.side-box h3 { font-size: var(--t-18); font-weight: 800; }
.toc a { font-family: var(--font-body); font-size: var(--t-16); }
.series-num { font-stretch: 100%; font-weight: 800; font-variant-numeric: tabular-nums; }
.series-item h3 { font-size: clamp(var(--t-18), 2.2vw, var(--t-24)); font-weight: 800; }
.series-meta { font-family: var(--font-body); font-weight: 400; font-size: var(--t-14); }
.zone-title { font-weight: 900; font-stretch: 108%; }
.zone-nav a { font-family: var(--font-body); font-weight: 700; }
.faq h3 { font-size: var(--t-18); font-weight: 800; }
.refs { font-size: var(--t-16); }

/* Etiquetas sin mayúsculas forzadas */
.m-zone, #menu-lesiones .zone-h { text-transform: none !important; letter-spacing: 0 !important; font-size: var(--t-14) !important; }

/* Cada apartado lleva el color de su zona de la escala */
.nav-drop[aria-controls="menu-lesiones"].is-current { border-bottom-color: var(--c-les); }
.nav-drop[aria-controls="menu-deportes"].is-current { border-bottom-color: var(--c-dep); }
.nav-drop[aria-controls="menu-calzado"].is-current { border-bottom-color: var(--c-cal); }
#menu-lesiones .sports-list .is-live a { border-top-color: var(--c-les); }
#menu-deportes .sports-list .is-live a { border-top-color: var(--c-dep); }
#menu-calzado .sports-list .is-live a { border-top-color: var(--c-cal); }
#menu-consulta .sports-list .is-live a { border-top-color: var(--c-con); }
.sports-list .is-live em::before { background: currentColor; }

/* Pie */
.site-footer { background: var(--ink); }
.site-footer .footer-cols b { font-family: var(--font-display); font-stretch: 105%; }
.site-footer .f-name { font-weight: 900 !important; }
.site-footer, .site-footer .wrap { font-family: var(--font-body); }
.health-notice p { font-family: var(--font-body); font-size: var(--t-14); }
.to-top { font-family: var(--font-body); }

/* Móvil */
@media (max-width: 760px) {
  header.banner:not(.banner-compact) { padding-block: 12px 18px; }
  header.banner:not(.banner-compact) .banner-grid { padding: 28px 20px 30px; gap: 22px; border-radius: 14px; }
  .banner-title { font-size: clamp(3rem, 17cqi, 4.5rem); }
  .banner-lede { font-size: var(--t-18); }
  .path { padding: 20px; }
  .answer { font-size: var(--t-18) !important; }
}
@media (prefers-reduced-motion: reduce) { .hero-hints a { transition: none; } }
/* La huella tiene fondo transparente: sin fundido, para que se vea igual en claro y en oscuro */
header.banner:not(.banner-compact) .plate-map img { mix-blend-mode: normal; }

/* ==========================================================================
   TEMA ÚNICO OSCURO
   La web se ve siempre en oscuro, con independencia del ajuste del sistema.
   ========================================================================== */
:root, :root:not([data-theme="light"]), :root[data-theme] {
  --bg: #0e1b2c; --surface: #15263b; --ink: #e6eef8; --muted: #a2b4ca; --line: #2a4364; --soft: #1b3049;
  --accent: #86a8ff; --accent-ink: #0b1626; --hot: #ff8a70;
  --c-les: #ff7a62; --c-dep: #5fd18b; --c-cal: #f2c14e; --c-con: #86a8ff;
  --band-bg: #12233a; --band-fg: #eef4fb; --band-muted: #a9bbd1; --plate: #eef3fa;
  --plate-dot: rgba(166, 192, 226, .16);
  color-scheme: dark;
}
.vs-row .vs-a { color: #ff8a70; }
.site-footer .footer-legal { border-top-color: rgba(14, 36, 51, .18); }

/* ==========================================================================
   MÁRGENES: todo empieza en la misma línea vertical que el logotipo
   ========================================================================== */
/* Portada: la plataforma ocupa todo el ancho y su contenido se alinea con el resto de la web */
header.banner:not(.banner-compact) {
  padding-block: 0;
  position: relative;
  background-color: var(--surface);
  background-image: radial-gradient(var(--plate-dot) 1.2px, transparent 1.4px);
  background-size: 16px 16px;
  border-bottom: 6px solid transparent;
  border-image: var(--scale) 1;
}
header.banner:not(.banner-compact) .banner-grid {
  background: none; box-shadow: none; border-radius: 0;
  max-width: var(--max); margin-inline: auto;
  padding: 56px max(16px, env(safe-area-inset-right, 0px)) 52px max(16px, env(safe-area-inset-left, 0px));
}
header.banner:not(.banner-compact) .banner-grid::after { display: none; }

/* Títulos: nunca se salen del margen y cortan bien las palabras largas */
h1, h2, h3, .banner-title { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.banner-title { font-size: clamp(3rem, 14cqi, 7rem); font-stretch: 110%; }
.banner-compact h1 { max-width: 20ch; }
.banner-compact .banner-lede { max-width: 60ch; }
.banner-compact h1 { font-size: clamp(2.1rem, 5.2vw, var(--t-60)); }

/* Texto corrido: misma columna y mismo arranque en todas las páginas */
.article > *, .intro > * { margin-left: 0; }
.article, .intro { padding-left: 0; }
.figure, .takeaway, .legal-box, .exercise, .calc, .book, .shoe, .when { margin-left: 0; margin-right: 0; }

/* Buscador: el texto de ejemplo cabe entero en móvil */
.hero-search-box input { text-overflow: ellipsis; }

@media (max-width: 760px) {
  header.banner:not(.banner-compact) .banner-grid { padding-block: 32px 30px; gap: 24px; }
  .banner-title { font-size: clamp(2.8rem, 15cqi, 4.25rem); }
  .banner-compact h1 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
}
/* Sin mayúsculas forzadas en etiquetas de esquemas y comparativas */
.schema-title, .vs-row .vs-k { text-transform: none !important; letter-spacing: 0 !important; font-size: var(--t-14) !important; }
.article h3 + .defs { margin-top: 12px; }

/* ==========================================================================
   FICHA RÁPIDA de cada lesión: el pie con la zona marcada y cuatro datos
   ========================================================================== */
.ficha { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 26px; align-items: center; margin: 1.6em 0; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ficha-map { margin: 0; grid-row: span 2; display: grid; place-items: center; }
.ficha-map svg { width: 100%; max-width: 170px; height: auto; max-height: 230px; }
.ficha .fm-foot path, .ficha .fm-foot ellipse { fill: var(--plate); }
.ficha .fm-detail { fill: none; stroke: rgba(16, 35, 61, .3); stroke-width: 2; }
.fz-halo { fill: var(--c-les); opacity: .22; transform-box: fill-box; transform-origin: center; animation: fz-pulse 2.4s ease-in-out infinite; }
.fz-dot { fill: var(--c-les); stroke: var(--plate); stroke-width: 3; }
@keyframes fz-pulse { 0%, 100% { transform: scale(.85); opacity: .28; } 50% { transform: scale(1.15); opacity: .12; } }
.ficha-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.ficha-grid > div { display: grid; gap: 3px; align-content: start; }
.ficha-grid dt { display: flex; align-items: center; gap: 7px; font-family: var(--font-body); font-size: var(--t-14); font-weight: 700; color: var(--muted); }
.ficha-grid dt svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ficha-grid dd { margin: 0; font-family: var(--font-display); font-weight: 750; font-size: var(--t-18); line-height: 1.25; color: var(--ink); }
.ficha-alarm { justify-self: start; display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: color-mix(in srgb, var(--hot) 16%, transparent); color: var(--hot); font: 700 var(--t-14) var(--font-body); text-decoration: none; }
.ficha-alarm:hover { background: var(--hot); color: var(--accent-ink); }
@media (max-width: 600px) {
  .ficha { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .ficha-map { grid-row: auto; }
  .ficha-map svg { max-height: 170px; }
  .ficha-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .fz-halo { animation: none; } }

/* ==========================================================================
   LECTURA LIGERA: semáforo, preguntas plegables y referencias plegadas
   ========================================================================== */
.article .when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.article .when > div { position: relative; padding: 18px 18px 16px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-left: 6px solid var(--c-cal); }
.article .when > .when-no { border-left-color: var(--c-les); background: color-mix(in srgb, var(--c-les) 9%, var(--surface)); }
.article .when > div > b { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; font-family: var(--font-display); font-size: var(--t-18); }
.article .when > div > b::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; background: var(--c-cal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-cal) 25%, transparent); }
.article .when > .when-no > b::before { background: var(--c-les); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-les) 25%, transparent); }
@media (max-width: 680px) { .article .when { grid-template-columns: minmax(0, 1fr); } }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 2px; font-family: var(--font-display); font-weight: 700; font-size: var(--t-18); line-height: 1.3; color: var(--ink); }
.faq-item > summary::-webkit-details-marker, .refs-fold > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after, .refs-fold > summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--accent); font: 700 20px/1 var(--font-body); transition: transform .2s; }
.faq-item[open] > summary::after, .refs-fold[open] > summary::after { transform: rotate(45deg); }
.faq-item > summary:hover { color: var(--accent); }
.faq-item > p { margin: 0 0 16px; color: var(--muted); }
.refs-fold > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.refs-fold > summary h2 { margin: 0; }
.refs-fold[open] > summary { margin-bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .faq-item > summary::after, .refs-fold > summary::after { transition: none; } }
.article .when > div { border-top: 0; border-right: 0; border-bottom: 0; }
.article .when > div::before { display: none; }

/* ==========================================================================
   MÁS ESQUEMA: subapartados y ejercicios plegables, tarjetas y listas visuales
   ========================================================================== */
/* Subapartados plegables */
.sub { margin: 10px 0; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sub + .sub { margin-top: 8px; }
.sub > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.sub > summary::-webkit-details-marker, .ex-fold > summary::-webkit-details-marker { display: none; }
.sub > summary .h3 { margin: 0; flex: 1; font-size: var(--t-18); line-height: 1.3; }
.sub-n, .ex-n { flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--accent); font: 800 15px/1 var(--font-display); }
.sub > summary::after, .ex-fold > summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); font: 700 20px/1 var(--font-body); transition: transform .2s; }
.sub[open] > summary::after, .ex-fold[open] > summary::after { transform: rotate(45deg); color: var(--accent); }
.sub > summary:hover .h3, .ex-fold > summary:hover h3 { color: var(--accent); }
.sub-body { padding: 0 18px 16px 64px; }
.sub-body > :last-child { margin-bottom: 0; }
@media (max-width: 600px) { .sub-body { padding-left: 18px; } .sub > summary { padding: 13px 14px; gap: 12px; } }

/* Ejercicios plegables */
.exercise.ex-fold { padding: 0; margin: 10px 0; }
.ex-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.ex-fold .ex-n { background: color-mix(in srgb, var(--c-dep) 18%, transparent); color: var(--c-dep); }
.ex-head { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-width: 0; }
.ex-fold h3 { margin: 0; font-size: var(--t-18); }
.ex-dose { font-size: var(--t-14); color: var(--muted); }
.ex-fold > :not(summary) { margin-left: 64px; margin-right: 18px; }
.ex-fold > :last-child { margin-bottom: 18px; }
@media (max-width: 600px) { .ex-fold > :not(summary) { margin-left: 18px; } .ex-fold > summary { padding: 13px 14px; gap: 12px; } }

/* Definiciones como tarjetas */
.article .defs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.article .defs > div { display: block; padding: 14px 16px; border: 0; border-radius: var(--r); background: var(--soft); border-top: 3px solid var(--accent); }
.article .defs dt { margin-bottom: 4px; font-size: var(--t-18); line-height: 1.25; }
.article .defs dd { color: var(--muted); font-size: 1rem; line-height: 1.5; }
@media (max-width: 680px) { .article .defs { grid-template-columns: minmax(0, 1fr); } }

/* Listas con marca visual */
.article ul.summary { list-style: none; padding-left: 0; display: grid; gap: 8px; }
.article ul.summary li { position: relative; padding-left: 30px; margin: 0; }
.article ul.summary li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386a8ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.article .when ul.summary li::before { background: none; width: 6px; height: 6px; top: .65em; left: 8px; background-color: currentColor; opacity: .6; }

/* Pasos como línea de tiempo */
.article .steps-list { list-style: none; padding-left: 0; counter-reset: st; gap: 0; }
.article .steps-list > li { counter-increment: st; position: relative; padding: 0 0 18px 50px; }
.article .steps-list > li::before { content: counter(st); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 800 16px/1 var(--font-display); }
.article .steps-list > li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.article .steps-list > li b { display: block; font-size: var(--t-18); }
@media (prefers-reduced-motion: reduce) { .sub > summary::after, .ex-fold > summary::after { transition: none; } }

/* Rejilla de iconos y fichas de clínica */
.icon-grid { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.icon-grid > li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin: 0; }
.icon-grid > li > svg { flex-shrink: 0; width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--soft); fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-grid > li > span { font-size: 1rem; line-height: 1.4; color: var(--muted); }
.icon-grid > li b { display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: var(--t-18); line-height: 1.2; color: var(--ink); }
.icon-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.clinic-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 10px; }
.clinic-mini > div { display: grid; gap: 4px; justify-items: start; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.clinic-mini b { font-family: var(--font-display); font-size: var(--t-20, 1.25rem); }
.clinic-mini p { margin: 0 0 8px; color: var(--muted); }
.muted-note { color: var(--muted); font-size: var(--t-14); }
@media (max-width: 600px) { .clinic-mini { grid-template-columns: minmax(0, 1fr); } }
.note-box:not(.legal-box):not(.ask-box) { margin: 1.4em 0; padding: 16px 20px; border-radius: var(--r); border-left: 4px solid var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.note-box:not(.ask-box) b { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: var(--t-18); }
.note-box:not(.ask-box) p { margin: 0; }
.icon-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .icon-grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* Tarjeta de cifras */
.stat-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 1.2em; }
.stat { padding: 16px 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; align-content: start; }
.stat b { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; color: var(--accent); }
.stat span { color: var(--muted); font-size: 1rem; line-height: 1.35; }
.stat-hot b { color: var(--hot); }
.stat-src { grid-column: 1 / -1; margin: 0; font-size: var(--t-14); color: var(--muted); }
@media (max-width: 600px) { .stat-card { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-hot { grid-column: 1 / -1; } }
/* Sí / no */
.yesno { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 1em; }
.yesno > div { padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-top: 4px solid var(--c-dep); }
.yesno > .yn-no { border-top-color: var(--muted); }
.yesno b { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: var(--t-18); color: var(--c-dep); }
.yesno .yn-no b { color: var(--muted); }
.yesno ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
@media (max-width: 600px) { .yesno { grid-template-columns: minmax(0, 1fr); } }

/* Huecos de publicidad: invisibles hasta que contengan un bloque de AdSense real */
.ad-slot:not(:has(ins.adsbygoogle)) { display: none !important; }

/* ==========================================================================
   CONSULTA ONLINE: accesos de reserva y modalidades
   ========================================================================== */
.banner-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-main { background: var(--accent); color: var(--accent-ink); }
.plans { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; margin: 0 0 1.4em; }
.plan { display: grid; gap: 10px; justify-items: start; padding: 22px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.plan-main { background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent); }
.plan h3 { margin: 0; font-size: var(--t-20, 1.25rem); line-height: 1.2; }
.plan-tag { margin: 0; font-size: var(--t-14); font-weight: 700; color: var(--accent); }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price b { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.plan-price span { color: var(--muted); }
.plan .summary { font-size: 1rem; }
.plan-note { margin: 0; font-size: var(--t-14); color: var(--muted); }
.plan .btn { margin-top: 4px; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan .btn, .banner-ctas .btn { width: 100%; justify-content: center; } }

/* Genu valgo y varo: piernas vistas por detrás */
.legs-fig svg { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto; }
.legs-fig .gl { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.legs-fig .gt { stroke-width: 2; opacity: .75; }
.legs-fig .ga { stroke: var(--accent); stroke-width: 2.2; stroke-dasharray: 9 7; }
.legs-fig .gar { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.legs-fig .gh { fill: var(--c-les); }
.legs-fig .gn { fill: var(--ink); font: 700 24px var(--font-body); text-anchor: middle; }
.legs-fig .gs { fill: var(--muted); font: italic 18px var(--font-body); }
.legs-fig .gs2 { font-style: normal; }
.legs-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 12px 0 0; font-size: var(--t-14); color: var(--muted); }
.legs-key span { display: inline-flex; align-items: center; gap: 8px; }
.legs-key .k-line { width: 26px; border-top: 2px dashed var(--accent); }
.legs-key .k-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c-les); }
.legs-fig .gg { stroke: var(--muted); stroke-width: 1.5; opacity: .5; }
.legs-fig.md svg { max-width: 560px; }
.legs-fig.sm svg { max-width: 400px; }

/* Pies y piernas dibujados a trazo, sin relleno */
.fm-foot path, .fm-foot ellipse, .ficha .fm-foot path, .ficha .fm-foot ellipse { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ficha .fm-detail, .fm-detail { stroke: var(--ink); opacity: .45; }
.fz-dot { stroke: var(--bg); }
.fm-plantar path { vector-effect: non-scaling-stroke; }

/* ==========================================================================
   SOBRIEDAD DIVULGATIVA
   Menos brillo, menos píldoras y menos color: grafito neutro, un único tono
   de acento apagado, títulos con serifa y el coral solo para marcar dolor.
   ========================================================================== */
:root, :root:not([data-theme="light"]), :root[data-theme] {
  --bg: #15191c; --surface: #1b2024; --soft: #22282d; --line: #2d3439;
  --ink: #e7e4de; --muted: #a2a7a6;
  --accent: #9dbccb; --accent-ink: #12171a; --hot: #d48b74;
  --c-les: #d48b74; --c-dep: #9dbccb; --c-cal: #c9b27a; --c-con: #9dbccb;
  --band-bg: #15191c; --band-fg: #e7e4de; --band-muted: #a2a7a6;
  --plate: #e7e4de; --plate-dot: transparent;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --r: 4px; --r-lg: 6px;
}
body { background: var(--bg); }

/* Títulos: serifa editorial, peso medio, sin estirar */
h1, h2, h3, .brand-name { font-family: var(--font-display); font-stretch: 100%; letter-spacing: -.005em; }
h1 { font-weight: 600; }
h2 { font-weight: 600; }
h3, .sub > summary .h3, .faq-item > summary, .ficha-grid dd, .plan h3, .icon-grid > li b, .defs dt, .stat b, .clinic-mini b, .yesno b { font-family: var(--font-body); font-weight: 700; }
.ficha-grid dd { font-size: 1.05rem; }

/* Cabecera y botones: rectángulos discretos, nada de píldoras brillantes */
.hdr-cta, .btn, .ficha-alarm, .search-btn { border-radius: var(--r); }
.hdr-cta { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-body); }
.hdr-cta:hover { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); filter: none; }
.btn { font-family: var(--font-body); }
.btn-ghost { box-shadow: none; border-color: var(--line); color: var(--ink); }
.ficha-alarm { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); padding: 0 14px; }
.ficha-alarm:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.nav-drop em, .sports-list em, .is-live em, .guide-list em { display: none !important; }

/* Portada: sin plataforma punteada ni arcoíris */
header.banner:not(.banner-compact) { background-image: none; background-color: var(--bg); border-bottom: 1px solid var(--line); border-image: none; }
.plate, .plate-map { background: transparent; box-shadow: none; background-image: none; }
.plate-map img { filter: saturate(.55) brightness(.95); animation: none; }
.hero-search-box { border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.hero-search-box:focus-within { box-shadow: inset 0 0 0 1px var(--accent); }

/* Tarjetas de inicio: iconos monocromos, sin bloque de color */
.path-ico { background: none; color: var(--muted); width: auto; height: auto; justify-content: start; }
.path-book { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-left: 3px solid var(--accent); }
.path-book h3, .path-book p, .path-book .path-links a { color: var(--ink); }
.path-book .path-ico { background: none; color: var(--accent); }
.path-book .btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips { gap: 6px 14px; }
.chips a { min-height: 0; padding: 4px 0; border-radius: 0; background: none; box-shadow: none; color: var(--accent); font: 500 .98rem var(--font-body); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.chips a:hover { box-shadow: none; text-decoration-color: currentColor; }

/* Bloques de contenido: menos cajas, menos bordes de color */
.article .defs > div { border-top: 0; border-left: 2px solid var(--line); background: none; border-radius: 0; padding: 4px 0 4px 14px; }
.icon-grid > li, .clinic-mini > div, .stat, .yesno > div, .plan, .sub, .exercise.ex-fold, .ficha, .figure, .note-box:not(.legal-box):not(.ask-box), .legal-box, .ask-box, .takeaway { border-radius: var(--r-lg); }
.icon-grid > li > svg { background: none; padding: 0; width: 26px; height: 26px; stroke: var(--muted); }
.yesno > div { border-top: 0; border-left: 3px solid var(--accent); }
.yesno > .yn-no { border-left-color: var(--line); }
.yesno b { color: var(--ink); }
.stat b, .stat-hot b { color: var(--ink); }
.sub-n, .ex-n, .ex-fold .ex-n { background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-family: var(--font-body); }
.steps-list > li::before, .article .steps-list > li::before { background: none; box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); font-family: var(--font-body); }
.plan-main { box-shadow: inset 0 0 0 1px var(--accent); }
.plan-price b { font-family: var(--font-display); font-weight: 600; }
.cta-strip { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r-lg); }
.cta-strip b, .cta-strip p { color: var(--ink); }
.cta-strip .btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cta-strip .btn + .btn { background: transparent; border-color: var(--line); color: var(--ink); }

/* Semáforo y avisos, en tonos apagados */
.article .when > div { background: var(--surface); border-left-width: 3px; }
.article .when > .when-no { background: var(--surface); }
.article .when > div > b::before { box-shadow: none; width: 10px; height: 10px; }
.ask-box { border-left-color: var(--accent); }
.ask-box b { color: var(--ink); }
.note-box b { color: var(--ink); }

/* Comparativas: cabecera sobria en lugar de degradados */
.vs-head .vs-a, .vs-head .vs-b { background: var(--soft) !important; color: var(--ink); font-family: var(--font-display); font-weight: 600; }
.vs-head .vs-mid { background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.vs-row .vs-a, .vs-row .vs-b { color: var(--ink) !important; }

/* Gráficos de barras y mapas: un solo tono */
.cmp-fill.a { background: var(--accent); color: var(--accent-ink); }
.cmp-fill.b { background: #5d666b; color: var(--ink); }
.fm-spot circle { fill: var(--accent); }
.fm-spot .fm-halo { fill: var(--accent); opacity: .18; }
.fz-halo { animation: none; opacity: .18; }
.schema-branch { --c: var(--accent) !important; }
.footer-cols .f-cta { border-radius: var(--r); }
.path-grid .path .path-ico, .path-main .path-ico, #deportes .path-ico, .path-book .path-ico { background: none; color: var(--muted); width: 28px; height: 28px; border-radius: 0; display: block; }
.path-book .path-ico { color: var(--accent); }
.hero-hints a { min-height: 0; padding: 0; border-radius: 0; background: none; color: var(--accent); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; margin-right: 12px; }
.hero-hints a:hover { background: none; color: var(--ink); }
header.banner:not(.banner-compact) .plate-map img { filter: saturate(.45) brightness(.92) contrast(.95); }
.nav-drop.is-current, .nav-drop[aria-controls].is-current, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.zone-h, #menu-lesiones .zone-h { color: var(--muted); }
#menu-lesiones .sports-list .is-live a, #menu-deportes .sports-list .is-live a, #menu-calzado .sports-list .is-live a { border-top-color: var(--line); }
.legs-fig .ga, .legs-fig .gar { stroke: var(--accent); }
.path-grid > .path:nth-child(3) .path-ico, .path-grid > .path:nth-child(n) .path-ico { background: none; }
.path h3 { font-family: var(--font-display); font-weight: 600; }
.vs-row, .vs-row .vs-a, .vs-row .vs-b, .vs-row .vs-k { font-family: var(--font-body); }
.vs-row .vs-a, .vs-row .vs-b { font-weight: 500; }


/* ==========================================================================
   EDITORIAL — skill «editorial» (awesome-design-skills, typeui.sh, MIT).
   Revista: Gelasio para todo el texto, Ubuntu Mono en etiquetas,
   negro #111111 sobre blanco, gris #f1f1f1 de apoyo y rojo solo para el dolor.
   ========================================================================== */
:root:root:root, :root:root:not([data-theme="light"]), :root:root[data-theme] {
  /* Tokens de la skill: primary #111111 · secondary #f1f1f1 · surface #FFFFFF · text #111827 · danger #DC2626 · success #16A34A · warning #D97706 */
  --bg: #ffffff; --surface: #ffffff; --soft: #f1f1f1; --line: rgba(17, 24, 39, .14);
  --ink: #111827; --muted: #4b5563;
  --accent: #111111; --accent-ink: #ffffff; --hot: #dc2626;
  --c-les: #dc2626; --c-dep: #111111; --c-cal: #111111; --c-con: #111111;
  --band-bg: #ffffff; --band-fg: #111827; --band-muted: #4b5563;
  --plate: #f1f1f1; --plate-dot: transparent; --paper: #f1f1f1;
  --font-display: "Gelasio", Georgia, "Times New Roman", serif;
  --font-body: "Gelasio", Georgia, "Times New Roman", serif;
  --mono: "Ubuntu Mono", ui-monospace, Menlo, monospace;
  --r: 4px; --r-lg: 8px;
  color-scheme: light;
}
html { background: var(--bg); }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.06rem; line-height: 1.62; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: #fff; }
a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-underline-offset: .22em; }
a:hover { color: var(--accent); }

/* Tipografía */
h1, h2, h3, .brand-name, .path h3 { font-family: var(--font-display); font-stretch: 100%; color: var(--ink); }
h1 { font-weight: 500; letter-spacing: -.035em; line-height: 1; }
h2 { font-weight: 500; letter-spacing: -.025em; line-height: 1.08; }
h3, .sub > summary .h3, .faq-item > summary, .ficha-grid dd, .plan h3, .icon-grid > li b, .defs dt, .stat b, .clinic-mini b, .yesno b, .article .h3, .faq h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.012em; }

/* Etiquetas en mono, como las anotaciones de una lámina */
.eyebrow, .label, .crumbs, .article-meta, .source, .ad-label, .ad-placeholder, .hero-search-label, .hero-hints, .zone-h, .tl-date, .series-meta, .shoe-cat, .calc-k, .legend, .footmap-cap, .figure-note, .plan-tag, .stat-src, .shoe-src, .shoe-specs dt, .contact-list dt, .refs .pmid, .hn-mark, .m-zone, .gait-row > span, .feature-label, .sports-list em, .figure-sub, .legs-key, .pager a span, .scale, .clinic-sub, .key, .knee-legend, .footmap-legend, .plate-side, .gs {
  font-family: var(--mono) !important; font-size: .74rem !important; font-weight: 500 !important; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow, .crumbs, .crumbs a, .article-meta, .zone-h, .m-zone, .tl-date, .series-meta, .shoe-cat, .plan-tag, .feature-label, .hn-mark, .pager a span { color: var(--accent) !important; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.source, .source a { color: var(--muted); }

/* Cabecera */
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); box-shadow: none; }
.brand-mark { fill: var(--ink); color: var(--ink); }
.brand-mark * { fill: var(--ink); }
.brand-name { font-weight: 600; font-size: 1.12rem; letter-spacing: -.02em; }
.nav a, .nav-drop { font-family: var(--mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.nav a:hover, .nav-drop:hover, .nav-drop[aria-expanded="true"] { color: var(--ink); }
.nav-drop.is-current, .nav-drop[aria-controls].is-current, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.hdr-cta { font-family: var(--mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; background: var(--ink); color: var(--bg) !important; box-shadow: none; border-radius: 0; }
.hdr-cta:hover { background: var(--accent); color: #fff !important; box-shadow: none; }
.search-btn, .m-menu { color: var(--ink); border-radius: 0; }
.search-btn span, .m-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.sports-panel, .search-panel, .m-sheet { background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(0,0,0,.25); }
.sports-list a { border-radius: 0; }
.sports-list b { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; }
.sports-list span { color: var(--muted); }
.m-group summary { font-family: var(--font-display); font-weight: 500; }
.m-group a b { font-family: var(--font-display); font-weight: 500; }

/* Botones */
.btn, .m-book, .f-cta { background: var(--ink); color: var(--bg) !important; border: 1px solid var(--ink); border-radius: 0; font-family: var(--mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 500; padding: 13px 18px; box-shadow: none; }
.btn:hover, .m-book:hover, .f-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; filter: none; }
.btn-ghost, .cta-strip .btn + .btn { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn::after { content: " →"; }

/* ---------- Portada: luz cálida ---------- */
.hero-glow { position: relative; min-height: min(86vh, 760px); overflow: hidden; color: #fff3e2; isolation: isolate;
  background: radial-gradient(70% 80% at 42% 30%, #ffe7a3 0%, #ffbe3d 18%, #f27a17 38%, #b5300a 60%, #4a0d04 82%, #1c0402 100%); }
.hero-glow::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: .5; mix-blend-mode: soft-light; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hero-runners { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-glow-in { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; min-height: inherit; padding: 28px 32px 30px; display: grid; grid-template-rows: auto 1fr auto; }
.hg-top, .hg-foot { display: flex; justify-content: space-between; gap: 16px; margin: 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 243, 226, .82); }
.hg-foot a { color: #fff3e2; text-decoration: none; }
.hg-foot a:hover { color: #fff; text-decoration: underline; }
.hg-title { align-self: center; display: flex; justify-content: space-between; gap: 24px; margin: 0; padding-bottom: 6vh; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.6rem); letter-spacing: -.045em; line-height: 1; color: #fff6ea; text-shadow: 0 1px 30px rgba(80, 20, 0, .25); }

.hero-intro { border-bottom: 1px solid var(--line); }
.hi-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-block: 64px; }
.hero-intro .banner-lede { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); margin: 0 0 34px; max-width: 18ch; }
.hero-search { margin: 0; }
.hero-search-label { display: block; color: var(--accent); margin-bottom: 10px; }
.hero-search-box, .hero-search-box:focus-within { background: transparent !important; border-radius: 0 !important; box-shadow: none !important; border-bottom: 1.5px solid var(--ink); padding: 6px 0; }
.hero-search-box input { font-family: var(--font-body); font-size: 1.1rem; background: transparent; color: var(--ink); }
.hero-search-box svg { stroke: var(--ink); }
.hero-hints { margin-top: 16px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-hints a { color: var(--ink) !important; font: inherit !important; margin: 0 !important; text-decoration: underline; text-decoration-color: var(--accent); }
.search-results { background: var(--surface); border: 1px solid var(--line); border-radius: 0; box-shadow: 0 20px 40px -24px rgba(0,0,0,.25); }

/* Huella en tinta con anotaciones de alfiler */
.ink-print { margin: 0; }
.ip-map { padding: 70px 0 70px; }
.ip-img { position: relative; }
.ip-img img { display: block; width: 100%; height: auto; }
.pin { position: absolute; left: var(--x); top: -70px; height: calc(70px + var(--y)); width: 0; pointer-events: none; }
.pin b, .pin { font-family: var(--mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); line-height: 1.35; }
.pin b { font-weight: 500; }
.pin { display: block; }
.pin > b, .pin { white-space: nowrap; }
.pin { text-indent: 0; }
.pin::before { content: ""; position: absolute; left: 0; top: 36px; bottom: 5px; width: 1px; background: var(--accent); }
.pin::after { content: ""; position: absolute; left: -5px; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg); }
.pin { --lbl: translateX(-50%); }
.pin > b { display: block; }
.pin { text-align: center; }
.pin { display: flex; flex-direction: column; align-items: center; }
.pin-b { top: var(--y); height: calc(100% - var(--y) + 70px); justify-content: flex-end; }
.pin-b::before { top: 5px; bottom: 36px; }
.pin-b::after { top: -5px; bottom: auto; }
.ink-print figcaption { display: flex; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ink-print figcaption span:first-child { color: var(--accent); }

/* Índice como infografía de líneas */
.sec-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; align-items: baseline; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 0; }
.paths { padding-block: 72px 56px; background: none; }
.paths h2, .sec-head h2 { text-align: left !important; font-weight: 500 !important; letter-spacing: -.03em; }
.guide-list a::before { display: none !important; content: none !important; }
.fan { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) 120px; align-items: stretch; }
.fan-list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; }
.fan-list > li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.fan-list > li:last-child { border-bottom: 1px solid var(--line); }
.fan-n { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.2; }
.fan-list h3 { font-size: 1.5rem; margin: 0 0 4px; }
.fan-list p { margin: 0 0 10px; color: var(--muted); max-width: 46ch; }
.fan-list .btn { margin: 4px 0 10px; }
.path-go { font-family: var(--mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); text-decoration: none; display: inline-block; margin-bottom: 8px; }
.path-go::after { content: " →"; }
.path-go:hover { text-decoration: underline; }
.path-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 4px 16px !important; margin-top: 2px; }
.chips a { font-family: var(--mono) !important; font-size: .74rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ink) !important; text-decoration: underline !important; text-decoration-color: var(--line) !important; padding: 2px 0 !important; }
.chips a:hover { color: var(--accent) !important; text-decoration-color: var(--accent) !important; }
.fan-lines { width: 100%; height: 100%; display: block; }
.fan-lines path { fill: none; stroke: var(--hot); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .9; }
.fan-end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.fan-end svg { width: 34px; height: 34px; fill: var(--ink); }

/* Secciones de portada */
.popular { padding-block: 56px; border-top: 1px solid var(--line); background: none; }
.popular h2, .intro h2, .gait h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.guide-list { border-top: 1px solid var(--ink); gap: 0 !important; }
.guide-list > li { border-bottom: 1px solid var(--line); }
.guide-list a { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; padding: 16px 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-decoration: none; color: var(--ink); }
.guide-list a b { font-family: var(--font-display) !important; font-weight: 500 !important; font-size: 1.25rem !important; letter-spacing: -.015em; }
.guide-list a span { color: var(--muted); grid-column: 1; }
.guide-list a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--accent); font-family: var(--mono); }
.guide-list a:hover b { color: var(--accent); }
.popular-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.gait { background: none; border-top: 1px solid var(--line); }
.bar { border-radius: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.stance { background: var(--ink) !important; color: var(--bg) !important; }
.swing { background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(17,17,17,.14) 6px 7px), var(--surface) !important; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--line); }
.gait-note { color: var(--muted); }

/* ---------- Páginas internas ---------- */
header.banner, header.banner-compact { background: var(--bg) !important; background-image: none !important; color: var(--ink); border-bottom: 0; }
.banner-compact .wrap { padding-block: 44px 28px; }
.banner-compact h1, .banner h1 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); max-width: 22ch; color: var(--ink); }
.crumbs { margin: 0 0 22px; gap: 6px 10px; }
.crumbs span[aria-hidden] { color: var(--muted); }
.banner-lede { color: var(--muted); }
.main-grid { border-top: 1px solid var(--line); padding-top: 36px; }
.article p, .article li { color: #262624; }
.answer, .article .answer { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem) !important; line-height: 1.32; letter-spacing: -.018em; color: var(--ink) !important; font-weight: 400; border: 0 !important; background: none !important; padding: 0 !important; margin-bottom: 28px; }
.article h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); margin-top: 2.2em; padding-top: 18px; border-top: 1px solid var(--ink); }
.article-meta { border-bottom: 1px solid var(--line); padding-bottom: 12px; }

/* Barra lateral */
.side-box { background: none !important; border: 0 !important; border-top: 1px solid var(--ink) !important; border-radius: 0 !important; box-shadow: none !important; padding: 14px 0 0 !important; }
.side-box h3 { font-family: var(--mono) !important; font-size: .74rem !important; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); font-weight: 500 !important; margin-bottom: 10px; }
.toc a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.toc a:hover, .toc a[aria-current], .toc a.is-current { color: var(--ink); }
.author-thumb { border-radius: 0 !important; filter: grayscale(1) contrast(1.05); }

/* Cajas: menos caja, más filete */
.ficha, .figure, .note-box, .legal-box, .ask-box, .takeaway, .icon-grid > li, .clinic-mini > div, .stat, .yesno > div, .plan, .cta-strip, .next-box, .exercise, .shoe, .clinic, .calc, .facts > *, .timeline, .services > *, .when > div, .schema, .related, .contact-list, .ad-placeholder {
  border-radius: 0 !important; box-shadow: none !important;
}
.note-box, .ask-box, .takeaway { background: none !important; border: 0 !important; border-left: 2px solid var(--accent) !important; padding: 4px 0 4px 18px !important; }
.legal-box { background: none !important; border: 0 !important; border-left: 2px solid var(--hot) !important; padding: 4px 0 4px 18px !important; }
.legal-box b { color: var(--hot) !important; }
.cta-strip { background: var(--ink) !important; color: var(--bg) !important; padding: 34px !important; border: 0 !important; }
.cta-strip b { font-family: var(--font-display) !important; font-weight: 500 !important; font-size: 1.6rem !important; letter-spacing: -.02em; color: var(--bg) !important; }
.cta-strip p { color: rgba(236, 235, 231, .7) !important; }
.cta-strip .btn { background: var(--bg) !important; color: var(--ink) !important; border-color: var(--bg) !important; }
.cta-strip .btn + .btn { background: transparent !important; color: var(--bg) !important; border-color: rgba(236,235,231,.5) !important; }
.cta-strip .btn:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }

/* Ficha rápida */
.ficha { background: var(--paper) !important; border: 0 !important; padding: 22px !important; position: relative; }
.ficha-grid dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.ficha-grid dd { color: var(--ink); }
.ficha-grid > div { border-color: rgba(17,17,17,.12) !important; }
.ficha-alarm { font-family: var(--mono) !important; font-size: .74rem !important; letter-spacing: .07em; text-transform: uppercase; color: var(--hot) !important; box-shadow: inset 0 0 0 1px var(--hot) !important; background: transparent !important; }
.ficha-map { background: none !important; }

/* Dibujos: tinta negra sobre papel */
.figure, .legs-fig, .footmap, .ficha-map { background: var(--paper) !important; border: 0 !important; }
.figure { padding: 22px !important; }
.figure-title { font-family: var(--font-display) !important; font-weight: 500 !important; letter-spacing: -.01em; }
.figure-note { color: var(--muted); text-transform: none !important; letter-spacing: 0 !important; font-family: var(--font-body) !important; font-size: .9rem !important; }
.gl, .fm-foot path, .fm-plantar path, .fm-side path { stroke: var(--ink) !important; }
.ga { stroke: var(--ink) !important; opacity: .55; }
.gar, .legs-fig .gar { stroke: var(--ink) !important; fill: none; }
.legs-fig .ga { stroke: var(--ink) !important; }
.gh, .fz-dot { fill: var(--hot) !important; }
.fz-halo { fill: var(--hot) !important; opacity: .16 !important; }
.fm-spot circle { fill: var(--accent) !important; }
.fm-spot .fm-halo { fill: var(--accent) !important; opacity: .16 !important; }
.gn { font-family: var(--font-display) !important; fill: var(--ink) !important; font-weight: 500 !important; }
.gs, .gt { fill: var(--muted) !important; }
.gg { stroke: var(--ink) !important; }
.k-line { border-top-color: var(--ink) !important; }
.k-dot { background: var(--hot) !important; }

/* Desplegables numerados */
.sub, .exercise.ex-fold, .faq-item { background: none !important; border: 0 !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; box-shadow: none !important; }
.sub:last-of-type, .faq-item:last-of-type { border-bottom: 1px solid var(--line) !important; }
.sub > summary, .ex-fold > summary, .faq-item > summary { padding-left: 0 !important; padding-right: 0 !important; }
.sub-n, .ex-n, .ex-fold .ex-n { background: none !important; box-shadow: none !important; color: var(--ink) !important; font-family: var(--font-display) !important; font-weight: 600 !important; font-size: 1.05rem !important; border-radius: 0 !important; width: auto !important; min-width: 2.2em; justify-content: start !important; font-variant-numeric: tabular-nums; }
.sub > summary::after, .ex-fold > summary::after, .faq-item > summary::after { color: var(--accent) !important; }
.steps-list > li::before, .article .steps-list > li::before { background: none !important; box-shadow: none !important; color: var(--accent) !important; font-family: var(--mono) !important; font-size: .78rem !important; border-radius: 0 !important; }
.steps-list li::marker, .exercise ol li::marker { color: var(--accent); font-family: var(--mono); }
.dose, .ex-dose { background: none !important; border: 0 !important; border-left: 2px solid var(--accent) !important; font-family: var(--mono) !important; font-size: .8rem !important; letter-spacing: .03em; border-radius: 0 !important; }

/* Definiciones, comparativas y tablas */
.article .defs > div, .defs > div { border: 0 !important; border-top: 1px solid var(--line) !important; padding: 12px 0 !important; background: none !important; }
.defs dt { font-weight: 500 !important; }
.versus { border-radius: 0 !important; border: 0 !important; }
.vs-head .vs-a, .vs-head .vs-b { background: none !important; color: var(--ink) !important; font-family: var(--mono) !important; font-size: .74rem !important; letter-spacing: .07em; text-transform: uppercase; font-weight: 500 !important; border-bottom: 1.5px solid var(--ink); border-radius: 0 !important; }
.vs-head .vs-mid { background: none !important; box-shadow: none !important; color: var(--accent) !important; font-family: var(--mono); }
.vs-row { border-top: 1px solid var(--line) !important; background: none !important; }
.vs-k { color: var(--muted) !important; font-family: var(--mono) !important; font-size: .72rem !important; letter-spacing: .05em; text-transform: uppercase; }
table { border-collapse: collapse; }
th { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; color: var(--muted); border-bottom: 1.5px solid var(--ink) !important; background: none !important; }
td { border-bottom: 1px solid var(--line) !important; background: none !important; }
.cmp-track { background: var(--soft) !important; border-radius: 0 !important; }
.cmp-fill { border-radius: 0 !important; font-family: var(--mono) !important; font-size: .72rem !important; }
.cmp-fill.a { background: var(--accent) !important; color: #fff !important; }
.cmp-fill.b { background: var(--ink) !important; color: var(--bg) !important; }
.stat { background: none !important; border: 0 !important; border-top: 1px solid var(--ink) !important; padding: 12px 0 0 !important; }
.stat b, .stat-hot b { font-family: var(--font-display) !important; font-weight: 500 !important; font-size: 2.2rem !important; letter-spacing: -.03em; color: var(--ink) !important; }
.stat-hot b { color: var(--hot) !important; }
.yesno > div { background: none !important; border: 0 !important; border-top: 2px solid var(--accent) !important; padding: 12px 0 0 !important; }
.yesno > .yn-no { border-top-color: var(--hot) !important; }
.article .when > div, .when > div { background: none !important; border: 0 !important; border-top: 2px solid var(--accent) !important; padding: 14px 0 0 !important; }
.article .when > .when-no, .when > .when-no { border-top-color: var(--hot) !important; }
.when b, .when-yes b, .when-no b { font-family: var(--font-display) !important; font-weight: 500 !important; }
.article .when > div > b::before { display: none; }
.icon-grid > li { background: none !important; border: 0 !important; border-top: 1px solid var(--line) !important; padding: 14px 0 !important; }
.icon-grid > li > svg { stroke: var(--accent) !important; }
.schema-branch { --c: var(--ink) !important; }
.schema-title { font-family: var(--mono) !important; font-size: .74rem !important; letter-spacing: .06em; text-transform: uppercase; }

/* Series y listados */
.series-item { border-top: 1px solid var(--line) !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
.series-num { font-family: var(--font-display) !important; font-weight: 600 !important; color: var(--ink) !important; font-size: 1.5rem !important; }
.series-title { font-family: var(--font-display); font-weight: 500; }
.pager a { border-top: 1px solid var(--ink) !important; font-family: var(--font-display) !important; font-weight: 500 !important; }
.related a { text-decoration-color: var(--accent); }

/* Calzado */
.shoe { background: none !important; border: 0 !important; border-top: 1px solid var(--ink) !important; padding: 16px 0 !important; }
.shoe h3 { font-size: 1.35rem; }
.shoe-specs { border-top: 1px dashed var(--line); }
.shoe-specs dd { font-family: var(--font-display) !important; font-weight: 500 !important; }
.shoe-line span { font-family: var(--mono) !important; font-size: .72rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--accent) !important; }

/* Consulta y planes */
.plan { background: none !important; border: 0 !important; border-top: 1px solid var(--ink) !important; padding: 18px 0 0 !important; }
.plan-main { border-top: 3px solid var(--accent) !important; }
.plan-price b { font-family: var(--font-display) !important; font-weight: 500 !important; font-size: 3rem !important; letter-spacing: -.04em; }
.plans { gap: 40px !important; }
.clinic, .clinic-mini > div { background: none !important; border: 0 !important; border-top: 1px solid var(--ink) !important; padding: 16px 0 0 !important; }
.facts > * { background: none !important; border: 0 !important; border-top: 1px solid var(--ink) !important; padding: 12px 0 0 !important; }
.facts b { font-family: var(--font-display) !important; font-weight: 500 !important; }
.timeline { background: none !important; border: 0 !important; }
.timeline b { font-family: var(--font-display) !important; font-weight: 500 !important; }
.tl-place { color: var(--muted) !important; font-family: var(--body, inherit); }
.profile-photo { border-radius: 0 !important; filter: grayscale(1) contrast(1.05); }
.calc { background: var(--paper) !important; border: 0 !important; }
.calc-out b { font-family: var(--font-display) !important; font-weight: 500 !important; color: var(--accent) !important; }
.calc input, .calc-input input, input[type="number"], select { border-radius: 0 !important; background: var(--surface) !important; border: 1px solid var(--line) !important; color: var(--ink); }

/* Mapa del pie */
.footmap-views > * { background: none; }
.key, .key-on { border-radius: 0 !important; }

/* Referencias */
.refs { border-top: 1px solid var(--line); }
.refs li { font-size: .92rem; color: var(--muted); }

/* Publicidad: discreta */
.ad-placeholder { background: transparent !important; border: 1px dashed rgba(17,17,17,.2) !important; color: var(--muted) !important; }

/* Pie */
.health-notice { background: none !important; border-top: 1px solid var(--line); }
.health-notice p { color: var(--muted); font-size: .9rem; }
.health-notice .hn-mark { color: var(--hot) !important; }
.site-footer { background: var(--ink) !important; color: var(--bg) !important; border-top: 0; }
.site-footer a { color: rgba(236,235,231,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cols b { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: rgba(236,235,231,.5); }
.f-name { font-family: var(--font-display) !important; font-size: 1.5rem !important; letter-spacing: -.02em !important; text-transform: none !important; color: var(--bg) !important; }
.f-about p { color: rgba(236,235,231,.7); }
.footer-cols .f-cta { background: var(--bg); color: var(--ink) !important; border-color: var(--bg); text-decoration: none; }
.footer-cols .f-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.footer-legal { border-top: 1px solid rgba(236,235,231,.15); font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(236,235,231,.55); }

@media (max-width: 900px) {
  .hi-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 44px; }
  .fan { grid-template-columns: 1fr; }
  .fan-list { grid-auto-rows: auto; }
  .fan-lines, .fan-end { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 6px; }
  .popular-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-glow { min-height: 78vh; }
  .hero-glow-in { padding: 18px 16px 20px; }
  .hg-top span:last-child { display: none; }
  .hg-title { flex-direction: column; justify-content: center; gap: 4px; font-size: clamp(2.6rem, 13vw, 3.6rem); padding-bottom: 22vh; }
  .hg-title span:last-child { align-self: flex-end; }
  .hg-foot { font-size: .68rem; }
  .fan-list > li { grid-template-columns: 44px minmax(0, 1fr); }
  .fan-n { font-size: 1.2rem; }
  .fan-list h3 { font-size: 1.3rem; }
  .pin { font-size: .6rem; }
  .cta-strip { padding: 24px !important; }
  .banner-compact .wrap { padding-block: 28px 18px; }
}
h1, .banner-compact h1, .banner h1, .banner-title { font-weight: 500 !important; letter-spacing: -.035em !important; font-family: var(--font-display) !important; }
h2, .article h2 { font-weight: 500 !important; font-family: var(--font-display) !important; }
.article h3, .article .h3 { font-weight: 500 !important; }
.ex-dose { border-left: 0 !important; padding: 0 0 0 12px !important; color: var(--accent) !important; font-size: .7rem !important; text-transform: uppercase; letter-spacing: .05em; }
.sub-n, .ex-n { color: var(--accent) !important; font-family: var(--mono) !important; font-size: .8rem !important; font-weight: 500 !important; }
.article ul.summary li { padding-left: 22px; }
.article ul.summary li::before { background: var(--accent) !important; width: 6px !important; height: 6px !important; border-radius: 0 !important; top: .7em !important; left: 2px !important; opacity: 1 !important; }
.article .when .when-no ul.summary li::before { background: var(--hot) !important; }
.faq-item > summary::after, .refs-fold > summary::after { background: none !important; border-radius: 0 !important; font-family: var(--mono) !important; font-weight: 400 !important; }
.refs h2, .faq h2 { border-top: 0 !important; padding-top: 0 !important; }
.related .guide-list a { padding-right: 18px !important; }
.series-item h2, .series-item h3, .series-title, .series-item b { font-family: var(--font-display) !important; font-weight: 500 !important; letter-spacing: -.02em !important; }
.series-num { font-weight: 400 !important; color: var(--accent) !important; font-family: var(--mono) !important; font-size: 1rem !important; }
.footer-cols b, .footer-cols nav b { font-family: var(--mono) !important; font-size: .72rem !important; letter-spacing: .08em !important; text-transform: uppercase; font-weight: 500 !important; color: rgba(236,235,231,.5) !important; }
.footer-cols .f-name { font-family: var(--font-display) !important; font-size: 1.5rem !important; font-weight: 500 !important; letter-spacing: -.02em !important; text-transform: none !important; color: var(--bg) !important; }
.footer-legal, .footer-legal a { font-family: var(--mono) !important; font-size: .72rem !important; }
.vs-row .vs-a, .vs-row .vs-b, .vs-row > * { background: none !important; }
.brand-name { font-weight: 600 !important; }
.footmap { background: var(--paper) !important; border-radius: 0 !important; box-shadow: none !important; }
.footmap-legend { font-family: var(--mono) !important; }
.schema::before { background: var(--ink) !important; width: 1px !important; left: 7px; }
.schema-root span { border-radius: 0 !important; background: none !important; color: var(--accent) !important; padding: 0 0 0 0 !important; font: 500 .76rem/1 var(--mono) !important; letter-spacing: .07em; text-transform: uppercase; }
.schema-root span::before { background: var(--accent) !important; box-shadow: 0 0 0 3px var(--bg) !important; width: 9px !important; height: 9px !important; margin-left: 3px; }
.schema-branch { background: none !important; border-radius: 0 !important; box-shadow: none !important; padding: 4px 0 4px 8px !important; }
.schema-branch::before { background: var(--ink) !important; height: 1px !important; }
.schema-branch::after { background: var(--ink) !important; width: 7px !important; height: 7px !important; left: -18px !important; top: 21px !important; }
.schema-title { color: var(--muted) !important; font-weight: 500 !important; }
.schema-title::before { display: none !important; }
.sz-text b { font-family: var(--font-display); font-weight: 500 !important; }
.sz-text span { font-style: normal !important; color: var(--muted); }
.sz-num { background: var(--accent) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; font-family: var(--mono) !important; font-weight: 500 !important; }
.sz-cause { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 4px 0 !important; font-family: var(--mono) !important; font-size: .74rem !important; letter-spacing: .05em; text-transform: uppercase; font-weight: 500 !important; color: var(--ink) !important; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.sz-cause:hover { color: var(--accent) !important; }
.sz-cause svg { stroke: var(--accent) !important; }
.versus, .versus * { background-color: transparent !important; box-shadow: none !important; }
.versus { border-top: 0 !important; }
.vs-row .vs-k { text-transform: uppercase !important; letter-spacing: .06em !important; font-size: .7rem !important; font-weight: 500 !important; font-family: var(--mono) !important; color: var(--muted) !important; }
.vs-row .vs-a { border-color: var(--line) !important; }

ul.summary li::before, .plan ul li::before, .plan li::before { background: var(--accent) !important; width: 6px !important; height: 6px !important; border-radius: 0 !important; top: .7em !important; left: 2px !important; opacity: 1 !important; box-shadow: none !important; }
.profile-photo, .profile-photo img { border-radius: 0 !important; box-shadow: none !important; }
.profile-photo img { filter: grayscale(1) contrast(1.05); }
.profile-role { font-family: var(--mono) !important; font-size: .76rem !important; letter-spacing: .07em; text-transform: uppercase; font-weight: 500 !important; color: var(--accent) !important; }
.hub-link a { background: var(--ink) !important; color: var(--bg) !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 22px 24px !important; text-decoration: none; }
.hub-link a b { font-family: var(--font-display) !important; font-weight: 500 !important; font-size: 1.3rem; letter-spacing: -.015em; color: var(--bg) !important; }
.hub-link a span { color: rgba(236,235,231,.7) !important; }
.hub-link a::after { color: var(--bg) !important; }
.hub-link a:hover { background: var(--accent) !important; }
.zone-nav { gap: 6px 18px !important; }
.zone-nav a { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 2px 0 !important; font-family: var(--mono) !important; font-size: .76rem !important; letter-spacing: .07em; text-transform: uppercase; font-weight: 500 !important; color: var(--ink) !important; text-decoration: underline !important; text-decoration-color: var(--accent) !important; text-underline-offset: 4px; }
.series-item.is-soon .series-num, .is-soon .series-num { color: var(--muted) !important; }
.exercise:not(.ex-fold) { background: none !important; border: 0 !important; border-top: 1px solid var(--ink) !important; padding: 16px 0 6px !important; }
.ex-note { background: none !important; font-family: var(--mono) !important; font-size: .74rem !important; font-weight: 400 !important; border-left: 2px solid var(--accent) !important; padding-left: 12px !important; }
.ex-note b, .ex-note strong { font-weight: 500 !important; }
.toc-box, .toc-box > summary { border-radius: 0 !important; box-shadow: none !important; background: none !important; }
.toc-box { border: 0 !important; border-top: 1px solid var(--ink) !important; border-bottom: 1px solid var(--line) !important; }
.toc-box > summary { font-family: var(--mono) !important; font-size: .74rem !important; letter-spacing: .07em; text-transform: uppercase; font-weight: 500 !important; color: var(--accent) !important; padding-left: 0 !important; padding-right: 0 !important; }
.intro h3, .intro strong, .side-box p b { font-family: var(--font-display) !important; font-weight: 500 !important; }


/* ---------- Ajustes propios del estilo editorial ---------- */
body { font-size: 1.125rem; line-height: 1.7; }
h1, .banner-compact h1, .banner h1 { font-family: var(--font-display) !important; font-weight: 600 !important; letter-spacing: -.012em !important; line-height: 1.08 !important; }
h2, .article h2 { font-family: var(--font-display) !important; font-weight: 600 !important; letter-spacing: -.008em; }
h3, .article h3, .article .h3, .sub > summary .h3, .faq-item > summary, .defs dt { font-weight: 600 !important; }
.banner-compact h1 { font-size: clamp(2.25rem, 4vw, 2.5rem) !important; max-width: 24ch; }
.article h2 { font-size: 2rem !important; }
.article h3, .article .h3 { font-size: 1.5rem; }
.answer, .article .answer { font-family: var(--font-display) !important; font-style: italic; font-size: 1.5rem !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
.eyebrow, .crumbs, .crumbs a, .article-meta, .zone-h, .m-zone, .tl-date, .series-meta, .shoe-cat, .plan-tag, .feature-label, .pager a span { color: var(--muted) !important; }
.eyebrow, .label, .crumbs, .article-meta, .source, .ad-label, .hero-search-label, .zone-h, .tl-date, .series-meta, .shoe-cat, .calc-k, .legend, .footmap-cap, .plan-tag, .stat-src, .shoe-src, .shoe-specs dt, .contact-list dt, .hn-mark, .m-zone, .ficha-grid dt, .side-box h3, .footer-cols b { font-size: .875rem !important; letter-spacing: .06em !important; }
a { text-decoration-color: rgba(17, 24, 39, .35); text-underline-offset: .2em; }
a:hover { color: var(--hot); text-decoration-color: currentColor; }
.btn, .m-book, .f-cta, .hdr-cta { border-radius: 4px !important; font-family: var(--mono) !important; font-size: .875rem !important; letter-spacing: .06em; text-transform: uppercase; }
.btn:hover, .m-book:hover, .f-cta:hover, .hdr-cta:hover { background: var(--hot) !important; border-color: var(--hot) !important; color: #fff !important; }
.figure, .ficha, .footmap, .legs-fig, .calc, .hub-link a, .cta-strip { border-radius: 8px !important; }
.site-header { background: rgba(255, 255, 255, .94) !important; border-bottom: 1px solid var(--ink) !important; }
.brand-mark, .brand-mark * { fill: var(--ink) !important; }
.brand-name { font-family: var(--font-display) !important; font-weight: 700 !important; font-size: 1.3rem !important; letter-spacing: -.01em !important; }
.nav a, .nav-drop { font-family: var(--mono) !important; font-size: .875rem !important; }
.article .h3, .sub > summary .h3 { font-size: 1.15rem !important; }
.fz-dot, .gh { fill: var(--hot) !important; }
.fm-spot circle { fill: var(--ink) !important; }
.fm-spot .fm-halo { fill: var(--ink) !important; opacity: .12 !important; }
.site-footer { background: var(--ink) !important; }
.banner-title { font-size: clamp(3.25rem, 6.5vw, 5.5rem) !important; font-weight: 700 !important; letter-spacing: -.02em !important; line-height: .98 !important; }
header.banner:not(.banner-compact) { border-bottom: 1px solid var(--ink) !important; }
.banner-lede { margin-bottom: 28px !important; font-size: 1.25rem !important; color: var(--muted); }
header.banner:not(.banner-compact) .plate-map img { filter: none !important; }
.popular-list a::after, .related .guide-list a::after { content: none !important; }
.popular-list a, .related .guide-list a { grid-template-columns: 1fr !important; }
.path h3 { font-size: 1.5rem !important; }
/* El desenfoque de la cabecera creaba un contexto que encogía el menú móvil a 1 px */
.site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* ---------- Menú de Lesiones: zonas plegables en móvil y panel con scroll en escritorio ---------- */
.m-zgroup { border-bottom: 1px solid var(--line); }
.m-zgroup > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding-left: 12px; list-style: none; cursor: pointer; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.m-zgroup > summary::-webkit-details-marker { display: none; }
.m-zgroup > summary em { font-style: normal; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.m-zgroup > summary::after { content: ""; margin-left: auto; margin-right: 4px; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.m-zgroup[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.m-zgroup > ul { padding: 0 0 10px 12px !important; }
.m-group .m-all { margin: 12px 0 8px; }
.m-group .m-all a { font-family: var(--mono); font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .m-zgroup > summary::after { transition: none; } }
.sports-panel { max-height: calc(100vh - var(--hdr-b, 66px)); max-height: calc(100dvh - var(--hdr-b, 66px)); overflow-y: auto; overscroll-behavior: contain; }
.sports-panel.is-open { clip-path: none; }

/* ---------- Publicidad: visible, discreta y sin saltos de diseño ---------- */
.ad-slot, .ad-slot:not(:has(ins.adsbygoogle)) { display: block !important; }
.ad-slot { margin-block: 2.4em !important; text-align: center; }
.ad-label { display: block; margin-bottom: 6px; font-family: var(--mono) !important; font-size: .75rem !important; letter-spacing: .08em; text-transform: uppercase; color: #6b7280 !important; }
.ad-placeholder { background: #f7f7f7 !important; border: 1px dashed rgba(17, 24, 39, .18) !important; border-radius: 4px !important; color: #9ca3af !important; font-family: var(--mono) !important; font-size: .75rem !important; }
.ad-inarticle .ad-placeholder { height: 250px; max-width: 336px; }
.ad-sidebar { margin-top: 28px !important; }
@media (max-width: 999px) { .ad-sidebar { display: none !important; } }

/* ---------- Foto del autor: en color y más grande ---------- */
.author-thumb, .profile-photo img { filter: none !important; }
.author-thumb { width: 100% !important; max-width: 240px; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 8px !important; margin: 6px 0 14px !important; }
.profile-photo img { border-radius: 8px !important; }
.banner-profile .banner-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px) !important; }
@media (max-width: 860px) { .banner-profile .banner-grid { grid-template-columns: minmax(0, 1fr) !important; } .profile-photo { max-width: 380px !important; } }
.profile-photo { filter: none !important; }

/* ==========================================================================
   IDENTIDAD — lo visual sale de material real: el mapa de presiones de la
   plataforma, los dibujos a mano de piernas y pies y la foto del autor.
   Papel clínico, tinta pizarra, azul de la escala baja y rojo del pico de
   presión solo para marcar dolor. Gelasio para leer, Instrument Sans para
   la interfaz, sin mayúsculas sostenidas ni monoespaciada.
   ========================================================================== */
:root:root:root:root, :root:root:root:not([data-theme="light"]), :root:root:root[data-theme] {
  --bg: #fbfbf9; --surface: #ffffff; --soft: #eef2f9; --line: rgba(30, 42, 54, .13);
  --ink: #1e2a36; --muted: #56626e;
  --accent: #1f4fd8; --accent-ink: #ffffff; --hot: #d7301f;
  --c-les: #d7301f; --c-dep: #1f4fd8; --c-cal: #1e2a36; --c-con: #1f4fd8;
  --band-bg: #fbfbf9; --band-fg: #1e2a36; --band-muted: #56626e;
  --plate: #ffffff; --paper: #f3f6fb;
  --ui: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --r: 10px; --r-lg: 16px;
}
html, body { background: var(--bg) !important; }
::selection { background: #cdd9f7; color: var(--ink); }
a { color: var(--accent); text-decoration-color: rgba(31, 79, 216, .35); }
a:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Interfaz en Instrument Sans, en minúsculas normales */
.eyebrow, .label, .crumbs, .crumbs a, .article-meta, .source, .ad-label, .ad-placeholder, .hero-search-label, .hero-hints, .zone-h, .tl-date, .series-meta, .shoe-cat, .calc-k, .legend, .footmap-cap, .plan-tag, .stat-src, .shoe-src, .shoe-specs dt, .contact-list dt, .hn-mark, .m-zone, .ficha-grid dt, .side-box h3, .footer-cols b, .nav a, .nav-drop, .btn, .m-book, .f-cta, .hdr-cta, .search-btn span, .m-label, .toc-box > summary, .footer-legal, .footer-legal a, .pager a span, .feature-label, .figure-sub, .legs-key, .scale, .clinic-sub, .key, .knee-legend, .footmap-legend, .plate-side, .path-go, .chips a, .zone-nav a, .sz-cause, .schema-title, .schema-root span, .vs-k, .vs-head .vs-a, .vs-head .vs-b, .series-num, .ex-dose, .ex-note, .dose, .sub-n, .ex-n, th, .profile-role, .figure-note, .gait-row > span, .bar, .tile-cap, .m-zgroup > summary em {
  font-family: var(--ui) !important; text-transform: none !important; letter-spacing: 0 !important;
}
.crumbs, .article-meta, .ad-label, .hero-hints, .zone-h, .ficha-grid dt, .side-box h3, .toc-box > summary, .footer-legal, .vs-k, th, .tl-date, .series-meta, .shoe-cat, .plan-tag, .shoe-specs dt, .contact-list dt, .calc-k, .legend, .footmap-cap, .figure-sub, .legs-key, .schema-title, .sub-n, .ex-n { font-size: .875rem !important; font-weight: 500 !important; }
.crumbs, .crumbs a, .article-meta, .ficha-grid dt, .side-box h3, .zone-h, .m-zone, .tl-date, .series-meta, .shoe-cat, .plan-tag, .vs-k, th, .footer-cols b { color: var(--muted) !important; }
.crumbs a { text-decoration: underline; text-decoration-color: var(--line); }
.side-box h3, .toc-box > summary, .footer-cols b { font-weight: 600 !important; color: var(--ink) !important; font-size: .95rem !important; }
.footer-cols b { color: #fff !important; }
.nav a, .nav-drop { font-size: .95rem !important; font-weight: 500 !important; color: var(--ink) !important; }
.nav-drop.is-current, .nav a[aria-current="page"] { border-bottom-color: var(--accent) !important; }
.sub-n, .ex-n, .series-num { color: var(--accent) !important; font-weight: 600 !important; font-size: 1rem !important; }

/* Botones: redondeados, sin flechas añadidas */
.btn::after, .path-go::after, .guide-list a::after { content: none !important; }
.btn, .m-book, .f-cta, .hdr-cta { border-radius: 999px !important; font-size: .95rem !important; font-weight: 600 !important; padding: 11px 20px !important; background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.btn:hover, .m-book:hover, .f-cta:hover, .hdr-cta:hover { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.btn-ghost, .cta-strip .btn + .btn { background: transparent !important; color: var(--accent) !important; border: 1.5px solid currentColor !important; }
.search-btn { border-radius: 999px !important; }

/* Títulos sin filete encima de cada sección */
.article h2 { border-top: 0 !important; padding-top: 0 !important; margin-top: 2.4em !important; }
.site-header { border-bottom: 1px solid var(--line) !important; background: rgba(251, 251, 249, .96) !important; }
header.banner:not(.banner-compact) { border-bottom: 0 !important; }
.brand-mark, .brand-mark * { fill: var(--accent) !important; }

/* Cajas de lectura con tinte azul suave en lugar de cajas grises */
.figure, .ficha, .footmap, .legs-fig, .calc { background: var(--paper) !important; border-radius: var(--r-lg) !important; }
.note-box, .ask-box, .takeaway { border-left-color: var(--accent) !important; }
.cta-strip { background: var(--ink) !important; border-radius: var(--r-lg) !important; }
.cta-strip .btn { background: #fff !important; color: var(--ink) !important; border-color: #fff !important; }
.cta-strip .btn + .btn { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.5) !important; }
.site-footer { background: var(--ink) !important; }
.ad-placeholder { background: #f3f4f6 !important; border-radius: 8px !important; }
.ad-label { color: #8a939c !important; font-size: .78rem !important; }
.gl, .fm-foot path, .fm-plantar path, .fm-side path { stroke: var(--ink) !important; }
.ga, .legs-fig .ga, .gar, .legs-fig .gar { stroke: var(--ink) !important; }
.fm-spot circle { fill: var(--accent) !important; }
.fm-spot .fm-halo { fill: var(--accent) !important; }
.stance { background: var(--accent) !important; color: #fff !important; }

/* ---------- Portada ---------- */
.hero { padding-block: 48px 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 56px; align-items: center; }
.hero-title { font-family: var(--font-display) !important; font-size: clamp(3rem, 6.4vw, 5.4rem) !important; font-weight: 700 !important; line-height: .95 !important; letter-spacing: -.025em !important; margin: 0 0 20px; color: var(--ink); }
.hero-lede { font-size: 1.3rem; line-height: 1.45; color: var(--muted); margin: 0 0 30px; max-width: 30ch; }
.hero .hero-search-label { display: block; font-size: 1rem !important; font-weight: 600 !important; color: var(--ink) !important; margin-bottom: 8px; }
.hero .hero-search-box { background: #fff !important; border: 1.5px solid var(--ink) !important; border-radius: 999px !important; box-shadow: none !important; padding: 4px 18px !important; }
.hero .hero-search-box:focus-within { border-color: var(--accent) !important; box-shadow: 0 0 0 4px rgba(31, 79, 216, .15) !important; }
.hero .hero-search-box input { font-family: var(--ui); font-size: 1.05rem; padding-block: 10px; }
.hero .hero-hints { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .95rem !important; }
.hero .hero-hints a { color: var(--accent) !important; font-weight: 500; text-decoration: underline !important; text-decoration-color: rgba(31,79,216,.35) !important; margin: 0 !important; }

.hero-map { margin: 0; }
.hm-stage { position: relative; }
.hm-stage img { display: block; width: 100%; height: auto; }
.hm-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hm-axis { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 6; opacity: .35; vector-effect: non-scaling-stroke; }
.hm-pen { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hm-note { position: absolute; font-family: var(--ui); font-size: .95rem; line-height: 1.25; color: var(--ink); max-width: 15ch; }
.hm-note b { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -.02em; display: block; line-height: 1; }
.hm-pct.l { left: 0; top: 0; }
.hm-pct.r { right: 0; top: 0; text-align: right; }
.hm-heel { left: 0; top: 88%; transform: translateY(-50%); max-width: 12ch; }
.hm-arch { left: 44%; top: 34%; max-width: 13ch; font-style: italic; }
.hero-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 14px; font-family: var(--ui); font-size: .9rem; color: var(--muted); }
.hm-scale { display: inline-flex; align-items: center; gap: 8px; }
.hm-scale i { display: inline-block; width: 90px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #1b2fd1, #19b4ef 25%, #26c04c 48%, #f2e22a 68%, #f28c1e 84%, #d7301f); }

.start { padding-block: 56px 24px; }
.start h2, .about-band h2, .popular h2, .intro h2, .gait h2 { font-size: clamp(1.8rem, 3vw, 2.4rem) !important; margin-bottom: 28px; }
.start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 56px; }
.start-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; }
.si-art { display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px; background: var(--paper); padding: 16px; transition: background .2s ease; }
.si-art:hover { background: #e2e9f7; }
.si-art svg { width: 100%; height: 100%; }
.si-photo { padding: 0; overflow: hidden; }
.si-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 70%; transform: scale(1.6); }
.dw path, .si-art .gl { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dw .dw-ground { stroke-width: 1.4; opacity: .4; }
.dw .dw-sole { stroke: var(--accent); stroke-width: 3; }
.dw-dot { fill: var(--hot); }
.dw-dot.soft { opacity: .45; }
.si-art .ga { stroke: var(--accent) !important; opacity: .8; }
.si-art .gar { stroke: var(--accent) !important; }
.si-art .gh, .si-art .gs, .si-art .gn { display: none; }
.si-text h3 { font-size: 1.45rem !important; margin: 4px 0 6px; }
.si-text h3 a { color: var(--ink); text-decoration: none; }
.si-text h3 a:hover { color: var(--accent); }
.si-text p { margin: 0 0 10px; color: var(--muted); }
.si-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--ui); font-size: .95rem; }
.si-links a { font-weight: 500; }
.si-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-family: var(--ui); font-size: .95rem; }

.about-band { margin-block: 40px 16px; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 56px; }
.about-photo { width: 100%; height: auto; border-radius: 20px; display: block; }
.about-lead { font-size: 1.3rem; line-height: 1.5; color: var(--ink); max-width: 36ch; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0; }
.about-facts dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.about-facts dd { margin: 4px 0 0; font-family: var(--ui); font-size: .92rem; color: var(--muted); }
.about-text > p:last-child a { font-family: var(--ui); font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .start-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .about-photo { max-width: 320px; }
  .about-facts { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .hero { padding-block: 28px 24px; }
  .start-item { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; }
  .si-art { border-radius: 16px; padding: 10px; }
  .hm-note { font-size: .78rem; }
  .hm-note b { font-size: 1.4rem; }
  .hm-heel { max-width: 10ch; }
  .hm-arch { max-width: 11ch; }
}
@media (prefers-reduced-motion: reduce) { .si-art { transition: none; } }
.hm-split { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; }
.hm-split p { margin: 0; font-family: var(--ui); font-size: .95rem; color: var(--muted); max-width: 22ch; }
.hm-split p:last-child { text-align: right; }
.hm-split b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--ink); letter-spacing: -.02em; margin-bottom: 4px; }
.hero-map figcaption { border-top: 1px solid var(--line); padding-top: 10px; }
.si-photo img { transform: none; object-position: 50% 50%; }
.ficha-alarm { font-family: var(--ui) !important; text-transform: none !important; letter-spacing: 0 !important; border-radius: 999px !important; font-weight: 600 !important; font-size: .9rem !important; }
header.banner-compact { background: var(--paper) !important; border-bottom: 0 !important; margin-bottom: 8px; }
.banner-compact .wrap { padding-block: 40px 36px !important; }
.banner-compact h1 { max-width: 30ch !important; font-size: clamp(2rem, 3.6vw, 2.9rem) !important; }
.main-grid { border-top: 0 !important; }
.article-meta { border-bottom-color: var(--line) !important; }
.hero-sub { display: block; margin-top: 14px; font-family: var(--ui); font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--accent); }
