/* Estilos de las páginas HTML estáticas (faqs, sobre-merku, contacto).
   Tokens de DESIGN.md (mismos valores que tailwind.config.js y LegalPages.jsx). */
:root { --papel: #FFFFFF; --naranja: #f7941d; --fondo-pagina: #FFFAEE; --naranja-texto: #bb5107; --texto: #231F20; --texto-2: #4B5563; --placeholder: #4B5563; --linea: #E7E5E4; --borde-control: #878E9B; --fondo: #F5F5F4; --fondo-hover: #FBF6F0; --desactivado: #D6D3D1; --borde-foco: #6B7280; --verde-ok: #15803D; --peligro: #B42318; }
/* Foco visible con teclado (≥3:1 frente al fondo; el naranja no llega). */
:focus-visible { outline: 2px solid var(--borde-foco); outline-offset: 2px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--fondo-pagina); color: var(--texto); font: 400 16px/1.6 "Public Sans", system-ui, sans-serif; }
header { border-bottom: 1px solid var(--linea); padding: 16px 0; }
.wrap { max-width: 56rem; margin: 0 auto; padding: 0 24px; }
header img { height: 48px; width: auto; display: block; }
main.wrap { padding-top: 48px; padding-bottom: 32px; }
h1, h2 { font-family: Besley, Georgia, serif; color: var(--naranja-texto); }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; }
.intro { color: var(--texto-2); margin: 0 0 40px; }
section { margin-bottom: 40px; }
h1 + section { margin-top: 32px; }
h2 { font-size: 20px; font-weight: 600; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--naranja); }
h3 { font-size: 16px; font-weight: 600; color: var(--texto); margin: 24px 0 6px; }
p { margin: 0; }
h2 + p { margin-top: 16px; }
p + p { margin-top: 12px; }
main a { color: var(--naranja-texto); font-weight: 600; }
ul { margin: 12px 0 0; padding-left: 22px; }
li + li { margin-top: 6px; }
ul + p { margin-top: 12px; }
footer { padding: 24px 0 32px; text-align: center; font-size: 12px; }
footer .pie-movil { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding: 0 16px; }
footer a { color: var(--texto-2); text-decoration: none; }
footer a:hover, footer a[aria-current="page"] { color: var(--texto); }
@media (max-width: 640px) { .wrap { padding-left: 16px; padding-right: 16px; } main.wrap { padding-top: 32px; } h1 { font-size: 26px; } }

/* Pie: en móvil, la fila centrada de arriba (.pie-movil); en escritorio (≥641 px), 4 columnas
   como el de la app (src/components/Footer.jsx: borde gris, 12 px, dos filas de 16 px, logo
   arriba y © abajo a la derecha, en la línea de la última fila). */
.pie { display: none; }
@media (min-width: 641px) {
  footer { border-top: 1px solid var(--linea); padding: 20px 0; text-align: left; }
  footer .pie-movil { display: none; }
  .pie { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; max-width: calc(56rem + 48px); margin: 0 auto; padding: 0 24px; line-height: 16px; }
  .pie ul { margin: 0; padding: 0; list-style: none; }
  .pie li + li { margin-top: 8px; } /* 16 + 8 + 16 = 40: logo a 55 px (24 de alto) + ©, como en la app */
  .pie-logo { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
  .pie-logo img { display: block; width: 55px; height: auto; }
}

/* ---- Landings de tallas grandes (zapatillas-*-talla-grande) ---- */
/* Móvil primero. Titular: «Display de landing» (DESIGN.md), Besley 700 en tinta. Números: botones naranja
   con texto oscuro (nunca blanco sobre naranja) que pasan a tinta al pasar y al quedar marcados. Todo lo que
   rellena /landing.js tiene su sitio reservado (línea de «N modelos», imágenes con ancho y alto): no salta.
   Foco: el global (borde-foco). Radios de la escala: 8 controles, 12 tarjetas, píldora los chips. */
.tallas-pagina [hidden] { display: none !important; }
.tallas-pagina header { padding: 12px 0; }
.tallas-pagina header img { height: 32px; }
.tallas-pagina header .wrap { max-width: 44rem; }
.tallas-pagina main.wrap { max-width: 44rem; padding-top: 28px; }
.tallas-pagina h1 { color: var(--texto); font-weight: 700; font-size: clamp(2.5rem, 7vw + 1rem, 3.5rem); line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 12px; text-wrap: balance; }
.tallas-pagina .intro { max-width: 34rem; margin: 0 0 6px; font-size: 17px; line-height: 1.5; }
.garantia-corta { margin: 0 0 22px; color: var(--texto); font-size: 14px; font-weight: 600; }

.tallas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.talla { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 76px; border-radius: 8px; background: var(--naranja); color: var(--texto); text-decoration: none; }
main a.talla { color: var(--texto); font-weight: 400; }
.talla-n { font-size: 28px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.talla-cuenta { min-height: 16px; font-size: 13px; font-weight: 500; line-height: 16px; font-variant-numeric: tabular-nums; }
main a.talla:hover, main a.talla[aria-current="true"] { background: var(--texto); color: var(--papel); }
main a.talla-mas { background: var(--papel); box-shadow: inset 0 0 0 1px var(--borde-control); }
main a.talla-mas:hover { background: var(--texto); box-shadow: none; }
@media (min-width: 560px) {
  .tallas { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Lo que aparece al pulsar un número */
.resultado { margin-top: 24px; }
.resultado-titulo { margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip { min-height: 44px; padding: 0 12px; border: 1px solid var(--borde-control); border-radius: 9999px; background: var(--papel); color: var(--texto); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
@media (min-width: 560px) { .chip { padding: 0 16px; font-size: 15px; } .chips { gap: 8px; } }
.chip:hover { background: var(--fondo-hover); }
.chip-n { color: var(--texto-2); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--texto); border-color: var(--texto); color: var(--papel); }
.chip[aria-pressed="true"] .chip-n { color: var(--papel); }
.lista { position: relative; }
.tarjetas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; transition: opacity 0.2s ease-out; }
.tarjetas li { margin: 0; }
.lista.esperando .tarjetas { opacity: 0.35; }
@media (min-width: 640px) {
  .tarjetas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Mientras carga un chip: los tres puntos del logo, encima de las tarjetas (no mueven nada). */
.cargando { position: absolute; z-index: 1; top: 64px; left: 50%; display: flex; gap: 6px; transform: translateX(-50%); }
.cargando > span:not(.oculto) { width: 12px; height: 12px; border-radius: 50%; background: var(--naranja); }
@media (prefers-reduced-motion: no-preference) {
  .cargando > span:not(.oculto) { animation: landing-puntos 1.2s ease-in-out infinite; }
  .cargando > span:nth-child(2) { animation-delay: 0.2s; }
  .cargando > span:nth-child(3) { animation-delay: 0.4s; }
  .tarjetas.aparece { animation: landing-aparece 0.3s ease-out; }
}
@keyframes landing-puntos { 0%, 100% { opacity: 1; transform: scale(1); } 25%, 75% { opacity: 0.25; transform: scale(0.8); } }
@keyframes landing-aparece { from { opacity: 0.35; } to { opacity: 1; } }

/* Tarjeta: como la de la app (papel, borde, esquina de 12, sombra mínima que crece al pasar). */
main a.tarjeta { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--linea); border-radius: 12px; background: var(--papel); color: var(--texto); font-weight: 400; text-decoration: none; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); transition: box-shadow 0.2s ease-out; }
main a.tarjeta:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
/* La foto no estira su caja: una foto vertical, al cargar, hacía crecer la tarjeta (el aspect-ratio deja crecer
   la caja hasta su contenido si no recorta). Absoluta dentro de una caja que recorta: alto fijo siempre. */
.tarjeta-foto { position: relative; display: block; overflow: hidden; aspect-ratio: 10 / 11; background: var(--fondo-hover); }
.tarjeta-foto > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.pastilla { position: absolute; bottom: 8px; left: 8px; display: flex; align-items: center; gap: 4px; max-width: calc(100% - 16px); height: 20px; padding: 0 6px; overflow: hidden; border: 1px solid rgb(0 0 0 / 0.1); border-radius: 6px; background: rgb(255 255 255 / 0.85); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); color: var(--texto); font-size: 11px; line-height: 1; white-space: nowrap; }
.pastilla img { flex-shrink: 0; width: auto; height: 12px; }
.pastilla span { overflow: hidden; text-overflow: ellipsis; }
.tarjeta-texto { display: flex; flex-direction: column; gap: 2px; padding: 12px; }
.tarjeta-precio { font-size: 18px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tarjeta-envio, .tarjeta-talla { color: var(--texto-2); font-size: 12px; line-height: 1.3; }
.tarjeta-marca { margin-top: 6px; font-size: 12px; font-weight: 600; line-height: 1.3; }
.tarjeta-nombre { display: -webkit-box; min-height: 2.5em; overflow: hidden; font-size: 14px; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.vacio { margin: 0; padding: 16px; border-radius: 8px; background: var(--fondo); font-size: 15px; }
main a.principal { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 16px; padding: 0 16px; border-radius: 8px; background: var(--naranja); color: var(--texto); font-size: 17px; font-weight: 700; text-decoration: none; }
main a.principal:hover { background: var(--texto); color: var(--papel); }

/* Tira de zapatillas al cargar: una por número, 4 columnas que caben a 390 px sin scroll. El sitio está
   reservado desde el HTML (foto con proporción fija y línea de precio con su alto): al llegar los datos no se
   mueve nada. Sin contador: invisible y con su sitio (nada salta). */
.tira { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tira li { margin: 0; }
.tira.sin-datos { visibility: hidden; }
.tira-item { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.tira-item:disabled { cursor: default; }
.tira-foto { position: relative; display: block; width: 100%; aspect-ratio: 10 / 11; overflow: hidden; border: 1px solid var(--linea); border-radius: 8px; background: var(--linea); }
.tira-foto img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: var(--papel); }
.tira-n { position: absolute; z-index: 1; top: 6px; left: 6px; display: flex; align-items: center; height: 20px; padding: 0 6px; border: 1px solid rgb(0 0 0 / 0.1); border-radius: 6px; background: rgb(255 255 255 / 0.85); font-size: 12px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.tira-precio { min-height: 17px; font-size: 13px; font-weight: 700; line-height: 17px; font-variant-numeric: tabular-nums; }
.tira-precio:empty::before { content: ""; display: block; width: 70%; height: 11px; margin-top: 3px; border-radius: 4px; background: var(--linea); }
.tira-item:not(:disabled):hover .tira-foto { border-color: var(--borde-control); }
@media (min-width: 560px) {
  .tira { gap: 12px; }
  .tira-precio { font-size: 15px; }
}

/* Tres ventajas bajo la tira: icono decorativo en un círculo naranja y texto en tinta. El icono va
   aria-hidden; el texto es el que se lee. Mismo tamaño que la línea final (.garantias). */
.ventajas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; text-align: center; }
.ventajas li { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; color: var(--texto); font-size: 15px; font-weight: 600; line-height: 1.3; }
.ventaja-icono { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--naranja); color: var(--texto); }
.ventaja-icono svg { display: block; flex-shrink: 0; }

/* Confianza y salida */
.confianza { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--linea); }
.garantias { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 14px; padding: 0; list-style: none; }
.logos li, .logos li + li { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--texto-2); font-size: 14px; }
.logos img { flex-shrink: 0; }
.logos img { border-radius: 4px; }
.tallas-pagina .nota { margin: 0; color: var(--texto-2); font-size: 14px; }
/* Salida a la búsqueda: botón secundario con el estilo del «46+» (papel, borde, texto en tinta); el naranja
   queda solo para la acción principal (DESIGN.md). */
.otro { margin: 24px 0 0; }
main a.secundario { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 16px; border-radius: 8px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--borde-control); color: var(--texto); font-size: 16px; font-weight: 600; text-align: center; text-decoration: none; }
main a.secundario:hover { background: var(--texto); box-shadow: none; color: var(--papel); }

/* ---- Página 404 (public/404.html, la genera gen-estaticas.mjs) ---- */
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.p404 { min-height: 100vh; display: flex; flex-direction: column; }
.p404 main.wrap { flex: 1; width: 100%; display: grid; justify-items: center; align-content: center; gap: 20px; padding-top: 24px; padding-bottom: 24px; text-align: center; }
/* Titular con la letra del de la portada (Libre Bodoni, cursiva, negrita, en negro). */
.p404 h1 { font-family: "Libre Bodoni", Georgia, serif; font-style: italic; font-weight: 700; color: var(--texto); font-size: 26px; line-height: 1.15; margin: 0; max-width: 20ch; text-wrap: balance; }
/* La tarjeta es ProductCard (la del paso 4 del tour), con el CSS de la app: la renderiza el
   build (prerender-portada.mjs), dos veces (frente y dorso, idénticos). Aquí solo se inclina,
   gira 360° sobre su eje vertical (6 s, lineal, sin parar) y se le quitan las reglas generales
   de estas páginas (h3, color, interlineado) para que se vea igual que en la app. Se maqueta a
   196 px (.escala) y se reduce con transform: scale (no zoom: con 3D falla en Safari/iOS); .giro
   reserva el tamaño ya reducido: 148 px en móvil (75 %), 192 px en escritorio.
   Grosor: --g (6 px). Frente y dorso van a ±g/2 en Z y entre ambos hay 12 capas con la misma
   forma redondeada (.canto), más oscuras que el borde: de lado se ven apiladas como el canto,
   con las esquinas bien. Dorso = frente girado 180° con la backface oculta: sin espejo. Solo
   transform y opacity se animan. */
.zona { display: grid; justify-items: center; }
.escena { perspective: 900px; -webkit-perspective: 900px; }
.giro { width: 148px; aspect-ratio: 196 / 320; position: relative; transform: rotate(-4deg); -webkit-transform: rotate(-4deg); transform-style: preserve-3d; -webkit-transform-style: preserve-3d; }
.escala { position: absolute; top: 0; left: 0; width: 196px; transform: scale(0.7551); -webkit-transform: scale(0.7551); transform-origin: 0 0; -webkit-transform-origin: 0 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; text-align: left; color: var(--texto); font-size: 16px; line-height: 1.5; }
.escala h3 { margin-top: 0; font-weight: 400; color: inherit; }
.rota { --g: 6px; position: relative; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; will-change: transform; }
.cara { position: relative; border-radius: 12px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.frente { transform: translateZ(calc(var(--g) / 2)); -webkit-transform: translateZ(calc(var(--g) / 2)); }
.dorso { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotateY(180deg) translateZ(calc(var(--g) / 2)); -webkit-transform: rotateY(180deg) translateZ(calc(var(--g) / 2)); }
.canto { position: absolute; top: 0.5px; left: 0.5px; right: 0.5px; bottom: 0.5px; border-radius: 12px; background: #c3c6cc; }
.canto:nth-of-type(1) { transform: translateZ(calc(var(--g) * -0.4583)); -webkit-transform: translateZ(calc(var(--g) * -0.4583)); background: #a2a6ae; }
.canto:nth-of-type(2) { transform: translateZ(calc(var(--g) * -0.3750)); -webkit-transform: translateZ(calc(var(--g) * -0.3750)); background: #aaaeb6; }
.canto:nth-of-type(3) { transform: translateZ(calc(var(--g) * -0.2917)); -webkit-transform: translateZ(calc(var(--g) * -0.2917)); background: #b3b6bd; }
.canto:nth-of-type(4) { transform: translateZ(calc(var(--g) * -0.2083)); -webkit-transform: translateZ(calc(var(--g) * -0.2083)); background: #bbbfc5; }
.canto:nth-of-type(5) { transform: translateZ(calc(var(--g) * -0.1250)); -webkit-transform: translateZ(calc(var(--g) * -0.1250)); background: #c3c7cd; }
.canto:nth-of-type(6) { transform: translateZ(calc(var(--g) * -0.0417)); -webkit-transform: translateZ(calc(var(--g) * -0.0417)); background: #cccfd4; }
.canto:nth-of-type(7) { transform: translateZ(calc(var(--g) * 0.0417)); -webkit-transform: translateZ(calc(var(--g) * 0.0417)); background: #cccfd4; }
.canto:nth-of-type(8) { transform: translateZ(calc(var(--g) * 0.1250)); -webkit-transform: translateZ(calc(var(--g) * 0.1250)); background: #c3c7cd; }
.canto:nth-of-type(9) { transform: translateZ(calc(var(--g) * 0.2083)); -webkit-transform: translateZ(calc(var(--g) * 0.2083)); background: #bbbfc5; }
.canto:nth-of-type(10) { transform: translateZ(calc(var(--g) * 0.2917)); -webkit-transform: translateZ(calc(var(--g) * 0.2917)); background: #b3b6bd; }
.canto:nth-of-type(11) { transform: translateZ(calc(var(--g) * 0.3750)); -webkit-transform: translateZ(calc(var(--g) * 0.3750)); background: #aaaeb6; }
.canto:nth-of-type(12) { transform: translateZ(calc(var(--g) * 0.4583)); -webkit-transform: translateZ(calc(var(--g) * 0.4583)); background: #a2a6ae; }
/* Brillo: una franja que cruza la cara una vez por vuelta, con la cara de frente (el frente a
   los 0 s de cada vuelta, el dorso a los 3 s). */
.brillo { position: absolute; top: -10%; left: 0; width: 35%; height: 120%; pointer-events: none; opacity: 0; transform: translateX(-120%) skewX(-12deg); background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0)); }
.sombra { width: 150px; height: 18px; margin: 14px auto 0; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0) 70%); filter: blur(3px); }
.rota { animation: p404-vuelta 6s linear infinite; }
.brillo { animation: p404-brillo 6s linear infinite backwards; }
.frente .brillo { animation-delay: -0.5s; }
.dorso .brillo { animation-delay: -3.5s; }
.sombra { animation: p404-sombra 6s ease-in-out infinite; }
/* Botón de pausa (WCAG 2.2.2), debajo de la sombra. Lo muestra pausa-404.js. Pausada: sin
   animación (pausa-404.js lleva la tarjeta de frente con una transición de 0,4 s). Con ratón
   aparece con un fundido al pasar por la tarjeta o el botón y con el foco del teclado (sigue
   en el orden de tabulación); en táctil, siempre visible. */
.pausa { width: 44px; height: 44px; margin-top: 4px; padding: 0; border: 0; border-radius: 9999px; background: var(--fondo); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pausa[hidden] { display: none; }
.pausa:hover { background: var(--fondo-hover); }
.pausa svg { width: 22px; height: 22px; fill: var(--texto-2); }
.pausa .i-play, .en-pausa .pausa .i-pausa { display: none; }
.en-pausa .pausa .i-play { display: block; }
.en-pausa .rota, .en-pausa .brillo, .en-pausa .sombra { animation: none; }
@media (hover: hover) {
  .pausa { opacity: 0; transition: opacity 0.2s; }
  .zona:hover .pausa, .pausa:focus-visible { opacity: 1; }
}
@keyframes p404-vuelta { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes p404-brillo {
  0% { opacity: 0; transform: translateX(-120%) skewX(-12deg); }
  2% { opacity: 1; }
  14.5% { opacity: 1; }
  16.67%, 100% { opacity: 0; transform: translateX(380%) skewX(-12deg); }
}
/* La sombra se estrecha cuando la tarjeta está de canto (a 1,5 s y 4,5 s). */
@keyframes p404-sombra { 0%, 50%, 100% { transform: scaleX(1); } 25%, 75% { transform: scaleX(0.55); } }
/* Buscador (como el de la portada) y botón a la portada. */
.acciones { display: grid; gap: 12px; width: 100%; max-width: 22rem; }
.buscador { display: flex; align-items: center; gap: 8px; background: var(--fondo); border-radius: 14px; padding: 6px 6px 6px 16px; }
.buscador:focus-within { box-shadow: 0 0 0 2px var(--texto); }
.buscador input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--texto); outline: none; }
.buscador input::placeholder { color: var(--placeholder); }
.buscador button { flex-shrink: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--naranja); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.buscador button:hover { background: var(--texto); }
.buscador button:hover svg { stroke: var(--papel); }
.buscador svg { width: 18px; height: 18px; fill: none; stroke: var(--texto); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.p404 .boton { display: block; text-align: center; padding: 10px 16px; border: 1px solid var(--linea); border-radius: 9999px; color: var(--texto); font-weight: 600; text-decoration: none; }
.p404 .boton:hover { background: var(--fondo-hover); }
/* Escritorio: la tarjeta a la izquierda; titular, buscador y botón a la derecha. */
@media (min-width: 768px) {
  .p404 main.wrap { grid-template-columns: auto minmax(0, 30rem); justify-content: center; grid-template-areas: "escena titulo" "escena acciones"; column-gap: 72px; row-gap: 28px; justify-items: start; text-align: left; padding-top: 40px; padding-bottom: 40px; }
  .p404 h1 { grid-area: titulo; align-self: end; font-size: 42px; max-width: none; }
  .zona { grid-area: escena; justify-self: center; }
  .acciones { grid-area: acciones; align-self: start; }
  .giro { width: 192px; }
  .escala { transform: scale(0.9796); -webkit-transform: scale(0.9796); }
}
