/* P10 Cykloservis Prehadzovačka – Playful sticker
   Tokens in OKLCH. --lemon and --sky are illustration fills only (stickers),
   never buttons or section grounds. Brand colour = --accent. */

:root {
  --bg: oklch(0.98 0.01 100);
  --bg-2: oklch(0.955 0.018 100);
  --paper: oklch(0.995 0.004 100);
  --fg: oklch(0.2 0 0);
  --muted: oklch(0.45 0.01 100);
  --line: var(--fg);
  --accent: oklch(0.74 0.17 355);
  --accent-fg: oklch(0.2 0 0);
  --lemon: oklch(0.92 0.15 100);
  --sky: oklch(0.8 0.1 230);
  --tape: oklch(0.93 0.035 85);
  --tread: oklch(0.34 0 0);
  --danger: oklch(0.5 0.19 25);

  /* Lilita One has no č ď ľ ň ť ŕ ĺ – Baloo 2 (subset of just those glyphs) fills them in */
  --font-display: "Lilita One", "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --step-2: 1.5rem;
  --price: 2rem;
  --display-1: clamp(2.75rem, 1.8rem + 4.5vw, 6.5rem);
  --display-2: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  --display-3: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);

  --b: 3px;
  --sh: 6px;
  --sh-sm: 4px;
  --r-card: 16px;
  --r-field: 12px;
  --gutter: 24px;
  --pad-x: 24px;
  --max: 1280px;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --nav-h: 76px;
  --bounce: cubic-bezier(0.34, 1.9, 0.64, 1); /* ~ back.out(2) */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: var(--fg) var(--bg-2); }
@media (prefers-reduced-motion: no-preference) { html:not(.motion) { scroll-behavior: smooth; } }
html.motion { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--step-0)/1.6 var(--font-text);
  overflow-x: clip;
  caret-color: var(--accent);
}
::selection { background: var(--accent); color: var(--accent-fg); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul[role="list"], .nav ul, .facts { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-fg); padding: 12px 20px;
  border: var(--b) solid var(--fg); border-radius: 999px; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.display-1, .display-2, .display-3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; text-wrap: balance; }
.display-1 { font-size: var(--display-1); line-height: 1; }
.display-2 { font-size: var(--display-2); line-height: 1.05; }
.display-3 { font-size: var(--display-3); line-height: 1.1; }
.nobr { white-space: nowrap; }

/* ---------- sticker primitives ---------- */
/* Shape stickers: two SVG layers of the same symbol – a hard shadow and the face. */
.shape { position: relative; display: grid; place-items: center; isolation: isolate; }
.shape--oval { aspect-ratio: 160 / 100; }
.shape--circle, .shape--star { aspect-ratio: 1; }
.shape--zig { aspect-ratio: 160 / 100; }
.shape--label { aspect-ratio: 180 / 100; }
.shape--tape { aspect-ratio: 260 / 90; }
.sh-shadow, .sh-face {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: -1;
  stroke: var(--fg); stroke-width: var(--b);
}
.sh-shadow { fill: var(--fg); transform: translate(var(--sh), var(--sh)); transition: transform 250ms var(--bounce); }
.f-accent { fill: var(--accent); }
.f-lemon { fill: var(--lemon); }
.f-sky { fill: var(--sky); }
.f-bg { fill: var(--paper); }

/* Illustrated (icon) stickers */
.stk__svg { width: 100%; height: auto; overflow: visible; }
.ill-shadow, .ill-shadow-s { fill: var(--fg); stroke: var(--fg); stroke-width: 6; stroke-linejoin: round; }
.ill-line { fill: var(--fg); stroke: var(--fg); stroke-width: 6; }
.ill-fill { stroke: none; }
.ill-ink { fill: var(--fg); }
.ill-paper { fill: var(--paper); }
.ill-stroke { stroke: var(--fg); stroke-width: 3; stroke-linejoin: round; }
.ill-wrench { fill: none; stroke-linecap: round; }
.ill-wrench--sh, .ill-wrench--line { stroke: var(--fg); stroke-width: 24; }
.ill-wrench--fill { stroke: var(--sky); stroke-width: 18; }
.ill-rb-sh { fill: var(--fg); }
.ill-rb-sh path { fill: none; stroke: var(--fg); }
.ill-rb-line { fill: none; stroke: var(--fg); stroke-width: 48; }
.ill-rb { fill: none; stroke-width: 14; }
.b1 { stroke: var(--accent); } .b2 { stroke: var(--lemon); } .b3 { stroke: var(--sky); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 56px; padding: 0.7rem 1.6rem;
  font: 400 1.375rem/1 var(--font-display); color: var(--accent-fg); text-decoration: none;
  background: var(--accent); border: var(--b) solid var(--fg); border-radius: 999px;
  box-shadow: var(--sh) var(--sh) 0 var(--fg);
  rotate: -2deg;
  transition: transform 200ms var(--bounce), box-shadow 200ms var(--bounce);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--fg); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--fg); }
.link {
  display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px;
  font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.25em;
}
.link:hover { text-decoration-color: var(--accent); }
.link--btn { background: none; border: 0; padding: 0; }

/* ---------- nav (sticker nav) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: var(--b) solid var(--line);
}
.nav__in {
  max-width: var(--max); margin-inline: auto; padding: 0 var(--pad-x);
  min-height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  display: inline-block; text-decoration: none; rotate: -3deg;
  font: 400 1.5rem/1 var(--font-display);
  background: var(--accent); color: var(--accent-fg);
  padding: 0.5rem 1rem 0.55rem; border: var(--b) solid var(--fg); border-radius: 999px;
  box-shadow: var(--sh-sm) var(--sh-sm) 0 var(--fg);
}
.nav__menu ul { display: flex; gap: 14px; margin: 0; }
.nav__menu a, .nav__toggle {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.35rem 1.1rem;
  font: 400 1.125rem/1 var(--font-display); text-decoration: none;
  background: var(--paper); border: var(--b) solid var(--fg); border-radius: 999px;
  box-shadow: var(--sh-sm) var(--sh-sm) 0 var(--fg);
  rotate: var(--r, 0deg);
  transition: rotate 200ms var(--bounce), translate 200ms var(--bounce);
}
.nav__menu li:nth-child(1) a { --r: -3deg; }
.nav__menu li:nth-child(2) a { --r: 2deg; }
.nav__menu li:nth-child(3) a { --r: -2deg; }
.nav__menu li:nth-child(4) a { --r: 3deg; }
.nav__menu a:hover { rotate: calc(var(--r) * 0.3); translate: 0 -2px; }
.nav__toggle { display: none; --r: 3deg; }

/* ---------- hero ---------- */
.hero { display: grid; align-items: center; overflow-x: clip; min-height: calc(100svh - var(--nav-h) - 54px); padding-block: clamp(1.5rem, 0.5rem + 2.5vw, 3rem); }
.hero__in {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: center;
}
.hero__copy { grid-column: 1 / 7; position: relative; z-index: 2; }
.hero h1 { max-width: 11ch; }
.hero__sub { margin-top: 1.5rem; max-width: 34ch; font-size: var(--step-1); font-weight: 600; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2rem; }
.hero__meta { display: flex; align-items: center; gap: 0.5em; margin-top: 1.5rem; color: var(--muted); font-weight: 600; font-size: var(--step--1); }

.hero__stage { grid-column: 7 / 13; position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; padding-block: 1rem; }
.wheel-wrap { position: relative; width: 76%; max-width: 500px; }
.wheel-svg { width: 100%; height: auto; overflow: visible; }
.w-shadow { fill: none; stroke: var(--fg); stroke-width: 36; }
.w-tire { fill: none; stroke: var(--fg); stroke-width: 30; }
.w-knobs { fill: none; stroke: var(--fg); stroke-width: 9; stroke-dasharray: 9 11; }
.w-tread { fill: none; stroke: var(--tread); stroke-width: 16; stroke-dasharray: 4 8; }
.w-rim { fill: none; stroke: var(--accent); stroke-width: 13; }
.w-line { fill: none; stroke: var(--fg); stroke-width: 3; }
.w-spokes { fill: none; stroke: var(--fg); stroke-width: 2.5; stroke-linecap: round; }
.w-nips { stroke: var(--fg); stroke-width: 7; stroke-linecap: round; }
.w-hub { fill: var(--paper); stroke: var(--fg); stroke-width: 3; }
.w-hub-in { fill: var(--fg); }
.w-hub-dot { fill: var(--paper); }
.w-valve { fill: var(--paper); stroke: var(--fg); stroke-width: 3; }
.w-psst-sh { fill: var(--fg); }
.w-psst-bg { fill: var(--lemon); stroke: var(--fg); stroke-width: 3; }
.w-psst text { font: 400 20px var(--font-display); fill: var(--fg); }

.spin-btn {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 48px; padding: 0.5rem 1.25rem;
  font: 400 1.25rem/1 var(--font-display);
  background: var(--paper); border: var(--b) solid var(--fg); border-radius: 999px;
  box-shadow: var(--sh-sm) var(--sh-sm) 0 var(--fg); rotate: 2deg;
  transition: transform 200ms var(--bounce), box-shadow 200ms var(--bounce);
  position: relative; z-index: 3;
}
.spin-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--fg); }
.spin-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--fg); }

.uf { position: absolute; left: 34%; top: -14%; width: 27%; z-index: 4; visibility: hidden; pointer-events: none; }
.uf__in, .mamto__in { aspect-ratio: 1; position: relative; display: grid; place-items: center; isolation: isolate; }
.uf__in span { font: 400 clamp(1.5rem, 1rem + 1.6vw, 2.5rem)/1 var(--font-display); }

/* hero stickers – fixed positions/rotations per sticker */
.hero__stickers { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.stk { position: absolute; left: var(--x); top: var(--y); width: var(--w); translate: -50% -50%; rotate: var(--r); }
.stk__txt {
  font: 400 clamp(1rem, 0.7rem + 0.7vw, 1.375rem)/1.02 var(--font-display); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.15em;
}
.stk__txt--sm { font-size: clamp(0.9375rem, 0.65rem + 0.6vw, 1.1875rem); }
.stk__txt b { font-weight: 400; font-size: 1.45em; }
.ic--cup { width: 1.6em; height: 1.6em; stroke-width: 2.25; margin-bottom: 0.1em; }
.stk--48h    { --x: 12%;  --y: 9%;  --w: clamp(7.5rem, 5rem + 5vw, 10.5rem); --r: -9deg; }
.stk--kava   { --x: 88%;  --y: 8%;  --w: clamp(6rem, 4rem + 4vw, 8.25rem);  --r: 12deg; }
.stk--centr  { --x: 92%;  --y: 68%; --w: clamp(7rem, 4.5rem + 4.5vw, 9.5rem); --r: 8deg; }
.stk--chain  { --x: 95%;  --y: 39%; --w: clamp(4.75rem, 3rem + 3vw, 6.5rem); --r: -14deg; }
.stk--wrench { --x: 3%;   --y: 56%; --w: clamp(4.25rem, 3rem + 2.5vw, 5.75rem); --r: -10deg; }
.stk--sobota { --x: 18%;  --y: 87%; --w: clamp(10rem, 6rem + 7vw, 14rem);   --r: -5deg; }
.stk--bolt   { --x: -6%;  --y: 24%; --w: clamp(3rem, 2rem + 2vw, 4.25rem);  --r: 14deg; }
.stk--duha   { --x: 78%;  --y: 96%; --w: clamp(5.5rem, 3.5rem + 3.5vw, 7.5rem); --r: 6deg; }

/* ---------- chain bar ---------- */
.chain { height: 48px; border-block: var(--b) solid var(--line); background: var(--bg-2); overflow: clip; }
.chain__svg { max-width: none; width: calc(100vw + 96px); height: 48px; margin-top: -3px; will-change: transform; }
.ch-inner { fill: var(--fg); }
.ch-outer-line { fill: var(--fg); stroke: var(--fg); stroke-width: 6; }
.ch-outer { fill: var(--paper); }
.ch-pin { fill: var(--fg); }

/* ---------- sections ---------- */
.sec { padding-block: var(--section-y); }
.sec__head { display: grid; gap: 1rem; max-width: 40rem; }
.sec__head p { font-size: var(--step-1); font-weight: 600; color: var(--muted); }

/* dielňa */
.dielna__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.dielna__text { grid-column: 8 / 13; grid-row: 1; display: grid; gap: 2rem; }
.facts { display: grid; gap: 1.25rem; margin: 0; }
.facts li { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.facts p { font-size: var(--step-1); font-weight: 600; line-height: 1.45; padding-top: 0.6rem; max-width: 30ch; }
.facts__ic {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: var(--b) solid var(--fg); border-radius: 50%; background: var(--paper);
  box-shadow: var(--sh-sm) var(--sh-sm) 0 var(--fg);
}
.facts li:nth-child(2) .facts__ic { rotate: 8deg; }
.facts li:nth-child(3) .facts__ic { rotate: -6deg; }

.collage { grid-column: 1 / 8; grid-row: 1; position: relative; aspect-ratio: 1 / 0.86; margin: 0; }
.photo { position: absolute; }
.photo--1 { left: 0; top: 0; width: 70%; --r: -3deg; z-index: 1; }
.photo--2 { right: 2%; top: 26%; width: 44%; --r: 2deg; z-index: 2; }
.photo--3 { left: 14%; top: 52%; width: 40%; --r: -1deg; z-index: 3; }
.media {
  position: relative; margin: 0; overflow: hidden; rotate: var(--r, 0deg);
  border: var(--b) solid var(--fg); border-radius: var(--r-card);
  box-shadow: var(--sh) var(--sh) 0 var(--fg); background: var(--bg-2);
}
.media--43 { aspect-ratio: 4 / 3; }
.media--11 { aspect-ratio: 1; }
.media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.media__ph { display: none; }
.media.is-missing { background: var(--lemon); display: grid; place-items: center; }
.media.is-missing .media__ph { display: block; width: 34%; height: auto; aspect-ratio: 1; fill: none; stroke: var(--fg); stroke-width: 3; stroke-linecap: round; }

/* služby – sticker bomb */
.sluzby .sec__head { margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.bomb { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 0; align-items: center; margin: 0; }
.tag-li { translate: var(--dx, 0) var(--dy, 0); position: relative; width: var(--w); max-width: 100%; }
.tag-li--1 { grid-column: 1 / 5; justify-self: end;    --w: 18rem; --r: -6deg; --dx: 12px;  --dy: 10px; z-index: 2; }
.tag-li--2 { grid-column: 5 / 9; justify-self: center; --w: 17.5rem; --r: 5deg;  --dy: -18px; z-index: 1; }
.tag-li--3 { grid-column: 9 / 13; justify-self: start; --w: 14.5rem; --r: -10deg; --dx: -12px; --dy: 28px; z-index: 3; }
.tag-li--4 { grid-column: 1 / 6; justify-self: end;    --w: 19.5rem; --r: 3deg;  --dx: 30px; --dy: -36px; z-index: 4; }
.tag-li--5 { grid-column: 6 / 9; justify-self: center; --w: 19rem; --r: -4deg; --dx: 10px; --dy: 4px; z-index: 5; }
.tag-li--6 { grid-column: 9 / 13; justify-self: start; --w: 21rem; --r: 7deg;  --dx: -10px; --dy: -10px; z-index: 6; }
.tag {
  width: 100%; min-width: 0; padding: 0; border: 0; background: none;
  rotate: var(--r); transform-origin: 70% 30%;
  display: grid; grid-auto-flow: row; align-content: center; justify-items: center; gap: 0.25rem; text-align: center;
  transition: transform 250ms var(--bounce);
}
.tag .sh-face { transition: fill 150ms; }
.tag__name { font: 400 var(--step-2)/1.05 var(--font-display); max-width: 82%; text-wrap: balance; }
.tag__price { font: 400 var(--price)/1 var(--font-display); }
.tag__price small { font: 800 0.875rem/1 var(--font-text); vertical-align: 0.35em; }
.shape--label .tag__name, .shape--label .tag__price { translate: 12% 0; max-width: 66%; }
.shape--star .tag__name { max-width: 70%; }
.shape--circle .tag__name { max-width: 74%; }
.tag:hover { transform: perspective(600px) rotateX(-6deg) translateY(-3px); }
.tag:hover .sh-shadow { transform: translate(10px, 10px); }
.tag:active { transform: perspective(600px) rotateX(0deg) translateY(2px); }
.tag:active .sh-shadow { transform: translate(3px, 3px); }
.tag__ok {
  position: absolute; right: 6%; top: 2%; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--fg); color: var(--paper); border-radius: 50%; border: var(--b) solid var(--paper);
  scale: 0; transition: scale 250ms var(--bounce);
}
.tag__ok .ic { stroke-width: 3; width: 22px; height: 22px; }
.tag[aria-pressed="true"] .tag__ok { scale: 1; }
.tag[aria-pressed="true"] .sh-face { stroke-width: 5; }
.tag:focus-visible { outline: none; }
.tag:focus-visible .sh-face { stroke-width: 5; stroke-dasharray: 8 5; }

/* cenník */
.cennik { background: var(--bg-2); border-block: var(--b) solid var(--line); }
.cennik__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.cennik__head { grid-column: 1 / 5; display: grid; gap: 1.25rem; position: sticky; top: calc(var(--nav-h) + 2rem); }
.cennik__head p { color: var(--muted); font-weight: 600; max-width: 32ch; }
.prices { grid-column: 6 / 13; margin: 0; font-variant-numeric: tabular-nums; }
.prices li { display: flex; align-items: baseline; gap: 0.75rem; padding-block: 0.85rem; border-bottom: 2px solid oklch(0.2 0 0 / 0.14); font-size: var(--step-1); }
.prices li:first-child { padding-top: 0; }
.prices span { font-weight: 600; }
.prices i { flex: 1; min-width: 1.5rem; border-bottom: 3px dotted var(--fg); opacity: 0.45; translate: 0 -0.3em; }
.prices b { font-weight: 800; white-space: nowrap; }
.prices small { font-weight: 600; color: var(--muted); font-size: 0.85em; }

/* faq */
.faq__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.faq h2 { grid-column: 1 / 13; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.faq__list { grid-column: 3 / 11; display: grid; gap: 1.25rem; }
.faq details { --r: -1deg; }
.faq details:nth-child(even) { --r: 1deg; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: 0.9rem 1.75rem;
  font: 400 clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem)/1.15 var(--font-display);
  background: var(--tape); border-block: var(--b) solid var(--fg);
  clip-path: polygon(0 0, 100% 0, 99% 25%, 100% 50%, 99% 75%, 100% 100%, 0 100%, 1% 75%, 0 50%, 1% 25%);
  rotate: var(--r); transition: rotate 200ms var(--bounce), background-color 150ms;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 28px; height: 28px; stroke-width: 3; transition: rotate 200ms var(--bounce); }
.faq summary:hover { background: oklch(0.9 0.05 85); }
.faq details[open] summary { rotate: 0deg; }
.faq details[open] summary .ic { rotate: 45deg; }
.faq summary:focus-visible { outline: none; background: oklch(0.88 0.06 85); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.faq details p { padding: 1.25rem 1.75rem 0.5rem; max-width: 68ch; }

/* order */
.order__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.order__aside { grid-column: 1 / 5; display: grid; gap: 1.25rem; position: sticky; top: calc(var(--nav-h) + 2rem); }
.order__aside > p:first-of-type { font-size: var(--step-1); font-weight: 600; }
.order__hours { display: flex; align-items: center; gap: 0.5em; color: var(--muted); font-weight: 600; }
.order__card {
  grid-column: 5 / 13; position: relative;
  background: var(--paper); border: var(--b) solid var(--fg); border-radius: var(--r-card);
  box-shadow: var(--sh) var(--sh) 0 var(--fg); padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
}
.form { display: grid; gap: 1.75rem; }
.form[hidden] { display: none; }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs legend, .field label { font-weight: 800; font-size: 0.9375rem; padding: 0; margin-bottom: 0.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; padding: 0.45rem 1rem;
  border: var(--b) solid var(--fg); border-radius: 999px; background: var(--paper);
  font-weight: 800; font-size: 0.9375rem; line-height: 1.2;
  transition: background-color 150ms, transform 200ms var(--bounce), box-shadow 200ms var(--bounce);
}
.chip span::before {
  content: ""; width: 0; height: 14px; margin-left: -0.15em;
  border-right: 3px solid var(--fg); border-bottom: 3px solid var(--fg);
  rotate: 45deg; translate: 0 -2px; opacity: 0;
}
.chip:hover span { box-shadow: var(--sh-sm) var(--sh-sm) 0 var(--fg); transform: translate(-1px, -1px); }
.chip input:checked + span { background: var(--accent); box-shadow: var(--sh-sm) var(--sh-sm) 0 var(--fg); }
.chip input:checked + span::before { width: 7px; opacity: 1; margin-right: 0.15em; }
.chip input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.chip span em { font-style: normal; font-weight: 800; font-size: 0.75rem; padding: 0.15rem 0.45rem; border: 2px solid var(--fg); border-radius: 999px; background: var(--paper); }
.chip--day span { flex-direction: column; align-items: flex-start; gap: 0; padding: 0.4rem 0.9rem; min-width: 84px; border-radius: 14px; }
.chip--day span b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.1; }
.chip--day span small { font-weight: 600; font-size: 0.8125rem; }
.chip--day span::before { display: none; }
.chip--day.is-sat span em { margin-top: 0.2rem; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0.75rem 1rem;
  background: var(--bg); border: var(--b) solid var(--fg); border-radius: var(--r-field);
  transition: box-shadow 150ms;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: var(--sh-sm) var(--sh-sm) 0 var(--fg); background: var(--paper); }
.field [aria-invalid="true"] { border-color: var(--danger); border-style: dashed; }
.consent { display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; align-items: start; font-size: 0.9375rem; cursor: pointer; }
.consent input { width: 28px; height: 28px; margin: 0; accent-color: var(--fg); cursor: pointer; }
.consent input:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.err { display: flex; gap: 0.4em; align-items: center; color: var(--danger); font-weight: 800; font-size: 0.9375rem; margin-top: 0.5rem; }
.err::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--danger); }
.err[hidden] { display: none; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

.success { display: grid; justify-items: center; text-align: center; gap: 1rem; padding-block: 1rem 0.5rem; }
.success[hidden] { display: none; }
.mamto { width: min(15rem, 70%); }
.mamto__in span { font: 400 clamp(1.75rem, 1.2rem + 2vw, 2.75rem)/0.95 var(--font-display); max-width: 5ch; rotate: -6deg; }
.success__sum { color: var(--muted); font-weight: 600; }
.success h3:focus { outline: none; }

/* footer */
.foot { border-top: var(--b) solid var(--line); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 2rem var(--gutter); }
.foot__brand { display: grid; gap: 1rem; align-content: start; }
.logo--static { justify-self: start; }
.foot__h { font: 400 1.125rem/1.2 var(--font-display); margin-bottom: 0.5rem; }
.foot a { text-decoration-thickness: 2px; }
.foot a:hover { text-decoration-color: var(--accent); }
.foot ul { margin: 0; display: grid; gap: 0.15rem; }
.foot ul a, .foot p a { display: inline-block; padding-block: 0.4rem; }
.foot__demo { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: 2rem; border-top: 2px solid oklch(0.2 0 0 / 0.14); font-size: 0.9375rem; }
.demo-stk {
  display: inline-block; font: 400 1rem/1 var(--font-display); padding: 0.45rem 0.9rem;
  background: var(--paper); border: var(--b) solid var(--fg); border-radius: 999px;
  box-shadow: var(--sh-sm) var(--sh-sm) 0 var(--fg); rotate: -4deg;
}

/* order bar */
.bar {
  position: fixed; left: 50%; bottom: 12px; z-index: 40; width: min(760px, calc(100% - 24px));
  translate: -50% calc(100% + 24px); visibility: hidden;
  transition: translate 350ms var(--bounce), visibility 0s 350ms;
}
.bar.is-on { translate: -50% 0; visibility: visible; transition: translate 350ms var(--bounce), visibility 0s; }
.bar__in {
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px;
  background: var(--paper); border: var(--b) solid var(--fg); border-radius: var(--r-card);
  box-shadow: var(--sh) var(--sh) 0 var(--fg);
}
.bar__label { font: 400 1rem/1 var(--font-display); white-space: nowrap; }
.bar__chips { display: flex; gap: 6px; overflow-x: auto; flex: 1; min-width: 0; margin: 0; padding: 4px 2px; scrollbar-width: thin; }
.bar__chips li { flex: none; }
.bar__chips button {
  display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px; padding: 0.2rem 0.4rem 0.2rem 0.8rem;
  font-weight: 800; font-size: 0.875rem; background: var(--bg-2); border: 2px solid var(--fg); border-radius: 999px;
}
.bar__chips button:hover { background: var(--accent); }
.bar__chips .ic { width: 18px; height: 18px; stroke-width: 3; }
.bar__go {
  display: inline-flex; align-items: center; gap: 0.35em; min-height: 48px; padding: 0.4rem 1rem; flex: none;
  font: 400 1.125rem/1 var(--font-display); text-decoration: none; color: var(--accent-fg);
  background: var(--accent); border: var(--b) solid var(--fg); border-radius: 999px;
}

/* ---------- motion start states (only with html.motion) ---------- */
html.motion .hero__stickers .stk__in,
html.motion .tag-li,
html.motion .photo { opacity: 0; }
/* if main.js never runs, show everything after 4 s */
html.motion:not(.ready) .hero__stickers .stk__in,
html.motion:not(.ready) .tag-li,
html.motion:not(.ready) .photo { animation: safety-show 0s 4s forwards; }
html.motion .is-in { opacity: 1 !important; }
@keyframes safety-show { to { opacity: 1; } }

/* ---------- responsive ---------- */
@media (min-width: 1600px) {
  :root { --max: 1520px; }
  .hero h1 { max-width: 12.5ch; }
  .wheel-wrap { max-width: 600px; }
}

@media (max-width: 1100px) {
  .tag-li--1 { --w: 16.5rem; } .tag-li--2 { --w: 15.5rem; } .tag-li--3 { --w: 13rem; }
  .tag-li--4 { --w: 18rem; } .tag-li--5 { --w: 17rem; } .tag-li--6 { --w: 19rem; }
}

@media (max-width: 1023px) {
  .hero__in { min-height: 0; row-gap: 2.5rem; }
  .hero__copy, .hero__stage { grid-column: 1 / -1; }
  .hero h1 { max-width: 13ch; }
  .hero__stage { width: min(100%, 640px); justify-self: center; padding-block: 1.5rem 3rem; }
  .wheel-wrap { width: 62%; }
  .stk--bolt { --x: 4%; --y: 30%; }
  .stk--wrench { --x: 10%; --y: 62%; }
  .stk--chain { --x: 94%; }
  .stk--duha { --y: 97%; }

  .dielna__in { row-gap: 3rem; }
  .dielna__text, .collage { grid-column: 1 / -1; grid-row: auto; }
  .collage { max-width: 720px; width: 100%; justify-self: center; }

  .bomb { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .tag-li { grid-column: auto !important; justify-self: center !important; --dx: 0; --dy: 0; }
  .tag-li:nth-child(odd) { --dy: 12px; }

  .cennik__head, .prices, .order__aside, .order__card { grid-column: 1 / -1; }
  .cennik__head, .order__aside { position: static; margin-bottom: 2.5rem; }
  .faq__list { grid-column: 1 / -1; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 859px) {
  :root { --nav-h: 68px; }
  .logo { font-size: 1.25rem; }
  html.js .nav__toggle { display: inline-flex; }
  html.js .nav__menu {
    position: absolute; right: var(--pad-x); top: calc(100% + 12px); visibility: hidden;
  }
  html.js .nav__menu.is-open { visibility: visible; }
  html.js .nav__menu ul { flex-direction: column; align-items: flex-end; gap: 14px; }
  html.js .nav__menu a { font-size: 1.375rem; min-height: 52px; padding-inline: 1.4rem; background: var(--paper); box-shadow: var(--sh) var(--sh) 0 var(--fg); }
  html:not(.js) .nav__in { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav__menu ul { flex-wrap: wrap; }
}

@media (max-width: 767px) {
  :root { --pad-x: 16px; --gutter: 16px; }
  .chain { height: 36px; }
  .chain__svg { height: 48px; scale: 0.75; transform-origin: 0 0; width: calc((100vw + 96px) / 0.75); margin-top: -2px; }

  .hero__stage { padding-bottom: 0; }
  .wheel-wrap { width: 70vw; max-width: 420px; }
  /* 5 stickers on mobile, laid out in a row under the wheel */
  .hero__stickers { position: static; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 14px; margin-top: 0.75rem; }
  .stk { position: relative; left: auto; top: auto; translate: none; }
  .stk--chain, .stk--wrench, .stk--duha { display: none; }
  .stk--48h { --w: 8.5rem; } .stk--kava { --w: 6.5rem; } .stk--centr { --w: 7.5rem; } .stk--sobota { --w: 11.5rem; } .stk--bolt { --w: 3.25rem; }
  .uf { left: -4%; top: -8%; width: 34%; }

  .collage { aspect-ratio: auto; display: grid; gap: 28px; }
  .photo { position: static; width: 100% !important; }
  .photo--2, .photo--3 { width: 80% !important; }
  .photo--2 { justify-self: end; }

  .bomb { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
  .tag-li:nth-child(odd) { --dy: 0; }
  .tag-li--1 { --w: 17rem; } .tag-li--2 { --w: 16rem; } .tag-li--3 { --w: 14rem; }
  .tag-li--4 { --w: 20rem; } .tag-li--5 { --w: 19rem; } .tag-li--6 { --w: 21rem; }

  .prices li { flex-wrap: wrap; gap: 0.25rem 0.75rem; font-size: var(--step-0); }
  .faq summary { padding-inline: 1.1rem; }
  .faq details p { padding-inline: 1.1rem; }
  .fields { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr; }
  .bar { bottom: 8px; }
  .bar__label { display: none; }
}

/* 360-480: no rotations, no overlaps */
@media (max-width: 480px) {
  .stk, .tag-li, .media, .facts__ic, .faq details, .nav__menu a { --r: 0deg !important; }
  .logo, .nav__toggle, .spin-btn, .demo-stk { rotate: 0deg; }
  .facts li .facts__ic { rotate: 0deg; }
  .tag { rotate: 0deg; }
  .stk--48h { --w: 7.5rem; } .stk--kava { --w: 5.75rem; } .stk--centr { --w: 6.75rem; } .stk--sobota { --w: 10.5rem; }
  .tag__name { font-size: 1.375rem; }
  .btn { rotate: 0deg; }
  .chip--day span { min-width: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .tag, .btn, .spin-btn, .nav__menu a, .chip span, .bar, .faq summary, .faq summary .ic, .tag__ok { transition-duration: 0.01ms !important; }
  .tag:hover, .tag:active, .btn:hover, .btn:active, .spin-btn:hover, .spin-btn:active, .chip:hover span { transform: none; }
  .nav__menu a:hover { rotate: var(--r); translate: none; }
  .tag:hover .sh-shadow { transform: translate(9px, 9px); transition: none; }
}
