/* Kirion · sistema de diseño "Plasma light"
   Fondo claro de laboratorio, tipografía expandida (Archivo) y etiquetas en mono (IBM Plex Mono).
   El violeta de ionización es el único acento. */

:root {
  --bg: #F6F7FB;
  --panel: #FFFFFF;
  --panel-2: #ECEEF6;
  --ink: #0E1226;
  --ink-2: #2E3450;
  --muted: #545B76;
  --line: #D8DBE9;
  --ion: #8C4799;
  --ion-rgb: 140, 71, 153;
  --ion-hover: #6C3777;
  --ion-soft: #CE97D8;
  --on-ion: #FFFFFF;
  --inv-bg: #0E1226;
  --inv-ink: #F6F7FB;
  --inv-muted: #C7CBE0;
  --inv-accent: #E1ADEB;
  --dust: #8C92AB;
  --clean: #1B2340;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius-lg: 22px;
  --radius-md: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--ion); }
a:hover { color: var(--ion-hover); }
:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
[id] { scroll-margin-top: 88px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.visually-hidden {
  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: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--inv-ink); padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--inv-ink); }

/* ---------- Tipografía ---------- */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.kicker { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ion); }
.kicker--cedrion { display: flex; align-items: center; gap: 10px; }
.kicker--cedrion img { height: 22px; width: auto; display: block; transform: translateY(-2px); }
.h1 {
  font-size: clamp(38px, 5.2vw, 72px); font-weight: 600; font-stretch: 120%;
  letter-spacing: -.025em; line-height: 1.02; margin-top: 22px;
}
.h1--page { font-size: clamp(34px, 4.4vw, 60px); }
.h1 .accent, .h2 .accent { color: var(--ion); }
.h1 .accent.accent--line,
.h2 .accent.accent--line {
  color: var(--panel);
  -webkit-text-stroke: 1.5px var(--ion);
}
.h2 {
  font-size: clamp(30px, 4vw, 54px); font-weight: 600; font-stretch: 118%;
  letter-spacing: -.02em; line-height: 1.04; margin-top: 16px; max-width: 22ch;
}
.section-head { text-align: center; }
.section-head .h2 { max-width: min(16em, 100%); margin-inline: auto; }
.section-head .sub { margin-inline: auto; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; font-stretch: 118%; line-height: 1.1; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); max-width: 56ch; margin-top: 26px; }
.sub { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 60ch; margin-top: 20px; }
.sub strong { color: var(--ink); font-weight: 600; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.big-num { font-weight: 300; font-stretch: 125%; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-num small { font-size: .5em; color: var(--ion); }
.outline-num {
  font-size: 56px; font-weight: 700; font-stretch: 125%; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--ion);
}

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: box-shadow .2s, border-color .2s, background .2s;
}
.btn--ion { background: var(--ion); color: var(--on-ion); }
.btn--ion:hover { color: var(--on-ion); box-shadow: 0 0 0 6px rgba(var(--ion-rgb), .18); }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ion); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--inv-ink); }
.btn--dark:hover { color: var(--inv-ink); box-shadow: 0 0 0 6px rgba(14, 18, 38, .12); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.link { font-weight: 600; text-decoration: none; }
.link-row { margin-top: 24px; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
}
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-stretch: 118%; font-size: 21px; letter-spacing: .04em;
}
.brand:hover { color: var(--ink); }
.brand img { display: block; height: 32px; width: auto; }
.site-footer__brand .brand img { height: 24px; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; }
.site-nav > a:not(.btn), .nav-dd__btn { color: var(--muted); text-decoration: none; }
.site-nav > a:not(.btn):hover, .nav-dd__btn:hover { color: var(--ink); }
.site-nav a[aria-current="page"], .nav-dd__btn.is-current { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ion); }
.nav-dd { position: relative; }
.nav-dd__btn {
  font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-dd__btn::after {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
.nav-dd__menu {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 220px;
  display: none; flex-direction: column; padding: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(14, 18, 38, .35);
}
.nav-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd__menu a { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nav-dd__menu a:hover, .nav-dd__menu a[aria-current="page"] { background: var(--panel-2); color: var(--ink); }
.nav-dd.is-open .nav-dd__menu { display: flex; }
@media (hover: hover) { .nav-dd:hover .nav-dd__menu { display: flex; } }
.lang-menu { position: relative; }
.lang-menu__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--ink);
  font: 500 14px/1 var(--font); cursor: pointer;
  transition: border-color 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lang-menu__btn:hover, .lang-menu__btn:focus-visible, .lang-menu.is-open .lang-menu__btn {
  border-color: var(--ion); box-shadow: 0 0 0 6px rgba(var(--ion-rgb), .12); outline: none;
}
.lang-menu__icon { width: 18px; height: 18px; display: block; flex: none; }
.lang-menu__chev { width: 14px; height: 14px; display: block; flex: none; transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1); }
.lang-menu.is-open .lang-menu__chev { transform: rotate(180deg); }
.lang-menu__list {
  list-style: none; margin: 0;
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; z-index: 30;
  display: none; flex-direction: column; padding: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(14, 18, 38, .35);
}
.lang-menu.is-open .lang-menu__list { display: flex; }
.lang-menu__list button {
  font: 500 14px/1.2 var(--font); text-align: left; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 10px;
  background: none; color: var(--ink); cursor: pointer;
}
.lang-menu__list button:hover,
.lang-menu__list button[aria-selected="true"] { background: var(--panel-2); }
.nav-toggle {
  display: none; margin-left: auto; min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 500 14px var(--font); cursor: pointer;
}

/* ---------- Hero de partículas ---------- */
.hero { position: relative; overflow: hidden; }
.hero:not(.hero--page) {
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 247, 251, .94) 0%, rgba(246, 247, 251, .62) 32%, rgba(246, 247, 251, 0) 54%);
}
.hero__in { position: relative; z-index: 2; padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(72px, 8vw, 112px); }
.hero:not(.hero--page) .hero__in { width: 100%; padding-top: clamp(28px, 4vh, 56px); padding-bottom: clamp(28px, 4vh, 56px); }
.hero--page .hero__in { padding-top: clamp(72px, 8vw, 120px); padding-bottom: clamp(56px, 6vw, 88px); }
.hero--page .hero__copy { text-align: center; margin-inline: auto; }
.hero--page .h1 { max-width: min(14em, 100%); margin-inline: auto; }
.hero--page .lead { margin-inline: auto; }
.hero--page .actions { justify-content: center; }
.hero__copy { max-width: 800px; }

/* Hero de noche (salud humana): ocupa la primera pantalla, ambulancia abajo y texto en el cielo */
.hero.hero--night {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  background: var(--inv-bg); color: var(--inv-ink);
}
.hero--night__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 50%;
}
.hero--night__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 78% 52% at 50% 40%, color-mix(in srgb, var(--inv-bg) 62%, transparent), transparent 72%),
    color-mix(in srgb, var(--inv-bg) 34%, transparent);
}
.hero.hero--night .hero__in {
  display: flex; justify-content: center; width: 100%;
  padding-top: clamp(24px, 4vh, 48px);
  padding-bottom: clamp(120px, 18vh, 220px);
}
.hero.hero--night--zoom .hero__in { padding-bottom: clamp(200px, 28vh, 360px); }
.hero--night .hero__copy { text-align: center; max-width: min(920px, 100%); }
.hero--night .h1 { color: var(--inv-ink); margin-inline: auto; }
.hero--night .h1 .accent { color: var(--inv-accent); }
.hero--night .h1 .accent.accent--line { color: var(--panel); -webkit-text-stroke: 1.5px var(--ion); }
.hero--night .lead { color: var(--inv-muted); margin-inline: auto; text-shadow: 0 1px 16px color-mix(in srgb, var(--inv-bg) 80%, transparent); }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--flush { border-top: 0; }

/* Imagen a todo el ancho */
.bleed { margin: 0; }
.bleed img { display: block; width: 100%; height: clamp(300px, 46vw, 680px); object-fit: cover; object-position: 50% 60%; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.grid--split > :first-child { flex: 999 1 520px; min-width: 0; }
.grid--split > :last-child { flex: 1 1 260px; min-width: 0; }
.mt-44 { margin-top: 44px; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px); min-width: 0;
}

/* Franja de resultados. El hueco hasta el carrusel iguala el de dos .section seguidas. */
.stats { padding-bottom: calc(clamp(72px, 9vw, 128px) * 2 - 72px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 40px 24px 36px; min-width: 0; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat .big-num { font-size: clamp(40px, 4.4vw, 62px); }
.stat p { color: var(--muted); font-size: 15px; margin-top: 12px; white-space: nowrap; }
.stat .mono { color: var(--ion); font-size: 11px; margin-top: 14px; }

/* Logos de clientes: carrusel a todo el ancho */
.logos { padding: 36px 0 clamp(72px, 9vw, 128px); overflow: hidden; }
.logos__title {
  text-align: center; margin: 0 auto 72px; max-width: min(20em, calc(100% - 32px)); text-wrap: balance;
  font-family: var(--font); font-size: clamp(24px, 3vw, 40px); font-weight: 600; font-stretch: 118%;
  letter-spacing: -.02em; line-height: 1.1; text-transform: none; color: var(--ink);
}
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px);
  list-style: none; margin: 0; flex-shrink: 0;
  animation: marquee 45s linear infinite;
}
.marquee__track img {
  display: block; height: var(--h, 40px); width: auto; max-width: none;
  filter: grayscale(1) contrast(1.1); opacity: .7;
  transition: filter .3s, opacity .3s;
}
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 28px; padding: 0 16px; }
  .marquee__track[aria-hidden] { display: none; }
}

/* Datos del problema */
.fact .big-num { font-size: 48px; }
.fact p { color: var(--muted); margin-top: 10px; }
.fact .fact__label { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ion); }
.fact .fact__lead { margin-top: 12px; color: var(--ink); font-weight: 600; }
.fact .fact__lead + p { margin-top: 6px; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.fact {
  transition: border-color 250ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  .fact:hover { border-color: var(--ion); box-shadow: 0 0 0 6px rgba(var(--ion-rgb), .12); }
}

/* Fotografía: piezas con la imagen recortada a su caja y una etiqueta en pastilla */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--panel-2); min-width: 0; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Foto en escala de grises: recupera el color al pasar el ratón o con un toque en móvil */
.media--gris img { filter: grayscale(1); transition: filter 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.media--gris.is-color img { filter: none; }
@media (hover: hover) { .media--gris:hover img { filter: none; } }
.media-tag {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px;
  background: var(--panel); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
}

/* Problema: imagen grande y datos apilados */
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.bento .media { min-height: 420px; }
.bento__facts { display: grid; gap: 20px; }
.bento__facts .fact { display: flex; flex-direction: column; justify-content: center; }

/* Tira de fotos */
.photo-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 44px; }
.photo-strip .media { aspect-ratio: auto; height: clamp(320px, 34vw, 460px); }
.photo-strip .media--tall img { object-position: 50% 10%; }
.photo-strip .media__img--amb { object-position: 50% 45%; }
@media (max-width: 860px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .media { min-height: 0; aspect-ratio: 16 / 10; }
  .photo-strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .photo-strip .media { height: 260px; }
}
@media (max-width: 560px) {
  .photo-strip { grid-template-columns: minmax(0, 1fr); }
  .photo-strip .media { height: auto; aspect-ratio: 16 / 10; }
  .photo-strip .media--tall { aspect-ratio: 4 / 5; max-width: 400px; }
}

/* Bloque invertido */
.inverse { background: var(--inv-bg); color: var(--inv-ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.inverse p { color: var(--inv-muted); }
.inverse strong { color: var(--inv-ink); }
.inverse .accent { color: var(--inv-accent); }
.inverse__claim .accent.accent--line { color: var(--ion); -webkit-text-stroke: 0; }
.inverse .kicker { color: var(--inv-accent); }
.inverse .btn--light { background: var(--inv-ink); color: var(--ink); }
.inverse .btn--light:hover { color: var(--ink); box-shadow: 0 0 0 6px rgba(246, 247, 251, .16); }
.inverse > .h3,
.inverse__claim { text-align: center; }
.inverse__claim { margin-top: 28px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; font-stretch: 118%; letter-spacing: -.01em; line-height: 1.2; color: var(--inv-ink) !important; }
.inverse--band { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.inverse--band > div { flex: 999 1 520px; min-width: 0; }

.choices { margin-top: 32px; }
.choices__grid {
  list-style: none; margin: 52px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.choices__grid > li {
  min-width: 0; padding: 0 24px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start;
  border-left: 1px solid rgba(246, 247, 251, .12);
}
.choices__grid > li:first-child { border-left: 0; padding-left: 0; }
.choices__grid > li:last-child { padding-right: 0; }
.choices__grid .outline-num { font-size: 44px; color: var(--ion); -webkit-text-stroke: 0; }
.choices__grid h4 {
  margin-top: 10px; font-size: 20px; font-weight: 600; font-stretch: 118%;
  line-height: 1.15; color: var(--inv-ink);
}
.choices__grid li p { margin-top: 22px; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.choices .inverse__claim { margin-top: 64px; padding-top: 0; border-top: 0; }
.choices .link-row { margin-top: 28px; text-align: center; }

/* Listas de entornos: cada fila cruza las dos tarjetas para alinear 01-04, 02-05 y 03-06 */
.sectors {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, auto); column-gap: 20px; margin-top: 44px;
}
.sector {
  display: grid; grid-template-rows: subgrid; grid-row: 1 / span 6; align-items: start;
}
/* Foto a sangre en la cabecera de la tarjeta: anula el padding de la tarjeta */
.sector__media {
  --pad: clamp(24px, 3vw, 40px);
  margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 28px;
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  background: var(--panel-2);
}
.sector__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sector:nth-child(1) { grid-column: 1; }
.sector:nth-child(2) { grid-column: 2; }
.sector__cta { padding-top: 32px; }
.env-item {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start;
  padding-top: 28px;
}
.env-item .outline-num { font-size: 44px; }
.env-item h4 { font-size: 17px; font-weight: 600; font-stretch: 110%; margin-bottom: 6px; }
.env-item p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { padding: 32px 32px 0; min-width: 0; }
.steps li:first-child { padding-left: 0; }
.steps li:last-child { padding-right: 0; }
.steps h3 { margin-top: 18px; font-size: 24px; font-weight: 600; font-stretch: 115%; }
.steps p { margin-top: 10px; color: var(--muted); }

/* Recorrido (sectores) */
.story { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.story__aside { flex: 1 1 360px; min-width: 0; }
.story__aside .h2 { margin-bottom: 32px; }
.story__steps { flex: 1.4 1 460px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.story__steps > li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 28px 0; }
.story__steps .outline-num { font-size: 44px; }
.story__steps h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ion); margin: 4px 0 8px; }
.story__steps p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.story__steps ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.story__steps ul li { padding-left: 20px; position: relative; color: var(--ink-2); line-height: 1.55; }
.story__steps ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1.5px; background: var(--ion); }
.story__steps strong { font-weight: 700; color: var(--ink); }
.story__nums {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin-top: 32px;
}
.story__nums--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.story__nums .card {
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: 0 18px 40px -20px rgba(14, 18, 38, .35);
}
.story__nums .big-num { font-size: clamp(36px, 4vw, 52px); color: var(--ion); }
.story__nums--4 .big-num { font-size: clamp(28px, 2.6vw, 40px); white-space: nowrap; }
.story__nums .big-num--line { font-size: 44px; white-space: nowrap; }
.story__nums .story__nums-k {
  margin-top: 8px; font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--ink);
}
.story__nums .card p:last-child {
  margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted);
}
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; align-items: stretch; }
.chips .mono { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.chips .chip {
  display: flex; align-items: flex-start; margin: 0;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); color: var(--muted);
  font-size: 20px; font-weight: 500; font-stretch: 112%; line-height: 1.35; letter-spacing: -.01em;
}
.chip--mono { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: transparent; }

/* Paneles de aplicación: el activo se ensancha al pasar el ratón (o rota solo) */
.apps { margin-top: calc(clamp(72px, 9vw, 128px) * 2); }
.apps > .h2 { margin: 0 0 44px; max-width: none; text-align: center; }
.apps__grid {
  --apps-ease: linear(0, .11 4.2%, .29 8.3%, .45 12.5%, .57 16.7%, .67 20.8%, .75 25%, .81 29.2%, .85 33.3%, .89 37.5%, .91 41.7%, .93 45.8%, .95 50%, .97 58.3%, .98 66.7%, .99 75%, 1);
  display: grid; grid-template-columns: var(--apps-cols, 2fr 1fr 1fr); gap: 2px;
  height: clamp(440px, 64vh, 620px);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--bg);
  transition: grid-template-columns .65s cubic-bezier(.22, 1, .36, 1);
  transition-timing-function: var(--apps-ease);
}
.apps__panel {
  position: relative; min-width: 0; overflow: hidden; isolation: isolate;
  background: var(--inv-bg); color: var(--inv-ink); cursor: pointer;
}
.apps__panel.is-active { cursor: default; }
.apps__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--apps-pos, 50% 50%);
  transform: scale(1.04); transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}
.apps__panel.is-active .apps__img { transform: scale(1); }
/* Fondo provisional mientras no haya fotografía */
.apps__panel--plain {
  background:
    radial-gradient(ellipse 70% 55% at 50% 58%, rgba(var(--ion-rgb), .42), transparent 70%),
    radial-gradient(circle, rgba(246, 247, 251, .14) 1px, transparent 1.5px) 0 0 / 22px 22px,
    var(--inv-bg);
}
.apps__panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 42% at 50% 50%, rgba(14, 18, 38, .5), transparent 75%),
    linear-gradient(180deg, rgba(14, 18, 38, .62), rgba(14, 18, 38, .22) 40%, rgba(14, 18, 38, .5));
  transition: background-color .5s;
}
.apps__panel:not(.is-active)::after { background-color: rgba(14, 18, 38, .34); }
/* Fotos claras (laboratorio, hospital): velo más denso para que el texto blanco se lea */
.apps__panel--light::after { background-color: rgba(14, 18, 38, .34); }
.apps__panel--light:not(.is-active)::after { background-color: rgba(14, 18, 38, .5); }
.apps__panel--light .apps__ticker li, .apps__panel--light .apps__title { text-shadow: 0 1px 14px rgba(14, 18, 38, .7); }
.apps__panel--light .apps__ticker li { opacity: .7; }
.apps__panel--light .apps__ticker li.is-cur { opacity: 1; }
.apps__tab {
  position: absolute; top: 20px; left: 22px; right: 22px;
  font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -.005em;
  opacity: 1; transition: opacity .3s ease .35s;
}
.apps__panel.is-active .apps__tab { opacity: 0; transition: opacity .12s ease; }
.apps__open {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .12s ease;
}
.apps__panel.is-active .apps__open { opacity: 1; pointer-events: auto; transition: opacity .3s ease .5s; }
.apps__ticker {
  position: relative; height: 78px; width: 100%; margin: 0 0 18px; padding: 0; list-style: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.apps__ticker li {
  position: absolute; left: 0; right: 0; top: 26px; white-space: nowrap;
  font-family: var(--mono); font-size: 12px; line-height: 26px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--inv-muted); opacity: .45;
  transform: translateY(calc(var(--y, 0) * 26px));
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .6s, color .6s;
}
.apps__ticker li.is-cur { opacity: 1; color: var(--inv-ink); }
.apps__title {
  max-width: 15ch; font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; font-stretch: 112%;
  line-height: 1.08; letter-spacing: -.02em; color: var(--inv-ink);
}
.apps__open .btn { margin-top: 32px; }
.btn--glass { border-color: rgba(246, 247, 251, .55); color: var(--inv-ink); background: rgba(14, 18, 38, .18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--glass:hover { border-color: var(--inv-ink); color: var(--inv-ink); background: rgba(14, 18, 38, .32); }
@media (max-width: 760px) {
  .apps__grid { grid-template-columns: minmax(0, 1fr); height: auto; }
  .apps__panel { min-height: 340px; cursor: default; }
  .apps__panel:not(.is-active)::after { background-color: transparent; }
  .apps__tab { display: none; }
  .apps__open, .apps__panel.is-active .apps__open { position: relative; min-height: 340px; opacity: 1; pointer-events: auto; transition: none; }
  .apps__ticker { height: auto; -webkit-mask-image: none; mask-image: none; }
  .apps__ticker li { position: static; transform: none; opacity: .8; white-space: normal; line-height: 1.6; }
}

/* Tablas */
.tbl { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); margin-top: 40px; background: var(--panel); }
.tbl table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.tbl th {
  text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.tbl th.is-us {
  background: var(--ion); color: var(--on-ion); font-weight: 600;
  border-bottom-color: rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 var(--ion), inset 1px 0 0 var(--ion), inset -1px 0 0 var(--ion);
}
.tbl td.is-us {
  background: rgba(var(--ion-rgb), .10);
  box-shadow: inset 1px 0 0 var(--ion), inset -1px 0 0 var(--ion);
}
.tbl tr:last-child td.is-us {
  box-shadow: inset 1px 0 0 var(--ion), inset -1px 0 0 var(--ion), inset 0 -1px 0 var(--ion);
}
.tbl td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.5; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.k { color: var(--ion); font-weight: 600; }
.tbl td.t { color: var(--ink); font-weight: 500; }

/* Tabla abierta: cada fila es una tarjeta y la columna destacada lleva un contorno violeta continuo por encima */
.tbl--open { border: 0; border-radius: 0; background: none; padding-bottom: 32px; }
.tbl--open table { border-collapse: separate; border-spacing: 0 12px; margin-top: -12px; font-size: 16px; }
.tbl--open th { padding: 20px 24px 8px; border-bottom: 0; }
.tbl--open td {
  background: var(--panel); padding: 20px 24px; vertical-align: middle; color: var(--muted); font-weight: 500;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: border-color 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tbl--open td:first-child { border-left: 1px solid var(--line); border-radius: 14px 0 0 14px; color: var(--ink); font-weight: 600; }
.tbl--open td:last-child { border-right: 1px solid var(--line); border-radius: 0 14px 14px 0; }
.tbl--open tr:last-child td { border-bottom: 1px solid var(--line); }
.tbl--open tbody tr:hover td { border-top-color: var(--ion-soft); border-bottom-color: var(--ion-soft); }
.tbl--open tbody tr:hover td:first-child { border-left-color: var(--ion-soft); }
.tbl--open tbody tr:hover td:last-child { border-right-color: var(--ion-soft); }
.tbl--open .is-us { position: relative; width: 132px; text-align: center; color: var(--ion); }
.tbl--open th.is-us {
  background: none; box-shadow: none; color: var(--ion);
  font-family: var(--font); font-size: 16px; font-weight: 600; font-stretch: 110%; letter-spacing: 0; text-transform: none;
}
.tbl--open td.is-us,
.tbl--open tr:last-child td.is-us { background: var(--panel); box-shadow: none; }
.tbl--open td.is-us { white-space: nowrap; }
.tbl--open .is-us--wide { width: auto; min-width: 220px; text-align: left; }
.tbl--open td.is-us--wide { white-space: normal; }
.tbl--open td.is-us--wide { color: var(--ink-2); }
.tbl--open .is-us::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: -14px; bottom: -1px; pointer-events: none;
  border-left: 1.5px solid var(--ion); border-right: 1.5px solid var(--ion);
}
.tbl--open th.is-us::after { top: 0; bottom: 0; border-top: 1.5px solid var(--ion); border-radius: var(--radius-md) var(--radius-md) 0 0; }
.tbl--open tr:last-child td.is-us::after { bottom: -28px; border-bottom: 1.5px solid var(--ion); border-radius: 0 0 var(--radius-md) var(--radius-md); }
.tbl--open .is-us .ico-yes { color: var(--ion); }
.tbl--open .fase {
  display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(var(--ion-rgb), .08); color: var(--ion);
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.tbl--open td.quien { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }

/* Iconos de sí / no en tablas */
.ico-yes {
  position: relative; display: inline-block; width: 22px; height: 22px; vertical-align: middle;
  border: 1.5px solid currentColor; border-radius: 50%; color: var(--muted);
}
.ico-yes::after {
  content: ""; position: absolute; left: 6.5px; top: 3.5px; width: 5px; height: 9px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.is-us .ico-yes { color: var(--ion); }
.ico-no {
  position: relative; display: inline-block; width: 22px; height: 22px; vertical-align: middle;
  border: 1.5px solid currentColor; border-radius: 50%; color: var(--muted);
}
.ico-no::before, .ico-no::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 1.5px; height: 10px;
  background: currentColor; border-radius: 1px;
}
.ico-no::before { transform: translate(-50%, -50%) rotate(45deg); }
.ico-no::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Sellos y certificaciones */
.seals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.seal { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--panel); }
.seal--ph { border-style: dashed; }

/* Certificado de calidad: imagen del certificado y texto con empresa, alcance y validez */
.cert { display: grid; grid-template-columns: 200px minmax(0, 1fr) 96px; gap: 32px; align-items: center; }
.cert__seal { display: block; width: 96px; height: auto; }
.cert__img { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); transition: border-color 250ms cubic-bezier(0.22, 1, 0.36, 1); }
.cert__img:hover { border-color: var(--ion); }
/* Sombra en reposo; al pasar el ratón el recuadro se eleva y el certificado y el sello se acercan */
.card.cert {
  box-shadow: 0 18px 40px -20px rgba(14, 18, 38, .35);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cert__img img, .cert__seal { transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
@media (hover: hover) {
  .card.cert:hover { transform: translateY(-4px); border-color: var(--ion-soft); box-shadow: 0 28px 56px -24px rgba(var(--ion-rgb), .45); }
  .card.cert:hover .cert__img img { transform: scale(1.04); }
  .card.cert:hover .cert__seal { transform: scale(1.06) rotate(-2deg); }
}
.cert__img img { display: block; width: 100%; height: auto; }
.cert .h3 { margin-top: 12px; }
.cert p.sub { margin-top: 12px; text-wrap: pretty; }
.cert__meta { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .cert { grid-template-columns: 1fr; gap: 20px; }
  .cert__img { max-width: 200px; }
  .cert__seal { width: 80px; }
}


/* Bloque apilado: pestañas que se quedan fijas al hacer scroll y se cubren unas a otras, dejando visible su título */
.stack-band { --stack-head: 64px; --stack-line: rgba(246, 247, 251, .12); background: var(--inv-bg); padding: clamp(48px, 6vw, 88px) 0; color: var(--inv-ink); }
.stack__tab {
  background: var(--inv-bg); border: 1px solid var(--stack-line); border-bottom: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.stack__tab:last-child { border-bottom: 1px solid var(--stack-line); border-radius: var(--radius-md); }
.stack__head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--stack-head); padding: 10px 28px; border-radius: inherit;
  background: color-mix(in srgb, var(--inv-ink) 6%, var(--inv-bg)); border-bottom: 1px solid var(--stack-line);
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.stack__title { font-size: clamp(18px, 1.8vw, 23px); font-weight: 600; font-stretch: 112%; line-height: 1.2; letter-spacing: -.01em; }
.stack__head .kicker { color: var(--inv-accent); white-space: nowrap; }
.stack__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 40px; padding: 28px; }
.stack__main { min-width: 0; }
.stack__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.stack__copy { font-size: 16px; line-height: 1.5; color: var(--inv-muted); text-wrap: pretty; }
.stack__copy + .stack__copy { margin-top: 16px; }
.stack__copy strong { color: var(--inv-ink); font-weight: 600; }
.stack__copy .link { color: var(--inv-accent); }
.stack__stat .big-num { font-size: clamp(52px, 5.4vw, 72px); color: var(--inv-ink); white-space: nowrap; }
.stack__stat p:not(.big-num) { margin-top: 10px; font-size: 15px; line-height: 1.4; font-weight: 500; color: var(--inv-ink); }
.stack__stat .btn { margin-top: 24px; width: 100%; padding: 12px 20px; text-align: center; }
/* Tablas sobre fondo oscuro */
.stack .tbl { margin-top: 0; padding-bottom: 24px; }
.stack .tbl table { min-width: 640px; border-spacing: 0 8px; margin-top: -8px; font-size: 14px; }
.stack .tbl--open th { padding: 8px 16px 4px; color: var(--inv-muted); }
.stack .tbl--open td {
  padding: 11px 16px; line-height: 1.4; background: rgba(246, 247, 251, .04); color: var(--inv-muted);
  border-color: var(--stack-line);
}
.stack .tbl--open tr:last-child:not(:hover) td { border-bottom-color: var(--stack-line); }
.stack .tbl--open td:first-child { color: var(--inv-ink); }
.stack .tbl--open td.t { color: var(--inv-ink); }
.stack .tbl--open th.is-us, .stack .tbl--open .is-us, .stack .tbl--open .is-us .ico-yes, .stack .tbl--open td.k { color: var(--inv-accent); }
.stack__tab:has(#comparativa-title) .tbl--open th,
.stack__tab:has(#comparativa-title) .tbl--open td,
.section:has(#comparativa-title) .tbl--open th,
.section:has(#comparativa-title) .tbl--open td { text-align: center; }
.stack .tbl--open td.is-us, .stack .tbl--open tr:last-child td.is-us { background: rgba(246, 247, 251, .04); }
.stack .tbl--open td.is-us--wide { color: var(--inv-ink); }
.stack .tbl--open .is-us::after { top: -10px; border-color: var(--inv-accent); }
.stack .tbl--open th.is-us::after { top: 0; }
.stack .tbl--open tr:last-child td.is-us::after { bottom: -20px; border-color: var(--inv-accent); }
.stack .tbl--open .fase { background: rgba(225, 173, 235, .12); color: var(--inv-accent); }
.stack .ico-yes, .stack .ico-no { color: var(--inv-muted); }
.stack .tbl--open tbody tr { transition: opacity .5s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--r, 0) * 70ms); }
.stack__tab.is-pending tbody tr { opacity: 0; }
@media (min-width: 1100px) {
  .stack .photo-strip { margin: 0 0 16px; }
  .stack .photo-strip .media { height: clamp(150px, 14vw, 180px); border-radius: 14px; }
}
/* kirion.js activa .is-stacked solo si cada pestaña cabe entera en pantalla; si no, quedaría tapada sin llegar a verse */
.stack.is-stacked .stack__tab { position: sticky; top: calc(72px + var(--i) * var(--stack-head)); }
@media (max-width: 1099px) {
  .stack__body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .stack .photo-strip { margin: 0 0 16px; }
}
@media (max-width: 760px) {
  .stack__head { flex-direction: column-reverse; align-items: flex-start; gap: 6px; padding: 16px 20px; }
  .stack__body { padding: 20px; }
}

/* Producto */
.product { display: flex; flex-direction: column; gap: 18px; }
.product__ph {
  height: 320px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--panel-2); overflow: hidden;
}
.product__ph img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product .mono { color: var(--ion); }
.product h2 { font-size: clamp(28px, 2.8vw, 36px); font-weight: 600; font-stretch: 122%; letter-spacing: -.01em; }
.product h3 { font-size: 18px; font-weight: 600; color: var(--ink-2); }
.product p { color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs span { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.panel-ph {
  min-height: 240px; border-radius: var(--radius-md); border: 1px dashed rgba(199, 203, 224, .4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--inv-muted);
}
.panel-shot { flex: 1 1 420px; min-width: 0; }
.panel-shot img { display: block; width: 100%; height: auto; }

/* Referencias */
.refs .big-num { font-size: clamp(56px, 6vw, 88px); color: var(--ion); font-variant-numeric: tabular-nums; }
.refs .grid { text-align: center; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.refs__count { text-align: center; margin-top: 40px; }
.refs p { color: var(--muted); margin-top: 8px; }
.quote { font-size: 19px; line-height: 1.6; margin: 40px 0 0; }
.quote footer { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Historia y equipo */
.timeline { position: relative; max-width: 640px; margin: 56px auto 0; --p: 0; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 96px; }
.timeline li { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 32px; align-items: start; }
.timeline__dot {
  width: 16px; height: 16px; margin-top: calc((clamp(48px, 5vw, 72px) - 16px) / 2);
  border: 2px solid var(--line); border-radius: 50%; background: var(--bg);
  position: relative; z-index: 1;
  transition: background 280ms cubic-bezier(0.22, 1, 0.36, 1), border-color 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.timeline__dot.is-on { border-color: var(--ion); background: var(--ion); box-shadow: 0 0 0 6px rgba(var(--ion-rgb), .12); }
.timeline__rail {
  position: absolute; left: 7px; top: var(--rail-top, 28px); height: var(--rail-h, 0px); width: 2px;
  background: var(--line); border-radius: 999px; overflow: hidden; pointer-events: none;
}
.timeline__fill { display: block; width: 100%; height: 100%; background: var(--ion); transform: scaleY(var(--p)); transform-origin: top center; }
.timeline .big-num { font-size: clamp(48px, 5vw, 72px); color: var(--ink); margin: 0; }
.timeline li p { color: var(--muted); margin: 16px 0 0; max-width: 46ch; }
/* Equipo: dirección con retrato y el resto del equipo por disciplina */
.equipo__lead { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.equipo__card { min-width: 0; }
.equipo__foto { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-lg); background: var(--panel-2); }
.equipo__foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(1); transform: scale(1.01); transition: filter 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.equipo__card h3 { margin-top: 16px; font-size: 20px; font-weight: 600; font-stretch: 115%; line-height: 1.15; }
.equipo__card p { margin-top: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ion); }
.equipo__resto { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.equipo__grupo h3 { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ion); }
.equipo__grupo ul { list-style: none; margin: 12px 0 0; padding: 0; }
.equipo__grupo li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.equipo__grupo li > div { min-width: 0; }
.equipo__grupo strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.equipo__grupo li > div span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.equipo__cara { flex: none; display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: var(--panel-2); color: var(--ion); font-size: 14px; font-weight: 600; font-stretch: 112%; }
.equipo__cara img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(1); transition: filter 300ms cubic-bezier(0.22, 1, 0.36, 1); }
.equipo__in { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--muted); transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1); }
.equipo__in svg { display: block; width: 16px; height: 16px; }
.equipo__in:hover, .equipo__in:focus-visible { color: var(--ion); border-color: var(--ion); box-shadow: 0 0 0 6px rgba(var(--ion-rgb), .12); outline: none; }
.equipo__card > .equipo__in { margin: 12px auto 0; }
@media (hover: hover) {
  .equipo__card:hover img { filter: none; transform: scale(1.04); }
  .equipo__grupo li:hover img { filter: none; }
}
@media (hover: none) { .equipo__foto img, .equipo__cara img { filter: none; } }
@media (max-width: 920px) {
  .equipo__lead, .equipo__resto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .equipo__resto { grid-template-columns: minmax(0, 1fr); }
}
.backing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: stretch; }
.backing .card {
  display: flex; flex-direction: column;
  box-shadow: 0 18px 40px -20px rgba(14, 18, 38, .35);
  transition: border-color 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.backing .card:hover { border-color: var(--ion); }
.backing .outline-num { font-size: 44px; color: var(--ion); -webkit-text-stroke: 0; }
.backing .h3 { margin-top: 8px; font-size: 22px; }
.backing .seals { margin-top: 24px; }
.backing .btn { margin-top: 24px; align-self: flex-start; }
@media (max-width: 860px) {
  .backing { grid-template-columns: minmax(0, 1fr); }
}
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; margin-top: 48px; }
.award { position: relative; overflow: hidden; }
.award > :not(.fan__lines) { position: relative; }
.award .mono { color: var(--ion); }
.award h3 { margin-top: 12px; font-size: 22px; color: inherit; }
.award p:last-child { color: var(--muted); margin-top: 12px; }
.award--ion .mono, .award--ion p:last-child { color: var(--on-ion); }
.award--dark .mono { color: var(--inv-accent); }
.award--dark p:last-child { color: var(--inv-muted); }
.award--lilac .mono, .award--lilac p:last-child { color: var(--ink); }

/* Premios en abanico */
.section-head .actions { justify-content: center; }
.section--fan { overflow-x: clip; }
.fan { margin-top: 48px; }
.fan__stage {
  position: relative; height: 440px; margin: 0; padding: 0; list-style: none;
  perspective: 1800px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.fan__stage:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; border-radius: var(--radius-lg); }
.fan.is-dragging .fan__stage { cursor: grabbing; }
.fan__card {
  position: absolute; left: 50%; top: 50%; width: 250px; aspect-ratio: 250 / 326;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 24px 20px; text-align: center; overflow: hidden;
  border: 1px solid transparent; border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(14, 18, 38, .35);
  transform: translate3d(-50%, -50%, 0);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), filter 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms cubic-bezier(0.22, 1, 0.36, 1);
}
.fan:not(.is-ready) .fan__card:not(:nth-child(3)) { opacity: 0; }
.fan.is-dragging .fan__card,
.fan.is-playing .fan__card { transition: none; }
.fan__card--ion, .award--ion { background: var(--ion); color: var(--on-ion); border-color: transparent; }
.fan__card--dark, .award--dark { background: var(--inv-bg); color: var(--inv-ink); border-color: transparent; }
.fan__card--light, .award--light { background: var(--panel); color: var(--ink); border-color: var(--line); }
.fan__card--soft, .award--soft { background: var(--panel-2); color: var(--ink); border-color: var(--line); }
.fan__card--lilac, .award--lilac { background: var(--ion-soft); color: var(--ink); border-color: transparent; }
.fan__lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .24; pointer-events: none; }
.fan__top, .fan__org { position: relative; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.fan__name { position: relative; font-size: 30px; font-weight: 600; font-stretch: 118%; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
/* Simulación 3D (escenario oscuro dentro de la página clara) */
.sim {
  position: relative; width: 100%; margin-top: 44px; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 9; min-height: 440px; max-height: 86vh;
  border-radius: var(--radius-lg); color: #E8EAF2;
  background: radial-gradient(120% 90% at 50% 30%, #161927 0%, #07080C 62%);
}
.sim__poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(24px, 4vw, 56px); }
.sim__poster-title { font-size: clamp(26px, 3vw, 40px); font-weight: 600; font-stretch: 118%; color: #F4F5FA; }
.sim__poster-status { color: #A5ABC2; font-size: 15px; max-width: 46ch; }
.sim--loading .sim__poster-status::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%;
  background: var(--inv-accent); animation: simPulse 1s ease-in-out infinite;
}
@keyframes simPulse { 50% { opacity: .2; } }
.sim__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sim__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sim__lines line { stroke: rgba(255, 255, 255, .55); stroke-width: 1; }
.sim__lines circle { fill: #FFFFFF; }
.sim__callouts { position: absolute; inset: 0; pointer-events: none; }
.sim__callout {
  position: absolute; left: 0; top: 0; padding: 7px 11px 8px; border-radius: 8px; white-space: nowrap; opacity: 0;
  background: rgba(9, 11, 18, .74); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); will-change: transform, opacity;
}
.sim__callout b { display: block; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--inv-accent); }
.sim__callout span { display: block; margin-top: 2px; font-size: 12.5px; color: #C2C7D8; }
.sim__top { position: absolute; top: clamp(16px, 2.2vw, 26px); left: clamp(16px, 2.2vw, 28px); right: 320px; pointer-events: none; }
.sim__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--inv-accent); }
.sim__title { margin-top: 6px; font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; font-stretch: 118%; letter-spacing: -.01em; color: #F4F5FA; }
.sim__hud {
  position: absolute; top: clamp(14px, 2vw, 22px); right: clamp(14px, 2vw, 22px); width: 272px; padding: 14px 16px;
  border-radius: 14px; background: rgba(9, 11, 18, .62); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12.5px;
}
.sim__facts { margin: 0; display: grid; gap: 6px; }
.sim__facts div { display: flex; justify-content: space-between; gap: 12px; }
.sim__facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8F95AD; }
.sim__facts dd { margin: 0; color: #EEF0F7; font-variant-numeric: tabular-nums; }
.sim__evidence { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); color: #F1D4F7; line-height: 1.45; }
.sim__evidence--top { display: none; }
.sim__legend { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; color: #A5ABC2; font-size: 12px; }
.sim__legend li { display: flex; align-items: center; gap: 9px; }
.sim__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sim__dot--ion { background: #D178E2; box-shadow: 0 0 10px 2px rgba(209, 120, 226, .8); }
.sim__dot--neutral { background: #FFFFFF; box-shadow: 0 0 8px 1px rgba(255, 255, 255, .7); }
.sim__dot--pollutant { background: #C9B79C; }
.sim__note { margin-top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #6F7591; }
.sim__bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 72px clamp(16px, 2.2vw, 28px) clamp(14px, 2vw, 22px);
  background: linear-gradient(0deg, rgba(6, 7, 11, .9) 0%, rgba(6, 7, 11, .6) 55%, rgba(6, 7, 11, 0) 100%);
}
.sim__caption { max-width: 64ch; min-height: 2.9em; font-size: clamp(15px, 1.45vw, 19px); line-height: 1.45; color: #F0F2F8; }
.sim__caption.is-in { animation: simIn .5s ease both; }
@keyframes simIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sim__timeline { display: flex; align-items: stretch; gap: 8px; margin-top: 14px; }
.sim__play {
  flex: none; width: 46px; min-height: 46px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #FFFFFF;
  display: grid; place-items: center;
}
.sim__play::before { content: ""; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.sim__play.is-paused::before { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.sim__play:hover { border-color: var(--inv-accent); }
.sim__chips { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sim__chips::-webkit-scrollbar { display: none; }
.sim__chip {
  position: relative; flex: 1 1 0; min-width: 112px; padding: 8px 10px 10px; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #A5ABC2;
  text-align: left; font: 500 12.5px/1.25 var(--font);
}
.sim__chip small { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: #6F7591; }
.sim__chip:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, .3); }
.sim__chip.is-active { color: #FFFFFF; border-color: rgba(225, 173, 235, .65); background: rgba(201, 112, 219, .16); }
.sim__chip.is-active small { color: var(--inv-accent); }
.sim__chip-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--inv-accent); transform: scaleX(0); transform-origin: left; }
.sim :focus-visible { outline: 2px solid var(--inv-accent); outline-offset: 2px; }
@media (max-width: 900px) {
  .sim__hud { display: none; }
  .sim__top { right: clamp(16px, 2.2vw, 28px); }
  .sim__evidence--top { display: block; margin-top: 8px; padding-top: 0; border-top: 0; font-size: 13px; }
}
@media (max-width: 720px) {
  .sim { aspect-ratio: 3 / 4; min-height: 0; max-height: none; border-radius: var(--radius-md); }
  .sim__callout { padding: 5px 8px 6px; }
  .sim__callout span { display: none; }
  .sim__caption { font-size: 14.5px; min-height: 4.4em; }
  .sim__chip { min-width: 104px; }
  .sim__bottom { padding-top: 48px; }
}

/* Simulación por capas (fondo claro, etapas en fila) */
.capas {
  position: relative; width: 100%; margin-top: 44px; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 8; min-height: 380px; max-height: 80vh;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(110% 120% at 50% 18%, #FBFBFE 0%, #EEF0F7 60%, #E6E9F2 100%);
}
.capas .sim__poster { color: var(--ink); }
.capas .sim__poster-title { color: var(--ink); }
.capas .sim__poster-status { color: var(--muted); }
.capas .sim__kicker { color: var(--ion); }
.capas.sim--loading .sim__poster-status::after { background: var(--ion); }
.capas__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.capas__labels { position: absolute; inset: 0; pointer-events: none; }
.capas__label {
  position: absolute; left: 0; top: 0; text-align: center; white-space: nowrap; color: #A4A9BD;
  opacity: 0; transition: color .45s ease; will-change: transform;
}
.capas__label b { display: block; font: 700 12px/1.25 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.capas__label i { display: block; margin-top: 3px; font: italic 400 15px/1.3 var(--font); }
.capas__label.is-active { color: var(--ink); }
.capas__label.is-active i { color: var(--ion); }
.capas--tall .capas__label { white-space: normal; width: 96px; }
.capas--despiece.capas--tall .capas__label { width: 200px; }
.capas--tall .capas__label b { font-size: 10px; letter-spacing: .1em; }
.capas--tall .capas__label i { font-size: 13px; }
/* Especies reactivas sobre la capa de plasma */
.capas__tag {
  position: absolute; left: 0; top: 0; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--panel); border: 1px solid var(--ion-soft); color: var(--ion);
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em;
  opacity: 0; will-change: transform;
}
.capas--tall .capas__tag { font-size: 11px; padding: 4px 10px; }
/* Entrada y salida del aire */
.capas__flow {
  position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--muted);
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; will-change: transform;
}
.capas--tall .capas__flow { font-size: 9px; }
@media (max-width: 720px) {
  .capas { aspect-ratio: 1 / 1; min-height: 0; max-height: none; border-radius: var(--radius-md); }
}

/* Formulario */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel-2); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ion); outline-offset: 1px; border-color: var(--ion); }
.field--full { grid-column: 1 / -1; }
.check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ion); flex: none; }
.form__status { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); min-height: 1.4em; }
.form .btn { justify-self: start; border: 0; }

/* Páginas de texto */
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; font-weight: 600; font-stretch: 115%; margin-top: 40px; }
.prose p { color: var(--ink-2); margin-top: 14px; }
.prose .lead { margin-top: 20px; }
.prose ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink-2); }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--ion); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .prose__date { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.prose .btn { margin-top: 4px; }
/* Dato legal que falta: visible para no publicarlo por error */
.pending { padding: 0 6px; border: 1px dashed var(--ion); border-radius: 4px; color: var(--ion); }
.cookie-declaration { margin-top: 20px; color: var(--ink-2); font-size: 15px; overflow-x: auto; }

/* Pie */
.site-footer {
  padding: 64px 0 40px; font-size: 14px;
  background: radial-gradient(60% 120% at 85% 0%, rgba(var(--ion-rgb), .28), transparent 70%), var(--inv-bg);
  color: var(--inv-muted);
}
.site-footer a { color: var(--inv-ink); }
.site-footer a:hover { color: var(--inv-accent); }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-footer__grid {
  display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 48px 64px; align-items: start;
}
.site-footer__brand { min-width: 0; }
.site-footer__brand .brand { font-size: 21px; }
.site-footer__brand p { margin-top: 16px; max-width: 32ch; line-height: 1.6; }
.site-footer .lang-menu { margin-top: 24px; z-index: 5; }
.site-footer .lang-menu__btn { background: transparent; color: var(--inv-ink); border-color: rgba(246, 247, 251, .45); }
.site-footer .lang-menu__btn:hover,
.site-footer .lang-menu__btn:focus-visible,
.site-footer .lang-menu.is-open .lang-menu__btn {
  border-color: var(--inv-ink); box-shadow: 0 0 0 6px rgba(246, 247, 251, .12);
}
.site-footer .lang-menu__list { right: auto; left: 0; }
.site-footer .lang-menu.is-open .lang-menu__list { position: static; margin-top: 8px; width: max-content; }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.site-footer__title {
  margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--inv-accent);
}
.site-footer__cols a { display: block; margin-top: 12px; color: var(--inv-muted); text-decoration: none; }
.site-footer__cols a:hover { color: var(--inv-ink); }
.site-footer__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(246, 247, 251, .12); color: rgba(199, 203, 224, .7); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:nth-child(2) { padding-right: 0; }
}
@media (max-width: 1000px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:nth-child(2) { padding-right: 0; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--line);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
    box-shadow: 0 24px 40px -28px rgba(14, 18, 38, .4);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav > a:not(.btn), .nav-dd__btn { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); width: 100%; text-align: left; }
  .site-nav a[aria-current="page"], .nav-dd__btn.is-current { box-shadow: inset 3px 0 0 var(--ion); padding-left: 12px; }
  .nav-dd__menu { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; background: transparent; }
  .nav-dd__menu::before { display: none; }
  .nav-dd__btn::after { display: none; }
  .site-nav .btn { margin-top: 8px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li:first-child { padding: 28px 0 0; }
  .steps li + li { margin-top: 28px; }
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero--night br { display: none; }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .choices__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .choices__grid > li,
  .choices__grid > li:first-child,
  .choices__grid > li:last-child {
    border-left: 0; padding: 24px 0 0;
    border-top: 1px solid rgba(246, 247, 251, .12);
  }
  .choices__grid > li:first-child { border-top: 0; padding-top: 0; }
  .sectors { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .sector, .sector:nth-child(1), .sector:nth-child(2) { grid-column: auto; grid-row: span 6; }
  .hero__veil { background: linear-gradient(180deg, rgba(246, 247, 251, .3) 0%, rgba(246, 247, 251, .88) 38%, rgba(246, 247, 251, .88) 100%); }
  .story__steps > li { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .story__steps .outline-num { font-size: 34px; }
  .story__nums { grid-template-columns: minmax(0, 1fr); }
  .timeline ol { gap: 64px; }
  .fan__stage { height: 340px; }
  .fan__card { width: 196px; padding: 20px 16px; }
  .fan__name { font-size: 24px; }
}
@media (max-width: 520px) {
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat:nth-child(3) { padding: 28px 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .site-footer__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
