/* empowora.com · hoja única
   Marca: html-branding-empowora (tokens de raw/marca/identidad-visual.md).
   Portada del prototipo B, cuerpo del prototipo C y test del prototipo A.
   Gradiente de marca, tres usos: subrayado del titular, barra del cierre y arco del medidor. */

/* ── Poppins alojada en el sitio (sin peticiones a Google) ── */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/poppins-latin-800-normal.woff2') format('woff2'); }

:root {
  /* Tinta */
  --ink: #082035; --ink-2: #46586A; --ink-3: #7E8EA0;
  /* Superficie */
  --paper: #FFFFFF; --paper-soft: #F6F8FA; --border: #E3E8ED; --border-strong: #082035; --hover: #EEF2F6;
  /* Banda: gris azulado más marcado que --paper-soft, derivado del navy, para alternar secciones con blanco */
  --paper-band: #ECF0F4; --border-band: #DCE3EA;
  /* Acento (lo que mejora) */
  --accent: #754FFE; --accent-deep: #5B34D6; --accent-light: #A88CFF; --accent-tint: #F1ECFF;
  /* Alerta (solo lo que va mal) */
  --alert: #EB38AF; --alert-deep: #B01A7E; --alert-tint: #FDEBF6;
  --accent-wash: #DCCFFF; --alert-wash: #FBCDE8;
  --gradient: linear-gradient(135deg, #754FFE 0%, #EB38AF 100%);
  /* Sobre navy */
  --on-ink: #FFFFFF; --on-ink-2: rgba(255,255,255,.78); --on-ink-3: rgba(255,255,255,.62);
  --ink-line: rgba(255,255,255,.16); --ink-glass: rgba(255,255,255,.08);
  --focus: #A88CFF;
  /* Excepción de marca: colores oficiales del logo de Google. Solo en .g-logo */
  --google-blue: #4285F4; --google-red: #EA4335; --google-yellow: #FBBC05; --google-green: #34A853;

  --gutter: 16px; --max: 1200px; --r: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
/* geometricPrecision: con optimizeLegibility, Chromium en Linux redondeaba el avance de la «t» de Poppins a tamaños fraccionarios y aparecían huecos («ent revista»). */
html, body { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; }
body { overflow-x: hidden; padding-bottom: 76px; }
@supports (overflow-x: clip) { body { overflow-x: clip; } }
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 700; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.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; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--r); font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }

/* Foco visible */
:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; border-radius: var(--r); }
.navy :focus-visible, .top :focus-visible, .pie :focus-visible, .dock :focus-visible { outline-color: var(--focus); }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 26px; border-radius: var(--r); background: var(--accent-deep); color: var(--on-ink); font: inherit; font-weight: 700; font-size: 1.02rem; text-decoration: none; letter-spacing: .005em; border: 2px solid var(--accent-deep); cursor: pointer; text-align: center; line-height: 1.25; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.navy .btn:hover, .top .btn:hover, .dock .btn:hover { background: var(--accent); border-color: var(--accent); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on-ink); }
.navy .btn--ghost { color: var(--on-ink); border-color: var(--on-ink); }
.navy .btn--ghost:hover { background: var(--ink-glass); border-color: var(--on-ink); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .86rem; white-space: nowrap; }
.btn--full { width: 100%; }
.micro { font-size: .84rem; color: var(--ink-2); max-width: 60ch; }
.navy .micro { color: var(--on-ink-3); }

/* ── Superficies ── */
.navy { background: var(--ink); color: var(--on-ink); }

/* ══════════ CABECERA ══════════ */
.top { position: sticky; top: 0; z-index: 40; background: var(--ink); border-bottom: 1px solid var(--ink-line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.top__logo { display: block; width: 128px; }
.top__logo img { width: 100%; height: auto; }
@media (min-width: 900px) { .top__logo { width: 150px; } }

/* ══════════ PORTADA (B) ══════════ */
.hero { padding: 24px 0 40px; position: relative; overflow: hidden; }
.hero__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px); background-size: 100% 25%; opacity: .3; }
.hero__in { position: relative; display: flex; flex-direction: column; gap: 22px; }
.hero__meta { border-top: 2px solid var(--on-ink); padding-top: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-2); line-height: 1.45; }
.cont { display: flex; flex-direction: column; gap: 6px; }
.cont__ante { font-size: 1.05rem; font-weight: 600; color: var(--on-ink-2); }
.cont__fila { display: flex; align-items: flex-end; gap: 14px; }
.cont__num { font-size: clamp(7.5rem, 46vw, 20rem); font-weight: 800; line-height: .8; letter-spacing: -.06em; color: var(--alert); font-variant-numeric: tabular-nums; margin-left: -.04em; min-width: 1.15em; }
.cont__de { font-size: clamp(1.1rem, 4.6vw, 2rem); font-weight: 700; color: var(--on-ink-2); line-height: 1.1; padding-bottom: .4em; }
.cont__pie { font-size: 1.05rem; font-weight: 600; color: var(--on-ink); max-width: 34ch; line-height: 1.4; }
.cont__nota { font-size: .78rem; color: var(--on-ink-3); max-width: 52ch; }
.cont__barras { display: grid; grid-template-columns: repeat(25, 1fr); gap: 3px; margin-top: 12px; max-width: 460px; }
.cont__barras i { aspect-ratio: 1; background: var(--ink-line); border-radius: 1px; }
.cont__barras i.on { background: var(--alert); }

.hero__title { font-size: clamp(2.3rem, 10.4vw, 5.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; color: var(--on-ink); max-width: 15ch; }
/* USO AUTORIZADO 1/3 del gradiente: subrayado del giro del titular */
.hero__title .hl { white-space: nowrap; background-image: var(--gradient); background-repeat: no-repeat; background-size: 100% .11em; background-position: 0 94%; padding-bottom: .05em; }
.hero__side { display: flex; flex-direction: column; gap: 22px; }
.hero__sub { font-size: 1.05rem; color: var(--on-ink-2); max-width: 50ch; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; }
.hero__cta .btn { width: 100%; }

@media (min-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .hero__in { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "meta meta" "cont title" "cont side"; column-gap: 64px; row-gap: 28px; }
  .hero__meta { grid-area: meta; }
  .cont { grid-area: cont; align-self: start; }
  .hero__title { grid-area: title; align-self: end; font-size: clamp(2.6rem, 3.9vw, 3.9rem); max-width: none; }
  .hero__side { grid-area: side; }
  .cont__num { font-size: clamp(12rem, 22vw, 20rem); }
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .hero__cta .btn { width: auto; }
}

/* ══════════ VÍDEO (fachada) ══════════ */
.video-sec { padding: 56px 0 64px; background: var(--paper-soft); border-bottom: 1px solid var(--border); }
.video-sec__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; max-width: 760px; }
.video-sec__title { font-size: clamp(1.8rem, 7vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; }
.video-sec__lead { color: var(--ink-2); font-size: 1rem; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--r); overflow: hidden; max-width: 960px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: var(--ink); cursor: pointer; display: block; color: var(--on-ink); font: inherit; }
.video__poster { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 16px 18px; text-align: left; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.video__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 100% 25%, 12.5% 100%; opacity: .5; }
.video__eyebrow { position: relative; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-2); border-top: 2px solid var(--on-ink); padding-top: 8px; }
.video__icono { position: relative; align-self: center; justify-self: center; width: clamp(64px, 18vw, 104px); height: clamp(64px, 18vw, 104px); border-radius: 50%; border: 3px solid var(--on-ink); display: grid; place-items: center; background: var(--ink); transition: background .15s, border-color .15s, transform .2s var(--ease); }
.video__icono svg { width: 56%; height: 56%; margin-left: 6%; }
.video__titulo { position: relative; font-size: clamp(1.4rem, 6vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.025em; padding-right: 64px; }
.video__dur { position: absolute; right: 18px; bottom: 16px; font-family: var(--mono); font-size: .9rem; font-weight: 700; color: var(--on-ink); border: 1px solid var(--ink-line); border-radius: var(--r); padding: 4px 8px; background: var(--ink); }
.video__play:hover .video__icono, .video__play:focus-visible .video__icono { background: var(--accent-deep); border-color: var(--accent-deep); transform: scale(1.04); }
.video__play:focus-visible { outline-offset: -4px; outline-color: var(--focus); }
@media (min-width: 768px) { .video__poster { padding: 28px 32px; } .video__dur { right: 32px; bottom: 28px; } }
.video-sec__cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
@media (min-width: 640px) { .video-sec__cta { align-items: flex-start; } }

/* ══════════ CUERPO · INFORME NUMERADO (C) ══════════ */
.sec { padding: 56px 0; border-top: 1px solid var(--border); }
.sec__head { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
.sec__num { display: flex; align-items: baseline; gap: 12px; border-top: 2px solid var(--ink); padding-top: 10px; }
.sec__digit { font-family: var(--mono); font-size: .9rem; font-weight: 700; letter-spacing: .06em; }
.sec__label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.sec__title { font-size: clamp(1.7rem, 6.4vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.sec__lead { font-size: 1.03rem; color: var(--ink-2); max-width: 660px; margin-top: 12px; }
.sub-h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); margin-bottom: 12px; }
.prose p + p { margin-top: 14px; }
.prose p { max-width: 66ch; }

/* 01 · gráfico y síntomas */
.problema__grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.fig { border: 1px solid var(--border); border-radius: var(--r); padding: 20px; background: var(--paper); }
.fig__title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 4px; }
.fig__sub { font-size: .82rem; color: var(--ink-2); margin-bottom: 20px; }
.hbars { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.hbar { display: grid; gap: 6px; }
.hbar__top { display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; line-height: 1.35; }
.hbar__val { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hbar__track { height: 14px; background: var(--paper-soft); border-radius: var(--r); overflow: hidden; }
.hbar__fill { height: 100%; width: var(--w); min-width: 4px; background: var(--ink-3); border-radius: var(--r); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.is-visible .hbar__fill, .no-js .hbar__fill { transform: scaleX(1); }
.hbar--alert .hbar__fill { background: var(--alert); }
.hbar--alert .hbar__top { font-weight: 700; }
.hbar--alert .hbar__val { color: var(--alert-deep); }
.fig__cap { font-size: .78rem; color: var(--ink-2); margin-top: 16px; border-top: 1px solid var(--border); padding-top: 10px; display: grid; gap: 4px; }
.lectura { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--ink); background: var(--paper-soft); border-radius: var(--r); font-weight: 600; font-size: .98rem; }

.sintomas { list-style: none; border-top: 2px solid var(--ink); }
.sintomas li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.sintomas .mono { color: var(--alert-deep); font-weight: 700; font-size: .86rem; padding-top: 3px; }
.sintomas strong { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.4; }
.sintomas p { color: var(--ink-2); font-size: .94rem; margin-top: 6px; }

/* 02 · tabla «lo que no somos / lo que sí» */
.ctable { border-top: 2px solid var(--ink); }
.ctable__head { display: none; }
.ctable__row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ctable__n { font-family: var(--mono); color: var(--ink-2); font-size: .82rem; font-weight: 600; }
.ctable__cell { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; padding: 12px 14px; border-radius: var(--r); line-height: 1.5; }
.ctable__cell svg { width: 16px; height: 16px; margin-top: 4px; }
.ctable__cell--mal { background: var(--alert-tint); border-left: 3px solid var(--alert); color: var(--ink); }
.ctable__cell--bien { background: var(--accent-tint); border-left: 3px solid var(--accent); }
.ctable__tag { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 2px; }
.ctable__cell--mal .ctable__tag { color: var(--alert-deep); }
.ctable__cell--bien .ctable__tag { color: var(--accent-deep); }
.i-mal { stroke: var(--alert); }
.i-bien { fill: var(--accent); }

/* 03 · TEST (A) */
.test { border: 2px solid var(--ink); border-radius: var(--r); background: var(--paper); max-width: 820px; position: relative; }
.test__pane { padding: 24px 18px 26px; }
.test__pane[hidden] { display: none; }
.test__promesa { font-size: 1rem; color: var(--ink); max-width: 60ch; }
.test__datos { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.test__chip { font-size: .8rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--border); border-radius: var(--r); padding: 5px 10px; }
.test__priv { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--ink-2); margin-top: 14px; max-width: 60ch; }
.test__priv svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ink); }
.test__start { width: 100%; }
@media (min-width: 640px) { .test__start { width: auto; } }

.wiz__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.wiz__back { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--r); color: var(--ink); background: var(--paper); cursor: pointer; }
.wiz__back:hover { background: var(--hover); }
.wiz__back[disabled] { opacity: .35; cursor: default; }
.wiz__back svg { width: 20px; height: 20px; }
.wiz__paso { font-size: .9rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wiz__paso b { color: var(--ink); font-weight: 800; }
.progreso { margin-top: 12px; height: 6px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.progreso i { display: block; height: 100%; background: var(--border); border-radius: 2px; position: relative; overflow: hidden; }
.progreso i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.progreso i.hecho::after { transform: scaleX(1); }

.preg { padding-top: 26px; display: flex; flex-direction: column; gap: 22px; }
.preg__eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.preg__eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ink); }
.preg__titulo { font-size: clamp(1.35rem, 5.4vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; }
.preg__titulo:focus { outline: none; }
.resp { display: flex; flex-direction: column; gap: 10px; border: 0; }
.resp legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.resp__item { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--r); background: var(--paper); cursor: pointer; position: relative; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.resp__item:hover { border-color: var(--ink-3); background: var(--paper-soft); }
.resp__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.resp__key { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--border); border-radius: var(--r); font-weight: 800; color: var(--ink-2); transition: all .15s var(--ease); }
.resp__txt { font-size: 1rem; font-weight: 600; line-height: 1.4; }
/* Seleccionada: único violeta dominante de la pantalla */
.resp__item.is-sel { border-color: var(--accent); background: var(--accent-tint); }
.resp__item.is-sel .resp__key { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-ink); }
.resp__item:focus-within { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.preg__pie { display: flex; flex-direction: column; gap: 10px; }
.preg__aviso { font-size: .84rem; color: var(--alert-deep); font-weight: 600; min-height: 1.4em; }
@media (min-width: 640px) {
  .test__pane { padding: 32px 36px 36px; }
  .preg__pie { flex-direction: row; align-items: center; justify-content: space-between; }
  .preg__pie .btn { order: 2; min-width: 220px; }
}
.btn[aria-disabled="true"] { background: var(--paper-soft); color: var(--ink-2); border-color: var(--border); cursor: not-allowed; }
.btn[aria-disabled="true"] svg { opacity: .5; }

/* Resultado */
.res { display: grid; gap: 24px; }
.res__eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.res__titulo { font-size: clamp(1.6rem, 6.4vw, 2.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin-top: 8px; }
.res__titulo:focus { outline: none; }
.medidor { border: 1px solid var(--border); border-radius: var(--r); padding: 20px 16px 18px; display: flex; flex-direction: column; align-items: center; background: var(--paper-soft); }
.medidor__svg { width: 100%; max-width: 340px; overflow: visible; }
.medidor__fondo { fill: none; stroke: var(--border); stroke-width: 16; }
/* USO AUTORIZADO 3/3 del gradiente (eje entre dos extremos): arco del medidor */
.medidor__arco { fill: none; stroke: url(#grad-medidor); stroke-width: 16; stroke-dasharray: 251.33; stroke-dashoffset: 251.33; transition: stroke-dashoffset 1.4s var(--ease); }
.medidor__tick { stroke: var(--paper-soft); stroke-width: 3; }
.medidor__aguja { transform-origin: 100px 100px; transform: rotate(-90deg); transition: transform 1.5s var(--ease); }
.medidor__aguja line { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.medidor__aguja circle { fill: var(--ink); }
.medidor__cifra { font-size: clamp(2.8rem, 13vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.medidor__cifra small { font-size: .38em; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.medidor__nivel { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 700; border-radius: var(--r); padding: 4px 12px; margin-top: 10px; background: var(--paper); color: var(--ink); border: 1px solid var(--border); }
.medidor__nivel::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.medidor__nivel--bajo { background: var(--accent-tint); color: var(--accent-deep); border-color: var(--accent-tint); }
.medidor__nivel--bajo::before { background: var(--accent); }
.medidor__nivel--alto { background: var(--alert-tint); color: var(--alert-deep); border-color: var(--alert-tint); }
.medidor__nivel--alto::before { background: var(--alert); }
.medidor__escala { width: 100%; max-width: 340px; display: flex; justify-content: space-between; font-size: .76rem; font-weight: 600; color: var(--ink-2); margin-top: 12px; }
.res__lectura { font-size: 1rem; }
.res__puente { margin-top: 14px; color: var(--ink-2); font-size: .96rem; }
.res__acciones { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.res__acciones .btn { width: 100%; }
@media (min-width: 640px) {
  .res__acciones { flex-direction: row; flex-wrap: wrap; }
  .res__acciones .btn { width: auto; }
}
@media (min-width: 900px) { .res { grid-template-columns: 1fr 1.2fr; align-items: start; } .res__cab { grid-column: 1 / -1; } }

/* 04 · entrevista */
.tl { list-style: none; position: relative; display: grid; gap: 0; }
.tl::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--ink); }
.tl__step { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding-bottom: 26px; position: relative; align-content: start; }
.tl__step:last-child { padding-bottom: 0; }
.tl__dot { width: 31px; height: 31px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: .8rem; font-weight: 700; position: relative; z-index: 1; }
.tl__step--key .tl__dot { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-ink); }
.tl__title { font-weight: 700; font-size: 1.02rem; line-height: 1.35; margin-top: 3px; }
.tl__desc { font-size: .92rem; color: var(--ink-2); margin-top: 4px; }
.resumen { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--r); }
.resumen div { padding: 14px 16px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.resumen div:nth-child(2n) { border-right: none; }
.resumen div:nth-last-child(-n+2) { border-bottom: none; }
.resumen b { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.resumen span { font-size: .8rem; color: var(--ink-2); }
.bloques { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.bloque { border-top: 1px solid var(--ink); padding-top: 14px; }
.bloque p { font-size: .97rem; }
.bloque p + p { margin-top: 10px; }
.lista { list-style: none; display: grid; gap: 10px; }
.lista li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; }
.lista svg { width: 14px; height: 14px; margin-top: 6px; }
.lista--ink svg { color: var(--ink); }
.callout { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--border); background: var(--paper-soft); display: flex; flex-direction: column; gap: 6px; }
.callout__label { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--ink-2); }
.callout--tesis { background: var(--accent-tint); border-color: var(--accent); border-left: 4px solid var(--accent); }
.callout--tesis .callout__label { color: var(--accent-deep); }
.callout--regla { background: var(--paper); border-left: 4px solid var(--border-strong); }
.callout--regla .callout__label { color: var(--ink); }
.cta-fila { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.cta-fila .btn { width: 100%; }
@media (min-width: 640px) { .cta-fila { align-items: flex-start; } .cta-fila .btn { width: auto; } }

/* 05 · quién hay detrás */
.quien { display: grid; grid-template-columns: 1fr; gap: 32px; }
.fundador { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--ink); background: var(--paper-soft); border-radius: var(--r); font-size: .95rem; }
.foto { margin: 0; }
.foto img { width: 100%; height: auto; border-radius: var(--r); aspect-ratio: 1200 / 628; object-fit: cover; background: var(--paper-soft); }
.foto figcaption { font-size: .8rem; color: var(--ink-2); margin-top: 10px; border-top: 1px solid var(--border); padding-top: 8px; }
.cifras { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); margin-top: 48px; }
.cifra { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.cifra:nth-child(odd) { border-right: 1px solid var(--border); }
.cifra:nth-child(even) { padding-left: 14px; }
.cifra__num { font-size: clamp(1.9rem, 8vw, 2.8rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cifra__txt { font-size: .86rem; color: var(--ink-2); line-height: 1.45; }
.marca-reg { margin-top: 18px; font-size: .84rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.marca-reg svg { width: 16px; height: 16px; flex: none; color: var(--ink); }

/* 06 · para quién no es */
.no-es { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
.no-es li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.no-es__x { width: 28px; height: 28px; border: 1px solid var(--alert); border-radius: var(--r); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.no-es__x svg { width: 12px; height: 12px; }
.no-es__t { font-weight: 700; font-size: 1rem; line-height: 1.4; }
.no-es__d { font-size: .92rem; color: var(--ink-2); margin-top: 2px; }
.si-es { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--border); border-left: 4px solid var(--ink); border-radius: var(--r); background: var(--paper-soft); font-size: .96rem; }
.si-es b { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }

/* 07 · preguntas frecuentes */
.faq { border-top: 2px solid var(--ink); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 24px; gap: 8px; align-items: center; padding: 18px 0; font-weight: 700; font-size: 1rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { color: var(--ink-2); font-size: .8rem; font-weight: 600; }
.faq__ico { width: 24px; height: 24px; border: 1px solid var(--ink); border-radius: var(--r); position: relative; }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 0 20px 48px; font-size: .95rem; color: var(--ink-2); max-width: 70ch; }

/* 08 · cierre */
.cierre { border: 2px solid var(--ink); border-radius: var(--r); padding: 36px 20px 28px; position: relative; display: grid; gap: 22px; overflow: hidden; }
/* USO AUTORIZADO 2/3 del gradiente: barra superior del cierre */
.cierre::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--gradient); }
.cierre__t { font-size: clamp(1.7rem, 6.4vw, 2.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.cierre__p { color: var(--ink-2); font-size: 1rem; margin-top: 12px; max-width: 56ch; }
.cierre__acc { display: grid; gap: 12px; align-content: end; }
.cierre__acc .btn { width: 100%; }

/* ══════════ PIE ══════════ */
.pie { background: var(--ink); color: var(--on-ink-2); padding: 48px 0 28px; font-size: .88rem; }
.pie__logo { width: 150px; }
.pie__grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
.pie__h { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--on-ink-3); margin-bottom: 10px; }
.pie__dato { display: grid; grid-template-columns: 86px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--ink-line); line-height: 1.5; }
.pie__dato > span:first-child { color: var(--on-ink-3); }
.pie__l { list-style: none; display: grid; gap: 4px; }
.pie a { color: var(--on-ink-2); text-decoration: none; }
.pie__l a { display: inline-block; padding: 4px 0; }
.pie a:hover { color: var(--on-ink); text-decoration: underline; }
.pie__base { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--on-ink-3); }

/* ══════════ BARRA FIJA MÓVIL ══════════ */
.dock { position: fixed; left: 0; right: 0; bottom: var(--consent-h, 0px); z-index: 30; background: var(--ink); border-top: 1px solid var(--ink-line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .25s var(--ease), bottom .2s var(--ease); }
.dock.is-on { transform: none; }
.dock__t { font-size: .84rem; font-weight: 600; color: var(--on-ink); line-height: 1.3; }
.dock .btn { flex: none; min-height: 48px; padding: 0 16px; font-size: .92rem; white-space: nowrap; }
.no-js .dock { transform: none; }
@media (min-width: 1024px) { .dock { display: none; } }

/* ══════════ PÁGINAS LEGALES ══════════ */
#legal { padding: 48px var(--gutter) 80px; }
.legal__cab { border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 32px; }
.legal__cab .sec__num { margin-bottom: 14px; }
#legal h1 { font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }
.legal__fecha { margin-top: 10px; font-size: .86rem; color: var(--ink-2); }
.legal__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.legal__indice { border-top: 2px solid var(--ink); padding-top: 12px; }
.legal__indice-h { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.legal__indice ol { list-style: none; display: grid; gap: 2px; }
.legal__indice a { display: block; padding: 6px 0; font-size: .92rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border); }
.legal__indice a:hover { color: var(--accent-deep); }
.legal__texto { max-width: 70ch; font-size: 1.02rem; }
.legal__texto h2 { font-size: 1.35rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin: 40px 0 12px; padding-top: 14px; border-top: 1px solid var(--ink); scroll-margin-top: 80px; }
.legal__texto h2:first-child { margin-top: 0; }
.legal__texto h3 { font-size: 1.05rem; font-weight: 700; margin: 26px 0 8px; }
.legal__texto p { line-height: 1.7; color: var(--ink); }
.legal__texto p + p { margin-top: 12px; }
.legal__texto ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal__texto li { line-height: 1.6; }
.legal__texto li::marker { color: var(--ink-3); }
.legal__texto a { color: var(--accent-deep); text-underline-offset: 3px; }
.legal__texto em { color: var(--ink-2); }
.tabla-legal { margin-top: 14px; }
.tabla-legal table { width: 100%; border-collapse: collapse; font-size: .92rem; border-top: 2px solid var(--ink); }
.tabla-legal th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); padding: 10px 10px 10px 0; border-bottom: 1px solid var(--ink); }
.tabla-legal td { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
@media (max-width: 639px) {
  .tabla-legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .tabla-legal tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .tabla-legal td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 3px 0; border: 0; }
  .tabla-legal td::before { content: attr(data-col); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 700; padding-top: 2px; }
}
.legal__volver { margin-top: 40px !important; font-weight: 600; }
@media (min-width: 1024px) {
  .legal__grid { grid-template-columns: 260px 1fr; gap: 64px; align-items: start; }
  .legal__indice { position: sticky; top: 84px; }
}

/* ══════════ PÁGINA /entrevista ══════════ */
body.sin-dock { padding-bottom: 0; }
.btn--wa svg { width: 18px; height: 18px; }
.btn svg:first-child:not(:last-child) { transform: none; }
.hero__in--ent { gap: 28px; }
.hero__title--ent { grid-area: auto; max-width: 20ch; font-size: clamp(2rem, 8.6vw, 4.2rem); }
.hero__title--ent .hl { white-space: nowrap; }
.ent__cab { display: grid; gap: 20px; }
.tres { border: 1px solid var(--ink-line); border-radius: var(--r); padding: 20px 18px; background: var(--ink-glass); }
.tres__h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--on-ink-2); margin-bottom: 8px; }
.tres__lista { list-style: none; display: grid; }
.tres__item { display: grid; grid-template-columns: 28px 24px 1fr; gap: 10px; align-items: start; padding: 14px 0; border-top: 1px solid var(--ink-line); cursor: pointer; }
.tres__lista li:first-child .tres__item { border-top: 0; }
.tres__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tres__box { width: 24px; height: 24px; border: 2px solid var(--on-ink); border-radius: var(--r); display: grid; place-items: center; margin-top: 2px; }
.tres__box svg { width: 16px; height: 16px; color: var(--ink); opacity: 0; }
.tres__item input:checked + .tres__box { background: var(--on-ink); }
.tres__item input:checked + .tres__box svg { opacity: 1; }
.tres__item input:focus-visible + .tres__box { outline: 3px solid var(--focus); outline-offset: 2px; }
.tres__n { font-family: var(--mono); font-weight: 700; color: var(--on-ink-3); padding-top: 3px; }
.tres__t { color: var(--on-ink-2); font-size: .98rem; line-height: 1.5; }
.tres__t strong { color: var(--on-ink); }
@media (min-width: 900px) {
  .hero__in--ent { grid-template-columns: 1.2fr 1fr; grid-template-areas: "meta meta" "cab tres"; display: grid; column-gap: 64px; }
  .hero__in--ent .hero__meta { grid-area: meta; }
  .ent__cab { grid-area: cab; }
  .tres { grid-area: tres; align-self: end; padding: 24px 26px; }
  .hero__title--ent { font-size: clamp(2.6rem, 4vw, 3.8rem); }
}

.idx { position: sticky; top: 60px; z-index: 35; background: var(--paper); border-bottom: 1px solid var(--border); }
.idx__l { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 6px 0; }
.idx__l::-webkit-scrollbar { display: none; }
.idx__l a { display: inline-block; white-space: nowrap; padding: 8px 12px; font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none; border-radius: var(--r); }
.idx__l a:hover { background: var(--hover); }
.idx__l li:first-child a { padding-left: 0; }
html:has(.idx) { scroll-padding-top: 124px; }

.lista-b { list-style: none; display: grid; gap: 14px; margin-top: 14px; }
.lista-b li { position: relative; padding-left: 22px; font-size: .97rem; line-height: 1.55; }
.lista-b li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--ink); }
.lista-b--3 { margin-top: 0; }
.lista-b--num { counter-reset: lb; border-top: 2px solid var(--ink); gap: 0; margin-top: 0; max-width: 820px; }
.lista-b--num li { padding: 16px 0 16px 44px; border-bottom: 1px solid var(--border); counter-increment: lb; }
.lista-b--num li::before { content: counter(lb, decimal-leading-zero); background: none; width: auto; height: auto; top: 17px; font-family: var(--mono); font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.bloques--ent { margin-top: 8px; }
.reenvio { margin-top: 36px; padding: 22px 20px; border-left: 4px solid var(--ink); background: var(--paper-soft); border-radius: var(--r); display: grid; gap: 14px; justify-items: start; }
.reenvio__t { font-weight: 700; font-size: 1.05rem; max-width: 56ch; }
.reenvio .btn { width: 100%; }
@media (min-width: 640px) { .reenvio .btn { width: auto; } }
.reenvio__estado:empty, .ficha__estado:empty { display: none; }

.ficha { border: 2px solid var(--ink); border-radius: var(--r); padding: 22px 18px; max-width: 900px; }
.ficha__titulo { font-size: clamp(1.3rem, 5vw, 1.7rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.ficha__lista { list-style: none; display: grid; margin-top: 8px; }
.num { padding: 20px 0; border-bottom: 1px solid var(--border); display: grid; gap: 8px; }
.num__cab { display: flex; align-items: center; gap: 12px; }
.num__i { width: 30px; height: 30px; border: 1px solid var(--ink); border-radius: var(--r); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: .86rem; flex: none; }
.num__t { font-size: 1.05rem; font-weight: 700; }
.num__q { font-size: 1rem; }
.num__como { font-size: .9rem; color: var(--ink-2); }
.num__como em { font-style: normal; font-weight: 700; color: var(--ink); }
.num__casilla { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.num__input { width: 104px; height: 56px; border: 2px solid var(--ink); border-radius: var(--r); font: inherit; font-size: 1.6rem; font-weight: 800; text-align: center; color: var(--ink); background: var(--paper); font-variant-numeric: tabular-nums; }
.num__input:focus { outline: 3px solid var(--accent-deep); outline-offset: 2px; border-color: var(--accent-deep); }
.num__u { font-weight: 600; color: var(--ink-2); }
.ficha__dos { margin-top: 18px; font-weight: 600; font-size: .95rem; }
.ficha__acciones { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.ficha__acciones .btn { width: 100%; }
.ficha__estado { margin-top: 10px; color: var(--ink); font-weight: 600; }
.ficha__pie { margin-top: 16px; font-size: .86rem; color: var(--ink-2); border-top: 1px solid var(--border); padding-top: 12px; }
.sitio-h { margin-top: 40px; }
@media (min-width: 640px) {
  .ficha { padding: 30px 32px; }
  .ficha__acciones { flex-direction: row; flex-wrap: wrap; }
  .ficha__acciones .btn { width: auto; }
}
@media (min-width: 1024px) {
  .ficha__lista { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .num { border-bottom: 0; border-top: 1px solid var(--ink); display: flex; flex-direction: column; }
  .num__u { white-space: nowrap; }
  .num__casilla { margin-top: auto; padding-top: 6px; }
  .lista-b--3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.te-llevas { margin-top: 36px; max-width: 820px; }
.cta-fila__btns { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.cta-fila--doble { margin-top: 0; }
.cta-fila__btns .btn { width: 100%; }
@media (min-width: 640px) { .cta-fila__btns { flex-direction: row; flex-wrap: wrap; width: auto; } .cta-fila__btns .btn { width: auto; } }
.btn--ghost svg, .btn svg:first-child { width: 20px; height: 20px; }

/* ══════════ ESCRITORIO ══════════ */
@media (min-width: 640px) {
  .resumen { grid-template-columns: repeat(4, 1fr); }
  .resumen div { border-bottom: none; }
  .resumen div:nth-child(2n) { border-right: 1px solid var(--border); }
  .resumen div:last-child { border-right: none; }
  .no-es { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .pie__grid { grid-template-columns: 1fr 1fr; }
  .cifras { grid-template-columns: repeat(4, 1fr); }
  .cifra, .cifra:nth-child(odd), .cifra:nth-child(even) { padding: 20px 16px 20px 0; border-right: 1px solid var(--border); }
  .cifra + .cifra { padding-left: 16px; }
  .cifra:last-child { border-right: none; }
}
@media (min-width: 1024px) {
  .sec { padding: 88px 0; }
  .sec__head { grid-template-columns: 3fr 9fr; gap: 40px; margin-bottom: 48px; }
  .sec__body { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; }
  .sec__body > .sec__main { grid-column: 2; }
  .problema__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .ctable__head { display: grid; grid-template-columns: 56px 1fr 1fr; gap: 16px; padding: 14px 0 12px; border-bottom: 1px solid var(--ink); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
  .ctable__head .h-mal { color: var(--alert-deep); }
  .ctable__head .h-bien { color: var(--accent-deep); }
  .ctable__row { grid-template-columns: 56px 1fr 1fr; gap: 16px; align-items: stretch; }
  .ctable__n { padding-top: 12px; }
  .ctable__tag { display: none; }
  .tl { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .tl::before { left: 0; right: 0; top: 15px; bottom: auto; width: auto; height: 1px; }
  .tl__step { grid-template-columns: 1fr; gap: 14px; padding-bottom: 0; }
  .bloques { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
  .quien { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
  .cierre { grid-template-columns: 7fr 5fr; padding: 52px 48px 44px; gap: 48px; align-items: end; }
  .pie__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
  .pie__base { flex-direction: row; justify-content: space-between; }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hbar__fill { transform: scaleX(1); }
}

/* Ajustes de la sección 04 */
.bloque--que { max-width: 760px; border-top: 0; padding-top: 0; }
.tl-h { margin: 40px 0 20px; }
.compromiso { margin-top: 16px; }

/* ══════════ COMPACTO EN MÓVIL (recorte de altura, 2026-10-21) ══════════ */
@media (max-width: 1023px) {
  .sec { padding: 40px 0; }
  .sec__head { margin-bottom: 22px; gap: 10px; }
  .problema__grid { gap: 24px; }
  .hbars { gap: 12px; }
  .hbar__track { height: 10px; }
  .fig { padding: 16px; }
  .fig__sub { margin-bottom: 14px; }
  .sintomas li { padding: 14px 0; }
  .ctable__head--movil { display: flex; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--ink); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
  .ctable__head--movil .h-mal { color: var(--alert-deep); }
  .ctable__head--movil .h-bien { color: var(--accent-deep); }
  .ctable__tag { display: none; }
  .ctable__row { padding: 12px 0; gap: 8px; grid-template-columns: 1fr; }
  .ctable__n { display: none; }
  .ctable__cell { padding: 10px 12px; }
  .resumen b { font-size: 1.05rem; }
  .resumen div { padding: 10px 12px; }
  .tl__step { padding-bottom: 14px; }
  .tl__title, .tl__desc { display: inline; }
  .tl__desc { margin: 0; }
  .bloques { gap: 22px; margin-top: 28px; }
  .resumen { margin-top: 22px; }
  .tl-h { margin: 28px 0 14px; }
  .lista { gap: 8px; }
  .cta-fila { margin-top: 28px; }
  .cifra { padding: 14px 10px 14px 0; }
  .cifras { margin-top: 20px; }
  .quien { gap: 22px; }
  .no-es li { padding: 10px 0; align-items: center; }
  .faq summary { padding: 11px 0; }
  .cierre { padding: 30px 18px 22px; gap: 18px; }
  .video-sec { padding: 40px 0 44px; }
  .num { padding: 16px 0; }
  .ficha { padding: 18px 16px; }
}
.ctable__head--movil { display: none; }
@media (max-width: 1023px) { .ctable__head--movil { display: flex; } }
@media (max-width: 1023px) {
  .sec__title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .compromiso { margin-top: 18px; }
  .pie__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .pie__grid > div:first-child { grid-column: 1 / -1; }
  .pie { padding: 40px 0 24px; }
  .cifras { grid-template-columns: 1fr 1fr; }
  .cifra__num { font-size: 1.9rem; }
}
@media (max-width: 1023px) {
  .sec { padding: 32px 0; }
  .hero { padding: 20px 0 32px; }
  .hero__in { gap: 16px; }
  .video-sec { padding: 28px 0 36px; }
  .video-sec__head { margin: 0; }
  .fig { border: 0; padding: 0; }
  .hbar__top { font-size: .8rem; }
  .lectura { background: none; padding: 0 0 0 14px; border-left-width: 3px; }
  .sintomas strong { display: inline; }
  .sintomas p { display: inline; margin: 0; }
  .sintomas p::before { content: " "; }
  .fundador { background: none; padding: 0 0 0 14px; border-left-width: 3px; }
  .bloque--que { border-top: 0; padding-top: 0; }
}
@media (max-width: 420px) { html { font-size: 15px; } }
@media (max-width: 1023px) {
  .num { gap: 6px; padding: 14px 0; }
  .num__input { height: 48px; width: 92px; font-size: 1.4rem; }
  .ficha__dos { margin-top: 12px; }
  .ficha__acciones { margin-top: 14px; gap: 10px; }
  .reenvio { margin-top: 24px; padding: 18px 16px; }
  .sitio-h { margin-top: 28px; }
  .lista-b { gap: 10px; }
  .lista-b--num li { padding: 12px 0 12px 40px; }
  .lista-b--num li::before { top: 13px; }
  .te-llevas { margin-top: 24px; padding: 16px 18px; }
  .tres { padding: 14px 16px; }
  .tres__item { padding: 10px 0; }
  .hero--ent { padding-bottom: 28px; }
}
.no-es__t .no-es__d { font-weight: 400; color: var(--ink-2); }

/* ══════════ PORTADA v3 · más claro y con más aire. Solo variables de marca.
   Navy: portada, fachada del vídeo y nada más (la barra superior, la barra móvil y el pie pasan a claro).
   Violeta para lo que mejora, magenta solo para lo que va mal.
   Gradiente, tres usos: subrayado del titular, barra superior del área de la entrevista y arco del medidor. */


/* Barra superior clara */
.top { background: var(--paper); border-bottom: 1px solid var(--border); }
.top .btn:hover { background: var(--ink); border-color: var(--ink); }
.top :focus-visible { outline-color: var(--accent-deep); }

/* Portada: la única superficie navy grande */
.hero { padding: 40px 0 72px; }
.hero__in { gap: 32px; }
.hero__meta { border-top: 0; padding-top: 0; }
.hero__sub { font-size: 1.12rem; }
.cont__nota { margin-top: 4px; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 112px; }
  .hero__in { row-gap: 40px; }
}

/* Sección v3: fondos alternos blanco / gris muy claro */
.v3 { padding: 88px 0; }
.v3--soft { background: var(--paper-soft); }
/* Portada: blanco / banda gris / tinte violeta, con filo arriba y abajo para que se vea dónde empieza cada bloque */
.v3--banda { background: var(--paper-band); border-top: 1px solid var(--border-band); border-bottom: 1px solid var(--border-band); }
.v3--tinte { padding: 64px 0; background: var(--accent-tint); border-top: 1px solid var(--accent-wash); border-bottom: 1px solid var(--accent-wash); }
@media (min-width: 900px) { .v3, .v3--tinte { padding: 128px 0; } }
.v3__eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--accent-deep); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.v3__eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.v3__t { font-size: clamp(1.9rem, 7.6vw, 3.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; max-width: 20ch; }
.v3__lead { font-size: 1.12rem; line-height: 1.65; color: var(--ink-2); max-width: 52ch; margin-top: 20px; }
.v3__cta { margin-top: 48px; }
.v3__cta .btn { width: 100%; }
@media (min-width: 640px) { .v3__cta .btn { width: auto; } }

/* ¿Te suena?: tres escenas contadas, sin rótulos */
.escenas { list-style: none; display: grid; gap: 0; margin-top: 48px; max-width: 760px; }
.escena { padding: 28px 0 28px 22px; border-left: 3px solid var(--alert-wash); }
.escena + .escena { margin-top: 20px; }
.escena__t { font-size: clamp(1.18rem, 4.6vw, 1.6rem); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
@media (min-width: 900px) { .escenas { margin-top: 64px; } .escena { padding-left: 32px; } .escena + .escena { margin-top: 28px; } }

/* El problema */
.giro { display: grid; gap: 48px; }
.giro .fig { padding: 20px; }
.giro .fig__title { margin-bottom: 18px; }
.giro .hbars { gap: 12px; }
.giro .hbar__top { font-size: .82rem; }
.giro .hbar__track { height: 10px; }
.giro__remate { font-size: 1.12rem; line-height: 1.65; color: var(--ink-2); margin-top: 24px; max-width: 44ch; }
@media (min-width: 900px) { .giro { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }

/* Test: el componente se mantiene; marco más ligero */
.v3 .test { margin-top: 48px; border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(8,32,53,.04), 0 12px 32px rgba(8,32,53,.06); }
.test__datos { margin: 28px 0 0; }
.v3--test { background: var(--accent-tint); }
.v3--test .test__chip { background: var(--paper); }
.v3--test .test { margin-top: 20px; background: var(--paper); border-color: var(--accent-light); }
button.resp__item { width: 100%; text-align: left; font: inherit; color: var(--ink); appearance: none; }
button.resp__item:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.wiz__bar { min-height: 36px; }
.v3 .wiz__back { width: auto; height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px 0 6px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; border-radius: var(--r); }
.v3 .wiz__back:hover { background: var(--accent-tint); color: var(--ink); }
.v3 .wiz__back:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.v3 .wiz__back svg { width: 16px; height: 16px; }

/* Prueba */
.v3 .cifras { margin-top: 56px; border-top: 1px solid var(--border); }
.v3 .cifra__num { color: var(--ink); }
.v3 .cifra__txt { font-size: .9rem; }
.v3 .cifra__num { font-size: clamp(1.6rem, 6.4vw, 2rem); }
@media (min-width: 900px) { .v3 .cifra__num { font-size: clamp(1.8rem, 2.3vw, 2.3rem); white-space: nowrap; } }
@media (min-width: 900px) { .v3 .cifras { grid-template-columns: repeat(4, 1fr); } .v3 .cifra { border-right: 1px solid var(--border); padding-left: 20px; } .v3 .cifra:first-child { padding-left: 0; } .v3 .cifra:last-child { border-right: 0; } }

/* Qué hacemos: tres contrastes */
.contrastes { list-style: none; margin-top: 48px; border-top: 1px solid var(--border); }
.contraste { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--border); }
.contraste__no { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.contraste__si { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-weight: 600; font-size: 1.1rem; line-height: 1.5; }
.contraste svg { width: 14px; height: 14px; margin-top: 6px; }
@media (min-width: 900px) {
  .contraste { grid-template-columns: 1fr 1fr; gap: 48px; padding: 30px 0; align-items: baseline; }
}

/* Quién hay detrás */
.quien3 { display: grid; gap: 32px; margin-top: 40px; }
.quien3__texto { font-size: 1.12rem; line-height: 1.7; max-width: 46ch; }
.quien3__texto + .quien3__texto { margin-top: 14px; }
@media (min-width: 900px) { .quien3 { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; } }

/* Para quién no es */
.v3 .no-es { margin-top: 40px; border-top: 1px solid var(--border); }
.v3 .no-es li { padding: 20px 0; align-items: start; }
.v3 .no-es__t { font-weight: 600; font-size: 1.04rem; line-height: 1.5; }
@media (min-width: 900px) { .v3 .no-es { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* Área de la entrevista: destino de la conversión */
.ent { border: 1px solid var(--border); border-radius: var(--r); background: var(--paper); position: relative; overflow: hidden; padding: 48px 20px 32px; box-shadow: 0 1px 2px rgba(8,32,53,.04), 0 16px 40px rgba(8,32,53,.07); }
/* USO AUTORIZADO 2/3 del gradiente: barra superior del cierre */
.ent::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--gradient); }
.ent__grid { display: grid; gap: 40px; margin-top: 40px; }
.ent__h { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); margin-bottom: 16px; }
.ent .tl { grid-template-columns: 1fr; gap: 0; }
.ent .tl::before { left: 15px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; background: var(--border); }
.ent .tl__dot { border-color: var(--border); }
.ent .tl__step { grid-template-columns: 32px 1fr; gap: 16px; padding-bottom: 22px; }
.ent .tl__step:last-child { padding-bottom: 0; }
.ent .tl__title { font-weight: 500; line-height: 1.55; }
.ent__bloque + .ent__bloque { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.ent__bloque p { font-size: 1rem; line-height: 1.65; }
.ent__compromiso { background: var(--accent-tint); border-left: 4px solid var(--accent); padding: 18px 20px; border-radius: var(--r); }
.ent__bloque.ent__compromiso { border-top: 0; }
.ent__compromiso .ent__h { color: var(--accent-deep); margin-bottom: 6px; }
.ent__accion { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border); display: grid; gap: 14px; justify-items: stretch; }
.ent__accion .btn { width: 100%; min-height: 64px; font-size: 1.1rem; }
@media (min-width: 900px) {
  .ent { padding: 72px 64px 56px; }
  .ent__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .ent__accion { justify-items: start; }
  .ent__accion .btn { width: auto; padding: 0 40px; }
}

/* Preguntas frecuentes plegadas */
.v3 .faq { margin-top: 40px; border-top: 1px solid var(--border); }
.faq summary { grid-template-columns: 1fr 24px; font-weight: 600; }
.faq__ico { border-color: var(--border); }
.faq__a { padding-left: 0; font-size: 1rem; line-height: 1.65; }

/* Pie ligero */
.pie3 { background: var(--paper); border-top: 1px solid var(--border); padding: 48px 0 40px; color: var(--ink-2); font-size: .9rem; }
.pie3__fila { display: flex; flex-direction: column; gap: 20px; }
.pie3__logo { width: 130px; }
.pie3__contacto, .pie3__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pie3 a { color: var(--ink-2); text-decoration: none; }
.pie3 a:hover { color: var(--ink); text-decoration: underline; }
.pie3__base { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .76rem; line-height: 1.6; color: var(--ink-3); }
@media (min-width: 900px) { .pie3__fila { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Barra móvil clara */
.dock { background: var(--paper); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(8,32,53,.06); }
.dock__t { font-size: .9rem; color: var(--ink); }
.dock .btn:hover { background: var(--ink); border-color: var(--ink); }
.dock :focus-visible { outline-color: var(--accent-deep); }

/* Cabecera: «Acceso clientes» secundario y discreto */
.btn--sec { background: transparent; color: var(--ink-2); border-color: var(--border); font-weight: 600; }
.top .btn--sec:hover, .btn--sec:hover { background: var(--paper-soft); border-color: var(--ink-3); color: var(--ink); }

/* Vídeo: titular visible */
.video-sec__head { margin-bottom: 28px; }
.video-sec__head .v3__eyebrow { margin-bottom: 14px; }
.video-sec__head .v3__t { max-width: 24ch; }

/* Páginas legales: con la cabecera y el pie nuevos */
#legal { padding-top: 56px; }

/* Pie de la foto del equipo con clientes */
.foto__pie { margin-top: .6rem; font-size: .8125rem; line-height: 1.45; color: var(--ink-2); }

/* ══════════ CONSENTIMIENTO DE COOKIES (solo portada) ══════════ */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; color: var(--ink); border-top: 1px solid var(--ink-3); box-shadow: 0 -4px 16px rgba(8,32,53,.12); padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; font-family: 'Poppins', system-ui, sans-serif; }
.consent[hidden] { display: none; }
.consent__t { font-size: .78rem; line-height: 1.35; color: var(--ink); }
.consent__t a { color: var(--accent-deep); text-decoration: underline; font-weight: 600; }
.consent__b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent__btn { font: inherit; font-size: .85rem; font-weight: 600; line-height: 1; height: 38px; min-width: 120px; padding: 0 20px; border-radius: var(--r); border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.consent__btn[data-consent="si"] { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.consent__btn[data-consent="si"]:hover { background: var(--accent); border-color: var(--accent); }
.consent__btn[data-consent="no"]:hover { background: var(--accent-tint); }
.consent__btn:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
@media (min-width: 768px) {
  .consent { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .consent__t { font-size: .88rem; }
  .consent__b { flex: none; display: flex; gap: 10px; }
  .consent__btn { width: 130px; height: 40px; }
}
.pie3__cfg { font: inherit; background: none; border: 0; padding: 0; color: var(--ink-2); cursor: pointer; }
.pie3__cfg:hover { color: var(--ink); text-decoration: underline; }

/* Reseñas de Google */
.resenas { margin-top: 56px; }
.resenas .v3__eyebrow { margin-bottom: 12px; }
.resenas__t { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px 14px; font-size: 1.15rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.resenas__t .est { flex: none; }
.resenas__r { min-width: 0; font-size: .95rem; line-height: 1.3; }
.resenas__r strong { font-weight: 800; }
.est { display: inline-flex; gap: 2px; color: var(--accent); }
.est__s { width: 20px; height: 20px; display: block; }
.est--sm .est__s { width: 15px; height: 15px; }
.resenas__lista { list-style: none; margin: 24px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 16px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; -ms-overflow-style: none; }
.resenas__lista::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* Cinta en marcha (JS y sin movimiento reducido): sin imán, el desplazamiento lo lleva site.js */
.resenas__lista.is-cinta { scroll-snap-type: none; scroll-behavior: auto; }
.g-logo { width: 22px; height: 22px; flex: none; display: block; }
.g-logo--sm { width: 16px; height: 16px; }
.g-logo__b { fill: var(--google-blue); } .g-logo__r { fill: var(--google-red); } .g-logo__y { fill: var(--google-yellow); } .g-logo__g { fill: var(--google-green); }
.resena { flex: 0 0 82%; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 6px 20px rgba(8,32,53,.07); padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.resena__q { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--ink); flex: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.resena__n { margin: 0; font-weight: 700; font-size: .95rem; color: var(--ink); }
.resena__c { margin: -8px 0 0; font-size: .78rem; color: var(--ink-2); }
.resena--todas { padding: 0; background: var(--accent-tint); border-color: var(--accent); box-shadow: none; }
.resena-todas { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 22px 20px; border-radius: 8px; color: var(--accent-deep); text-decoration: none; }
.resena-todas__t { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.resena-todas__flecha { width: 18px; height: 18px; flex: none; transition: transform .15s; }
.resena-todas__s { font-size: .78rem; color: var(--ink-2); }
.resena--todas:hover { background: var(--accent-wash); border-color: var(--accent-deep); }
.resena-todas:hover .resena-todas__flecha { transform: translateX(4px); }
.resena-todas:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.resenas__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.resenas__flechas { display: flex; gap: 10px; margin-left: auto; }
.resenas__pausa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--border); border-radius: var(--r); background: var(--paper); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.resenas__pausa[hidden] { display: none; }
.resenas__pausa svg { width: 16px; height: 16px; color: var(--accent-deep); }
.resenas__pausa:hover { background: var(--accent-tint); border-color: var(--accent); }
.resenas__pausa:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.resenas__i-play { display: none; }
.resenas__pausa.is-parado .resenas__i-play { display: block; }
.resenas__pausa.is-parado .resenas__i-pausa { display: none; }
.resenas__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--paper); color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.resenas__btn svg { width: 20px; height: 20px; }
.resenas__btn:hover:not(:disabled) { background: var(--accent-tint); border-color: var(--accent); }
.resenas__btn:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.resenas__btn:disabled { opacity: .4; cursor: default; }
@media (min-width: 768px) {
  .resenas { margin-top: 72px; }
  .resenas__t { font-size: 1.35rem; }
  .resenas__r { font-size: inherit; }
  .resenas__lista { margin: 32px 0 0; padding: 4px 0 8px; gap: 20px; scroll-padding: 0; }
  .resena { flex: 0 0 calc((100% - 20px) / 2); padding: 28px 28px; }
  .resena--todas { padding: 0; }
  .resena-todas { padding: 28px; }
  .resena__q { font-size: 1rem; -webkit-line-clamp: unset; line-clamp: unset; display: block; overflow: visible; }
  .resenas__nav { margin-top: 12px; }
  .g-logo { width: 26px; height: 26px; }
  .g-logo--sm { width: 18px; height: 18px; }
}
@media (min-width: 1100px) {
  .resenas__lista { gap: 16px; }
  .resena { flex-basis: calc((100% - 32px) / 3); padding: 24px 20px; }
  .resena--todas { padding: 0; }
  .resena-todas { padding: 24px 20px; }
  .resena__q { font-size: .93rem; }
}

/* ══════════ SECTORES (portada) ══════════ */
.sect__lead { font-size: 1rem; line-height: 1.65; color: var(--ink-2); max-width: 62ch; margin-top: 16px; }
.sect__lead + .sect__lead { margin-top: 10px; }
.sect__lead strong { color: var(--ink); font-weight: 600; }
.sect__cifras { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr); margin-top: 32px; border-top: 1px solid var(--accent-wash); border-bottom: 1px solid var(--accent-wash); }
.sect__cifra { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; min-width: 0; }
.sect__cifra + .sect__cifra { padding-left: 18px; margin-left: 18px; border-left: 1px solid var(--accent-wash); }
.sect__pos { font-size: .86rem; font-weight: 600; color: var(--ink-2); line-height: 1.35; }
.sect__num { font-size: clamp(1.8rem, 8.4vw, 2.4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.sect__num--acento { color: var(--accent-deep); }
.sect__ud { font-size: .5em; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
@media (min-width: 900px) {
  .sect__lead { font-size: 1.08rem; line-height: 1.7; margin-top: 20px; }
  .sect__lead + .sect__lead { margin-top: 12px; }
  .sect__cifras { grid-template-columns: auto auto; justify-content: start; margin-top: 48px; }
  .sect__cifra { padding: 28px 0; justify-content: flex-end; }
  .sect__cifra + .sect__cifra { padding-left: 48px; margin-left: 48px; }
  .sect__num { font-size: clamp(2.8rem, 4.6vw, 4rem); }
  .sect__pos { font-size: .95rem; }
}

/* Gráfico de sectores: barras horizontales de mayor a menor, escala al mayor (12 % = barra llena).
   Una sola serie: violeta; «Y también» va al final, en neutro, como resto. */
.sg { list-style: none; margin-top: 24px; display: grid; }
.sg__fila { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 8px 0 9px; border-bottom: 1px solid var(--accent-wash); }
.sg__fila:first-child { border-top: 1px solid var(--accent-wash); }
.sg__ico { grid-row: 1 / span 3; width: 26px; height: 26px; color: var(--ink); margin-top: 1px; }
.sg__ico svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sg__ico .ac { stroke: var(--accent); }
.sg__t { font-size: .95rem; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.sg__barra { display: flex; align-items: center; gap: 8px; min-height: 18px; }
.sg__fill { display: block; flex: none; width: calc((100% - 46px) * var(--p)); min-width: 6px; height: 10px; background: var(--accent); border-radius: 0 var(--r) var(--r) 0; transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease); }
.is-visible .sg__fill, .no-js .sg__fill { transform: scaleX(1); }
.sg__pct { font-size: .88rem; font-weight: 800; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sg__ej { font-size: .76rem; line-height: 1.45; color: var(--ink-2); }
.sg__fila--mas { border-bottom-style: dashed; }
.sg__fila:nth-last-child(2) { border-bottom: 1px dashed var(--accent-light); }
.sg__fila--mas .sg__fill { background: var(--ink-3); }
.sg__fila--mas .sg__pct { color: var(--ink-2); }
@media (min-width: 900px) {
  .sg { margin-top: 48px; }
  .sg__fila { grid-template-columns: 32px minmax(180px, 15rem) minmax(0, 1fr) minmax(0, 24rem); column-gap: 20px; align-items: center; padding: 9px 8px; border-radius: var(--r); transition: background .15s; }
  .sg__fila:hover { background: var(--paper); }
  .sg__ico { grid-row: auto; width: 30px; height: 30px; margin-top: 0; }
  .sg__t { font-size: 1rem; }
  .sg__fill { height: 14px; }
  .sg__pct { font-size: 1rem; }
  .sg__ej { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) { .sg__fill { transform: scaleX(1); } }
.sect__remate { margin-top: 24px; font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.sect__remate a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sect__remate a:hover { color: var(--ink); }
@media (min-width: 900px) { .sect__remate { margin-top: 36px; font-size: 1.15rem; } }

/* ══════════ CASOS DE ESTUDIO ══════════ */
.casos__lead { font-size: 1.08rem; line-height: 1.7; color: var(--ink-2); max-width: 56ch; margin-top: 20px; }
.casos__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
.no-js .casos__tabs { display: none; }
.caso-tab { font: inherit; color: var(--ink); text-align: left; appearance: none; cursor: pointer; display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 14px 16px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--r); position: relative; transition: border-color .15s, background .15s; }
.caso-tab:hover { border-color: var(--ink-3); }
.caso-tab[aria-selected="true"] { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 -3px 0 var(--accent); }
.caso-tab:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.caso-tab__obj { align-self: flex-start; font-size: .74rem; font-weight: 700; line-height: 1.3; color: var(--alert-deep); background: var(--alert-tint); border-radius: var(--r); padding: 4px 8px; }
.caso-tab__obj s { text-decoration-thickness: 1.5px; }
.caso-tab__n { font-size: 1rem; font-weight: 700; line-height: 1.25; margin-top: 4px; }
.caso-tab__s { font-size: .8rem; color: var(--ink-2); line-height: 1.35; }
@media (min-width: 900px) {
  .casos__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
  .caso-tab { padding: 18px 18px 20px; }
  .caso-tab__obj { font-size: .78rem; }
  .caso-tab__n { font-size: 1.08rem; }
}

.caso { margin-top: 20px; border: 1px solid var(--border); border-radius: var(--r); background: var(--paper); padding: 28px 18px 32px; }
.caso[hidden] { display: none; }
.no-js .caso + .caso { margin-top: 32px; }
.caso:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 3px; }
.caso__cab { display: flex; flex-direction: column; gap: 6px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.caso__obj { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--alert-deep); }
.caso__n { font-size: clamp(1.5rem, 6vw, 2.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.caso__datos { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .9rem; color: var(--ink-2); }
.caso__datos span + span::before { content: "·"; margin-right: 16px; color: var(--ink-3); }

.caso__cuerpo { display: grid; gap: 28px; margin-top: 28px; }
.punto { border-radius: var(--r); padding: 20px 18px; }
.punto--a { background: var(--paper-soft); border-left: 4px solid var(--alert); }
.punto--b { background: var(--accent-tint); border-left: 4px solid var(--accent); }
.punto__h { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.punto--a .punto__h { color: var(--alert-deep); }
.punto--b .punto__h { color: var(--accent-deep); }
.punto__l { list-style: none; display: grid; gap: 8px; }
.punto__l li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 1rem; line-height: 1.5; }
.punto--b .punto__l li { font-weight: 600; }
.punto__l svg { width: 12px; height: 12px; margin-top: 7px; }

.hitos { list-style: none; position: relative; display: grid; gap: 0; padding: 4px 0; }
.hitos::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--border); }
.hito { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 8px 0; position: relative; align-content: start; }
.hito__p { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--accent-light); background: var(--paper); position: relative; z-index: 1; margin-top: 2px; }
.hito:last-child .hito__p { background: var(--accent); border-color: var(--accent); }
.hito__m { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); line-height: 1.3; }
.hito__t { display: block; font-size: .98rem; line-height: 1.45; margin-top: 2px; }

.caso__cita { padding-top: 24px; border-top: 1px solid var(--border); }
.caso__cita blockquote { font-size: clamp(1.2rem, 4.6vw, 1.6rem); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; max-width: 46ch; }
.caso__cita blockquote::before { content: "«"; color: var(--accent); }
.caso__cita blockquote::after { content: "»"; color: var(--accent); }
.caso__cita figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-2); }

@media (min-width: 900px) {
  .caso { padding: 44px 48px 44px; margin-top: 24px; }
  .caso__cab { flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 24px; }
  .caso__obj { flex-basis: 100%; }
  .caso__cuerpo { grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
  .caso__cuerpo .hitos { grid-column: 1 / -1; grid-row: 2; }
  .punto--a { grid-column: 1; grid-row: 1; }
  .punto--b { grid-column: 2; grid-row: 3; }
  .caso__cita { grid-column: 1; grid-row: 3; align-self: center; padding: 0 8px 0 0; border-top: 0; }
  .caso__cita blockquote { font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
  .punto { padding: 24px 26px; }
  .hitos { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; padding: 8px 0; }
  .hitos::before { left: 12px; right: 12px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .hito { grid-template-columns: 1fr; gap: 12px; padding: 0; }
  .hito__t { font-size: .95rem; }
}
