/* =========================================================
   PHU "B&J-GROUP" Bartosz Jaszczyński — style
   Kolory marki: karmin + miedź/złoto na ciepłym grafitowym tle
   ========================================================= */

:root {
  --bg: #0e0c0b;
  --bg-2: #151210;
  --surface: #1b1714;
  --surface-2: #231e1a;
  --line: rgba(233, 196, 150, 0.13);
  --line-strong: rgba(233, 196, 150, 0.28);
  --text: #f3ede5;
  --muted: #a99e91;
  --gold: #d6a462;
  --gold-2: #f0c991;
  --red: #b11f2b;
  --red-2: #d8323f;

  --f-display: "Archivo", sans-serif;
  --f-body: "Hanken Grotesk", sans-serif;
  --f-mono: "JetBrains Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --wrap: 1240px;
  --header-h: 90px;
  --r: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* delikatne ziarno na całej stronie */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; font-stretch: 112%; }
p { margin: 0; }

::selection { background: var(--red); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- przyciski ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--f-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.4s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }

.btn--red { background: var(--red); color: #fff; }
.btn--red::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--red-2), #e9564a);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
}
.btn--red:hover::before { transform: none; }

.btn--line { border: 1px solid var(--line-strong); color: var(--text); }
.btn--line::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.btn--line:hover { color: #160f08; border-color: var(--gold); }
.btn--line:hover::before { transform: none; }

/* ---------- nagłówek ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  isolation: isolate;
}
/* tło z rozmyciem na osobnej warstwie: backdrop-filter na samym nagłówku
   zamykałby rozwijane menu (position: fixed) w pasku nagłówka */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(14, 12, 11, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.header.is-scrolled::before,
.header.is-solid::before { opacity: 1; }
.header.is-scrolled,
.header.is-solid { border-color: var(--line); }
.header.is-scrolled { height: 72px; }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; }
.logo img { height: 72px; width: auto; transition: height 0.4s var(--ease); }
.header.is-scrolled .logo img { height: 56px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #dcd3c8;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--gold-2); }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 11px 18px;
  background: var(--red);
  border: 1px solid rgba(0, 0, 0, 0.45);
  border-radius: var(--r);
  box-shadow: 0 8px 24px -10px rgba(177, 31, 43, 0.8);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.nav__phone:hover { background: var(--red-2); transform: translateY(-1px); }
.nav__phone svg { width: 17px; height: 17px; flex: none; }
.header__call { display: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(74, 211, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 211, 122, 0); } }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- linia lasera (motyw przewodni) ---------- */
.laser {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--red-2) 15%, #ff6a5c 50%, var(--red-2) 85%, transparent);
  box-shadow: 0 0 12px 1px rgba(255, 70, 60, 0.7), 0 0 40px 2px rgba(255, 70, 60, 0.25);
  top: 0;
  opacity: 0;
  animation: laserSweep 2.1s var(--ease-io) 0.15s forwards;
}
@keyframes laserSweep {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* =========================================================
   STRONA GŁÓWNA — dwa kafelki
   ========================================================= */
.gate {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  background: #000;
  overflow: hidden;
}

.tile {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(100% 0 0 0);
  animation: tileIn 1.3s var(--ease) forwards;
}
.tile--w { animation-delay: 0.18s; }
@keyframes tileIn { to { clip-path: inset(0 0 0 0); } }


.tile__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: filter 0.9s var(--ease), transform 1.6s var(--ease);
  filter: saturate(0.92) brightness(0.82);
}
@media (hover: hover) {
  .tile:hover .tile__bg { filter: saturate(1.05) brightness(0.98); transform: scale(1.035); }
  .gate:hover .tile:not(:hover) .tile__bg { filter: saturate(0.35) brightness(0.42); }
  .gate:hover .tile:not(:hover) .tile__body { opacity: 0.55; }
}
.tile__body { transition: opacity 0.7s var(--ease); }

/* złota ramka rysowana od dwóch narożników po najechaniu */
.tile__frame { position: absolute; inset: calc(var(--header-h) + 12px) 22px 22px; z-index: 2; pointer-events: none; }
.tile__frame b { position: absolute; background: rgba(240, 201, 145, 0.65); transition: transform 0.9s var(--ease); }
.tile__frame b:nth-child(1) { top: 0; left: 0; right: 0; height: 1px; transform: scaleX(0); transform-origin: left; }
.tile__frame b:nth-child(2) { top: 0; left: 0; bottom: 0; width: 1px; transform: scaleY(0); transform-origin: top; }
.tile__frame b:nth-child(3) { bottom: 0; left: 0; right: 0; height: 1px; transform: scaleX(0); transform-origin: right; }
.tile__frame b:nth-child(4) { top: 0; right: 0; bottom: 0; width: 1px; transform: scaleY(0); transform-origin: bottom; }
.tile__frame i { position: absolute; width: 16px; height: 16px; border: 0 solid var(--gold-2); opacity: 0; transition: opacity 0.5s var(--ease); }
.tile__frame i:nth-of-type(1) { top: -5px; left: -5px; border-top-width: 2px; border-left-width: 2px; }
.tile__frame i:nth-of-type(2) { bottom: -5px; right: -5px; border-bottom-width: 2px; border-right-width: 2px; }
@media (hover: hover) {
  .tile:hover .tile__frame b { transform: none; }
  .tile:hover .tile__frame i { opacity: 1; }
}
@keyframes kenburns { from { transform: scale(1.12) translate(0, 0); } to { transform: scale(1.2) translate(-1.5%, -1%); } }

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 8, 7, 0.65) 0%, rgba(10, 8, 7, 0.05) 32%, rgba(10, 8, 7, 0.35) 55%, rgba(10, 8, 7, 0.95) 100%);
}
.tile--k::after,
.tile--w::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  mix-blend-mode: multiply;
  opacity: 0.55;
  transition: opacity 0.9s var(--ease);
}
.tile--k::after { background: linear-gradient(200deg, transparent 40%, #4a1015 100%); }
.tile--w::after { background: linear-gradient(160deg, transparent 40%, #3d2610 100%); }
.tile:hover::after { opacity: 0.25; }

.tile__body {
  width: 100%;
  padding: 0 clamp(24px, 4vw, 64px) clamp(36px, 6vh, 72px);
}

.tile__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  animation: up 0.9s var(--ease) forwards;
  animation-delay: 1s;
}
.tile--w .tile__top { animation-delay: 1.15s; }
.tile__num { font-family: var(--f-mono); font-size: 13px; color: var(--gold-2); letter-spacing: 0.1em; }
.tile__rule { width: 48px; height: 1px; background: var(--gold); transition: width 0.8s var(--ease); }
.tile:hover .tile__rule { width: 96px; }

.tile__title {
  font-size: clamp(34px, 4.2vw, 64px);
  text-transform: uppercase;
  max-width: 11ch;
  opacity: 0;
  transform: translateY(24px);
  animation: up 1s var(--ease) forwards;
  animation-delay: 1.08s;
}
.tile--w .tile__title { animation-delay: 1.23s; }
.tile__title em { font-style: normal; color: var(--gold-2); }
.tile__title .t-short { display: none; }

@keyframes up { to { opacity: 1; transform: none; } }

.tile__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
  max-width: 560px;
}
.tile__cities li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  background: rgba(14, 12, 11, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(10px);
  animation: up 0.7s var(--ease) forwards;
  animation-delay: calc(1.3s + var(--i, 0) * 0.06s);
  transition: border-color 0.3s, background 0.3s;
}
.tile:hover .tile__cities li { border-color: rgba(240, 201, 145, 0.45); }
.tile__cities .pin { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--red-2); vertical-align: 1px; }

.tile__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  opacity: 0;
  animation: up 0.9s var(--ease) forwards;
  animation-delay: 1.7s;
}
.tile__meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #d9cfc3; }

.tile__link { position: absolute; inset: 0; z-index: 3; }
.tile__body .btn { position: relative; z-index: 4; }

/* środkowy szew z „pionem” */
.gate__seam {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  z-index: 5;
  background: linear-gradient(180deg, transparent, rgba(240, 201, 145, 0.55) 20%, rgba(240, 201, 145, 0.55) 80%, transparent);
  pointer-events: none;
  transition: left 0.9s var(--ease);
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.gate__seam::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 14px 3px rgba(240, 201, 145, 0.7);
  animation: seamDot 6s var(--ease-io) infinite;
}
@keyframes seamDot { 0% { top: 8%; } 50% { top: 92%; } 100% { top: 8%; } }
@keyframes fadeIn { to { opacity: 1; } }


.gate__scroll {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 7;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  opacity: 0;
  animation: fadeIn 1s 2.2s forwards;
}
.gate__scroll::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold-2);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- sekcje wspólne ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--alt { background: var(--bg-2); }

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(233, 196, 150, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 196, 150, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}

.head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); position: relative; }
.head .mono { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.head .mono::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.head h2 { font-size: clamp(32px, 4.4vw, 58px); text-transform: uppercase; }
.head h2 em { font-style: normal; color: var(--gold-2); }
.head p { margin-top: 22px; color: var(--muted); font-size: 18px; max-width: 620px; }

/* animacje przy przewijaniu */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 0.09s); }
.rv.in { opacity: 1; transform: none; }
.rv-clip { position: relative; }
.rv-clip::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  pointer-events: none;
  background: var(--curtain, var(--bg));
  transform-origin: top;
  transition: transform 1.3s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.09s);
}
.rv-clip.in::after { transform: scaleY(0); }
.section--alt .rv-clip { --curtain: var(--bg-2); }

/* ---------- kombo: remont + kontener ---------- */
.combo {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.combo__visual { position: relative; aspect-ratio: 4 / 4.4; }
.combo__visual figure { margin: 0; position: absolute; overflow: hidden; border-radius: var(--r); }
.combo__visual figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.combo__visual .in img { transform: scale(1); }
.combo__visual .f1 { inset: 0 22% 22% 0; }
.combo__visual .f2 { inset: 42% 0 0 34%; border: 6px solid var(--bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.combo__badge {
  position: absolute;
  left: 4%;
  bottom: 6%;
  z-index: 2;
  width: 132px; height: 132px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  text-align: center;
  font-family: var(--f-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 0 20px 40px -10px rgba(177, 31, 43, 0.6);
}
.combo__badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.combo__badge text { font-family: var(--f-mono); font-size: 8.2px; letter-spacing: 2.6px; fill: rgba(255, 255, 255, 0.85); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

.combo__list { margin: 34px 0 40px; display: grid; gap: 2px; }
.combo__list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.combo__list li:last-child { border-bottom: 1px solid var(--line); }
.combo__list .mono { padding-top: 3px; }
.combo__list b { display: block; font-family: var(--f-display); font-stretch: 108%; font-size: 19px; font-weight: 700; margin-bottom: 3px; }
.combo__list span { color: var(--muted); font-size: 16px; }

/* ---------- dlaczego my ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why__item {
  position: relative;
  padding: 44px 36px 48px;
  background: var(--bg);
  overflow: hidden;
  transition: background 0.5s var(--ease);
}
.why__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--red-2), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.why__item:hover { background: var(--surface); }
.why__item:hover::before { transform: scaleX(1); }
.why__icon { width: 54px; height: 54px; margin-bottom: 30px; color: var(--gold); }
.why__icon svg { width: 100%; height: 100%; }
.why__icon path, .why__icon rect, .why__icon circle, .why__icon polyline, .why__icon line { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.6s var(--ease); }
.why__item.in .why__icon path, .why__item.in .why__icon rect, .why__item.in .why__icon circle, .why__item.in .why__icon polyline, .why__item.in .why__icon line { stroke-dashoffset: 0; }
.why__item h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 14px; }
.why__item p { color: var(--muted); font-size: 16px; }

/* ---------- pasek z miastami ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__group span {
  font-family: var(--f-display);
  font-stretch: 120%;
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 34px);
  text-transform: uppercase;
  padding: 0 28px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 201, 145, 0.55);
  transition: color 0.3s;
}
.marquee__group span:hover { color: var(--gold-2); }
.marquee__group i { width: 9px; height: 9px; transform: rotate(45deg); background: var(--red-2); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA kontakt ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 160px) 0; text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(177, 31, 43, 0.35), transparent 60%), var(--bg); }
.cta .mono { display: block; margin-bottom: 22px; }
.cta h2 { font-size: clamp(34px, 5vw, 66px); text-transform: uppercase; max-width: 20ch; margin: 0 auto; }
.cta__phone {
  display: inline-block;
  margin: 38px 0 14px;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(42px, 8vw, 104px);
  line-height: 1;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 40%, #fff3df 50%, var(--gold) 60%, var(--gold-2));
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.cta__sub { color: var(--muted); }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.cta__lines { position: absolute; inset: 0; pointer-events: none; }
.cta__lines span { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(240, 201, 145, 0.18), transparent); }

/* ---------- stopka ---------- */
.footer { border-top: 1px solid var(--line); background: #0b0a09; padding: 72px 0 30px; font-size: 15px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo img { height: 80px; }
.footer__about { margin-top: 18px; max-width: 320px; }
.footer h4 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-stretch: 100%; }
.footer li + li { margin-top: 9px; }
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--gold-2); }
.footer__bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* =========================================================
   PODSTRONY
   ========================================================= */
.page-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(50px, 8vh, 90px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: heroZoom 2.4s var(--ease) both, kenburns 26s 2.4s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.3); filter: brightness(0.3); } to { transform: scale(1.12); filter: brightness(1); } }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 8, 7, 0.92) 0%, rgba(10, 8, 7, 0.55) 55%, rgba(10, 8, 7, 0.25) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 26px; }
.crumbs a { color: var(--muted); transition: color 0.3s; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs .sep { width: 18px; height: 1px; background: var(--gold); }

.page-hero h1 {
  font-size: clamp(40px, 6.6vw, 96px);
  text-transform: uppercase;
  max-width: 14ch;
}
.page-hero h1 .line { display: block; overflow: hidden; }
.page-hero h1 .line > span { display: block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; animation-delay: calc(0.5s + var(--i, 0) * 0.12s); }
.page-hero h1 em { font-style: normal; color: var(--gold-2); }
@keyframes lineUp { to { transform: none; } }

.page-hero__lead { margin-top: 26px; max-width: 560px; font-size: 19px; color: #ddd3c7; }
.page-hero__cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; max-width: 640px; }
.page-hero__cities li {
  font-size: 13px; font-weight: 600;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  background: rgba(14, 12, 11, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.page-hero__cities .pin { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--red-2); vertical-align: 1px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.page-hero .fade { opacity: 0; transform: translateY(18px); animation: up 1s var(--ease) forwards; animation-delay: calc(0.9s + var(--i, 0) * 0.12s); }

/* pasek zakładek */
.tabs {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(14, 12, 11, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
}
.tabs__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.tabs__in::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none;
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--r);
  transition: color 0.3s, background 0.3s;
}
.tabs a:hover { color: var(--text); background: var(--surface); }
.tabs a.is-active { color: var(--text); background: var(--surface-2); }
.tabs a.is-active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--red-2); }
.tabs a.tab--bdo { color: var(--gold-2); }
.tabs a.tab--bdo::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #4ad37a; vertical-align: 1px; }

/* ---------- rodzaje odpadów ---------- */
.waste { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.waste__card {
  grid-column: span 2;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.4s;
}
.waste__card:nth-child(4), .waste__card:nth-child(5) { grid-column: span 3; }
.waste__card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.waste__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.waste__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.waste__card:hover .waste__img img { transform: scale(1.12); }
.waste__tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  background: rgba(14, 12, 11, 0.8);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--gold-2);
}
.waste__body { padding: 26px 26px 30px; }
.waste__body .mono { color: var(--muted); font-size: 11px; }
.waste__body h3 { font-size: 22px; text-transform: uppercase; margin: 10px 0 10px; }
.waste__body p { color: var(--muted); font-size: 16px; }

/* ---------- kontenery 5 / 7 m³ ---------- */
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.size {
  position: relative;
  padding: 40px 36px 36px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
}
.size__vol { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(56px, 7vw, 96px); line-height: 1; color: var(--text); }
.size__vol sup { font-size: 0.4em; color: var(--gold-2); vertical-align: 0.9em; }
.size svg { width: 100%; height: auto; margin: 24px 0 18px; overflow: visible; }
.size .draw { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease); }
.size .draw--thin { stroke-width: 1; stroke: var(--line-strong); }
.size .fillc { fill: rgba(177, 31, 43, 0.18); opacity: 0; transition: opacity 1.2s 1.4s var(--ease); }
.size.in .draw { stroke-dashoffset: 0; }
.size.in .fillc { opacity: 1; }
.size .dim { font-family: var(--f-mono); font-size: 11px; fill: var(--muted); letter-spacing: 1px; }
.size p { color: var(--muted); font-size: 16px; }
.size__for { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.size__for li { font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 100px; color: #d9cfc3; }

/* ---------- kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 27px;
  height: 1px;
  background: var(--line);
}
.steps::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 27px;
  height: 1px;
  background: linear-gradient(90deg, var(--red-2), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.2s var(--ease);
}
.steps.in::after { transform: scaleX(1); }
.step { position: relative; }
.step__n {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--gold-2);
  margin-bottom: 26px;
  transition: background 0.5s, border-color 0.5s, color 0.5s;
  transition-delay: calc(var(--d, 0) * 0.45s + 0.3s);
}
.steps.in .step__n { background: var(--red); border-color: var(--red); color: #fff; }
.step h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- BDO ---------- */
.bdo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.bdo__note {
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(214, 164, 98, 0.06);
  color: #ddd3c7;
  font-size: 16px;
}
.bdo__note b { color: var(--gold-2); }
.bdo__list { margin-top: 34px; padding: 0; list-style: none; counter-reset: b; }
.bdo__list li {
  counter-increment: b;
  position: relative;
  padding: 14px 0 14px 52px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: #ddd3c7;
}
.bdo__list li::before {
  content: counter(b, decimal-leading-zero);
  position: absolute;
  left: 0; top: 15px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--red-2);
  letter-spacing: 0.1em;
}
.bdo__list b { color: var(--text); font-weight: 700; }

.screen {
  position: sticky;
  top: 150px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.screen__bar { display: flex; align-items: center; gap: 7px; padding: 2px 4px 12px; }
.screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a322c; }
.screen__bar i:first-child { background: var(--red-2); }
.screen__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.05em; }
.screen video { width: 100%; height: auto; border-radius: 4px; background: #000; aspect-ratio: 1904 / 884; }
.screen__cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 4px 2px; font-size: 14px; color: var(--muted); }
.screen__cap a { color: var(--gold-2); }

/* corner ticks */
.ticks { position: relative; }
.ticks::before, .ticks::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--gold); pointer-events: none; }
.ticks::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.ticks::after { bottom: -7px; right: -7px; border-left: 0; border-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.faq .head { position: sticky; top: 160px; align-self: start; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--f-display);
  font-stretch: 105%;
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.3;
  transition: color 0.3s;
}
.faq__q:hover { color: var(--gold-2); }
.faq__ico { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; transition: transform 0.5s var(--ease); }
.faq__ico::after { transform: rotate(90deg); }
.faq__item.open .faq__ico { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.faq__item.open .faq__ico::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 60px 28px 0; color: var(--muted); font-size: 16px; }
.faq__a a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- zakres prac (wykończenia) ---------- */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.scope__frame { position: sticky; top: 150px; height: calc(100svh - 200px); max-height: 720px; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.scope__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
}
.scope__frame img.on { opacity: 1; transform: scale(1); }
.scope__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 8, 7, 0.6), transparent 40%); pointer-events: none; }
.scope__counter { position: absolute; left: 22px; bottom: 20px; z-index: 2; font-family: var(--f-mono); font-size: 13px; color: #fff; letter-spacing: 0.1em; }
.scope__counter b { color: var(--gold-2); font-weight: 500; }

.svc { padding: 34px 0 40px; border-top: 1px solid var(--line); opacity: 0.45; transition: opacity 0.6s var(--ease); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc.on { opacity: 1; }
.svc__top { display: flex; align-items: baseline; gap: 18px; }
.svc__top .mono { color: var(--red-2); }
.svc h3 { font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; }
.svc__lead { margin: 14px 0 0 0; color: #ddd3c7; }
.svc__items { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 22px; }
.svc__items li { padding-left: 18px; position: relative; font-size: 15px; color: var(--muted); }
.svc__items li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1px; background: var(--gold); }
.svc__items b { display: block; color: var(--text); font-weight: 700; font-size: 16px; }
.svc__mimg { display: none; }

/* ---------- remont pod klucz — oś czasu ---------- */
.turnkey { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.timeline { position: relative; padding-left: 70px; }
.timeline__rail { position: absolute; left: 22px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline__fill { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, var(--red-2), var(--gold)); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 10px rgba(255, 80, 60, 0.6); }
.tl { position: relative; padding-bottom: 46px; }
.tl:last-child { padding-bottom: 0; }
.tl__dot {
  position: absolute;
  left: -56px; top: 2px;
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.tl.lit .tl__dot { background: var(--red-2); border-color: var(--red-2); box-shadow: 0 0 0 6px rgba(216, 50, 63, 0.16); }
.tl .mono { color: var(--muted); }
.tl h3 { font-size: 22px; text-transform: uppercase; margin: 8px 0 10px; }
.tl p { color: var(--muted); font-size: 16px; }
.tl p a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.ba { position: sticky; top: 150px; }
/* suwak przed / po */
.compare { position: relative; aspect-ratio: 620 / 740; border-radius: var(--r); background: var(--surface); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); border-radius: var(--r); overflow: hidden; }
.compare__tag { position: absolute; top: 16px; z-index: 2; padding: 6px 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 3px; background: rgba(14, 12, 11, 0.78); border: 1px solid var(--line-strong); pointer-events: none; }
.compare__tag--l { left: 16px; color: #e6dccf; }
.compare__tag--r { right: 16px; color: var(--gold-2); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px; background: var(--gold-2); box-shadow: 0 0 14px rgba(240, 201, 145, 0.55); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; border: 2px solid var(--gold-2); box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.7); transition: transform 0.3s var(--ease); }
.compare__handle svg { width: 20px; height: 20px; }
.compare:hover .compare__handle span { transform: scale(1.08); }
.compare__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare__range:focus-visible + * , .compare:focus-within .compare__handle span { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.ba__cap { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; gap: 14px; align-items: center; }

/* ---------- galeria realizacji ---------- */
.gallery { columns: 3; column-gap: 16px; }
.gallery__item {
  position: relative;
  display: block;
  margin-bottom: 16px;
  break-inside: avoid;
  border-radius: var(--r);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface);
}
.gallery__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.92); }
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.08); }
.gallery__item::after {
  content: attr(data-cap);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(0deg, rgba(10, 8, 7, 0.85), transparent);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.gallery__item:hover::after { transform: none; }
.gallery__item:not([data-cap])::after { display: none; }
.gallery__more { display: none; }
.gallery.is-open .gallery__more { display: block; animation: up 0.7s var(--ease) both; }
.gallery__actions { display: flex; justify-content: center; margin-top: 28px; }

.reels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 560px; }
.reel { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); background: #000; aspect-ratio: 9 / 16; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel span { position: absolute; left: 12px; top: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; padding: 5px 9px; border-radius: 100px; background: rgba(14, 12, 11, 0.7); color: var(--gold-2); }
.reels-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; margin-top: clamp(70px, 9vw, 120px); }

/* lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: rgba(8, 7, 6, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lb.open { opacity: 1; visibility: visible; }
.lb img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 4px; transform: scale(0.96); transition: transform 0.5s var(--ease); }
.lb.open img { transform: none; }
.lb__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(14, 12, 11, 0.6); transition: background 0.3s, border-color 0.3s; }
.lb__btn:hover { background: var(--red); border-color: var(--red); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__close { top: 22px; right: 22px; }
.lb__prev { left: 22px; top: 50%; margin-top: -26px; }
.lb__next { right: 22px; top: 50%; margin-top: -26px; }
.lb__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--muted); }

/* przełącznik do drugiej usługi */
.switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(40px, 6vw, 70px);
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
}
.switch__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 1.6s var(--ease); }
.switch:hover .switch__bg { transform: scale(1.12); }
.switch::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 8, 7, 0.95) 30%, rgba(10, 8, 7, 0.55)); }
.switch h2 { font-size: clamp(28px, 3.6vw, 46px); text-transform: uppercase; margin: 14px 0 12px; }
.switch p { color: #ddd3c7; max-width: 520px; }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .waste__card, .waste__card:nth-child(4), .waste__card:nth-child(5) { grid-column: span 3; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before, .steps::after { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .burger { display: block; z-index: 2; }
  .header__in { gap: 12px; }
  .header__call { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: var(--r); background: var(--red); color: #fff; border: 1px solid rgba(0, 0, 0, 0.45); }
  .header__call svg { width: 19px; height: 19px; }
  .menu-open .header__call { visibility: hidden; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    background: #0c0a09;
    clip-path: circle(0 at calc(100% - 46px) 34px);
    transition: clip-path 0.8s var(--ease);
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 46px) 34px); }
  .nav__links { flex-direction: column; align-items: center; gap: 22px; }
  .nav__links a { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 30px; text-transform: uppercase; }
  .logo img { height: 54px; }
  .header.is-scrolled .logo img { height: 48px; }

  /* telefon: dwa kafelki jeden nad drugim, oba mieszczą się na pierwszym ekranie */
  .gate { flex-direction: column; height: 100svh; min-height: 620px; max-height: 1000px; }
  .tile { animation-name: tileInM; clip-path: inset(0 100% 0 0); }
  .tile--w { animation-delay: 0.12s; }
  @keyframes tileInM { to { clip-path: inset(0 0 0 0); } }
  .tile:first-of-type { padding-top: var(--header-h); }
  .tile::before { background: linear-gradient(90deg, rgba(10,8,7,.9) 0%, rgba(10,8,7,.6) 55%, rgba(10,8,7,.25) 100%), linear-gradient(0deg, rgba(10,8,7,.7), transparent 50%); }
  .tile--k .tile__bg { background-position: 50% 45% !important; }
  .tile--w .tile__bg { background-position: 50% 55% !important; }
  .tile--k .tile__frame { display: none; }
  .tile__body { padding: 0 20px 24px; }
  .tile__top { margin-bottom: 10px; }
  .tile__rule { width: 28px; }
  .tile__meta { display: none; }
  .tile__title { font-size: clamp(26px, 7.6vw, 34px); max-width: none; line-height: 1.02; }
  .tile__title .t-long { display: none; }
  .tile__title .t-short { display: inline; }
  .tile__cities { gap: 6px; margin: 14px 0 16px; }
  .tile__cities li { padding: 4px 9px; font-size: 12px; }
  .tile__foot .btn { padding: 12px 16px; font-size: 12px; }
  .gate__seam { display: none; }
  /* linia podziału na górnej krawędzi drugiego kafelka (zawsze dokładnie na styku) */
  .tile--w .tile__frame { display: block; inset: 0 0 auto 0; height: 1px; z-index: 4; background: linear-gradient(90deg, transparent, rgba(240, 201, 145, 0.65) 15%, rgba(240, 201, 145, 0.65) 85%, transparent); }
  .tile--w .tile__frame b, .tile--w .tile__frame i:nth-of-type(2) { display: none; }
  .tile--w .tile__frame i:nth-of-type(1) { opacity: 1; top: -3px; left: 6%; width: 7px; height: 7px; border: 0; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px 3px rgba(240, 201, 145, 0.7); animation: seamDotX 5s var(--ease-io) infinite; }
  @keyframes seamDotX { 0% { left: 6%; } 50% { left: 94%; } 100% { left: 6%; } }
  .page-hero__bg[data-m] { background-image: var(--m) !important; }

  .combo, .bdo, .faq, .scope, .turnkey, .reels-wrap { grid-template-columns: 1fr; }
  .faq .head, .screen, .ba { position: static; }
  .why { grid-template-columns: 1fr; }
  .sizes { grid-template-columns: 1fr; }
  .waste__card, .waste__card:nth-child(4), .waste__card:nth-child(5) { grid-column: 1 / -1; }
  .scope__frame { display: none; }
  .svc { opacity: 1; }
  .svc__mimg { display: block; margin-top: 22px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
  .svc__mimg img { width: 100%; height: 100%; object-fit: cover; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .switch { grid-template-columns: 1fr; }
  .tabs { top: 72px; }
  .page-hero { min-height: 88svh; }
  .faq__a p { padding-right: 10px; }
  .rv { transform: translateY(18px); transition-duration: 0.6s; transition-delay: calc(var(--d, 0) * 0.05s); }
  .rv-clip::after { transition-duration: 0.8s; transition-delay: 0s; }
  .ba { margin-top: 10px; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .nav__phone .num { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .svc__items { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .combo__badge { width: 104px; height: 104px; font-size: 12px; }
  .btn { padding: 15px 20px; }
  .lb__prev, .lb__next { top: auto; bottom: 18px; margin: 0; }
  .lb__cap { bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
  .rv-clip::after { display: none; }
}
