/* Drobiazgi 3D — neo-brutalizm light */
:root {
  --ink: #16131f;
  --cream: #fff7e8;
  --paper: #fffdf8;
  --violet: #7c3aed;
  --violet-dark: #5b21b6;
  --violet-soft: #ede4ff;
  --yellow: #ffd23f;
  --yellow-soft: #fff1b8;
  --mint: #6ee7b7;
  --mint-soft: #d7f8ea;
  --coral: #ff6b5b;
  --coral-soft: #ffe0db;
  --sky: #7dd3fc;
  --sky-soft: #dcf3fe;
  --muted: #5a546a;
  --line: 3px;
  --r: 18px;
  --r-sm: 12px;
  --sh: 5px 5px 0 var(--ink);
  --sh-sm: 3px 3px 0 var(--ink);
  --sh-lg: 8px 8px 0 var(--ink);
  --head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --topbar: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(22, 19, 31, .07) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); border: var(--line) solid var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 40px); }

/* ---------- przyciski / pigułki ---------- */
.btn {
  --bg: #fff; --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1.1 var(--body); text-decoration: none; text-align: center;
  color: var(--fg); background: var(--bg);
  border: var(--line) solid var(--ink); border-radius: 14px; box-shadow: var(--sh);
  padding: .8em 1.2em; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--violet { --bg: var(--violet); --fg: #fff; }
.btn--yellow { --bg: var(--yellow); }
.btn--white { --bg: #fff; }
.btn--lg { font-size: 1.08rem; padding: 1em 1.35em; border-radius: 16px; }
.btn--sm { font-size: .92rem; padding: .6em 1em; box-shadow: var(--sh-sm); border-radius: 12px; }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }

.pill {
  display: inline-flex; align-items: center; gap: .55em; margin: 0;
  font-weight: 600; font-size: .9rem; padding: .4em .95em;
  border: 2.5px solid var(--ink); border-radius: 99px; background: #fff; box-shadow: var(--sh-sm);
}
.pill .dot { width: .6em; height: .6em; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); }

.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: .28em .85em;
  font: 700 .82rem/1.3 var(--body); text-transform: uppercase; letter-spacing: .08em;
  background: var(--violet-soft); border: 2.5px solid var(--ink); border-radius: 99px; transform: rotate(-2deg);
}
.eyebrow--yellow { background: var(--yellow); }
.eyebrow--white { background: #fff; }

/* ---------- nagłówek ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 247, 232, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: var(--line) solid var(--ink);
}
.topbar__in { height: var(--topbar); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .logo-mark { width: 40px; height: 40px; flex: none; transition: transform .2s; }
.brand:hover .logo-mark { transform: rotate(-10deg) scale(1.05); }
.brand__name { font: 800 1.55rem/1 var(--head); letter-spacing: -.02em; padding-top: 4px; }
.brand__name b { color: var(--violet); margin-left: 2px; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; font-weight: 600; font-size: .95rem; text-decoration: none; padding: 8px 12px; border-radius: 10px; border: 2px solid transparent; }
.nav ul a:hover { border-color: var(--ink); background: #fff; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0; cursor: pointer;
    background: #fff; border: var(--line) solid var(--ink); border-radius: 12px; box-shadow: var(--sh-sm);
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 20px; height: 3px; background: var(--ink); border-radius: 3px; position: relative; transition: transform .2s, opacity .2s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 10px);
    flex-direction: column; align-items: stretch; gap: 12px; padding: 14px;
    background: #fff; border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .15s, transform .15s, visibility .15s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 12px; font-size: 1.05rem; }
  .nav .btn { padding: .9em; font-size: 1rem; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 6.4vw, 5.1rem); font-weight: 800; margin: 22px 0 18px; line-height: .98; }
.hl { position: relative; white-space: nowrap; z-index: 0; color: var(--violet); }
.hl::after {
  content: ""; position: absolute; left: -.08em; right: -.1em; bottom: .06em; height: .36em; z-index: -1;
  background: var(--yellow); border-radius: .2em; transform: rotate(-1.5deg);
}
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 36em; color: #2d2838; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before {
  content: ""; width: 20px; height: 20px; flex: none; border: 2.5px solid var(--ink); border-radius: 6px;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%2316131f' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.hero__art { position: relative; max-width: 560px; justify-self: center; width: 100%; }
.hero__art__svg, .hero-art__svg { display: block; width: 100%; height: auto; }
.sticker { position: absolute; display: block; }
.sticker svg { display: block; width: 100%; height: 100%; }
.sticker--fidget { width: 22%; left: -3%; bottom: 6%; background: #fff; border: var(--line) solid var(--ink); border-radius: 50%; padding: 3%; box-shadow: var(--sh); }
.sticker--pot { width: 21%; right: -2%; bottom: -3%; background: var(--mint-soft); border: var(--line) solid var(--ink); border-radius: 22px; padding: 2.5%; box-shadow: var(--sh); transform: rotate(6deg); }
.sticker--star { width: 17%; right: 4%; top: -4%; }
.sticker--price {
  left: 0; top: 2%; width: 23%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: .95;
  font: 800 clamp(1.1rem, 2.4vw, 1.7rem) var(--head); color: var(--ink);
  background: var(--yellow); border: var(--line) solid var(--ink); box-shadow: var(--sh); transform: rotate(-12deg);
}
.sticker--price small { font: 700 clamp(.6rem, 1.1vw, .8rem)/1.2 var(--body); text-transform: uppercase; letter-spacing: .06em; }

@media (prefers-reduced-motion: no-preference) {
  .sticker--fidget svg { animation: spin 9s linear infinite; }
  .sticker--pot { animation: bob 4.2s ease-in-out infinite; }
  .sticker--star { animation: sway 5s ease-in-out infinite; transform-origin: 50% 0; }
  .sticker--price { animation: wobble 6s ease-in-out infinite; }
  .hero-dragon { animation: wiggle 7s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-10px); } }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(-4deg) scale(1.04); } }
@keyframes wiggle { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(1.5deg); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; margin-top: 12px; }
  .hero__title { margin-top: 18px; }
}
@media (max-width: 520px) {
  .hero__cta .btn { width: 100%; }
  .hero__art { max-width: 330px; }
  .hero .pill { font-size: .78rem; }
  .ticks { font-size: .9rem; }
}

/* ---------- wstążka ---------- */
.ribbon { background: var(--ink); color: var(--yellow); overflow: hidden; border-block: var(--line) solid var(--ink); transform: rotate(-1.2deg); margin: 0 -20px; }
.ribbon__track { display: flex; width: max-content; padding: 12px 0; font: 800 1.35rem/1 var(--head); white-space: nowrap; }
.ribbon__track span { padding-right: 22px; display: inline-flex; align-items: center; gap: 22px; }
.ribbon__track span::after { content: "✦"; color: var(--mint); font-size: .9em; }
.ribbon__track span:nth-child(3n+2)::after { color: var(--coral); }
.ribbon__track span:nth-child(3n)::after { color: var(--violet-soft); }
@media (prefers-reduced-motion: no-preference) { .ribbon__track { animation: marquee 38s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sekcje ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--mint { background: var(--mint-soft); border-block: var(--line) solid var(--ink); }
.section--yellow { background: var(--yellow); border-block: var(--line) solid var(--ink); }
.section--quote {
  background-color: var(--violet); color: #fff; border-block: var(--line) solid var(--ink);
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.4px, transparent 1.5px);
  background-size: 22px 22px;
}
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section__head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
.section__lead { font-size: 1.1rem; margin-top: 14px; color: #2d2838; }
.section__head--light .section__lead { color: #efe7ff; }
.section__head--light .eyebrow { color: var(--ink); }
.wrap--narrow .section__head { margin-inline: auto; text-align: center; }

/* ---------- kafelki kategorii ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  --tint: var(--mint-soft);
  display: flex; flex-direction: column; background: #fff;
  border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 16px 18px 18px;
  transition: transform .15s, box-shadow .15s;
}
.tile:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: var(--sh-lg); }
.tile--mint { --tint: var(--mint-soft); }
.tile--violet { --tint: var(--violet-soft); }
.tile--yellow { --tint: var(--yellow-soft); }
.tile--coral { --tint: var(--coral-soft); }
.tile--sky { --tint: var(--sky-soft); }
.tile__art { background: var(--tint); border: 2.5px solid var(--ink); border-radius: var(--r-sm); aspect-ratio: 16 / 10; display: grid; place-items: center; margin-bottom: 14px; overflow: hidden; }
.tile__art .icon { width: 58%; height: auto; transition: transform .25s; }
.tile:hover .tile__art .icon { transform: scale(1.08) rotate(-4deg); }
.tile__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.tile__text { font-size: .94rem; color: #3b3548; flex: 1; }
.tile__ask {
  align-self: flex-start; margin-top: 12px; font-weight: 700; font-size: .92rem; text-decoration: none;
  padding: 6px 12px; border: 2.5px solid var(--ink); border-radius: 10px; background: var(--tint);
}
.tile__ask:hover { background: var(--yellow); }
.tiles__more { text-align: center; margin: 34px auto 0; font-size: 1.05rem; max-width: 700px; }
.tiles__more a { font-weight: 700; text-decoration-thickness: 3px; text-decoration-color: var(--violet); text-underline-offset: 3px; }

/* ---------- kroki ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 26px 22px 22px; }
.step__num {
  position: absolute; top: -18px; right: 18px; width: 44px; height: 44px; display: grid; place-items: center;
  font: 800 1.5rem/1 var(--head); padding-top: 3px; background: var(--yellow); border: var(--line) solid var(--ink); border-radius: 50%; box-shadow: var(--sh-sm);
}
.step:nth-child(2) .step__num { background: var(--coral); }
.step:nth-child(3) .step__num { background: var(--sky); }
.step:nth-child(4) .step__num { background: var(--violet); color: #fff; }
.step-icon { width: 60px; height: 60px; display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: .95rem; color: #3b3548; }
@media (min-width: 1001px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 50%; right: -20px; width: 18px; height: 3px; background: var(--ink); z-index: 1;
  }
}

/* ---------- wycena ---------- */
.hints { list-style: none; margin: -12px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .hints { grid-template-columns: 1fr; } }
.hints li { font-size: .9rem; line-height: 1.45; background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .55); border-radius: 12px; padding: 9px 13px; color: #fff; }
.hints b { color: var(--yellow); }
.noscript { background: #fff; color: var(--ink); padding: 20px; border: var(--line) solid var(--ink); border-radius: var(--r); }

#quote-app {
  --q-accent: #7c3aed;
  --q-accent-ink: #fff;
  --q-bg: #fbf8ff;
  --q-surface: #fff;
  --q-text: #16131f;
  --q-muted: #5a546a;
  --q-border: #16131f;
  --q-radius: 16px;
  --q-stage: #221a38;
  --q-bed: #3a2f5c;
  --q-ok: #0f8a4f;
  --q-warn: #d42c1e;
  scroll-margin-top: calc(var(--topbar) + 20px);
  color: var(--q-text);
  font-size: 1rem;
}
/* Neo-brutalistyczny szlif widgetu (nadpisania tylko w obrębie #quote-app) */
#quote-app .q-grid { gap: 24px; }
#quote-app .q-side { top: calc(var(--topbar) + 18px); }
#quote-app .q-card,
#quote-app .q-items li,
#quote-app .q-stage { border: var(--line) solid var(--ink); box-shadow: var(--sh); }
#quote-app .q-drop {
  border: var(--line) dashed var(--ink); background: #fff; box-shadow: var(--sh); padding: 44px 20px;
  background-image: radial-gradient(rgba(124, 58, 237, .14) 1.4px, transparent 1.5px); background-size: 18px 18px;
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
#quote-app .q-drop:hover, #quote-app .q-drop:focus-visible { background-color: var(--yellow-soft); transform: translate(-2px, -2px); box-shadow: var(--sh-lg); }
#quote-app .q-drop.is-over { background-color: var(--yellow); border-style: solid; }
#quote-app .q-drop-icon {
  width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 8px;
  background: var(--violet); color: #fff; border: var(--line) solid var(--ink); border-radius: 20px; box-shadow: var(--sh-sm); transform: rotate(-6deg);
}
#quote-app .q-drop strong { font: 800 1.6rem/1.1 var(--head); }
/* Pusty stan: strefa zrzutu wypełnia lewą kolumnę i mówi, co dostaniesz */
#quote-app .q-drop::after {
  content: "podgląd 3D  ·  wymiary  ·  gramy filamentu  ·  czas druku  ·  cena";
  margin-top: 18px; padding: 6px 14px; font-size: .82rem; font-weight: 600; white-space: pre-wrap;
  background: var(--mint-soft); border: 2px solid var(--ink); border-radius: 99px;
}
@media (min-width: 901px) {
  #quote-app .q-main:has(> .q-stage[hidden]) .q-drop { min-height: 460px; align-content: center; }
  #quote-app .q-main:has(> .q-stage[hidden]) .q-drop-icon { width: 104px; height: 104px; }
  #quote-app .q-main:has(> .q-stage[hidden]) .q-drop-icon svg { width: 58px; height: 58px; }
  #quote-app .q-main:has(> .q-stage[hidden]) .q-drop strong { font-size: 2.1rem; }
}
@media (max-width: 560px) {
  #quote-app .q-drop { padding: 30px 16px; }
  #quote-app .q-drop strong { font-size: 1.35rem; }
  #quote-app .q-drop::after { border-radius: 14px; }
  #quote-app .q-card { padding: 16px; }
  #quote-app .q-total strong { font-size: 2.1rem; }
}
/* Po wgraniu modelu: kompaktowa strefa „dodaj kolejny” */
#quote-app .q-main:has(.q-items li) .q-drop { grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 2px 14px; padding: 14px 18px; }
#quote-app .q-main:has(.q-items li) .q-drop-icon { grid-row: span 2; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
#quote-app .q-main:has(.q-items li) .q-drop-icon svg { width: 28px; height: 28px; }
#quote-app .q-main:has(.q-items li) .q-drop strong { font-size: 1.2rem; }
#quote-app .q-main:has(.q-items li) .q-drop::after { display: none; }
#quote-app .q-items li.is-sel { border-color: var(--ink); box-shadow: var(--sh), inset 0 0 0 2px var(--violet); background: #fbf8ff; }
#quote-app .q-items li.is-err { border-color: var(--q-warn); }
#quote-app .q-swatch { width: 18px; height: 18px; box-shadow: none; border: 2px solid var(--ink); }
#quote-app .q-price { font-family: var(--head); font-size: 1.25rem; font-weight: 800; }
#quote-app .q-remove { width: 30px; height: 30px; display: grid; place-items: center; padding: 0 0 2px; border: 2px solid var(--ink); border-radius: 8px; color: var(--ink); background: #fff; font-size: 20px; }
#quote-app .q-remove:hover { background: var(--coral); color: var(--ink); }
#quote-app select, #quote-app input:not([type=checkbox]):not([type=file]), #quote-app textarea { border: 2px solid var(--ink); }
#quote-app select:focus, #quote-app input:focus, #quote-app textarea:focus { outline: 3px solid var(--violet); outline-offset: 1px; border-color: var(--ink); }
#quote-app .q-label { color: var(--ink); font-weight: 700; }
#quote-app .q-seg button { border: 2px solid var(--ink); font-weight: 600; background: #fff; transition: background-color .12s, transform .12s; }
#quote-app .q-seg button:hover { background: var(--yellow-soft); }
#quote-app .q-seg button.is-on { background: var(--violet); border-color: var(--ink); color: #fff; box-shadow: 2px 2px 0 var(--ink); }
#quote-app .q-summary { border-top: 2.5px dashed var(--ink); }
#quote-app .q-total { border-top: 2.5px solid var(--ink); }
#quote-app .q-total strong { font-family: var(--head); font-size: 2.5rem; font-weight: 800; color: var(--violet); }
#quote-app .q-total-empty { font-weight: 600; }
#quote-app .q-submit {
  font-size: 1.05rem; padding: 16px; border: var(--line) solid var(--ink); border-radius: 14px; box-shadow: var(--sh);
  background: var(--yellow); color: var(--ink); transition: transform .12s, box-shadow .12s;
}
#quote-app .q-submit:hover { filter: none; transform: translate(-2px, -2px); box-shadow: var(--sh-lg); }
#quote-app .q-submit:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
#quote-app .q-submit:disabled { transform: none; box-shadow: var(--sh-sm); }
#quote-app .q-check a { color: var(--violet); font-weight: 600; }
#quote-app .q-check input { width: 18px; height: 18px; flex: none; margin-top: 1px; }
#quote-app .q-stage-info span { background: rgba(22, 19, 31, .78); border: 1.5px solid rgba(255, 255, 255, .25); }
#quote-app .q-disc { color: var(--q-ok); }
#quote-app .q-done { border: var(--line) solid var(--ink); box-shadow: var(--sh-lg); }
#quote-app .q-done-icon { border: var(--line) solid var(--ink); box-shadow: var(--sh-sm); background: var(--mint); color: var(--ink); font-weight: 800; }
#quote-app .q-done h3 { font-family: var(--head); font-size: clamp(1.7rem, 5vw, 2.2rem); font-weight: 800; line-height: 1.1; }
#quote-app .q-done strong { white-space: nowrap; }
#quote-app .q-status:not(:empty) { font-weight: 600; }
#quote-app .q-root input[type=file], #quote-app input[type=file] { font-size: .85rem; }
#quote-app input[type=file]::file-selector-button {
  font: 600 .85rem var(--body); margin-right: 10px; padding: 6px 10px; cursor: pointer;
  background: var(--violet-soft); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px;
}

/* ---------- materiały ---------- */
.materials { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.material {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px 12px; align-items: center; align-content: start;
  background: #fff; border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 18px;
}
.material .spool { width: 52px; height: 52px; color: var(--spool); transition: transform .6s; }
.material:hover .spool { transform: rotate(200deg); }
.material h3 { font-size: 1.4rem; font-weight: 800; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.material p { grid-column: 1 / -1; font-size: .92rem; color: #3b3548; }
.tag { white-space: nowrap; }
.tag { font: 700 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 4px 7px 3px; border: 2px solid var(--ink); border-radius: 99px; background: var(--yellow-soft); }

.mat-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 22px; align-items: stretch; }
@media (max-width: 1000px) { .mat-grid { grid-template-columns: 1fr 1fr; } .card--colors { grid-column: 1 / -1; } }
@media (max-width: 640px) { .mat-grid { grid-template-columns: 1fr; } }
.card { background: #fff; border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: 22px; }
.card__title { font-size: 1.55rem; font-weight: 800; margin-bottom: 16px; }
.card__sub { font-weight: 700; margin: 18px 0 8px; font-size: .95rem; }
.card .small { margin-top: 16px; }

.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px 12px; }
.swatches li { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; }
.swatch { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.swatch--multi { background: conic-gradient(#f43f5e, #f59e0b, #22c55e, #3b82f6, #a855f7, #f43f5e); }

.printers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.printers li { display: grid; gap: 2px; padding: 14px 16px; background: var(--violet-soft); border: 2.5px solid var(--ink); border-radius: var(--r-sm); }
.printers strong { font: 800 1.2rem/1.2 var(--head); }
.printers span { font-size: .9rem; }

.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 2px dashed rgba(22, 19, 31, .25); font-size: .93rem; }
.price-list b { text-align: right; white-space: nowrap; }
.discounts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.discounts li { font-size: .85rem; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 99px; background: var(--mint-soft); }

/* ---------- uczciwie ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } }
.card--big { position: relative; padding: 30px 28px 28px; box-shadow: var(--sh-lg); }
.card--big h3 { font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.card__badge {
  position: absolute; top: -20px; right: 22px; width: 52px; height: 52px; display: grid; place-items: center;
  font: 800 1.7rem/1 var(--head); padding-top: 3px; border: var(--line) solid var(--ink); border-radius: 14px; box-shadow: var(--sh-sm); transform: rotate(8deg);
}
.card__badge--violet { background: var(--violet); color: #fff; }
.card__badge--coral { background: var(--coral); }
.warn-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.warn-list li { position: relative; padding-left: 30px; }
.warn-list li::before { content: "✕"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--coral-soft); border: 2px solid var(--ink); border-radius: 6px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { background: #fff; border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh-sm); transition: box-shadow .15s, transform .15s; }
.faq__item[open] { box-shadow: var(--sh); background: var(--paper); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; font: 700 1.28rem/1.25 var(--head); border-radius: var(--r);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding-top: 2px;
  font: 800 1.5rem/1 var(--head); background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 10px; transition: transform .2s, background-color .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--violet-soft); }
.faq__item summary:hover::after { background: var(--mint); }
.faq__body { padding: 0 20px 20px; color: #2d2838; }
.faq__body a { color: var(--violet); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.cta__in {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  background: var(--ink); color: #fff; border-radius: 26px; padding: clamp(26px, 4vw, 44px); box-shadow: 8px 8px 0 var(--violet);
}
.cta__in h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
.cta__in .eyebrow { color: var(--ink); }
.cta__in .btn { border-color: #fff; box-shadow: 5px 5px 0 var(--violet); }
.cta__in .btn:hover { box-shadow: 8px 8px 0 var(--violet); }
.cta__in .btn:active { box-shadow: 1px 1px 0 var(--violet); }
.cta__art { width: 110px; height: 110px; background: var(--violet-soft); border: var(--line) solid #fff; border-radius: 24px; padding: 8px; transform: rotate(-6deg); }
.cta__art svg { width: 100%; height: 100%; display: block; }
@media (max-width: 820px) { .cta__in { grid-template-columns: 1fr; text-align: left; } .cta__art { width: 84px; height: 84px; } }

/* ---------- stopka ---------- */
.footer { background: #fff; border-top: var(--line) solid var(--ink); padding: 56px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { max-width: 30em; margin-top: 14px; color: var(--muted); }
.footer__h { font: 800 1.2rem/1.2 var(--head); margin-bottom: 10px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__col a { text-decoration: none; font-weight: 500; }
.footer__col a:hover { text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 2px; }
.footer__company { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 2px dashed rgba(22, 19, 31, .25); font-size: .82rem; color: var(--muted); }
.footer__legal p { margin: 0; }

/* ---------- podstrony ---------- */
.page { padding: clamp(40px, 7vw, 80px) 0; }
.page__head h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; margin: 14px 0 10px; }
.doc { background: #fff; border: var(--line) solid var(--ink); border-radius: var(--r); box-shadow: var(--sh); padding: clamp(22px, 4vw, 44px); margin-top: 28px; }
.doc h2 { font-size: 1.6rem; font-weight: 800; margin: 32px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .35em; }
.doc a { color: var(--violet); font-weight: 600; }
.ph { background: var(--yellow-soft); border-bottom: 2px dashed #c79a00; padding: 0 .2em; border-radius: 3px; }
.note { margin-top: 18px; background: var(--coral-soft); border: 2.5px solid var(--ink); border-radius: var(--r-sm); padding: 12px 16px; font-size: .92rem; }

.notfound { padding: clamp(50px, 9vw, 110px) 0; text-align: center; }
.notfound .spaghetti { width: min(380px, 90%); height: auto; display: block; margin: 0 auto 10px; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; margin: 16px 0 12px; }
.notfound p { max-width: 34em; margin-inline: auto; font-size: 1.1rem; }
.notfound .hero__cta { justify-content: center; }
