/* =========================================================
   Tapicer Chełm – style
   ========================================================= */
:root {
  --bg: #141210;
  --bg-2: #1c1916;
  --bg-3: #24201c;
  --line: rgba(236, 225, 208, .12);
  --text: #ece1d0;
  --muted: #a89c8b;
  --accent: #c8834a;
  --accent-2: #e0a36b;
  --accent-dark: #8f5528;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Montserrat", system-ui, sans-serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.02em; }
em { font-style: normal; color: var(--accent-2); font-weight: inherit; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader__stitch { width: 220px; height: 40px; }
.preloader__stitch path {
  fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 10 8; animation: stitchIn 1.1s var(--ease) forwards;
  -webkit-mask: linear-gradient(90deg, #000 0 0) 0 0 / 0 100% no-repeat;
          mask: linear-gradient(90deg, #000 0 0) 0 0 / 0 100% no-repeat;
}
.preloader__name { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .08em; opacity: 0; animation: fadeUp .8s .4s var(--ease) forwards; }
.preloader .preloader__logo { order: -1; width: min(340px, 78vw); opacity: 0; animation: fadeUp .8s .15s var(--ease) forwards; }
.preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes stitchIn { to { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  --pad: 16px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: .02em; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; flex: none; }
.btn--accent { background: var(--accent); color: #1a120b; box-shadow: 0 10px 30px -10px rgba(200, 131, 74, .7); }
.btn--accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--accent:hover::before { transform: translateX(120%); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border-color: rgba(236, 225, 208, .4); color: var(--text); backdrop-filter: blur(6px); background: rgba(20,18,16,.25); }
.btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn--small { --pad: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s, box-shadow .4s, transform .4s var(--ease);
}
.header.is-scrolled { background: rgba(20, 18, 16, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.logo__mark svg { width: 38px; height: 38px; }
.logo__mark rect { fill: none; stroke: var(--accent); stroke-width: 2; }
.logo__mark .t { stroke: var(--text); stroke-width: 3.5; stroke-linecap: round; fill: none; }
.logo__mark .s { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 3 3; fill: none; }
.logo__mark { flex: none; }
.logo__mark img { display: block; width: 52px; height: 45px; }
.logo__text { line-height: 1.2; white-space: nowrap; color: var(--text); }
.logo__eyebrow { display: block; font-size: .6em; font-weight: 400; margin-bottom: 3px; }
.logo__art { display: block; position: relative; width: 280px; aspect-ratio: 1270 / 250; overflow: hidden; flex: none; }
.logo__art img { position: absolute; width: 165.197%; max-width: none; height: auto; left: -33.071%; top: -96%; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.nav__list a { font-size: 15px; font-weight: 500; color: var(--muted); position: relative; padding: 6px 0; transition: color .3s; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 9px);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--text); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 120px; }
.hero__bg { position: absolute; inset: -8% 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(-1.12, 1.12); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(-1, 1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,18,16,.94) 0%, rgba(20,18,16,.75) 45%, rgba(20,18,16,.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__content { max-width: 1200px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 9px); }
.hero__title { font-size: clamp(2.7rem, 7.6vw, 6.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero__title .line:nth-child(3) > span { transition-delay: .12s; }
.hero__kicker { display: flex; letter-spacing: .18em; line-height: 1.5; font-weight: 600; }
.hero__title .line:nth-child(4) > span { transition-delay: .24s; }
.is-ready .hero__title .line > span { transform: none; }
.hero__lead { max-width: 560px; font-size: 1.15rem; color: #d6cab8; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__stitch { position: absolute; left: 0; right: 0; bottom: 70px; width: 100%; height: 60px; opacity: .8; }
.hero__stitch path {
  fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-dasharray: 12 9; stroke-linecap: round;
  animation: threadMove 30s linear infinite;
}
@keyframes threadMove { to { stroke-dashoffset: -1050; } }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(236,225,208,.5); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--accent-2); border-radius: 2px; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(0.91rem, 1.68vw, 1.4rem); white-space: nowrap; font-weight: 600; color: var(--muted); }
.marquee__track i { color: var(--accent); font-style: normal; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section--dark { background: var(--bg-2); }
.section--leather {
  background:
    linear-gradient(rgba(20,18,16,.93), rgba(20,18,16,.93)),
    url("../img/skora-czarna.jpg") center / cover fixed;
}
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 22px; }
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transform-style: preserve-3d;
  transition: border-color .4s, box-shadow .5s var(--ease), opacity 1s var(--ease), transform 1s var(--ease);
}
.card.is-visible { transition: border-color .4s, box-shadow .5s var(--ease), opacity 1s var(--ease), transform .25s ease-out; }
.card:hover { border-color: rgba(200,131,74,.5); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(200,131,74,.15); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-2), transparent 55%); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.08); }
.card__img--swap .card__img-detail { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease, transform 1.2s var(--ease); }
.card:hover .card__img-detail, .card__img--swap:focus .card__img-detail { opacity: 1; }
.card__img--swap:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.card__body { padding: 8px 30px 32px; position: relative; }
.card__num { font-family: var(--serif); font-size: 14px; color: var(--accent); letter-spacing: .15em; display: block; margin-bottom: 8px; }
.card h3 { font-size: 1.75rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card--wide { grid-column: 1 / -1; flex-direction: row; }
.card--wide .card__img { flex: 1.3; aspect-ratio: auto; min-height: 380px; }
.card--wide .card__img::after { background: linear-gradient(270deg, var(--bg-2), transparent 45%); }
.card--wide .card__body { flex: 1; padding: 48px; align-self: center; }
.card--wide h3 { font-size: 2.3rem; }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(200,131,74,.45); color: #d8c7b0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; aspect-ratio: 1 / 1.05; }
.about__img { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { inset: 0 18% 14% 0; }
.about__img--small { width: 50%; aspect-ratio: 1; right: 0; bottom: 0; border: 6px solid var(--bg); }
.about__badge { position: absolute; left: -30px; bottom: 6%; width: 130px; height: 130px; border-radius: 50%; background: var(--accent); color: #1a120b; display: grid; place-items: center; box-shadow: 0 20px 40px -10px rgba(0,0,0,.7); }
.about__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.about__badge text { font: 700 10.5px var(--sans); letter-spacing: .22em; fill: #1a120b; }
.about__badge > span { font-size: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text > p { color: var(--muted); }
.features { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.features li { display: flex; gap: 14px; font-size: 15px; color: var(--muted); }
.features strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.features__ico { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--accent); color: var(--accent-2); font-size: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 100px; padding-top: 60px; border-top: 1px dashed rgba(200,131,74,.35); }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--accent-2); line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process__stitch { position: absolute; left: 12%; right: 12%; top: 32px; width: 76%; height: 20px; }
.process__stitch path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 10 8; }
.process__stitch { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease) .2s; }
.process.is-visible .process__stitch { clip-path: inset(0 0 0 0); }
.step { text-align: center; position: relative; }
.step__n {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--accent); font-family: var(--serif); font-size: 2rem; color: var(--accent-2);
  position: relative; z-index: 1; transition: background .4s, color .4s, transform .5s var(--ease);
}
.step:hover .step__n { background: var(--accent); color: #1a120b; transform: rotate(-8deg) scale(1.06); }
.step h3 { font-size: 1.5rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; max-width: 230px; margin-inline: auto; }

/* ---------- Before / After ---------- */
.ba-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.ba-tabs button {
  font: 600 14px var(--sans); color: var(--muted); background: transparent; border: 1px solid var(--line);
  padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: all .3s;
}
.ba-tabs button:hover { color: var(--text); border-color: rgba(200,131,74,.6); }
.ba-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #1a120b; }

.ba {
  position: relative; aspect-ratio: 16 / 9; max-height: 680px; width: 100%; border-radius: 22px; overflow: hidden;
  user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); border: 1px solid var(--line);
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after, .ba__before { position: absolute; inset: 0; transition: opacity .5s; }
.ba.is-switching .ba__after, .ba.is-switching .ba__before { opacity: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__after img { filter: saturate(1.08) contrast(1.04); }
.ba__before img { filter: sepia(.45) saturate(.4) contrast(.92) brightness(.78) blur(.3px); }
.ba--real .ba__before img, .ba--real .ba__after img { filter: none; }
.ba__damage { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--text); box-shadow: 0 0 20px rgba(0,0,0,.6); outline: none; }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 6px rgba(200,131,74,.25);
  transition: transform .3s var(--ease);
}
.ba__knob svg { width: 26px; height: 26px; fill: none; stroke: #1a120b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba:hover .ba__knob, .ba__handle:focus-visible .ba__knob { transform: scale(1.1); }
.ba__label {
  position: absolute; top: 20px; padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(20,18,16,.7); backdrop-filter: blur(6px); pointer-events: none;
}
.ba__label--before { left: 20px; }
.ba__label--after { right: 20px; color: var(--accent-2); }
.ba__note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; opacity: .75; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery__item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.gallery__item--more { display: none; }
.gallery.is-expanded .gallery__item--more { display: block; }
.gallery__more { display: flex; justify-content: center; margin-top: 34px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85); }
.gallery__item::after {
  content: attr(data-caption); position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; font-size: 14px; font-weight: 600;
  background: linear-gradient(0deg, rgba(20,18,16,.9), transparent); transform: translateY(100%); transition: transform .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); filter: saturate(1.05); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { transform: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(10,9,8,.94); display: grid; place-items: center; padding: 30px; animation: fadeIn .35s; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 90vw); }
.lightbox img { max-height: 80vh; border-radius: 12px; margin: auto; animation: zoomIn .5s var(--ease); }
.lightbox figcaption { text-align: center; color: var(--muted); margin-top: 14px; }
.lightbox button { position: absolute; background: rgba(236,225,208,.08); border: 1px solid var(--line); color: var(--text); width: 52px; height: 52px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; transition: background .3s; }
.lightbox button:hover { background: var(--accent); color: #1a120b; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-wrap .section__head { position: sticky; top: calc(var(--header-h) + 30px); margin-bottom: 0; }
.faq__item { border-bottom: 1px dashed rgba(200,131,74,.35); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 24px 50px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.08rem; font-weight: 600; transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after, .faq__item summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; background: var(--accent); transition: transform .45s var(--ease);
}
.faq__item summary::before { transform: rotate(90deg); }
.faq__item[open] summary::before { transform: rotate(0); }
.faq__item summary:hover, .faq__item[open] summary { color: var(--accent-2); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 24px; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: stretch; }
.contact__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease);
}
a.tile:hover { border-color: var(--accent); transform: translateY(-6px); }
.tile--accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #1a120b; border: 0; }
.tile--accent .tile__label { color: rgba(26,18,11,.7); }
.tile--accent .tile__ico { background: rgba(26,18,11,.15); }
.tile--accent .tile__ico svg { fill: #1a120b; }
.tile__ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(200,131,74,.14); display: grid; place-items: center; margin-bottom: 14px; }
.tile__ico svg { width: 24px; height: 24px; fill: var(--accent-2); stroke: var(--accent-2); }
.tile--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
.tile--wide .tile__ico { grid-row: span 2; margin: 0; }
.tile--accent .tile__ico svg { stroke: none; }
.tile__label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tile__value { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; word-break: break-word; }
.tile--accent .tile__value { font-size: 1.7rem; font-weight: 700; }
.tile__value--small { font-size: 1.1rem; }
.tile--accent::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(224,163,107,.6); animation: pulse 2.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(224,163,107,0); } 100% { box-shadow: 0 0 0 0 rgba(224,163,107,0); } }

.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.form h3 { font-size: 1.8rem; margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; display: block; margin-bottom: 16px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 18px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); font: 500 16px var(--sans); transition: border-color .3s, box-shadow .3s; resize: vertical; appearance: none;
}
.field--select::after { content: ""; position: absolute; right: 20px; top: 26px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field select option { background: var(--bg-2); }
.field span { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,131,74,.15); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span { top: 8px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #d0604a; }
.form__hint { font-size: 13px; color: var(--muted); }
.form__status { margin: 14px 0 0; font-size: 14px; min-height: 1.4em; color: var(--accent-2); }

.map { margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.25); }

/* ---------- Footer ---------- */
.footer { background: #0e0c0b; padding: 70px 0 30px; border-top: 1px dashed rgba(200,131,74,.3); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--muted); font-size: 15px; }
.footer a:hover { color: var(--accent-2); }
.footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.logo--footer { margin-bottom: 14px; }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- FAB & cursor ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); display: none; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.5);
  animation: ring 3s infinite;
}
.fab svg { width: 26px; height: 26px; fill: #1a120b; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(200,131,74,.6); } 60% { box-shadow: 0 0 0 18px rgba(200,131,74,0); } }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 300; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px dashed var(--accent); pointer-events: none; opacity: 0; transition: width .3s, height .3s, margin .3s, opacity .3s, background .3s;
}
.cursor.is-on { opacity: .9; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(200,131,74,.12); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__list { gap: 20px; }
  .header__call span { display: none; }
  .about { gap: 60px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__call { margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; margin: 0; background: rgba(20,18,16,.97); backdrop-filter: blur(14px);
         clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); border-bottom: 1px solid var(--line); }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav__list { flex-direction: column; gap: 0; padding: 10px 20px 26px; }
  .nav__list a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--text); border-bottom: 1px dashed var(--line); }
  .services { grid-template-columns: 1fr; }
  .card--wide { flex-direction: column; }
  .card--wide .card__img { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .card--wide .card__img::after { background: linear-gradient(0deg, var(--bg-2), transparent 55%); }
  .card--wide .card__body { padding: 8px 30px 32px; }
  .about, .faq-wrap, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; width: calc(100% - 30px); margin-left: 30px; }
  .faq-wrap .section__head { position: static; margin-bottom: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process__stitch { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .fab { display: grid; }
  .section--leather { background-attachment: scroll, scroll; }
}
@media (max-width: 560px) {
  .header__inner { gap: 12px; }
  .header .logo { gap: 8px; font-size: clamp(.85rem, 3.5vw, 1.25rem); }
  .header .logo__mark img { width: 40px; height: 35px; }
  .header .logo__art { width: clamp(210px, 66vw, 280px); }
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .hero__cta .btn { width: 100%; }
  .hero__stitch { bottom: 60px; }
  .header__call { display: none; }
  .burger { margin-left: auto; }
  .features { grid-template-columns: 1fr; }
  .contact__tiles { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .ba { aspect-ratio: 4 / 5; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about__badge { width: 100px; height: 100px; left: -24px; }
  .about__badge text { font-size: 12px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .card__body { padding: 8px 22px 26px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Naprawa siedzeń (SEO) ---------- */
.repair { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.repair__intro > p { color: var(--muted); }
.repair__answer { color: var(--text) !important; font-size: 1.08rem; border-left: 3px dashed var(--accent); padding-left: 20px; }
.repair__table { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 26px 22px; overflow-x: auto; }
.repair__table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.repair__table caption { text-align: left; font-weight: 700; font-size: 1.1rem; padding: 18px 0 10px; }
.repair__table th { text-align: left; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); padding: 12px 10px 12px 0; border-bottom: 1px dashed rgba(200,131,74,.4); }
.repair__table td { padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.repair__table td:first-child { color: var(--text); font-weight: 600; }
.repair__table td:last-child { white-space: nowrap; color: var(--accent-2); }
.repair__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.area { margin-top: 30px; padding: 26px 30px; border: 1px dashed rgba(200,131,74,.4); border-radius: var(--radius); color: var(--muted); font-size: 15px; }
.area h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 8px; }
.area p { margin: 0; }
@media (max-width: 900px) { .repair { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 560px) { .repair__table { padding: 6px 16px 18px; } }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .6; cursor: wait; }
.footer__bottom { flex-wrap: wrap; gap: 10px 24px; }
.footer__credit a { color: var(--accent-2); }
.footer__credit a:hover { text-decoration: underline; }

/* Pasek usług – przycisk pauzy */
.marquee { position: relative; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--accent-2); font-size: 11px; cursor: pointer; box-shadow: -30px 0 24px 6px var(--bg-2);
  display: grid; place-items: center; transition: background .3s, color .3s;
}
.marquee__toggle:hover { background: var(--accent); color: #1a120b; }
