/* ==========================================================
   Gripp Guatemala — estilos de la landing («Cartelera con voces»)
   Un muro de afiches de feria: papel crema con grano, campos planos con los
   colores de la cinta del logo, tinta casi negra en barras, y un solo panel
   blanco y tranquilo: el boleto del formulario.
   ========================================================== */

:root {
  /* --- Colores: los de la cinta del logo, más papel y tinta --- */
  --crema: #f3ede0;
  --tinta: #0d0d0d;   /* casi negra: así el texto pequeño sobre magenta alcanza el contraste mínimo (4.5:1) */
  --blanco: #ffffff;
  --ambar: #ffab1a;
  --verde: #00a550;
  --verde-vivo: #00c400;
  --magenta: #ec008c;

  --tinta-suave: #4a463e;
  --raya: rgba(20, 20, 20, 0.34);
  --error: #b3261e;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --texto: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;

  --margen: clamp(18px, 4.6vw, 64px);
  --aire: clamp(64px, 8vw, 120px);          /* aire arriba y abajo de cada sección */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sombra-papel: 0 1px 1px rgba(20, 20, 20, 0.18), 0 12px 18px -12px rgba(20, 20, 20, 0.5);
  --sombra-boleto: 0 2px 2px rgba(20, 20, 20, 0.12), 0 26px 40px -24px rgba(20, 20, 20, 0.6);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Grano de impresión sobre toda la página */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }

::selection { background: var(--tinta); color: var(--ambar); }

:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
  border-radius: 2px;
}

.solo-definiciones { position: absolute; }

.saltar {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--tinta); color: var(--crema);
  padding: 10px 16px; font-weight: 700;
}
.saltar:focus { left: 8px; }

/* ---------- Letra de cartel ---------- */

.titulo {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.bajada { font-size: clamp(17px, 1.4vw, 19px); max-width: 56ch; text-wrap: pretty; }

/* ---------- Botones de píldora ---------- */

.pildora {
  display: inline-block;
  background: var(--ambar);
  color: var(--tinta);
  font-family: var(--display);
  font-stretch: 100%;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  padding: 15px 28px 14px;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.pildora:active { transform: scale(0.97); }
.pildora[disabled] { opacity: 0.6; cursor: progress; }
.pildora--chica { padding: 10px 18px 9px; font-size: 13px; }
.pildora--tinta { background: var(--tinta); color: var(--crema); }

@media (hover: hover) and (pointer: fine) {
  .pildora:hover { background: var(--tinta); color: var(--crema); }
  .pildora--tinta:hover { background: var(--crema); color: var(--tinta); }
}

/* ---------- Cabecera ---------- */

.cabecera {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 10px var(--margen);
  background: var(--crema);
  border-bottom: 3px solid var(--tinta);
}
.cabecera__logo img { height: 54px; width: auto; }
.cabecera__nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.cabecera__nav a:not(.pildora) {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap; /* que ningún enlace del menú se parta en dos renglones */
  padding: 6px 2px;
  background: linear-gradient(var(--ambar), var(--ambar)) left bottom / 0 3px no-repeat;
  transition: background-size 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cabecera__nav a:not(.pildora):hover { background-size: 100% 3px; }
}


/* ==========================================================
   EL MURO — cuatro voces, una respuesta, y el boleto
   ========================================================== */

.muro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 31vw, 430px);
  align-items: center;
  gap: clamp(24px, 3.6vw, 56px);
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 44px) var(--margen) var(--aire);
}
.muro__pared { position: relative; }

/* --- Las voces: cuatro afiches pegados, cada uno con su letra y su color --- */

.voces { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); }
.voz--formacion    { grid-column: span 5; --giro: -2.5deg; --d: 0ms;   --papel: var(--verde); }
.voz--comunicacion { grid-column: span 4; --giro: 2deg;    --d: 80ms;  --papel: var(--ambar);      margin: 22px 0 0 -10px; }
.voz--operaciones  { grid-column: span 5; --giro: 1.5deg;  --d: 150ms; --papel: var(--magenta);    margin-top: -6px; }
.voz--tecnologia   { grid-column: span 4; --giro: -2deg;   --d: 200ms; --papel: var(--verde-vivo); margin: 8px 0 0 -6px; }

.afiche {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.afiche:focus-visible { outline-offset: 6px; }
/* El último afiche deja libre su esquina derecha: ahí va pegada la calcomanía de datos */
.voz--tecnologia .afiche__papel { padding-right: clamp(76px, 8.5vw, 112px); }

.afiche__papel {
  position: relative;
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 16px;
  min-height: clamp(128px, 12.5vw, 184px);
  padding: clamp(14px, 1.6vw, 22px);
  background: var(--papel);
  box-shadow: var(--sombra-papel);
  transform: rotate(var(--giro));
  transition: transform 160ms var(--ease-out);
  animation: pegar 460ms var(--ease-out) var(--d, 0ms) backwards;
}
/* Cinta adhesiva */
.afiche__papel::before {
  content: "";
  position: absolute;
  top: -11px; left: 50%;
  width: 76px; height: 22px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 1px rgba(20, 20, 20, 0.14);
  transform: translateX(-50%) rotate(-3deg);
}

@media (hover: hover) and (pointer: fine) {
  .afiche:hover .afiche__papel { transform: rotate(0deg) scale(1.02); }
}
.afiche:active .afiche__papel { transform: rotate(0deg) scale(0.985); }
.afiche[aria-pressed="true"] .afiche__papel { outline: 3px solid var(--tinta); outline-offset: -3px; }

.afiche__frase { display: block; text-wrap: balance; }
.voz--formacion .afiche__frase {
  font-family: "Abril Fatface", Georgia, serif;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.3;
}
.voz--comunicacion .afiche__frase {
  font-family: "Courier Prime", "Courier New", monospace;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 23px);
  line-height: 1.36;
}
.voz--operaciones .afiche__frase {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(34px, 4.1vw, 60px);
  line-height: 0.9;
  text-transform: uppercase;
}
.voz--tecnologia .afiche__frase {
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(23px, 2.5vw, 36px);
  line-height: 1.14;
}

.afiche__modulo {
  font-family: var(--display);
  font-stretch: 115%;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 8px;
  border-top: 2px solid currentColor;
}

/* La calcomanía «Esta es la mía» */
.afiche__calco {
  position: absolute;
  top: -16px; right: -12px;
  display: grid;
  place-items: center;
  width: 86px; height: 86px;
  border-radius: 50%;
  background: var(--tinta);
  color: var(--crema);
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: rotate(12deg) scale(0.9);
  transition: opacity 150ms ease, transform 180ms var(--ease-out);
}
.afiche[aria-pressed="true"] .afiche__calco { opacity: 1; transform: rotate(12deg) scale(1); }

/* --- La respuesta --- */

.muro__respuesta {
  position: relative;
  z-index: 2;
  margin-top: -12px;
}
.respuesta { display: grid; justify-items: start; }
.respuesta__antes {
  position: relative;
  z-index: 1;
  margin: 0 0 -8px 10px;
  padding: 6px 12px 4px;
  background: var(--crema);
  border: 2px solid var(--tinta);
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 800;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(1deg);
  animation: aparecer 300ms ease-out 260ms backwards;
}
.respuesta__barra {
  padding: 0.14em 0.2em 0.05em;
  background: var(--tinta);
  color: var(--crema);
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(40px, 6.1vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-1.5deg);
  animation: barrer 560ms var(--ease-out) 300ms backwards;
}

/* Calcomanía redonda con los datos de la empresa */
/* (va pegada sobre la esquina del último afiche, arriba del final de la barra) */
.sello {
  position: absolute;
  top: -86px; right: -6px;
  display: grid;
  place-items: center;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--tinta);
  color: var(--crema);
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.04;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
  animation: aparecer 320ms ease-out 620ms backwards;
}
.sello b { color: var(--ambar); font-weight: 900; }

.muro__pie {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(18px, 2.4vw, 36px);
  margin-top: 22px;
}
.muro__bajada { font-size: clamp(17px, 1.35vw, 19px); text-wrap: pretty; }
.muro__nota { font-size: 14.5px; line-height: 1.45; color: var(--tinta-suave); text-wrap: pretty; }

/* --- El boleto: el único panel blanco y tranquilo --- */

.boleto {
  --relleno: clamp(18px, 2vw, 26px);
  position: relative;
  display: grid;
  gap: 14px;
  padding: var(--relleno);
  background: var(--blanco);
  border-radius: 20px;
  box-shadow: var(--sombra-boleto);
  animation: llegar 420ms var(--ease-out) 200ms backwards;
}
.ancla { position: absolute; top: -100px; }
.boleto__titulo {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(28px, 2.5vw, 34px);
  line-height: 0.95;
  text-transform: uppercase;
}
.boleto__texto { font-size: 15px; line-height: 1.4; color: var(--tinta-suave); margin-top: -6px; }

.campo { display: grid; gap: 2px; }
.campo label { font-size: 13px; font-weight: 600; color: var(--tinta-suave); }
.opcional { font-weight: 400; }
.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: 7px 0 8px;
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid var(--tinta);
  border-radius: 0;
  color: var(--tinta);
  font: inherit;
  font-size: 16px;
  caret-color: var(--magenta);
  transition: box-shadow 160ms ease;
}
.campo textarea { resize: vertical; min-height: 76px; }
.campo select {
  appearance: none;
  padding-right: 30px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--tinta) 50%),
    linear-gradient(135deg, var(--tinta) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 4px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.campo input:focus,
.campo select:focus,
.campo textarea:focus { outline: none; box-shadow: 0 4px 0 var(--ambar); }
.campo [aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 2px 0 var(--error); }

.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* La línea de corte del boleto, con sus dos muescas */
.boleto__corte {
  position: relative;
  margin: 4px calc(-1 * var(--relleno)) 0;
  border-top: 2px dashed var(--raya);
}
.boleto__corte::before,
.boleto__corte::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--crema);
}
.boleto__corte::before { left: -11px; }
.boleto__corte::after { right: -11px; }

.boleto .pildora { width: 100%; font-size: 16px; }
.boleto__aviso { font-size: 14.5px; line-height: 1.4; color: var(--tinta-suave); }
.boleto__aviso:empty, .boleto__anotado:empty { display: none; }
.boleto__aviso[data-tipo="ok"] { color: var(--tinta); font-weight: 700; }
.boleto__aviso[data-tipo="error"] { color: var(--error); }
.boleto__anotado { font-size: 14px; line-height: 1.4; color: var(--tinta-suave); }


/* ==========================================================
   CAMPOS DE COLOR — cada sección es un pliego de un color
   ========================================================== */

.campo-color,
.pie {
  position: relative;
  background: var(--campo);
  color: var(--tinta);
}
.campo-color { padding: var(--aire) var(--margen); }
.campo-color--ambar   { --campo: var(--ambar); }
.campo-color--crema   { --campo: var(--crema); }
.campo-color--verde   { --campo: var(--verde); }
.campo-color--magenta { --campo: var(--magenta); }

.campo-color > *:not(.rasgado):not(.rodante) { max-width: 1352px; margin-inline: auto; }

/* Borde rasgado: asoma sobre la sección anterior */
.rasgado {
  position: absolute;
  left: 0; bottom: calc(100% - 1px);
  width: 100%; height: 32px;
  max-width: none;
  fill: var(--campo);
  pointer-events: none;
}

.seccion__cabeza { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- La IA como motor (pliego ámbar) ---------- */

.motor { padding-bottom: 0; }
.motor__cuerpo {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
}
.motor__titulo {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: 0.98;
  text-transform: uppercase;
}
.motor__titulo em {
  font-style: normal;
  background: var(--tinta);
  color: var(--crema);
  padding: 0.1em 0.14em 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.motor__texto { font-size: clamp(17px, 1.45vw, 20px); max-width: 46ch; text-wrap: pretty; }

/* Cinta rodante con los cuatro módulos */
.rodante {
  margin: clamp(48px, 6vw, 88px) calc(-1 * var(--margen)) 0;
  padding: 14px 0 44px; /* el borde rasgado de la sección siguiente tapa lo de abajo */
  background: var(--tinta);
  color: var(--crema);
  overflow: hidden;
}
.rodante__cinta {
  display: flex;
  width: max-content;
  animation: rodar 60s linear infinite;
}
.rodante[data-quieta] .rodante__cinta { animation-play-state: paused; }
.rodante__cinta span {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-left: 28px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(16px, 1.5vw, 21px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rodante__cinta span::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ambar);
}

/* ---------- Módulos: cada afiche responde a su voz ---------- */

.modulos__fila {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(14px, 1.7vw, 26px);
}
.modulo {
  position: relative;
  padding: 22px 20px 12px;
  background: var(--papel);
  box-shadow: var(--sombra-papel);
  transform: rotate(var(--giro));
}
.modulo--formacion    { --papel: var(--verde);      --giro: -1.2deg; }
.modulo--tecnologia   { --papel: var(--verde-vivo); --giro: 0.8deg;  margin-top: 20px; }
.modulo--comunicacion { --papel: var(--ambar);      --giro: -0.6deg; margin-top: 6px; }
.modulo--operaciones  { --papel: var(--magenta);    --giro: 1.3deg;  margin-top: 26px; }

.modulo__voz { min-height: 2.7em; line-height: 1.15; text-wrap: balance; }
.modulo--formacion .modulo__voz    { font-family: "Abril Fatface", Georgia, serif; font-size: 16.5px; line-height: 1.3; }
.modulo--tecnologia .modulo__voz   { font-family: "Bodoni Moda", "Times New Roman", serif; font-style: italic; font-weight: 500; font-size: 20px; }
.modulo--comunicacion .modulo__voz { font-family: "Courier Prime", "Courier New", monospace; font-weight: 700; font-size: 14px; line-height: 1.3; }
.modulo--operaciones .modulo__voz  { font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: 24px; line-height: 0.95; text-transform: uppercase; }

.modulo__nombre {
  margin: 14px 0 10px;
  padding-top: 14px;
  border-top: 3px solid var(--tinta);
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(30px, 2.9vw, 46px);
  line-height: 0.9;
  text-transform: uppercase;
}
.modulo__promesa { min-height: 3.2em; font-size: 17px; font-weight: 600; line-height: 1.35; }
.modulo__lista { margin-top: 14px; }
.modulo__lista li { padding: 9px 0; border-top: 1.5px solid var(--raya); font-size: 15.5px; }

/* ---------- Cómo trabajamos: tres boletos (pliego verde) ---------- */

.pasos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  counter-reset: paso;
}
.paso {
  counter-increment: paso;
  padding: 22px 22px 24px;
  background: var(--blanco);
  border-radius: 18px;
  box-shadow: var(--sombra-boleto);
  color: var(--tinta-suave);
  font-size: 16px;
}
.paso::before {
  content: "Paso " counter(paso);
  display: inline-block;
  padding: 6px 10px 3px;
  background: var(--tinta);
  color: var(--crema);
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.paso__nombre {
  margin: 14px 0 8px;
  color: var(--tinta);
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 0.95;
  text-transform: uppercase;
}

/* ---------- Cierre (pliego magenta) ---------- */

.cierre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
}
.campo-color.cierre > * { max-width: none; margin-inline: 0; }
.cierre__titulo {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(54px, 10vw, 168px);
  line-height: 0.86;
  text-transform: uppercase;
}
.cierre__titulo span {
  display: inline-block;
  margin-top: 0.08em;
  padding: 0.1em 0.14em 0;
  background: var(--tinta);
  color: var(--crema);
  transform: rotate(-1.5deg);
}
.cierre__accion { display: grid; justify-items: start; gap: 20px; font-size: 19px; line-height: 1.45; }

/* ---------- Pie ---------- */

.pie {
  --campo: var(--tinta);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 56px var(--margen) 64px;
  color: var(--crema);
  text-align: center;
}
.pie img { height: 66px; width: auto; margin-bottom: 6px; }
.pie__dato {
  font-family: var(--display);
  font-stretch: 125%;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.pie__dato span[aria-hidden] { color: var(--ambar); padding: 0 0.3em; font-weight: 900; }
.pie__legal { font-size: 14px; color: #c9c2b3; }


/* ==========================================================
   Movimiento
   Un solo momento con autor: al cargar, los afiches se pegan uno tras otro
   y la barra negra barre de izquierda a derecha. Lo demás es respuesta al toque.
   ========================================================== */

@keyframes pegar {
  from { opacity: 0; transform: translateY(-16px) rotate(calc(var(--giro) * 2.2)) scale(1.05); }
}
@keyframes barrer {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes llegar   { from { opacity: 0; transform: translateY(10px); } }
@keyframes aparecer { from { opacity: 0; } }
@keyframes rodar    { to { transform: translateX(-50%); } }


/* ==========================================================
   Pantallas medianas y pequeñas
   ========================================================== */

@media (max-width: 1100px) {
  .modulos__fila { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .modulo__voz, .modulo__promesa { min-height: 0; }
}

@media (max-width: 900px) {
  .muro { grid-template-columns: minmax(0, 1fr); }
  .boleto { max-width: 520px; }
  .motor__cuerpo { grid-template-columns: minmax(0, 1fr); }
  .pasos { grid-template-columns: minmax(0, 1fr); }
  .cierre { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 76px; }

  .cabecera__logo img { height: 42px; }
  .cabecera__nav a:not(.pildora) { display: none; }

  /* En el teléfono los afiches van uno debajo del otro, alternando el lado */
  .voces { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .voz { grid-column: auto; }
  .voz--formacion, .voz--operaciones   { margin: 0 22px 0 0; }
  .voz--comunicacion, .voz--tecnologia { margin: 0 0 0 22px; }
  .afiche__papel { min-height: 0; }
  .afiche__calco { right: -6px; width: 74px; height: 74px; font-size: 14px; }

  .muro__respuesta { margin-top: 14px; }
  .respuesta__barra { font-size: clamp(26px, 10vw, 56px); } /* que quepa también en teléfonos angostos (320 px) */
  .muro__pie { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sello { top: -78px; width: 92px; height: 92px; font-size: 12.5px; }

  .modulos__fila { grid-template-columns: minmax(0, 1fr); }
  .modulo--tecnologia, .modulo--comunicacion, .modulo--operaciones { margin-top: 0; }
}


/* ==========================================================
   Si la persona tiene desactivadas las animaciones en su equipo:
   nada se desplaza ni gira; todo aparece junto con un fundido corto
   y la cinta rodante se queda quieta.
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .afiche__papel,
  .respuesta__antes,
  .respuesta__barra,
  .sello,
  .boleto { animation: aparecer 240ms ease-out backwards; }
  .rodante__cinta { animation: none; }
  .afiche__papel, .afiche__calco, .pildora { transition: none; }
  .afiche:hover .afiche__papel,
  .afiche:active .afiche__papel { transform: rotate(var(--giro)); }
}
