/* ==========================================================================
   ADIPOL, motyw własny
   Sygnatura wizualna: rytm poziomych lameli (wypełnienie przęsła),
   antracyt RAL 7016 jako kolor materiału, limonka jako akcent sygnalny.
   ========================================================================== */

:root {
  /* materiał */
  --ink:        #121412;
  --ink-2:      #171917;
  --panel:      #1b1f1b;
  --panel-2:    #232821;
  --steel:      #383b3a;   /* RAL 7016, antracyt, kolor profili */
  --steel-lite: #4a4f4b;

  /* treść */
  --text:   #f4f4ef;
  --muted:  #c5c8bf;
  --faint:  rgba(255,255,255,.46);
  --line:   rgba(255,255,255,.13);
  --line-2: rgba(255,255,255,.07);

  /* akcent */
  --accent:     #d6f06a;
  --accent-dim: #b5cf50;
  --accent-ink: #171917;

  --shadow:    0 30px 90px rgba(0,0,0,.38);
  --shadow-sm: 0 12px 34px rgba(0,0,0,.28);

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --wrap: 1240px;
  --gut: clamp(18px, 4vw, 40px);

  /* rytm lameli, wypełnienie przęsła */
  --slat: repeating-linear-gradient(
            180deg,
            rgba(255,255,255,.055) 0 10px,
            transparent 10px 15px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv05";
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 640; letter-spacing: -.035em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 12px 18px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* ---------- układ ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gut) * 2)); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - (var(--gut) * 2)); }

.sec { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.sec--tight { padding-block: clamp(46px, 6vw, 84px); }
.sec--flush-top { padding-top: 0; }

/* linia działowa w rytmie lameli */
.rule {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, var(--line), transparent 78%);
}

/* ---------- typografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }

.t-hero   { font-size: clamp(44px, 6.6vw, 86px); line-height: .96; letter-spacing: -.055em; font-weight: 650; text-wrap: balance; }
.t-xl     { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.045em; text-wrap: balance; }
.t-lg     { font-size: clamp(25px, 2.9vw, 36px); letter-spacing: -.04em; }
.t-md     { font-size: clamp(20px, 2vw, 25px); letter-spacing: -.03em; }
.t-sm     { font-size: 18px; letter-spacing: -.02em; }

.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.62; max-width: 62ch; }
.body-text { color: var(--muted); max-width: 68ch; }
.body-text + .body-text { margin-top: 18px; }

.dim { color: var(--faint); }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #e2f98a; }

.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--plain { padding: 0; border: 0; background: none; color: var(--accent); }
.btn--plain:hover { color: #e2f98a; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(18,20,18,.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-2);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--accent) 0 88px, transparent 88px);
}

.header-inner {
  display: flex; align-items: center; gap: 26px;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img, .brand svg { width: 106px; height: auto; }
.brand__since {
  display: none;
  padding-left: 12px; border-left: 1px solid var(--line);
  color: var(--faint); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
@media (min-width: 1120px) { .brand__since { display: block; } }

/* nawigacja */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--text); font-size: 15px; text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.nav__list a:hover { background: rgba(255,255,255,.06); }
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav .current-menu-ancestor > a { color: var(--accent); }

.nav__list li { position: relative; }
.nav__list .menu-item-has-children > a::after {
  content: ""; display: inline-block; vertical-align: middle;
  margin-left: 7px; width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .6;
}

.nav__list ul {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 248px; padding: 8px;
  list-style: none;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__list ul ul { top: -9px; left: calc(100% + 8px); }
.nav__list li:hover > ul,
.nav__list li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__list ul a { padding: 11px 14px; border-radius: 10px; font-size: 14.5px; }

.header-cta { display: none; flex: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }

.header-phone {
  display: none; flex: none;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }
@media (min-width: 1280px) { .header-phone { display: block; } }

/* hamburger */
.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.03); color: var(--text); cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; }
.nav-toggle span + span { margin-top: 5px; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

@media (max-width: 1023px) {
  .nav {
    position: fixed; inset: 74px 0 auto; margin: 0;
    max-height: calc(100dvh - 74px); overflow-y: auto;
    padding: 12px var(--gut) 30px;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li + li { border-top: 1px solid var(--line-2); }
  .nav__list a { padding: 15px 4px; border-radius: 0; font-size: 17px; }
  .nav__list ul {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0 0 8px 16px; margin: 0;
    background: none; border: 0; box-shadow: none;
    border-left: 1px solid var(--line);
  }
  .nav__list ul a { padding: 11px 14px; color: var(--muted); }
  .nav__list .menu-item-has-children > a::after { display: none; }
}

/* ---------- hero (strona główna) ----------
   Zdjęcie na całą szerokość, treść w dolnej strefie, po prawej tabliczka
   z oceną z wizytówki Google. Pod spodem listwa z podstawowymi faktami.
   -------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(86svh, 780px);
  padding-top: clamp(70px, 14vw, 150px);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 30%;
  filter: brightness(1.18) contrast(1.05);
}

/* przyciemnienie: mocniejsze po lewej, gdzie leży tekst */
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,12,10,.90) 0%, rgba(10,12,10,.58) 44%, rgba(10,12,10,.14) 100%),
    linear-gradient(0deg, rgba(10,12,10,.82) 0%, rgba(10,12,10,0) 46%);
}

/* rytm lameli: to samo wypełnienie, które produkujemy */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--slat);
  opacity: .32;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(26px, 4vw, 54px);
  align-items: flex-end;
  padding-bottom: clamp(34px, 4.5vw, 56px);
}
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; align-items: stretch; } }

.hero__copy { max-width: 700px; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.hero__kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }

.hero__title {
  margin: 0 0 24px;
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 650;
  text-wrap: balance;
}

.hero__lead {
  margin: 0 0 32px;
  max-width: 54ch;
  color: #dfe2d9;
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.6;
}

/* ---------- tabliczka z oceną ----------
   Rysowana jak tabliczka przykręcana do przęsła: cienka ramka,
   faktura lameli i cztery łby wkrętów w narożnikach.
   -------------------------------------------------------------------- */
.rating {
  position: relative;
  display: flex; align-items: center; gap: 18px;
  padding: 20px 26px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-md);
  background:
    var(--slat),
    linear-gradient(150deg, rgba(38,43,36,.90), rgba(16,18,16,.88));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

/* łby wkrętów */
.rating--plate::before,
.rating--plate::after {
  content: "";
  position: absolute; top: 9px; bottom: 9px; width: 4px;
  background-image: radial-gradient(circle, rgba(255,255,255,.34) 42%, transparent 46%);
  background-size: 4px 4px;
  background-repeat: no-repeat;
  background-position: top center, bottom center;
  background-image:
    radial-gradient(circle at 50% 2px, rgba(255,255,255,.32) 1.8px, transparent 2.2px),
    radial-gradient(circle at 50% calc(100% - 2px), rgba(255,255,255,.32) 1.8px, transparent 2.2px);
}
.rating--plate::before { left: 9px; }
.rating--plate::after  { right: 9px; }

.rating__score {
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1;
  color: var(--text);
}

.rating__meta { display: grid; gap: 7px; }

.stars { position: relative; display: block; width: 110px; height: 19px; }
.stars__empty, .stars__full {
  position: absolute; top: 0; left: 0; bottom: 0;
  display: flex;
  overflow: hidden;
}
.stars__empty { right: 0; }
/* warstwa wypełniona dostaje szerokość z atrybutu style, dlatego bez right */
.stars__full { right: auto; }
.stars svg { width: 22px; height: 19px; flex: none; }
.stars__empty svg { fill: rgba(255,255,255,.22); }
.stars__full svg { fill: var(--accent); }

.rating__link {
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.22);
  white-space: nowrap;
}
.rating__link:hover { color: var(--accent); text-decoration-color: var(--accent); }

.rating--inline {
  background: linear-gradient(150deg, rgba(38,43,36,.55), rgba(16,18,16,.55));
  border-color: var(--line);
}

/* listwa faktów pod zdjęciem */
.hero__rail {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(10,12,10,.80), rgba(10,12,10,.94));
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}

.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
}

.fact { padding: 24px 24px 26px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line-2); }
.fact__n { font-size: clamp(24px, 2.6vw, 34px); font-weight: 650; letter-spacing: -.045em; color: var(--text); }
.fact__l { margin-top: 6px; color: var(--faint); font-size: 13px; line-height: 1.45; }

@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding-left: 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line-2); }
}

@media (max-width: 560px) {
  .rating { padding: 16px 18px; gap: 14px; }
  .rating__link { white-space: normal; }
}

/* ---------- nagłówek podstrony ---------- */
.page-head {
  position: relative;
  padding-block: clamp(48px, 7vw, 92px);
  border-bottom: 1px solid var(--line-2);
  background:
    radial-gradient(circle at 88% 0%, rgba(214,240,106,.09), transparent 24rem),
    linear-gradient(150deg, #101210, #1c201b 60%, #131513);
}
.page-head__inner { display: grid; gap: 22px; }
.page-head__title { max-width: 18ch; }
.page-head__lead { max-width: 60ch; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; color: var(--faint); font-size: 13.5px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ---------- sekcja: nagłówek ---------- */
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 54px); }
.sec__head--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: end; gap: 28px;
}
@media (max-width: 860px) { .sec__head--split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- blok obraz + tekst ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.split--reverse .split__media { order: 2; }
@media (max-width: 880px) { .split--reverse .split__media { order: 0; } }

.split__media {
  position: relative;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 4; }
.split__media--free img { aspect-ratio: auto; }

.split__media--plan {
  background: #f6f6f2; border-color: rgba(255,255,255,.2);
}
.split__media--plan img { aspect-ratio: auto; }

.split__body > * + * { margin-top: 20px; }

/* ---------- lista z ptaszkiem ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li {
  position: relative; padding-left: 30px;
  color: var(--muted); line-height: 1.55;
}
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .58em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.checklist a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* lista atutów, bez ptaszków, w rytmie lameli */
.slats { list-style: none; display: grid; gap: 0; }
.slats li {
  padding: 15px 0 15px 20px;
  border-left: 2px solid var(--steel);
  color: var(--muted);
  transition: border-color .18s ease, color .18s ease;
}
.slats li + li { border-top: 1px solid var(--line-2); }
.slats li:hover { border-left-color: var(--accent); color: var(--text); }

/* ---------- karty usług ---------- */
.cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(35,40,33,.62), rgba(18,20,18,.72));
  overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .2s ease, background-color .2s ease;
}
a.card:hover { border-color: rgba(214,240,106,.45); }

.card__media { position: relative; overflow: hidden; }
.card__media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
a.card:hover .card__media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { a.card:hover .card__media img { transform: none; } }

.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12,14,12,.72));
}

.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 21px; letter-spacing: -.03em; }
.card__desc { color: var(--muted); font-size: 15px; line-height: 1.55; }
.card__more {
  margin-top: auto; padding-top: 14px;
  color: var(--accent); font-size: 14px; font-weight: 600;
}

/* ---------- kroki procesu (realna sekwencja) ---------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line-2); border-block: 1px solid var(--line); }
.steps { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step { counter-increment: step; padding: 30px 26px 34px; background: var(--ink); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 18px;
  color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .14em;
}
.step h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -.03em; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- panele wartości ---------- */
.tiles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.tile {
  padding: 30px 28px 32px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: rgba(255,255,255,.022);
}
.tile h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -.03em; }
.tile p { color: var(--muted); font-size: 15.5px; line-height: 1.58; }
.tile__mark { width: 34px; height: 2px; background: var(--accent); margin-bottom: 20px; }

/* ---------- specyfikacja ---------- */
.spec { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec__row {
  display: grid; grid-template-columns: minmax(150px, .5fr) minmax(0, 1fr);
  gap: 16px 28px; padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}
@media (max-width: 620px) { .spec__row { grid-template-columns: 1fr; gap: 6px; } }
.spec__k { color: var(--faint); font-size: 13.5px; letter-spacing: .04em; }
.spec__v { color: var(--text); }

/* ---------- galeria ---------- */
.gal-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.gal-filter {
  padding: 10px 17px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--muted); font-size: 14px; cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.gal-filter:hover { color: var(--text); border-color: rgba(255,255,255,.28); }
.gal-filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }

.gal-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}
.gal-item {
  position: relative; padding: 0; border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; background: var(--panel);
  cursor: zoom-in; display: block;
}
.gal-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.gal-item:hover img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) { .gal-item:hover img { transform: none; } }
.gal-item[hidden] { display: none; }

.gal-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(10,12,10,.85));
  color: var(--text); font-size: 13.5px; text-align: left;
  opacity: 0; transition: opacity .2s ease;
}
.gal-item:hover .gal-item__cap,
.gal-item:focus-visible .gal-item__cap { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  padding: 24px;
  background: rgba(8,9,8,.92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 82vh; border-radius: var(--r-md); }
.lightbox__cap { margin-top: 14px; color: var(--muted); font-size: 14px; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.06);
  color: var(--text); font-size: 20px; cursor: pointer;
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- kontakt ---------- */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div { padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.contact-list .label {
  display: block; margin-bottom: 8px;
  color: var(--faint); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.contact-list a, .contact-list p { font-size: clamp(17px, 1.7vw, 20px); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }

.map-side { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 861px) { .map-side { justify-items: end; } }

.map-frame {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  min-height: 360px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(1) invert(.92) hue-rotate(180deg) contrast(.88); }

/* formularz */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { color: var(--faint); font-size: 12.5px; letter-spacing: .06em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(255,255,255,.035); color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color .18s ease, background-color .18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); background: rgba(255,255,255,.055);
}
.field textarea { min-height: 148px; resize: vertical; }
.form__note { color: var(--faint); font-size: 13px; line-height: 1.5; }

/* ---------- pasek CTA ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(34px, 5vw, 62px);
  background:
    radial-gradient(circle at 92% 18%, rgba(214,240,106,.13), transparent 22rem),
    linear-gradient(140deg, #1d2119, #141613);
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -40px; bottom: -40px; width: 320px;
  background: var(--slat); opacity: .5;
  transform: skewX(-10deg); pointer-events: none;
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center;
}
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band p { margin-top: 14px; color: var(--muted); max-width: 52ch; }

/* ---------- treść wpisu / edytor ---------- */
.entry-content { color: var(--muted); max-width: 72ch; }
.entry-content > * + * { margin-top: 20px; }
.entry-content h2 { color: var(--text); font-size: clamp(25px,2.7vw,34px); margin-top: 46px; }
.entry-content h3 { color: var(--text); font-size: 22px; margin-top: 34px; }
.entry-content a { color: var(--accent); text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 22px; display: grid; gap: 10px; }
.entry-content li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content img { border-radius: var(--r-md); }
.entry-content blockquote {
  padding: 4px 0 4px 22px; border-left: 2px solid var(--accent);
  color: var(--text); font-size: 19px;
}
.entry-content code { background: rgba(255,255,255,.07); padding: 2px 6px; border-radius: 5px; font-size: .92em; }

/* lista wpisów */
.post-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(255,255,255,.022); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 24px; display: grid; gap: 10px; }
.post-card__meta { color: var(--faint); font-size: 13px; }
.post-card h2 { font-size: 21px; letter-spacing: -.03em; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }

.pagination { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 15px;
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }

/* ---------- stopka ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #101210, #0c0d0c);
  padding-block: clamp(50px, 6vw, 80px) 0;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr);
}
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h3 {
  margin-bottom: 20px; color: var(--faint);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--accent); }
.footer-about p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 38ch; margin-top: 18px; }
.footer-brand img { width: 118px; }

.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px);
  padding-block: 24px 28px;
  border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  color: var(--faint); font-size: 13.5px;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- pomocnicze ---------- */
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 22px; }
.stack-lg > * + * { margin-top: 38px; }
.mt-lg { margin-top: clamp(34px, 4vw, 56px); }
.center { text-align: center; }

.media-note { margin-top: 12px; color: var(--faint); font-size: 13px; }

.figure-plain {
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; background: #f6f6f2;
}
.figure-plain img { width: 100%; }
.figure-plain figcaption { padding: 12px 16px; background: var(--panel); color: var(--faint); font-size: 13px; }

.two-figs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); }

/* jedno wejście przy załadowaniu, bez animacji na każdej sekcji */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .rating--plate { animation: rise .65s cubic-bezier(.2,.75,.25,1) both; }
  .hero__copy > *:nth-child(2) { animation-delay: .05s; }
  .hero__copy > *:nth-child(3) { animation-delay: .10s; }
  .hero__copy > *:nth-child(4) { animation-delay: .15s; }
  .rating--plate { animation-delay: .20s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* WordPress, wymagane klasy */
.alignleft { float: left; margin: 6px 24px 18px 0; }
.alignright { float: right; margin: 6px 0 18px 24px; }
.aligncenter { margin-inline: auto; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--faint); font-size: 13px; margin-top: 8px; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
