/* =====================================================================
   Podstrona WIZYTÓWKI (uslugi/wizytowki/wizytowki.html) – nowy wygląd
   Wszystkie reguły dotyczą tylko <body class="page-wz2">.
   ===================================================================== */

.page-wz2 { background: #fff; }
.page-wz2 main { display: block; }

/* ---------- wspólne ---------- */
.page-wz2 .wz-h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; margin: 0; color: var(--ink); font-weight: 800; }
.page-wz2 .wz-h2 span { color: var(--red); }
.page-wz2 .wz-sub { margin: 10px 0 0; color: #6b6b6b; font-size: 15.5px; }

.page-wz2 .wz-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 8px;
  font-weight: 700; font-size: 14.5px; letter-spacing: .03em; text-transform: uppercase;
  border: 2px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.page-wz2 .wz-btn:hover { transform: translateY(-2px); }
.page-wz2 .wz-btn-red { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 10px 26px rgba(227, 6, 19, .32); }
.page-wz2 .wz-btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.page-wz2 .wz-btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.page-wz2 .wz-btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.page-wz2 .wz-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.page-wz2 .wz-checks li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.page-wz2 .wz-checks svg { color: var(--red); flex: 0 0 auto; }

/* ---------- 1. Baner ---------- */
.page-wz2 .wz-hero {
  position: relative; overflow: hidden;
  background: #0f1014; color: #fff;
  padding: 130px 0 70px;
}
.page-wz2 .wz-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 78% 38%, rgba(227, 6, 19, .22), transparent 70%),
    linear-gradient(160deg, transparent 52%, rgba(227, 6, 19, .9) 52.3%, rgba(227, 6, 19, .0) 53.4%),
    linear-gradient(160deg, transparent 58%, rgba(255, 60, 70, .35) 58.2%, transparent 59%),
    linear-gradient(180deg, #121318 0%, #0b0c10 100%);
}
.page-wz2 .wz-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.page-wz2 .wz-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.page-wz2 .wz-crumbs a { color: rgba(255,255,255,.75); display: inline-flex; }
.page-wz2 .wz-crumbs a:hover { color: #fff; }
.page-wz2 .wz-hero h1 { font-size: clamp(34px, 4vw, 54px); line-height: 1.08; margin: 0 0 20px; font-weight: 800; color: #fff; }
.page-wz2 .wz-hero h1 span { color: #ff2a33; }
.page-wz2 .wz-hero p { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; margin: 0 0 22px; max-width: 540px; }
.page-wz2 .wz-hero .wz-checks { margin-bottom: 30px; }
.page-wz2 .wz-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.page-wz2 .wz-hero-img img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); }

/* menu nad ciemnym banerem */
.page-wz2 .site-header.header-overlay:not(.is-scrolled) { border-bottom-color: rgba(255,255,255,.08); }

/* ---------- 2. Statystyki ---------- */
.page-wz2 .wz-stats { background: #16171c; color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.page-wz2 .wz-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.page-wz2 .wz-stat { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 26px 10px; }
.page-wz2 .wz-stat + .wz-stat { border-left: 1px solid rgba(255,255,255,.1); }
.page-wz2 .wz-stat-icon { color: var(--red); display: inline-flex; }
.page-wz2 .wz-stat-text { display: flex; flex-direction: column; }
.page-wz2 .wz-stat strong { font-size: 28px; line-height: 1; font-weight: 800; color: #fff; }
.page-wz2 .wz-stat small { font-size: 13.5px; color: rgba(255,255,255,.65); margin-top: 6px; }

/* ---------- 3. Rodzaje ---------- */
.page-wz2 .wz-types-sec { padding: 70px 0 30px; text-align: center; }
.page-wz2 .wz-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 34px; text-align: left; }
.page-wz2 .wz-type {
  display: flex; flex-direction: column; padding: 0; overflow: hidden; cursor: pointer;
  background: #fff; border: 2px solid transparent; border-radius: 14px; font: inherit; color: inherit; text-align: left;
  box-shadow: 0 10px 30px rgba(20, 20, 30, .1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.page-wz2 .wz-type:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(20, 20, 30, .16); }
.page-wz2 .wz-type.is-active { border-color: var(--red); box-shadow: 0 16px 38px rgba(227, 6, 19, .22); }
.page-wz2 .wz-type-img { display: block; aspect-ratio: 600 / 372; overflow: hidden; background: #111; }
.page-wz2 .wz-type-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.page-wz2 .wz-type:hover .wz-type-img img { transform: scale(1.06); }
.page-wz2 .wz-type-body { display: flex; align-items: center; gap: 14px; padding: 16px 16px 18px; }
.page-wz2 .wz-type-icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; color: var(--red); background: rgba(227, 6, 19, .08);
}
.page-wz2 .wz-type.is-active .wz-type-icon { background: var(--red); color: #fff; }
.page-wz2 .wz-type-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.page-wz2 .wz-type-text strong { font-size: 16px; color: var(--ink); }
.page-wz2 .wz-type-text small { font-size: 13px; color: #707070; line-height: 1.4; }
.page-wz2 .wz-type-arrow { color: var(--red); flex: 0 0 auto; transition: transform .2s ease; }
.page-wz2 .wz-type:hover .wz-type-arrow { transform: translateX(3px); }

/* ---------- 4. Realizacje ---------- */
.page-wz2 .wz-gallery-sec { padding: 50px 0 30px; }
.page-wz2 .wz-gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.page-wz2 .wz-all {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 11px 20px; border-radius: 999px; background: #fff;
  border: 2px solid var(--red); color: var(--red);
  font: inherit; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.page-wz2 .wz-all:hover { background: var(--red); color: #fff; }

.page-wz2 .wz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page-wz2 .wz-card.tile {
  /* zerowanie starego wyglądu kafelka */
  aspect-ratio: auto; padding: 0; gap: 0; border-radius: 14px; border-bottom: 0;
  align-items: stretch; text-align: left; background: #15161b; color: #fff;
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  box-shadow: 0 10px 28px rgba(15, 15, 25, .14);
  transition: transform .25s ease, box-shadow .25s ease, opacity .35s ease;
}
.page-wz2 .wz-card.tile:hover { transform: translateY(-4px); background: #15161b; box-shadow: 0 18px 40px rgba(15, 15, 25, .22); }
.page-wz2 .wz-card.tile-paged { display: none; }
.page-wz2 .wz-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.page-wz2 .wz-card-info {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 15px 18px; position: relative;
}
.page-wz2 .wz-card-info::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 15px; width: 4px; background: var(--red); border-radius: 0 3px 3px 0;
}
.page-wz2 .wz-card-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.page-wz2 .wz-card-text strong { font-size: 15.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-wz2 .wz-card-text small { font-size: 13px; color: rgba(255,255,255,.62); }
.page-wz2 .wz-card-ext { color: rgba(255,255,255,.6); flex: 0 0 auto; transition: color .2s ease; }
.page-wz2 .wz-card:hover .wz-card-ext { color: #fff; }

/* animacja filtrowania (jak dotąd: znikają i "rozdają się" z powrotem) */
.page-wz2 .wz-grid .wz-card.tile-hiding { opacity: 0; transform: scale(.85) rotate(-3deg); }
.page-wz2 .wz-grid .wz-card.tile-entering { opacity: 0; transform: scale(.85) translateY(24px) rotate(2deg); transition: opacity .4s ease, transform .4s ease; }

.page-wz2 .wiz-loadmore-wrap { text-align: center; padding: 34px 0 10px; }
.page-wz2 .wiz-loadmore-btn {
  cursor: pointer; padding: 13px 26px; border-radius: 8px; background: var(--ink); color: #fff;
  border: 0; font: inherit; font-weight: 700; font-size: 14px;
}
.page-wz2 .wiz-loadmore-btn:hover { background: var(--red); }

/* ---------- 5. Zachęta ---------- */
.page-wz2 .wz-cta-sec { padding: 50px 0 70px; }
.page-wz2 .wz-cta {
  position: relative; overflow: hidden; border-radius: 20px;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  background: #111216; color: #fff; min-height: 340px;
  box-shadow: 0 24px 60px rgba(10, 10, 20, .28);
}
.page-wz2 .wz-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 80% at 85% 60%, rgba(227, 6, 19, .25), transparent 70%),
    linear-gradient(165deg, transparent 60%, rgba(227, 6, 19, .85) 60.3%, transparent 61.6%);
}
.page-wz2 .wz-cta-text { position: relative; z-index: 1; padding: 46px 48px; }
.page-wz2 .wz-cta h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; margin: 0 0 16px; color: #fff; font-weight: 800; }
.page-wz2 .wz-cta h2 span { color: #ff2a33; }
.page-wz2 .wz-cta p { color: rgba(255,255,255,.75); font-size: 15.5px; line-height: 1.7; margin: 0 0 20px; max-width: 520px; }
.page-wz2 .wz-cta .wz-checks { margin-bottom: 28px; }
.page-wz2 .wz-cta-img { position: relative; align-self: stretch; }
.page-wz2 .wz-cta-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}

/* ---------- telefon / tablet ---------- */
@media (max-width: 1000px) {
  .page-wz2 .wz-hero-inner { grid-template-columns: 1fr; }
  .page-wz2 .wz-hero-img { max-width: 560px; }
  .page-wz2 .wz-types { grid-template-columns: repeat(2, 1fr); }
  .page-wz2 .wz-grid { grid-template-columns: repeat(2, 1fr); }
  .page-wz2 .wz-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .page-wz2 .wz-stat:nth-child(3) { border-left: 0; }
  .page-wz2 .wz-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .page-wz2 .wz-cta { grid-template-columns: 1fr; }
  .page-wz2 .wz-cta-img { height: 260px; }
  .page-wz2 .wz-cta-img img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%); }
}
@media (max-width: 600px) {
  .page-wz2 .wz-hero { padding: 104px 0 46px; }
  .page-wz2 .wz-btns .wz-btn { flex: 1; justify-content: center; padding: 14px 14px; }
  .page-wz2 .wz-types { grid-template-columns: 1fr; gap: 16px; }
  .page-wz2 .wz-grid { grid-template-columns: 1fr; }
  .page-wz2 .wz-stat { justify-content: flex-start; padding: 20px 16px; gap: 12px; }
  .page-wz2 .wz-stat strong { font-size: 23px; }
  .page-wz2 .wz-cta-text { padding: 32px 24px; }
  .page-wz2 .wz-gallery-head { flex-direction: column; align-items: flex-start; }
}

/* poprawki */
.page-wz2 .wz-type, .page-wz2 .wz-type * { text-transform: none; letter-spacing: normal; }
.page-wz2 .wz-hero-inner { grid-template-columns: 1.2fr .9fr; }
.page-wz2 .wz-hero h1 { font-size: clamp(32px, 3.6vw, 50px); }
@media (max-width: 1000px) { .page-wz2 .wz-hero-inner { grid-template-columns: 1fr; } }

/* ---------- wspólne dla Ulotek i Banerów ---------- */
.page-wz2 .wz-types { grid-template-columns: repeat(var(--wz-cols, 4), 1fr); }
.page-wz2 .wz-types[style*="--wz-cols: 2"] { max-width: 760px; margin-left: auto; margin-right: auto; }
.page-wz2 .wz-type--info { cursor: default; }
.page-wz2 .wz-type--info:hover { transform: none; }

/* Ulotki: wysoka grafika – ograniczona wysokość */
.page-ulotki .wz-hero-img { text-align: center; }
.page-ulotki .wz-hero-img img { width: auto; max-width: 100%; max-height: 460px; }

/* Banery: zdjęcie z tłem – miękko wtopione w ciemny baner */
/* Banery: grafika bez tła (grafiki/wstep/baner-hero) – zwykły cień jak przy wizytówkach */
@media (max-width: 1000px) {
  .page-wz2 .wz-types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .page-wz2 .wz-types { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .page-ulotki .wz-hero-img img { max-height: 320px; }
  .page-banery .wz-hero-img { max-width: 480px; }
}

/* Banery: zdjęcia są kwadratowe – pokazujemy je w całości, bez ucinania */
.page-banery .wz-type-img,
.page-banery .wz-card-media { aspect-ratio: 1 / 1; }

/* ===== Podstrony pozostałych usług (page-svc) ===== */
/* Zdjęcie w banerze – dopóki nie ma grafiki bez tła w grafiki/wstep */
.page-wz2 .wz-hero-img--photo img { filter: none; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.5); max-width: 520px; margin-left: auto; display: block; }
@media (max-width: 1000px) { .page-wz2 .wz-hero-img--photo img { margin: 0 auto; } }
/* Karty „co oferujemy” bez zdjęć */
.page-wz2 .wz-type--noimg .wz-type-body { flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px 24px 28px; }
.page-wz2 .wz-type--noimg .wz-type-icon { width: 54px; height: 54px; border-radius: 14px; }
.page-wz2 .wz-type--noimg .wz-type-text strong { font-size: 17px; }
.page-wz2 .wz-type--noimg .wz-type-text small { font-size: 14px; }
/* Pusta galeria */
.page-wz2 .wz-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 48px 24px; border: 2px dashed #e2e2e6; border-radius: 16px; background: #fafafb; }
.page-wz2 .wz-empty strong { font-size: 20px; color: var(--ink); }
.page-wz2 .wz-empty span { color: #707070; max-width: 520px; line-height: 1.6; }
.page-wz2 .wz-empty .wz-btn { margin-top: 10px; }
.page-wz2 .wz-empty:only-child, .page-wz2 #portfolioGrid:empty { display: none; }
@media (max-width: 600px) { .page-wz2 .wz-types:has(.wz-type--noimg) { grid-template-columns: 1fr 1fr; gap: 12px; } .page-wz2 .wz-type--noimg .wz-type-body { padding: 18px 16px 20px; gap: 12px; } .page-wz2 .wz-type--noimg .wz-type-icon { width: 44px; height: 44px; } }
/* Logo firmowe: grafika bez tła w banerze */
.page-logofirmowe .wz-hero-img { text-align: center; }
.page-logofirmowe .wz-hero-img img { width: auto; max-width: 100%; max-height: 440px; }
@media (max-width: 1000px) { .page-logofirmowe .wz-hero-img img { max-height: 300px; } }
/* Koszulki: kwadratowe zdjęcia realizacji */
.page-koszulki .wz-card-media { aspect-ratio: 1 / 1; }

/* ===== Galeria realizacji w okienku ===== */
.page-wz2 .wz-card-count {
  position: absolute; z-index: 3; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 999px; background: rgba(14,15,18,.72); color: #fff;
  font-size: 12.5px; font-weight: 700; backdrop-filter: blur(4px);
}
html.lb-lock, html.lb-lock body { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column;
  background: rgba(10,11,14,.97); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.lb-title { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.lb-title strong { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-title small { font-size: 14px; color: rgba(255,255,255,.6); }
.lb-close, .lb-nav {
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  color: #fff; background: rgba(255,255,255,.1); border-radius: 50%; transition: background .2s ease;
}
.lb-close { width: 46px; height: 46px; flex: 0 0 auto; }
.lb-close:hover, .lb-nav:hover { background: var(--red, #e30613); }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 84px; }
.lb-img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5); opacity: 0; transform: scale(.985); transition: opacity .3s ease, transform .3s ease;
}
.lb-img.is-in { opacity: 1; transform: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb--single .lb-nav { display: none; }
.lb-thumbs { display: flex; justify-content: center; gap: 10px; padding: 16px 20px 22px; overflow-x: auto; }
.lb-thumbs:empty { padding: 0 0 22px; }
.lb-thumb { flex: 0 0 auto; width: 68px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: #222; opacity: .55; transition: opacity .2s ease, border-color .2s ease; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: .85; }
.lb-thumb.is-active { opacity: 1; border-color: var(--red, #e30613); }
@media (max-width: 700px) {
  .lb-top { padding: 12px 14px; }
  .lb-title strong { font-size: 16px; }
  .lb-stage { padding: 0 10px; }
  .lb-nav { width: 42px; height: 42px; background: rgba(14,15,18,.6); }
  .lb-prev { left: 14px; } .lb-next { right: 14px; }
  .lb-thumb { width: 54px; height: 54px; }
}
/* Podstrony usług: grafika bez tła z folderu wstep */
.page-svc .wz-hero-img:not(.wz-hero-img--photo) { text-align: center; }
.page-svc .wz-hero-img:not(.wz-hero-img--photo) img { width: auto; max-width: 100%; max-height: 460px; }
@media (max-width: 1000px) { .page-svc .wz-hero-img:not(.wz-hero-img--photo) img { max-height: 300px; } }
/* Oklejanie pojazdów: zdjęcia 4:3 */
.page-samochod .wz-card-media { aspect-ratio: 4 / 3; }
/* Witryny i szyldy: kwadratowe zdjęcia; Rollupy: pionowe 3:4 */
.page-szyldy .wz-card-media { aspect-ratio: 1 / 1; }
.page-rollupy .wz-card-media { aspect-ratio: 3 / 4; }
/* Czapki z daszkiem: kwadratowe zdjęcia */
.page-czapki .wz-card-media { aspect-ratio: 1 / 1; }

/* ===== Realizacje z bliska: ciemny panel firmy (film + galeria) ===== */
.wz-feat-sec { padding: 70px 0 20px; }
.wz-feat {
  margin-top: 30px; padding: 22px 24px 24px; border-radius: 20px; color: #fff;
  background: radial-gradient(ellipse 60% 90% at 85% 0%, rgba(227,6,19,.16), transparent 60%), linear-gradient(180deg, #17181d 0%, #0f1014 100%);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.06);
}
.wz-feat + .wz-feat { margin-top: 26px; }
.wz-feat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.wz-feat-num { color: var(--red, #e30613); font-weight: 800; font-size: 30px; line-height: 1; padding-right: 16px; border-right: 2px solid rgba(255,255,255,.18); }
.wz-feat-head h3 { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 800; color: #fff; }
.wz-feat-body { display: grid; grid-template-columns: calc((100% - 40px) / 3) 1fr; grid-template-areas: "head head" "video strip"; gap: 16px 20px; align-items: start; }
.wz-feat--novideo .wz-feat-body { grid-template-areas: "head" "strip"; }
.wz-feat-body > .wz-feat-side { display: contents; }
.wz-feat-side-head { grid-area: head; }
.wz-feat-video { grid-area: video; }
.wz-feat-strip { grid-area: strip; }
.wz-feat--novideo .wz-feat-body { grid-template-columns: 1fr; }
.wz-feat-video { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 9 / 16; width: 100%; }
.wz-feat-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.wz-feat-play img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.72); transition: filter .3s ease, transform .5s ease; }
.wz-feat-play:hover img { filter: brightness(.6); transform: scale(1.03); }
.wz-feat-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wz-feat-icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 82px; height: 82px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--red, #e30613); color: #fff; box-shadow: 0 10px 30px rgba(227,6,19,.55); transition: transform .25s ease;
}
.wz-feat-icon svg { margin-left: 4px; }
.wz-feat-video .wz-feat-icon { pointer-events: none; z-index: 2; transition: opacity .3s ease, transform .25s ease; }
.wz-feat-video.is-playing .wz-feat-icon { opacity: 0; }
.wz-feat-icon::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(227,6,19,.6); animation: wzPulse 1.8s ease-out infinite; }
@keyframes wzPulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.wz-feat-play:hover .wz-feat-icon { transform: translate(-50%,-50%) scale(1.08); }
.wz-feat-vlabel {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; color: #fff; font-weight: 700; font-size: 14.5px; text-align: left;
  background: linear-gradient(90deg, #7a0e12 0%, var(--red, #e30613) 100%);
}
.wz-feat-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; justify-content: center; }
.wz-feat-side-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.wz-feat-side-title { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; }
.wz-feat-side-title em { font-style: normal; font-weight: 500; color: rgba(255,255,255,.6); }
.wz-feat-side-ico { color: var(--red, #e30613); display: inline-flex; }
.wz-feat-all {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 2px solid var(--red, #e30613); color: #fff; font-weight: 700; font-size: 13px; transition: background .2s ease;
}
.wz-feat-all:hover { background: var(--red, #e30613); }
.wz-feat-strip { position: relative; }
.wz-feat-thumbs { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.wz-feat-thumbs::-webkit-scrollbar { display: none; }
.wz-feat-thumb { position: relative; flex: 0 0 calc((100% - 20px) / 2); scroll-snap-align: start; border-radius: 12px; overflow: hidden; aspect-ratio: 9 / 16; display: block; border: 1px solid rgba(255,255,255,.08); }
.wz-feat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.wz-feat-thumb:hover img { transform: scale(1.06); }
.wz-feat-zoom {
  position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--red, #e30613); color: #fff; box-shadow: 0 6px 16px rgba(227,6,19,.45);
}
.wz-feat-next {
  position: absolute; right: -6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  background: rgba(20,21,26,.85); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: background .2s ease;
}
.wz-feat-next:hover { background: var(--red, #e30613); }
.wz-feat-strip.is-short .wz-feat-next { display: none; }
@media (max-width: 900px) {
  .wz-feat { padding: 18px 16px 18px; }
  .wz-feat-body { grid-template-columns: 1fr; grid-template-areas: "video" "head" "strip"; }
  .wz-feat-video { max-width: 360px; margin: 0 auto; }
  .wz-feat-thumbs { gap: 12px; }
  .wz-feat-thumb { flex-basis: calc((100% - 12px) / 2) !important; }
  .wz-feat-thumb { flex-basis: calc((100% - 14px) / 2); }
  .wz-feat-num { font-size: 24px; }
  .wz-feat-icon { width: 70px; height: 70px; }
}
/* Panel bez filmu: dwa szerokie zdjęcia obok siebie */
.wz-feat--novideo .wz-feat-body { grid-template-columns: 1fr; }
.wz-feat--novideo .wz-feat-thumb { aspect-ratio: 16 / 10; flex-basis: calc((100% - 20px) / 2) !important; }
@media (max-width: 900px) { .wz-feat--novideo .wz-feat-body { grid-template-areas: "head" "strip"; } .wz-feat--novideo .wz-feat-thumb { flex-basis: calc((100% - 12px) / 2) !important; } }
/* Panel bez filmu z wieloma zdjęciami: kwadraty, 3 na rząd */
.wz-feat--sq .wz-feat-thumb { aspect-ratio: 1 / 1 !important; flex-basis: calc((100% - 40px) / 3) !important; }
@media (max-width: 900px) { .wz-feat--sq .wz-feat-thumb { flex-basis: calc((100% - 12px) / 2) !important; } }

/* ===== Filmy z drona: lista filmów (logo | opis | film) ===== */
.dr-sec { padding: 70px 0 30px; }
.dr-sec .wz-h2 { margin-bottom: 10px; }
.dr-sub { color: #6b6d75; margin: 0 0 28px; }
.dr-list { display: flex; flex-direction: column; gap: 22px; }
.dr-film {
  display: grid; grid-template-columns: 230px 1fr 1.35fr; gap: 26px; align-items: center;
  background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 14px 36px -14px rgba(20,20,30,.22); border: 1px solid #eceef2;
}
.dr-logo { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #f4f5f7; }
.dr-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dr-info h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--ink, #15161b); }
.dr-info p { margin: 0 0 14px; color: #5f616a; line-height: 1.6; font-size: 15px; }
.dr-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(227,6,19,.08); color: var(--red, #e30613); font-weight: 700; font-size: 13px; }
.dr-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.dr-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.dr-play img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.8); transition: filter .3s ease, transform .5s ease; }
.dr-play:hover img { filter: brightness(.65); transform: scale(1.03); }
.dr-video .wz-feat-icon { pointer-events: none; }
.dr-play:hover .wz-feat-icon { transform: translate(-50%,-50%) scale(1.08); }
.dr-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 8px; background: rgba(10,11,14,.75); color: #fff; font-size: 13px; font-weight: 700; }
.dr-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .dr-film { grid-template-columns: 120px 1fr; gap: 14px 16px; }
  .dr-video { grid-column: 1 / -1; }
  .dr-info h3 { font-size: 19px; }
  .dr-info p { font-size: 14px; margin-bottom: 10px; }
}
.dr-film .dr-video.wz-feat-video { aspect-ratio: 16 / 9; grid-area: auto; max-width: none; margin: 0; }
@media (max-width: 900px) { .dr-film .dr-video.wz-feat-video { grid-column: 1 / -1; } }

/* ===== Filmy z drona v2: panele z tłem (jak projekt) ===== */
.page-filmyzdrona .dr-sec { background: #0d0e12; padding: 70px 0 60px; }
.page-filmyzdrona .dr-sec .wz-h2 { color: #fff; }
.page-filmyzdrona .dr-sub { color: rgba(255,255,255,.6); }
.page-filmyzdrona .dr-list { gap: 28px; }
.drp {
  position: relative; display: grid; grid-template-columns: 0.9fr 1.25fr; gap: 34px; align-items: center;
  padding: 34px 40px; border-radius: 22px; overflow: hidden; color: #fff; min-height: 380px; isolation: isolate;
}
.drp-bg { position: absolute; inset: 0; z-index: -1; }
.drp-bg img { width: 100%; height: 100%; object-fit: fill; display: block; }
.drp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%); pointer-events: none; }
.drp-left { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.drp-name { margin: 0; font-size: clamp(32px, 3.6vw, 48px); font-weight: 900; font-style: italic; letter-spacing: -.5px; line-height: 1; text-shadow: 0 4px 18px rgba(0,0,0,.6); }
.drp-name::after { content: ""; display: inline-block; width: 34px; height: 5px; margin-left: 12px; vertical-align: middle; border-radius: 3px; background: var(--red, #e30613); }
.drp-sub { font-size: 12.5px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 12px; }
.drp-sub::before, .drp-sub::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.drp-logo { display: block; margin: 6px 0; }
.drp-logo img { display: block; max-width: 100%; height: auto; max-height: 190px; filter: drop-shadow(0 10px 22px rgba(0,0,0,.55)); }
.drp--blue .drp-logo img { max-height: 110px; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 10px 22px rgba(0,0,0,.6)); }
.drp-tag { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; font-size: 14px; background: rgba(0,0,0,.45); border: 1.5px solid; backdrop-filter: blur(4px); }
.drp-tag b { font-weight: 800; }
.drp--gold .drp-tag { border-color: #e8a83a; } .drp--gold .drp-tag b, .drp--gold .drp-tag svg { color: #ffc35a; }
.drp--blue .drp-tag { border-color: #2f8cff; } .drp--blue .drp-tag b, .drp--blue .drp-tag svg { color: #6cb4ff; }
.drp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.drp--gold .drp-video { box-shadow: 0 0 0 2px rgba(255,190,80,.8), 0 0 34px rgba(255,160,40,.45); }
.drp--blue .drp-video { box-shadow: 0 0 0 2px rgba(80,160,255,.85), 0 0 34px rgba(40,130,255,.5); }
.drp .wz-feat-video { grid-area: auto; max-width: none; margin: 0; aspect-ratio: 16 / 9; }
@media (max-width: 900px) {
  .drp { grid-template-columns: 1fr; padding: 26px 18px 20px; gap: 22px; min-height: 0; }
  .drp-bg img { object-fit: cover; }
  .drp::after { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.45) 100%); }
  .drp-logo img { max-height: 150px; }
  .drp--blue .drp-logo img { max-height: 80px; }
}
/* bez kresek przy nazwie i podpisie */
.drp-name::after, .drp-sub::before, .drp-sub::after { display: none; }

/* ===== Filmy z drona: sekcja „Tak to robimy!” nad filmami ===== */
.drp--intro { margin-bottom: 64px; }
.drp--red .drp-video { box-shadow: 0 0 0 2px rgba(255,235,235,.85), 0 0 34px rgba(227,6,19,.55); }
.drp-intro-head { display: flex; align-items: center; gap: 22px; }
.drp-clap { width: 92px; flex: 0 0 auto; padding-right: 22px; border-right: 2px solid rgba(255,255,255,.35); filter: drop-shadow(0 0 10px rgba(227,6,19,.7)); }
.drp-clap svg { width: 100%; height: auto; display: block; }
.drp-intro-title { margin: 0; text-align: left; font-size: clamp(38px, 4.2vw, 60px); font-weight: 900; font-style: italic; line-height: .95; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.6); }
.drp-intro-title span { color: var(--red, #e30613); }
.drp-intro-sub { margin-top: 18px; text-align: center; line-height: 1.8; letter-spacing: 5px; }
@media (max-width: 900px) {
  .drp--intro { margin-bottom: 44px; }
  .drp-clap { width: 64px; padding-right: 14px; }
}
@media (min-width: 901px) {
  .drp-clap { width: 120px; }
  .drp-intro-title { font-size: clamp(48px, 5vw, 72px); }
  .drp-intro-sub { font-size: 14px; }
}
.drp--intro, .drp--intro + .dr-list { margin-bottom: 28px; } .drp--intro + .dr-list { margin-bottom: 0; }
/* Film wgrany na stronę (mp4) */
.drp-mp4 video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.drp-mp4-play { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: rgba(0,0,0,.18); transition: background .3s ease; }
.drp-mp4-play:hover { background: rgba(0,0,0,.32); }
.drp-mp4-play:hover .wz-feat-icon { transform: translate(-50%,-50%) scale(1.08); }
.drp-mp4.is-playing .drp-mp4-play { display: none; }

/* ===== Jednakowy, pulsujący czerwony przycisk play na wszystkich filmach ===== */
.wz-feat-icon { width: 82px; height: 82px; z-index: 2; }
.wz-feat-icon::before, .wz-feat-icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid rgba(227,6,19,.75); animation: wzPulse2 2s ease-out infinite; pointer-events: none;
}
.wz-feat-icon::before { animation-delay: 1s; }
@keyframes wzPulse2 { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.65); opacity: 0; } }
@media (max-width: 900px) { .wz-feat-icon { width: 70px; height: 70px; } }
@media (prefers-reduced-motion: reduce) { .wz-feat-icon::before, .wz-feat-icon::after { animation: none; opacity: 0; } }

/* ===== Witryny i szyldy: panel firmy na własnym tle (np. Fluffy Studio) ===== */
.wzb { position: relative; isolation: isolate; margin-top: 30px; border-radius: 20px; overflow: hidden; color: #fff; aspect-ratio: 3 / 1; min-height: 360px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); }
.wzb + .wz-feat, .wz-feat + .wzb { margin-top: 26px; }
.wzb-bg { position: absolute; inset: 0; z-index: -1; }
.wzb-bg img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.wzb-num { position: absolute; left: 14px; top: 12px; z-index: 2; padding: 3px 9px; border-radius: 8px; background: var(--red, #e30613); font-weight: 800; font-size: 14px; }
.wzb-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wzb-body { position: absolute; inset: 0; display: grid; grid-template-columns: 47% auto 1fr; gap: 22px; align-items: center; padding: 22px 26px 22px 0; }
.wzb .wz-feat-video { grid-area: auto; height: calc(100% - 4px); width: auto; aspect-ratio: 9 / 16; margin: 0; max-width: none; border-radius: 14px; box-shadow: 0 0 0 2px rgba(255,255,255,.25), 0 14px 30px rgba(0,0,0,.45); }
.wzb-side { display: flex; flex-direction: column; gap: 14px; height: 100%; justify-content: center; min-width: 0; }
.wzb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wzb-tabs { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 14px; }
.wzb-tabs span { display: inline-flex; align-items: center; gap: 7px; }
.wzb-tabs span + span { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.3); }
.wzb-tabs svg { color: #fff; }
.wzb-all { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; border: 2px solid var(--red, #e30613); background: rgba(0,0,0,.35); color: #fff; font-weight: 700; font-size: 13px; transition: background .2s ease; }
.wzb-all:hover { background: var(--red, #e30613); }
.wzb .wz-feat-thumbs { gap: 14px; }
.wzb .wz-feat-thumb { aspect-ratio: 3 / 4; flex-basis: calc((100% - 14px) / 2) !important; border: 2px solid rgba(255,255,255,.18); box-shadow: 0 10px 24px rgba(0,0,0,.35); }
@media (max-width: 1100px) {
  .wzb { aspect-ratio: auto; min-height: 0; background: #2a0a3a; }
  .wzb-bg { position: relative; display: block; aspect-ratio: 1.7 / 1; z-index: 0; }
  .wzb-body { position: relative; inset: auto; grid-template-columns: 1fr; padding: 18px 16px 20px; gap: 18px; background: linear-gradient(180deg, #2b0b3d, #170520); }
  .wzb-space { display: none; }
  .wzb .wz-feat-video { height: auto; width: 100%; max-width: 340px; margin: 0 auto; }
  .wzb-side { height: auto; }
}
/* panele na tle: szerokość lewej części i przyciemnienie prawej strony ustawiane per firma */
.wzb-body { grid-template-columns: var(--wzb-space, 47%) auto 1fr; }
.wzb::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0) calc(var(--wzb-space, 47%) - 6%), rgba(8,8,12,var(--wzb-dim,0)) calc(var(--wzb-space, 47%) + 4%)); }
.wzb-tabs, .wzb-all { text-shadow: 0 1px 6px rgba(0,0,0,.6); }
@media (max-width: 1100px) {
  .wzb-body { grid-template-columns: 1fr; background: linear-gradient(180deg, #1b1c22, #101116); }
  .wzb::after { display: none; }
}

/* ===== Witryny i szyldy: ciemne tło pod panelami (80% krycia = jaśniejsze) + świecące ramki ===== */
.page-szyldy .wz-feat-sec {
  position: relative; padding: 70px 0 60px;
  background:
    radial-gradient(ellipse 45% 35% at 8% 12%, rgba(227,6,19,.28), transparent 70%),
    radial-gradient(ellipse 40% 30% at 92% 45%, rgba(227,6,19,.22), transparent 70%),
    radial-gradient(ellipse 50% 30% at 15% 85%, rgba(227,6,19,.18), transparent 70%),
    linear-gradient(160deg, transparent 30%, rgba(255,40,50,.10) 30.3%, transparent 31.5%),
    linear-gradient(160deg, transparent 68%, rgba(255,40,50,.08) 68.3%, transparent 69.5%),
    rgba(14,15,20,.80);
}
.page-szyldy .wz-feat-sec .wz-h2 { color: #fff; }
.wzb { border: 1.5px solid rgba(255,255,255,.15); }
.page-szyldy .wzb:nth-of-type(1) { border-color: rgba(200,80,255,.75); box-shadow: 0 0 22px rgba(190,60,255,.35), 0 24px 50px -20px rgba(0,0,0,.5); }
.page-szyldy .wzb:nth-of-type(2) { border-color: rgba(255,200,40,.7);  box-shadow: 0 0 22px rgba(255,190,30,.3), 0 24px 50px -20px rgba(0,0,0,.5); }
.page-szyldy .wzb:nth-of-type(3) { border-color: rgba(255,170,40,.7);  box-shadow: 0 0 22px rgba(255,150,20,.3), 0 24px 50px -20px rgba(0,0,0,.5); }
.page-szyldy .wzb:nth-of-type(4) { border-color: rgba(255,40,50,.75);  box-shadow: 0 0 22px rgba(227,6,19,.35), 0 24px 50px -20px rgba(0,0,0,.5); }
.page-szyldy .wzb:nth-of-type(5) { border-color: rgba(60,160,255,.75); box-shadow: 0 0 22px rgba(40,140,255,.35), 0 24px 50px -20px rgba(0,0,0,.5); }

/* ===== Witryny i szyldy: tło pod panelami identyczne jak za usługami na stronie głównej ===== */
.page-szyldy .wz-feat-sec {
  background-color: #d6d9e2;
  background-image: url("../glowna/tlo-uslugi-szare.svg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.page-szyldy .wz-feat-sec .wz-h2 { color: var(--ink, #15161b); }
@media (max-width: 760px) { .page-szyldy .wz-feat-sec { background-attachment: scroll; background-size: 100% 1400px; background-repeat: repeat-y; } }
