/* ============ ARTISAN · base compartida (zine callejero) ============ */
@font-face { font-family: "Lugati"; src: url("../fonts/lugati-artisan-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lugati"; src: url("../fonts/lugati-artisan-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lugati"; src: url("../fonts/lugati-artisan-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-900i.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Freestyle"; src: url("../fonts/freestyle.woff2") format("woff2"); font-display: swap; }

:root {
  --naranja: #F53909;
  --naranja-osc: #c92d05;
  --celeste: #14A3DE;
  --tinta: #0F0F0F;
  --papel: #F4EFE4;
  --papel-2: #EAE3D3;
  --blanco: #ffffff;
  --display: "Lugati", "Arial Narrow", Impact, sans-serif;
  --texto: "Poppins", system-ui, sans-serif;
  --script: "Freestyle", "Brush Script MT", cursive;
  --borde: 3px solid var(--tinta);
  --sombra: 5px 5px 0 var(--tinta);
  --ruido: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--texto); color: var(--tinta); background: var(--papel);
  line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
/* grano de fotocopia sobre todo el sitio */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999;
  background-image: var(--ruido); opacity: .16; mix-blend-mode: multiply;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografía ---------- */
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; }
.script { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; }
.kicker {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: .95rem; display: inline-flex; gap: .5em; align-items: center;
}

/* ---------- botones ---------- */
.btn {
  --bg: var(--naranja); --fg: var(--blanco);
  display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.3em;
  font-family: var(--display); font-weight: 900; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em;
  background: var(--bg); color: var(--fg); text-decoration: none;
  border: var(--borde); box-shadow: var(--sombra); border-radius: 4px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 8px 8px 0 var(--tinta); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--tinta); }
.btn--celeste { --bg: var(--celeste); }
.btn--blanco { --bg: var(--blanco); --fg: var(--tinta); }
.btn--tinta { --bg: var(--tinta); --fg: var(--blanco); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- elementos zine ---------- */
.cinta { /* cinta adhesiva */
  position: absolute; width: 110px; height: 30px; background: rgba(255, 236, 170, .72);
  box-shadow: 0 1px 2px rgba(0,0,0,.18); z-index: 3;
  -webkit-mask: linear-gradient(90deg, transparent 0 3px, #000 3px calc(100% - 3px), transparent 0),
                repeating-linear-gradient(0deg, #000 0 4px, transparent 4px 6px);
}
.cinta::after { content: ""; position: absolute; inset: 0; background-image: var(--ruido); opacity: .35; }

.rasgado-abajo { -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 14px repeat-x;
                 mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 22px 14px repeat-x; }
.rasgado-arriba { -webkit-mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 14px) no-repeat, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 22px 14px repeat-x;
                  mask: linear-gradient(#000 0 0) bottom / 100% calc(100% - 14px) no-repeat, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 22px 14px repeat-x; }

.trama-cuadros { background: url("../img/marca/trama-cuadros-naranja.webp") center / 140px; }
.trama-celeste { background: url("../img/marca/trama-cuadros-celeste.webp") center / 140px; }
.trama-rayas { background: url("../img/marca/trama-rayas-naranja.webp") center / 200px; }

.precio-sticker { /* estrella de precio como en el menú impreso */
  --c: var(--naranja);
  display: inline-grid; place-items: center; min-width: 4.6em; aspect-ratio: 1; padding: .6em;
  background: var(--c); color: #fff; font-family: var(--display); font-weight: 900; font-size: 1rem; line-height: 1;
  clip-path: polygon(50% 0, 61% 13%, 78% 6%, 80% 23%, 97% 25%, 88% 40%, 100% 52%, 86% 62%, 93% 79%, 76% 80%, 70% 97%, 56% 87%, 43% 100%, 35% 85%, 18% 93%, 17% 76%, 0 70%, 11% 56%, 2% 40%, 17% 33%, 15% 15%, 32% 15%, 38% 0);
}
.precio-sticker sup { font-size: .55em; vertical-align: .55em; margin-left: 1px; }

.marquee { overflow: hidden; background: var(--tinta); color: var(--papel); border-block: var(--borde); white-space: nowrap; position: relative; z-index: 4; }
.marquee__pista { display: inline-flex; gap: 2.2rem; padding: .55rem 0; animation: marquee 28s linear infinite; }
.marquee__pista span { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 3.2vw, 2.4rem); text-transform: uppercase; display: inline-flex; gap: 2.2rem; align-items: center; }
.marquee__pista span::after { content: "✦"; color: var(--naranja); font-size: .7em; }
.marquee--naranja { background: var(--naranja); color: #fff; }
.marquee--naranja .marquee__pista span::after { color: var(--tinta); }
.marquee--inverso .marquee__pista { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; border: var(--borde); box-shadow: 4px 4px 0 var(--tinta);
  transition: transform .2s;
}
.wa-flotante:hover { transform: rotate(-10deg) scale(1.06); }
.wa-flotante svg { width: 32px; height: 32px; }

:focus-visible { outline: 3px dashed var(--celeste); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
