/* NexoFlujos · hoja de estilos única (sin fuentes web, sin imágenes externas, sin estilos en línea).
   Paleta: marfil #FAF7F2, tinta azul #0F1E36, coral #E85D4A. */
:root {
  --marfil: #FAF7F2;
  --marfil-2: #F3EEE5;
  --azul: #0F1E36;
  --azul-2: #1A2F4F;
  --coral: #E85D4A;
  --coral-texto: #B73A29; /* coral oscurecido: contraste 5,4:1 sobre marfil para texto */
  --suave: #4A566B;
  --linea: rgb(15 30 54 / .14);
  --sombra: 0 1px 1px rgb(15 30 54 / .04), 0 3px 6px rgb(15 30 54 / .05), 0 12px 24px rgb(15 30 54 / .06), 0 28px 56px rgb(15 30 54 / .05);
  --sombra-alta: 0 2px 2px rgb(15 30 54 / .05), 0 8px 14px rgb(15 30 54 / .08), 0 22px 40px rgb(15 30 54 / .1), 0 44px 80px rgb(15 30 54 / .08);
  --f: ui-sans-serif, "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --ancho: 72rem;
  --medida: 68ch;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--marfil); color: var(--azul); font-family: var(--f); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-underline-offset: .2em; }
svg { display: block; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.salto { position: absolute; left: 1rem; top: -5rem; z-index: 80; padding: .75rem 1rem; background: var(--azul); color: var(--marfil); font-weight: 600; border-radius: .4rem; }
.salto:focus { top: .75rem; }
.contenedor { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }

/* ───────── Cabecera ───────── */
.cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-block: 1rem; position: relative; z-index: 2; }
.marca { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; text-decoration: none; font-size: 1.2rem; letter-spacing: -.02em; }
.marca svg { width: 2.1rem; height: 2.1rem; flex: none; }
.marca b { font-weight: 800; }
.marca span span { font-weight: 450; color: var(--suave); }
.nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* ───────── Botones ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: .7rem; font-weight: 700; font-size: .98rem; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; transition: transform .18s ease; }
.btn-coral { background: var(--coral); color: var(--azul); box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 6px 16px rgb(232 93 74 / .28); }
.btn-coral:hover { background: #EE7262; }
.btn-azul { background: var(--azul); color: var(--marfil); }
.btn-azul:hover { background: var(--azul-2); }
.btn-texto { display: inline-flex; align-items: center; min-height: 48px; font-weight: 650; }

/* ───────── Portada: hero con cuadrícula técnica ───────── */
.hero { position: relative; isolation: isolate; padding-block: 1.5rem 3.5rem; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(15 30 54 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(15 30 54 / .04) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 68% 38%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 90% at 68% 38%, #000 25%, transparent 78%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-texto h1 { font-size: clamp(2.7rem, 9vw, 4.9rem); line-height: .97; letter-spacing: -.045em; margin-bottom: 1.4rem; }
.lede { font-size: 1.15rem; line-height: 1.55; color: var(--suave); max-width: 34rem; margin-bottom: 1.75rem; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; margin-bottom: 1.5rem; }
.responsable { font-size: .95rem; color: var(--suave); }
.responsable strong { color: var(--azul); }
.flujo { background: var(--azul); color: var(--marfil); border-radius: 1.25rem; padding: 1rem; box-shadow: var(--sombra-alta); position: relative; overflow: hidden;
  background-image: radial-gradient(rgb(250 247 242 / .08) 1px, transparent 1.3px); background-size: 20px 20px; }
.flujo-cab { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; font-size: .82rem; }
.flujo-cab b { font-weight: 650; white-space: nowrap; }
.pildora { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .65rem; border-radius: 99px; background: rgb(250 247 242 / .1); color: #E8E3D9; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.pildora i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--coral); }
.flujo svg { width: 100%; height: auto; overflow: visible; }
.svg-h { display: none; aspect-ratio: 560 / 190; }
.svg-v { aspect-ratio: 320 / 430; max-width: 22rem; margin-inline: auto; }
.flujo figcaption { margin-top: .75rem; font-size: .82rem; color: #C9CFDA; max-width: 40rem; }
.nodo rect { fill: #14284A; stroke: rgb(250 247 242 / .22); stroke-width: 1.5; }
.nodo .titulo { fill: var(--marfil); font: 800 18px var(--f); letter-spacing: -.01em; }
.nodo .sub { fill: #C9CFDA; font: 500 14px var(--f); }
.nodo .ico { fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cable { stroke: rgb(250 247 242 / .3); stroke-width: 2; fill: none; }
.punta { fill: rgb(250 247 242 / .55); }
.chip rect { fill: #0B1730; stroke: var(--coral); stroke-width: 1.2; }
.chip text { fill: var(--marfil); font: 600 12.5px var(--f-mono); }
.pulso { fill: none; stroke: var(--coral); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 16 200; stroke-dashoffset: 16; animation: viaja 3.6s cubic-bezier(.45, 0, .3, 1) infinite; }
.pulso-2 { animation-delay: 1.2s; }
.anillo { fill: none; stroke: var(--coral); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: onda 3.6s ease-out infinite; opacity: 0; }
.anillo-2 { animation-delay: 1.2s; }
.anillo-3 { animation-delay: 2.4s; }
@keyframes viaja { 0% { stroke-dashoffset: 16; opacity: 1; } 28% { stroke-dashoffset: -100; opacity: 1; } 29%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes onda { 0% { transform: scale(.6); opacity: .75; } 30% { transform: scale(1.5); opacity: 0; } 100% { transform: scale(1.5); opacity: 0; } }

/* Tarjetas de acceso */
.guias { display: grid; gap: 1rem; margin-top: 2.75rem; position: relative; }
.guia { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: .6rem; min-height: 15.5rem; padding: 1.35rem; background: #fff; border: 1px solid var(--linea); border-radius: 1.1rem; box-shadow: var(--sombra); text-decoration: none; transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease, border-color .22s ease; }
.guia-icono { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .85rem; background: var(--marfil-2); border: 1px solid var(--linea); }
.guia-icono svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--azul); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guia-icono .acento { stroke: var(--coral-texto); }
.guia h3 { font-size: 1.35rem; letter-spacing: -.03em; }
.guia p { color: var(--suave); font-size: .95rem; line-height: 1.5; }
.metas { display: flex; flex-wrap: wrap; gap: .4rem; }
.meta { display: inline-flex; align-items: center; gap: .35rem; min-height: 1.75rem; padding: .15rem .65rem; border-radius: 99px; background: var(--marfil-2); border: 1px solid var(--linea); font-size: .8rem; font-weight: 650; color: var(--azul); }
.meta svg { width: .85rem; height: .85rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guia-pie { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--coral-texto); }
.guia-pie svg { width: 1rem; height: 1rem; transition: transform .2s ease; }

/* ───────── Secciones generales ───────── */
.seccion { padding-block: 3.5rem; }
.seccion-cab { max-width: 42rem; margin-bottom: 2rem; }
.seccion-cab h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); margin-bottom: .7rem; }
.seccion-cab p { color: var(--suave); }
.bajo-pliegue { content-visibility: auto; contain-intrinsic-size: auto 500px; }
.publicadas { display: grid; gap: 1rem; }
.publicada { display: grid; gap: .6rem; padding: 1.5rem; background: #fff; border: 1px solid var(--linea); border-radius: 1.1rem; box-shadow: var(--sombra); text-decoration: none; transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease; }
.publicada h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.publicada p { color: var(--suave); }
.publicada .tipo { font-size: .85rem; font-weight: 700; color: var(--coral-texto); }
.metodo { display: grid; gap: 1rem; }
.metodo li { padding: 1.25rem 1.35rem; background: var(--marfil-2); border: 1px solid var(--linea); border-radius: 1rem; }
.metodo strong { display: block; margin-bottom: .3rem; font-size: 1.05rem; }
.metodo span { color: var(--suave); font-size: .95rem; }

/* Firma */
.firma { display: grid; gap: 1.25rem; align-items: center; margin-top: 1.5rem; padding: 1.5rem; background: var(--azul); color: var(--marfil); border-radius: 1.25rem; box-shadow: var(--sombra-alta); }
.firma-id { display: flex; align-items: center; gap: 1rem; }
.avatar { display: grid; place-items: center; flex: none; width: 4.25rem; height: 4.25rem; border-radius: 50%; background: var(--azul-2); color: var(--marfil); font-size: 1.45rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 0 0 3px var(--azul), 0 0 0 5px var(--coral); }
.firma-nombre { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.firma-rol { color: #C9CFDA; font-size: .92rem; }
.firma-texto { color: #D9DDE5; font-size: .95rem; line-height: 1.55; max-width: 36rem; }
.firma a { color: var(--marfil); font-weight: 700; }

/* ───────── Artículos ───────── */
.art-cab { padding-block: 1.5rem 1.5rem; }
.migas { display: flex; flex-wrap: wrap; gap: 0 .6rem; margin-bottom: 1.5rem; font-size: .88rem; color: var(--suave); }
.migas a { display: inline-flex; align-items: center; min-height: 44px; }
.art-tipo { display: inline-block; margin-bottom: .9rem; padding: .2rem .7rem; border-radius: 99px; background: rgb(232 93 74 / .14); color: var(--coral-texto); font-size: .85rem; font-weight: 750; }
.art-cab h1 { font-size: clamp(1.95rem, 4.6vw, 3.1rem); line-height: 1.06; letter-spacing: -.035em; max-width: 34ch; margin-bottom: 1.1rem; }
.art-lede { font-size: 1.2rem; line-height: 1.55; color: var(--suave); max-width: 44rem; margin-bottom: 1.25rem; }
.art-meta { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; font-size: .9rem; color: var(--suave); }
.art-meta strong { color: var(--azul); }
.etiqueta-publi { display: block; max-width: 44rem; margin: 0 0 1.5rem; padding: .85rem 1rem; border-left: 5px solid var(--coral); border-radius: .3rem .7rem .7rem .3rem; background: rgb(232 93 74 / .1); font-size: .95rem; line-height: 1.5; }
.etiqueta-publi strong { font-weight: 800; }
.art-grid { display: grid; gap: 2rem; padding-bottom: 3rem; }
.toc-lateral { display: none; }
.toc-movil { border: 1px solid var(--linea); border-radius: .9rem; background: #fff; }
.toc-movil summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: .5rem 1rem; font-weight: 700; cursor: pointer; list-style: none; }
.toc-movil summary::-webkit-details-marker { display: none; }
.toc-movil summary::after { content: ""; width: .6rem; height: .6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.toc-movil[open] summary::after { transform: rotate(-135deg); }
.toc-movil nav { padding: 0 1rem .75rem; }
.toc a { display: block; padding: .45rem 0; line-height: 1.35; text-decoration: none; font-size: .95rem; }
.toc a:hover { text-decoration: underline; }
.toc-t { font-size: 1rem; font-weight: 800; margin-bottom: .5rem; letter-spacing: -.01em; }
.prosa { min-width: 0; font-size: 1.125rem; line-height: 1.72; }
.prosa > section { margin-bottom: 3rem; }
.prosa h2 { font-size: clamp(1.7rem, 3.6vw, 2.25rem); margin-bottom: 1rem; scroll-margin-top: 1rem; }
.prosa h3 { font-size: 1.3rem; letter-spacing: -.025em; margin: 1.75rem 0 .6rem; }
.prosa p, .prosa ul, .prosa ol, .prosa h3, .prosa .nota, .prosa details { max-width: var(--medida); }
.prosa p { margin-bottom: 1.15em; }
.prosa ul, .prosa ol { padding-left: 1.35rem; margin-bottom: 1.15em; }
.prosa ul { list-style: disc; }
.prosa ol { list-style: decimal; }
.prosa li { margin-block: .4rem; padding-left: .2rem; }
.prosa li::marker { color: var(--coral-texto); }
.prosa a { color: var(--coral-texto); text-decoration: underline; font-weight: 600; }
.prosa strong { font-weight: 700; }
.prosa code { font-family: var(--f-mono); font-size: .88em; padding: .1rem .35rem; border-radius: .3rem; background: var(--marfil-2); border: 1px solid var(--linea); }
.prosa pre { max-width: 100%; margin: 0 0 1.4em; padding: 1rem 1.1rem; overflow-x: auto; border-radius: .9rem; background: var(--azul); color: #E8E3D9; font: .88rem/1.6 var(--f-mono); tab-size: 2; }
.prosa pre code { padding: 0; border: 0; background: none; font-size: inherit; color: inherit; }
.prosa .nota { margin-bottom: 1.4em; padding: .9rem 1.1rem; border-left: 4px solid var(--azul); background: var(--marfil-2); border-radius: .3rem .8rem .8rem .3rem; font-size: 1rem; line-height: 1.6; }
.prosa details { margin-bottom: .75rem; padding: .35rem 1rem; background: #fff; border: 1px solid var(--linea); border-radius: .8rem; }
.prosa summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.prosa details p { margin-block: .25rem .9rem; }
.tabla-wrap { margin: 0 0 1.6rem; overflow-x: auto; border: 1px solid var(--linea); border-radius: 1rem; background: #fff; box-shadow: var(--sombra); max-width: 100%; }
.tabla-wrap table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .92rem; line-height: 1.45; }
.tabla-wrap caption { text-align: left; padding: .9rem 1rem .4rem; font-size: .88rem; color: var(--suave); }
.tabla-wrap th, .tabla-wrap td { padding: .8rem .85rem; text-align: left; vertical-align: top; border-top: 1px solid var(--linea); }
.tabla-wrap thead th { background: var(--marfil-2); font-size: .85rem; color: var(--suave); border-top: 0; }
.tabla-wrap tbody th { font-weight: 800; }
.tabla-wrap th small, .tabla-wrap td small { display: block; font-weight: 500; margin-top: .3rem; color: var(--suave); font-size: .82rem; }
.tabla-aviso { display: none; margin: 0 0 .5rem; font-size: .85rem; color: var(--suave); }

/* Herramientas (datos de data/herramientas.json) */
.herramientas { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.herr { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: .75rem; padding: 1.35rem; background: #fff; border: 1px solid var(--linea); border-radius: 1.1rem; box-shadow: var(--sombra); }
.herr h3 { margin: 0; font-size: 1.5rem; }
.herr .cat { font-size: .85rem; font-weight: 650; color: var(--suave); }
.herr .precio { font-size: .95rem; font-weight: 650; }
.herr ul { padding-left: 1.1rem; margin: 0; font-size: .95rem; line-height: 1.5; max-width: none; }
.herr li { margin-block: .25rem; }
.herr-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.herr-acciones a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 600; color: var(--coral-texto); text-decoration: underline; }
.herr-sin-enlace { font-size: .9rem; color: var(--suave); }

/* Espacios publicitarios reservados (AdSense futuro). Las reglas por ID se generan en la compilación. */
.ad-reserva { display: grid; place-items: center; margin-block: 2.5rem; border: 1px dashed var(--linea); border-radius: .8rem; background: var(--marfil-2); color: var(--suave); font-size: .8rem; text-align: center; }
.ad-reserva > span { padding: .5rem 1rem; }
.ad-reserva[data-ads="propio"] { display: block; place-items: stretch; border: 0; background: none; text-align: left; }
/* House ad: tarjeta editorial propia que llena exactamente la reserva de 250 px. */
.casa { width: 100%; display: grid; align-content: center; justify-items: start; gap: 1.1rem; box-sizing: border-box; height: 250px; padding: 1.25rem 1.35rem; background: var(--azul); color: var(--marfil); border-radius: 1.1rem; box-shadow: var(--sombra); overflow: hidden; }
.casa-t { margin: 0 0 .35rem; font-size: clamp(1.2rem, 4.6vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.casa-d { margin: 0; max-width: 34rem; color: #D9DDE5; font-size: .95rem; line-height: 1.45; }
@media (min-width: 720px) { .casa { grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; gap: 2rem; padding: 2rem 2.25rem; } }

/* ───────── Páginas legales y de autoridad ───────── */
.legal { max-width: 52rem; padding-block: 2rem 4rem; }
.legal h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: 1rem; letter-spacing: -.04em; }
.legal .actualizado { color: var(--suave); font-size: .92rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.6rem; margin: 2.25rem 0 .75rem; }
.legal h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; letter-spacing: -.02em; }
.legal p, .legal ul, .legal ol { margin-bottom: 1rem; max-width: 68ch; line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 1.35rem; }
.legal ol { list-style: decimal; padding-left: 1.35rem; }
.legal li { margin-block: .3rem; }
.legal a { color: var(--coral-texto); font-weight: 600; text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.pendiente { padding: .1rem .45rem; border-radius: .35rem; background: #FFE9A8; color: #4D3600; font-weight: 700; }
.legal .tabla-wrap table { min-width: 36rem; }

/* ───────── Consentimiento de cookies ───────── */
.cmp { position: fixed; z-index: 70; left: .75rem; right: .75rem; bottom: .75rem; max-width: 46rem; margin-inline: auto; padding: 1.1rem 1.2rem; background: var(--marfil); color: var(--azul); border: 2px solid var(--azul); border-radius: 1rem; box-shadow: var(--sombra-alta); }
.cmp[hidden] { display: none; }
.cmp-t { margin-bottom: .35rem; font-size: 1.05rem; font-weight: 800; }
.cmp-d { margin-bottom: .9rem; font-size: .92rem; line-height: 1.5; color: var(--suave); }
.cmp-d a { color: var(--coral-texto); font-weight: 650; }
.cmp-botones { display: flex; gap: .75rem; }
/* «Aceptar» y «Rechazar todas» comparten clase, jerarquía, tamaño y color. */
.cmp-btn { flex: 1 1 0; min-height: 48px; padding: .7rem 1rem; border: 2px solid var(--azul); border-radius: .7rem; background: var(--azul); color: var(--marfil); font-weight: 700; font-size: 1rem; cursor: pointer; }
.cmp-btn:hover { background: var(--azul-2); }
.cmp-btn:focus-visible { outline-color: var(--coral); outline-offset: 3px; }

/* ───────── Pie ───────── */
.pie { margin-top: 2rem; padding-block: 2.5rem 1.5rem; border-top: 1px solid var(--linea); font-size: .9rem; }
.pie-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 3rem; }
.pie p { color: var(--suave); margin-top: .3rem; }
.pie nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.pie nav a, .pie nav button { display: inline-flex; align-items: center; min-height: 44px; }
.pie nav button { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.pie-nota { width: 100%; font-size: .8rem; }
.respiro { height: 3.5rem; } /* espacio de seguridad para insignias o banners fijos */

/* ───────── Interacción y movimiento reducido ───────── */
@media (hover: hover) {
  .guia:hover, .publicada:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); border-color: rgb(15 30 54 / .28); }
  .guia:hover .guia-pie svg { transform: translateX(4px); }
  .btn:hover { transform: translateY(-2px); }
  .btn:hover svg { transform: translateX(3px); }
}
.guia:focus-visible, .publicada:focus-visible { transform: translateY(-3px); box-shadow: var(--sombra-alta); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .guia:hover, .publicada:hover, .btn:hover { transform: none !important; }
  .pulso, .anillo { opacity: 0; }
}

/* ───────── Pantallas anchas ───────── */
@media (min-width: 720px) {
  .guias { grid-template-columns: repeat(3, 1fr); }
  .publicadas { grid-template-columns: repeat(2, 1fr); }
  .metodo { grid-template-columns: repeat(3, 1fr); }
  .herramientas { grid-template-columns: repeat(2, 1fr); }
  .firma { grid-template-columns: auto 1fr; gap: 2rem; padding: 1.75rem 2rem; }
}
@media (min-width: 960px) {
  .hero { padding-block: 2.5rem 4.5rem; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3.5rem; }
  .svg-h { display: block; }
  .svg-v { display: none; }
  .flujo { padding: 1.5rem 1.5rem 1.25rem; }
  .flujo svg.svg-h { margin-block: 1.25rem .5rem; }
}
@media (min-width: 1000px) {
  .art-grid { grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; }
  .toc-lateral { display: block; position: sticky; top: 1.5rem; align-self: start; max-height: calc(100vh - 3rem); overflow-y: auto; padding-left: 1rem; border-left: 3px solid var(--coral); }
  .toc-movil { display: none; }
}
@media (min-width: 1200px) { .herramientas { grid-template-columns: repeat(2, 1fr); } }

/* Móvil: la tabla comparativa se convierte en fichas apiladas (sin desplazamiento horizontal) */
@media (max-width: 720px) {
  .tabla-apilable { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .tabla-apilable table { min-width: 0; }
  .tabla-apilable table, .tabla-apilable tbody, .tabla-apilable tr, .tabla-apilable th, .tabla-apilable td { display: block; }
  .tabla-apilable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tabla-apilable tr { margin-bottom: 1rem; padding: .35rem 0; border: 1px solid var(--linea); border-radius: 1rem; background: #fff; box-shadow: var(--sombra); }
  .tabla-apilable th, .tabla-apilable td { padding: .55rem 1rem; border: 0; }
  .tabla-apilable td::before { content: attr(data-etiqueta); display: block; margin-bottom: .15rem; font-size: .8rem; font-weight: 700; color: var(--suave); }
  .tabla-apilable tbody th { font-size: 1.25rem; }
  .tabla-apilable caption { display: block; padding: 0 0 .85rem; }
}
@media (max-width: 640px) {
  .seccion { padding-block: 2.75rem; }
  .guia { min-height: 0; }
  .respiro { height: calc(5rem + env(safe-area-inset-bottom, 0px)); }
  .nav { gap: 0 1.1rem; }
  .flujo-cab { font-size: .82rem; }
  .prosa { font-size: 1.0625rem; }
  .cmp-botones { flex-direction: column; }
}

/* Espacios publicitarios reservados: selector por ID único, altura mínima y aislamiento (CLS = 0). */
#ad-slot-portada-1,
#ad-slot-guia-1,
#ad-slot-guia-2,
#ad-slot-comparativa-1,
#ad-slot-comparativa-2 { min-height: 250px; contain: layout style; }
