/* ==========================================================================
   Innovation Technologies · Sistema visual
   Layout: retícula editorial alineada a la izquierda (máx. 1240 px). El mapa
   de flujo del inicio es el único gesto expresivo; todo lo demás es calma,
   líneas finas y datos con unidades reales.
   ========================================================================== */

:root {
  /* Paleta de marca: piedra de río, basalto, jade y oro (los dos museos
     precolombinos del centro de San José). */
  --piedra: #EDEFEA;
  --piedra-honda: #E2E6DF;
  --papel: #F8F9F6;
  --basalto: #14211D;
  --musgo: #55625D;
  --jade: #0D6B57;
  --jade-hondo: #0A5848;
  --jade-vivo: #3ED6A5;
  --oro: #C8962B;
  --oro-vivo: #E3B341;

  /* Tokens semánticos (tema claro) */
  --bg: var(--piedra);
  --bg-alt: var(--piedra-honda);
  --surface: var(--papel);
  --fg: var(--basalto);
  --fg-muted: var(--musgo);
  --accent: var(--jade);
  --accent-hover: var(--jade-hondo);
  --accent-fg: #FFFFFF;
  --accent-text: var(--jade);
  --accent-soft: rgb(13 107 87 / 0.08);
  --signal: var(--oro);
  --danger: #B3261E;
  --line: rgb(20 33 29 / 0.13);
  --line-strong: rgb(20 33 29 / 0.3);
  --focus: var(--jade);
  --shadow: 0 1px 2px rgb(20 33 29 / 0.06), 0 12px 32px -16px rgb(20 33 29 / 0.28);

  /* Secciones "tinta": oscuras dentro del tema claro */
  --ink-bg: #0E1916;
  --ink-bg-alt: #13211D;
  --ink-surface: #172823;
  --ink-fg: #E6ECE8;
  --ink-fg-muted: #A3B1AB;
  --ink-accent: #3ED6A5;
  --ink-accent-hover: #6BE4BC;
  --ink-accent-fg: #06120E;
  --ink-accent-soft: rgb(62 214 165 / 0.1);
  --ink-signal: #E3B341;
  --ink-line: rgb(230 236 232 / 0.13);
  --ink-line-strong: rgb(230 236 232 / 0.3);
  --ink-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -16px rgb(0 0 0 / 0.6);

  /* Tipografía: una familia, dos anchos (expandida para la voz, normal para leer) */
  --font-body: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --wdth-display: 112%;
  --wdth-mono: 87%;

  --t-hero: clamp(2.25rem, 1rem + 5.4vw, 5.75rem);
  --t-h2: clamp(2rem, 1.25rem + 2.9vw, 3.5rem);
  --t-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --t-lede: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-mono: 0.6875rem;

  /* Espacio y forma */
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --space-section: clamp(4.5rem, 2.75rem + 6vw, 8.5rem);
  --r-sm: 6px;
  --r-md: 10px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.6, 0, 0.2, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1411;
    --bg-alt: #101B17;
    --surface: #121F1B;
    --fg: #E4EAE6;
    --fg-muted: #9DACA5;
    --accent: #3ED6A5;
    --accent-hover: #6BE4BC;
    --accent-fg: #06120E;
    --accent-text: #3ED6A5;
    --accent-soft: rgb(62 214 165 / 0.1);
    --signal: #E3B341;
    --danger: #FF8A80;
    --line: rgb(228 234 230 / 0.12);
    --line-strong: rgb(228 234 230 / 0.28);
    --focus: #3ED6A5;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.35), 0 16px 40px -16px rgb(0 0 0 / 0.7);

    --ink-bg: #05221A;
    --ink-bg-alt: #072A21;
    --ink-surface: #0B3128;
    --ink-fg: #E6EEEA;
    --ink-fg-muted: #9FB8AE;
    --ink-accent: #3ED6A5;
    --ink-accent-hover: #6BE4BC;
    --ink-accent-fg: #04140F;
    --ink-accent-soft: rgb(62 214 165 / 0.12);
    --ink-signal: #E3B341;
    --ink-line: rgb(230 238 234 / 0.14);
    --ink-line-strong: rgb(230 238 234 / 0.32);
    --ink-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -16px rgb(0 0 0 / 0.8);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0B1411;
  --bg-alt: #101B17;
  --surface: #121F1B;
  --fg: #E4EAE6;
  --fg-muted: #9DACA5;
  --accent: #3ED6A5;
  --accent-hover: #6BE4BC;
  --accent-fg: #06120E;
  --accent-text: #3ED6A5;
  --accent-soft: rgb(62 214 165 / 0.1);
  --signal: #E3B341;
  --danger: #FF8A80;
  --line: rgb(228 234 230 / 0.12);
  --line-strong: rgb(228 234 230 / 0.28);
  --focus: #3ED6A5;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.35), 0 16px 40px -16px rgb(0 0 0 / 0.7);

  --ink-bg: #05221A;
  --ink-bg-alt: #072A21;
  --ink-surface: #0B3128;
  --ink-fg: #E6EEEA;
  --ink-fg-muted: #9FB8AE;
  --ink-accent: #3ED6A5;
  --ink-accent-hover: #6BE4BC;
  --ink-accent-fg: #04140F;
  --ink-accent-soft: rgb(62 214 165 / 0.12);
  --ink-signal: #E3B341;
  --ink-line: rgb(230 238 234 / 0.14);
  --ink-line-strong: rgb(230 238 234 / 0.32);
  --ink-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 16px 40px -16px rgb(0 0 0 / 0.8);
  color-scheme: dark;
}

/* Las secciones tinta reasignan los tokens semánticos */
.tone-ink {
  --bg: var(--ink-bg);
  --bg-alt: var(--ink-bg-alt);
  --surface: var(--ink-surface);
  --fg: var(--ink-fg);
  --fg-muted: var(--ink-fg-muted);
  --accent: var(--ink-accent);
  --accent-hover: var(--ink-accent-hover);
  --accent-fg: var(--ink-accent-fg);
  --accent-text: var(--ink-accent);
  --accent-soft: var(--ink-accent-soft);
  --signal: var(--ink-signal);
  --line: var(--ink-line);
  --line-strong: var(--ink-line-strong);
  --focus: var(--ink-accent);
  --shadow: var(--ink-shadow);
  background-color: var(--bg);
  color: var(--fg);
  color-scheme: dark;
}

/* ---------- Transiciones entre páginas (View Transitions API) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: 160ms var(--ease-io) both vt-out; }
::view-transition-new(root) { animation: 380ms var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, canvas, video { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 620;
  font-stretch: var(--wdth-display);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-fg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important;
  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: var(--gutter); top: -100px; z-index: 100;
  padding: 0.75rem 1rem; border-radius: var(--r-sm);
  background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.i-lg { width: 28px; height: 28px; stroke-width: 1.4; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); }
/* Dos secciones seguidas del mismo fondo comparten un solo espacio. */
.section:not(.tone-ink):not(.tone-alt) + .section:not(.tone-ink):not(.tone-alt) { padding-top: 0; }
.tone-alt { background-color: var(--bg-alt); }
.section.flush-top { padding-top: 0; }

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem);
}
.section-head h2 { font-size: var(--t-h2); max-width: 22ch; }
.section-head p { font-size: var(--t-lede); color: var(--fg-muted); max-width: 58ch; }
@media (min-width: 1000px) {
  .section-head.is-split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    column-gap: 4rem;
  }
  .section-head.is-split .eyebrow { grid-column: 1 / -1; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-stretch: var(--wdth-mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 6px;
  background:
    linear-gradient(var(--accent) 0 0) top / 100% 1.5px no-repeat,
    linear-gradient(var(--accent) 0 0) bottom / 100% 1.5px no-repeat;
}
.nowrap { white-space: nowrap; }
/* Glifos fuera del subconjunto latino: se dibujan con la fuente del sistema
   para no descargar ~100 KB de fuentes extendidas por un solo carácter. */
.sym { font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-stretch: 100%; font-weight: inherit; }
.goal-arrow { width: 0.62em; height: 0.62em; stroke-width: 2.6; vertical-align: 0.04em; margin-inline: 0.04em; }
.mono { font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.8125rem; letter-spacing: 0.02em; }
.muted { color: var(--fg-muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-line: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 50px;
  padding: 0.8em 1.3em;
  border: 1px solid var(--btn-line);
  border-radius: var(--r-sm);
  background-color: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  font-stretch: 104%;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { --btn-line: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn-primary { --btn-bg: var(--accent); --btn-fg: var(--accent-fg); --btn-line: var(--accent); }
.btn-primary:hover { --btn-bg: var(--accent-hover); --btn-line: var(--accent-hover); }
.btn-sm { min-height: 42px; padding: 0.55em 1em; font-size: 0.9375rem; }
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i-move { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  color: var(--accent-text); font-weight: 600; text-decoration: none;
}
.link-arrow .i { transition: transform 0.25s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.prose a, .text-link { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 70;
  background-color: var(--bg);
  background-color: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
body.menu-open .site-header { background-color: var(--bg); }
.header-bar { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--fg); text-decoration: none; border-radius: 4px; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark .trib { stroke: currentColor; }
.brand-mark .chan { stroke: var(--accent); }
/* Firma en dos pisos: «Innovation» en Archivo y «Technologies» en mono espaciada.
   Los tamaños van en em para que todo el bloque escale con un solo font-size. */
.brand-word { display: grid; gap: 0.3em; font-size: 1.25rem; line-height: 1; white-space: nowrap; }
.brand-word-a {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  transition: font-stretch 0.6s var(--ease), letter-spacing 0.6s var(--ease);
}
.brand-word-b {
  font-family: var(--font-mono);
  font-stretch: var(--wdth-mono);
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.72; /* hereda el color de la firma: funciona sobre claro, oscuro y jade */
}
.brand:hover .brand-word-a { font-stretch: 122%; letter-spacing: -0.025em; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 0.125rem; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0.4rem 0.8rem;
  border-radius: var(--r-sm);
  color: var(--fg); text-decoration: none;
  font-size: 0.9375rem; font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}
.nav a:hover { background-color: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--accent-text); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Franja de aviso para versiones de demostración */
.concept-bar {
  padding-block: 0.55rem;
  background-color: var(--ink-bg);
  color: var(--ink-fg-muted);
  font-family: var(--font-mono);
  font-stretch: var(--wdth-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.concept-bar b { color: var(--ink-accent); font-weight: 500; }
.concept-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 1.5rem; }
.concept-links { display: inline-flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.concept-links a { color: var(--ink-fg); text-decoration: underline; text-decoration-color: var(--ink-line-strong); text-underline-offset: 0.25em; }
.concept-links a:hover { color: var(--ink-accent); text-decoration-color: currentColor; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent; color: var(--fg);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover { border-color: var(--line-strong); background-color: var(--accent-soft); }
.cart-btn { position: relative; color: var(--fg); text-decoration: none; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  display: grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background-color: var(--accent); color: var(--accent-fg);
  font-family: var(--font-mono); font-stretch: var(--wdth-mono);
  font-size: 0.625rem; font-weight: 600; line-height: 1;
}
.cart-count.is-bump { animation: rebote 0.45s var(--ease); }
@keyframes rebote { 40% { transform: scale(1.35); } }
@media (min-width: 921px) and (max-width: 1120px) { .nav-extra { display: none; } }
.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; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

.menu-toggle {
  display: none;
  align-items: center; gap: 0.5rem;
  min-height: 42px; padding: 0 0.85rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: transparent; color: var(--fg);
  font-weight: 600; font-size: 0.9375rem; cursor: pointer;
}
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }

@media (max-width: 920px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
/* Teléfonos: el botón de menú queda solo con el ícono (el texto sigue para lectores de pantalla) */
@media (max-width: 400px) {
  .menu-toggle { position: relative; justify-content: center; width: 42px; padding: 0; }
  .menu-toggle [data-menu-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* Pantallas muy angostas: los botones pueden partir su texto y el precio del cotizador se acomoda */
@media (max-width: 360px) {
  .btn { white-space: normal; text-align: center; }
  .q-price { display: flex; flex-wrap: wrap; align-items: baseline; font-size: 1.8rem; }
  .q-price .cur { align-self: flex-start; margin-top: 0.3em; }
}
@media (max-width: 340px) {
  .header-bar { gap: 0.75rem; }
  .header-actions { gap: 0.375rem; }
  .brand { gap: 0.45rem; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-word { font-size: 1.0625rem; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  padding: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 28px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 28px);
  background-color: var(--bg);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { display: grid; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.mobile-menu li { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: 40ms; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: 80ms; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: 120ms; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: 160ms; }
.mobile-menu.is-open li:nth-child(6) { transition-delay: 200ms; }
.mobile-menu ul a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
  font-weight: 600; font-stretch: 112%;
  letter-spacing: -0.03em;
  text-decoration: none; color: var(--fg);
}
.mobile-menu ul a .i { color: var(--accent-text); width: 22px; height: 22px; }
.mobile-menu-foot { display: grid; gap: 1rem; margin-top: auto; }
.mobile-menu-foot .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.25rem + 4.5vw, 5.5rem) 0; }
.hero h1 { display: grid; gap: 1.4rem; font-weight: inherit; }
.hero h1 .display {
  display: block;
  font-size: var(--t-hero);
  font-weight: 640;
  font-stretch: 114%;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero h1 .display em { font-style: normal; color: var(--accent-text); }
.channel-word { position: relative; display: inline-block; }
.channel-word::after {
  content: "";
  position: absolute;
  left: 0.04em; right: 0.02em; bottom: -0.04em;
  height: 0.11em;
  border-block: 0.022em solid currentColor;
  opacity: 0.5;
}
.channel-word .drop {
  position: absolute;
  bottom: -0.005em;
  left: 0.04em;
  width: 0.2em; height: 0.066em;
  border-radius: 1em;
  background: var(--signal);
  opacity: 0;
  animation: drop-flow 3.6s var(--ease-io) 1.2s infinite;
}
@keyframes drop-flow {
  0% { left: 0.04em; opacity: 0; }
  8% { opacity: 1; }
  62% { left: calc(100% - 0.24em); opacity: 1; }
  72%, 100% { left: calc(100% - 0.24em); opacity: 0; }
}
.hero-body {
  display: grid;
  gap: 2rem;
  margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}
.hero-lede { font-size: var(--t-lede); color: var(--fg-muted); max-width: 50ch; }
.hero-lede strong { color: var(--fg); font-weight: 600; }
.hero-actions { display: grid; gap: 1rem; align-content: end; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: 0.875rem; color: var(--fg-muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-note .i { color: var(--accent-text); }
@media (min-width: 1000px) {
  .hero-body { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 4rem; align-items: end; }
  .hero-actions { justify-items: start; }
}
@media (max-width: 560px) {
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- Mapa de flujo ---------- */
.flow {
  --flow-dir: h;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 228px) minmax(0, 1fr) minmax(0, 340px);
  min-height: 460px;
  margin-top: clamp(2.75rem, 1.5rem + 3.5vw, 4.5rem);
  padding: clamp(16px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: var(--surface);
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1.4px);
  background-size: 22px 22px;
  background-position: 11px 11px;
  overflow: hidden;
  isolation: isolate;
}
.flow canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.flow-label {
  position: absolute; z-index: 1;
  font-family: var(--font-mono); font-stretch: var(--wdth-mono);
  font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted);
  pointer-events: none;
}
.flow-label.is-in { left: clamp(16px, 2.2vw, 28px); bottom: 10px; }
.flow-label.is-mid {
  left: var(--mid-x, 50%); top: var(--mid-y, auto);
  translate: -100% 0;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background-color: var(--surface);
  color: var(--accent-text);
  white-space: nowrap;
}
.flow-sources {
  position: relative; z-index: 1;
  grid-column: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  margin: 0; padding: 0; list-style: none;
}
.flow-source {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background-color: var(--bg);
  font-size: 0.875rem; font-weight: 600; line-height: 1.25;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.35s var(--ease);
  cursor: default;
}
.flow-source .i { width: 20px; height: 20px; color: var(--fg-muted); transition: color 0.25s; }
.flow-source small {
  display: block;
  font-family: var(--font-mono); font-stretch: var(--wdth-mono);
  font-size: 0.625rem; font-weight: 400; letter-spacing: 0.02em;
  color: var(--fg-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.flow-source > span { min-width: 0; }
.flow-source.is-hot { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); transform: translateX(3px); }
.flow-source.is-hot .i { color: var(--accent-text); }

.flow-sink { position: relative; z-index: 1; grid-column: 3; align-self: center; }
.sink {
  padding: 1.1rem 1.2rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: var(--bg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.4s var(--ease);
}
.sink.is-pulse { box-shadow: var(--shadow), 0 0 0 3px var(--accent-soft); }
.sink-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-mono); font-stretch: var(--wdth-mono);
  font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-muted);
}
.live { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--accent-text); }
.live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: live 2.4s ease-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 var(--accent-soft), 0 0 0 0 var(--accent); }
  70% { box-shadow: 0 0 0 8px transparent, 0 0 0 0 transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.sink-title { margin: 0.55rem 0 0.7rem; font-size: 1.125rem; font-weight: 620; font-stretch: 108%; letter-spacing: -0.02em; }
.metrics { display: grid; margin: 0; }
.metric {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}
.metric dt { color: var(--fg-muted); }
.metric dd {
  font-family: var(--font-mono); font-stretch: var(--wdth-mono);
  font-size: 0.75rem; font-variant-numeric: tabular-nums;
  text-align: right; white-space: nowrap;
  transition: color 0.6s;
}
.metric dd.is-tick, .metric dd .is-tick { color: var(--accent-text); transition: none; }
.metric dd [data-v] { transition: color 0.6s; }
.spark { display: block; width: 100%; height: 46px; margin-top: 0.35rem; overflow: visible; }
.spark .area { fill: var(--accent-soft); }
.spark .line { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark .end { fill: var(--accent); }
.sink-foot { margin-top: 0.4rem; font-size: 0.6875rem; color: var(--fg-muted); }

@media (max-width: 859px) {
  .flow {
    --flow-dir: v;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 170px auto;
    min-height: 0;
  }
  .flow-sources { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .flow-source { padding: 0.5rem 0.55rem; font-size: 0.8125rem; gap: 0.5rem; }
  .flow-source .i { width: 18px; height: 18px; }
  .flow-sink { grid-column: 1; grid-row: 3; }
  .flow-label { display: none; }
}

/* ---------- Compromisos (franja del hero) ---------- */
.pledges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.pledge { display: grid; align-content: start; gap: 0.35rem; padding: 1.25rem 1.5rem 0 0; }
.pledge + .pledge { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.pledge-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 620; font-stretch: 112%;
  letter-spacing: -0.035em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pledge-num small { font-size: 0.5em; letter-spacing: -0.01em; font-weight: 560; }
.pledge-text { font-size: 0.9375rem; color: var(--fg-muted); max-width: 26ch; }
@media (max-width: 760px) {
  .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pledge:nth-child(3) { padding-left: 0; border-left: 0; }
  .pledge:nth-child(n + 3) { margin-top: 1.25rem; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pledges { grid-template-columns: minmax(0, 1fr); }
  .pledge, .pledge + .pledge, .pledge:nth-child(n + 3) {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: baseline;
    gap: 1rem;
    margin: 0;
    padding: 1rem 0;
    border-left: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .pledge-num { font-size: 1.75rem; }
}

/* ---------- Señales (dolores) ---------- */
.signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
}
.signal {
  display: grid; align-content: start; gap: 0.9rem;
  padding: 1.6rem 1.75rem 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.signal:not(:nth-child(3n + 1)) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.signal p { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); font-weight: 560; font-stretch: 104%; line-height: 1.3; letter-spacing: -0.015em; }
.signal .tag { justify-self: start; }
@media (max-width: 900px) {
  .signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signal:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .signal:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .signals { grid-template-columns: minmax(0, 1fr); }
  .signal:nth-child(even) { padding-left: 0; border-left: 0; }
  .signal { padding-right: 0; }
}

.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono); font-stretch: var(--wdth-mono);
  font-size: 0.625rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.tag.is-plain::before { display: none; }

/* ---------- Servicios ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: var(--surface);
  overflow: hidden;
}
.service {
  position: relative;
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  transition: background-color 0.3s;
}
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.service::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.service-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background-color: var(--bg);
  color: var(--accent-text);
}
.service h3, .service-title { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem); }
.service h3 a, .service-title a { text-decoration: none; }
.service h3 a::after, .service-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service:focus-within { outline: 2px solid var(--focus); outline-offset: -2px; }
.service h3 a:focus-visible, .service-title a:focus-visible { outline: none; }
.service > p { color: var(--fg-muted); max-width: 46ch; }
.checks { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; font-size: var(--t-small); }
.checks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.checks .i { color: var(--accent-text); margin-top: 0.15em; width: 1.1em; height: 1.1em; stroke-width: 2; }
/* Paquetes de cada área con su precio publicado */
.price-list { display: grid; margin: 0; padding: 0; list-style: none; font-size: var(--t-small); }
.price-list li { display: flex; align-items: baseline; gap: 0.75rem; padding-block: 0.6rem; border-top: 1px solid var(--line); }
.price-list span { flex: 1; min-width: 0; }
.price-list b { font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.service-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: auto; padding-top: 1.1rem;
  border-top: 1px dashed var(--line-strong);
}
.price { font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.price strong { font-family: var(--font-display); font-stretch: 110%; font-size: 1.125rem; font-weight: 620; letter-spacing: -0.02em; }
.service-foot .link-arrow { position: relative; z-index: 2; }
@media (max-width: 800px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .service:nth-child(odd) { border-right: 0; }
  .service:not(:last-child) { border-bottom: 1px solid var(--line); }
}

/* ---------- Escenarios ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 1.5vw, 1.5rem); }
.case {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: var(--surface);
}
.case-kicker { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.4rem 0.75rem; }
.case h3 { font-size: var(--t-h3); }
.case dl { display: grid; gap: 0.9rem; }
.case dt { font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 0.2rem; }
.case dd { font-size: var(--t-small); }
.case-goal {
  display: grid; gap: 0.2rem;
  margin-top: auto; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.case-goal strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 640; font-stretch: 112%;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--accent-text);
}
.case-goal span { font-size: 0.875rem; color: var(--fg-muted); }
@media (max-width: 960px) { .cases { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 640px) and (max-width: 960px) {
  .case dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
}

/* ---------- Proceso ---------- */
.process { display: grid; gap: 3rem; }
@media (min-width: 1000px) {
  .process { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 5rem; }
  .process-intro { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; }
}
.process-intro { display: grid; gap: 1.25rem; }
.process-intro h2 { font-size: var(--t-h2); }
.process-intro p { color: var(--fg-muted); font-size: var(--t-lede); max-width: 44ch; }
.steps { position: relative; margin: 0; padding: 0; list-style: none; }
.steps::before {
  content: "";
  position: absolute; left: 15px; top: 10px; bottom: 10px;
  width: 2px; background-color: var(--line);
}
.steps::after {
  content: "";
  position: absolute; left: 15px; top: 10px;
  width: 2px;
  height: calc((100% - 20px) * var(--p, 0));
  background: linear-gradient(var(--accent), var(--signal));
  border-radius: 2px;
}
.step { position: relative; padding: 0 0 3rem 3.75rem; }
.step:last-child { padding-bottom: 0; }
.step-dot {
  position: absolute; left: 4px; top: 2px;
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background-color: var(--bg);
  font-family: var(--font-mono); font-size: 0.5625rem; font-weight: 600;
  color: var(--fg-muted);
  transition: border-color 0.4s, background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.step.is-active .step-dot { border-color: var(--accent); background-color: var(--accent); color: var(--accent-fg); box-shadow: 0 0 0 6px var(--accent-soft); }
.step-meta { font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.step h3 { margin: 0.45rem 0 0.65rem; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem); }
.step p { color: var(--fg-muted); max-width: 54ch; }
.deliverable {
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin-top: 1.1rem; padding: 0.85rem 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  font-size: var(--t-small);
  max-width: 54ch;
}
.deliverable .i { color: var(--accent-text); margin-top: 0.1em; }
.deliverable b { font-weight: 600; }

/* ---------- Cotizador ---------- */
.quote {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: var(--surface);
  overflow: hidden;
}
.quote-form { display: grid; gap: 2rem; padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem); }
.q-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.q-field legend, .q-label {
  display: flex; justify-content: space-between; gap: 1rem; width: 100%;
  margin-bottom: 0.8rem; padding: 0;
  font-weight: 600; font-size: 1rem;
}
.q-label output { font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.8125rem; font-weight: 500; color: var(--accent-text); }
.q-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.q-option {
  position: relative;
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background-color: var(--bg);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.q-option:hover { border-color: var(--line-strong); }
.q-option input { position: absolute; opacity: 0; pointer-events: none; }
.q-option .i { color: var(--fg-muted); margin-top: 0.1em; transition: color 0.2s; }
.q-option b { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.q-option small { display: block; margin-top: 0.15rem; font-size: 0.8125rem; color: var(--fg-muted); line-height: 1.35; }
.q-option:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background-color: var(--accent-soft); }
.q-option:has(input:checked) .i { color: var(--accent-text); }
.q-option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.q-option .tick {
  margin-left: auto;
  display: grid; place-items: center;
  width: 18px; height: 18px;
  border: 1.5px solid var(--line-strong); border-radius: 4px;
  transition: background-color 0.2s, border-color 0.2s;
}
.q-option .tick .i { width: 12px; height: 12px; stroke-width: 2.6; margin: 0; color: var(--accent-fg); opacity: 0; }
.q-option:has(input:checked) .tick { background-color: var(--accent); border-color: var(--accent); }
.q-option:has(input:checked) .tick .i { opacity: 1; }

.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-sm); background-color: var(--bg); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: grid; place-items: center;
  min-height: 42px; padding: 0.4rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem; font-weight: 600; text-align: center; line-height: 1.2;
  color: var(--fg-muted);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.seg span:hover { color: var(--fg); }
.seg input:checked + span { background-color: var(--fg); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.range { width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(var(--accent) 0 0) 0 / var(--fill, 0%) 100% no-repeat, var(--line-strong); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-strong); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 1px 3px rgb(0 0 0 / 0.2); transition: transform 0.2s var(--ease); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range-scale { display: flex; justify-content: space-between; margin-top: 0.2rem; font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.625rem; color: var(--fg-muted); }

.switch { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.95rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background-color: var(--bg); cursor: pointer; }
.switch b { display: block; font-weight: 600; font-size: 0.9375rem; }
.switch small { display: block; font-size: 0.8125rem; color: var(--fg-muted); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .knob { position: relative; width: 44px; height: 26px; flex-shrink: 0; border-radius: 26px; background-color: var(--line-strong); transition: background-color 0.25s; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: 0 1px 2px rgb(0 0 0 / 0.25); transition: transform 0.3s var(--ease); }
.switch input:checked + .knob { background-color: var(--accent); }
.switch input:checked + .knob::after { transform: translateX(18px); }
.switch:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

.quote-result { padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem); }
.quote-sticky { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 961px) {
  .quote-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}
.quote-result .eyebrow { color: var(--fg-muted); }
.q-price {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem);
  font-weight: 640; font-stretch: 110%;
  letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.q-price .cur { font-size: 0.45em; letter-spacing: 0; font-weight: 560; color: var(--fg-muted); margin-right: 0.15em; vertical-align: 0.6em; }
.q-sep { color: var(--fg-muted); font-weight: 400; margin: 0 0.12em; }
.q-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.q-fact { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.q-fact dt { font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); padding-top: 0.25rem; }
.q-fact dd { font-variant-numeric: tabular-nums; }
.q-note { font-size: 0.8125rem; color: var(--fg-muted); }
.quote-result .btn { width: 100%; }
.q-actions { display: grid; gap: 0.5rem; justify-items: center; }
.q-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  min-height: 44px; padding: 0.4rem 0.6rem;
  color: var(--fg); font-size: 0.9375rem; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em;
  font-variant-numeric: tabular-nums;
}
.q-link:hover { color: var(--accent-text); text-decoration-color: currentColor; }
.q-link .i { width: 1.05em; height: 1.05em; color: var(--accent-text); }
.services-note { margin-top: 1.25rem; font-size: var(--t-small); color: var(--fg-muted); }
@media (max-width: 960px) {
  .quote { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .q-options { grid-template-columns: minmax(0, 1fr); }
  .q-fact { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
}

/* ---------- Compromisos (lista completa) ---------- */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.promise { display: grid; align-content: start; gap: 0.75rem; padding: 1.75rem 1.75rem 2rem 0; border-bottom: 1px solid var(--line); }
.promise:not(:nth-child(3n + 1)) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.promise .i { width: 26px; height: 26px; color: var(--accent-text); stroke-width: 1.5; }
.promise h3 { font-size: 1.2rem; font-stretch: 106%; }
.promise p { color: var(--fg-muted); font-size: var(--t-small); max-width: 38ch; }
@media (max-width: 900px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .promise:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .promises { grid-template-columns: minmax(0, 1fr); }
  .promise:nth-child(even) { padding-left: 0; border-left: 0; }
  .promise { padding-right: 0; }
}

/* ---------- Comparación ---------- */
.compare-wrap { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background-color: var(--surface); }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; font-size: var(--t-small); }
.compare caption { text-align: left; padding: 1.1rem 1.25rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.compare th, .compare td { padding: 0.9rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); font-weight: 500; }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td.is-us { color: var(--fg); font-weight: 500; background-color: var(--accent-soft); }
.compare td.is-us .i { color: var(--accent-text); margin-right: 0.35rem; }
.compare td.is-them { color: var(--fg-muted); }

/* ---------- Tecnología ---------- */
.stack { display: grid; margin: 0; border-top: 1px solid var(--line); }
.stack-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.stack-row dt { display: grid; gap: 0.2rem; font-weight: 600; }
.stack-row dt small { font-weight: 400; font-size: 0.875rem; color: var(--fg-muted); }
.stack-row dd { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { display: inline-flex; align-items: center; padding: 0.35rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; background-color: var(--surface); font-size: 0.875rem; white-space: nowrap; }
.chip.is-local { border-color: var(--accent); color: var(--accent-text); background-color: var(--accent-soft); }
@media (max-width: 700px) { .stack-row { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; } }

/* ---------- Preguntas ---------- */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) {
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 5rem; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; margin-bottom: 0; }
  .faq-layout .section-head h2 { font-size: clamp(2rem, 1.2rem + 1.6vw, 2.6rem); }
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 600; font-stretch: 104%;
  letter-spacing: -0.015em; line-height: 1.3;
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-text); }
.faq-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-top: -0.1rem; border: 1px solid var(--line); border-radius: 50%; color: var(--fg-muted); transition: transform 0.35s var(--ease), border-color 0.2s; }
.faq-icon .i { width: 14px; height: 14px; stroke-width: 2; }
.faq details[open] .faq-icon { transform: rotate(45deg); border-color: var(--accent); color: var(--accent-text); }
.faq-body { display: grid; gap: 0.8rem; padding: 0 3rem 1.5rem 0; color: var(--fg-muted); max-width: 70ch; }
.faq-body strong { color: var(--fg); font-weight: 600; }
@supports (interpolate-size: allow-keywords) and selector(::details-content) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content {
    height: 0; overflow: clip;
    transition: height 0.4s var(--ease), content-visibility 0.4s allow-discrete;
  }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Llamado final ---------- */
.cta-final { padding-block: var(--space-section); }
.cta-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 5rem; align-items: end; } }
.cta-final h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -0.04em; font-stretch: 114%; max-width: 14ch; }
.cta-final h2 em { font-style: normal; color: var(--accent-text); }
.cta-final p { margin-top: 1.5rem; font-size: var(--t-lede); color: var(--fg-muted); max-width: 52ch; }
.contact-list { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.contact-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background-color: var(--surface);
  color: var(--fg); text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
a.contact-item:hover { border-color: var(--accent); }
.contact-item > .i { width: 22px; height: 22px; color: var(--accent-text); }
.contact-item span { display: grid; min-width: 0; }
.contact-item small { font-size: 0.8125rem; color: var(--fg-muted); }
.contact-item b { font-weight: 600; overflow-wrap: anywhere; }
.contact-item .icon-btn { margin-left: auto; width: 38px; height: 38px; }
.contact-item.is-primary { background-color: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.contact-item.is-primary > .i, .contact-item.is-primary small { color: inherit; }
.contact-item.is-primary small { opacity: 0.8; }
a.contact-item.is-primary:hover { background-color: var(--accent-hover); }
.contact-item .i-move { margin-left: auto; transition: transform 0.25s var(--ease); }
.contact-item:hover .i-move { transform: translateX(3px); }

/* ---------- Pie ---------- */
.site-footer { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2rem; }
.site-footer.tone-ink { background-color: var(--bg-alt); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand p { color: var(--fg-muted); font-size: var(--t-small); max-width: 34ch; }
.footer-title { margin-bottom: 0.9rem; font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: var(--t-mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }
.footer-col ul { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-flex; padding: 0.3rem 0; color: var(--fg); text-decoration: none; font-size: var(--t-small); }
.footer-col a:hover { color: var(--accent-text); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem; color: var(--fg-muted);
}
.footer-base p { display: inline-flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.coords { font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.6875rem; letter-spacing: 0.04em; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Páginas internas ---------- */
.page-hero { padding-block: clamp(2rem, 1rem + 3.5vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.crumbs { margin-bottom: 1.75rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--fg-muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs [aria-current] { color: var(--fg); }
.page-hero h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.75rem); font-stretch: 114%; letter-spacing: -0.04em; line-height: 1; max-width: 17ch; }
.page-hero h1 em { font-style: normal; color: var(--accent-text); }
.page-hero .lede { margin-top: 1.5rem; font-size: var(--t-lede); color: var(--fg-muted); max-width: 58ch; }
.page-hero .hero-cta { margin-top: 2rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.fact { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background-color: var(--surface); font-size: 0.875rem; }
.fact .i { color: var(--accent-text); width: 1.05em; height: 1.05em; }
.fact b { font-weight: 600; font-variant-numeric: tabular-nums; }

.split { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 5rem; } .split > .section-head { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; margin-bottom: 0; } }

.feature-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.feature .i { width: 26px; height: 26px; color: var(--accent-text); stroke-width: 1.5; margin-top: 0.1rem; }
.feature h3 { font-size: 1.15rem; font-stretch: 106%; margin-bottom: 0.35rem; }
.feature p { color: var(--fg-muted); font-size: var(--t-small); max-width: 60ch; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem); }
.tier { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-md); background-color: var(--surface); }
.tier.is-featured { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tier h3 { font-size: 1.3rem; font-stretch: 108%; }
.tier-price { font-family: var(--font-display); font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); font-weight: 640; font-stretch: 110%; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier-price small { display: block; margin-bottom: 0.4rem; font-family: var(--font-mono); font-stretch: var(--wdth-mono); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }
.tier-price span { font-size: 0.45em; font-weight: 500; letter-spacing: 0; color: var(--fg-muted); }
.tier > p { color: var(--fg-muted); font-size: var(--t-small); }
.tier .checks { padding-top: 1rem; border-top: 1px solid var(--line); }
.tier .btn { margin-top: auto; }
@media (max-width: 960px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-sm); background-color: var(--surface); text-decoration: none; font-weight: 600; transition: border-color 0.2s; }
.related a:hover { border-color: var(--accent); }
.related a .i { color: var(--accent-text); }
@media (max-width: 800px) { .related { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Formulario ---------- */
.form-layout { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4.5rem; align-items: start; } .form-aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.form { display: grid; gap: 1.4rem; padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--r-md); background-color: var(--surface); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 0.45rem; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.9375rem; padding: 0; }
.field .hint { font-size: 0.8125rem; color: var(--fg-muted); font-weight: 400; }
.input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background-color: var(--bg);
  color: var(--fg);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--fg-muted); opacity: 0.75; }
.input:hover { border-color: var(--fg-muted); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.error { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; color: var(--danger); }
.error:empty { display: none; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 42px; padding: 0.5rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 999px; background-color: var(--bg); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.chip-check span:hover { border-color: var(--fg-muted); }
.chip-check input:checked + span { border-color: var(--accent); background-color: var(--accent); color: var(--accent-fg); }
.chip-check input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.875rem; color: var(--fg-muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0.1rem 0 0; accent-color: var(--accent); flex-shrink: 0; }
.form .btn[type="submit"] { width: 100%; }
.form-note { font-size: 0.8125rem; color: var(--fg-muted); text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.estimate-chip { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem; border: 1px solid var(--accent); border-radius: var(--r-sm); background-color: var(--accent-soft); font-size: 0.9rem; }
.estimate-chip .i { color: var(--accent-text); margin-top: 0.1em; }
.estimate-chip button { margin-left: auto; padding: 0.2rem; border: 0; background: none; color: var(--fg-muted); cursor: pointer; }
.btn[aria-busy="true"] { opacity: 0.75; pointer-events: none; }
.form-success { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border: 1px solid var(--accent); border-radius: var(--r-md); background-color: var(--surface); }
.form-success:focus { outline: none; }
.form-success .badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background-color: var(--accent); color: var(--accent-fg); }
.form-success .badge .i { width: 28px; height: 28px; stroke-width: 2.2; }
.form-success h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.form-success p { color: var(--fg-muted); max-width: 52ch; }
.next-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: ns; border-top: 1px solid var(--line); }
.next-steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); counter-increment: ns; font-size: var(--t-small); }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-text); padding-top: 0.15rem; }
.next-steps b { display: block; font-weight: 600; color: var(--fg); }
.next-steps li > span > span { display: block; color: var(--fg-muted); }

/* ---------- Columna lateral de contacto ---------- */
.form-aside { display: grid; gap: 1.75rem; align-content: start; }
.form-aside .footer-title { margin: 0; }

/* ---------- Guía "¿por dónde empiezo?" ---------- */
.guide { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide a {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg); text-decoration: none;
  transition: padding 0.4s var(--ease), background-color 0.3s;
}
.guide a:hover { padding-inline: 1.25rem; background-color: var(--accent-soft); }
.guide-if { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + 0.55vw, 1.45rem); font-weight: 560; font-stretch: 104%; letter-spacing: -0.015em; line-height: 1.3; }
.guide-then { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--accent-text); font-weight: 600; }
.guide-then .i { transition: transform 0.3s var(--ease); }
.guide a:hover .guide-then .i { transform: translateX(4px); }
@media (max-width: 700px) { .guide a { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; } }

/* ---------- Texto largo (legal) ---------- */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.75rem; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); }
.prose h3 { margin-top: 2rem; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose p, .prose li { color: var(--fg-muted); }
.prose strong { color: var(--fg); }
.notice { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); font-size: 0.9rem; color: var(--fg-muted); }
.notice .i { color: var(--signal); margin-top: 0.1rem; }

/* ---------- Avisos flotantes ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6rem;
  max-width: calc(100vw - 32px);
  padding: 0.8rem 1.1rem;
  border-radius: var(--r-sm);
  background-color: var(--fg); color: var(--bg);
  font-size: 0.9rem; font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.toast-link { margin-left: 0.4rem; padding-left: 0.8rem; border-left: 1px solid color-mix(in srgb, var(--bg) 35%, transparent); color: var(--bg); white-space: nowrap; text-decoration: underline; text-underline-offset: 0.2em; }
.toast .i { color: var(--accent); }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; align-content: center; gap: 1.5rem; padding-block: var(--space-section); }
.lost .code { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--accent-text); letter-spacing: 0.08em; }
.lost h1 { font-size: clamp(2.4rem, 1.4rem + 4.5vw, 5rem); font-stretch: 116%; letter-spacing: -0.045em; line-height: 0.98; max-width: 14ch; }
.lost p { font-size: var(--t-lede); color: var(--fg-muted); max-width: 48ch; }

/* ---------- Movimiento reducido e impresión ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .channel-word .drop { display: none; }
}
@media print {
  .site-header, .mobile-menu, .site-footer, .flow canvas, .toast, .skip { display: none !important; }
  .tone-ink { background: none !important; color: #000 !important; }
  body { background: #fff; color: #000; }
}
