/* =============================================================================
   Stasiuk Architektura — warstwa marki (editorial-mono)
   Wzorzec klientki: bkka.pl — duzo bieli, cienka geometryczna typografia,
   projekty na pierwszym planie, minimum tekstu. Logo: czarny, cienki,
   geometryczny sans (Futura-like) -> naglowki Jost 300/400, tekst Inter.
   Zero zaokraglen — architektoniczna kreska. Kolor: atrament na bieli,
   jedyny "akcent" to sama czerń CTA i cieple wizualizacje.
   ============================================================================= */

:root {
  --color-primary: #141414;
  --color-primary600: #000000;
  --color-accent: #141414;
  --color-accentText: #FFFFFF;
  --color-accentHover: #2E2E2E;
  --color-bg: #FFFFFF;
  --color-surface: #F6F5F3;
  --color-border: #E6E4E0;
  --text-strong: #111111;
  --text-body: #3C3C3A;
  --text-muted: #71716D;
  --font-heading: 'Jost', 'Century Gothic', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --shadow-sm: none;
  --shadow-md: 0 24px 60px rgba(17, 17, 17, .10);
  --section-gap: clamp(84px, 10vw, 140px);
  --motion-dur: 220ms;
}

h1, h2, h3, h4 { font-weight: 300; letter-spacing: .01em; }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 19px; font-weight: 400; }
b, strong { color: var(--text-strong); font-weight: 500; }

/* --- Etykieta (micro-label) -------------------------------------------------- */
.etykieta {
  font-family: var(--font-heading); font-size: 12px; font-weight: 400;
  letter-spacing: .34em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 18px;
}

/* --- Header: czysty, hairline, logo klientki --------------------------------- */
/* solid biel, zero szkla: przy przewijaniu nic nie przeswituje pod logo */
.site-header {
  background: #FFFFFF;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid var(--color-border);
}
.site-header .container { min-height: 76px; }
.brand-logo { display: block; width: auto; height: 44px; }
nav[aria-label="Główna"] a {
  font-family: var(--font-heading); font-size: 13px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-body);
}
nav[aria-label="Główna"] a:hover { color: var(--text-strong); }

/* --- Przyciski: ostre prostokaty, architektoniczne --------------------------- */
.btn {
  border-radius: 0; font-family: var(--font-heading); font-weight: 400;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  min-height: 52px; padding: 0 28px;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-accentHover); }
.btn-ghost { border: 1px solid var(--text-strong); color: var(--text-strong); background: transparent; }
.btn-ghost:hover { background: var(--color-surface); }
.btn-tel { gap: 10px; }
.btn-tel svg { width: 15px; height: 15px; }
.site-header nav a.btn-primary,
.site-header nav a.btn-primary:hover { color: #fff; }

/* --- Hero: full-bleed - wizualizacja na cala szerokosc ------------------------- */
/* solid ciemne tlo pod spodem: fallback + render_gate liczy kontrast z koloru */
.hero-full {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 78svh, 760px);
  display: grid; align-items: end;
  padding-block: clamp(48px, 7vw, 88px);
  background: #141414;
}
.hero-full__tlo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
}
.hero-full__zaslona {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, .56) 0%, rgba(12, 12, 12, .30) 55%, rgba(12, 12, 12, .10) 100%),
    linear-gradient(180deg, rgba(12, 12, 12, .12) 0%, rgba(12, 12, 12, .06) 55%, rgba(12, 12, 12, .58) 100%);
}
.hero-full__tresc { display: grid; justify-items: start; }
.hero-full h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 26px rgba(0, 0, 0, .45); }
.hero-full__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-ghost--foto {
  border-color: rgba(255, 255, 255, .75); color: #fff;
  background: rgba(12, 12, 12, .28);
}
.btn-ghost--foto:hover { background: rgba(12, 12, 12, .5); border-color: #fff; color: #fff; }
/* numer na zdjeciu: biala ramka z bialym wypelnieniem - maksymalna czytelnosc */
.btn-bialy {
  background: #FFFFFF; color: var(--text-strong); border: 1px solid #FFFFFF;
}
.btn-bialy:hover { background: rgba(255, 255, 255, .88); color: #000; }

/* --- Czarny pasek: adres + architektka (zamiast marquee) ---------------------- */
.pas-adres {
  background: var(--color-primary); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.pas-adres p {
  margin: 0; max-width: none; text-align: center; padding-block: 15px;
  font-family: var(--font-heading); font-size: 13px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
}

/* --- Sekcje: powietrze + hairline --------------------------------------------- */
.section--linia { border-block: 1px solid var(--color-border); background: var(--color-bg); }
.sec-head--left { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--rozstrzel {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.sec-nota { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }

/* --- Dlaczego: szary pas, wielkie konturowe cyfry ------------------------------ */
.section--szara { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.filary {
  display: grid; gap: clamp(28px, 4vw, 64px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.filar__nr {
  display: block; font-family: var(--font-heading); font-weight: 300;
  font-size: clamp(56px, 6.5vw, 84px); line-height: 1; margin-bottom: 14px;
  color: transparent; -webkit-text-stroke: 1px rgba(17, 17, 17, .8);
}
.filar h3 { margin-bottom: 8px; }
.filar p { font-size: 15px; color: var(--text-body); }

/* --- Oferta: akordeon z plusami ------------------------------------------------ */
.uslugi-lista { list-style: none; margin: 0; padding: 0; }
.usluga-acc details { border-top: 1px solid var(--color-border); }
.usluga-acc:last-child details { border-bottom: 1px solid var(--color-border); }
.usluga-acc summary {
  cursor: pointer; list-style: none;
  display: grid; grid-template-columns: minmax(0, 1fr) 32px;
  gap: 20px; align-items: center; padding: 22px 0; min-height: 48px;
}
.usluga-acc summary::-webkit-details-marker { display: none; }
.usluga-acc__nr {
  font-family: var(--font-heading); font-size: 13px; letter-spacing: .2em;
  color: var(--text-muted);
}
.usluga-acc h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 400; margin: 0; }
.usluga-acc__plus { position: relative; width: 16px; height: 16px; justify-self: end; }
.usluga-acc__plus::before, .usluga-acc__plus::after {
  content: ""; position: absolute; background: var(--text-strong);
  transition: transform var(--motion-dur) ease;
}
.usluga-acc__plus::before { left: 0; right: 0; top: 7px; height: 1px; }
.usluga-acc__plus::after { top: 0; bottom: 0; left: 7px; width: 1px; }
.usluga-acc details[open] .usluga-acc__plus::after { transform: scaleY(0); }
.usluga-acc details > p {
  margin: 0 0 22px;
  font-size: 15px; color: var(--text-body); max-width: 56ch;
}

/* --- Portfolio: sticky deck — karty nasuwaja sie na siebie przy scrollu -------
   Mechanika jak w rodzinie architekt (swaltek): position:sticky + offset per
   karta; czysty CSS, zero JS. Ostre krawedzie, podpis na dolnej krawedzi. */
.fx-deck { display: grid; gap: clamp(28px, 4vw, 56px); }
.deck-card {
  position: sticky; top: calc(90px + (var(--i, 0) * 14px));
  height: min(72svh, 640px); overflow: hidden; isolation: isolate;
  box-shadow: 0 18px 60px rgba(17, 17, 17, .18);
}
.deck-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -1;
}
.deck-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17,17,17,.14) 0%, rgba(17,17,17,0) 40%, rgba(17,17,17,.58) 100%);
}
.deck-card .deck-title {
  position: absolute; left: clamp(18px, 3vw, 34px); right: clamp(18px, 3vw, 34px);
  bottom: clamp(16px, 2.6vw, 30px); margin: 0; max-width: none;
  font-family: var(--font-heading); font-weight: 300;
  font-size: clamp(22px, 3.4vw, 36px); color: #fff; letter-spacing: .02em;
}
.deck-card .deck-title small {
  display: block; margin-top: 8px;
  font-size: 12px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

/* --- Wspolpraca: cztery kroki w linii ------------------------------------------ */
.kroki {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(24px, 3.5vw, 48px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: none;
}
.krok { border-top: 1px solid var(--text-strong); padding-top: 16px; }
.krok__nr {
  font-family: var(--font-heading); font-size: 13px; letter-spacing: .2em;
  color: var(--text-muted); display: block; margin-bottom: 10px;
}
.krok h3 { font-size: 17px; margin-bottom: 6px; }
.krok p { font-size: 14.5px; color: var(--text-body); }

/* --- Opinie: cytat na zdjeciu wieczornego domu (decyzja dyrektora) ------------- */
/* solid tlo pod spodem: fallback zanim zdjecie dojedzie + render_gate liczy
   kontrast z koloru sekcji, nie z obrazka */
.opinie-band { position: relative; isolation: isolate; overflow: hidden; background: #141414; }
.opinie-band__tlo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
}
.opinie-band__zaslona {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(12, 12, 12, .84) 0%, rgba(12, 12, 12, .62) 55%, rgba(12, 12, 12, .38) 100%);
}
.opinie-band .etykieta { color: rgba(255, 255, 255, .65); }
.opinie-band h2 { color: #fff; }
.opinie-band.section { padding-block: clamp(56px, 7vw, 88px); }
.opinie-band .sec-head--left { margin-bottom: clamp(24px, 3vw, 36px); }
.opinia { margin: 0; max-width: 620px; }
.opinia blockquote { margin: 0; }
.opinia blockquote p {
  font-family: var(--font-heading); font-weight: 300;
  font-size: clamp(17px, 2vw, 22px); line-height: 1.5; color: #fff;
  max-width: none;
}
.opinia figcaption {
  margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, .7);
  letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-heading);
}

/* --- Kontakt: CZARNA sekcja, kanaly kontaktu jako redakcyjne wiersze ----------- */
.section--kontakt { background: var(--color-primary); color: #fff; }
.section--kontakt .etykieta { color: rgba(255, 255, 255, .55); }
.section--kontakt h2 { color: #fff; }
.kontakt-grid {
  display: grid; gap: clamp(36px, 6vw, 96px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
}
.kontakt-dane { display: grid; }
.kontakt-kanal {
  display: grid; gap: 4px; padding: 15px 0; text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.kontakt-kanal--adres { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.kontakt-kanal__label {
  font-family: var(--font-heading); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.kontakt-kanal__wartosc {
  font-family: var(--font-heading); font-weight: 300;
  font-size: clamp(20px, 2.4vw, 27px); color: #fff; line-height: 1.2;
}
.kontakt-kanal__wartosc--mail { font-size: clamp(15px, 1.8vw, 19px); overflow-wrap: anywhere; }
.kontakt-kanal__wartosc--adres { font-size: clamp(15px, 1.8vw, 19px); }
a.kontakt-kanal:hover .kontakt-kanal__wartosc { color: rgba(255, 255, 255, .82); }
.kontakt-drobne { margin-top: 18px; font-size: 12.5px; line-height: 1.8; color: rgba(255, 255, 255, .55); }

/* --- Formularz na czerni: hairline pod spodem, biale litery -------------------- */
.formularz { display: grid; gap: 22px; align-content: start; }
.formularz .field label {
  font-family: var(--font-heading); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 400;
}
.formularz .field input, .formularz .field textarea {
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); border-radius: 0;
  background: transparent; padding: 10px 2px 12px; min-height: 44px; color: #fff;
}
.formularz .field input::placeholder, .formularz .field textarea::placeholder {
  color: rgba(255, 255, 255, .38);
}
.formularz .field input:focus, .formularz .field textarea:focus {
  border-bottom-color: #fff; outline: none;
}
.btn-odwrocony { background: #fff; color: var(--text-strong); border: 0; }
.btn-odwrocony:hover { background: rgba(255, 255, 255, .86); }
.formularz .btn-odwrocony { justify-self: start; }
.formularz .rodo { font-size: 12px; color: rgba(255, 255, 255, .45); max-width: 52ch; }

/* --- Mapa: pelny kolor (decyzja dyrektora) ------------------------------------- */
.map-frame {
  border: 0; width: 100%; height: 320px; display: block;
  margin-top: clamp(36px, 5vw, 64px);
}

/* --- Stopka: czarna, spojna z sekcja kontaktu -------------------------------------
   Cienka jasna linia oddziela ja od czarnego kontaktu, zeby sekcje sie nie zlewaly. */
.site-footer { background: var(--color-primary); border-top: 1px solid rgba(255, 255, 255, .18); padding-block: 44px; color: rgba(255, 255, 255, .8); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr auto; align-items: center; } }
.footer-logo { height: 26px; width: auto; }
.footer-brand { display: grid; gap: 16px; justify-items: start; }
.footer-nap { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .72); }
.site-footer .footer-nap strong { color: #fff; }
.footer-nap a { color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-nav {
  flex-direction: row; flex-wrap: wrap; gap: 8px 22px; margin-top: 0;
}
.site-footer .footer-nav a {
  font-family: var(--font-heading); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.site-footer .footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 30px; padding-top: 18px; }
.fine { font-size: 12.5px; color: rgba(255, 255, 255, .45); }

/* --- Sticky mobile CTA: telefon-first -------------------------------------------- */
.mobile-cta { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); }
.mobile-cta .btn svg { flex: none; }

/* --- Mobile ----------------------------------------------------------------------- */
@media (max-width: 719px) {
  :root { --section-gap: 64px; }
  .hero-full { min-height: clamp(460px, 72svh, 640px); }
  /* mocniejsza zaslona na telefonie: napis i przyciski leza nisko na kadrze,
     wiec dolna polowa idzie w wyrazna ciemnosc */
  .hero-full__zaslona {
    background:
      linear-gradient(180deg, rgba(12, 12, 12, .30) 0%, rgba(12, 12, 12, .38) 40%, rgba(12, 12, 12, .66) 68%, rgba(12, 12, 12, .86) 100%);
  }
  .hero-full__cta { width: 100%; flex-direction: column; }
  .hero-full__cta .btn { width: 100%; }
  .brand-logo { height: 36px; }
  .pas-marquee { margin-top: 44px; }
  /* filary: cyfra z lewej, tekst z prawej - zwarty dwukolumnowy wiersz */
  .filary { grid-template-columns: 1fr; gap: 20px; }
  .filar { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; }
  .filar__nr { grid-row: 1 / 3; font-size: 44px; margin-bottom: 0; align-self: start; }
  .filar h3 { margin-bottom: 4px; }
  .usluga-acc summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 12px; }
  .galeria { grid-template-columns: 1fr; }
  .galeria__el--szeroki { grid-column: span 1; }
  .kroki { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .pas-adres p { letter-spacing: .14em; font-size: 12px; }
}

/* Menu mobilne: biale, czyste, hairline (nadpisuje domyslne z styles.base) */
@media (max-width: 767px) {
  nav[aria-label="Główna"] {
    background: #FFFFFF; border-bottom: 1px solid var(--color-border);
    left: 0; right: auto; width: 100vw;
  }
}
.site-header.nav-collapsed nav[aria-label="Główna"] {
  background: #FFFFFF; border-bottom: 1px solid var(--color-border);
  left: 0; right: auto; width: 100vw;
}


/* =============================================================================
   Warstwa Dolecińska Projekt — nakładka na szablon editorial-mono (Stasiuk).
   Klientka nie ma logo graficznego: typograficzny lockup w duchu szablonu.
   ============================================================================= */

.brand-text {
  display: block; font-family: var(--font-heading); font-weight: 300;
  font-size: 21px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--text-strong); line-height: 1;
}
.brand-text small {
  display: block; margin-top: 6px; font-family: var(--font-heading);
  font-size: 9.5px; font-weight: 400; letter-spacing: .5em;
  text-transform: uppercase; color: var(--text-muted);
}
.brand-text--jasny { color: #fff; }
.brand-text--jasny small { color: rgba(255, 255, 255, .55); }
@media (max-width: 719px) {
  .brand-text { font-size: 17px; }
  .brand-text small { font-size: 8.5px; letter-spacing: .42em; }
}

/* select w formularzu na czerni - jak inputy (hairline pod spodem) */
.formularz .field select {
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); border-radius: 0;
  background: transparent; padding: 10px 2px 12px; min-height: 44px; color: #fff;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.formularz .field select:focus { border-bottom-color: #fff; outline: none; }
.formularz .field select option { color: #111; background: #fff; }

/* przycisk "Zobacz wszystkie realizacje" pod deckiem */
#realizacje .section-cta { margin-top: clamp(40px, 5vw, 64px); }

/* --- Podstrona realizacji ----------------------------------------------------- */
.pod-hero { padding-bottom: 0; }
.pod-hero h1 { max-width: 22ch; }
.pod-lead { margin-top: 18px; max-width: 58ch; color: var(--text-body); font-size: 17px; }
.pod-galerie { border-bottom: 0; }
.proj-blok + .proj-blok { margin-top: clamp(56px, 7vw, 96px); }
.proj-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 26px; align-items: start; margin-bottom: clamp(20px, 3vw, 32px);
}
.proj-nr {
  font-family: var(--font-heading); font-weight: 300;
  font-size: clamp(40px, 4.5vw, 60px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(17, 17, 17, .75);
}
.proj-head h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.proj-head p { font-size: 15px; color: var(--text-body); max-width: 60ch; }
.proj-galeria {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.proj-galeria figure { margin: 0; overflow: hidden; }
.proj-galeria img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 4 / 3; object-fit: cover;
}
@media (max-width: 719px) {
  .proj-galeria { grid-template-columns: 1fr; gap: 10px; }
}

/* CTA na dole podstrony */
.pod-cta { border-top: 1px solid var(--color-border); }
.pod-cta h2 { max-width: 20ch; }
.section-cta--start { justify-content: flex-start; }

/* --- Logo klientki + blok O mnie (runda 2: logo_full, portret, copy z jej strony) --- */
.brand-logo { height: 52px; }
@media (max-width: 719px) { .brand-logo { height: 42px; } }
.footer-logo { height: 64px; }

.o-mnie {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--color-border);
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px 32px; align-items: start;
}
.o-mnie__foto { margin: 0; }
.o-mnie__foto img { display: block; width: 150px; height: 150px; object-fit: cover; }
.o-mnie__tresc h3 { margin-bottom: 10px; font-size: clamp(19px, 2.2vw, 24px); }
.o-mnie__tresc p { font-size: 15px; color: var(--text-body); max-width: 62ch; }
.o-mnie__tresc p + p { margin-top: 10px; }
@media (max-width: 719px) {
  .o-mnie { grid-template-columns: 1fr; }
  .o-mnie__foto img { width: 120px; height: 120px; }
}

/* =============================================================================
   RUNDA 3: header z logo na srodku, social po lewej, tel+hamburger po prawej;
   menu ZAWSZE zwijane (data-agw-header="1" wylacza pomiar w scripts.js).
   Opinie: kafle liquid glass + kafel certyfikatu. Proces: 6 krokow.
   ============================================================================= */

.naglowek-dol .container {
  grid-template-columns: 1fr auto 1fr; min-height: 88px;
}
.naglowek-dol .naglowek-social {
  grid-row: 1; grid-column: 1; justify-self: start;
  display: flex; gap: 4px; align-items: center;
}
.naglowek-dol .naglowek-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--text-body);
}
.naglowek-dol .naglowek-social a:hover { color: var(--text-strong); }
.naglowek-dol .naglowek-social svg { width: 21px; height: 21px; }
.naglowek-dol .brand { grid-row: 1; grid-column: 2; justify-self: center; }
.naglowek-dol .brand-logo { height: 66px; }
.naglowek-dol .naglowek-akcje {
  grid-row: 1; grid-column: 3; justify-self: end;
  display: flex; gap: 10px; align-items: center;
}
.naglowek-dol .nav-toggle { display: inline-flex; grid-row: auto; grid-column: auto; }
.naglowek-dol .naglowek-tel { min-height: 48px; padding: 0 18px; }

/* nav: zawsze dropdown pod headerem, pelna szerokosc, biale */
.site-header.naglowek-dol nav[aria-label="Główna"] {
  position: fixed; inset: 88px 0 auto 0; left: 0; right: auto; width: 100vw;
  flex-direction: column; gap: 0; justify-content: flex-start; align-items: stretch;
  background: #FFFFFF; border-bottom: 1px solid var(--color-border);
  padding: var(--space-3, 12px);
  transform: translateY(-130%); transition: transform .28s var(--motion-ease, ease);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12); z-index: 49;
}
.site-header.naglowek-dol nav[aria-label="Główna"].open { transform: translateY(0); }
.site-header.naglowek-dol nav[aria-label="Główna"] a {
  width: 100%; min-height: 48px; padding-inline: var(--space-4, 16px);
  justify-content: flex-start; white-space: normal;
}

@media (max-width: 719px) {
  .naglowek-dol .container { min-height: 68px; column-gap: 10px; }
  .naglowek-dol .brand-logo { height: 50px; }
  .naglowek-dol .naglowek-social a { width: 38px; height: 38px; }
  .naglowek-dol .naglowek-tel span { display: none; }   /* sam telefon-glyph */
  .naglowek-dol .naglowek-tel { min-width: 48px; padding: 0 14px; }
  .site-header.naglowek-dol nav[aria-label="Główna"] { inset: 68px 0 auto 0; }
}

/* --- Opinie: fakty + kafle liquid glass --------------------------------------- */
.opinie-fakty {
  margin: -6px 0 26px; max-width: none;
  font-family: var(--font-heading); font-size: 13px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82);
}
.opinie-kafle {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.opinia-kafel {
  margin: 0; padding: 24px 22px;
  display: grid; gap: 14px; align-content: start;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}
.opinia-kafel blockquote { margin: 0; }
.opinia-kafel blockquote p {
  margin: 0; max-width: none;
  font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .94);
}
.opinia-kafel figcaption {
  font-family: var(--font-heading); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255, 255, 255, .62);
}
/* kafel certyfikatu: zloty akcent z logo (#F8C800), reszta jak szklo */
.opinia-kafel--cert {
  border-color: rgba(248, 200, 0, .55);
  background: rgba(248, 200, 0, .10);
  gap: 8px;
}
.cert-etykieta {
  margin: 0; font-family: var(--font-heading); font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase; color: #F8C800;
}
.cert-nazwa {
  margin: 2px 0 0; max-width: none; font-family: var(--font-heading);
  font-weight: 300; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; color: #fff;
}
.cert-opis { margin: 4px 0 0; max-width: none; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.cert-zrodlo {
  margin: auto 0 0; padding-top: 10px; max-width: none;
  font-family: var(--font-heading); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55);
}
.opinie-cta { margin-top: 26px; }
@media (max-width: 899px) { .opinie-kafle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .opinie-kafle { grid-template-columns: 1fr; } }

/* --- Proces: 6 krokow w siatce 3x2 -------------------------------------------- */
.kroki--szesc { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 719px) { .kroki--szesc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =============================================================================
   RUNDA 4: logo z powrotem po lewej, ikonki przy kafelku tel, menu = ciemny
   drawer z prawej (wzorzec Shiva Dance). O mnie wysrodkowane, sekcje bez
   hairline, kroki ze zdjeciami, opinie jako slider ze strzalkami.
   ============================================================================= */

.naglowek-dol .container { grid-template-columns: auto 1fr; }
.naglowek-dol .brand { grid-row: 1; grid-column: 1; justify-self: start; }
.naglowek-dol .naglowek-akcje { grid-row: 1; grid-column: 2; }
.naglowek-dol .naglowek-social { display: inline-flex; gap: 2px; align-items: center; }
@media (max-width: 719px) {
  .naglowek-dol .naglowek-social { display: none; }   /* ikonki zostaja w drawerze */
}

/* drawer: ciemny panel z prawej + overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(10, 10, 12, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--motion-ease), visibility 0s linear .4s;
}
.nav-overlay.open { opacity: 1; visibility: visible; transition: opacity .4s var(--motion-ease), visibility 0s; }
.menu-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(380px, 88vw);
  background: #141414; color: #fff;
  padding: 92px 40px 40px;
  display: flex; flex-direction: column;
  box-shadow: -24px 0 60px rgba(0, 0, 0, .35);
  transform: translateX(104%);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.menu-panel.open { transform: none; }
.nav-close {
  position: absolute; top: 24px; right: 26px; width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff;
  cursor: pointer; display: grid; place-items: center;
  transition: background var(--motion-dur) var(--motion-ease), transform var(--motion-dur) var(--motion-ease);
}
.nav-close:hover { background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.nav-tytul {
  margin: 0 0 20px; font-family: var(--font-heading); font-size: 12px; font-weight: 400;
  letter-spacing: .34em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.menu-panel a {
  display: block; padding: 15px 0; text-decoration: none; color: #fff;
  font-family: var(--font-heading); font-weight: 300;
  font-size: clamp(23px, 3vw, 28px); letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  opacity: 0; transform: translateX(40px);
  transition: opacity .45s var(--motion-ease), transform .45s var(--motion-ease),
              color .18s, padding-left .18s;
}
.menu-panel a:hover { color: rgba(255, 255, 255, .7); padding-left: 10px; }
.menu-panel.open a { opacity: 1; transform: none; }
.menu-panel.open a:nth-of-type(2) { transition-delay: .07s; }
.menu-panel.open a:nth-of-type(3) { transition-delay: .12s; }
.menu-panel.open a:nth-of-type(4) { transition-delay: .17s; }
.menu-panel.open a:nth-of-type(5) { transition-delay: .22s; }
.menu-panel.open a:nth-of-type(6) { transition-delay: .27s; }
.menu-panel__social {
  margin-top: auto; padding-top: 26px;
  display: flex; gap: 14px; justify-content: center;
  opacity: 0; transform: translateX(40px);
  transition: opacity .45s var(--motion-ease) .34s, transform .45s var(--motion-ease) .34s;
}
.menu-panel.open .menu-panel__social { opacity: 1; transform: none; }
.menu-panel__social a {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .25); color: #fff;
  padding: 0; opacity: 1; transform: none; border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.menu-panel__social a:hover { background: rgba(255, 255, 255, .12); color: #fff; padding-left: 0; }
html.menu-open { overflow: hidden; }

/* --- O mnie: wysrodkowane ------------------------------------------------------ */
.o-mnie--srodek {
  grid-template-columns: 1fr; justify-items: center; text-align: center;
  max-width: 720px; margin-inline: auto;
}
.o-mnie--srodek .o-mnie__foto img { width: 168px; height: 168px; }
.o-mnie--srodek .o-mnie__tresc p { margin-inline: auto; }
.o-mnie__rola {
  margin: -4px 0 10px; font-family: var(--font-heading); font-size: 12px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); max-width: none;
}
@media (max-width: 719px) { .o-mnie--srodek .o-mnie__foto img { width: 136px; height: 136px; } }

/* --- Kroki ze zdjeciami --------------------------------------------------------- */
.kroki--foto .krok { border-top: 0; padding-top: 0; }
.krok__foto { margin: 0 0 14px; overflow: hidden; }
.krok__foto img {
  display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover;
}

/* --- Opinie: slider (3 widoczne) + strzalki ------------------------------------- */
.opinie-slider {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  grid-template-columns: none;
}
.opinie-slider::-webkit-scrollbar { display: none; }
.opinie-slider .opinia-kafel { scroll-snap-align: start; }
@media (max-width: 899px) { .opinie-slider { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 599px) { .opinie-slider { grid-auto-columns: 100%; } }
.opinie-strzalki { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.opinie-strzalka {
  width: 52px; height: 52px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .6); background: rgba(12, 12, 12, .28); color: #fff;
  font-size: 20px; line-height: 1; display: grid; place-items: center;
  transition: background var(--motion-dur) var(--motion-ease), border-color var(--motion-dur) var(--motion-ease);
}
.opinie-strzalka:hover { background: rgba(12, 12, 12, .55); border-color: #fff; }
.opinie-cta { margin-top: 22px; display: flex; justify-content: center; width: 100%; max-width: none; }


/* --- RUNDA 5: czarny pasek menu ------------------------------------------------ */
.site-header.naglowek-dol {
  background: #141414;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.naglowek-dol .naglowek-social a { color: rgba(255, 255, 255, .85); }
.naglowek-dol .naglowek-social a:hover { color: #fff; }
.naglowek-dol .nav-toggle { border-color: rgba(255, 255, 255, .4); background: transparent; }
.naglowek-dol .nav-toggle span,
.naglowek-dol .nav-toggle span::before,
.naglowek-dol .nav-toggle span::after { background: #fff; }
.naglowek-dol .nav-toggle[aria-expanded="true"] span { background: transparent; }
.naglowek-dol .naglowek-tel { background: #fff; color: var(--text-strong); }
.naglowek-dol .naglowek-tel:hover { background: rgba(255, 255, 255, .86); color: #000; }

/* --- RUNDA 7: podstrona realizacji - hero ze zdjeciem, galerie w jednym rzedzie --- */
.pod-hero--foto {
  position: relative; overflow: hidden;
  padding: clamp(110px, 14vw, 190px) 0 clamp(64px, 8vw, 110px);
}
.pod-hero__tlo { position: absolute; inset: 0; z-index: 0; }
.pod-hero__tlo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block;
}
.pod-hero__tlo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, .66), rgba(12, 12, 12, .42) 55%, rgba(12, 12, 12, .58));
}
.pod-hero--foto .container { position: relative; z-index: 1; }
.pod-hero--foto .etykieta { color: rgba(255, 255, 255, .72); }
.pod-hero--foto h1 { color: #fff; }

.proj-galeria {
  display: flex; grid-template-columns: none; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.proj-galeria::-webkit-scrollbar { display: none; }
.proj-galeria figure { flex: 0 0 auto; scroll-snap-align: start; }
/* proporcje kazdego kadru nadaje menu.js inline z atrybutow width/height -
   sam "aspect-ratio: auto" w CSS kasuje ratio z atrybutow i lazy zdjecia
   mialyby szerokosc 0 przed zaladowaniem */
.proj-galeria img {
  width: auto; height: clamp(230px, 32vw, 430px);
  object-fit: cover;
}
.proj-strzalki { display: flex; gap: 10px; margin-top: 16px; }
.proj-strzalka {
  width: 46px; height: 46px; cursor: pointer;
  border: 1px solid rgba(17, 17, 17, .4); background: transparent; color: var(--text-strong);
  font-size: 18px; line-height: 1; display: grid; place-items: center;
  transition: background var(--motion-dur) var(--motion-ease), color var(--motion-dur) var(--motion-ease), border-color var(--motion-dur) var(--motion-ease);
}
.proj-strzalka:hover { background: #141414; color: #fff; border-color: #141414; }
@media (max-width: 719px) {
  .proj-galeria { gap: 10px; }
  .proj-strzalka { width: 42px; height: 42px; }
}
