/* ==========================================================================
   NO ZOMBIE — Estilos de la landing
   Fuente de diseño: "Web No Zombie MX.ai" (escritorio, mesas de 1015 px) y
   "Web No Zombie MX_mobile.ai" (celular, mesas de 1080 px).

   SISTEMA DE COORDENADAS
   Cada sección tiene un .stage del tamaño de su mesa de trabajo. Los elementos
   .abs llevan en línea su posición del .ai en px de diseño:
     --dx / --dy / --dw / --dfs  → escritorio (x, y, ancho, tamaño de letra)
   y aquí se definen --mx / --my / --mw / --mfs para celular.
   --base convierte 1 px de diseño a px reales:
     escritorio: ancho de pantalla (máx. 1440) / 1015
     celular:    ancho de pantalla (máx. 640)  / 1080
   Así la composición conserva las proporciones del cartel en cualquier ancho.
   .kblock es un grupo con su propia escala (--ks) y coordenadas internas (--k).
   ========================================================================== */

/* ---------- Reset mínimo ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 3.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--nz-coal);
  color: var(--nz-bone);
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, ul, dl, dd { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--nz-yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--nz-bone);
  color: var(--nz-coal);
  font-weight: var(--font-weight-bold);
}
.skip-link:focus { top: var(--space-4); }

.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;
}
.m-only { display: none; }
.m-only-block { display: none; }

/* ==========================================================================
   Sistema de coordenadas del diseño
   ========================================================================== */
:root {
  --base: calc(min(100vw, 1440px) / 1015);
  --k: var(--base);
}
.stage {
  position: relative;
  width: calc(1015 * var(--base));
  height: calc(var(--h, 563) * var(--base));
  margin: 0 auto;
}
.abs {
  --x: var(--dx, 0);
  --y: var(--dy, 0);
  --w: var(--dw);
  --f: var(--dfs);
  position: absolute;
  left: calc(var(--x) * var(--base));
  top: calc(var(--y) * var(--base));
  width: calc(var(--w) * var(--base));
  font-size: calc(var(--f) * var(--base));
  max-width: none; /* las piezas pueden salirse de la mesa, como en el .ai */
}
/* Centrado horizontal en la mesa (elementos sin --dx en el .ai centrados) */
.cx { left: 0; right: 0; margin-inline: auto; text-align: center; }
.kblock {
  --k: calc(var(--ks, 1) * var(--base));
  width: calc(var(--kw) * var(--k));
  height: calc(var(--kh) * var(--k));
}
.kblock > * { position: absolute; }

/* Tipografías del diseño */
.display {
  font-family: var(--font-family-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
.mono {
  font-family: var(--font-family-mono);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
/* Titulares: inclinación vertical del .ai (la línea base sube a la derecha) */
.title-skew {
  width: max-content;
  font-family: var(--font-family-display);
  font-weight: 400;
  transform: skewY(-4.6deg);
  transform-origin: 100% 0;
}
/* Metal Heaven no trae acentos: en el .ai están dibujados a mano */
.acc { position: relative; }
.acc::after {
  content: "";
  position: absolute;
  left: 0.2em;
  top: -0.17em;
  width: 0.22em;
  height: 0.15em;
  background: currentColor;
  clip-path: polygon(58% 0, 100% 0, 42% 100%, 0 100%);
}

/* ---------- Botones con borde irregular (formas del .ai) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--bw, 185) * var(--base));
  height: calc(var(--bh, 56) * var(--base));
  padding: 0;
  border: 0;
  background: url("../img/nz/btn-rojo.svg") center / 100% 100% no-repeat;
  color: var(--nz-bone);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  font-size: calc(var(--bf, 20) * var(--base));
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-rapida) var(--golpe), filter var(--t-rapida) var(--golpe);
}
.btn:not(.abs) { position: relative; }
/* Área táctil mínima de 44 px sin cambiar el dibujo del botón */
.btn::after,
.venom__tab::after {
  content: "";
  position: absolute;
  inset: min(0px, calc(50% - 22px));
}
.btn:hover {
  transform: translate(calc(-3px * var(--amp)), calc(-3px * var(--amp))) rotate(calc(-1deg * var(--amp)));
  filter: drop-shadow(calc(4px * var(--amp)) calc(4px * var(--amp)) 0 var(--nz-ink));
}
.btn:active { transform: translate(1px, 2px); filter: none; transition-duration: 80ms; }
.btn--outline { background-image: url("../img/nz/btn-borde-trazo.webp"), url("../img/nz/btn-borde.svg"); background-size: 100% 100%; }
.btn--amazon { --bh: 44; --bf: 16; background-image: url("../img/nz/btn-amazon.svg"); }
.btn--soon {
  --bh: 44; --bf: 16;
  background-image: url("../img/nz/btn-amarillo.svg");
  color: var(--nz-coal);
  cursor: default;
}
.btn--soon:hover, .btn--soon:active { transform: none; filter: none; }
.btn--quiz {
  --bw: 146; --bh: 76; --bf: 17.5;
  background-image: url("../img/nz/btn-quiz.svg");
  line-height: calc(26 / 17.5);
}
.btn--header {
  width: auto;
  height: 2.75rem;
  padding: 0 1.4rem;
  font-size: 1rem;
}

/* ==========================================================================
   Header (no viene en el .ai: se conserva, con la estética nueva)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nz-coal);
  color: var(--nz-bone);
  border-bottom: 1px solid rgb(242 237 228 / 0.14);
  transition: background-color var(--duration-normal) var(--easing-default);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: var(--max-width-page);
  margin: 0 auto;
  height: 4rem;
  padding: 0 var(--gutter);
  transition: height var(--duration-normal) var(--easing-default);
}
.site-header.is-compact .site-header__inner { height: 3.5rem; }
.site-header.is-compact { background: rgb(34 35 35 / 0.94); backdrop-filter: blur(6px); }
.site-header__brand { display: flex; align-items: center; min-height: 2.75rem; flex-shrink: 0; }
.site-header__brand img { width: 8rem; transition: width var(--duration-normal) var(--easing-default); }
.site-header.is-compact .site-header__brand img { width: 7rem; }
.site-header__nav { display: none; }

@media (min-width: 1024px) {
  .site-header__nav {
    display: flex;
    gap: var(--space-6);
    margin-left: auto;
    margin-right: var(--space-5);
  }
  .site-header__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-heading);
    font-size: 1.0625rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color var(--duration-fast) var(--easing-default);
  }
  .site-header__nav a:hover { border-bottom-color: var(--nz-red); }
}

/* ==========================================================================
   HERO — carrusel de 3 (mesas HERO 01/02/03)
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--nz-coal); }
.hero__slides { position: relative; height: calc(563 * var(--base)); }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background: var(--nz-coal) center / cover no-repeat;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide--1 { background-image: url("../img/nz/bg-coal.webp"); }
.slide--2.is-ready { background-image: url("../img/nz/bg-hero2.webp"); }
.slide--3.is-ready { background-image: url("../img/nz/bg-hero3.webp"); background-position: 50% 50%; }
.stage--overlay { position: absolute; inset: 0; pointer-events: none; }
.stage--overlay > * { pointer-events: auto; }

.hero1__title,
.hero2__title,
.hero2__sub,
.hero3__title { color: var(--nz-bone); }
.hero1__title { line-height: calc(94 / 115.5); text-shadow: -0.06em 0.09em 0 var(--nz-ink); }
.hero1__title .acc::after { left: 0.17em; top: -0.12em; }
.hero2__title { line-height: 1; text-shadow: -0.077em 0.077em 0 rgb(0 0 0 / 0.45); }
.hero2__sub { color: var(--nz-red); line-height: 1; text-shadow: -0.217em 0.217em 0 rgb(0 0 0 / 0.45); }
.hero2__sub .acc::after { left: 0.17em; top: -0.1em; }
.hero3__title { line-height: calc(76 / 93); text-shadow: -0.097em 0.129em 0 rgb(0 0 0 / 0.45); }
.hero1__tag { color: var(--nz-bone); white-space: nowrap; }

.hero__controls { display: flex; align-items: center; gap: calc(4 * var(--base)); }
.hero__dots { display: flex; }
.hero__dot {
  position: relative;
  width: max(32px, calc(14 * var(--base)));
  height: max(24px, calc(14 * var(--base)));
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hero__dot::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: max(7px, calc(7 * var(--base)));
  height: max(7px, calc(7 * var(--base)));
  border-radius: 50%;
  background: var(--nz-bone);
  opacity: 0.35;
  transition: opacity var(--duration-normal) var(--easing-default);
}
.hero__dot[aria-current="true"]::before { opacity: 1; }
.hero__dot::after,
.hero__pause::after { content: ""; position: absolute; inset: min(0px, calc(50% - 22px)) 0; }
.hero__pause {
  position: relative;
  width: 32px; height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--nz-bone);
  cursor: pointer;
  opacity: 0.6;
}
.hero__pause:hover { opacity: 1; }
.hero__pause-icon {
  display: block;
  width: 8px; height: 10px;
  margin: auto;
  border-inline: 3px solid currentColor;
}
.hero__pause[aria-pressed="true"] .hero__pause-icon {
  width: 0; height: 0;
  border-inline: 0;
  border-left: 9px solid currentColor;
  border-block: 5px solid transparent;
}

/* ==========================================================================
   CINTILLO (marquesina roja)
   ========================================================================== */
.ticker {
  position: relative;
  overflow: hidden;
  background: var(--nz-red);
  color: var(--nz-bone);
}
.ticker__track { display: flex; width: max-content; }
.ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: calc(22 * var(--base));
  padding: 0 calc(22 * var(--base)) 0 0;
  height: calc(66 * var(--base));
  list-style: none;
  font-family: var(--font-family-display);
  font-size: max(14px, calc(20.9 * var(--base)));
  line-height: 1;
  white-space: nowrap;
}
.ticker__sep img { height: calc(42 * var(--base)); width: auto; }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: ticker var(--duration-ticker) linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } }

/* ==========================================================================
   ELIGE TU VENENO (mesas ELIGE TU VENENO ×3)
   ========================================================================== */
.venom {
  background: var(--nz-bone) url("../img/nz/bg-bone.webp") center / cover;
  color: var(--nz-coal);
  overflow: hidden;
}
.venom .stage { --h: 650; }
.venom__title { left: 0; right: 0; text-align: center; line-height: calc(66 / 81.3); }
.venom__brush { left: 0; right: 0; margin-inline: auto; }
.venom__sub { left: 0; right: 0; text-align: center; }

.venom__tabs { display: flex; z-index: 2; } /* encima de los paneles, que ocupan toda la mesa */
.venom__tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(14 * var(--k));
  width: calc(276 * var(--k));
  height: calc(63 * var(--k));
  margin-right: calc(-1 * var(--k));
  padding: 0;
  border: 0;
  background: url("../img/nz/tab-inactivo.svg") center / 100% 100% no-repeat;
  color: var(--nz-coal);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--easing-out);
}
.venom__tab:hover { transform: translateY(-2px); }
.venom__tab[aria-selected="true"] { background-image: url("../img/nz/tab-activo.svg"); color: var(--nz-bone); }
.venom__tab:focus-visible { outline-offset: -6px; }
.venom__tab-num { font-family: var(--font-family-display); font-size: calc(31.3 * var(--k)); line-height: 1; }
.venom__tab-name {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  font-size: calc(20 * var(--k));
  line-height: 1;
}

.venom__panel { position: absolute; inset: 0; }
.venom__panel[hidden] { display: none; }
.venom__panel:focus-visible { outline: none; }
.venom__badges { display: grid; gap: calc(6 * var(--base)); }
.venom__badges img { width: 100%; }

.venom__label { font-size: max(12px, calc(15 * var(--base))); letter-spacing: -0.025em; line-height: calc(19 / 15); }
.venom__name {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  font-size: calc(31.3 * var(--base));
  line-height: calc(38 / 31.3);
}
.venom__desc {
  max-width: calc(347 * var(--base));
  margin-top: calc(20 * var(--base));
  font-size: max(14px, calc(18 * var(--base)));
  line-height: calc(20 / 18);
  letter-spacing: -0.025em;
}
.venom__sabor {
  font-family: var(--font-family-mono);
  font-size: max(12px, calc(14 * var(--base)));
  line-height: calc(15 / 14);
  letter-spacing: -0.06em;
}
.venom__rule { width: 1px; height: calc(315 * var(--base)); background: var(--nz-coal); }
.venom__fallback { position: absolute; top: 40%; left: 10%; }

@media (prefers-reduced-motion: no-preference) {
  .venom__panel.is-entering .venom__bag { animation: nz-azote var(--t-normal) var(--golpe) backwards; }
  .venom__panel.is-entering .venom__badges img { animation: nz-ficha var(--t-rapida) var(--golpe) backwards; }
  .venom__panel.is-entering .venom__badges img:nth-child(1) { animation-delay: calc(var(--t-rapida) + 0ms); }
  .venom__panel.is-entering .venom__badges img:nth-child(2) { animation-delay: calc(var(--t-rapida) + 40ms); }
  .venom__panel.is-entering .venom__badges img:nth-child(3) { animation-delay: calc(var(--t-rapida) + 80ms); }
  .venom__panel.is-entering .venom__badges img:nth-child(4) { animation-delay: calc(var(--t-rapida) + 120ms); }
  .venom__panel.is-entering .venom__info { animation: nz-texto var(--t-normal) var(--golpe) 60ms backwards; }
}

/* ==========================================================================
   MANIFIESTO
   ========================================================================== */
.manifesto {
  background: var(--nz-coal) url("../img/nz/bg-manifiesto.webp") center / cover;
  color: var(--nz-bone);
  overflow: hidden;
}
.manifesto .stage { --h: 354; }
.manifesto__block { --kw: 320; --kh: 300; }
.manifesto__title {
  left: calc(28 * var(--k));
  top: calc(88 * var(--k));
  font-size: calc(74.3 * var(--k));
  line-height: calc(60 * var(--k));
  color: var(--nz-bone);
  text-shadow: calc(-16 * var(--k)) calc(15 * var(--k)) 0 #000;
}
.manifesto__no { font-size: calc(145 * var(--k)); color: var(--nz-red); line-height: 0; }
.manifesto__dots { color: var(--nz-red); }
.manifesto__hand { left: calc(168 * var(--k)); top: calc(14 * var(--k)); width: calc(88 * var(--k)); }
.manifesto__note { left: calc(252 * var(--k)); top: calc(4 * var(--k)); width: calc(61 * var(--k)); }
.manifesto__rule { width: 1px; height: calc(262 * var(--base)); background: var(--nz-bone); }
.manifesto__p {
  font-size: max(14px, calc(18 * var(--base)));
  line-height: calc(20 / 18);
  letter-spacing: -0.025em;
  text-align: justify;
  text-align-last: left;
  hyphens: manual;
}
.manifesto__quote {
  width: calc(421 * var(--base));
  margin: calc(14 * var(--base)) auto calc(10 * var(--base));
  font-size: calc(25 * var(--base));
  line-height: calc(29 / 25);
  color: var(--nz-red);
  text-align: center;
}
.manifesto__fair {
  left: 0; right: 0;
  font-family: var(--font-family-heading);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  color: var(--nz-yellow);
}

/* ==========================================================================
   QUIZ
   ========================================================================== */
.quiz {
  background: var(--nz-bone) url("../img/nz/bg-quiz.webp") center / cover;
  color: var(--nz-coal);
  overflow: hidden;
}
.quiz .stage { --h: 353; }
.quiz__ask { white-space: nowrap; }
.quiz__block { --kw: 377; --kh: 222; }
.quiz__title { position: absolute; inset: 0; font-weight: 400; }
.quiz__l1, .quiz__l2 { position: absolute; left: 0; white-space: nowrap; color: var(--nz-red); line-height: 1; }
.quiz__l1 { top: 0; font-size: calc(98.5 * var(--k)); }
.quiz__l2 { top: calc(94 * var(--k)); font-size: calc(119.8 * var(--k)); }
.quiz__l1 .acc::after { left: 0.16em; top: -0.12em; }
.quiz__l2 .acc::after { left: 0.16em; top: -0.12em; }
.quiz__fck { left: calc(47 * var(--k)); top: calc(54 * var(--k)); width: calc(290 * var(--k)); pointer-events: none; }
.quiz__lead { text-align: center; letter-spacing: 0.075em; line-height: 1.3; }
.quiz__lead { font-size: max(13px, calc(15 * var(--base))); }

/* ==========================================================================
   CAFÉ SIN FILTRO (video + métodos)
   ========================================================================== */
.brew {
  position: relative;
  background: var(--nz-red) url("../img/nz/bg-red.webp") center / cover;
  color: var(--nz-bone);
  overflow: hidden;
}
.brew .stage { --h: 896; }
.brew__band {
  position: absolute;
  left: 0; right: 0;
  top: calc(301 * var(--base));
  height: calc(311 * var(--base));
  background: var(--nz-coal) url("../img/nz/bg-band.webp") center / cover;
}
.brew__title { color: var(--nz-coal); line-height: calc(66 / 81.3); }
.brew__title .acc::after { left: 0.15em; top: -0.07em; }
.brew__rule { width: calc(110 * var(--base)); height: max(1px, calc(1.5 * var(--base))); background: var(--nz-bone); }
.brew__tag, .brew__ask { line-height: calc(22 / 21); }
.brew__video {
  width: calc(548 * var(--base));
  height: calc(312 * var(--base));
  background: var(--nz-bone);
}
.brew__video video { width: 100%; height: 100%; object-fit: cover; }
.brew__toggle {
  position: absolute;
  right: var(--space-2);
  bottom: var(--space-2);
  min-height: 2.75rem;
  padding: 0 var(--space-3);
  border: 2px solid var(--nz-bone);
  background: rgb(23 24 25 / 0.75);
  color: var(--nz-bone);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  font-size: 0.875rem;
  cursor: pointer;
}
.brew__toggle:hover { background: var(--nz-bone); color: var(--nz-coal); }

.brew__methods {
  position: absolute;
  left: 0;
  top: calc(400 * var(--base));
  width: 100%;
  height: calc(496 * var(--base));
}
.brew__list {
  display: flex;
  justify-content: center;
  gap: calc(38 * var(--base));
  padding: 0;
  list-style: none;
}
.method { width: calc(248 * var(--base)); text-align: center; }
.method[hidden] { display: none; }
.method__head { display: none; }
.method__art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: calc(198 * var(--base));
}
.method__art img { width: auto; height: calc(var(--alto, 198) * var(--base)); }
.method__name {
  margin-top: calc(24 * var(--base));
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  font-size: calc(20 * var(--base));
  line-height: calc(24 / 20);
}
.method__quip {
  min-height: calc(30 * var(--base));
  margin-top: calc(7 * var(--base));
  font-size: max(11px, calc(13 * var(--base)));
  line-height: calc(15 / 13);
  letter-spacing: -0.025em;
}
.method__rule { height: 1px; margin-top: calc(17 * var(--base)); background: var(--nz-bone); }
.method__specs {
  display: grid;
  gap: calc(14 * var(--base));
  margin-top: calc(21 * var(--base));
  font-family: var(--font-family-mono);
  font-size: max(11px, calc(14 * var(--base)));
  line-height: 1;
  letter-spacing: -0.1em;
}
.method__specs dt { display: inline; font-weight: 700; }
.method__specs dt::after { content: " | "; }
.method__specs dd { display: inline; }

.brew__arrow {
  position: absolute;
  top: calc(98 * var(--base));
  display: grid;
  place-items: center;
  width: max(44px, calc(40 * var(--base)));
  height: max(44px, calc(40 * var(--base)));
  margin: calc(-7 * var(--base)) 0 0 calc(-13 * var(--base));
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--easing-out), opacity var(--duration-fast);
}
.brew__arrow img { width: calc(13 * var(--base)); min-width: 10px; }
.brew__arrow--prev { left: calc(48 * var(--base)); }
.brew__arrow--next { left: calc(954 * var(--base)); }
.brew__arrow--next img { transform: scaleX(-1); }
.brew__arrow:hover { transform: scale(1.12); }
.brew__arrow[disabled] { opacity: 0.25; cursor: default; transform: none; }

/* ==========================================================================
   REDES + PIE
   ========================================================================== */
.tribe {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--nz-coal);
  color: var(--nz-bone);
}
/* Foto al 66 % en modo luminosidad sobre carbón, como en el .ai */
.tribe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/nz/bg-redes.webp") no-repeat;
  background-size: calc(1267 * var(--base)) auto;
  background-position: calc(50% - 126 * var(--base)) calc(-91 * var(--base));
  filter: grayscale(1) brightness(0.82) contrast(1.08);
  opacity: 0.66;
}
.tribe .stage { --h: 322; }
.tribe__pol { pointer-events: none; }
/* Las notas a mano son decorativas: no deben tapar clics */
[class*="__note"], .hero1__stamp, .quiz__mark, .quiz__zob { pointer-events: none; }
.tribe__block { --kw: 491; --kh: 170; }
.tribe__lead {
  left: calc(26 * var(--k));
  top: 0;
  width: calc(470 * var(--k));
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  font-size: max(11px, calc(12 * var(--k)));
  line-height: 1.2;
}
.tribe__ig, .tribe__pl {
  display: block;
  height: calc(66 * var(--k));
  text-decoration: none;
  background: center / 100% 100% no-repeat;
}
.tribe__ig > *, .tribe__pl > * { position: absolute; }
.tribe__ig {
  left: 0; top: calc(43 * var(--k));
  width: calc(297 * var(--k));
  background-image: url("../img/nz/redes-forma-ig.svg");
  color: var(--nz-bone);
  transition: transform var(--duration-fast) var(--easing-out);
}
.tribe__ig:hover,
.tribe__pl:hover { transform: translate(-2px, -2px); }
.tribe__pl { transition: transform var(--duration-fast) var(--easing-out); }
.tribe__pl {
  left: calc(280 * var(--k)); top: calc(45 * var(--k));
  width: calc(211 * var(--k));
  height: calc(64 * var(--k));
  background-image: url("../img/nz/redes-forma-playlist.svg");
  color: var(--nz-coal);
}
.tribe__ig .tribe__icon { left: calc(19 * var(--k)); top: calc(12 * var(--k)); width: calc(42 * var(--k)); }
.tribe__ig .tribe__name { left: calc(79 * var(--k)); top: calc(13 * var(--k)); }
.tribe__ig .tribe__handle { left: calc(93 * var(--k)); top: calc(44 * var(--k)); }
.tribe__pl .tribe__icon { left: calc(53 * var(--k)); top: calc(10 * var(--k)); width: calc(44 * var(--k)); }
.tribe__pl .tribe__name { left: calc(111 * var(--k)); top: calc(9 * var(--k)); }
.tribe__pl .tribe__handle { right: calc(14 * var(--k)); top: calc(41 * var(--k)); }
.tribe__name {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  font-size: calc(24 * var(--k));
  line-height: 1.2;
  white-space: nowrap;
}
.tribe__handle { font-size: max(12px, calc(12 * var(--k))); letter-spacing: -0.025em; line-height: 1.25; white-space: nowrap; }
.tribe__skull { left: calc(217 * var(--k)); top: calc(36 * var(--k)); width: calc(100 * var(--k)); z-index: 1; pointer-events: none; }
.tribe__legal {
  left: calc(18 * var(--k)); top: calc(128 * var(--k));
  width: calc(327 * var(--k));
  min-height: calc(36 * var(--k));
  padding: calc(8 * var(--k)) calc(29 * var(--k)) calc(7 * var(--k)) calc(16 * var(--k));
  background: url("../img/nz/redes-forma-legal.svg") center / 100% 100% no-repeat;
  color: var(--nz-coal);
  font-size: max(12px, calc(7.4 * var(--k)));
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.tribe__legal a { padding-block: 14px; font-weight: 600; } /* área táctil más alta sin mover el texto */
.tribe__brain { left: calc(307 * var(--k)); top: calc(120 * var(--k)); width: calc(50 * var(--k)); }
.tribe__copy {
  left: calc(376 * var(--k)); top: calc(136 * var(--k));
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  font-size: max(12px, calc(9.9 * var(--k)));
  white-space: nowrap;
}

/* ==========================================================================
   CELULAR (< 900 px) — composición de "Web No Zombie MX_mobile.ai"
   ========================================================================== */
@media (max-width: 899px) {
  :root { --base: calc(min(100vw, 640px) / 1080); }
  .m-only { display: inline; }
  .m-only-block { display: block; }
  .d-only { display: none; }
  .stage { width: calc(1080 * var(--base)); height: calc(var(--mh, 1920) * var(--base)); }
  .abs {
    --x: var(--mx, var(--dx, 0));
    --y: var(--my, var(--dy, 0));
    --w: var(--mw, var(--dw));
    --f: var(--mfs, var(--dfs));
  }

  /* Hero */
  .hero__slides { height: calc(1920 * var(--base)); }
  .hero .btn { --bw: 388; --bh: 118; --bf: 42; }
  .hero__btn1 { --mx: 80; --my: 1492; }
  .hero__btn2 { --mx: 612; --my: 1492; }
  .slide--1 { background-image: url("../img/nz/m-bg-hero1.webp"); }
  .slide--2.is-ready { background-image: url("../img/nz/m-bg-hero2.webp"); }
  .hero1__title { --mx: 133; --my: 113; --mfs: 205.6; }
  .hero1__tag { --mx: 179; --my: 733; --mfs: 44.5; font-size: max(14px, calc(44.5 * var(--base))); }
  .hero1__bags { --mx: 12; --my: 770; --mw: 1056; }
  .hero1__mnote { --mx: 856; --my: 1635; --mw: 153; }
  .hero1__stamp { --mx: 82; --my: 1738; --mw: 146; }
  .hero2__zob { --mx: -366; --my: 632; --mw: 1446; }
  .hero2__title { --mx: 59; --my: 167; --mfs: 372; }
  .hero2__sub { --mx: 59; --my: 515; --mfs: 132; }
  .hero2__mnote { --mx: 467; --my: 1609; --mw: 153; }
  .hero3__title { --mx: 69; --my: 118; --mfs: 186; }
  .hero3__mnote { --mx: 751; --my: 1648; --mw: 229; }
  .slide--3.is-ready { background-image: url("../img/nz/m-bg-hero3.webp"); background-position: 50% 50%; }
  .hero__controls { --mx: 0; --my: 1865; left: 0; right: 0; justify-content: center; }

  /* Cintillo */
  .ticker__group { height: calc(125 * var(--base)); gap: calc(40 * var(--base)); padding-right: calc(40 * var(--base)); font-size: max(14px, calc(40 * var(--base))); }
  .ticker__sep img { height: calc(80 * var(--base)); }

  /* Elige tu veneno */
  .venom .stage { height: auto; padding-bottom: calc(110 * var(--base)); }
  .venom__title { --my: 90; --mfs: 134; }
  .venom__brush { --my: 250; --mw: 813; }
  .venom__sub { --my: 315; font-size: max(14px, calc(42 * var(--base))); }
  .venom__tabs { --mx: 40; --my: 410; --k: calc(1.21 * var(--base)); }
  .venom__tab { width: calc(333.3 * var(--base)); height: calc(77 * var(--base)); margin-right: 0; gap: calc(12 * var(--base)); }
  .venom__tab-num { font-size: calc(51.6 * var(--base)); }
  .venom__tab-name { font-size: max(12px, calc(33 * var(--base))); }
  .venom__panel { position: relative; inset: auto; padding: calc(1235 * var(--base)) calc(80 * var(--base)) 0; }
  .venom__bag { --mx: 289; --my: 520; --mw: 675; }
  .venom__badges { --mx: 116; --my: 657; --mw: 134; gap: calc(16 * var(--base)); }
  .venom__info, .venom__buy, .venom__sabor { position: static; width: auto; }
  .venom__label { font-size: max(13px, calc(34 * var(--base))); }
  .venom__name { margin-top: calc(8 * var(--base)); font-size: calc(68 * var(--base)); line-height: 1.15; }
  .venom__desc { max-width: none; margin-top: calc(22 * var(--base)); font-size: max(15px, calc(33 * var(--base))); line-height: 1.35; }
  .venom__buy { margin-top: calc(40 * var(--base)); text-align: center; }
  .venom__buy .btn { --bw: 462; --bh: 110; --bf: 38; }
  .venom__sabor { margin-top: calc(30 * var(--base)); font-size: max(13px, calc(27 * var(--base))); line-height: 1.35; }
  .venom__rule { display: none; }

  /* Manifiesto */
  .manifesto .stage { height: auto; padding: calc(972 * var(--base)) calc(80 * var(--base)) calc(130 * var(--base)); }
  .manifesto__block { --mx: 75.5; --my: 82; --ks: 2.79; }
  .manifesto__rule { display: none; }
  .manifesto__body, .manifesto__fair { position: static; width: auto; }
  .manifesto__p { font-size: max(15px, calc(34 * var(--base))); line-height: 1.35; }
  .manifesto__quote { width: auto; margin: calc(40 * var(--base)) 0; font-size: calc(50 * var(--base)); line-height: 1.15; }
  .manifesto__p + .manifesto__quote + .manifesto__p { margin-top: 0; }
  .manifesto__fair { margin-top: calc(50 * var(--base)); font-size: max(13px, calc(31 * var(--base))); line-height: 1.35; }

  /* Quiz */
  .quiz .stage { --mh: 1920; }
  .quiz__mark { --mx: 23; --my: -128; --mw: 1012; }
  .quiz__zob { --mx: 210; --my: 304; --mw: 664; }
  .quiz__ask { --mx: 0; --my: 110; left: 0; right: 0; text-align: center; font-size: max(15px, calc(44 * var(--base))); }
  .quiz__block { --mx: 97; --my: 844; --ks: 2.35; }
  .quiz__cta { --mx: 365; --my: 1426; --bw: 350; --bh: 182; --bf: 42; line-height: 1.5; }
  .quiz__note { --mx: 703; --my: 1534; --mw: 137; }
  .quiz__lead { --mx: 0; --my: 1745; --mw: 1080; font-size: max(13px, calc(33 * var(--base))); letter-spacing: 0.03em; padding-inline: calc(40 * var(--base)); }

  /* Café sin filtro */
  .brew .stage { height: auto; padding: calc(1920 * var(--base)) 0 calc(130 * var(--base)); }
  .brew__band { top: calc(1560 * var(--base)); height: calc(1440 * var(--base)); }
  .brew__title { --my: 140; --mfs: 195; left: 0; right: 0; text-align: center; }
  .brew__rule { --my: 537; left: 0; right: 0; margin-inline: auto; width: calc(266 * var(--base)); height: 2px; }
  .brew__tag { --my: 597; left: 0; right: 0; text-align: center; font-size: max(15px, calc(49 * var(--base))); }
  .brew__video { --mx: 51; --my: 756; width: calc(977 * var(--base)); height: calc(556 * var(--base)); }
  .brew__note { --mx: 734; --my: 1348; --mw: 232; }
  .brew__ask { --my: 1650; left: 0; right: 0; text-align: center; font-size: max(14px, calc(42 * var(--base))); }
  .brew__methods { position: relative; top: auto; height: auto; }
  .brew__list { padding-inline: calc(57 * var(--base)); }
  .method { width: 100%; }
  .method__head {
    display: block;
    margin-top: calc(110 * var(--base));
    font-family: var(--font-family-mono);
    font-size: max(15px, calc(42 * var(--base)));
    line-height: calc(50 * var(--base));
    letter-spacing: -0.025em;
  }
  .method__art { height: calc(790 * var(--base)); margin-top: calc(40 * var(--base)); }
  .method__art img { height: calc(var(--malto, 790) * var(--base)); }
  .method__name { margin-top: calc(176 * var(--base)); font-size: calc(80 * var(--base)); line-height: 1.25; }
  .method__quip { min-height: 0; margin: calc(26 * var(--base)) auto 0; font-size: max(15px, calc(39.8 * var(--base))); line-height: 1.35; }
  .method__rule { width: calc(778 * var(--base)); margin: calc(47 * var(--base)) auto 0; }
  .method__specs { gap: calc(47.6 * var(--base)); margin-top: calc(53 * var(--base)); font-size: max(13px, calc(36.2 * var(--base))); line-height: 1.31; }
  .brew__arrow { top: calc(603 * var(--base) - 22px); margin: 0; }
  .brew__arrow img { width: calc(37 * var(--base)); }
  .brew__arrow--prev { left: calc(93 * var(--base) - 22px); }
  .brew__arrow--next { left: auto; right: calc(93 * var(--base) - 22px); }

  /* Redes */
  /* Fondo ya compuesto (foto en luminosidad sobre carbón) exportado del .ai móvil */
  .tribe::before {
    background: url("../img/nz/m-bg-redes.webp") center top / cover no-repeat;
    filter: none;
    opacity: 1;
  }
  .tribe .stage { --mh: 1920; }
  .tribe__mpols { --mx: 24; --my: 259; --mw: 1015; pointer-events: none; z-index: 2; }
  .tribe__mnote1 { --mx: 15; --my: 959; --mw: 364; pointer-events: none; }
  .tribe__mnote2 { --mx: 657; --my: 1437; --mw: 346; pointer-events: none; }
  /* Bloque de redes: origen en la mesa, escala 2.2; posiciones = px del .ai móvil / 2.2 */
  .tribe__block { --mx: 0; --my: 0; --ks: 2.2; }
  .tribe__lead { left: calc(83.2 * var(--k)); top: calc(47.3 * var(--k)); width: calc(324 * var(--k)); font-size: max(12px, calc(15.9 * var(--k))); text-align: center; }
  .tribe__ig { left: calc(87.3 * var(--k)); top: calc(542.7 * var(--k)); }
  .tribe__skull { left: calc(303.6 * var(--k)); top: calc(535.9 * var(--k)); }
  .tribe__pl { left: calc(82.7 * var(--k)); top: calc(644.5 * var(--k)); }
  .tribe__pl .tribe__icon { left: calc(34 * var(--k)); } /* deja aire al texto de 12 px */
  .tribe__sticker { left: calc(39.5 * var(--k)); top: calc(615.5 * var(--k)); width: calc(112.7 * var(--k)); z-index: 1; pointer-events: none; }
  .tribe__legal {
    left: calc(69.1 * var(--k)); top: calc(730 * var(--k));
    width: calc(326.4 * var(--k)); min-height: calc(58.6 * var(--k));
    padding: calc(11.4 * var(--k)) calc(50 * var(--k)) calc(10 * var(--k)) calc(19.5 * var(--k));
    font-size: max(12px, calc(9.2 * var(--k)));
  }
  .tribe__brain { left: calc(350.5 * var(--k)); top: calc(722.7 * var(--k)); width: calc(71.4 * var(--k)); }
  .tribe__copy { left: calc(199.5 * var(--k)); top: calc(845 * var(--k)); font-size: max(12px, calc(8.5 * var(--k))); }
}

/* ==========================================================================
   Componentes que usa la página 404
   ========================================================================== */
.section {
  position: relative;
  isolation: isolate;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  padding: var(--section-padding-y) var(--gutter);
}
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--color-grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
[data-world="bone"] .grain { mix-blend-mode: multiply; }

.button {
  --_bg: var(--color-accent-primary);
  --_fg: var(--color-on-accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--button-height);
  padding: var(--space-2) var(--space-5);
  border: var(--border-width-thick) solid var(--_bg);
  background: var(--_bg);
  color: var(--_fg);
  font: var(--button-font);
  letter-spacing: var(--button-letter-spacing);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--easing-out), box-shadow var(--duration-fast) var(--easing-out);
}
.button:hover { --_bg: var(--color-accent-primary-hover); transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
.button--secondary { --_bg: transparent; --_fg: var(--color-text-primary); border-color: var(--color-border-primary); box-shadow: none; }
.button--compact { min-height: 2.75rem; padding: 0 var(--space-4); }

.site-footer {
  background: var(--nz-coal);
  color: var(--nz-bone);
  padding: var(--space-5) var(--gutter);
}
.site-footer__legal { font-size: var(--font-size-xs); color: var(--raw-ash-dim); text-align: center; }

.not-found {
  min-height: calc(100dvh - 9rem);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.not-found__inner { display: grid; justify-items: center; text-align: center; max-width: 52rem; }
.not-found__code {
  font-family: var(--font-family-display);
  font-size: clamp(5rem, 3rem + 14vw, 13rem);
  line-height: 0.85;
  color: var(--nz-red);
  transform: rotate(var(--tilt-sm));
}
.not-found__title {
  margin-top: var(--space-4);
  max-width: 18ch;
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heavy);
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-tight);
  text-wrap: balance;
}
.not-found__title span { display: block; }
.not-found__zob { width: min(100%, 34rem); margin-top: var(--space-6); }
.not-found__actions { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; margin-top: var(--space-6); }
@media (min-width: 768px) {
  .not-found__actions { flex-direction: row; justify-content: center; width: auto; }
}

/* ==========================================================================
   MOTION "Golpe de cartel" — ver .design/nozombie-design-dna.json
   Solo se animan propiedades individuales (translate, rotate, scale), opacidad,
   clip-path y text-shadow, siempre DESDE un estado inicial hacia el valor propio
   del elemento (fill backwards): al terminar no queda nada aplicado, así que el
   acomodo final es idéntico al diseño. JS agrega .nz-wait / .nz-in y data-motion;
   sin JS o con movimiento reducido no pasa nada y todo se ve.
   ========================================================================== */
.nz-wait { opacity: 0; }
[data-motion="sello"].nz-in {
  animation:
    nz-sello var(--t-normal) var(--golpe) var(--nz-d, 0ms) backwards,
    nz-sombra var(--t-rapida) steps(2, end) calc(var(--nz-d, 0ms) + var(--t-normal) * 0.7) backwards;
}
[data-motion="texto"].nz-in { animation: nz-texto var(--t-normal) var(--golpe) var(--nz-d, 0ms) backwards; }
[data-motion="trazo"].nz-in { animation: nz-trazo var(--t-lenta) var(--golpe) var(--nz-d, 0ms) backwards; }
[data-motion="pegar"].nz-in { animation: nz-pegar var(--t-normal) var(--golpe) var(--nz-d, 0ms) backwards; }

/* Hero: corte seco y el titular nuevo cae como sello */
@media (prefers-reduced-motion: no-preference) {
  .slide.is-active .title-skew {
    animation:
      nz-sello var(--t-normal) var(--golpe) backwards,
      nz-sombra var(--t-rapida) steps(2, end) calc(var(--t-normal) * 0.7) backwards;
  }
  .slide.is-active .hero1__bags,
  .slide.is-active .hero2__zob { animation: nz-texto var(--t-normal) var(--golpe) 60ms backwards; }
  .tribe__ig, .tribe__pl { transition: transform var(--t-rapida) var(--golpe); }
  .tribe__ig:hover, .tribe__pl:hover { transform: translate(calc(-3px * var(--amp)), calc(-3px * var(--amp))) rotate(calc(-1deg * var(--amp))); }
}

/* Cae grande y girado, se asienta de golpe */
@keyframes nz-sello {
  from { opacity: 0; scale: calc(1 + 0.08 * var(--amp)); rotate: calc(-3deg * var(--amp)); }
  40%  { opacity: 1; }
  to   { opacity: 1; scale: 1; rotate: 0deg; }
}
/* La sombra dura llega después, como tinta */
@keyframes nz-sombra { from { text-shadow: none; } }
@keyframes nz-texto {
  from { opacity: 0; scale: calc(1 + 0.04 * var(--amp)); }
  to   { opacity: 1; scale: 1; }
}
/* Brochazos y notas a mano se dibujan de izquierda a derecha */
@keyframes nz-trazo {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
/* Stickers: llegan girados y grandes y se pegan */
@keyframes nz-pegar {
  from { opacity: 0; rotate: calc(-12deg * var(--amp)); scale: calc(1 + 0.18 * var(--amp)); }
  35%  { opacity: 1; }
  to   { opacity: 1; rotate: 0deg; scale: 1; }
}
@keyframes nz-azote {
  from { opacity: 0; translate: 0 calc(70px * var(--amp)); rotate: calc(4deg * var(--amp)); scale: calc(1 - 0.06 * var(--amp)); }
  30%  { opacity: 1; }
  to   { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; }
}
@keyframes nz-ficha {
  from { opacity: 0; translate: calc(-16px * var(--amp)) 0; rotate: calc(-8deg * var(--amp)); }
  to   { opacity: 1; translate: 0 0; rotate: 0deg; }
}

@media print { .nz-wait { opacity: 1; } }
