/* Docs al Día — sistema visual. Ver DESIGN.md */
@font-face { font-family: "Schibsted Grotesk"; src: url("/assets/fonts/schibsted-grotesk-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0a1433; --text: #36405a; --muted: #5b6680;
  --cobalt: #1747e6; --cobalt-h: #0f38c4; --deep: #0b1f6b; --sky: #9db8ff;
  --tint: #eef3ff; --tint-2: #e2eaff; --surface: #f5f7fc; --line: #dfe5f0; --white: #fff;
  --ok: #0b6e4b; --ok-bg: #e3f4ec; --warn: #855000; --warn-bg: #fff0d9; --bad: #b0241c; --bad-bg: #fdebe9; --unk: #4b5670; --unk-bg: #eceff5;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-settle: cubic-bezier(.16, 1, .3, 1);
  --fast: 150ms;
  --disclosure: 220ms;
  --r-s: 8px; --r-m: 12px; --r-l: 16px;
  --sh-1: 0 1px 2px rgb(10 20 51 / .06), 0 6px 20px -6px rgb(10 20 51 / .10);
  --sh-2: 0 2px 4px rgb(10 20 51 / .05), 0 24px 56px -16px rgb(11 31 107 / .22);
  --wrap: 1180px; --gut: clamp(20px, 5vw, 40px);
  --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
::selection { background: var(--cobalt); color: #fff; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 680; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.875rem); line-height: 1.08; letter-spacing: -.034em; font-weight: 660; }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.012em; font-weight: 640; }
p { text-wrap: pretty; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-h); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
code { font-family: var(--mono); font-size: .86em; }
strong { font-weight: 640; color: var(--ink); }
.sprite { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.ico { flex: none; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--text); max-width: 34em; }

/* Logo */
.lm-page { fill: var(--lm-page, var(--cobalt)); } .lm-disc { fill: var(--lm-disc, var(--cobalt)); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 640; font-size: 1.22rem; letter-spacing: -.022em; }
.brand:hover { color: var(--ink); }
.brand--inv, .brand--inv:hover { color: #fff; }
.brand--inv { --lm-disc: #fff; --lm-page: var(--sky); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border: 0; border-radius: var(--r-m); background: var(--cobalt); color: #fff; font: 600 1rem/1.2 var(--sans); letter-spacing: -.01em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--fast) ease, transform var(--fast) var(--ease), box-shadow var(--fast) ease; }
.btn:hover { background: var(--cobalt-h); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; border-radius: 10px; }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--sky); }
.btn--inv { background: #fff; color: var(--deep); }
.btn--inv:hover { background: var(--tint); color: var(--deep); }
.btn--ghost-inv { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); }
.btn--ghost-inv:hover { background: rgb(255 255 255 / .1); color: #fff; }
html:not(.js) [data-copy] { display: none; }
.btn .ico { transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); } }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.lnk .ico { transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .lnk:hover .ico { transform: translateX(4px); } }

/* Estados */
.chip { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 9px; border-radius: 99px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip[data-estado="disponible"] { background: var(--ok-bg); color: var(--ok); }
.chip[data-estado="piloto"] { background: var(--tint-2); color: var(--deep); }
.chip[data-estado="investigacion"] { background: var(--unk-bg); color: var(--unk); }
.chip[data-estado="investigacion"]::before { background: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.state { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; white-space: nowrap; color: var(--unk); }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state[data-state="ok"] { color: var(--ok); } .state[data-state="warn"] { color: var(--warn); } .state[data-state="bad"] { color: var(--bad); }
.state[data-state="unknown"]::before, .state[data-state="error"]::before { background: none; box-shadow: inset 0 0 0 1.5px currentColor; }
.state--lg { height: 30px; padding: 0 13px 0 11px; border-radius: 99px; background: var(--unk-bg); }
.state--lg[data-state="ok"] { background: var(--ok-bg); } .state--lg[data-state="warn"] { background: var(--warn-bg); } .state--lg[data-state="bad"] { background: var(--bad-bg); }

/* Cabecera */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.hdr.is-stuck { box-shadow: 0 1px 0 var(--line), 0 5px 16px rgb(10 20 51 / .04); }
.hdr-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.hdr .brand { min-height: 44px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.hdr-cta) { position: relative; display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-s); color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: color var(--fast) ease, background-color var(--fast) ease; }
.nav a:not(.hdr-cta):hover { color: var(--ink); background: var(--surface); }
.nav a:not(.hdr-cta)[aria-current] { color: var(--cobalt); }
.nav a:not(.hdr-cta)::after { content: ""; position: absolute; inset: auto 12px 6px; height: 2px; border-radius: 2px; background: var(--cobalt); opacity: 0; transform: scaleX(.65); transition: opacity var(--fast) ease, transform var(--fast) var(--ease); }
.nav a:not(.hdr-cta):is([aria-current], :focus-visible)::after { transform: none; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .nav a:not(.hdr-cta):hover::after { transform: none; opacity: 1; } }
.nav .hdr-cta { margin-left: 16px; color: #fff; }
.hdr-cta[aria-current], .hdr-cta:focus-visible { background: var(--cobalt-h); }
.menu-btn { display: none; }

/* Hero */
.hero { padding: clamp(44px, 6vw, 86px) 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(28px, 4.5vw, 68px); align-items: center; }
.hero h1 { font-size: clamp(2.65rem, 5.3vw, 4.75rem); line-height: 1; text-wrap: initial; }
.hero h1 em { display: block; font-style: normal; color: var(--cobalt); }
.hero .lede { margin-top: 24px; max-width: 28em; }
.hero-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-stage {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 0 0, #f7faff, transparent 65%), linear-gradient(145deg, #e7efff, #ccdcfc);
  padding: clamp(16px, 2vw, 28px);
  border-radius: 26px;
  overflow: clip;
}
.hero-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle, rgb(23 71 230 / .21) 1px, transparent 1.5px) 8px 8px / 16px 16px;
  mask-image: linear-gradient(#000, transparent 55%);
  pointer-events: none;
}
.hero-geo { position: absolute; z-index: -1; right: -12%; bottom: -35%; width: 120%; max-width: none; height: auto; pointer-events: none; }
.hg-page { fill: #c1d4ff; }
.hg-disc { fill: #a9c1fa; transform-origin: 26px 39px; }
.hero-signal { width: 100%; height: clamp(20px, 3vw, 36px); margin-top: -4px; margin-bottom: 4px; color: var(--cobalt); pointer-events: none; }
.signal-route { fill: none; stroke: currentColor; stroke-opacity: .32; stroke-width: 1; vector-effect: non-scaling-stroke; }
.signal-origin, .signal-end { fill: currentColor; }
.signal-ring { fill: none; stroke: currentColor; stroke-opacity: .32; stroke-width: 1; vector-effect: non-scaling-stroke; transform-origin: 22px 20px; }
.signal-pulse { fill: currentColor; opacity: 0; }

/* Revisor */
.checker { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-2); padding: clamp(16px, 2vw, 26px); min-width: 0; }
.chk-form label { display: block; font-weight: 640; color: var(--ink); font-size: 1.0625rem; letter-spacing: -.01em; margin-bottom: 10px; }
.chk-field { display: flex; gap: 8px; }
.chk-field input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 500 1rem var(--mono); color: var(--ink); caret-color: var(--cobalt); transition: box-shadow .15s ease, background-color .15s ease; }
.chk-field input::placeholder { color: var(--muted); }
.chk-field input:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--cobalt); }
.chk-field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.chk-msg { margin-top: 10px; font-size: .875rem; color: var(--muted); min-height: 1.4em; }
.chk-msg:is([data-kind="error"], [data-kind="invalid"]) { color: var(--bad); font-weight: 500; }
.chk-msg[data-kind="ready"] { color: var(--ok); }
.chk-msg[data-kind="error"] { animation: status-in var(--fast) var(--ease) backwards; }
@keyframes status-in { from { transform: translateY(3px); } }
.chk-submit { display: grid; grid-template-columns: 14px 9ch 14px; gap: 4px; padding-inline: 10px; }
.chk-submit [data-checker-btn] { grid-column: 2; grid-row: 1; }
.chk-submit:is([aria-disabled="true"], :disabled) { background: var(--deep); cursor: default; transform: none; }
.res { margin-top: 14px; }
.res-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); }
.res-h > div { flex: 1 1 190px; min-width: 0; }
.res-d { font: 600 1.0625rem var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.res-s { font-size: .9375rem; color: var(--text); margin-top: 2px; }
.chk { border-top: 1px solid var(--line); }
.chk summary { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto 16px; align-items: center; gap: 8px; min-height: 44px; padding: 10px 0; cursor: pointer; list-style: none; }
.chk summary::-webkit-details-marker { display: none; }
.chk summary:focus-visible, .chk[open] summary { background: var(--surface); }
@media (hover: hover) and (pointer: fine) { .chk summary:hover { background: var(--surface); } }
.chk-k { font: 600 .8125rem var(--mono); color: var(--ink); }
.chk-t { font-size: .9375rem; color: var(--ink); font-weight: 500; line-height: 1.35; }
.chk-c { color: var(--muted); transition: transform var(--disclosure) var(--ease); }
.chk[open] .chk-c { transform: rotate(180deg); }
.chk-b { padding: 0 0 16px 58px; font-size: .9375rem; overflow-wrap: anywhere; }
.chk-b p + p, .chk-b ul { margin-top: 8px; }
.chk-b ul { padding-left: 18px; list-style: disc; color: var(--muted); }
.chk-n { font: 500 .75rem var(--mono); color: var(--muted); margin-top: 12px !important; }
.rec { display: block; margin-top: 6px; padding: 10px 12px; border-radius: var(--r-s); background: var(--ink); color: #dbe5ff; font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.chk-next { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; padding: 14px 16px; border-radius: var(--r-m); background: var(--tint); }
.chk-next p { font-size: .9375rem; color: var(--ink); font-weight: 500; flex: 1 1 220px; }
.chk-next[hidden] { display: none; }
.chk-foot { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.chk-foot .ico { margin-top: 2px; }
.res .is-new { animation: result-in 220ms var(--ease) backwards; }
.res .chks.is-new { animation-delay: 36ms; }
.res-h.is-new .state::before { animation: state-in 190ms var(--ease) 45ms backwards; }
@keyframes result-in { from { opacity: .76; transform: translateY(6px); } }
@keyframes state-in { from { transform: scale(.75); } 55% { transform: scale(1.25); } }
.spin { display: none; grid-area: 1 / 1; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); border-top-color: #fff; }
.chk-submit[aria-disabled="true"] .spin { display: block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Secciones */
.sec { padding: clamp(54px, 7vw, 104px) 0; }
.sec--tint { background: var(--surface); }
.sec--top0 { padding-top: 0; }
.sec-h { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-h p, .sec-p { margin-top: 16px; font-size: 1.125rem; max-width: 36em; }
.sec--state { padding-block: clamp(40px, 5vw, 66px); background: var(--deep); color: #dbe5ff; }
.mani { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: clamp(18px, 5vw, 72px); }
.mani h2 { color: #fff; max-width: 17em; }
.mani-copy { font-size: 1.0625rem; max-width: 36em; }
.mani .lnk { color: #fff; margin-top: 12px; min-height: 44px; text-decoration: underline; }
.mani :focus-visible { outline-color: #fff; }

/* Catálogo */
.cat { border-top: 1px solid var(--line); }
.cat-i { border-bottom: 1px solid var(--line); }
.cat-i summary { display: grid; grid-template-columns: 48px minmax(0, 1fr) 104px 144px 24px; align-items: center; gap: 18px; padding: 23px 10px; cursor: pointer; list-style: none; border-radius: var(--r-m); transition: background-color .16s ease; }
.cat-i[open] summary, .cat-i summary:focus-visible { background: var(--surface); }
.cat-i summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .cat-i summary:hover { background: var(--surface); } .sec--tint .cat-i summary:hover { background: #fff; } }
.cat-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--cobalt); transition: background-color .16s ease, color .16s ease; }
.cat-ic .ico { transition: transform var(--fast) var(--ease); }
.cat-i summary:active .cat-ic .ico { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .cat-i summary:hover .cat-ic .ico { transform: translateY(-2px); }
  .cat-i summary:active .cat-ic .ico { transform: scale(.94); }
}
.cat-i[open] .cat-ic { background: var(--cobalt); color: #fff; }
.cat-nm { display: block; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 640; letter-spacing: -.025em; color: var(--ink); line-height: 1.2; }
.cat-l { display: block; margin-top: 4px; font-size: .9875rem; color: var(--text); max-width: 38em; }
.cat-i summary .chip { justify-self: start; }
.cat-p { display: flex; flex-direction: column; text-align: right; }
.cat-p strong { font-size: 1.0625rem; }
.cat-p span { font-size: .8125rem; color: var(--muted); }
.cat-x { color: var(--muted); transition: transform .2s var(--ease); }
.cat-i[open] .cat-x { transform: rotate(45deg); color: var(--cobalt); }
.cat-b { padding: 0 10px 0 76px; }
.cat-bi { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; gap: 32px; align-items: start; padding: 20px 0 28px; }
.cat-bi h3 { font-size: .875rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-bottom: 8px; }
.cat-bi p, .cat-bi li { color: var(--ink); font-size: 1rem; }
.cat-bi li { position: relative; padding-left: 20px; }
.cat-bi li + li { margin-top: 6px; }
.cat-bi li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 2px; border-radius: 2px; background: var(--cobalt); }
@supports (interpolate-size: allow-keywords) and selector(details::details-content) {
  :is(.cat-i, .faq-i, .chk)::details-content { interpolate-size: allow-keywords; block-size: 0; overflow: clip; transition: block-size var(--disclosure) var(--ease), content-visibility var(--disclosure) allow-discrete; }
  /* Deja visible el contenido desde el inicio de la apertura también en WebKit. */
  :is(.cat-i, .faq-i, .chk)[open]::details-content { block-size: auto; transition: block-size var(--disclosure) var(--ease); }
  :is(.cat-i, .faq-i, .chk):has(:focus-visible)::details-content { transition: none; overflow: visible; }
}

/* Muestras */
.show-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--tint-2); max-width: 100%; }
html:not(.js) .show-tabs { display: none; }
.show-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: 600 .9375rem var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.show-tabs button:focus-visible { outline-offset: 0; }
.show-tabs button:hover { color: var(--ink); }
.show-tabs button[aria-selected="true"] { background: #fff; color: var(--cobalt); box-shadow: var(--sh-1); }
@media (max-width: 560px) {
  .show-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .show-tabs button { flex-direction: column; justify-content: center; gap: 4px; height: auto; min-height: 58px; padding: 8px 6px; font-size: .8125rem; line-height: 1.2; white-space: normal; text-align: center; }
}
.show-pan { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(24px, 5vw, 72px); align-items: start; margin-top: 40px; }
.show-pan[hidden] { display: none; }
.show-pan[data-enter] .art { animation: sample-in 200ms var(--ease) backwards; }
.show-pan[data-enter="back"] .art { --sample-from: -8px; }
@keyframes sample-in { from { opacity: .82; transform: translateX(var(--sample-from, 8px)); } }
.show-txt { padding-top: 12px; }
.show-txt h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.028em; line-height: 1.15; }
.show-txt p { margin: 14px 0 20px; }
.art { min-width: 0; }
.art-body, .art--mail { background: #fff; border-radius: var(--r-l); box-shadow: var(--sh-1); }
.art-body { padding: clamp(18px, 2.6vw, 30px); }
.art--mail { background: none; box-shadow: none; }
.art--mail .art-body { border-radius: 0 0 var(--r-l) var(--r-l); }
.art-bar { border-radius: var(--r-l) var(--r-l) 0 0; box-shadow: var(--sh-1); display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: var(--tint); }
.art-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sky); }
.art-ttl { margin-left: 10px; font-size: .8125rem; color: var(--muted); }
.art figcaption, figure.art > figcaption { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
.art-from { font-size: .875rem; color: var(--muted); } .art-from strong { color: var(--ink); }
.art-kind { font-size: .8125rem; font-weight: 600; color: var(--cobalt); margin-bottom: 6px; }
.art-subj { font-size: clamp(1.1rem, 1.8vw, 1.35rem); letter-spacing: -.02em; margin-top: 6px; line-height: 1.25; }
.art-meta { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.art-more { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.art .res { margin-top: 8px; } .art .res-h { border-top: 0; padding-top: 6px; }
.art--draft .art-body { box-shadow: none; border: 1px dashed #a5b6da; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .9375rem; }
.tbl th { text-align: left; font-size: .75rem; font-weight: 500; color: var(--muted); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td:last-child, .tbl th:last-child { padding-right: 0; white-space: nowrap; }
.tbl td strong { display: block; font-weight: 600; } .tbl td span:not(.due) { display: block; color: var(--muted); font-size: .875rem; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.due { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--unk-bg); color: var(--unk); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.due--soon { background: var(--warn-bg); color: var(--warn); }
.req { margin-top: 18px; }
.req li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.req li > .ico { margin-top: 2px; width: 26px; height: 26px; padding: 4px; border-radius: 50%; }
.req [data-s="ok"] > .ico { background: var(--ok-bg); color: var(--ok); } .req [data-s="warn"] > .ico { background: var(--warn-bg); color: var(--warn); } .req [data-s="bad"] > .ico { background: var(--bad-bg); color: var(--bad); }
.req strong { display: block; font-weight: 600; font-size: .9688rem; line-height: 1.35; } .req div span { display: block; font-size: .875rem; color: var(--muted); margin-top: 2px; }
.venc { margin-top: 16px; }
.venc li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.venc-d { font: 600 .8125rem var(--mono); color: var(--ink); }
.venc strong { display: block; font-weight: 600; font-size: .9688rem; } .venc div span { font-size: .875rem; color: var(--muted); }
/* Cómo trabajamos */
.como { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.como-h { align-self: start; }
.como-h p { margin-top: 16px; font-size: 1.125rem; max-width: 31ch; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 30px 60px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--cobalt); font-weight: 640; font-variant-numeric: tabular-nums; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18.5px; top: 40px; bottom: 6px; width: 1px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps h3 { font-size: 1.1875rem; } .steps p { margin-top: 6px; }
.sec--tint .steps li::before { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.steps--3 { margin-top: 32px; }
.prin { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-top: clamp(26px, 3vw, 44px); border-top: 1px solid var(--line); }
.prin li { display: flex; flex-direction: column; gap: 14px; }
.prin .ico { color: var(--cobalt); } .prin p { margin-top: 6px; font-size: .9688rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-i { border-bottom: 1px solid var(--line); }
.faq-i summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 1.0938rem; font-weight: 600; color: var(--ink); letter-spacing: -.012em; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-ic { color: var(--muted); transition: transform .2s var(--ease), color .16s ease; }
.faq-i[open] .faq-ic { transform: rotate(45deg); color: var(--cobalt); }
@media (hover: hover) { .faq-i summary:hover { color: var(--cobalt); } }
.faq-a { padding: 0 44px 22px 0; max-width: 40em; }

/* CTA */
.cta { position: relative; overflow: clip; background: var(--cobalt); color: #e7eeff; padding: clamp(54px, 7vw, 96px) 0; }
.cta-geo { position: absolute; right: -6%; top: 50%; width: min(620px, 80vw); translate: 0 -50%; pointer-events: none; }
.cta-geo { --lm-page: rgb(255 255 255 / .07); --lm-disc: rgb(255 255 255 / .1); }
.cta-in { position: relative; }
.cta h2 { color: #fff; max-width: 15em; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.cta p { margin-top: 18px; font-size: 1.1875rem; max-width: 30em; }
.cta-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta :focus-visible { outline-color: #fff; }

/* Pie */
.ftr { background: var(--ink); color: #aab6d6; padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .9375rem; }
.ftr-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ftr-brand p { margin-top: 14px; max-width: 26em; }
.ftr h2 { font-size: .875rem; font-weight: 500; letter-spacing: 0; color: #a4b4d8; margin-bottom: 14px; }
.ftr li + li { margin-top: 10px; }
.ftr a { color: #e4eaff; text-decoration: none; } .ftr a:hover { color: #fff; text-decoration: underline; }
.ftr :focus-visible { outline-color: #fff; }
.ftr-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .8438rem; color: #8f9cc0; }

/* Cabeceras de página */
.phead { padding: clamp(40px, 6vw, 88px) 0 clamp(36px, 5vw, 64px); }
.phead h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); max-width: 14em; }
.phead .lede { margin-top: 22px; }
.phead--sol { background: var(--tint); }
.phead--sol h1 { font-size: clamp(2.25rem, 4.3vw, 3.9rem); line-height: 1.03; text-wrap: initial; }
.phead--sol .lnk { margin-top: 20px; min-height: 44px; }
.phead--legal, .phead--contact, .phead--catalog { padding-bottom: clamp(24px, 4vw, 48px); }
.phead-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.phead--404 { padding-block: clamp(60px, 10vw, 140px); }
.crumb { display: flex; flex-wrap: wrap; gap: 0 8px; margin-bottom: 22px; font-size: .9063rem; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; } .crumb a:hover { color: var(--cobalt); }
.offer { background: #fff; border-radius: 20px; box-shadow: var(--sh-2); padding: 26px; }
.offer-h { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.offer-h p { font-size: .875rem; color: var(--muted); }
.offer-p { margin: 20px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.offer-p strong { display: block; font-size: 2.25rem; line-height: 1; letter-spacing: -.035em; }
.offer-p span { display: block; margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.offer ul { margin-bottom: 22px; }
.offer li { display: flex; gap: 10px; font-size: .9688rem; color: var(--ink); } .offer li + li { margin-top: 10px; }
.offer li .ico { color: var(--cobalt); margin-top: 3px; }
.offer-n { margin-top: 12px; font-size: .8125rem; color: var(--muted); text-align: center; }

/* Páginas de solución */
.tool { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.tool-txt > p { margin-top: 16px; font-size: 1.125rem; }
.gloss { margin-top: 32px; border-top: 1px solid var(--line); }
.gloss div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.gloss dt { font: 600 .8438rem var(--mono); color: var(--ink); padding-top: 3px; } .gloss dd { font-size: .9688rem; }
.dato { text-align: left; max-width: calc(820px + var(--gut) * 2); }
.dato h2 { font-size: 1.125rem; letter-spacing: -.01em; color: var(--muted); font-weight: 500; }
.dato-n { margin-top: 14px; } .dato-n strong { font-size: clamp(3rem, 9vw, 6.5rem); line-height: 1; letter-spacing: -.045em; color: var(--cobalt); font-weight: 660; }
.dato-d { margin-top: 14px; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.35; color: var(--ink); letter-spacing: -.015em; max-width: 26em; }
.dato-f { margin-top: 18px; font-size: .875rem; color: var(--muted); max-width: 44em; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.two--wide { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.noes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); }
.noes li { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.noes .ico { color: var(--muted); margin-top: 2px; } .noes p { margin-top: 4px; font-size: .9688rem; }
.q-t { margin-top: 32px; } .q { margin: 14px 0 28px; counter-reset: q; }
.q li { counter-increment: q; position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); color: var(--ink); }
.q li::before { content: counter(q); position: absolute; left: 0; color: var(--cobalt); font-weight: 640; }
.crit h2 { max-width: 18em; }
.crit-l { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); margin-top: 40px; border-top: 1px solid var(--line); }
.crit-l li { padding: 24px 0; border-bottom: 1px solid var(--line); } .crit-l p { margin-top: 6px; }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form:not([hidden]) { display: grid; gap: 20px; }
.fld label { display: block; font-weight: 600; color: var(--ink); font-size: .9688rem; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 0; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 400 1rem/1.5 var(--sans); color: var(--ink); caret-color: var(--cobalt); transition: box-shadow .15s ease, background-color .15s ease; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--cobalt); }
.fld [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.fld-err { margin-top: 8px; font-size: .875rem; color: var(--bad); font-weight: 500; }
.form .btn { justify-self: start; }
.form-n { font-size: .875rem; color: var(--muted); max-width: 36em; }
.contact-side { padding: 28px; border-radius: 20px; background: var(--surface); }
.contact-side h2 { font-size: 1.125rem; letter-spacing: -.01em; }
.mail-big { display: inline-block; margin: 12px 0 16px; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 640; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-l { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-l li { display: flex; gap: 12px; font-size: .9375rem; } .contact-l li + li { margin-top: 14px; } .contact-l .ico { color: var(--cobalt); }

/* Texto legal */
.prose { max-width: calc(46rem + var(--gut) * 2); }
.prose h2 { font-size: 1.5rem; letter-spacing: -.022em; margin: 44px 0 12px; } .prose h2:first-child { margin-top: 0; }
.prose p + p, .prose ul { margin-top: 12px; } .prose ul { padding-left: 22px; list-style: disc; } .prose li + li { margin-top: 6px; }

/* Un solo recorrido del pulso de marca. El texto y el revisor son legibles desde el inicio. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy h1 { animation: hero-settle 520ms var(--ease-settle) backwards; }
  .hero-copy .lede { animation: hero-settle 500ms var(--ease-settle) 45ms backwards; }
  .hero-copy:not(.is-interacting) .hero-act { animation: hero-settle 480ms var(--ease-settle) 90ms backwards; }
  .hero-stage.is-seen:not(.is-interacting) .checker { animation: checker-settle 580ms var(--ease-settle) backwards; }
  .hero-stage.is-seen .hg-disc { animation: disc-rise 780ms var(--ease-settle) backwards; }
  .hero-stage.is-seen .signal-ring { animation: signal-ring 520ms var(--ease) 145ms; }
  .hero-stage.is-seen .signal-pulse { animation: signal-travel 620ms linear 170ms; }
  .hero-stage.is-seen .signal-end { transform-origin: 498px 29px; animation: state-in 220ms var(--ease) 710ms; }
  .sec-h.is-seen[data-reveal="line"]::before { animation: line-reveal 520ms var(--ease-settle) backwards; }
  .steps.is-seen[data-reveal] li:not(:last-child)::after { animation: step-reveal 470ms var(--ease-settle) backwards; }
  .steps.is-seen[data-reveal] li:nth-child(2)::after { animation-delay: 65ms; }
  .steps.is-seen[data-reveal] li:nth-child(3)::after { animation-delay: 130ms; }
}
.sec-h[data-reveal="line"]::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--cobalt);
  transform-origin: left;
}
.steps[data-reveal] li:not(:last-child)::after { background: #b8caff; transform-origin: top; }
@keyframes hero-settle { from { transform: translateY(13px); } }
@keyframes checker-settle { from { transform: translateY(14px) scale(.985); } }
@keyframes disc-rise { from { transform: translate(-2px, 6px) scale(.93); opacity: .55; } }
@keyframes signal-ring { 45% { transform: scale(1.65); opacity: .45; } }
@keyframes signal-travel {
  0% { transform: translate(22px, 20px); opacity: .85; animation-timing-function: cubic-bezier(.46, .08, .5, .99); }
  85% { transform: translate(466px, 20px); opacity: 1; }
  94% { transform: translate(483px, 29px); opacity: 1; }
  100% { transform: translate(498px, 29px); opacity: 0; }
}
@keyframes line-reveal { from { transform: scaleX(.3); opacity: .35; } }
@keyframes step-reveal { from { transform: scaleY(.3); opacity: .35; } }

/* Adaptación */
@media (max-width: 1000px) {
  .tool, .two, .two--wide, .contact { grid-template-columns: minmax(0, 1fr); }
  .show-pan { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 28px; } .show-txt { padding-top: 0; }
  .cat-bi { grid-template-columns: 1fr 1fr; } .cat-bi .btn { grid-column: 1 / -1; justify-self: start; }
  .ftr-in { grid-template-columns: 1fr 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .hero-in, .phead-in, .como, .faq-wrap, .mani { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 34rem; }
  .offer { max-width: 32rem; }
  .hdr-in { gap: 12px; justify-content: space-between; }
  .nav .hdr-cta { margin-left: 0; }
  .js .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; border-radius: var(--r-s); cursor: pointer; color: var(--ink); }
  .menu-btn[aria-expanded="true"] { background: var(--tint); color: var(--cobalt); }
  .menu-btn i, .menu-btn i::before { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s var(--ease); }
  .menu-btn i { transform: translateY(-3.5px); } .menu-btn i::before { content: ""; transform: translateY(7px); }
  .menu-btn[aria-expanded="true"] i { transform: rotate(45deg); } .menu-btn[aria-expanded="true"] i::before { transform: rotate(-90deg); }
  .js .nav {
    position: absolute;
    inset: calc(100% + 8px) var(--gut) auto auto;
    width: min(340px, calc(100% - var(--gut) * 2));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 12px 12px;
    max-height: calc(100vh - var(--header-h) - 16px);
    max-height: calc(100dvh - var(--header-h) - 16px);
    overflow: auto;
    background: #fff;
    box-shadow: 0 0 0 1px var(--line), var(--sh-2);
    border-radius: var(--r-l);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px) scale(.98);
    transform-origin: top right;
    transition: opacity 120ms ease, transform 140ms var(--ease), visibility 0s 140ms;
  }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 150ms ease, transform 200ms var(--ease); }
  .js .nav a:not(.hdr-cta) { padding: 12px 10px; font-size: 1rem; }
  .js .nav a:not(.hdr-cta)::after { inset-inline: 10px auto; width: 20px; }
  .js .nav .hdr-cta { margin-top: 6px; }
  html:not(.js) .hdr { position: static; }
  html:not(.js) .hdr-in { flex-wrap: wrap; }
  html:not(.js) .nav { margin: 0; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .noes, .crit-l { grid-template-columns: 1fr; }
  .cat-i summary { grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 14px; padding: 20px 0; align-items: start; }
  .cat-ic { width: 44px; height: 44px; border-radius: 12px; }
  .cat-i summary .chip { grid-column: 2; grid-row: 2; justify-self: start; }
  .cat-p { grid-column: 2; grid-row: 3; text-align: start; }
  .cat-x { grid-row: 1; grid-column: 3; }
  .cat-b { padding-left: 0; } .cat-bi { grid-template-columns: 1fr; gap: 20px; }
  .prin { grid-template-columns: 1fr; gap: 24px; } .prin li { flex-direction: row; }
  .chk summary { grid-template-columns: 50px minmax(0, 1fr) 16px; row-gap: 4px; }
  .chk summary .state { grid-column: 2; grid-row: 2; } .chk-c { grid-row: 1; grid-column: 3; }
  .chk-b { padding-left: 0; }
  .chk-field { flex-direction: column; } .chk-field input { flex: none; } .chk-field .btn { width: 100%; }
  .res-h { flex-direction: column; align-items: flex-start; gap: 10px; }
  .res-h > div { flex: none; max-width: 100%; }
  .tbl { font-size: .8125rem; }
  .tbl td { padding-right: 6px; }
  .tbl .num { white-space: normal; }
  .tbl td span:not(.due) { font-size: .8125rem; }
  .venc li { grid-template-columns: 52px minmax(0, 1fr); gap: 6px 10px; }
  .venc .due { grid-column: 2; justify-self: start; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
  .steps li { padding-left: 54px; }
  .faq-a { padding-right: 0; }
  .hero-act .btn, .cta-act .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .hero-stage { margin-inline: calc(var(--gut) * -.4); padding: 12px; border-radius: 20px; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 2.65rem); }
  .tbl th:last-child, .tbl td:last-child { white-space: normal; }
  .tbl .due { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  *::details-content { transition: none !important; }
  .btn:active, .cat-i summary:is(:hover, :active) .cat-ic .ico, .btn:hover svg:last-child:not(:first-child), .lnk:hover .ico { transform: none; }
}
@media print { .hdr, .ftr, .cta, .hero-geo { display: none; } }
