/*
Theme Name: MyPartner
Theme URI: https://mypartner.pl
Author: Krakus.Studio
Author URI: https://www.krakus.studio
Description: Skórka MyPartner — zarządzanie nieruchomościami Puławy. Strona główna typu one-page z treściami edytowalnymi przez Customizer (Wygląd → Dostosuj).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mypartner
*/
/* ============================================================
   MyPartner — v2: white background, generous rounding,
   real imagery, Poppins + Instrument Serif.
============================================================ */

:root {
  --white:        #ffffff;
  --bg:           #ffffff;
  --bg-soft:      #f5f6f8;
  --bg-stone:     #eef0f3;
  --ink:          #0f1419;
  --ink-soft:     #3a3f47;
  --ink-mute:     #6c7480;
  --line:         #e6e8ec;
  --line-soft:    #eef0f3;

  --teal:         #0F95CF;
  --teal-deep:    #0a7aab;
  --blue-logo:    #2C7299; /* ciemny niebieski z lewego panelu logo */
  --cyan:         #1b85c2;
  --cyan-soft:    #5bb4d9;
  --cyan-tint:    #e6f2f9;
  --lime:         #9dc73b;
  --lime-deep:    #7fa72b;
  --lime-tint:    #f1f7e1;

  --accent: var(--teal);

  /* Akcent w nagłówkach (spany .it) — jeden token na całą skórkę.
     Domyślnie ciemniejszy błękit, czytelny na białych tłach; sekcje na
     ciemnym tle nadpisują --head-accent jaśniejszym odcieniem. */
  --head-accent:         var(--teal-deep);
  --head-accent-on-dark: var(--cyan-soft);

  --r-xs: 12px;
  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 32px;
  --r-xl: 44px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(15,20,25,0.04), 0 1px 2px rgba(15,20,25,0.04);
  --shadow-md: 0 12px 32px -8px rgba(15,20,25,0.08), 0 4px 12px -2px rgba(15,20,25,0.04);
  --shadow-lg: 0 32px 64px -16px rgba(15,20,25,0.12), 0 8px 20px -4px rgba(15,20,25,0.06);

  --gutter: 28px;
  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1440px;

  --f-display: 'Instrument Serif', 'Times New Roman', serif;
  --f-sans:    'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

/* Sekcje na ciemnym tle — nagłówkowy akcent przełącza się na jaśniejszy błękit.
   Dopisując nową ciemną sekcję, wystarczy dorzucić jej selektor do tej listy. */
.hero,
.page-head,
.services:not(.services--light),
.audience:not(.audience--light),
.usluga-cta,
.cta-inner,
.foot,
.val:hover {
  --head-accent: var(--head-accent-on-dark);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Skok do kotwicy nie może chować nagłówka sekcji pod przyklejoną nawigacją */
section[id] { scroll-margin-top: 104px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (nie hidden) — hidden tworzy kontener przewijania i psuje position: sticky w headerze */
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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


.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease;
}
/* Po przewinięciu — pełne, nieprzezroczyste tło */
.nav.is-scrolled {
  background: var(--white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 6px 24px -14px rgba(15,20,25,0.22);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img { height: 36px; width: auto; }

.nav-menu {
  display: none;
  gap: 6px;
  justify-content: center;
}
@media (min-width: 980px) { .nav-menu { display: flex; } }
.nav-menu > a {
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  position: relative;
  transition: color .2s, background .2s;
}
.nav-menu > a:hover { color: var(--ink); background: var(--bg-soft); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn .arr { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.btn-lime:hover { background: var(--lime-deep); border-color: var(--lime-deep); color: var(--ink); }
.btn-cyan {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-cyan:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0 13px;
}
.burger span { height: 1.5px; background: var(--ink); display: block; }
@media (min-width: 980px) { .burger { display: none; } }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 52px);
  position: relative;
}
.hero > .container {
  max-width: 100%;
  position: relative;
  z-index: 1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: stretch;
}
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-city-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(46px, 7.5vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 22px 0 0;
  color: var(--ink);
}
.hero h1 .it { font-style: italic; color: var(--head-accent); }
.hero h1 .lime-mark { position: relative; display: inline-block; }
.hero h1 .lime-mark::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  bottom: 6%;
  height: 26%;
  background: var(--lime);
  z-index: -1;
  border-radius: 4px;
}
.hero p.lede {
  margin-top: 28px;
  /* Szerokość dobrana tak, by lead mieścił się w 4 wierszach;
     balance wyrównuje ich długość, żeby ostatni nie zostawał sam. */
  max-width: 620px;
  text-wrap: balance;
  font-size: 17.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.hero-full-overlay p.lede { color: #ffffff; }
.hero .cta-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.hero-badges {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hero-badges .hb {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.hero-badges .hb .v {
  font-family: var(--f-display);
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.hero-badges .hb .v sup { font-size: 18px; color: var(--teal); font-style: italic; font-family: var(--f-display); top: -.7em; }
.hero-badges .hb .k {
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* Hero photo composition — main building photo + small inset */
.hero-right {
  position: relative;
  min-height: 480px;
  border-radius: var(--r-xl);
  overflow: visible;
}
.hero-photo-main {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 100%;
  min-height: 520px;
  background: var(--bg-stone);
  box-shadow: var(--shadow-lg);
}
.hero-photo-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,25,0) 50%, rgba(15,20,25,0.35) 100%);
  pointer-events: none;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-chip-1 {
  top: 24px; left: -28px;
  max-width: 240px;
}
@media (max-width: 980px) { .hero-chip-1 { left: 12px; top: 16px; } }
.hero-chip-1 .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime-tint);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-chip-1 .icon svg { width: 22px; height: 22px; color: var(--lime-deep); }
.hero-chip-1 .t { font-size: 13.5px; line-height: 1.3; }
.hero-chip-1 .t strong { display: block; color: var(--ink); }
.hero-chip-1 .t span { color: var(--ink-mute); font-size: 12px; }

.hero-chip-2 {
  bottom: 26px; right: -24px;
  padding: 18px 22px;
}
@media (max-width: 980px) { .hero-chip-2 { right: 12px; bottom: 16px; } }
.hero-chip-2 .avatars {
  display: flex;
  margin-right: 4px;
}
.hero-chip-2 .avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background-size: cover;
  background-position: center;
  margin-left: -10px;
}
.hero-chip-2 .avatars span:first-child { margin-left: 0; }
.hero-chip-2 .t { font-size: 13px; line-height: 1.25; }
.hero-chip-2 .t strong { display: block; color: var(--ink); font-size: 14px; }
.hero-chip-2 .t span { color: var(--ink-mute); font-size: 12px; }

.hero-inset {
  position: absolute;
  bottom: -36px;
  left: -36px;
  width: 200px;
  height: 200px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
@media (max-width: 980px) { .hero-inset { display: none; } }
.hero-inset img { width:100%; height:100%; object-fit: cover; }

/* Hero — pełnoszerokościowe zdjęcie z tekstem */
.hero {
  padding: clamp(16px, 2.5vw, 28px) var(--pad) clamp(24px, 3.5vw, 44px);
}
.hero-full {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: clamp(400px, 56vh, 620px);
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
}
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.hero-dot {
  width: 30px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .3s, width .3s;
}
.hero-dot.active { background: rgba(255,255,255,0.95); width: 48px; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hero-arrow:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow-prev { left: 22px; }
.hero-arrow-next { right: 22px; }
.hero-full-overlay {
  position: relative;
  z-index: 1;
  min-height: clamp(400px, 56vh, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 8vw, 160px);
  background: linear-gradient(170deg, rgba(5,10,15,0.30) 0%, rgba(5,10,15,0.72) 100%);
}
.hero-full-overlay h1 { color: #ffffff; margin-top: 0; text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.hero-full-overlay .lede { color: #ffffff; text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.hero-full-overlay .btn {
  background: var(--white); color: var(--ink); border-color: var(--white);
  font-weight: 600;
}
.hero-full-overlay .btn:hover {
  background: var(--teal); border-color: var(--teal); color: var(--white);
}
.hero-full-overlay .hero-badges { border-top-color: rgba(255,255,255,0.25); }
.hero-full-overlay .hero-badges .hb .v { color: #ffffff; }
.hero-full-overlay .hero-badges .hb .v sup { color: var(--lime); }
.hero-full-overlay .hero-badges .hb .k { color: rgba(255,255,255,0.75); }

/* ============================================================
   LOGO STRIP
============================================================ */
.logos {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.logos-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 24px;
}
@media (min-width: 800px) { .logos-inner { grid-template-columns: auto 1fr; gap: 40px; } }
.logos-label {
  font-size: 12.5px;
  color: var(--ink-mute);
  font-weight: 500;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: center;
}
@media (min-width: 600px) { .logos-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logos-row { grid-template-columns: repeat(6, 1fr); } }
.logos-row .lg {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-mute);
  opacity: 0.65;
  text-align: center;
  letter-spacing: -0.005em;
  transition: opacity .2s, color .2s;
}
.logos-row .lg:hover { opacity: 1; color: var(--teal); }

/* ============================================================
   SECTION HEADS
============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 60px;
}
@media (min-width: 980px) {
  .section-head { grid-template-columns: 1.2fr 1fr; gap: 60px; }
}
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.014em;
  margin: 0;
}
.section-head h2 .it { font-style: italic; color: var(--head-accent); }
.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 46ch;
}

/* ============================================================
   INTRO — wyśrodkowany wstęp pod hero (strona główna)
============================================================ */
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(90px, 11vw, 150px);
  text-align: center;
}
/* Zarys miasta przy dolnej krawędzi — rozmywa się ku górze, żeby nie walczył z tekstem */
.intro-city {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  min-width: 1180px;
  height: clamp(190px, 22vw, 300px);
  z-index: -1;
  color: #c9d2dc;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
}
/* Bryła: wypełnienie kolorem tła daje wzajemne przesłanianie zamiast krzyżujących
   się kresek. Reguły wspólne dla panoramy we wstępie i separatora na „O nas”. */
.city-svg .cb {
  fill: var(--bg);
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.city-svg .cw { fill: currentColor; opacity: 0.34; }
.city-svg .cl { stroke: currentColor; stroke-width: 1; opacity: 0.3; }
/* Plan dalszy — jaśniejszy, bez detalu (perspektywa powietrzna) */
.city-svg .c-far { opacity: 0.45; }
.intro-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.intro-text p {
  margin: 0 0 22px;
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.intro-text p:last-child { margin-bottom: 0; }
/* Ręczne łamanie wierszy — <span class="ln"> wyznacza linię (3 w pierwszym
   akapicie, 2 w drugim). Najdłuższy wiersz ma ok. 906px przy foncie 22px, więc
   blok dostaje 960px bez bocznego paddingu; poniżej 900px spany wracają do
   zwykłego przepływu i tekst zawija się sam, żeby zmieścił się na telefonie. */
@media (min-width: 900px) {
  .intro-inner {
    max-width: 960px;
    padding-left: 0;
    padding-right: 0;
  }
  .intro-text .ln { display: block; }
}
.intro-cta { margin-top: 34px; }

/* ============================================================
   ABOUT — split with photo
============================================================ */
.about {
  padding: clamp(70px, 9vw, 130px) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 980px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 70px; align-items: stretch; }
  .about-side { align-self: center; }
}
.about-photo-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
}
.about-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-stone);
}
.about-photo img { width:100%; height:100%; object-fit: cover; }
/* Od układu dwukolumnowego zdjęcie dopasowuje wysokość do tekstu obok:
   kadr jest pozycjonowany absolutnie, więc nie wnosi własnej wysokości —
   o wysokości wiersza decyduje kolumna z tekstem (nie mniej niż min-height,
   gdyby tekst był bardzo krótki). Reguła musi stać po .about-photo, bo ma
   tę samą specyficzność i nadpisuje aspect-ratio. */
@media (min-width: 980px) {
  .about-photo-wrap { min-height: 440px; }
  .about-photo { position: absolute; inset: 0; aspect-ratio: auto; }
}
.about-side h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin: 16px 0 0;
}
.about-side h2 .it { font-style: italic; color: var(--head-accent); }
.about-side p {
  margin-top: 26px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 52ch;
}
.about-side .about-cta { margin-top: 36px; }

/* ============================================================
   PAGE HEAD + PAGE CONTENT (podstrony, np. „O nas”)
============================================================ */
.page-head {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 11vw, 140px) 0 clamp(50px, 7vw, 90px);
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.page-head-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,20,25,0.55) 0%, rgba(15,20,25,0.78) 100%),
    radial-gradient(120% 120% at 20% 0%, rgba(15,149,207,0.30) 0%, rgba(15,149,207,0) 55%);
}
.page-head-inner { position: relative; }
/* Nagłówki hero podstron — krój szeryfowy jak na stronie głównej (Instrument Serif) */
.page-head h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.page-head-sub {
  margin: 20px 0 0;
  max-width: 620px;
  color: rgba(255,255,255,0.9);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.page-content {
  padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px);
}
.prose {
  max-width: 760px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 {
  margin: 1.8em 0 0.5em;
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.15;
  color: var(--ink);
}
.prose h3 {
  margin: 1.5em 0 0.4em;
  font-size: clamp(19px, 2.5vw, 24px);
  color: var(--ink);
}
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose img { border-radius: var(--r-lg); margin: 1.4em 0; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--lime);
  font-family: var(--f-display, Georgia, serif);
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  color: var(--ink);
}
.prose blockquote p { margin: 0; }

/* ============================================================
   SEPARATOR — falista trasa ze znacznikami (podstrona „O nas”)
============================================================ */
.story-sep {
  display: flex;
  justify-content: center;
  overflow: hidden;
  /* Panorama wjeżdża z przezroczystości, więc jej górna połowa sama w sobie
     jest odstępem — własne marginesy trzymamy przy zerze, żeby przerwa między
     „Kim jesteśmy” a narracją nie rosła podwójnie. */
  margin: 0 0 clamp(4px, 1vw, 12px);
}
/* Sekcja „Kim jesteśmy” na „O nas” — pod nią stoi panorama, więc dolny
   odstęp jest mniejszy niż na stronie głównej, gdzie sekcja kończy blok. */
.about:has(+ .story-sep) { padding-bottom: clamp(24px, 3vw, 44px); }
/* Parametry 1:1 z panoramą w sekcji wstępu (.intro-city) — ta sama wysokość,
   ten sam kolor i to samo rozmycie ku górze, żeby oba miejsca wyglądały tak samo. */
.story-city {
  width: 100%;
  min-width: 1180px;
  height: clamp(190px, 22vw, 300px);
  color: #c9d2dc;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 55%);
}

/* ============================================================
   ABOUT STORY (podstrona „O nas” — narracja ze zdjęciami)
============================================================ */
.about-story {
  /* Dolny odstęp większy — to ostatnia sekcja przed stopką, przycisk CTA
     nie może się o nią opierać. */
  padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 7vw, 100px);
}

.story-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin: clamp(48px, 7vw, 96px) 0;
}
/* Pierwszy blok narracji dostaje odstęp od panoramy, a nie od poprzedniej
   sekcji — pełny margines zostawiałby tu wyrwę. */
.about-story .story-row:first-of-type { margin-top: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) {
  .story-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .story-row--reverse .story-media { order: 2; }
}
.story-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -18px rgba(15,20,25,0.28);
}
.story-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.story-row:hover .story-media img { transform: scale(1.04); }
.story-text {
  position: relative;
  isolation: isolate;
}
/* Numer bloku. W układzie jednokolumnowym stoi w zwykłym przepływie nad
   nadtytułem — jako znak wodny wchodziłby na zdjęcie leżące wyżej. */
.story-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(58px, 16vw, 88px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--cyan-tint);
  pointer-events: none;
  user-select: none;
}
/* Od dwóch kolumn: duży znak wodny wypełniający pustkę obok zdjęcia.
   Wychodzi ponad nadtytuł, więc siedzi pod treścią (z-index: -1). */
@media (min-width: 900px) {
  .story-num {
    position: absolute;
    top: -0.42em;
    left: -0.05em;
    z-index: -1;
    font-size: clamp(110px, 14vw, 200px);
    line-height: 0.8;
  }
}
.story-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.story-text h2 {
  margin: 12px 0 18px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.9vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.story-text p {
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.story-text p:last-child { margin-bottom: 0; }


/* Blok zamykający — gwarancje */
.story-close {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 24px) 0 0;
  text-align: center;
}
.story-close h2 {
  margin: 0 0 32px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.story-values {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 16px;
  text-align: left;
}
@media (min-width: 760px) {
  .story-values { grid-template-columns: 1fr 1fr; gap: 20px 36px; }
}
.story-values li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.story-values .check {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.story-values .check svg { width: 14px; height: 14px; }
.story-close-cta { margin-top: 8px; }

/* ============================================================
   USŁUGA — podstrona pojedynczej usługi (template-usluga)
============================================================ */
.usluga {
  padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 70px);
}
.usluga-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 920px) {
  .usluga-grid { grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
  .usluga-aside { position: sticky; top: 104px; }
}

/* ------------------------------------------------------------
   Podstrona usługi — układ dwuczęściowy: u góry zdjęcie + tekst,
   pod spodem szeroki panel „Zakres usługi” z listą w kolumnach.
   Wariant .usluga--split, bo bazowe .usluga-* dzielą z tym szablonem
   także strony grup („Dla kogo”) i Strefa mieszkańca.
------------------------------------------------------------ */
.usluga--split .usluga-grid {
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 980px) {
  /* Lewa kolumna: zdjęcie (przyklejone przy przewijaniu), prawa: tekst,
     a pod nim panel z zakresem usługi. */
  .usluga--split .usluga-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(40px, 4.5vw, 64px);
    align-items: start;
  }
  .usluga--split .usluga-photo {
    grid-row: 1 / span 2;
    aspect-ratio: 4/5;
    position: sticky;
    top: 104px;
  }
  .usluga--split .usluga-main,
  .usluga--split .usluga-scope--wide { grid-column: 2; }
  .usluga--split .usluga-scope--wide { margin-top: clamp(28px, 3vw, 40px); }
}
.usluga-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4/5;
}
.usluga-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
  box-shadow: 0 30px 60px -18px rgba(15,20,25,0.28);
}
/* Plakietka z numerem usługi — jak na kafelkach w sekcji „Oferta” */
.usluga-photo-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(15,20,25,0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* Pierwszy akapit jako lead — wprowadza hierarchię w kolumnie z tekstem */
.usluga--split .prose > p:first-child {
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.6;
  color: var(--ink);
}
.usluga-scope--wide {
  margin-top: clamp(40px, 6vw, 76px);
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--r-xl);
}
.usluga-scope-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.usluga-scope--wide .usluga-scope-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 31px);
}
/* W sidebarze przycisk jest na całą szerokość; tutaj stoi obok tytułu */
.usluga-scope--wide .usluga-scope-head .btn { width: auto; flex-shrink: 0; }
.usluga-scope--wide .usluga-scope-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 36px;
}
/* Dwie kolumny punktów dopiero tam, gdzie panel jest naprawdę szeroki */
@media (min-width: 720px)  { .usluga-scope--wide .usluga-scope-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px)  { .usluga-scope--wide .usluga-scope-list { grid-template-columns: 1fr; } }
@media (min-width: 1280px) { .usluga-scope--wide .usluga-scope-list { grid-template-columns: 1fr 1fr; } }
.usluga-main .story-eyebrow { display: inline-block; margin-bottom: 14px; }
/* Nagłówki w treści — krój jak na stronie głównej (Instrument Serif) */
.usluga .prose h2,
.usluga .prose h3 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.usluga .prose h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; }
.usluga .prose h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--f-sans);
  color: var(--teal);
  margin-bottom: 0.6em;
}

/* Pas ze zdjęciem */
.grupa-band { padding: clamp(10px, 2vw, 24px) 0 clamp(40px, 6vw, 70px); }
.grupa-band img {
  width: 100%;
  height: clamp(240px, 40vw, 480px);
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
}
.usluga-scope {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
}
.usluga-scope h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.1;
  margin: 0 0 18px;
}
.usluga-scope-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.usluga-scope-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.usluga-scope-list .check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.usluga-scope-list .check svg { width: 12px; height: 12px; }
.usluga-scope .btn { width: 100%; justify-content: center; }

/* Pozostałe usługi */
.usluga-more {
  padding: clamp(50px, 7vw, 100px) 0;
  background: var(--bg-soft);
}
.usluga-more-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) { .usluga-more-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) {
  .grupa-more .usluga-more-grid { grid-template-columns: repeat(2, 1fr); max-width: 840px; margin-inline: auto; }
}
.usluga-more-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.usluga-more-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -16px rgba(15,20,25,0.18);
  border-color: var(--cyan-soft);
}
.usluga-more-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.usluga-more-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 10px 0 10px;
  color: var(--ink);
}
.usluga-more-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
  flex: 1;
}
.usluga-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.usluga-more-card:hover .usluga-more-link { gap: 9px; }

/* Karty na podstronach usług — bez nadtytułu, większy dwukolorowy nagłówek.
   Wykluczamy .grupa-more, gdzie kafelki zachowują dotychczasowy wygląd. */
.usluga-more:not(.grupa-more) .usluga-more-card h3 {
  font-size: clamp(26px, 2.3vw, 33px);
  line-height: 1.05;
  margin: 0 0 14px;
}
.usluga-more:not(.grupa-more) .usluga-more-card h3 .it {
  font-style: italic;
  color: var(--head-accent);
}

/* CTA → kontakt */
.usluga-cta {
  padding: clamp(60px, 9vw, 120px) 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.usluga-cta-inner { max-width: 640px; margin: 0 auto; }
.usluga-cta h2 {
  font-family: var(--f-display);
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  margin: 0 0 14px;
}
.usluga-cta p { color: rgba(255,255,255,0.75); font-size: 16px; margin: 0 0 28px; }
.usluga-cta .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.usluga-cta .btn:hover { background: var(--teal); border-color: var(--teal); color: #ffffff; }

/* ============================================================
   404 — strona nie znaleziona
============================================================ */
.page-404 {
  padding: clamp(64px, 10vw, 130px) 0 clamp(70px, 9vw, 130px);
  text-align: center;
  background: radial-gradient(1000px 520px at 50% -10%, #ffffff 0%, var(--bg) 60%);
}
.error404-inner { max-width: 820px; margin: 0 auto; }
.error404-code {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(110px, 26vw, 260px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 6px;
}
.error404-code .dot { display: none; }
.page-404 h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
}
.page-404 h1 .it { font-style: italic; color: var(--head-accent); }
.error404-lead {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.error404-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(44px, 7vw, 80px);
}
.err-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
}
@media (min-width: 640px) { .err-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .err-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   BLOG — lista artykułów (page-artykuly) + pojedynczy wpis (single)
============================================================ */
.blog-list {
  padding: clamp(48px, 7vw, 90px) 0 clamp(70px, 9vw, 130px);
}

/* Wspólne „pigułki” meta */
.post-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lime);
  padding: 5px 11px;
  border-radius: var(--r-pill);
}
.post-cat-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.post-readtime { font-size: 12.5px; color: var(--ink-mute); }

/* Wyróżniony najnowszy wpis */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: clamp(40px, 6vw, 76px);
}
@media (min-width: 880px) { .blog-featured { grid-template-columns: 1.08fr 1fr; } }
.blog-featured-photo {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
}
.blog-featured-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.blog-featured:hover .blog-featured-photo img { transform: scale(1.04); }
.blog-featured-body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.blog-featured-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.blog-featured-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.7vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 16px 0 14px;
}
.blog-featured-title a { color: var(--ink); transition: color .2s; }
.blog-featured-title a:hover { color: var(--teal); }
.blog-featured-excerpt {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 52ch;
}

/* Pasek tytułu + filtry kategorii */
.blog-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.blog-bar-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.01em;
  margin: 0;
}
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filter {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.blog-filter:hover { background: var(--bg-soft); color: var(--ink); }
.blog-filter.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Siatka wpisów */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 620px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card.is-hidden { display: none; }
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 52px -18px rgba(15,20,25,0.22);
  border-color: var(--cyan-soft);
}
.post-card-photo {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.post-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.post-card:hover .post-card-photo img { transform: scale(1.05); }
.post-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 22px;
}
.post-card-title {
  font-family: var(--f-display);
  font-weight: 400;
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.post-card-title a { color: var(--ink); transition: color .2s; }
.post-card-title a:hover { color: var(--teal); }
.post-card-excerpt {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.post-card:hover .post-card-link { gap: 9px; }

.post-empty {
  text-align: center;
  color: var(--ink-mute);
  font-size: 17px;
  padding: clamp(30px, 6vw, 70px) 0;
}

/* Paginacja */
.post-pagination { margin-top: clamp(36px, 5vw, 56px); }
.post-pagination .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0; padding: 0;
}
.post-pagination .page-numbers li { margin: 0; }
.post-pagination .page-numbers a,
.post-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .2s, color .2s, border-color .2s;
}
.post-pagination a.page-numbers:hover { background: var(--bg-soft); color: var(--ink); }
.post-pagination .page-numbers .current {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Pojedynczy wpis */
.post-head .page-head-inner { max-width: 820px; }
.post-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.post-head-cat {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}
.post-head-meta time::before,
.post-head-read::before { content: '·'; margin-right: 10px; color: rgba(255,255,255,0.5); }
.post-head h1 { margin-top: 0; }

.post-single {
  padding: clamp(44px, 6vw, 90px) 0 clamp(70px, 9vw, 130px);
}
.post-body { margin: 0 auto; }

.post-tags {
  max-width: 760px;
  margin: 32px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.post-tags a {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  transition: background .2s, color .2s;
}
.post-tags a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.post-foot {
  max-width: 760px;
  margin: clamp(40px, 6vw, 70px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.post-foot .arr-back { transform: rotate(180deg); }
.post-nav {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: background .2s, border-color .2s;
}
.post-nav-link:hover { background: var(--bg-soft); border-color: var(--cyan-soft); }
.post-nav-next { text-align: right; }
.post-nav-dir { font-size: 12px; font-weight: 600; color: var(--teal); }
.post-nav-title { font-size: 14.5px; color: var(--ink); line-height: 1.4; }

/* ============================================================
   ZDJĘCIE W TLE CIEMNEJ SEKCJI (.sec-bg)
   Ten sam zabieg co w banerze CTA, tylko dla sekcji na całą
   szerokość: kadr wyszarzony, przygaszony i przykryty pionowym
   gradientem. Kadr jest najmocniejszy przy górnej krawędzi (pod
   nagłówkiem), a niżej — tam, gdzie stoją półprzezroczyste karty —
   gaśnie prawie do --ink, żeby nie zjadać kontrastu tekstu.
============================================================ */
.sec-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.sec-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.9);
  opacity: 0.4;
}
.sec-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,20,25,0.58) 0%,
    rgba(15,20,25,0.82) 34%,
    rgba(15,20,25,0.90) 70%,
    rgba(15,20,25,0.94) 100%);
}

/* ============================================================
   SERVICES
============================================================ */
.services {
  padding: clamp(70px, 9vw, 130px) 0;
  background: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.services .section-head h2 { color: var(--white); }
.services .section-head p { color: rgba(255,255,255,0.65); }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px)  { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, background .25s, border-color .2s;
}
.svc-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 32px 64px -16px rgba(0,0,0,0.4);
}
.svc-card .svc-photo {
  aspect-ratio: 5/3;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.svc-card .svc-photo img { width:100%; height:100%; object-fit: cover; transition: transform .6s ease; filter: brightness(0.75); }
.svc-card:hover .svc-photo img { transform: scale(1.05); filter: brightness(0.85); }
.svc-card .svc-num {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  background: rgba(15,20,25,0.6);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
}
.svc-card .svc-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--white);
}
.svc-card h3 .it { font-style: italic; color: var(--head-accent); }
.svc-card .svc-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}
.svc-card .svc-link {
  margin-top: 24px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  border-bottom: 1.5px solid rgba(255,255,255,0.3);
  transition: gap .2s, color .2s, border-color .2s;
}
.svc-card:hover .svc-link { color: var(--teal); border-color: var(--teal); gap: 12px; }

/* Wariant na jasnym tle (podstrona „Oferta”) — te same kafle, odwrócona paleta.
   Kolory zamiast półprzezroczystej bieli biorą się z tokenów motywu, dzięki czemu
   karty wyglądają jak reszta jasnych kafli (np. „Dlaczego my”). */
.services--light { background: var(--bg); }
.services--light .section-head h2 { color: var(--ink); }
.services--light .section-head p { color: var(--ink-soft); }
.services--light .svc-card {
  background: var(--white);
  border-color: var(--line);
}
.services--light .svc-card:hover {
  background: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.services--light .svc-card .svc-photo { background: var(--bg-stone); }
.services--light .svc-card .svc-photo img { filter: none; }
.services--light .svc-card:hover .svc-photo img { filter: none; }
.services--light .svc-card h3 { color: var(--ink); }
.services--light .svc-card .svc-desc { color: var(--ink-soft); }
.services--light .svc-card .svc-link {
  color: var(--ink-soft);
  border-bottom-color: var(--line);
}

/* ============================================================
   REALIZATIONS (NEW — portfolio grid)
============================================================ */
.realizations {
  padding: clamp(70px, 9vw, 130px) 0;
  background: var(--bg-soft);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.real-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px)  { .real-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .real-grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 280px; } }
.real-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-stone);
  display: block;
  transition: transform .25s, box-shadow .25s;
  min-height: 280px;
}
.real-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.real-card img { width:100%; height:100%; object-fit: cover; transition: transform .6s; }
.real-card:hover img { transform: scale(1.06); }
.real-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,20,25,0.7) 100%);
}
.real-card .meta {
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
  z-index: 2;
  color: var(--white);
}
.real-card .meta .city {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.real-card .meta .city .dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }
.real-card .meta h4 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  margin: 0 0 6px;
}
.real-card .meta .units {
  font-size: 12.5px;
  opacity: 0.85;
}
.real-card.feature {
  grid-row: span 2;
  min-height: 480px;
}
@media (max-width: 1080px) { .real-card.feature { grid-row: auto; min-height: 320px; } }
.real-card.feature .meta h4 { font-size: 36px; }

.real-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   PROCESS — 4 steps with photo strips
============================================================ */
.process {
  padding: clamp(70px, 9vw, 130px) 0;
}
.proc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px)  { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .proc-grid { grid-template-columns: repeat(4, 1fr); } }
.proc-card {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .2s;
}
.proc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.proc-photo {
  height: 160px;
  background: var(--bg-stone);
  position: relative;
  overflow: hidden;
}
.proc-photo img { width:100%; height:100%; object-fit: cover; }
.proc-step {
  position: absolute;
  top: 14px; left: 14px;
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.proc-body { padding: 24px 24px 28px; }
.proc-body h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.proc-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   AUDIENCE — for who
============================================================ */
.audience {
  padding: clamp(70px, 9vw, 130px) 0;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl);
  margin: 0 var(--pad);
  width: auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.audience .container { padding: 0 clamp(20px, 4vw, 56px); }

/* Podstrona „Dla kogo” — ciemna sekcja na całą szerokość (bez pływającej karty) */
.audience-fullbleed .audience {
  margin: 0;
  border-radius: 0;
}
.audience .section-head h2 { color: var(--white); }
.audience .section-head h2 .it { color: var(--head-accent); }
.audience .section-head p { color: rgba(255,255,255,0.7); }

.aud-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) { .aud-grid { grid-template-columns: 1fr 1fr; } }
.aud-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s, background .25s, border-color .25s;
}
.aud-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.aud-photo {
  aspect-ratio: 16/9;
  background: var(--bg-stone);
  overflow: hidden;
  position: relative;
}
.aud-photo img { width:100%; height:100%; object-fit: cover; }
.aud-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(15,20,25,0.65);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--white);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.aud-tag .dot { width: 8px; height: 8px; border-radius: 50%; }
.aud-card.a-comm .aud-tag .dot { background: var(--cyan-soft); }
.aud-card.a-dev  .aud-tag .dot { background: var(--lime); }

.aud-body { padding: 30px 32px 34px; }
.aud-body h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin: 0 0 14px;
  color: var(--white);
}
.aud-body h3 .it { font-style: italic; color: var(--head-accent); }
.aud-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0 0 14px;
}
.aud-desc { margin-bottom: 22px; }
.aud-desc p:last-child { margin-bottom: 0; }
/* Zdanie zamiast listy punktów (pole „podsumowanie” karty) — ten sam odstęp
   do linku co lista, żeby obie karty kończyły się na tej samej wysokości. */
.aud-body .aud-summary {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.85);
}
.aud-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.aud-body li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.aud-body li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(157,199,59,0.18);
  position: relative;
  margin-top: 4px;
}
.aud-body li::after {
  content: '✓';
  position: absolute;
  margin-left: 2px;
  font-size: 11px;
  color: var(--lime);
  margin-top: 1px;
}
/* simpler: use pseudo-elements inside flex */
.aud-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.aud-body li::before {
  margin-top: 6px;
  width: 14px; height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(var(--lime), var(--lime));
  background-size: 8px 1.5px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border-radius: 0;
  flex-shrink: 0;
}
.aud-body li::after { display: none; }

.aud-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  transition: background .2s, color .2s, gap .2s;
}
.aud-link:hover { background: var(--lime); gap: 14px; }

/* Wariant na jasnym tle (podstrona „Dla kogo”) — ta sama siatka, odwrócona
   paleta. Kolory z tokenów motywu, żeby karty pasowały do reszty jasnych kafli. */
.audience--light {
  background: var(--bg);
  color: var(--ink);
}
.audience--light .section-head h2 { color: var(--ink); }
.audience--light .section-head p { color: var(--ink-soft); }
.audience--light .aud-card {
  background: var(--white);
  border-color: var(--line);
}
.audience--light .aud-card:hover {
  background: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.audience--light .aud-body h3 { color: var(--ink); }
.audience--light .aud-body p { color: var(--ink-soft); }
.audience--light .aud-body .aud-summary { color: var(--ink-soft); }
.audience--light .aud-body li { color: var(--ink-soft); }
.audience--light .aud-link {
  background: var(--ink);
  color: var(--white);
}
.audience--light .aud-link:hover { background: var(--lime); color: var(--ink); }

/* ============================================================
   WHY US (6 reasons)
============================================================ */
.why {
  /* dolny odstęp mniejszy — pod spodem jest baner CTA z własnym marginesem */
  padding: clamp(70px, 9vw, 130px) 0 clamp(30px, 3.6vw, 50px);
}
/* Strefa mieszkańca: nad sekcją jest już odstęp bloku z opisem, a pod nią
   stopka zamiast banera CTA — stąd mniej u góry, a pełny odstęp u dołu. */
.why--rz {
  padding: clamp(16px, 2.4vw, 36px) 0 clamp(70px, 9vw, 120px);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
/* Wariant 4-kolumnowy — Strefa mieszkańca ma dokładnie cztery kafelki,
   więc w jednym rzędzie zamiast 3 + 1 sierota w drugim. */
@media (min-width: 1080px) { .why-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  padding: 32px 30px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .25s, box-shadow .25s, border-color .2s;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.why-card .why-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--cyan-tint);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--teal);
}
.why-card .why-icon svg { width: 26px; height: 26px; }
/* Ikony trzymają się dwóch kolorów marki — błękit i limonka na przemian.
   W siatce 3-kolumnowej daje to szachownicę, bez przypadkowych kolorów. */
.why-card:nth-child(even) .why-icon { background: var(--lime-tint); color: var(--lime-deep); }

.why-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.why-card h3 .it { font-style: italic; color: var(--head-accent); }
.why-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   TESTIMONIAL
============================================================ */
.tstm {
  padding: clamp(70px, 9vw, 130px) 0;
  background: var(--bg-soft);
}
.tstm-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 980px) { .tstm-inner { grid-template-columns: 1fr 1.2fr; gap: 70px; } }

.tstm-photos {
  position: relative;
  height: 460px;
}
.tstm-photos .ph {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tstm-photos .ph img { width:100%; height:100%; object-fit: cover; }
.tstm-photos .ph-1 { top: 0; left: 0; width: 60%; height: 65%; }
.tstm-photos .ph-2 { bottom: 0; right: 0; width: 55%; height: 60%; border: 6px solid var(--white); }
.tstm-photos .stat {
  position: absolute;
  top: 30%;
  right: 8%;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.tstm-photos .stat .v {
  font-family: var(--f-display);
  font-size: 38px;
  line-height: 1;
  color: var(--teal);
}
.tstm-photos .stat .k {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.tstm-quote {
  position: relative;
}
.tstm-quote .q {
  position: absolute;
  top: -50px;
  left: -10px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 200px;
  line-height: 1;
  color: var(--lime);
  opacity: 0.35;
  pointer-events: none;
}
.tstm-quote blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.008em;
  color: var(--ink);
  position: relative;
}
.tstm-quote blockquote .em { font-style: italic; color: var(--teal); }
.tstm-quote .author {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tstm-quote .author .av {
  width: 52px; height: 52px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.tstm-quote .author .who strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.tstm-quote .author .who span {
  font-size: 13px;
  color: var(--ink-mute);
}
.tstm-pagi {
  margin-top: 36px;
  display: flex;
  gap: 8px;
}
.tstm-pagi .pg {
  width: 28px; height: 4px;
  border-radius: 4px;
  background: var(--line);
  transition: background .25s, width .25s;
}
.tstm-pagi .pg.active { background: var(--teal); width: 56px; }
.tstm-pagi .pg { cursor: pointer; }

.tstm-slide { display: none; }
.tstm-slide.active { display: block; animation: tstmFade .45s ease; }
@keyframes tstmFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   VALUES — chips
============================================================ */
.values {
  padding: clamp(70px, 9vw, 130px) 0;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.val {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: background .25s, color .25s, border-color .25s, transform .2s;
}
.val:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.val:hover .val-k { color: rgba(255,255,255,0.55); }
.val:hover .val-name { color: var(--white); }
.val:hover .val-name .it { color: var(--lime); }
.val:hover .val-dot { background: var(--lime); }
.val-k {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  font-weight: 500;
}
.val-name {
  font-family: var(--f-display);
  font-size: 30px;
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--ink);
}
.val-name .it { font-style: italic; color: var(--head-accent); }
.val-dot { width: 10px; height: 10px; background: var(--ink); border-radius: 50%; transition: background .25s; }

/* ============================================================
   CTA BANNER
============================================================ */
/* Odstępy celowo mniejsze niż w pozostałych sekcjach — baner ma domykać
   stronę, a nie pływać w pustce między „Dlaczego my” a kontaktem. */
.cta {
  padding: clamp(22px, 2.8vw, 40px) var(--pad);
}
.cta-inner {
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 54px) clamp(24px, 3.6vw, 56px);
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
@media (min-width: 880px) {
  .cta-inner { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
}
/* Zdjęcie w tle: wyszarzone, przygaszone i przykryte gradientem, żeby po
   lewej (tekst) zostawało prawie czyste tło, a po prawej prześwitywał kadr. */
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.88);
  opacity: 0.46;
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,20,25,0.94) 0%, rgba(15,20,25,0.7) 60%, rgba(15,20,25,0.5) 100%);
}
@media (min-width: 880px) {
  .cta-bg::after {
    background: linear-gradient(95deg, var(--ink) 4%, rgba(15,20,25,0.88) 38%, rgba(15,20,25,0.34) 100%);
  }
}
/* Dwie poświaty jako akcent koloru — resztki dawnego, „pustego” banera */
.cta-inner::before,
.cta-inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.cta-inner::before {
  width: 420px; height: 420px;
  right: -120px; top: -180px;
  background: radial-gradient(circle at center, rgba(157,199,59,0.20), transparent 60%);
}
.cta-inner::after {
  width: 320px; height: 320px;
  left: -140px; bottom: -150px;
  background: radial-gradient(circle at center, rgba(91,180,217,0.16), transparent 60%);
}
.cta h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.014em;
  margin: 0;
  color: var(--white);
}
.cta h2 .it { font-style: italic; color: var(--head-accent); }
.cta h2 .lime { color: var(--lime); font-style: italic; }
/* Panel kontaktowy — szkło na zdjęciu, dwa kafle akcji i adres pod nimi */
.cta-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cta-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  transition: background .2s, border-color .2s, transform .2s;
}
.cta-action--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.cta-action:hover { transform: translateY(-2px); background: rgba(255,255,255,0.12); }
.cta-action--primary:hover { background: var(--lime-deep); border-color: var(--lime-deep); }
.cta-ico {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.1);
}
.cta-ico svg { width: 20px; height: 20px; }
.cta-action--primary .cta-ico { background: rgba(15,20,25,0.12); }
.cta-action-text { display: grid; gap: 1px; min-width: 0; }
.cta-label {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.62;
}
.cta-value {
  font-size: 16.5px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.cta-action .arr { margin-left: auto; flex-shrink: 0; opacity: 0.75; }
.cta-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 0;
  padding: 4px 6px 2px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.cta-note strong { font-weight: 500; color: rgba(255,255,255,0.9); }
.cta-note:hover { color: rgba(255,255,255,0.85); }
.cta-note:hover strong { color: var(--lime); }
.cta-note .arr { margin-left: auto; flex-shrink: 0; }
.cta-ico--sm { width: 30px; height: 30px; background: rgba(255,255,255,0.07); }
.cta-ico--sm svg { width: 16px; height: 16px; }
/* Wąskie ekrany: adres e-mail musi zmieścić się w jednym wierszu, więc
   strzałka (czysta dekoracja) znika, a ikona i tekst nieco się zmniejszają. */
@media (max-width: 560px) {
  .cta-panel { padding: 12px; gap: 10px; }
  .cta-action { padding: 12px 14px; gap: 12px; }
  .cta-action .arr { display: none; }
  .cta-ico { width: 34px; height: 34px; }
  .cta-ico svg { width: 18px; height: 18px; }
  .cta-value { font-size: 15px; }
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
  padding: clamp(30px, 3.6vw, 50px) 0 clamp(50px, 6vw, 80px);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 980px) { .contact-inner { grid-template-columns: 1fr 1fr; gap: 56px; } }

.contact-side h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.014em;
  margin: 16px 0 0;
}
.contact-side h2 .it { font-style: italic; color: var(--head-accent); }

.contact-info {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}
.cinfo {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  border-radius: 0;
  transition: none;
}
.cinfo:first-child { border-top: 1px solid var(--line-soft); }
.cinfo .ic {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--teal);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cinfo:nth-child(2) .ic { background: var(--bg-soft); color: var(--teal); }
.cinfo:nth-child(3) .ic { background: var(--bg-soft); color: var(--teal); }
.cinfo .ic svg { width: 18px; height: 18px; }
.cinfo .k {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 3px;
}
.cinfo .v {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}
.cinfo .v a:hover { color: var(--teal); }
.cinfo .sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-mute);
}
.phone-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.phone-item .phone-num {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.phone-item .phone-num:hover { color: var(--teal); }
.phone-item .phone-role {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* hours block */
.hours-block {
  margin-top: 32px;
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  background: none;
  border-radius: 0;
  overflow: visible;
}
.hours-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: none;
  border-bottom: none;
  gap: 12px;
  margin-bottom: 16px;
}
.hours-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hours-head-left svg { width: 13px; height: 13px; color: var(--teal); }
.hours-row {
  display: flex;
  align-items: flex-end;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  gap: 0;
  position: relative;
}
.hours-row:last-child { border-bottom: none; }
.hours-row:hover { background: none; }
.hours-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(108,116,128,0.3);
  margin: 0 10px 5px;
}
.hours-day {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-soft);
  white-space: nowrap;
}
.hours-row.is-today .hours-day {
  color: var(--ink);
  font-weight: 600;
}
.today-pill {
  display: none;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(15,149,207,0.1);
  padding: 1px 6px;
  border-radius: var(--r-pill);
  margin-left: 8px;
  vertical-align: 2px;
}
.hours-row.is-today .today-pill { display: inline; }
.hours-time {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hours-row.is-today .hours-time {
  color: var(--teal);
  font-weight: 700;
}

/* map embed */
.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 100%;
  min-height: 440px;
  border: 1px solid var(--line);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

/* ============================================================
   FOOTER
============================================================ */
.foot {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: clamp(50px, 6vw, 80px) 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
/* Trzy kolumny: kontakt (do lewej) — o firmie (wyśrodkowane) — strona (do prawej) */
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1.4fr 1fr; align-items: start; }
  .foot-col--end { text-align: right; }
}

.foot-brand { text-align: center; }
.foot-brand img {
  height: 48px;
  width: auto;
  /* logo-footer.png jest już w jasnej wersji — bez filtra, który spłaszczyłby
     odcienie znaku do jednolitej bieli */
  /* globalny reset ustawia img na display:block, więc wyśrodkowanie przez margin */
  margin: 0 auto 20px;
}
.foot-brand p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0 auto 22px;
  max-width: 40ch;
}
.foot-socials { display: flex; gap: 10px; justify-content: center; }
.foot-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  transition: background .2s, color .2s;
  color: var(--white);
}
.foot-socials a:hover { background: var(--lime); color: var(--ink); }
.foot-socials svg { width: 18px; height: 18px; }

.foot-col h5 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-col a { font-size: 14px; }
.foot-col a:hover { color: var(--white); }
.foot-col .addr { font-size: 14px; line-height: 1.6; font-style: normal; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 13px;
}
.foot-bottom .legal { display: flex; gap: 20px; }
.foot-bottom .foot-legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom a:hover { color: var(--white); }

/* ============================================================
   COOKIE BAR — zgoda RODO
============================================================ */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: 0 0 clamp(12px, 2vw, 22px);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 26px 60px -20px rgba(15,20,25,0.30), 0 8px 22px -12px rgba(15,20,25,0.12);
  padding: 20px clamp(20px, 3vw, 30px);
}
.cookie-bar-text { flex: 1 1 420px; }
.cookie-bar-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}
.cookie-bar-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.cookie-bar-text a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar-text a:hover { color: var(--ink); }
.cookie-bar-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .cookie-bar-actions { width: 100%; }
  .cookie-bar-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   Reveal-on-scroll
============================================================ */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   MOBILE / RESPONSIVE
============================================================ */

/* Block horizontal scroll — clip doesn't break position:sticky unlike hidden */
html { overflow-x: clip; }

@media (max-width: 979px) {
  /* Fixed nav — stays pinned regardless of scroll container */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
  }

  /* Push page content below fixed nav */
  body { padding-top: 64px; }
  section[id] { scroll-margin-top: 80px; }

  /* Slim nav */
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    height: 64px;
    gap: 12px;
  }
  .nav-logo img { height: 26px; }

  /* Hide desktop CTA buttons — keep only burger */
  .nav-cta .btn { display: none; }
  .nav-cta { gap: 0; }

  /* Hero adjustments */
  .hero { padding: 12px 12px 20px; }
  .hero-full { border-radius: 18px; }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow svg { width: 18px; height: 18px; }
  .hero-arrow-prev { left: 10px; }
  .hero-arrow-next { right: 10px; }
  .hero-full-overlay {
    padding: clamp(28px, 6vw, 60px) clamp(16px, 5vw, 48px);
  }
  .hero-full-overlay h1 { font-size: clamp(30px, 8vw, 52px); }
  .hero-badges { gap: 20px; }
  .hero-badges .hb .v { font-size: clamp(22px, 5vw, 32px); }
  .cta-row { flex-wrap: wrap; gap: 10px; }

  /* General section spacing */
  section, .contact { padding-top: clamp(48px, 8vw, 80px); padding-bottom: clamp(48px, 8vw, 80px); }

  /* Stacked grids */
  .contact-inner { grid-template-columns: 1fr !important; }
  .map-wrap { min-height: 280px; border-radius: var(--r-md); }
  .map-wrap iframe { min-height: 280px; }

  /* Footer grid */
  .foot-grid { grid-template-columns: 1fr !important; gap: 32px; }
}

@media (max-width: 600px) {
  .container { padding-left: 16px; padding-right: 16px; }
}

/* ============================================================
   Mobile menu
============================================================ */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  transform: translateY(100%);
  pointer-events: none;
  transition: transform .32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--line);
}
.mobile-menu.open {
  transform: translateY(0);
  pointer-events: auto;
}

/* Nav above menu */
.nav { z-index: 100; }

/* Nav links */
.mob-nav { flex: 1; }
.mob-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  transition: background .15s, color .15s;
}
.mob-nav a:active { background: var(--bg-soft); color: var(--teal); }
.mob-nav a .chev {
  width: 16px; height: 16px;
  opacity: 0.35;
  flex-shrink: 0;
}

/* Bottom CTA footer */
.mob-footer {
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-soft);
}
.mob-footer-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mute);
  padding: 4px 0 8px;
}
.mob-footer-phone svg { width: 14px; height: 14px; opacity: 0.6; }
.mob-footer .btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
}
.mob-footer .btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

/* ============================================================
   WordPress — zwykłe strony i wpisy (szablon zapasowy)
============================================================ */
.site-main { padding: clamp(40px, 6vw, 80px) 0; min-height: 50vh; }
.site-main .page-header h1,
.site-main .entry-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; margin: 0 0 24px; }
.site-main .entry { max-width: 820px; margin: 0 auto 48px; }
.site-main .entry-title a { color: inherit; }
.site-main .entry-title a:hover { color: var(--teal); }
.site-main .entry-content a { color: var(--teal); text-decoration: underline; }
.site-main .entry-content img { border-radius: var(--r-md); }
.site-main .nav-links { display: flex; gap: 12px; justify-content: center; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--ink-mute); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.sticky { display: block; }
.bypostauthor { display: block; }
