:root {
  --bg: #16181B;
  --bg-2: #1D2024;
  --panel: rgba(255, 255, 255, .04);
  --panel-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --text: #FFFFFF;
  --muted: #A4A8AF;
  --navy: #2A2D32;
  --blue: #D7191F;
  --cyan: #E01B23;
  --grad: linear-gradient(#D7191F, #D7191F);
  --silver: #A9AFBA;
  --radius: 20px;
  --head: "Barlow Condensed", system-ui, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad { color: var(--cyan); }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--primary { background: var(--grad); color: #FFFFFF; box-shadow: 0 10px 30px -10px rgba(215, 25, 31, .6); }
.btn--primary:hover { background: #E52A30; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(215, 25, 31, .8); }
.btn--ghost { border: 1px solid var(--line); background: var(--panel); }
.btn--ghost:hover { background: var(--panel-2); border-color: rgba(215, 25, 31, .4); }
.btn--call { height: 44px; padding: 0 18px; background: rgba(215, 25, 31, .14); border: 1px solid rgba(215, 25, 31, .4); font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.btn--call:hover { background: rgba(215, 25, 31, .25); }

/* ---------- nawigacja ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(22, 24, 27, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); cursor: pointer; padding: 0; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 5px auto; transition: transform .25s; }
.nav.open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%); opacity: .5; }
.hero__glow { position: absolute; width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(140, 142, 150, .45), transparent 62%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 13px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; }
.hero__lead { max-width: 520px; margin: 22px 0 30px; color: var(--muted); font-size: 18px; }
.hero__phone { display: inline-flex; flex-direction: column; margin-bottom: 26px; }
.hero__phone-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.hero__phone-num { font-family: var(--head); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: .01em; transition: color .2s; }
.hero__phone:hover .hero__phone-num { color: var(--cyan); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.social { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, transform .2s; }
.social svg { width: 18px; height: 18px; fill: var(--cyan); }
.social:hover { border-color: rgba(215, 25, 31, .45); background: var(--panel-2); transform: translateY(-2px); }

.hero__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: end; }
.hero__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero__fallback { position: absolute; inset: 15%; width: 70%; opacity: 0; transition: opacity .4s; }
.no-webgl .hero__fallback { opacity: 1; }
.hero__hint { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); font-size: 12px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- liczby ---------- */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: center; gap: 16px; padding: 34px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { font-family: var(--head); font-size: 42px; font-weight: 800; color: var(--text); }
.stat span { font-size: 15px; font-weight: 600; line-height: 1.35; }
.stat small { color: var(--muted); font-weight: 400; font-size: 13px; }

/* ---------- sekcje ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg) 85%); border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; max-width: 760px; }
.head { margin-bottom: 56px; }

/* o nas */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__text p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 20px 0 0; }
.badges { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; }
.badges li { display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.badges b { font-family: var(--head); font-size: 14px; white-space: nowrap; color: var(--cyan); }
.badges span { color: var(--muted); font-size: 14px; }
.about__photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px; gap: 16px; }
.photo { position: relative; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, .25); background: radial-gradient(circle at 30% 20%, rgba(215, 25, 31, .18), transparent 60%), var(--panel); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; overflow: hidden; }
.photo--big { grid-column: 1 / -1; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo:has(img) { border-style: solid; border-color: var(--line); }

/* ---------- historia 3D ---------- */
.story { position: relative; background: #121417; }
.story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: none; }
.story__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story__shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(18, 20, 23, .85)); }
.story__dots { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.story__dots li { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .3s, transform .3s, box-shadow .3s; }
.story__dots li.on { background: var(--cyan); transform: scale(1.4); box-shadow: 0 0 12px var(--cyan); }
.story__chapters { position: relative; }
.chapter { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0; }
.chapter__text { width: min(480px, 100% - 32px); margin: 0 auto; }
.chapter__text i { font-style: normal; font-family: var(--head); font-size: 14px; color: var(--cyan); letter-spacing: .1em; }
.chapter__text h2 { font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; margin: 10px 0 16px; }
.chapter__text p { color: #BDBEC2; font-size: 17px; margin: 0; }
.chapter__text .chapter__meta { margin-top: 14px; color: var(--cyan); font-size: 14px; font-weight: 600; }
.chapter__text .chapter__meta a { color: inherit; }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); font-size: 13px; color: #E4E4E4; }
.chapter__img { width: min(560px, 100% - 32px); margin: 28px auto 0; border-radius: var(--radius); border: 1px solid var(--line); }

/* tryb 3D: scena przyklejona, teksty nad nią */
.story--3d .story__stage { display: block; }
.story--3d .story__chapters { margin-top: -100vh; margin-top: -100svh; }
.story--3d .chapter__img { display: none; }
.story--3d .chapter { padding: 0; }
.story--3d .chapter__text { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1), filter .7s; }
.story--3d .chapter.is-in .chapter__text { opacity: 1; transform: none; filter: none; }
.story--3d .chapter[data-side="right"] .chapter__text { margin: 0 max(24px, calc((100% - 1200px) / 2 + 24px)) 0 auto; }
.story--3d .chapter[data-side="left"] .chapter__text { margin: 0 auto 0 max(24px, calc((100% - 1200px) / 2 + 24px)); }
.story--3d .chapter[data-side="center"] { justify-content: flex-end; padding-bottom: 7vh; }
.story--3d .chapter[data-side="center"] .chapter__text { margin: 0 auto; text-align: center; }
.story--3d .chapter__text { padding: 26px 28px; border-radius: var(--radius); background: rgba(22, 24, 27, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); }
.photo small { opacity: .7; }

/* usługi */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(140, 142, 150, .14), rgba(255, 255, 255, .02) 55%); transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s; }
.card:hover { border-color: rgba(215, 25, 31, .35); box-shadow: 0 30px 60px -30px rgba(215, 25, 31, .35); }
.card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(140deg, var(--navy), #24272B); border: 1px solid rgba(255, 255, 255, .3); margin-bottom: 22px; transform: translateZ(30px); }
.card__icon svg { width: 26px; height: 26px; fill: var(--cyan); }
.card h3 { font-size: 19px; font-weight: 700; transform: translateZ(20px); }
.card p { color: var(--muted); margin: 10px 0 18px; font-size: 15px; }
.card ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; }
.card li { position: relative; padding-left: 20px; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--grad); }

/* pojazdy */
.vehicles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.veh { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; gap: 6px; transition: background .3s, transform .3s; }
.veh:hover { background: var(--panel-2); transform: translateY(-4px); }
.veh i { font-style: normal; font-family: var(--head); font-size: 13px; color: var(--blue); }
.veh b { font-family: var(--head); font-size: 18px; font-weight: 700; margin-top: 18px; }
.veh span { color: var(--muted); font-size: 14px; }
.veh--hl { grid-column: span 2; background: linear-gradient(130deg, rgba(140, 142, 150, .35), rgba(215, 25, 31, .08)); border-color: rgba(215, 25, 31, .3); }

/* sklep */
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.shop__text p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 20px 0 30px; }
.shop__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shop__list li { padding: 26px; min-height: 150px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.shop__list b { font-family: var(--head); font-size: 17px; }
.shop__list span { color: var(--muted); font-size: 14px; }

/* kontakt */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact__phone { padding: 26px 28px; border-radius: var(--radius); background: var(--grad); color: #FFFFFF; transition: transform .2s; }
.contact__phone:hover { transform: translateY(-3px); }
.contact__phone small { display: block; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; opacity: .75; }
.contact__phone b { font-family: var(--head); font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; }
.contact__row small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 4px; }
.contact__row p { margin: 0; font-size: 17px; }
.contact__row a:hover { color: var(--cyan); }
.hours { border-collapse: collapse; font-size: 16px; }
.hours th { text-align: left; font-weight: 400; padding: 3px 18px 3px 0; }
.hours td { padding: 3px 18px 3px 0; white-space: nowrap; }
.hours tr:first-child td { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.todo { display: inline-block; padding: 2px 10px; border: 1px dashed rgba(215, 25, 31, .5); border-radius: 8px; color: var(--cyan); font-size: 14px !important; }
.contact .socials { margin-top: 4px; }
.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 460px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95); }

/* stopka */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer__inner { display: grid; gap: 12px; justify-items: start; color: var(--muted); font-size: 14px; }
.footer__inner img { height: 40px; width: auto; margin-bottom: 8px; }
.footer p { margin: 0; }
.footer a:hover { color: var(--text); }
.footer__small { font-size: 13px; opacity: .7; }

/* pasek na telefonie */
.mbar { display: none; }

/* ---------- animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.tilt.in { transition: opacity .8s, transform .25s ease-out, border-color .3s, box-shadow .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}

/* ---------- responsywność ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .vehicles { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .nav__links { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; padding: 8px 16px 20px; background: rgba(22, 24, 27, .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s; margin: 0; }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .nav.open .nav__links { transform: none; }
  .nav.open { background: rgba(22, 24, 27, .96); }
  .nav__burger { display: block; margin-left: auto; }
  .nav__call { display: none; }
  .nav__inner { height: 68px; }
  .nav__logo img { height: 36px; }

  .hero { padding: 84px 0 110px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__stage { order: -1; max-width: 360px; justify-self: center; margin: -10px 0 -20px; }
  .hero__hint, .hero__scroll { display: none; }
  .hero__glow { width: 600px; height: 600px; right: -200px; top: 220px; }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }

  .section { padding: 80px 0; }
  .head { margin-bottom: 36px; }
  .about, .shop, .contact { grid-template-columns: 1fr; gap: 40px; }
  .about__photos { grid-template-rows: 200px 140px; }
  .badges li { flex-direction: column; gap: 2px; }
  .services { grid-template-columns: 1fr; }
  .vehicles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .veh { padding: 18px 16px; }
  .veh b { font-size: 15px; margin-top: 10px; }
  .veh span { font-size: 13px; }
  .veh--hl { grid-column: auto; }
  .shop__list { grid-template-columns: 1fr; }
  .shop__list li { min-height: 0; }
  .stat { padding: 24px 12px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .stat b { font-size: 32px; }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .footer { padding-bottom: 100px; }

  .story--3d .chapter { justify-content: flex-end; padding-bottom: 96px; }
  .story--3d .chapter[data-side] .chapter__text { margin: 0 16px; width: auto; padding: 16px 18px; }
  .story--3d .chapter__text p:not(.chapter__meta) { display: none; }
  .story--3d .chapter__text h2 { font-size: 26px; margin: 6px 0 0; }
  .story--3d .chips { margin-top: 12px; gap: 5px; }
  .story--3d .chips li { font-size: 12px; padding: 4px 9px; }
  .story--3d .chapter__text .chapter__meta { margin-top: 10px; font-size: 13px; }
  .story__dots { right: 10px; top: 92px; transform: none; display: flex; gap: 8px; }
  .story__dots { left: 50%; right: auto; transform: translateX(-50%); }

  .mbar { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; }
  .mbar__call { flex: 1; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); color: #FFFFFF; font-family: var(--head); font-weight: 700; font-size: 15px; box-shadow: 0 14px 30px -10px rgba(215, 25, 31, .6); }
  .mbar__map { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(29, 32, 36, .95); border: 1px solid var(--line); }
  .mbar__map svg { width: 22px; height: 22px; fill: var(--cyan); }
}

/* ---------- Allegro w sklepie ---------- */
.allegro { grid-column: 1 / -1; padding: 0 !important; min-height: 0 !important; border-color: rgba(255, 90, 0, .35) !important; background: linear-gradient(120deg, rgba(255, 90, 0, .12), rgba(255, 255, 255, .02) 60%) !important; overflow: hidden; transition: border-color .3s, transform .3s; }
.allegro:hover { border-color: rgba(255, 90, 0, .8) !important; transform: translateY(-3px); }
.allegro a { display: flex; align-items: center; gap: 20px; padding: 22px 26px; }
.allegro__logo { height: 40px; width: auto; flex: none; }
.allegro__txt { display: flex; flex-direction: column; gap: 2px; }
.allegro__txt b { font-family: var(--head); font-size: 16px; }
.allegro__txt small { color: var(--muted); font-size: 14px; }
.allegro__go { margin-left: auto; font-size: 24px; color: #FF5A00; transition: transform .3s; }
.allegro:hover .allegro__go { transform: translateX(6px); }

/* ---------- mapa wjeżdżająca przy przewijaniu ---------- */
.contact { perspective: 1400px; }
.contact__map { position: relative; transform-origin: 50% 100%; will-change: transform; }
.js .contact__map { transform: rotateX(var(--mx, 0deg)) scale(var(--ms, 1)); opacity: var(--mo, 1); clip-path: inset(var(--mc, 0%) 0 0 0 round var(--radius)); }
.map__route { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--grad); color: #FFFFFF; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); transition: transform .2s; }
.map__route:hover { transform: translateY(-2px); }
.map__route svg { width: 18px; height: 18px; fill: currentColor; }
.map__pulse { position: absolute; z-index: 1; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; pointer-events: none; }
.map__pulse::before, .map__pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan); animation: pulse 2.4s infinite; }
.map__pulse::after { animation-delay: 1.2s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(6); opacity: 0; } }
@media (max-width: 860px) { .allegro a { flex-wrap: wrap; gap: 12px; padding: 18px; } .allegro__go { display: none; } }
@media (prefers-reduced-motion: reduce) { .js .contact__map { transform: none; opacity: 1; clip-path: none; } .map__pulse { display: none; } }

/* ---------- zdjęcie warsztatu w tle hero ---------- */
.hero__bg { position: absolute; inset: 0; background: 62% 40% / cover no-repeat; transform: scale(1.06); will-change: transform; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(22, 24, 27, .96) 0%, rgba(22, 24, 27, .86) 38%, rgba(22, 24, 27, .55) 70%, rgba(22, 24, 27, .7) 100%),
  linear-gradient(180deg, rgba(22, 24, 27, .55) 0%, transparent 30%, transparent 70%, var(--bg) 100%); }
.hero::before { opacity: .35; }
.hero__glow { background: radial-gradient(circle, rgba(120, 14, 18, .55), transparent 62%); }

/* ---------- 4 główne usługi pod hasłem ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 30px; max-width: 560px; }
.quick a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(29, 32, 36, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; line-height: 1.25; transition: border-color .2s, background .2s, transform .2s; }
.quick a:hover { border-color: rgba(215, 25, 31, .8); background: rgba(215, 25, 31, .18); transform: translateY(-2px); }
.quick svg { width: 24px; height: 24px; fill: var(--cyan); }
@media (max-width: 860px) {
  .quick { grid-template-columns: repeat(2, 1fr); }
  .hero__bg { background-position: 50% 30%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(22, 24, 27, .55) 0%, rgba(22, 24, 27, .8) 40%, rgba(22, 24, 27, .95) 70%, var(--bg) 100%); }
}

.veh--cta { background: var(--blue); border-color: var(--blue); }
.veh--cta i, .veh--cta span { color: rgba(255, 255, 255, .85); }
.veh--cta:hover { background: #E52A30; }

/* ---------- poprawki na telefon ---------- */
@media (max-width: 860px) {
  .hero__stage { max-width: 250px; margin: 0 0 -6px; }
  .hero h1 { font-size: 38px; }
  .hero__lead { margin: 16px 0 22px; }
  .kicker { font-size: 12px; margin-bottom: 16px; }
  .quick { gap: 8px; margin-bottom: 24px; }
  .quick a { flex-direction: row; align-items: center; padding: 12px; font-size: 13.5px; }
  .quick svg { width: 20px; height: 20px; flex: none; }
  .hero__phone-num { font-size: 36px; }
  .socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .social { justify-content: center; padding: 0 8px; font-size: 13px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .shop__text .hero__actions { grid-template-columns: 1fr; }
  .btn { height: 50px; padding: 0 16px; justify-content: center; }
  h2 { font-size: 28px; }
  .hours { font-size: 14px; width: 100%; }
  .hours th { padding-right: 10px; }
  .hours td { padding-right: 10px; }
  .story--3d .chips li:nth-child(n+7) { display: none; }
}
.story--3d .chapter[data-side="center"] .chapter__text { width: min(640px, 100% - 32px); padding: 22px 28px; }
.story--3d .chapter[data-side="center"] h2 { font-size: clamp(26px, 2.8vw, 38px); margin: 6px 0 10px; }
.story--3d .chapter[data-side="center"] br { display: none; }

/* ---------- dlaczego my ---------- */
.trust__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__item { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.trust__item svg { width: 30px; height: 30px; fill: var(--cyan); margin-bottom: 18px; }
.trust__item b { display: block; font-family: var(--head); font-size: 17px; margin-bottom: 8px; }
.trust__item p { margin: 0; color: var(--muted); font-size: 15px; }
.gbadge { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color .2s, background .2s; }
.gbadge:hover { border-color: rgba(215, 25, 31, .8); background: var(--panel-2); }
.gbadge__g { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: #4285F4; font: 800 22px/1 var(--body); }
.gbadge__txt { display: flex; flex-direction: column; }
.gbadge__txt b { font-family: var(--head); font-size: 18px; }
.gbadge__stars { color: #F5B400; font-size: 15px; letter-spacing: 1px; margin-left: 4px; }
.gbadge__txt small { color: var(--muted); font-size: 13px; }
.gbadge__go { margin-left: 8px; color: var(--cyan); font-size: 14px; font-weight: 600; }
@media (max-width: 1024px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust__item { padding: 18px 16px; }
  .trust__item svg { width: 24px; height: 24px; margin-bottom: 12px; }
  .trust__item b { font-size: 15px; }
  .trust__item p { font-size: 13.5px; }
  .gbadge { width: 100%; }
  .gbadge__go { margin-left: auto; }
}

/* ---------- cennik SKP ---------- */
.prices { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.prices__text p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 20px 0 0; }
.prices__text p.prices__hours { color: var(--cyan); font-weight: 600; font-size: 15px; margin: 14px 0 28px; }
.prices__table { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 10px 28px 22px; }
.prices__table table { width: 100%; border-collapse: collapse; }
.prices__table th, .prices__table td { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.prices__table th { text-align: left; font-weight: 500; }
.prices__table td { text-align: right; font-family: var(--head); font-weight: 700; white-space: nowrap; }
.prices__main th, .prices__main td { font-size: 19px; }
.prices__main td { color: var(--cyan); font-size: 24px; }
.prices__note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 860px) {
  .prices { grid-template-columns: 1fr; gap: 28px; }
  .prices__table { padding: 4px 18px 18px; }
  .prices__table th, .prices__table td { padding: 13px 0; font-size: 15px; }
  .prices__main td { font-size: 21px; }
  .prices__text .btn { width: 100%; }
}

/* ---------- hero: bez kratki, logo miękko wtopione w tło ---------- */
.hero::before { display: none; }
.hero__stage canvas {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 80%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 80%, transparent 100%);
}
.hero__glow { background: radial-gradient(circle, rgba(215, 25, 31, .32), rgba(120, 14, 18, .18) 40%, transparent 68%); }
@media (max-width: 860px) {
  .hero__stage { max-width: none; width: calc(100% + 32px); margin: -6px -16px -10px; aspect-ratio: 1.45; }
  .hero__glow { width: 520px; height: 520px; right: 50%; top: 40px; transform: translateX(50%); }
}

/* ---------- paleta: czerwień, biel, antracyt ---------- */
.hero__glow { background: radial-gradient(circle, rgba(215, 25, 31, .16), rgba(120, 14, 18, .08) 40%, transparent 68%); }

/* ---------- telefony do działów ---------- */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.phones a { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .2s, background .2s; }
.phones a:hover { border-color: rgba(215, 25, 31, .7); background: var(--panel-2); }
.phones small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.phones b { font-family: var(--head); font-size: 17px; white-space: nowrap; }
.chapter__text .chapter__meta a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .phones { grid-template-columns: 1fr; } .phones a { display: flex; justify-content: space-between; align-items: center; } .phones small { margin: 0; } }

/* ---------- wybór numeru telefonu ---------- */
.callpanel { position: fixed; z-index: 70; top: 72px; right: max(24px, calc((100vw - 1200px) / 2 + 24px)); width: 300px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(29, 32, 36, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
.callpanel.is-open { opacity: 1; transform: none; }
.callpanel__title { margin: 6px 10px 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.callpanel a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background .15s; }
.callpanel a:hover, .callpanel a:focus-visible { background: rgba(215, 25, 31, .14); outline: none; }
.callpanel a svg { width: 20px; height: 20px; flex: none; fill: var(--cyan); }
.callpanel small { display: block; color: var(--muted); font-size: 12.5px; }
.callpanel b { font-family: var(--head); font-size: 17px; }
.callpanel.is-sheet { top: auto; right: 12px; left: 12px; bottom: 80px; width: auto; transform: translateY(12px); }
.callpanel.is-sheet.is-open { transform: none; }

/* ---------- zdjęcie warsztatu w tle hero: po prawej, zanika w lewo ---------- */
.hero__photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 68%;
  background: 60% 50% / cover no-repeat;
  filter: grayscale(.35) brightness(.42) contrast(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 65%), linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 65%), linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  pointer-events: none;
}
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 40%), rgba(120, 14, 18, .18); mix-blend-mode: normal; }
@media (max-width: 860px) {
  .hero__photo {
    width: 100%; bottom: auto; height: 520px; background-position: 50% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 100%); mask-image: linear-gradient(180deg, #000 35%, transparent 100%);
  }
  .hero__photo::after { background: rgba(120, 14, 18, .15); }
}

/* zdjęcie w tle hero: srebrne auto na podnośniku (Unsplash, licencja Unsplash – darmowa, także komercyjnie) */
.hero__photo { background-image: url(../zdjecia/tlo-warsztat.jpg); background-position: 62% 55%; filter: grayscale(.25) brightness(.55) contrast(1.08); }
@media (max-width: 860px) { .hero__photo { background-position: 58% 45%; } }

/* ---------- płynne przejście z góry strony do garażu 3D ---------- */
.story::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 45vh; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(22, 24, 27, .85) 30%, rgba(22, 24, 27, 0) 100%); }
.story--3d .story__chapters { z-index: 3; }

/* ======== czerwień tylko jako dodatek (od 31.10) ======== */
:root { --silver: #C9CED6; }
/* duży nagłówek: srebro zamiast czerwieni */
.grad { color: var(--silver); }
/* telefon w menu: neutralny przycisk z czerwoną ikoną */
.btn--call { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.btn--call:hover { background: rgba(255, 255, 255, .12); }
.btn--call svg { fill: var(--cyan); }
/* najechanie: srebrne obwódki zamiast czerwonych */
.btn--ghost:hover, .social:hover, .quick a:hover, .gbadge:hover, .phones a:hover, .card:hover { border-color: rgba(201, 206, 214, .5); }
.quick a:hover { background: rgba(255, 255, 255, .07); }
.callpanel a:hover, .callpanel a:focus-visible { background: rgba(255, 255, 255, .07); }
.card:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
/* duży kafel z telefonem w kontakcie: grafit z czerwonym podpisem */
.contact__phone { background: var(--bg-2); color: var(--text); border: 1px solid rgba(255, 255, 255, .12); border-left: 4px solid var(--blue); }
.contact__phone small { color: var(--cyan); opacity: 1; }
/* kafel „innego pojazdu nie ma na liście” */
.veh--cta { background: var(--bg-2); border-color: rgba(255, 255, 255, .14); }
.veh--cta i { color: var(--cyan); }
.veh--cta span { color: var(--muted); }
.veh--cta:hover { background: var(--panel-2); }
.veh i { color: var(--silver); }
/* bez czerwonej poświaty i czerwonego filtra na zdjęciu */
.hero__glow { background: radial-gradient(circle, rgba(201, 206, 214, .08), transparent 65%); }
.hero__photo::after { background: linear-gradient(90deg, var(--bg) 0%, transparent 40%); }
.chapter__text .chapter__meta { color: var(--silver); }
.badges b { color: var(--text); }
.btn--primary { box-shadow: 0 10px 26px -12px rgba(224, 27, 35, .55); }
@media (max-width: 860px) { .hero__photo::after { background: none; } }

/* ---------- wolniejszy przejazd: każdy rozdział zajmuje 170% wysokości ekranu ---------- */
.story--3d .chapter { min-height: 170vh; min-height: 170svh; }
/* tekst rozdziału widoczny w momencie, gdy kamera stoi przy zdjęciu */
.story--3d .chapter { justify-content: flex-start; padding-top: 24vh; }
@media (max-width: 860px) { .story--3d .chapter { justify-content: flex-start; padding: 50vh 0 0; padding-top: 50svh; } }

/* ======== czcionka Saira: gruba, pochyła, sportowa (jak napis STARZAK z wizytówki) ======== */
h1, h2, h3, .hero__phone-num, .contact__phone b, .stat b { font-style: italic; font-weight: 900; letter-spacing: -.005em; }
h1 { text-transform: uppercase; font-size: clamp(44px, 6.6vw, 92px); line-height: .95; }
h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .005em; }
h3, .veh b, .shop__list b, .trust__item b, .badges b, .phones b, .callpanel b { font-style: italic; font-weight: 800; }
.btn--call, .mbar__call, .gbadge__txt b { font-style: italic; font-weight: 800; }
/* paleta: czerwień, biel, ciemny antracyt – druga linia hasła w czerwieni jako akcent */
.grad { color: var(--cyan); }

/* ======== czcionka Barlow (krój z tablic drogowych i rejestracyjnych) – motoryzacyjny, mocny ======== */
:root { --head: "Barlow Condensed", system-ui, sans-serif; --body: "Barlow", system-ui, sans-serif; }
body { font-family: var(--body); }
h1, h2, h3, .hero__phone-num, .contact__phone b, .stat b { font-family: var(--head); font-style: italic; font-weight: 800; letter-spacing: .01em; }
h1 { font-size: clamp(50px, 7.4vw, 104px); line-height: .92; }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3, .veh b, .shop__list b, .trust__item b, .badges b, .phones b, .callpanel b, .btn--call, .mbar__call, .gbadge__txt b { font-family: var(--head); font-style: italic; font-weight: 700; letter-spacing: .02em; }
.veh b, .shop__list b, .trust__item b { font-size: 21px; }
.btn { font-family: var(--head); font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hero__phone-num { font-size: clamp(42px, 5.4vw, 64px); }

/* ======== główny kolor: czarny antracyt ======== */
:root { --bg: #0F1012; --bg-2: #16181B; --panel: rgba(255, 255, 255, .035); --panel-2: rgba(255, 255, 255, .06); }
.trust { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* ---------- mapa po kliknięciu ---------- */
.map__consent { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; border: 0; cursor: pointer; color: var(--text); text-align: center; font: inherit;
  background: radial-gradient(circle at 50% 45%, rgba(224, 27, 35, .12), transparent 55%), repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px), var(--bg-2); }
.map__consent svg { width: 44px; height: 44px; fill: var(--cyan); }
.map__consent b { font-family: var(--head); font-style: italic; font-size: 24px; text-transform: uppercase; letter-spacing: .03em; }
.map__consent small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.map__consent:hover b { color: var(--cyan); }
.contact__map:has(.map__consent) .map__pulse { display: none; }
/* telefon: krótszy przejazd przez garaż (mniej przewijania, mniej pracy dla telefonu) */
@media (max-width: 860px) { .story--3d .chapter { min-height: 125vh; min-height: 125svh; } }

/* ======== USŁUGI: pełnoekranowe przejścia zdjęć (zamiast garażu 3D) ======== */
.svc { position: relative; background: #000; }
.svc__stage { display: none; }
.svc--fx .svc__stage { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.svc__layers { position: absolute; inset: 0; }
.svc__layer { position: absolute; inset: -2%; background: center / cover no-repeat; opacity: 0; will-change: transform, opacity, filter; }
.svc__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 16, 18, .88) 0%, rgba(15, 16, 18, .45) 45%, rgba(15, 16, 18, .1) 75%),
              linear-gradient(180deg, rgba(15, 16, 18, .9) 0%, transparent 18%, transparent 70%, rgba(15, 16, 18, .95) 100%); }
.svc--fx .svc__chapters { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; }
.svc--fx .chapter { min-height: 140vh; min-height: 140svh; padding: 0; justify-content: flex-start; }
.svc--fx .chapter__img { display: none; }
.svc--fx .chapter__text { position: sticky; top: 24vh; margin: 24vh max(24px, calc((100% - 1200px) / 2 + 24px)) 0;
  width: min(520px, 100% - 48px); padding: 30px 32px; border-radius: var(--radius); background: rgba(15, 16, 18, .62);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line);
  opacity: 0; transform: translateX(-60px); filter: blur(6px); transition: opacity .7s, transform .8s cubic-bezier(.2, .7, .2, 1), filter .7s; }
.svc--fx .chapter[data-side="right"] .chapter__text { margin-left: auto; transform: translateX(60px); }
.svc--fx .chapter.is-in .chapter__text { opacity: 1; transform: none; filter: none; }
.chapter__call { margin-top: 22px; }
.chapter__call svg { width: 18px; height: 18px; fill: currentColor; }

/* pasek postępu z nazwami usług */
.svc__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; display: flex; gap: 14px; justify-content: center; padding: 0 24px; }
.svc__bar a { flex: 0 1 140px; display: flex; flex-direction: column; gap: 8px; color: rgba(255, 255, 255, .5); font-family: var(--head); font-style: italic; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; transition: color .3s; }
.svc__bar a.on, .svc__bar a:hover { color: #fff; }
.svc__bar i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.svc__bar b { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }

@media (max-width: 860px) {
  .svc--fx .chapter { min-height: 115vh; min-height: 115svh; justify-content: flex-end; }
  .svc--fx .chapter__text { position: sticky; top: auto; bottom: 96px; margin: 0 16px 96px; width: auto; padding: 18px 18px 20px; transform: translateY(40px); }
  .svc--fx .chapter[data-side="right"] .chapter__text { margin-left: 16px; transform: translateY(40px); }
  .svc--fx .chapter__text p:not(.chapter__meta) { display: none; }
  .svc--fx .chapter__text h2 { font-size: 30px; margin: 4px 0 0; }
  .chapter__call { width: 100%; margin-top: 14px; }
  .svc__shade { background: linear-gradient(180deg, rgba(15, 16, 18, .7) 0%, transparent 25%, rgba(15, 16, 18, .25) 50%, rgba(15, 16, 18, .95) 100%); }
  .svc__bar { top: 84px; bottom: auto; gap: 6px; padding: 0 16px; }
  .svc__bar a { flex: 1 1 0; font-size: 0; gap: 0; }
  .svc__bar a.on { font-size: 0; }
}
@media (prefers-reduced-motion: reduce) { .svc--fx .chapter__text { transition: none; } }
@media (max-width: 860px) { .svc--fx .chips li:nth-child(n+7) { display: none; } }
/* klimatyzacja: kompozycja pozioma na komputer, pionowa na telefon; jaśniej niż reszta zdjęć (to ujęcie studyjne) */
.svc__layer--klima { background-image: url(../zdjecia/klimatyzacja-urzadzenia.jpg); }
@media (max-width: 860px) { .svc__layer--klima { background-image: url(../zdjecia/klimatyzacja-urzadzenia-pion.jpg); background-position: 50% 30% !important; } }

/* ======== płynne wejście z góry strony w usługi: bez ostrej krawędzi, z rozmyciem ======== */
/* góra strony wygasza się ku dołowi w kolor tła */
.hero::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 220px; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 16, 18, 0) 0%, var(--bg) 100%); }
.hero > * { position: relative; z-index: 2; }
.hero > .hero__photo, .hero > .hero__glow { position: absolute; z-index: 0; }
/* usługi zaczynają się od tła strony, a zdjęcie wyłania się spod mgiełki rozmycia */
.svc { background: var(--bg); }
.svc--fx .svc__stage::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 100%; pointer-events: none;
  background: var(--bg); opacity: var(--svc-veil, 0); }
.svc--fx .svc__stage::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 42vh; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(15, 16, 18, .7) 35%, rgba(15, 16, 18, 0) 100%);
  -webkit-backdrop-filter: blur(var(--svc-blur, 0px)); backdrop-filter: blur(var(--svc-blur, 0px));
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.svc__bar { z-index: 4; }

/* ======== garaż 3D w sekcji usług (zdjęcia zostają jako wersja zapasowa) ======== */
.svc__garage { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; display: block; }
.svc__garage.is-on { opacity: 1; }
.svc--garage .svc__layers { opacity: 0; transition: opacity .8s; }
.svc--garage .svc__shade { background: linear-gradient(180deg, rgba(15, 16, 18, .75) 0%, transparent 16%, transparent 78%, rgba(15, 16, 18, .85) 100%); }
/* rozmycie pod kaflem nad grafiką 3D jest kosztowne: kafel jest po prostu ciemniejszy */
.svc--garage .chapter__text { background: rgba(15, 16, 18, .86); backdrop-filter: none; -webkit-backdrop-filter: none; }
.svc--garage .svc__stage::after { backdrop-filter: none; -webkit-backdrop-filter: none; }
/* krótszy przejazd */
.svc--garage .chapter { min-height: 115vh; min-height: 115svh; }
@media (max-width: 860px) { .svc--garage .chapter { min-height: 100vh; min-height: 100svh; } }
.footer__credits { font-size: 12px; line-height: 1.6; }
.footer__credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ======== telefon: niższy kafel usługi, żeby nie zasłaniał stanowiska ======== */
@media (max-width: 860px) {
  .svc--fx .chapter { padding: 0; }
  .svc--fx .chapter__text, .svc--fx .chapter[data-side="right"] .chapter__text { margin: 0 12px 78px; bottom: 78px; padding: 12px 14px 14px; border-radius: 16px; }
  .svc--fx .chapter__text > i { display: none; }
  .svc--fx .chapter__text h2 { font-size: 25px; margin: 0; line-height: 1.05; }
  /* etykiety jako jeden zwarty tekst: wszystkie usługi widoczne, mniej miejsca */
  .svc--fx .chips { display: block; margin: 6px 0 0; font-size: 12.5px; line-height: 1.4; color: #C9CCD2; }
  .svc--fx .chips li, .svc--fx .chips li:nth-child(n+7) { display: inline; padding: 0; border: 0; background: none; font-size: inherit; color: inherit; }
  .svc--fx .chips li:not(:last-child)::after { content: " · "; color: var(--cyan); }
  .svc--fx .chapter__text .chapter__meta { margin-top: 5px; font-size: 12px; }
  .svc--fx .chapter__call { height: 40px; margin-top: 9px; font-size: 14px; }
  .svc--fx .chapter__call svg { width: 15px; height: 15px; }
}
/* kafle po prawej stronie: po wjechaniu też bez przesunięcia (na telefonie wchodziły pod dolny pasek) */
.svc--fx .chapter.is-in[data-side] .chapter__text { transform: none; }

/* ======== telefon: większy tekst usług ======== */
@media (max-width: 860px) {
  .svc--fx .chapter__text h2 { font-size: 29px; }
  .svc--fx .chips { margin-top: 8px; font-size: 14.5px; line-height: 1.42; color: #DDE0E5; }
  .svc--fx .chapter__text .chapter__meta { margin-top: 6px; font-size: 13.5px; }
  .svc--fx .chapter__text, .svc--fx .chapter[data-side="right"] .chapter__text { padding: 14px 15px 15px; }
  .svc--fx .chapter__call { height: 46px; margin-top: 11px; font-size: 16px; }
  .svc--fx .chapter__call svg { width: 17px; height: 17px; }
}

/* ======== finał na komputerze: hala na wprost, logo na środku, kafel pod nim ======== */
@media (min-width: 861px) {
  .svc--fx .chapter[data-side="center"] { min-height: 100vh; min-height: 100svh; }
  .svc--fx .chapter[data-side="center"] .chapter__text { position: relative; top: auto; margin: 43vh auto 0; width: min(600px, 100% - 48px); padding: 22px 30px 26px; text-align: center; transform: translateY(40px); }
  .svc--fx .chapter.is-in[data-side="center"] .chapter__text { transform: none; }
  .svc--fx .chapter[data-side="center"] .chapter__text h2 { font-size: clamp(28px, 3vw, 40px); margin: 4px 0 8px; max-width: none; }
  .svc--fx .chapter[data-side="center"] .chapter__text p { font-size: 16px; }
  .svc--fx .chapter[data-side="center"] .chapter__call { margin-top: 16px; }
}

/* O nas bez zdjęć, dopóki nie ma nowych */
.about--solo { grid-template-columns: 1fr; max-width: 820px; }

/* ======== telefon: góra strony widoczna od razu, nawet gdy telefon jeszcze ładuje skrypty ======== */
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } }
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero .reveal:nth-child(2) { animation-delay: .07s; }
.js .hero .reveal:nth-child(3) { animation-delay: .14s; }
.js .hero .reveal:nth-child(4) { animation-delay: .21s; }
.js .hero .reveal:nth-child(5) { animation-delay: .28s; }
.js .hero .reveal:nth-child(n+6) { animation-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .js .hero .reveal { animation: none; } }

/* ======== telefon: małe linki łatwiejsze do trafienia palcem (min. ok. 44 px) ======== */
@media (max-width: 860px) {
  .svc__bar a { padding: 20px 0; margin: -20px 0; }
  .contact__row a, .footer a { display: inline-block; padding: 12px 0; margin: -12px 0; }
}

/* ======== telefon: zdjęcia sklepu w „O nas” są pionowe, więc wyższe kafle ======== */
@media (max-width: 860px) { .about__photos { grid-template-rows: 210px 250px; } }

/* ======== podstrony usług ======== */
.sub-hero { position: relative; padding: 130px 0 90px; overflow: hidden; }
.sub-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 15%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 15%, transparent 75%); opacity: .45; }
.sub-hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs b { color: var(--text); font-weight: 600; }
.sub-hero h1 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .98; }
.sub-hero__lead { max-width: 560px; margin: 22px 0 30px; color: var(--muted); font-size: 18px; }
.sub-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sub-hero__meta { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.sub-hero__photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.sub-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.sub-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.sub-list li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-size: 17px; font-weight: 500; }
.sub-list svg { flex: none; width: 22px; height: 22px; fill: var(--cyan); }
.sub-about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sub-about__text h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; font-style: italic; text-transform: uppercase; }
.sub-about__text p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 18px 0 0; }
.sub-about__text .btn { margin-top: 26px; }
.sub-allegro { height: 22px; width: auto; }
.sub-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sub-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 5; }
.sub-gallery img { width: 100%; height: 100%; object-fit: cover; }
.sub-box { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 14px 22px; padding: 34px 36px; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: var(--radius); background: var(--bg-2); }
.sub-box b { font-family: var(--head); font-style: italic; font-weight: 800; font-size: 48px; line-height: 1; }
.sub-box span { color: var(--muted); }
.sub-contact { display: grid; grid-template-columns: repeat(3, auto); gap: 32px 56px; align-items: start; justify-content: start; }
.sub-others { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sub-others a { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-family: var(--head); font-style: italic; font-weight: 800; font-size: 24px; text-transform: uppercase; transition: border-color .2s, background .2s; }
.sub-others a:hover { border-color: rgba(201, 206, 214, .5); background: var(--panel-2); }
.sub-others i { font-style: normal; color: var(--cyan); }
.footer__svc a { color: var(--text); }
@media (max-width: 860px) {
  .sub-hero { padding: 104px 0 60px; }
  .sub-hero__grid, .sub-about { grid-template-columns: 1fr; gap: 36px; }
  .sub-hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .sub-hero__photo { aspect-ratio: 4 / 3; }
  .sub-list li { padding: 15px 16px; font-size: 16px; }
  .sub-contact { grid-template-columns: 1fr; gap: 24px; }
  .sub-box { padding: 26px 24px; }
  .sub-box b { font-size: 40px; }
  .sub-others a { font-size: 21px; padding: 18px 20px; }
}
/* link z garażu na podstronę usługi */
.chapter__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: #fff; border-bottom: 2px solid var(--cyan); padding-bottom: 2px; }
.chapter__more:hover { color: var(--cyan); }
/* podstrony: góra widoczna od razu, jak na stronie głównej */
.js .sub-hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .sub-hero .reveal:nth-child(2) { animation-delay: .07s; }
.js .sub-hero .reveal:nth-child(3) { animation-delay: .14s; }
.js .sub-hero .reveal:nth-child(n+4) { animation-delay: .21s; }
@media (prefers-reduced-motion: reduce) { .js .sub-hero .reveal { animation: none; } }
