/* Raklapvadászok – raktárcímke stílus */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jbmono-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jbmono-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #121212;
  --ink-2: #3b3d40;
  --concrete: #e4e5e6;
  --concrete-2: #d2d4d6;
  --white: #ffffff;
  --signal: #ff5a14;
  --signal-ink: #c63f00;
  --kraft: #c9975d;

  --sans: "Archivo", "Arial Narrow", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: 16px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
main { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* ---------- gombok ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 85%;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--fg);
  background:
    linear-gradient(var(--signal), var(--signal)) left / 0% 100% no-repeat,
    var(--bg);
  border: 2px solid var(--ink);
  transition: background-size .35s var(--ease), color .2s, transform .15s;
}
.btn:hover { background-size: 100% 100%, auto; color: var(--ink); }
.btn:active { transform: translateY(2px); }
.btn__fb { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.btn--small { padding: 8px 14px; font-size: 14px; }
.btn--big { padding: 16px 24px; font-size: 18px; }
.btn--light { --bg: var(--white); --fg: var(--ink); border-color: var(--white); }

/* ---------- fejléc ---------- */

.topbar {
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  position: relative;
  z-index: 5;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  transition: transform .6s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(90deg); }
.brand__name {
  font-weight: 900;
  font-stretch: 70%;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__phone {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: none;
}
.topbar__phone:hover { color: var(--signal-ink); }
@media (min-width: 640px) { .topbar__phone { display: inline; } }
@media (max-width: 419px) {
  .brand__logo { width: 36px; height: 36px; }
  .brand__name { font-size: 19px; }
  .topbar .btn--small { padding: 8px 10px; font-size: 13px; }
}

/* ---------- hero ---------- */

.hero { padding: 40px 0 56px; }
.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero__grid { grid-template-columns: 1.3fr .7fr; gap: 56px; }
}

.hero__title {
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  font-size: clamp(44px, 12.5vw, 96px);
  line-height: .9;
  letter-spacing: -.005em;
}
@media (min-width: 900px) {
  .hero__title { font-size: clamp(72px, 7.6vw, 112px); }
}
.hero__title .line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  padding-top: .08em;
  margin-top: -.08em;
}
.hero__title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise .9s var(--ease) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span {
  animation-delay: .2s;
  color: var(--white);
  background: var(--ink);
  padding: 0 .12em;
  margin-left: -.06em;
}
@keyframes rise { to { transform: none; } }

.hero__lead {
  max-width: 34em;
  margin: 28px 0 0;
  font-size: 19px;
  color: var(--ink-2);
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.link-call {
  font-size: 16px;
  text-decoration: none;
  border-bottom: 2px solid var(--kraft);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.link-call strong { font-family: var(--mono); font-weight: 700; }
.link-call:hover { border-color: var(--signal); }

/* ---------- fotóhalom + célkereszt ---------- */

.stack {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
}
.stack__item {
  position: absolute;
  inset: 0;
  margin: 0;
  background: var(--white);
  padding: 10px 10px 34px;
  border: 2px solid var(--ink);
  transition: transform .8s var(--ease), opacity .5s;
  overflow: hidden;
}
.stack__item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* fóliacsillanás */
.stack__item::after,
.reel__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.1) 55%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}
.stack__item.is-top::after { animation: sheen 1.6s .3s var(--ease); }
@keyframes sheen { to { transform: translateX(120%); } }

.stack__item[data-pos="0"] { transform: rotate(-2deg); z-index: 3; }
.stack__item[data-pos="1"] { transform: translate(14px, 10px) rotate(3deg); z-index: 2; }
.stack__item[data-pos="2"] { transform: translate(-12px, 18px) rotate(-6deg); z-index: 1; }
.stack__item.is-out {
  transform: translate(-70%, -6%) rotate(-18deg);
  opacity: 0;
  z-index: 4;
}

.reticle {
  position: absolute;
  left: 0; top: 0;
  width: 120px; height: 120px;
  margin: -60px 0 0 -60px;
  z-index: 6;
  pointer-events: none;
  transform: translate(210px, 280px);
  transition: transform 1.1s var(--ease);
  overflow: visible;
}
.reticle * { fill: none; stroke: var(--ink); stroke-width: 4; transition: stroke .2s, r .35s var(--ease); }
.reticle__dot { fill: var(--ink); stroke: none; }
.reticle__ring { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.reticle__ticks { filter: drop-shadow(0 0 1px #fff); }
.reticle.is-locked .reticle__ring { r: 24; stroke: var(--signal); }
.reticle.is-locked .reticle__ticks { stroke: var(--signal); }
.reticle.is-locked .reticle__dot { fill: var(--signal); }

.sticker {
  position: absolute;
  right: -10px;
  bottom: 54px;
  z-index: 5;
  background: var(--signal);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 8px 12px;
  transform: rotate(4deg);
  display: grid;
  line-height: 1.1;
}
.sticker__code { font-weight: 900; font-stretch: 62%; font-size: 30px; }
.sticker__txt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
@media (min-width: 900px) { .sticker { right: -28px; } }

/* ---------- ragasztószalag-futószöveg ---------- */

.tape {
  background: var(--signal);
  border-block: 2px solid var(--ink);
  overflow: hidden;
  transform: rotate(-1.2deg);
  margin: 0 -20px;
}
.tape__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.tape__track span {
  white-space: nowrap;
  font-weight: 800;
  font-stretch: 70%;
  font-size: 22px;
  text-transform: uppercase;
  padding: 10px 0;
  letter-spacing: .02em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- vásárlás menete + címke ---------- */

.how { padding: 80px 0; }
.how__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) {
  .how { padding: 120px 0; }
  .how__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; }
}
.how h2, .gallery h2 {
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  font-size: clamp(40px, 7vw, 72px);
  line-height: .92;
}
.how__intro p { margin: 20px 0 0; max-width: 30em; font-size: 18px; color: var(--ink-2); }
.how__intro .how__note {
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--white);
  border: 2px dashed var(--ink);
  font-size: 16px;
  color: var(--ink);
}

.label {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 22px 20px 20px;
  transform: rotate(.6deg);
  transition: transform .5s var(--ease);
}
.label:hover { transform: rotate(0deg); }
@media (min-width: 640px) { .label { padding: 28px 30px 24px; } }

.label__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 4px solid var(--ink);
}
.label__head img { width: 56px; height: 56px; border-radius: 50%; }
.label__title {
  display: block;
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1;
}
.label__sub { display: block; font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin-top: 4px; }

.label__rows { margin: 0; }
.label__rows > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--concrete-2);
}
@media (min-width: 560px) {
  .label__rows > div { grid-template-columns: 130px 1fr; gap: 16px; }
}
.label__rows dt {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 3px;
}
.label__rows dd { margin: 0; font-size: 16px; }
.label__rows a { font-weight: 700; text-decoration-color: var(--signal); text-underline-offset: 3px; }

.label__foot {
  position: relative;
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  overflow: hidden;
}
.barcode { width: 220px; max-width: 70%; height: 56px; }
.barcode rect { fill: var(--ink); }
.label__code { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.scanline {
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 2px;
  background: var(--signal);
  box-shadow: 0 0 6px var(--signal);
  opacity: 0;
}
.label.is-scanning .scanline { animation: scan 1.2s var(--ease); }
@keyframes scan {
  0% { opacity: 1; transform: translateX(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateX(220px); }
}

.stamp {
  position: absolute;
  right: 18px;
  top: -22px;
  background: rgba(255, 255, 255, .6);
  font-weight: 900;
  font-stretch: 70%;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  color: var(--signal-ink);
  border: 3px solid currentColor;
  padding: 8px 10px;
  transform: rotate(-11deg);
  opacity: .85;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.label.is-stamped .stamp { animation: thump .45s var(--ease) both; }
@keyframes thump {
  0% { transform: rotate(-11deg) scale(2.2); opacity: 0; }
  60% { transform: rotate(-11deg) scale(.94); opacity: .9; }
  100% { transform: rotate(-11deg) scale(1); opacity: .85; }
}
@media (max-width: 559px) { .stamp { top: -18px; right: 8px; font-size: 15px; padding: 6px 8px; } }

/* ---------- galéria-szalag ---------- */

.gallery { padding: 0 0 96px; }
.gallery__head { display: grid; gap: 16px; margin-bottom: 36px; }
.gallery__head p { margin: 0; max-width: 34em; font-size: 18px; color: var(--ink-2); }
@media (min-width: 900px) {
  .gallery__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
}

.reel { overflow: hidden; }
.reel__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 12px 0 20px;
  animation: reel 60s linear infinite;
}
.reel:hover .reel__track { animation-play-state: paused; }
@keyframes reel { to { transform: translateX(calc(-50% - 9px)); } }

.reel__item {
  position: relative;
  flex: none;
  width: 220px;
  aspect-ratio: 3 / 4;
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 8px;
  overflow: hidden;
  transition: transform .4s var(--ease);
}
.reel__item:nth-child(odd) { transform: rotate(-1.5deg); }
.reel__item:nth-child(even) { transform: rotate(1.5deg) translateY(8px); }
.reel__item:hover { transform: rotate(0) translateY(-6px); }
.reel__item:hover::after { animation: sheen 1s var(--ease); }
.reel__item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: filter .3s; }
.reel__item:hover img { filter: saturate(1.05); }
@media (min-width: 720px) { .reel__item { width: 260px; } }

@media (pointer: fine) {
  .reel, .reel a { cursor: none; }
}

.cursor {
  position: fixed;
  left: 0; top: 0;
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity .2s;
}
.cursor.is-on { opacity: 1; }
.cursor svg { width: 100%; height: 100%; overflow: visible; }
.cursor circle, .cursor path { fill: none; stroke: var(--signal); stroke-width: 3; }
.cursor circle { transition: r .25s var(--ease); }
.cursor.is-aim circle { r: 9; }

/* ---------- záró blokk ---------- */

.cta {
  background: var(--ink);
  color: var(--white);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.cta__inner { position: relative; }
.cta__mark {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 300px;
  height: 300px;
  opacity: .18;
  animation: spin 40s linear infinite;
}
.cta__mark * { fill: none; stroke: var(--white); stroke-width: 3; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .cta__mark { width: 460px; height: 460px; right: 0; top: -80px; } }

.cta h2 {
  font-weight: 900;
  font-stretch: 62%;
  text-transform: uppercase;
  font-size: clamp(44px, 8vw, 96px);
  line-height: .9;
  max-width: 11em;
  position: relative;
}
.cta p { font-size: 19px; color: #c9cacc; max-width: 30em; margin: 22px 0 34px; position: relative; }
.cta .btn--light:hover { color: var(--ink); }
.cta__contacts {
  list-style: none;
  margin: 44px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #3a3a3a;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  font-family: var(--mono);
  font-size: 15px;
}
.cta__contacts a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.cta__contacts a:hover { color: var(--signal); border-color: var(--signal); }

/* ---------- lábléc ---------- */

.footer { background: var(--ink); color: #9a9b9e; border-top: 1px solid #2b2b2b; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  font-size: 14px;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }

/* ---------- mozgáscsökkentés ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__title .line > span { transform: none; }
  .tape__track, .reel__track { animation: none; }
  .reel { overflow-x: auto; }
}
