/* ==========================================================
   Ellas En Red — hoja de estilos
   Identidad: Morado Esencia #4B2E83 · Lavanda Suave #C8B4E6
              Lavanda Claro #F6F1FA · Fondo Claro #FAFAFA
   Tipografías: Montserrat Alternates (títulos) · Montserrat (texto)
   Fuentes alojadas en el propio sitio: no se hacen peticiones a Google.
   ========================================================== */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url("../fonts/montserrat-alternates-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url("../fonts/montserrat-alternates-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url("../fonts/montserrat-alternates-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --wash: #F6F1FA;
  --wash-2: #EDE3F7;
  --lav: #C8B4E6;
  --ink: #21153A;
  --ink-2: #4F4468;
  --ink-3: #6B5F84;
  --primary: #4B2E83;
  --primary-hover: #3B2369;
  --on-primary: #FFFFFF;
  --field: #4B2E83;           /* campos de color a escala de página */
  --on-field: #FFFFFF;
  --on-field-2: #DCCDF1;
  --line: #E3D8F0;
  --line-strong: #CBB9E3;
  --signal: #B81F57;          /* sólo para urgencia: salida rápida y emergencias */
  --signal-hover: #9C1849;
  --on-signal: #FFFFFF;
  --focus: #7A4FC9;
  --shadow: 0 1px 2px rgba(43, 22, 82, .06), 0 8px 24px -8px rgba(43, 22, 82, .18);
  --shadow-lg: 0 2px 6px rgba(43, 22, 82, .08), 0 24px 48px -16px rgba(43, 22, 82, .28);

  --font-display: "Montserrat Alternates", "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;

  --wrap: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #130C20;
  --surface: #1C132E;
  --wash: #23183A;
  --wash-2: #2C2048;
  --lav: #C8B4E6;
  --ink: #F3EDFB;
  --ink-2: #C9BDE0;
  --ink-3: #A89BC2;
  --primary: #C8B4E6;
  --primary-hover: #DCCDF1;
  --on-primary: #1B1030;
  --field: #3A2266;
  --on-field: #FFFFFF;
  --on-field-2: #D9CAEE;
  --line: #32264C;
  --line-strong: #46376A;
  --signal: #FF7AA6;
  --signal-hover: #FF9BBC;
  --on-signal: #2A0A17;
  --focus: #D9C6F5;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -10px rgba(0, 0, 0, .55);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 28px 56px -18px rgba(0, 0, 0, .65);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--primary-hover); }
::selection { background: var(--lav); color: #21153A; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-strong) transparent; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.55; max-width: 62ch; }
.measure { max-width: 68ch; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.tabular { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--primary); color: var(--on-primary); padding: .7rem 1rem; border-radius: 0 0 var(--r-sm) 0; }
.skip:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--wash { background: var(--wash); }
.section--field { background: var(--field); color: var(--on-field); }
.section--field h2, .section--field h3 { color: var(--on-field); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--ink-2); font-size: 1.12rem; }

/* sparkle — el destello de la marca como acento tipográfico */
.spark { width: .8em; height: .8em; display: inline-block; vertical-align: -.05em; color: currentColor; }
.spark--lav { color: var(--lav); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px;
  padding: .75rem 1.35rem; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #FFFFFF; color: #3B2369; }
.btn--light:hover { background: var(--wash); color: #3B2369; }
.btn--outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn:active { transform: translateY(1px); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: var(--s-4); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--primary); margin-right: auto; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand__word { font: 500 1.28rem/1 var(--font-display); letter-spacing: -.035em; color: var(--primary); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative; padding: .55rem .7rem; border-radius: var(--r-pill);
  font-weight: 500; font-size: .95rem; color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--wash); }
.nav a[aria-current="page"] { color: var(--primary); background: var(--wash); font-weight: 600; }
.nav a.nav__help { background: var(--primary); color: var(--on-primary); margin-left: .35rem; padding-inline: 1rem; }
.nav a.nav__help:hover, .nav a.nav__help[aria-current="page"] { background: var(--primary-hover); color: var(--on-primary); }
.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-grid; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1rem var(--gutter) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav a { font-size: 1.1rem; padding: .85rem 1rem; }
  .nav a.nav__help { margin: .5rem 0 0; text-align: center; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s var(--ease), transform .3s var(--ease); }
}

/* ---------- Ruta: ¿qué pasa? → ¿cómo lo identifico? → ¿qué hago? → ¿dónde pido ayuda? ---------- */
.route { border-bottom: 1px solid var(--line); background: var(--surface); }
.route ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.route li { position: relative; }
.route a {
  display: flex; align-items: center; gap: .65rem; padding: .8rem .9rem; text-decoration: none;
  color: var(--ink-3); font-size: .9rem; font-weight: 500; line-height: 1.25; height: 100%;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.route a:hover { color: var(--ink); background: var(--wash); }
.route__n {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); font: 600 .8rem/1 var(--font-display); color: var(--ink-3);
}
.route li + li::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.route a[aria-current="step"] { color: var(--primary); font-weight: 600; }
.route a[aria-current="step"] .route__n { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
@media (max-width: 760px) {
  .route ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .route a { flex-direction: column; text-align: center; gap: .35rem; padding: .6rem .3rem; font-size: .74rem; }
}

/* ---------- Encabezado de página interior ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: 1rem; }
.page-hero__arc { position: absolute; right: -6rem; top: -4rem; width: min(46vw, 520px); color: var(--lav); opacity: .55; pointer-events: none; }
:root[data-theme="dark"] .page-hero__arc { opacity: .22; }
.crumb { font-size: .9rem; color: var(--ink-3); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.crumb a { color: var(--ink-3); }

/* ---------- Portada (Inicio) ---------- */
.dateline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem;
  padding-block: 1.1rem; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink-3);
}
.dateline strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.dateline__tag { display: inline-flex; align-items: center; gap: .4rem; }

.front { display: grid; grid-template-columns: 1fr; gap: clamp(1.25rem, 3vw, 2rem); padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); }

.lead {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--field); color: var(--on-field);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 4.5vw, 4rem); min-height: 480px;
  box-shadow: var(--shadow-lg);
}
.lead::after { /* trama sutil de "red" */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(110deg, transparent 35%, #000 85%); -webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 85%);
}
.lead > * { position: relative; z-index: 1; }
.lead__place { display: inline-flex; align-items: center; gap: .45rem; font: 600 .82rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--on-field-2); margin-bottom: 1.1rem; }
.lead__place svg { width: 16px; height: 16px; }
.lead h1 { color: var(--on-field); font-size: clamp(2.1rem, 4.6vw, 4rem); max-width: 15ch; }
.lead p { color: var(--on-field-2); font-size: 1.1rem; max-width: 52ch; }
.lead__viz { max-width: 380px; justify-self: center; width: 100%; }
.lead__source { font-size: .82rem; color: var(--on-field-2); opacity: .9; margin-top: 1.25rem; }
.lead__source a { color: #fff; }
.lead__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
@media (max-width: 720px) {
  .lead { grid-template-columns: 1fr; min-height: 0; }
  .lead__viz { order: -1; max-width: 300px; margin-inline: auto; }
}

/* anillo de datos: el arco abierto del logotipo convertido en gráfica */
.ring { width: 100%; height: auto; overflow: visible; }
.ring__track { stroke: rgba(255,255,255,.14); }
.ring__prev { stroke: rgba(200,180,230,.55); }
.ring__now { stroke: #FFFFFF; }
.ring__nat { stroke: #FF9BBC; }
.ring__big { font: 600 50px/1 var(--font-display); fill: #fff; letter-spacing: -2px; }
.ring__small { font: 500 13px/1 var(--font-body); fill: #DCCDF1; letter-spacing: .02em; }
.ring__arc { transition: stroke-dashoffset 1.6s var(--ease); }
.ring-legend { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; font-size: .88rem; color: var(--on-field-2); }
.ring-legend li { display: flex; align-items: center; gap: .6rem; }
.ring-legend i { flex: none; width: 22px; height: 4px; border-radius: 4px; }
.ring-legend b { white-space: nowrap; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

/* columna de breves */
.briefs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.briefs__head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 1.35rem; border-bottom: 1px solid var(--line); }
.briefs .brief { border-bottom: 0; }
.briefs .brief + .brief { border-left: 1px solid var(--line); }
@media (max-width: 1000px) { .briefs { grid-template-columns: 1fr 1fr; } .briefs .brief:nth-of-type(3) { border-left: 0; } .briefs .brief:nth-of-type(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .briefs { grid-template-columns: 1fr; } .briefs .brief + .brief { border-left: 0; border-top: 1px solid var(--line); } }
.briefs__head h2 { font-size: 1.15rem; margin: 0; }
.brief { padding: 1.15rem 1.35rem; border-bottom: 1px solid var(--line); }
.brief:last-child { border-bottom: 0; }
.brief__meta { display: flex; gap: .6rem; font-size: .78rem; color: var(--ink-3); margin-bottom: .35rem; }
.brief h3 { font-size: 1.04rem; line-height: 1.3; margin: 0 0 .35rem; letter-spacing: -.005em; }
.brief h3 a { color: var(--ink); text-decoration: none; }
.brief h3 a:hover { color: var(--primary); text-decoration: underline; }
.brief p { font-size: .92rem; color: var(--ink-2); margin: 0; }
.num { font-family: var(--font-display); font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; }

/* franja de cifras nacionales */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figure { padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem); }
.figure + .figure { border-left: 1px solid var(--line); }
.figure__v { font: 600 clamp(2rem, 4vw, 2.9rem)/1 var(--font-display); color: var(--primary); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.figure__t { margin: .6rem 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
@media (max-width: 860px) { .figures { grid-template-columns: 1fr 1fr; } .figure:nth-child(3) { border-left: 0; } .figure:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .figures { grid-template-columns: 1fr; } .figure + .figure { border-left: 0; border-top: 1px solid var(--line); } }

/* cita */
.quote { position: relative; text-align: center; padding-block: clamp(4rem, 9vw, 7rem); overflow: hidden; }
.quote blockquote { margin: 0 auto; max-width: 24ch; font: 500 clamp(1.7rem, 3.6vw, 2.85rem)/1.22 var(--font-display); letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.quote cite { display: block; margin-top: 1.5rem; font-style: normal; font-weight: 600; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.quote__arc { position: absolute; left: 50%; top: 50%; width: min(90vw, 620px); transform: translate(-50%, -50%); color: var(--lav); opacity: .5; pointer-events: none; }
:root[data-theme="dark"] .quote__arc { opacity: .18; }
.quote > .wrap { position: relative; }

/* explicadores: composición editorial, no rejilla de tarjetas iguales */
.explainers { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .explainers { grid-template-columns: 1fr; } }
.feature-story { display: block; text-decoration: none; color: inherit; border-radius: var(--r-lg); background: var(--wash); padding: clamp(1.5rem, 3.5vw, 2.5rem); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature-story:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.feature-story h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 1rem; }
.feature-story p { color: var(--ink-2); max-width: 46ch; }
.feature-story__art { width: 120px; color: var(--primary); }
.story-list { list-style: none; margin: 0; padding: 0; }
.story-list li { border-top: 1px solid var(--line); }
.story-list li:last-child { border-bottom: 1px solid var(--line); }
.story-list a { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.15rem .25rem; text-decoration: none; color: var(--ink); transition: padding .3s var(--ease); }
.story-list a:hover { padding-left: .75rem; color: var(--primary); }
.story-list strong { font: 600 1.15rem/1.3 var(--font-display); letter-spacing: -.01em; }
.story-list span { grid-column: 1; color: var(--ink-2); font-size: .95rem; }
.story-list svg { grid-row: 1 / span 2; grid-column: 2; align-self: center; width: 22px; height: 22px; color: var(--primary); transition: transform .3s var(--ease); }
.story-list a:hover svg { transform: translateX(4px); }
.read-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--primary); }
.read-more svg { width: 18px; height: 18px; }

/* bloque de ayuda */
.help-band { border-radius: var(--r-lg); background: var(--field); color: var(--on-field); padding: clamp(1.75rem, 4vw, 3.25rem); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; position: relative; overflow: hidden; }
.help-band h2 { color: var(--on-field); }
.help-band p { color: var(--on-field-2); }
@media (max-width: 860px) { .help-band { grid-template-columns: 1fr; } }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.line {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .25rem 1rem;
  padding: .9rem 1.1rem; border-radius: var(--r); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
a.line:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.line__num { grid-row: 1 / span 2; font: 600 1.6rem/1 var(--font-display); letter-spacing: -.02em; min-width: 4.2ch; font-variant-numeric: tabular-nums; }
.line__name { font-weight: 600; font-size: .98rem; }
.line__desc { font-size: .85rem; color: var(--on-field-2); }
.line--urgent .line__num { color: #FFB3CB; }

/* teaser de investigación */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }

/* ---------- Componentes de contenido ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.two-col--wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
@media (max-width: 860px) { .two-col, .two-col--wide { grid-template-columns: 1fr; } }

.definition {
  font: 500 clamp(1.3rem, 2.4vw, 1.75rem)/1.4 var(--font-display); letter-spacing: -.015em; color: var(--ink);
  margin: 0;
}
.definition small { display: block; margin-top: 1rem; font: 500 .9rem/1.4 var(--font-body); letter-spacing: 0; color: var(--ink-3); }

.traits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.traits li { background: var(--surface); padding: 1.25rem; }
.traits h3 { font-size: 1.1rem; margin: .6rem 0 .3rem; }
.traits p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.traits svg { width: 30px; height: 30px; color: var(--primary); }
@media (max-width: 520px) { .traits { grid-template-columns: 1fr; } }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2rem); margin-block: 2rem; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; } }
.compare { border-top: 2px solid var(--primary); padding-top: 1rem; }
.compare h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-bottom: .9rem; }
.bars { display: grid; gap: .7rem; margin: 0; }
.bar { display: grid; grid-template-columns: 6.2rem 1fr 3.6rem; align-items: center; gap: .6rem; font-size: .9rem; }
.bar dt { color: var(--ink-2); }
.bar dd { margin: 0; display: contents; }
.bar__track { height: 12px; border-radius: 12px; background: var(--wash-2); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--v, 0%); border-radius: 12px; background: var(--primary); transform-origin: left; }
.bar__fill--alt { background: var(--lav); }
.bar__v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.source { font-size: .82rem; color: var(--ink-3); margin-top: .75rem; }
.source a { color: inherit; }

.risk-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .9rem; }
.risk-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.risk-list svg { width: 22px; height: 22px; color: var(--primary); margin-top: .2rem; }
.risk-list strong { display: block; }
.risk-list span { color: var(--ink-2); font-size: .97rem; }

/* tipos de violencia digital */
.types { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.9rem, 2vw, 1.25rem); }
.type { grid-column: span 6; position: relative; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .5rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.type:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.type:nth-child(1) { grid-column: span 7; background: var(--field); border-color: transparent; color: var(--on-field); }
.type:nth-child(1) h3 { color: var(--on-field); }
.type:nth-child(1) p { color: var(--on-field-2); }
.type:nth-child(1) .type__open { color: #fff; border-color: rgba(255,255,255,.45); }
.type:nth-child(2) { grid-column: span 5; background: var(--wash); }
.type__icon { width: 44px; height: 44px; color: var(--primary); }
.type:nth-child(1) .type__icon { color: var(--lav); }
.type h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: .3rem 0 0; }
.type p { color: var(--ink-2); margin: 0; flex: 1; }
.type__open {
  align-self: flex-start; margin-top: .8rem; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  padding: .55rem 1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); background: transparent;
  font: 600 .93rem/1 var(--font-body); color: var(--primary); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.type__open:hover { border-color: currentColor; }
.type__open svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .type, .type:nth-child(1), .type:nth-child(2) { grid-column: 1 / -1; } }

/* pestañas de consecuencias */
.tabs { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.tablist { display: flex; gap: .25rem; padding: .5rem; background: var(--wash); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab {
  flex: 1 0 auto; min-height: 46px; padding: .6rem 1.1rem; border: 0; border-radius: var(--r-pill); background: transparent;
  font: 600 .98rem/1 var(--font-body); color: var(--ink-2); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--primary); box-shadow: var(--shadow); }
.tabpanel { padding: clamp(1.4rem, 3.5vw, 2.5rem); }
.tabpanel[hidden] { display: none; }
.tabpanel p { max-width: 68ch; }

.law {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start;
  border-radius: var(--r-lg); padding: clamp(1.4rem, 3.5vw, 2.5rem); background: var(--wash);
}
.law__seal { width: 72px; height: 72px; color: var(--primary); }
.law dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: 1rem 0 0; }
.law dt { font-weight: 600; color: var(--ink); }
.law dd { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .law { grid-template-columns: 1fr; } .law dl { grid-template-columns: 1fr; } .law dd { margin-bottom: .5rem; } }

/* señales: lista de verificación personal (nada se guarda) */
.check { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); }
.check fieldset { border: 0; margin: 0; padding: 0; }
.check legend { font: 600 1.2rem/1.3 var(--font-display); margin-bottom: .35rem; padding: 0; }
.check__items { display: grid; gap: .45rem; margin-top: 1rem; }
.check label {
  display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; padding: .85rem 1rem;
  border-radius: var(--r); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.check label:hover { border-color: var(--line-strong); }
.check input { appearance: none; width: 22px; height: 22px; margin: .1rem 0 0; border-radius: 7px; border: 2px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--on-primary); border-bottom: 2.5px solid var(--on-primary); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--primary); border-color: var(--primary); }
.check input:checked::after { opacity: 1; }
.check label:has(input:checked) { border-color: var(--primary); background: var(--wash); }
.check__result { margin-top: 1.25rem; padding: 1.1rem 1.25rem; border-radius: var(--r); background: var(--wash); color: var(--ink); }
.check__result[hidden] { display: none; }
.check__result strong { font-family: var(--font-display); }
.note { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-3); margin-top: 1rem; }
.note svg { flex: none; width: 18px; height: 18px; margin-top: .15rem; }

/* pasos */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.1rem; padding-block: 1.25rem; border-top: 1px solid var(--line); position: relative; }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before {
  content: counter(s); display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: var(--wash); color: var(--primary); font: 600 1.2rem/1 var(--font-display);
}
.steps h3 { font-size: 1.15rem; margin: .55rem 0 .3rem; }
.steps p { margin: 0; color: var(--ink-2); max-width: 64ch; }
.steps a { font-weight: 600; }

.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tips li { background: var(--surface); padding: 1.4rem 1.35rem; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.tips svg { width: 28px; height: 28px; color: var(--primary); }
.tips strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: .2rem; line-height: 1.3; }
.tips span { color: var(--ink-2); font-size: .94rem; }

/* investigación */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.team li { background: var(--surface); padding: 1.35rem; display: flex; align-items: center; gap: .9rem; }
.team .avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--primary); font: 600 1rem/1 var(--font-display); }
.team b { font-weight: 600; display: block; line-height: 1.3; }
.team small { color: var(--ink-3); }
.team .pending b { color: var(--ink-3); font-style: italic; font-weight: 500; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .team { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.facts > div { background: var(--surface); padding: 1.35rem; }
.facts h3 { font-size: 1rem; font-family: var(--font-body); letter-spacing: 0; color: var(--ink-3); font-weight: 600; margin-bottom: .4rem; }
.facts p { margin: 0; color: var(--ink); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .45rem .9rem; border-radius: var(--r-pill); background: var(--wash); color: var(--primary); font-weight: 600; font-size: .9rem; }

.chart { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); }
.chart h3 { font-size: 1.15rem; margin-bottom: 1.25rem; }
.chart .bar { grid-template-columns: minmax(7rem, 11rem) 1fr 4.4rem; }
@media (max-width: 520px) { .chart .bar { grid-template-columns: 1fr 4rem; } .chart .bar dt { grid-column: 1 / -1; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.vs__item { border-radius: var(--r); padding: 1.25rem; background: var(--wash); }
.vs__item:first-child { background: var(--field); color: var(--on-field); }
.vs__v { font: 600 clamp(2.2rem, 5vw, 3.2rem)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vs__t { font-size: .92rem; margin-top: .4rem; }
.vs__item:first-child .vs__t { color: var(--on-field-2); }

.callout { border-radius: var(--r-lg); background: var(--wash); padding: clamp(1.25rem, 3vw, 2rem); }
.callout--pending { background: transparent; border: 1.5px dashed var(--line-strong); }

/* ---------- Ayuda ---------- */
.urgent { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.urgent a, .urgent div.u {
  display: grid; gap: .3rem; padding: 1.25rem 1.3rem; border-radius: var(--r); text-decoration: none;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); height: 100%;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.urgent a:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.urgent .u__num { font: 600 2rem/1 var(--font-display); letter-spacing: -.02em; color: var(--primary); font-variant-numeric: tabular-nums; }
.urgent .u__name { font-weight: 600; }
.urgent .u__desc { font-size: .9rem; color: var(--ink-2); }
.urgent li:first-child a { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.urgent li:first-child a:hover { background: var(--signal-hover); border-color: var(--signal-hover); }
.urgent li:first-child .u__num, .urgent li:first-child .u__desc { color: var(--on-signal); }

.dir-tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 1.25rem; }
.field { display: grid; gap: .35rem; flex: 1 1 260px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select {
  min-height: 50px; padding: .7rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: 500 1rem/1.2 var(--font-body);
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--primary); }

.states { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .75rem; }
.state { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 1.15rem 1.25rem; }
.state[hidden] { display: none; }
.state h3 { font-size: 1.1rem; margin: 0 0 .5rem; display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.state h3 span { font: 500 .78rem/1 var(--font-body); color: var(--ink-3); letter-spacing: 0; white-space: nowrap; }
.state p { margin: 0 0 .35rem; font-size: .93rem; color: var(--ink-2); }
.state p b { color: var(--ink); font-weight: 600; }
.state--featured { grid-column: 1 / -1; background: var(--wash); border-color: var(--line-strong); }
.dir-empty { padding: 2rem; text-align: center; color: var(--ink-3); border: 1.5px dashed var(--line-strong); border-radius: var(--r); }
.dir-empty[hidden] { display: none; }

/* ---------- FAQ / acordeón ---------- */
.faq { display: grid; gap: .6rem; max-width: 860px; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s var(--ease); }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.35rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  font: 600 1.08rem/1.35 var(--font-display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 22px; height: 22px; color: var(--primary); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq__a { padding: 0 1.35rem 1.25rem; color: var(--ink-2); }
.faq .faq__a p:last-child { margin-bottom: 0; }

.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; background: var(--wash); color: var(--primary); }

/* ---------- Referencias y textos legales ---------- */
.refs { list-style: none; padding: 0; margin: 0; max-width: 900px; }
.refs li { padding: 1rem 0; border-top: 1px solid var(--line); padding-left: 2.2em; text-indent: -2.2em; color: var(--ink-2); font-size: .97rem; overflow-wrap: anywhere; }
.refs li:last-child { border-bottom: 1px solid var(--line); }
.refs h3 { text-indent: 0; }
.refs-group + .refs-group { margin-top: 3rem; }

.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 2.6rem; }
.legal h3 { font-size: 1.12rem; margin-top: 1.6rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .45rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--wash); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.legal-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-3); font-size: .9rem; margin-top: 1rem; }

/* ---------- Diálogo (texto completo) ---------- */
dialog.sheet {
  width: min(760px, calc(100vw - 2rem)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
}
dialog.sheet::backdrop { background: rgba(19, 10, 34, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
dialog.sheet[open] { animation: sheet-in .45s var(--ease); }
dialog.sheet[open]::backdrop { animation: fade-in .3s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.sheet__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--surface); border-bottom: 1px solid var(--line); z-index: 1; }
.sheet__head h2 { font-size: 1.35rem; margin: 0; }
.sheet__body { padding: 1.4rem 1.4rem 1.8rem; overflow-y: auto; }
.sheet__body p, .sheet__body li { color: var(--ink-2); }
.sheet__body h3 { font-size: 1.08rem; margin-top: 1.4rem; }
.sheet__body ul { padding-left: 1.2rem; }
.sheet__body .source { margin-top: 1.4rem; }
@media (max-width: 600px) {
  dialog.sheet { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  @keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- Salida rápida ---------- */
.quick-exit {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem; min-height: 52px; padding: .8rem 1.2rem .8rem 1rem;
  border: 0; border-radius: var(--r-pill); background: var(--signal); color: var(--on-signal);
  font: 700 .98rem/1 var(--font-body); cursor: pointer; box-shadow: 0 10px 28px -8px rgba(120, 10, 50, .5);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.quick-exit:hover { background: var(--signal-hover); transform: translateY(-1px); }
.quick-exit svg { width: 20px; height: 20px; }
.quick-exit kbd { font: 600 .72rem/1 var(--font-body); padding: .25rem .4rem; border-radius: 6px; background: rgba(255,255,255,.2); }
:root[data-theme="dark"] .quick-exit kbd { background: rgba(0,0,0,.14); }
@media (max-width: 600px) { .quick-exit kbd { display: none; } .quick-exit { padding: .75rem 1.05rem .75rem .9rem; } }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--field); color: var(--on-field-2); padding-block: clamp(3rem, 6vw, 4.5rem) 6.5rem; margin-top: 0; }
:root[data-theme="dark"] .site-footer { background: #0E0818; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand, .site-footer .brand__word { color: #fff; }
.site-footer h2 { font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--on-field-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.tagline { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .95rem; color: #fff; }
.tagline i { width: 4px; height: 4px; border-radius: 50%; background: var(--lav); display: inline-block; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .88rem; }
.ig { display: inline-flex; align-items: center; gap: .5rem; }
.ig svg { width: 20px; height: 20px; }

/* ---------- Revelado (un solo gesto: la gráfica del anillo) ---------- */
.js .ring__arc { stroke-dashoffset: var(--len); }
.js .ring.is-drawn .ring__arc { stroke-dashoffset: var(--off); }

/* marcadores de texto pendiente (para reemplazar antes de publicar) */
mark { background: #FFE58A; color: #3A2A00; padding: 0 .25em; border-radius: 4px; }
code { font-size: .9em; background: var(--wash); padding: .1em .35em; border-radius: 5px; }
kbd { font: 600 .85em/1 var(--font-body); padding: .15em .4em; border: 1px solid var(--line-strong); border-radius: 5px; }
@media (max-width: 600px) { .dateline__tag { display: none; } .dateline { justify-content: flex-start; } }
.crumb svg { width: 14px; height: 14px; flex: none; }
.compare .bar { grid-template-columns: 7.6rem 1fr 3.6rem; }

.urgent { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.urgent .u__num--long { font-size: 1.45rem; padding-block: .25rem; }
.states { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.state--featured .two-col p { margin-bottom: .6rem; }
.dir-all { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin: 0 0 2rem; color: var(--ink-2); }
.dir-all svg { flex: none; width: 22px; height: 22px; color: var(--primary); margin-top: .15rem; }
.dir-all b { color: var(--ink); }
.dir-sub { font-size: 1.15rem; margin: 2rem 0 1rem; }
.state h3 { font-size: 1.05rem; }
/* prevención: 7 consejos sin huecos */
.tips { grid-template-columns: repeat(4, 1fr); }
.tips li:last-child { grid-column: span 2; }
@media (max-width: 1000px) { .tips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tips { grid-template-columns: 1fr; } .tips li:last-child { grid-column: auto; } }

.chart .bar { grid-template-columns: minmax(5.5rem, 10rem) 1fr 6.6rem; }
@media (max-width: 520px) { .chart .bar { grid-template-columns: 1fr 6.2rem; } }
