/* Página pública de Grupo Wigan. Sin dependencias: Poppins va alojada aquí, en latín. */
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/sitio/fuentes/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/sitio/fuentes/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/sitio/fuentes/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/sitio/fuentes/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/sitio/fuentes/poppins-800.woff2') format('woff2');
}

:root {
  --blue: #002784;
  --green: #03662e;
  --accent: #002784;
  --on-accent: #fff;
  --ink: #141a33;
  --muted: #5d6685;
  --line: #e2dfd6;
  --bg: #fbfaf7;
  --soft: #f1efe9;
  --wall: #2f8fd8;
  --surface: #fff;
  --panel: #edf0f7;
  --photo-bg: #e9e5dc;
  --radius: 6px;
  /* salida rápida para lo que responde al usuario; el rebote queda para cuando se elige un color */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-pop: cubic-bezier(0.3, 1.3, 0.5, 1);
}
/* los colores de la combinación, registrados para que la muestra del recuadro pase de uno a otro */
@property --c0 {
  syntax: '<color>';
  inherits: true;
  initial-value: #fff;
}
@property --c1 {
  syntax: '<color>';
  inherits: true;
  initial-value: #fff;
}
@property --c2 {
  syntax: '<color>';
  inherits: true;
  initial-value: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.55 Poppins,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* filete superior con el color que se está pintando */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 25;
  background: var(--wall);
  transition: background 0.5s;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  text-wrap: balance;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- cabecera ---------- */
.lnav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  padding: 0 clamp(16px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 24px;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  border-bottom: 1px solid var(--line);
}
.lbrand {
  display: flex;
  align-items: center;
}
.lbrand img {
  display: block;
  width: 66px;
  height: 49px;
}
.llinks {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
/* Cotizar es la acción principal; el ingreso al sistema queda a la vista, pero discreto */
.lacciones {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lsistema {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .lsistema:hover {
    text-decoration: underline;
  }
}
.lsistema svg {
  width: 16px;
  height: 16px;
}
.llinks a {
  text-decoration: none;
  color: var(--muted);
}
@media (hover: hover) and (pointer: fine) {
  .llinks a:hover {
    color: var(--ink);
  }
}
.lbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 160ms var(--ease-out);
}
.lbtn svg {
  width: 17px;
  height: 17px;
}
.lbtn.solid {
  background: var(--accent);
  color: var(--on-accent);
}
@media (hover: hover) and (pointer: fine) {
  .lbtn:hover {
    background: var(--accent);
    color: var(--on-accent);
  }
  .lbtn.solid:hover {
    filter: brightness(1.12);
  }
}
.lbtn:active {
  transform: scale(0.97);
}
.lbtn.big {
  height: 50px;
  padding: 0 26px;
  font-size: 16px;
  margin-top: 26px;
}

/* ---------- secciones ---------- */
.sec {
  padding: clamp(56px, 8vw, 104px) 0;
}
/* nosotros va pegada a productos, y razones pegada a la cinta y al cierre */
.sec.nosotros {
  padding-top: 0;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.sec.razones {
  padding: clamp(40px, 6vw, 72px) 0 0;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  margin-top: 18px;
  max-width: 56ch;
}
.two {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.pair {
  display: grid;
  gap: 16px;
}
.pair article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.pair p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 6px;
}

/* ---------- héroe: ambiente real con la pared que se pinta y el abanico de colores ---------- */
.hero {
  padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 6vw, 88px);
  overflow-x: clip;
}
/* texto y cifras a la izquierda, el ambiente a la derecha; en el teléfono el ambiente sube antes de las cifras */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    'texto stage'
    'cifras stage';
  column-gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.hero .texto {
  grid-area: texto;
  padding-top: clamp(8px, 2.5vw, 36px);
}
.hero .stage {
  grid-area: stage;
}
.hero .cifras {
  grid-area: cifras;
}
.hero h1 {
  font-size: clamp(32px, 4.3vw, 54px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 span {
  display: block;
}
.hero h1 span:last-child {
  color: var(--blue);
}
/* texto: un solo párrafo, que abre con el nombre, y dos botones con su nota; debajo, las cifras */
.lead .marca {
  color: var(--ink);
  font-weight: 600;
}
.lead .corto {
  display: none;
}
.acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.acciones .lbtn.big {
  margin-top: 0;
}
.nota {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.cifras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 30px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cifras li {
  padding: 0 16px;
  border-left: 1px solid var(--line);
}
.cifras li:first-child {
  padding-left: 0;
  border-left: 0;
}
.cifras b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--blue);
}
.cifras span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}
.pista {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.stage {
  position: relative;
  padding-bottom: 196px;
}
/* panel suave detrás de la foto, hasta el borde derecho: le da estructura al héroe sin peso */
.stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -28px;
  bottom: -52px;
  left: -36px;
  right: -100vw;
  border-radius: 18px 0 0 18px;
  background: var(--panel);
}
#hero-foto {
  position: relative;
}
/* color actual: sobre la foto, abajo a la izquierda */
.chip {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(20, 26, 51, 0.2);
}
.chip i {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    var(--c0, var(--wall)) 0 34%,
    var(--c1, var(--wall)) 34% 67%,
    var(--c2, var(--wall)) 67%
  );
  box-shadow: inset 0 0 0 1px rgba(20, 26, 51, 0.12);
  transition:
    --c0 0.5s ease,
    --c1 0.5s ease,
    --c2 0.5s ease;
  flex: none;
}
.chip small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.chip b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(20, 26, 51, 0.15);
}
.tag:has(b:empty) {
  display: none;
}
/* miniaturas: aparecen cuando el sector tiene más de un ambiente */
.minis {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(20, 26, 51, 0.18);
}
.minis:empty {
  display: none;
}
.minis button {
  position: relative;
  width: 58px;
  height: 39px;
  border-radius: 4px;
  background: var(--surface) center / cover;
  border: 2px solid transparent;
  opacity: 0.65;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}
/* el área que se toca llega a 44 px de alto aunque la miniatura sea más baja */
.minis button::after {
  content: '';
  position: absolute;
  inset: -7px -3px;
}
@media (hover: hover) and (pointer: fine) {
  .minis button:hover {
    opacity: 1;
  }
}
.minis button.on {
  opacity: 1;
  border-color: var(--ink);
}
/* pausa: detiene la rotación de ambientes y la cinta de clientes (WCAG 2.2.2) */
.pausa {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(20, 26, 51, 0.18);
  transition: transform 160ms var(--ease-out);
}
.pausa::after {
  content: '';
  position: absolute;
  inset: -4px;
}
.pausa:active {
  transform: scale(0.94);
}
.pausa svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.pausa .play,
.pausa[aria-pressed='true'] .pausar {
  display: none;
}
.pausa[aria-pressed='true'] .play {
  display: block;
}
#hero-foto .pausa {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
}
/* pestañas de sector, con barra de avance mientras rota solo */
.vistas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.vistas button {
  position: relative;
  overflow: hidden;
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: transform 160ms var(--ease-out);
}
.vistas button:active {
  transform: scale(0.97);
}
.vistas button.on {
  color: var(--ink);
  border-color: var(--ink);
}
.vistas button.on.auto::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--wall);
  transform-origin: 0 50%;
  animation: avance var(--dur, 12s) linear;
}
@keyframes avance {
  from {
    transform: scaleX(0);
  }
}
/* abanico */
.fan {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
}
.strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 150px;
  margin-left: -35px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: var(--c);
  border-radius: 8px;
  box-shadow:
    0 6px 16px rgba(20, 26, 51, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform-origin: 50% 300%;
  transform: rotate(calc((var(--i) - 3.5) * 7.4deg));
  transition: transform 220ms var(--ease-out);
  animation: fan 0.8s var(--ease-out) backwards;
}
@keyframes fan {
  from {
    transform: rotate(0deg);
  }
}
.fan.swap .strip {
  animation: fan 0.6s var(--ease-out) backwards;
}
@media (hover: hover) and (pointer: fine) {
  .strip:hover {
    z-index: 4;
    transform: rotate(calc((var(--i) - 3.5) * 7.4deg)) translateY(-12px);
  }
}
/* la muestra elegida sube con un pequeño rebote: es el único lugar que lo lleva */
.strip.on {
  z-index: 3;
  transform: rotate(calc((var(--i) - 3.5) * 7.4deg)) translateY(-26px);
  transition: transform 0.45s var(--ease-pop);
}
.strip.combo {
  background: linear-gradient(180deg, var(--c) 0 46%, var(--c1) 46% 76%, var(--c2) 76%);
}
.strip span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 7px 8px 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.2s;
}
/* el nombre solo en la muestra elegida (o al pasar encima): así no se enciman */
.strip.on span {
  opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
  .strip:hover span {
    opacity: 1;
  }
}

/* foto real; encima, el lienzo donde se pinta la pared (inicio.js): color plano dentro de la máscara y la
   luz y sombra de la foto multiplicadas encima */
.foto {
  position: relative;
  isolation: isolate;
  aspect-ratio: var(--r, 1536 / 1024);
  overflow: hidden;
  border-radius: 10px;
  background: var(--photo-bg);
  box-shadow: 0 24px 50px rgba(20, 26, 51, 0.16);
}
.foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.5s;
}
.foto img.on {
  opacity: 1;
}
.foto canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s;
}
.foto canvas.on {
  opacity: 1;
}

/* ---------- clientes: cinta de logos ---------- */
.clientes {
  position: relative;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.clientes p {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-inline: 64px;
}
.clientes .pausa {
  position: absolute;
  top: 14px;
  right: clamp(16px, 3vw, 36px);
  box-shadow: inset 0 0 0 1px var(--line);
}
/* sin script, o con movimiento reducido, los logos quedan quietos en filas; inicio.js duplica la lista y la
   hace correr: al llegar a la mitad, la copia ocupa el lugar exacto del original y el salto no se ve */
.cinta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 40px;
  padding-inline: 16px;
}
.cinta.mueve {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  padding-inline: 0;
  width: max-content;
  animation: cinta 46s linear infinite;
}
.cinta.mueve img {
  margin-right: 56px;
}
.cinta.quieta {
  animation-play-state: paused;
}
.cinta img {
  height: 54px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition:
    filter 0.3s,
    opacity 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .cinta:hover {
    animation-play-state: paused;
  }
  .cinta img:hover {
    filter: none;
    opacity: 1;
  }
}
@keyframes cinta {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- productos ---------- */
.catalogo {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.catalogo p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
  max-width: 60ch;
}
.matiz {
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.tiras {
  display: flex;
  height: 70px;
}
/* al pasar encima, las tiras suben una tras otra, como un muestrario que se abre */
.tiras i {
  width: 20px;
  background: var(--c);
  transition: transform 200ms var(--ease-out) calc(var(--k) * 20ms);
}
@media (hover: hover) and (pointer: fine) {
  .matiz:hover .tiras i {
    transform: translateY(-6px);
  }
}
.matiz p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
  max-width: 60ch;
}
.marcas-t {
  margin-top: 48px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logos li {
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px;
  display: grid;
  place-items: center;
}
.logos img {
  width: 100%;
  height: 60px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition:
    filter 0.3s,
    opacity 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .logos li:hover img {
    filter: none;
    opacity: 1;
  }
}

/* ---------- razones: tabla editorial numerada ---------- */
.rows {
  margin-top: 34px;
  border-top: 1.5px solid var(--ink);
}
.rows li {
  display: grid;
  grid-template-columns: 70px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
/* la fila se ilumina y su contenido se corre; la fila y su línea no se mueven */
.rows li > * {
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .rows li:hover {
    background: var(--surface);
  }
  .rows li:hover > * {
    transform: translateX(14px);
  }
}
.rows small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.rows b {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.rows p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- contacto y pie ---------- */
.contacto {
  position: relative;
  background: var(--soft);
  margin-top: clamp(56px, 8vw, 104px);
}
/* goteo: un rodillo pinta una franja en el azul de la marca y la pintura chorrea sobre el cierre */
.goteo {
  position: absolute;
  inset: 0 0 auto 0;
  height: clamp(50px, 7vw, 86px);
  overflow-x: clip;
  pointer-events: none;
}
.goteo > svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--blue);
}
.goteo .franja {
  transform-box: fill-box;
  transform-origin: 0 50%;
}
.goteo .gota {
  transform-box: fill-box;
  transform-origin: 50% 0;
}
/* el rodillo: el cilindro cubre la franja y el mango baja a un lado */
.rodillo {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.rodillo svg {
  position: absolute;
  left: 0;
  top: -9px;
  width: 44px;
  height: 60px;
  margin-left: -26px;
  fill: var(--blue);
}
.rodillo path {
  fill: none;
  stroke: var(--muted);
  stroke-width: 3;
  stroke-linejoin: round;
}
.rodillo rect:last-child {
  fill: var(--ink);
}
.goteo.espera .franja {
  transform: scaleX(0);
}
.goteo.espera .gota {
  transform: scaleY(0);
}
.goteo.cae .franja {
  transform: scaleX(1);
  transition: transform 1.5s cubic-bezier(0.45, 0, 0.35, 1);
}
.goteo.cae .gota {
  transform: scaleY(1);
  transition: transform 1.6s cubic-bezier(0.55, 0, 0.25, 1) calc(1.2s + var(--i) * 110ms);
}
.goteo.cae .rodillo {
  animation: rodar 1.5s cubic-bezier(0.45, 0, 0.35, 1) forwards;
}
@keyframes rodar {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
.datos {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line);
}
.datos div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.datos dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.datos dd {
  margin: 0;
  font-weight: 500;
}
.datos a {
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .datos a:hover {
    text-decoration: underline;
  }
}
.lfoot {
  padding: 26px 0 32px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.lfoot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 24px;
  flex-wrap: wrap;
}
.lfoot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.lfoot a {
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .lfoot a:hover {
    color: var(--ink);
    text-decoration: underline;
  }
}
.credito {
  flex-basis: 100%;
  font-size: 11px;
}

/* las cinco pestañas caben en una fila desde unos 1170 px; por debajo, la entrega en obra ocupa su fila y los
   cuatro sectores van en dos filas parejas, sin una pestaña sola al final */
@media (max-width: 1180px) {
  .vistas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .vistas button:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 860px) {
  .llinks {
    display: none;
  }
  .lacciones {
    margin-left: auto;
    gap: 14px;
  }
  .lsistema span {
    display: none;
  }
  .lacciones .lbtn {
    height: 44px;
  }
  .lead .largo {
    display: none;
  }
  .lead .corto {
    display: inline;
  }
  .acciones .lbtn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .cifras {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
  }
  .cifras li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .hero .cifras {
    margin-top: 72px;
  }
  .stage {
    margin-top: 28px;
  }
  .stage::before {
    left: -16px;
    top: -16px;
    border-radius: 0;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      'texto'
      'stage'
      'cifras';
  }
  .hero .texto {
    padding-top: 0;
  }
  .strip {
    width: 52px;
    height: 132px;
    margin-left: -26px;
  }
  /* en el teléfono la muestra no cabe su nombre: lo dice el recuadro sobre la foto */
  .strip span {
    display: none;
  }
  .fan {
    height: 150px;
  }
  .stage {
    padding-bottom: 186px;
  }
  /* en el teléfono, 44 px de alto para tocarlas */
  .vistas button {
    min-height: 44px;
    padding: 6px 10px;
    font-size: 13px;
  }
  .chip {
    left: 8px;
    bottom: 8px;
    padding: 5px 10px 5px 5px;
  }
  .chip i {
    width: 26px;
    height: 26px;
  }
  .chip b {
    font-size: 13px;
  }
  .chip small {
    display: none;
  }
  #hero-foto .pausa {
    right: 8px;
    bottom: 8px;
  }
  .tag {
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    font-size: 11px;
  }
  .minis {
    top: 8px;
    right: 8px;
    padding: 4px;
  }
  .minis button {
    width: 44px;
    height: 30px;
  }
  .rows li {
    grid-template-columns: 40px 1fr;
  }
  .rows p {
    grid-column: 2;
  }
  .matiz {
    grid-template-columns: 1fr;
  }
  .logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .datos div {
    grid-template-columns: 90px 1fr;
  }
}
@media (max-width: 420px) {
  .lnav {
    gap: 12px;
  }
  .lacciones .lbtn {
    padding: 0 14px;
    font-size: 13px;
  }
}
/* movimiento reducido: se quita lo que se desplaza o gira y quedan los fundidos de foto y color, que explican el
   cambio. La rotación, la pintura del rodillo, la cinta y el goteo ya no corren (inicio.js). */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .strip,
  .strip.on,
  .fan.swap .strip {
    animation: none;
    transition: none;
  }
  .rows li > *,
  .tiras i,
  .lbtn,
  .vistas button,
  .pausa {
    transition-property: background, color, border-color, opacity;
  }
  .rows li:hover > *,
  .matiz:hover .tiras i,
  .lbtn:active,
  .vistas button:active,
  .pausa:active {
    transform: none;
  }
}
