/* WEBO · Conceptos de diseño. Base mínima común y la etiqueta que avisa de que el negocio es ficticio.
   Cada concepto trae su propia hoja de estilos encima de esta. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Etiqueta «Concepto de diseño · negocio ficticio»: discreta, fija y legible sobre cualquier fondo */
.concepto-tag {
  position: fixed; left: 16px; bottom: 16px; z-index: 2147483000;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px; border-radius: 999px;
  background: rgb(19 19 18 / .8); color: #F3F0E5;
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 0 0 1px rgb(243 240 229 / .12), 0 10px 30px -12px rgb(0 0 0 / .45);
  font: 500 12px/1.2 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .01em;
}
.concepto-tag a {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: #F3F0E5; color: #131312; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1);
}
.concepto-tag a:active { transform: scale(.97); }
.concepto-tag a:focus-visible { outline: 2px solid #F3F0E5; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .concepto-tag a:hover { background: #F5DDB9; } }
@media (prefers-reduced-transparency: reduce) { .concepto-tag { background: #131312; } }
@media (max-width: 560px) {
  .concepto-tag { left: 10px; bottom: 10px; gap: 8px; padding-left: 12px; font-size: 11px; }
  .concepto-tag a { min-height: 26px; padding: 0 10px; }
}
/* Las miniaturas del escaparate se capturan sin la etiqueta */
.es-miniatura .concepto-tag { display: none; }
/* Con movimiento, sin scroll suave del CSS (descuadra ScrollTrigger al recargar); las anclas suaves van por concepto.js */
html.mov { scroll-behavior: auto !important; }

/* Firma de WEBO (regla §19): última línea del pie, pequeña y más apagada; hereda la letra y el color del pie de
   cada concepto. Enlace interno a la portada (los conceptos ya están dentro de la web de WEBO). */
:has(> .firma-webo) { flex-wrap: wrap; }
.firma-webo {
  flex: 0 0 100%; grid-column: 1 / -1; order: 99; width: 100%; max-width: none;
  margin: 18px 0 60px; padding: 0; font-size: 13px; line-height: 1.4; font-weight: 400; letter-spacing: 0; text-transform: none;
  opacity: .8;
}
/* El margen inferior deja sitio a la etiqueta fija de concepto, que si no la taparía al final de la página */
@media (max-width: 600px) { .firma-webo { margin-bottom: 50px; } }
.firma-webo a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
