/* ============================================================
   Piotr Keys — piotrkeys.pl
   Ciemny motyw premium: czerń / czerwień / srebro (brand z logo)
   ============================================================ */

:root {
  --bg:      #0b0c0e;
  --bg-alt:  #101114;
  --panel:   #16171b;
  --panel-2: #1b1c21;
  --line:    rgba(255, 255, 255, .08);
  --line-2:  rgba(255, 255, 255, .14);
  --txt:     #eceef0;
  --muted:   #9ba1a8;
  --red:     #d21f2b;
  --red-2:   #ef3340;
  --red-dark:#7c0d15;
  --glow:    rgba(210, 31, 43, .35);
  --radius:  16px;
  --font-h:  "Sora", system-ui, sans-serif;
  --font-b:  "Inter", system-ui, sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-b);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--red-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}
.container-narrow { width: min(860px, 92%); }

section { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Typografia ---------- */

h1, h2, h3 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.18rem; font-weight: 600; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-2);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  transform: skewX(-24deg);
}

/* ---------- Ikony ---------- */

.ico    { width: 20px; height: 20px; flex: none; }
.ico-lg { width: 30px; height: 30px; flex: none; }

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .8em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-red {
  background: linear-gradient(135deg, var(--red-2), var(--red) 55%, #b0121e);
  color: #fff;
  box-shadow: 0 8px 28px -8px var(--glow);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px var(--glow); }

.btn-ghost {
  border-color: var(--line-2);
  color: var(--txt);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--red-2); color: #fff; transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: #14060a;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }

.btn-lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn-block { width: 100%; margin-top: 1.4rem; }

/* ---------- Nagłówek ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
  background: linear-gradient(180deg, rgba(5, 6, 8, .72), rgba(5, 6, 8, 0));
}
.site-header.scrolled {
  background: rgba(10, 11, 13, .88);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand img { width: 168px; height: auto; }

.main-nav {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
}
.main-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  position: relative;
  padding: .3em 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red-2);
  transition: right .25s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { right: 0; }

/* Przełącznik języka */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .5em .85em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .85rem;
  color: var(--txt);
  transition: border-color .2s, background .2s, transform .2s;
}
.lang-switch:hover { border-color: var(--red-2); background: rgba(239, 51, 64, .1); transform: translateY(-1px); }
.nav-lang { display: none; }

.header-phone { font-size: .92rem; padding: .62em 1.2em; }
.header-phone { background: linear-gradient(135deg, var(--red-2), var(--red) 55%, #b0121e); color: #fff; box-shadow: 0 8px 24px -10px var(--glow); }
.header-phone:hover { transform: translateY(-2px); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px 11px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  overflow: hidden;
}

.hero-media,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media video { object-position: 68% center; }

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, .92) 0%, rgba(8, 9, 11, .72) 38%, rgba(8, 9, 11, .25) 70%, rgba(8, 9, 11, .45) 100%),
    linear-gradient(180deg, rgba(8, 9, 11, .55) 0%, rgba(8, 9, 11, 0) 30%, rgba(11, 12, 14, .1) 70%, var(--bg) 100%);
}

.hero-inner { position: relative; z-index: 2; }

.hero h1 { max-width: 13ch; margin: .5rem 0 1.2rem; }
.hero h1 em {
  font-style: normal;
  color: var(--red-2);
  text-shadow: 0 0 34px var(--glow);
}

.hero-sub {
  max-width: 52ch;
  font-size: 1.13rem;
  color: #c6cbd1;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2.6rem;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .55em 1.05em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(12, 13, 16, .55);
  backdrop-filter: blur(8px);
  font-size: .88rem;
  font-weight: 500;
  color: #d7dbdf;
}
.hero-badges .ico { width: 17px; height: 17px; color: var(--red-2); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--line-2);
  border-radius: 14px;
  z-index: 2;
}
.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: var(--red-2);
  animation: scrollhint 1.8s infinite ease-in-out;
}
@keyframes scrollhint {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ---------- Sekcje ---------- */

.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(210, 31, 43, .07), transparent 60%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 640px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2 { margin-top: .55rem; }
.section-sub { margin-top: .9rem; color: var(--muted); }

/* ---------- Karty / Usługi ---------- */

.card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.1rem;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 51, 64, .45);
  box-shadow: 0 18px 42px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(239, 51, 64, .12), 0 10px 38px -16px var(--glow);
}

.service-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  margin-bottom: 1.2rem;
  color: var(--red-2);
  background:
    linear-gradient(160deg, rgba(239, 51, 64, .16), rgba(239, 51, 64, .05));
  border: 1px solid rgba(239, 51, 64, .28);
}

.service-card h3 { margin-bottom: .55rem; }
.service-card p { color: var(--muted); font-size: .97rem; }

.service-card-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .6rem;
  background:
    radial-gradient(420px 220px at 110% 120%, rgba(210, 31, 43, .22), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}
.service-card-cta p { color: var(--muted); font-size: .97rem; }
.service-card-cta .btn { margin-top: .7rem; }

/* ---------- Kroki (serwis mobilny) ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.7rem;
  overflow: hidden;
}

.step-num {
  position: absolute;
  top: .4rem;
  right: 1rem;
  font-family: var(--font-h);
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .10);
  user-select: none;
}

.step-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--red-2), var(--red) 60%, #a01019);
  box-shadow: 0 10px 26px -10px var(--glow);
}

.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .96rem; }

.area-note {
  display: flex;
  align-items: center;
  gap: .6em;
  margin-top: 2rem;
  color: var(--muted);
}
.area-note .ico { color: var(--red-2); }
.area-note strong { color: var(--txt); font-weight: 600; }

/* ---------- Marki (marquee) ---------- */

.marquee {
  overflow: hidden;
  padding: .6rem 0 1.4rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: .8rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track li {
  flex: none;
  padding: .6em 1.35em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--panel);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .95rem;
  color: #cfd4d9;
  transition: border-color .2s, color .2s;
}
.marquee-track li:hover { border-color: var(--red-2); color: #fff; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.brands-note { text-align: center; color: var(--muted); font-size: .95rem; }
.brands-note a { color: var(--red-2); font-weight: 600; }
.brands-note a:hover { text-decoration: underline; }

/* ---------- Konfigurator wyceny ---------- */

.wizard { padding: clamp(1.4rem, 4vw, 2.4rem); }

.wiz-progress {
  list-style: none;
  display: flex;
  gap: .5rem;
  margin-bottom: 1.8rem;
  counter-reset: wiz;
}
.wiz-progress li {
  flex: 1;
  counter-increment: wiz;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .55rem;
  position: relative;
}
.wiz-progress li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .1);
  transition: background .3s;
}
.wiz-progress li.on { color: #fff; }
.wiz-progress li.on::before { background: linear-gradient(90deg, var(--red-2), var(--red)); }

.wiz-step { display: none; }
.wiz-step.on { display: block; animation: wizin .35s ease; }
@keyframes wizin {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}

.wiz-step h3 { margin-bottom: 1.2rem; font-size: 1.25rem; }

.wiz-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.wiz-note { grid-column: 1 / -1; }
.field-hint { font-weight: 400; font-size: .78rem; color: #6d7278; }

.wizard .field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
}
.wizard input[type="text"], .wizard input[type="tel"], .wizard select, .wizard textarea {
  width: 100%;
  padding: .72rem .9rem;
  background: #101114;
  color: var(--txt);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-family: var(--font-b);
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.wizard textarea { min-height: 88px; resize: vertical; }
.wizard input:focus, .wizard select:focus, .wizard textarea:focus {
  outline: none;
  border-color: var(--red-2);
  box-shadow: 0 0 0 3px rgba(239, 51, 64, .15);
}
.wizard select option { background: #15161a; }

.wiz-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .8rem;
}
.wiz-tile { position: relative; cursor: pointer; }
.wiz-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wiz-tile span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  text-align: center;
  padding: 1.1rem .8rem;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #101114;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: .93rem;
  color: var(--txt);
  transition: border-color .2s, background .2s, transform .2s;
}
.wiz-tile span small { font-family: var(--font-b); font-weight: 400; font-size: .78rem; color: var(--muted); }
.wiz-tile .ico-lg { color: var(--red-2); }
.wiz-tile:hover span { border-color: rgba(239, 51, 64, .5); transform: translateY(-2px); }
.wiz-tile input:checked + span {
  border-color: var(--red-2);
  background: linear-gradient(160deg, rgba(239, 51, 64, .16), rgba(239, 51, 64, .05));
  box-shadow: 0 0 0 1px var(--red-2), 0 8px 24px -12px var(--glow);
}
.wiz-tile input:focus-visible + span { outline: 2px solid var(--red-2); outline-offset: 3px; }

/* Zdjęcia dołączane do wyceny */
.wiz-photos { display: flex; flex-direction: column; gap: .5rem; }
.wiz-photos-label {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
}
.wiz-photos-label .ico { color: var(--red-2); }
.wiz-photos-btn {
  align-self: flex-start;
  padding: .6em 1.2em;
  font-size: .92rem;
  cursor: pointer;
}
.wiz-photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.wiz-photo {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #101114;
}
.wiz-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wiz-photo button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 9, 11, .8);
  color: #fff;
  font-size: .85rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s;
}
.wiz-photo button:hover { background: var(--red); }

.wiz-consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-top: 1.2rem;
  font-size: .85rem;
  color: var(--muted);
  cursor: pointer;
}
.wiz-consent input { margin-top: .25rem; accent-color: var(--red); width: 17px; height: 17px; flex: none; }
.wiz-consent a { color: var(--red-2); text-decoration: underline; }

.wiz-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.wiz-error {
  margin-top: 1rem;
  padding: .7rem 1rem;
  border-radius: 10px;
  background: rgba(210, 31, 43, .12);
  border: 1px solid rgba(239, 51, 64, .4);
  color: #ff8d95;
  font-size: .92rem;
}

.wiz-nav {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  margin-top: 1.6rem;
}
.wiz-nav .btn { min-width: 130px; }
#wizNext { margin-left: auto; }

.wiz-success { text-align: center; padding: 1.5rem 0 .5rem; }
.wiz-success-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  color: #7ed8ab;
  background: rgba(46, 165, 107, .12);
  border: 1px solid rgba(46, 165, 107, .45);
}
.wiz-success p { color: var(--muted); margin: .5rem 0 1.3rem; }

/* ---------- Polityka prywatności ---------- */

.policy-page { padding: calc(var(--header-h) + 3rem) 0 4.5rem; }
.policy-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: .5rem 0 1.6rem; }
.policy-admin { margin-bottom: 2rem; }
.policy-admin h2 { font-size: 1.1rem; margin-bottom: .6rem; }
.policy-admin p { color: var(--muted); }
.policy-admin a { color: var(--red-2); }
.policy-content h2 { font-size: 1.25rem; margin: 2rem 0 .7rem; }
.policy-content p { color: var(--muted); margin-bottom: .8rem; }
.policy-content ul { color: var(--muted); padding-left: 1.3rem; margin-bottom: .8rem; }
.policy-content li { margin-bottom: .35rem; }
.policy-back { margin-top: 2.5rem; }

/* ---------- Opinie ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.1rem;
}

.review-card { display: flex; flex-direction: column; gap: .9rem; }

.review-stars { display: flex; gap: .2rem; }
.star { width: 18px; height: 18px; fill: rgba(255, 255, 255, .14); }
.star.on { fill: #ffb52e; }

.review-text { color: #d3d7db; font-size: .98rem; flex: 1; }

.review-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}
.review-source { color: var(--muted); font-size: .82rem; }

.reviews-more { text-align: center; margin-top: 2.2rem; }

/* ---------- Galeria ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .9rem;
}

.gallery-item {
  margin: 0;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 51, 64, .45);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .7), 0 8px 30px -18px var(--glow);
}

.gallery-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover .gallery-thumb img { transform: scale(1.06); }
.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 11, .55));
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-thumb::after { opacity: 1; }

.gallery-item figcaption {
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .7rem .95rem .8rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 500;
  color: #cfd4d9;
}
.ico-cap { width: 16px; height: 16px; flex: none; color: var(--red-2); }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(5, 6, 8, .92);
  backdrop-filter: blur(6px);
}
.lightbox figure {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}
.lightbox figcaption { text-align: center; color: var(--muted); font-size: .92rem; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover { background: var(--red); }

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: .7rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open { border-color: rgba(239, 51, 64, .4); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.4rem;
  background: none;
  border: 0;
  color: var(--txt);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  cursor: pointer;
}
.faq-q svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--red-2);
  transition: transform .3s ease;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a p {
  padding: 0 1.4rem 1.25rem;
  color: var(--muted);
  font-size: .97rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background:
    repeating-linear-gradient(-55deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 26px),
    linear-gradient(120deg, #e02a37, var(--red) 45%, var(--red-dark));
  padding: clamp(3rem, 7vw, 4.6rem) 0;
  overflow: hidden;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, .85); margin-top: .5rem; font-size: 1.05rem; }

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.contact-card { padding: 2rem; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }

.c-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  color: var(--red-2);
  background: linear-gradient(160deg, rgba(239, 51, 64, .16), rgba(239, 51, 64, .05));
  border: 1px solid rgba(239, 51, 64, .28);
}

.c-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .15rem;
}
.c-value { color: var(--txt); }
a.c-value:hover { color: var(--red-2); }
.c-strong {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 700;
}

.contact-social {
  display: flex;
  gap: .7rem;
  margin-top: 1.5rem;
}
.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  transition: color .2s, border-color .2s, transform .2s;
}
.contact-social a:hover { color: #fff; border-color: var(--red-2); transform: translateY(-2px); }
.contact-social svg { width: 20px; height: 20px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 430px;
  background: var(--panel);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: grayscale(.15) invert(.9) hue-rotate(185deg) contrast(.92);
}

/* ---------- Stopka ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #08090b;
  padding-top: 3.2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
}

.footer-brand img { width: 158px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .93rem; }

.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer-nav a:hover { color: #fff; }

.footer-info p { color: var(--muted); font-size: .93rem; }
.footer-info strong { color: var(--txt); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-block: 1.2rem;
  color: #6d7278;
  font-size: .85rem;
}
.credit a { color: #9ba1a8; }
.credit a:hover { color: #fff; }

/* ---------- Pływający przycisk telefonu (mobile) ---------- */

.call-fab {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-2), var(--red) 60%, #a01019);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(210, 31, 43, .55), 0 4px 14px rgba(0, 0, 0, .4);
}
.call-fab .ico { width: 26px; height: 26px; }

.call-fab-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red-2);
  animation: fabring 2.2s ease-out infinite;
}
@keyframes fabring {
  0%   { transform: scale(1);    opacity: .8; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Animacje wejścia ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */

@media (max-width: 1024px) {
  .main-nav, .header-phone { display: none; }
  .lang-switch { margin-left: auto; }
  .burger { display: flex; margin-left: .6rem; }

  .main-nav.open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(9, 10, 12, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: .6rem 0 1rem;
    z-index: 49;
  }
  .main-nav.open a {
    padding: .95rem 6%;
    font-size: 1.05rem;
    color: var(--txt);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open a::after { display: none; }
  .main-nav.open a:last-child { border-bottom: 0; }
  .main-nav.open .nav-lang { display: block; color: var(--red-2); font-weight: 600; }

  .call-fab { display: inline-flex; }

  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .lang-switch { padding: .45em .7em; font-size: .8rem; }
  .btn { white-space: normal; }
  .btn-lg { padding: .9em 1.2em; font-size: 1rem; }
  .brand img { width: 138px; }
  .hero { padding-top: calc(var(--header-h) + 1.6rem); }
  .hero-media video { object-position: 74% center; }
  .hero-cta .btn { width: 100%; }
  .hero-badges { gap: .45rem; }
  .hero-badges li { font-size: .8rem; padding: .5em .85em; }
  .scroll-hint { display: none; }
  .card, .contact-card { padding: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .call-fab-ring, .scroll-hint span { animation: none; }
}

/* Tryb statyczny (?static=1) — podglądy i zrzuty bez animacji */
html.no-anim { scroll-behavior: auto; }
html.no-anim *, html.no-anim *::before, html.no-anim *::after {
  transition: none !important;
  animation: none !important;
}
html.no-anim .reveal { opacity: 1 !important; transform: none !important; }
html.no-anim .hero { min-height: 620px; }
