/* Tomasz Drupka, wygląd 3 (24.11.2026): ciemna strona jak wzór Tomasza (Wellis), duże zdjęcia, złoto oszczędnie.
   Domyślnie motyw ciemny (theme.js); jasny dalej działa z przełącznika. Panel zawsze jasny (nie ładuje theme.js).
   Kształty: przyciski i pola 3 px, zdjęcia i rysunki bez zaokrągleń, karty 4 px. Bez cieni dekoracyjnych.
   Warstwy (z-index): nagłówek 40, przycisk „Zadzwoń” 45. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: 'Plex Mono'; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plex Mono'; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: 'Plex Mono'; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plex Mono'; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }

:root {
  --noc: #0e1318;
  --noc-2: #151c24;
  --noc-3: #1c2530;
  --noc-line: rgb(255 255 255 / .1);
  --noc-text: #e8e4dc;
  --noc-muted: #a3a59f;
  --papier: #f3f1ec;
  --papier-2: #e9e5dc;
  --karta: #fbfaf7;
  --atrament: #15181c;
  --szary: #585e66;
  --linia: #d6d0c4;
  --zloto: #d0a85e;
  --zloto-2: #e6c88c;
  --zloto-ink: #86641f;
  --art: rgb(230 210 168 / .62);
  --art-hid: rgb(230 210 168 / .32);
  --ok: #3f7a4a;
  --warn: #8a6214;
  --err: #a8402c;
  --err-noc: #f0a08f;
  --r: 3px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --head-h: 64px;
  --head-gap: 14px;
  --mono: 'Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Motyw ciemny (przełącznik w menu): papier zamienia się w noc, złoto zostaje. Panel zawsze jasny (nie ładuje theme.js). */
:root[data-theme="dark"] {
  color-scheme: dark;
  --noc: #0f1114;
  --noc-2: #16191d;
  --noc-3: #1d2126;
  --noc-line: rgb(255 255 255 / .09);
  --noc-text: #ece8e1;
  --noc-muted: #a4a6a2;
  --papier: #0f1114;
  --papier-2: #16191d;
  --karta: #15181c;
  --atrament: #ece8e1;
  --szary: #a4a6a2;
  --linia: rgb(255 255 255 / .11);
  --zloto-ink: #d8b46e;
  --ok: #82bf8c;
  --warn: #dcaa4c;
  --err: #f0a08f;
}
:root[data-theme="dark"] .btn-line, :root[data-theme="dark"] .btn-ghost, :root[data-theme="dark"] .seg span, :root[data-theme="dark"] .upload,
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea { border-color: rgb(255 255 255 / .24); }
:root[data-theme="dark"] .btn-ink:hover { background: #fff; }
:root[data-theme="dark"] .head-shell { background: #15181c; border-color: rgb(255 255 255 / .08); box-shadow: 0 10px 30px -18px rgb(0 0 0 / .7); -webkit-backdrop-filter: none; backdrop-filter: none; }
:root[data-theme="dark"] .nav-link:hover, :root[data-theme="dark"] .nav-link.is-active { background: rgb(255 255 255 / .06); }
:root[data-theme="dark"] .sec-paper2 { background: var(--papier); }
:root[data-theme="dark"] .foot { background: #0b0d0f; }
:root[data-theme="dark"] .tool { border-color: rgb(255 255 255 / .16); }
:root[data-theme="dark"] .card-img, :root[data-theme="dark"] .u-img { background: #e9e8e4; }
:root[data-theme="dark"] .brand { color: var(--atrament); }
:root[data-theme="dark"] .burger-bars i { background: var(--atrament); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--atrament);
  font-family: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--zloto); color: var(--atrament); }
:focus-visible { outline: 2px solid var(--zloto-ink); outline-offset: 3px; }
.noc :focus-visible { outline-color: var(--zloto); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--atrament); color: var(--papier); }
.skip:focus { top: 16px; }
.sentinel { position: absolute; top: 130px; left: 0; width: 1px; height: 1px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.noc { background: var(--noc); color: var(--noc-text); }

/* --- typografia ------------------------------------------------------------- */
.h-display { font-size: clamp(2.6rem, 5.2vw, 4.75rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
.h1 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
.h1-sm { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 600; letter-spacing: -.028em; line-height: 1.08; text-wrap: balance; }
.h3 { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; color: var(--szary); max-width: 52ch; text-wrap: pretty; }
.noc .lead { color: var(--noc-muted); }
.muted { color: var(--szary); }
.gold { color: var(--zloto); }
.mono { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
p a, .prose a, .check a, .faq a { color: var(--zloto-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.noc p a, .noc .check a { color: var(--zloto); }

/* --- przyciski -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r);
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-gold { background: var(--zloto); color: #15181c; }
.btn-gold:hover { background: var(--zloto-2); }
.btn-ink { background: var(--atrament); color: var(--papier); }
.btn-ink:hover { background: #2a3038; }
.btn-line { border-color: rgb(21 24 28 / .28); color: var(--atrament); background: transparent; }
.btn-line:hover { border-color: var(--atrament); }
.noc .btn-line { border-color: rgb(255 255 255 / .32); color: var(--noc-text); }
.noc .btn-line:hover { border-color: var(--zloto); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn-ghost { border-color: rgb(21 24 28 / .28); color: var(--atrament); background: transparent; }
.btn-ghost:hover { border-color: var(--atrament); }
.btn-ic { display: inline-flex; }
.btn-danger { color: var(--err); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- nagłówek: pływający pasek, po przewinięciu zwija się do samego logo (jak u Sumart) --- */
.head { position: fixed; top: var(--head-gap); left: 0; right: 0; z-index: 40; padding-inline: var(--gutter); pointer-events: none; }
.head-track { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; }
.head-shell {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px);
  width: 100%; height: var(--head-h);
  padding: 0 8px 0 18px;
  background: color-mix(in srgb, var(--karta) 95%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgb(21 24 28 / .1);
  border-radius: 6px;
  box-shadow: 0 1px 2px rgb(14 19 24 / .06);
  white-space: nowrap;
  contain: layout;
  transition: width .42s var(--ease), box-shadow .22s var(--ease);
}
.head-min .head-shell { width: var(--head-pill, 100%); box-shadow: 0 14px 34px -12px rgb(14 19 24 / .45); }
.head-min .nav, .head-min .head-act, .head-min .nav-burger { opacity: 0; pointer-events: none; transition: opacity .11s var(--ease); }
.head-min .head-shell:hover, .head-min .head-shell:focus-within { width: 100%; }
.head-min .head-shell:hover .nav, .head-min .head-shell:hover .head-act, .head-min .head-shell:hover .nav-burger,
.head-min .head-shell:focus-within .nav, .head-min .head-shell:focus-within .head-act, .head-min .head-shell:focus-within .nav-burger {
  opacity: 1; pointer-events: auto; transition: opacity .16s var(--ease) .2s;
}
@media (hover: none) {
  .head-min .head-shell { width: 100%; }
  .head-min .nav, .head-min .head-act, .head-min .nav-burger { opacity: 1; pointer-events: auto; }
}

.brand { display: inline-flex; flex-direction: column; flex: none; line-height: 1; text-decoration: none; color: var(--atrament); }
.brand-l1 { font-size: 19px; font-weight: 700; font-stretch: 112%; letter-spacing: -.02em; }
.brand-l2 { margin-top: 4px; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--zloto-ink); }
.brand-inv { color: var(--noc-text); }
.brand-inv .brand-l2 { color: var(--zloto); }

.nav { display: flex; align-items: center; gap: 1px; margin-left: auto; min-width: 0; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 9px 11px; border-radius: var(--r);
  font-size: 13.5px; font-weight: 600; color: var(--atrament); opacity: .82; text-decoration: none;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-link:hover, .nav-link.is-active { background: var(--papier-2); color: var(--atrament); opacity: 1; }
.nav-div.is-active::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; background: var(--zloto); }
.nav-div-s, .nav-link-mob, .nav-t-full { display: none; }
.nav-sep { width: 1px; height: 22px; margin-inline: 8px; background: var(--linia); flex: none; }
/* Grupy w menu (Tomasz 29.11): „Jacuzzi” i „Transport” rozwijają listę działów; najechanie albo kliknięcie (main.js) */
.nav-grp { position: relative; display: flex; }
.nav-grp-btn { gap: 7px; background: none; border: 0; font-family: inherit; line-height: inherit; letter-spacing: inherit; cursor: pointer; }
.nav-caret { width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55; transition: transform .2s var(--ease); }
.nav-grp.is-open .nav-caret { transform: translateY(3px) rotate(225deg); }
.nav-grp-btn.is-active::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; background: var(--zloto); }
.nav-sub {
  position: absolute; top: calc(100% + 12px); left: -8px; z-index: 30;
  display: none; flex-direction: column; gap: 2px; width: 330px; padding: 8px;
  background: var(--karta); border: 1px solid rgb(21 24 28 / .1); border-radius: 6px;
  box-shadow: 0 26px 60px -20px rgb(14 19 24 / .45); white-space: normal;
}
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; } /* mostek nad szczeliną: kursor nie gubi :hover */
.nav-grp.is-open .nav-sub { display: flex; }
@media (hover: hover) { .nav-grp:hover .nav-sub { display: flex; } }
.nav-sub .nav-div { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; }
.nav-sub .nav-t-short { display: none; }
.nav-sub .nav-t-full { display: inline; font-weight: 700; color: var(--atrament); }
.nav-sub .nav-div-s { display: block; font-size: 13px; font-weight: 500; color: var(--szary); line-height: 1.45; }
.nav-sub .nav-div.is-active::after { left: 12px; right: auto; width: 22px; bottom: 4px; }
.nav-grp-h { display: none; }
.head-act { display: flex; align-items: center; gap: 14px; flex: none; }
.tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 10px; border: 1px solid var(--linia); border-radius: var(--r); background: none; color: var(--atrament); font: inherit; cursor: pointer; list-style: none; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.tool::-webkit-details-marker { display: none; }
.tool:hover { border-color: var(--atrament); }
.tool .ic { width: 18px; height: 18px; }
.lang { position: relative; }
.lang-cur { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; }
.lang-cur::after { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.lang[open] .tool { border-color: var(--atrament); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; display: grid; min-width: 180px; padding: 6px; background: var(--karta); border: 1px solid var(--linia); border-radius: 6px; box-shadow: 0 22px 50px -18px rgb(14 19 24 / .45); }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); color: var(--atrament); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.lang-menu a:hover { background: var(--papier-2); }
.lang-menu a[aria-current] { color: var(--zloto-ink); }
.lang-menu .mono { width: 22px; color: var(--szary); font-size: 10.5px; }
@media (prefers-reduced-motion: no-preference) { .lang[open] .lang-menu { animation: rise .2s var(--ease); } }
.nav-burger { display: none; width: 44px; height: 44px; flex: none; margin-left: 4px; padding: 0; background: none; border: 1px solid var(--linia); border-radius: var(--r); cursor: pointer; }
.nav-burger:hover { background: var(--papier-2); }
.burger-bars { display: block; position: relative; width: 18px; height: 12px; margin: 0 auto; }
.burger-bars i { position: absolute; left: 0; right: 0; height: 2px; background: var(--atrament); transition: transform .22s var(--ease); }
.burger-bars i:first-child { top: 0; }
.burger-bars i:last-child { bottom: 0; }
.nav-open .burger-bars i:first-child { transform: translateY(5px) rotate(45deg); }
.nav-open .burger-bars i:last-child { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1360px) { .nav-link { padding: 9px 9px; } .nav-sep { margin-inline: 5px; } }
/* Komputer: menu (od 29.11 tylko cztery pozycje) na środku paska, nazwa po lewej, język, motyw i Kontakt po prawej (Karol 29.11) */
@media (min-width: 1024px) {
  .nav { position: absolute; left: 50%; transform: translateX(-50%); margin-left: 0; }
  .head-act { margin-left: auto; }
  /* Pasek lżej (Karol 29.11 „popraw design”): bez kreski przed „O mnie” i szarych pól; aktywny dział = sama złota kreska, język i motyw bez ramek (ramka po najechaniu) */
  .nav { gap: 8px; }
  .nav-sep { display: none; }
  .head .nav > .nav-link:hover, .head .nav > .nav-link.is-active, .head .nav-grp > .nav-grp-btn:hover, .head .nav-grp > .nav-grp-btn.is-active { background: none; }
  .head .head-act .tool { border-color: transparent; }
  .head .head-act .tool:hover, .head .lang[open] .tool { border-color: currentColor; }
}
/* 1023 px: od 29.11 w pasku są trzy pozycje (Domy, Jacuzzi, Transport) + „O mnie”; do 1290 px było sześć działów i burger wchodził wcześniej */
@media (max-width: 1023px) {
  .head-min .head-shell { width: 100%; }
  .head-min .nav-burger, .head-min .head-act { opacity: 1; pointer-events: auto; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 20;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    max-height: calc(100dvh - 120px); overflow-y: auto;
    padding: 14px; background: var(--karta);
    border: 1px solid rgb(21 24 28 / .1); border-radius: 6px;
    box-shadow: 0 26px 60px -20px rgb(14 19 24 / .45);
    white-space: normal;
  }
  .nav-open .nav { display: flex; }
  .nav-link { padding: 12px; font-size: 15px; }
  .nav-div { flex-direction: column; align-items: flex-start; gap: 2px; padding-block: 10px; }
  .nav-div-t { font-weight: 700; color: var(--atrament); }
  .nav-t-short { display: none; }
  .nav-t-full { display: inline; }
  .nav-div-s { display: block; font-size: 13px; font-weight: 500; color: var(--szary); line-height: 1.45; }
  .nav-div.is-active::after { left: 12px; right: auto; width: 22px; bottom: 4px; }
  .nav-sep { width: auto; height: 1px; margin: 10px 12px; }
  /* w karcie menu grupa to nagłówek z działami pod spodem, bez rozwijania */
  .nav-grp { flex-direction: column; }
  .nav-grp-btn { display: none; }
  .nav-grp-h { display: block; padding: 14px 12px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--szary); }
  .nav-sub { position: static; display: flex; width: auto; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav-sub::before { content: none; }
  .nav-burger { display: block; }
  .nav-link-mob { display: inline-flex; }
  /* Na telefonie w pasku zostaje numer: najkrótsza droga do kontaktu */
  .head-act { margin-left: auto; }
  .head-cta { display: none; }
}
.nav-tools { display: none; }
/* Telefon i mały tablet: w pasku tylko nazwa i menu; język i motyw w rozwiniętym menu (zgłoszenie z 17.11: pasek zasłaniał wejście) */
@media (max-width: 899px) {
  :root { --head-h: 58px; --head-gap: 10px; }
  .head-act .lang, .head-act .theme-btn { display: none; }
  .nav-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 12px 2px; padding-top: 14px; border-top: 1px solid var(--linia); }
  .nav-langs { display: flex; gap: 4px; }
  .nav-langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px; padding: 0 8px; border: 1px solid var(--linia); border-radius: var(--r); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-decoration: none; color: var(--szary); }
  .nav-langs a[aria-current] { color: var(--atrament); border-color: var(--atrament); }
  .nav-burger { width: 42px; height: 42px; }
}
@media (max-width: 420px) {
  .head-shell { gap: 8px; padding-left: 12px; } .brand-l1 { font-size: 16px; } .tool { min-width: 38px; height: 38px; padding: 0 8px; }
  /* dłuższy podpis w EN („…, Poland”) nie może wypchnąć przycisku menu poza ekran */
  .head-shell .brand { flex: 0 1 auto; min-width: 0; }
  .head-shell .brand-l2 { font-size: 9px; letter-spacing: .1em; line-height: 1.3; white-space: normal; }
}

/* --- stałe przyciski „WhatsApp” i „Zadzwoń” (prawy dolny róg) ------------------------------------------ */
.calls {
  position: fixed; z-index: 45;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; gap: 8px;
  transition: transform .35s var(--ease), opacity .35s var(--ease), visibility 0s;
}
/* ukryte = też poza kolejnością klawisza Tab (visibility po zakończeniu przejścia) */
.calls.is-off { opacity: 0; transform: translateY(18px); pointer-events: none; visibility: hidden; transition: transform .35s var(--ease), opacity .35s var(--ease), visibility 0s linear .35s; }
.call {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 16px;
  background: var(--zloto); color: #15181c;
  border-radius: var(--r);
  font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none;
  box-shadow: 0 12px 30px -12px rgb(0 0 0 / .6);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.call:hover { background: var(--zloto-2); }
.call:active { transform: translateY(1px); }
.call .ic { width: 20px; height: 20px; }
.call-wa { width: 52px; padding: 0; background: #1d2126; color: #fff; border: 1px solid rgb(255 255 255 / .14); }
.call-wa:hover { background: #262b31; }
.call-wa .ic { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .call { width: 56px; height: 56px; padding: 0; }
  .call-num { display: none; }
  .call .ic { width: 24px; height: 24px; }
}

/* --- rysunki techniczne ------------------------------------------------------------- */
.art { display: block; width: 100%; height: auto; overflow: visible; }
.art .occ { fill: var(--noc); }
.art .ln { fill: none; stroke: var(--art); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.art .ln.thin { stroke-width: 1.1; }
.art .ln.faint { stroke: var(--art-hid); }
.art .hid { fill: none; stroke: var(--art-hid); stroke-width: 1.1; stroke-dasharray: 6 5; }
.art .hatch, .art .dim { fill: none; stroke: var(--art-hid); stroke-width: 1; }
.art .lbl { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; fill: var(--art); }
.art .lbl-gold { fill: var(--zloto); }
.art .faint-lbl { fill: var(--art-hid); font-size: 11px; }
.art .lit { fill: var(--zloto); stroke: none; }
.art .ring { fill: none; stroke: var(--zloto); stroke-width: 1.2; }
.art .strap { fill: none; stroke: var(--zloto); stroke-width: 1.8; }
.art .beam { fill: url(#beam); }
.art .spill { fill: url(#spill); }
.art .tail { fill: #b4553f; }
.art .water { fill: rgb(208 168 94 / .1); }
.art .dotm { fill: var(--art); }
.art .flake { fill: rgb(255 255 255 / .55); }
.art .star { fill: rgb(255 255 255 / .5); }
.art .sign { fill: none; stroke: var(--art); stroke-width: 1.2; }
.art .sign-t { font-family: var(--mono); font-size: 12px; font-weight: 500; fill: var(--art); }
.art .mono-big { font-family: 'Archivo'; font-size: 40px; font-weight: 700; font-stretch: 112%; fill: var(--art); }
.art-link { cursor: pointer; }
.art-link .ln, .art-link .dim, .art-link .lbl { transition: stroke .25s var(--ease), fill .25s var(--ease); }
.art-link:hover .ln, .art-link:focus-visible .ln, .art-link:hover .dim, .art-link:focus-visible .dim { stroke: var(--zloto); }
.art-link:hover .lbl, .art-link:focus-visible .lbl { fill: var(--zloto-2); }
.art-link:focus-visible { outline: none; }
.art-link:focus-visible .lbl { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .art-hero .ln, .phead-art .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) forwards; }
  .art-hero .hid, .art-hero .hatch, .art-hero .dim, .art-hero .lbl, .phead-art .hid, .phead-art .hatch { opacity: 0; animation: fade 1.2s var(--ease) forwards 1.2s; }
  .art-hero .glow, .phead-art .glow { opacity: 0; animation: fade 1.2s ease forwards 2s; }
  .art-hero a:nth-of-type(2) .ln { animation-delay: .6s; }
  .art-hero a:nth-of-type(4) .ln { animation-delay: 1s; }
  .art-hero a:nth-of-type(5) .ln { animation-delay: 1.3s; }
  .art .steam { animation: steam 4.5s ease-in-out infinite 3s; }
  .art .twinkle { animation: twinkle 3.5s ease-in-out infinite; }
  .art .beacon { animation: beacon 1.6s steps(1) infinite 2.6s; }
  .art .flake { animation: snow 11s linear infinite; }
  .art .flake:nth-of-type(2n) { animation-duration: 14s; animation-delay: -5s; }
  .art .flake:nth-of-type(3n) { animation-delay: -8s; }
}
/* Finał i przekrój jacuzzi: rysują się raz, gdy wejdą na ekran (JS dodaje is-wait, potem is-in). Bez JS widać gotowy rysunek. */
.is-wait .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-wait .hid, .is-wait .hatch, .is-wait .ring, .is-wait .water, .is-wait .glow { opacity: 0; }
.is-in .ln { animation: draw 1.8s var(--ease) forwards; }
.is-in .hid, .is-in .hatch, .is-in .ring, .is-in .water { animation: fade 1s var(--ease) forwards 1.1s; }
.is-in .glow { animation: fade 1.2s ease forwards 1.7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes steam { 0%, 100% { opacity: .55; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-6px); } }
@keyframes twinkle { 50% { opacity: .25; } }
@keyframes beacon { 50% { opacity: 0; } }
@keyframes snow { 0% { transform: translate(0, -24px); opacity: 0; } 20%, 75% { opacity: 1; } 100% { transform: translate(-10px, 56px); opacity: 0; } }

/* --- strona główna, wygląd 3 (24.11.2026): wejście jak u Wellisa ------------------------------------
   Zdjęcie działu na cały ekran, nagłówek i przyciski na dole po lewej, pod nimi pasek sześciu działów.
   Zdjęcia zmieniają się same (pasek pod nazwą działu się wypełnia), najechanie na dział pokazuje jego zdjęcie.
   Ruch myszy: zdjęcie lekko się przesuwa, a przyciemnienie „odsłania” je wokół kursora (bez poświaty). */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(620px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #0f1114; color: #f1ede6;
}
.hero-photos { position: absolute; inset: 0; z-index: -2; }
.hph { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.3s var(--ease); }
.hph.is-on { opacity: 1; }
.hph-move { position: absolute; inset: -28px; transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -12px), 0); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.hph picture, .hph img { display: block; width: 100%; height: 100%; }
.hph img { object-fit: cover; }
.hph[data-k="domy-szkieletowe"] img { object-position: 62% 50%; }
.hph[data-k="jacuzzi-ogrodowe"] img { object-position: 60% 60%; }
.hph[data-k="przewozy-osob"] img { object-position: 55% 12%; }
.hph[data-k="wynajem-busa"] img { object-position: 40% 50%; }
.hph[data-k="transport"] img { object-position: 55% 55%; }
.hero-light { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, rgb(15 17 20 / .6) 0%, rgb(15 17 20 / 0) 22%),
              linear-gradient(0deg, rgb(15 17 20 / .96) 0%, rgb(15 17 20 / .7) 26%, rgb(15 17 20 / .12) 58%),
              linear-gradient(90deg, rgb(15 17 20 / .72) 0%, rgb(15 17 20 / .4) 34%, rgb(15 17 20 / 0) 60%); }
/* przyciemnienie dalej od kursora; jasno tuż przy nim (przesuwane transformem, bez przemalowywania tła) */
.hero-light::before { content: ''; position: absolute; left: 0; top: 0; width: 280vmax; height: 280vmax; margin: -140vmax 0 0 -140vmax;
  background: radial-gradient(circle closest-side, rgb(15 17 20 / 0) 11%, rgb(15 17 20 / .16) 24%, rgb(15 17 20 / .46) 52%);
  transform: translate3d(var(--mx, 66vw), var(--my, 42svh), 0); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.hero-in { display: flex; flex-direction: column; gap: clamp(40px, 7vh, 84px); padding-top: calc(var(--head-h) + var(--head-gap) + 48px); padding-bottom: clamp(22px, 3.4vh, 36px); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 1000px; }
.hero-h { font-size: clamp(2.4rem, 5vw, 5.3rem); font-weight: 600; font-stretch: 84%; letter-spacing: -.032em; line-height: .98; text-wrap: balance; max-width: 15.5em; }
.hero-lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.55; color: rgb(241 237 230 / .8); max-width: 46ch; }
.hero .actions { margin-top: 6px; }
.hero .btn-line, .phead .btn-line { border-color: rgb(255 255 255 / .4); color: #fff; }
.hero .btn-line:hover, .phead .btn-line:hover { border-color: #fff; background: rgb(255 255 255 / .06); }
.hero-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 clamp(14px, 1.8vw, 30px); }
.ht { display: flex; flex-direction: column; gap: 14px; padding-bottom: 4px; color: rgb(241 237 230 / .56); font-size: 14.5px; font-weight: 600; line-height: 1.3; text-decoration: none; transition: color .3s var(--ease); }
.ht:hover, .ht:focus-visible, .ht.is-on { color: #fff; }
.ht-bar { position: relative; display: block; height: 2px; background: rgb(255 255 255 / .22); overflow: hidden; }
.ht-bar i { position: absolute; inset: 0; background: var(--zloto); transform: scaleX(0); transform-origin: left center; }
.ht.is-on .ht-bar i { animation: ht-fill var(--slide, 6.5s) linear forwards; }
.hero.is-paused .ht.is-on .ht-bar i { animation-play-state: paused; }
.ht:hover .ht-bar i, .ht:focus-visible .ht-bar i { animation: none; transform: scaleX(1); }
@keyframes ht-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .hph img { transform: scale(1.06); transition: transform 9s linear; }
  .hph.is-on img { transform: scale(1); }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .22s; }
  .hero-tabs { animation: fade-in 1s var(--ease) both .4s; }
}
@media (prefers-reduced-motion: reduce) {
  .hph-move, .hero-light::before { transform: none; transition: none; }
  .ht.is-on .ht-bar i { animation: none; transform: scaleX(1); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade-in { from { opacity: 0; } }
@media (max-width: 1023px) {
  .hero-tabs { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .hero-tabs::-webkit-scrollbar { display: none; }
  .ht { flex: 0 0 auto; min-width: min(40vw, 220px); scroll-snap-align: start; font-size: 14px; }
}
@media (max-width: 767px) {
  .hero { min-height: max(560px, 100svh); }
  .hero-in { gap: 32px; padding-top: calc(var(--head-h) + var(--head-gap) + 28px); }
  .hero-h { font-size: clamp(2.15rem, 9.4vw, 3rem); line-height: 1; }
  .hero-lead { font-size: 1rem; }
  .hero .actions { width: 100%; flex-direction: column; gap: 10px; }
  .hero .actions .btn { width: 100%; }
  .hero-light { background: linear-gradient(180deg, rgb(15 17 20 / .55) 0%, rgb(15 17 20 / 0) 20%),
                            linear-gradient(0deg, rgb(15 17 20 / .97) 0%, rgb(15 17 20 / .82) 36%, rgb(15 17 20 / .2) 66%); }
  .hero-light::before { display: none; }
  .hph img, .hph[data-k] img { object-position: 50% 32%; }
}

/* --- działy: pasy ze zdjęciami, najechany pas się rozszerza (na telefonie siatka 2 × 3) -------------- */
.dept-h { margin-bottom: clamp(28px, 4vw, 48px); }
.dp { display: flex; gap: 10px; height: clamp(440px, 66vh, 660px); }
.dp-i { flex: 1 1 0; min-width: 0; transition: flex-grow .75s cubic-bezier(.2, .8, .2, 1); }
.dp-i:hover, .dp-i:focus-within { flex-grow: 2.7; }
.dp-a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r); background: #16191d; color: #fff; text-decoration: none; }
.dp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); filter: brightness(.8) saturate(.9); transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.dp-a:hover .dp-img, .dp-a:focus-visible .dp-img { transform: scale(1); filter: none; }
.dp-a[href$="/jacuzzi-ogrodowe"] .dp-img { object-position: 40% 78%; }
.dp-a[href$="/jacuzzi-uzywane"] .dp-img { object-position: 40% 50%; }
.dp-a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(15 17 20 / .9) 0%, rgb(15 17 20 / .4) 34%, rgb(15 17 20 / 0) 62%); pointer-events: none; }
.dp-txt { position: absolute; z-index: 1; left: clamp(14px, 1.4vw, 22px); right: clamp(14px, 1.4vw, 22px); bottom: clamp(16px, 1.8vw, 24px); display: flex; flex-direction: column; gap: 8px; }
.dp-t { font-size: clamp(1.08rem, 1.35vw, 1.45rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
.dp-s { max-width: 30ch; font-size: 14.5px; line-height: 1.4; color: rgb(241 237 230 / .78); opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.dp-i:hover .dp-s, .dp-i:focus-within .dp-s { opacity: 1; transform: none; transition-delay: .2s; }
.dp-go { position: absolute; z-index: 1; top: 16px; right: 16px; width: 22px; height: 22px; opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.dp-a:hover .dp-go, .dp-a:focus-visible .dp-go { opacity: 1; transform: none; }
@media (hover: none) and (min-width: 768px) { .dp-s { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .dp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; gap: 8px; }
  .dp-a { aspect-ratio: 4 / 5; height: auto; }
  .dp-img { filter: brightness(.9); transform: none; }
  .dp-s { display: none; }
  .dp-go { opacity: 1; transform: none; width: 18px; height: 18px; top: 12px; right: 12px; }
  .dp-t { font-size: 1.02rem; }
}

/* --- o mnie z liczbami ------------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.about-photo { max-width: 460px; }
.about-photo .slot { background: none; }
.about-photo .slot > img { clip-path: circle(46.5%); }
.about-photo .slot.is-empty { aspect-ratio: 4 / 5; }
.about-body { display: flex; flex-direction: column; gap: 28px; }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; margin-top: 14px; }
.nums div { padding-top: 16px; border-top: 1px solid var(--linia); }
.nums dt { font-size: clamp(2rem, 3.3vw, 3.1rem); font-weight: 600; font-stretch: 86%; letter-spacing: -.03em; line-height: 1; color: var(--zloto-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nums dd { margin-top: 10px; font-size: 14.5px; line-height: 1.4; color: var(--szary); }
@media (max-width: 899px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-photo { max-width: 340px; }
}
@media (max-width: 560px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; } }

/* --- realizacje: pas zdjęć z budów, przewijany w bok -------------------------------------------------- */
.works-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.works-head > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.strip-nav { display: flex; gap: 8px; }
.strip-nav .tool { width: 46px; height: 46px; }
.strip { --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: clamp(10px, 1.2vw, 16px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-inline: var(--pad); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip > li { flex: 0 0 auto; width: clamp(250px, 25vw, 360px); scroll-snap-align: start; }
.strip figure { margin: 0; }
.strip img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--papier-2); }
.strip figcaption { margin-top: 12px; font-size: 14.5px; color: var(--szary); }
.strip-end { display: flex; }
.strip-more { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; width: 100%; aspect-ratio: 4 / 5; padding: 24px; border: 1px solid var(--linia); border-radius: var(--r); color: inherit; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease); }
.strip-more .ic { width: 26px; height: 26px; color: var(--zloto-ink); }
.strip-more:hover { border-color: var(--zloto-ink); color: var(--zloto-ink); }
@media (hover: none), (max-width: 767px) { .strip-nav { display: none; } }
@media (max-width: 767px) { .strip > li { width: 72vw; } }

/* --- sekcje ------------------------------------------------------------------------------- */
/* Odstępy między sekcjami: przy jednolitym ciemnym tle (bez pasów) padding góra + dół sumuje się, więc mniejszy niż w v2 */
.sec { padding: clamp(48px, 5.5vw, 84px) 0; }
.sec-tight { padding: clamp(40px, 4.5vw, 64px) 0; }
.sec-top { padding-top: clamp(40px, 5vw, 64px); }
.sec-paper2 { background: var(--papier-2); }
.sec-rule { border-top: 1px solid var(--linia); }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.sec-head-row > div { display: flex; flex-direction: column; gap: 14px; }

.rows { border-top: 1px solid var(--atrament); }
.row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--linia);
  color: inherit; text-decoration: none;
}
a.row .row-t { transition: color .2s var(--ease), transform .3s var(--ease); display: inline-block; }
a.row:hover .row-t, a.row:focus-visible .row-t { color: var(--zloto-ink); transform: translateX(6px); }
.row-n { color: var(--zloto-ink); }
.row-main { display: flex; flex-direction: column; gap: 4px; }
.row-t { font-size: clamp(1.45rem, 2.4vw, 2.05rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.row-t-sm { font-size: 1.25rem; letter-spacing: -.012em; }
.row-s { color: var(--szary); font-size: 15.5px; }
.row-go { width: 22px; height: 22px; align-self: center; color: var(--zloto-ink); transition: transform .3s var(--ease); }
a.row:hover .row-go { transform: translate(3px, -3px); }

/* miejsca na zdjęcia */
.slot { position: relative; overflow: hidden; background: var(--papier-2); }
.slot > img { width: 100%; height: 100%; object-fit: cover; }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-4x3 { aspect-ratio: 4 / 3; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-1x1 { aspect-ratio: 1 / 1; }
/* Kadr z panelu (Zdjęcia → Ustaw kadr) wygrywa z kadrami ustawionymi tu; klasy zamiast style=, bo CSP blokuje style w HTML */
img.fp { object-position: var(--fx, 50%) var(--fy, 50%) !important; }
.fx-0{--fx:0%}.fx-5{--fx:5%}.fx-10{--fx:10%}.fx-15{--fx:15%}.fx-20{--fx:20%}.fx-25{--fx:25%}.fx-30{--fx:30%}.fx-35{--fx:35%}.fx-40{--fx:40%}.fx-45{--fx:45%}.fx-50{--fx:50%}.fx-55{--fx:55%}.fx-60{--fx:60%}.fx-65{--fx:65%}.fx-70{--fx:70%}.fx-75{--fx:75%}.fx-80{--fx:80%}.fx-85{--fx:85%}.fx-90{--fx:90%}.fx-95{--fx:95%}.fx-100{--fx:100%}
.fy-0{--fy:0%}.fy-5{--fy:5%}.fy-10{--fy:10%}.fy-15{--fy:15%}.fy-20{--fy:20%}.fy-25{--fy:25%}.fy-30{--fy:30%}.fy-35{--fy:35%}.fy-40{--fy:40%}.fy-45{--fy:45%}.fy-50{--fy:50%}.fy-55{--fy:55%}.fy-60{--fy:60%}.fy-65{--fy:65%}.fy-70{--fy:70%}.fy-75{--fy:75%}.fy-80{--fy:80%}.fy-85{--fy:85%}.fy-90{--fy:90%}.fy-95{--fy:95%}.fy-100{--fy:100%}
/* Portret: wgrane zdjęcie w kole ze złotą linią (widok szczegółu z rysunku); puste miejsce to zwykły kwadrat */
.slot-round:not(.is-empty) { background: none; overflow: visible; }
.slot-round > img { clip-path: circle(46%); }
.slot-round:not(.is-empty)::after { content: ''; position: absolute; inset: 2.5%; border: 1px solid var(--zloto-ink); border-radius: 50%; pointer-events: none; }
/* Puste miejsce: zwykła ramka z krótkim opisem, jakie zdjęcie tu proponuję */
.slot.is-empty { display: grid; }
.ph {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  width: 100%; height: 100%; padding: clamp(14px, 2vw, 22px);
  background: var(--papier-2); border: 1px solid var(--linia);
  color: var(--atrament); text-align: left;
}
.ph-k { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--zloto-ink); }
.ph-t { max-width: 30ch; font-size: 15px; line-height: 1.4; }
.noc .ph { background: var(--noc-2); border-color: var(--noc-line); color: var(--noc-text); }
.noc .ph-k { color: var(--zloto); }
.card-img > .ph, .u-img > .ph, .gal-empty > .ph, .pv-noimg > .ph { position: absolute; inset: 0; }
/* Zdjęcie przykładowe (z sieci, na licencji) do czasu wgrania własnego: mały podpis */

/* list i schemat */
.extra { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.extra-copy { display: flex; flex-direction: column; gap: 22px; }
.extra-slots { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.letter { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.letter-body { display: flex; flex-direction: column; gap: 26px; }
.letter-text { display: flex; flex-direction: column; gap: 18px; font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.7; max-width: 58ch; }
.sign { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--linia); max-width: 340px; }
.sign-name { font-size: 1.35rem; font-weight: 700; font-stretch: 118%; letter-spacing: .02em; text-transform: uppercase; }
.sign .mono { color: var(--szary); }
/* Skąd działam: mapa z punktem bazy + tablica odjazdów jak na lotnisku */
.where .proof-k { color: var(--noc-muted); }
.where .proof-k span { color: var(--zloto); }
.where-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
/* Mapa z danych OpenStreetMap: statyczna, na niej tylko punkt bazy (opisy, tarcze dróg i poświata ukryte) */
.where { position: relative; padding: clamp(56px, 6vw, 96px) 0; overflow: hidden; }
.where-map-plain {
  position: absolute; inset: 0 auto 0 0; width: 58%; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 52%, transparent 96%), linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 52%, transparent 96%), linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-composite: intersect;
}
.where-map-plain picture, .where-map-plain img { display: block; width: 100%; height: 100%; object-fit: cover; }
.where-in { position: relative; display: flex; justify-content: flex-end; }
.where-side { display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 34px); width: min(100%, 620px); }

/* fakty liczbowe i ramka rysunku w nagłówkach jacuzzi */
.where-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; margin-top: 6px; }
.where-facts div { padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .16); }
.where-facts dt { color: var(--zloto); font-size: clamp(2.1rem, 3.6vw, 3.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.where-facts dd { margin-top: 8px; color: var(--noc-muted); font-size: 15.5px; line-height: 1.45; }
.where-copy { display: flex; flex-direction: column; gap: 22px; }
.where-map { border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .015); }

.where-h { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 600; font-stretch: 80%; letter-spacing: -.035em; line-height: .95; }
.towns { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: clamp(1.3rem, 2.1vw, 1.9rem); font-weight: 500; font-stretch: 86%; letter-spacing: -.02em; line-height: 1.25; color: var(--noc-muted); }
.towns li { white-space: nowrap; }
.towns li:not(:last-child)::after { content: ','; margin-right: .32em; color: var(--noc-muted); }
.towns .is-base { color: var(--zloto); }
.where-note { color: var(--noc-muted); font-size: 12.5px; }
.legal-note { max-width: 78ch; padding-top: 16px; border-top: 1px solid var(--linia); color: var(--szary); font-size: 12.5px; line-height: 1.55; }
.legal-note p { margin: 0 0 6px; }
.legal-note b { font-weight: 600; }
.listing-copy .legal-note { margin-top: 28px; }
.where-lead { max-width: 44ch; color: var(--noc-muted); font-size: 1.05rem; line-height: 1.6; }
@media (max-width: 899px) {
  .where-grid { grid-template-columns: minmax(0, 1fr); }
  .where { padding-top: 0; }
  .where-map-plain img { object-position: 50% 18%; } /* punkt bazy jest wysoko na mapie */
  .where-map-plain { position: relative; width: 100%; height: 78vw; max-height: 520px; margin-bottom: 8px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 70%, transparent); }
    }
@media (max-width: 520px) {
}
.facts { display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline; }
.facts dt { color: var(--zloto-ink); }
.sheet .facts dt, .facts-inv dt { color: var(--zloto); }
.facts dd { font-size: 15.5px; }

/* karty ogłoszeń */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--karta); border: 1px solid var(--linia); border-radius: 4px; overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s var(--ease); }
.card:hover { border-color: var(--atrament); }
.card-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--papier-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; }
.card-t { font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.price { color: var(--zloto-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; padding: 3px 8px; border: 1px solid currentColor; border-radius: 2px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; width: fit-content; }
.tag-available, .badge-available { color: var(--ok); }
.tag-reserved, .badge-reserved { color: var(--warn); }
.tag-sold, .badge-sold { color: var(--szary); }
.badge { display: inline-flex; padding: 3px 8px; border: 1px solid currentColor; border-radius: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.card.is-sold .card-img img { filter: grayscale(1); opacity: .6; }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(24px, 4vw, 44px); border: 1px dashed var(--szary); max-width: 680px; }
.empty .btn { margin-top: 8px; }

/* finał */
.finale { padding: clamp(56px, 6vw, 96px) 0 clamp(48px, 5vw, 80px); }
.finale-page { padding-top: calc(var(--head-h) + var(--head-gap) * 2 + clamp(40px, 6vw, 80px)); }
.finale-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.finale-info { display: flex; flex-direction: column; gap: 24px; }
.finale-tel { color: var(--zloto); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; text-decoration: none; }
.finale-tel:hover { color: var(--zloto-2); }
.facts-inv dd, .facts-inv a { color: var(--noc-text); }
.finale-wa { align-self: flex-start; }
.form-box { background: var(--noc-2); border: 1px solid var(--noc-line); padding: clamp(22px, 3.2vw, 40px); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.form-h { grid-column: 1 / -1; color: var(--zloto); }
.form-1 { grid-template-columns: minmax(0, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid rgb(21 24 28 / .25); border-radius: var(--r);
  background: var(--karta); color: var(--atrament);
  font: inherit; font-size: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2386641f' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--zloto-ink); box-shadow: 0 0 0 3px rgb(208 168 94 / .3); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-err { color: var(--err); font-size: 13.5px; }
.field-help { color: var(--szary); font-size: 13.5px; }
.noc .field label { color: var(--noc-text); }
.noc .field input, .noc .field select, .noc .field textarea { background-color: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .18); color: #fff; }
.noc .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23d0a85e' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); }
.noc .field select option { color: var(--atrament); }
.noc .field input:focus, .noc .field select:focus, .noc .field textarea:focus { border-color: var(--zloto); }
.noc .field-err { color: var(--err-noc); }
.noc .field [aria-invalid="true"] { border-color: var(--err-noc); }
.noc .field-help, .noc .check { color: var(--noc-muted); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 400; color: var(--szary); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--zloto); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 13px 16px; border-radius: var(--r); font-size: 15px; border: 1px solid currentColor; }
.alert-ok { color: var(--ok); background: rgb(63 122 74 / .07); }
.alert-err { color: var(--err); background: rgb(168 64 44 / .06); }
.noc .alert-err { color: var(--err-noc); background: rgb(240 160 143 / .08); }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 20px; color: var(--noc-text); }
.done-ic { width: 40px; height: 40px; color: var(--zloto); }

/* podstrony */
.phead { padding: calc(var(--head-h) + var(--head-gap) * 2 + clamp(36px, 5vw, 72px)) 0 clamp(48px, 6vw, 84px); background: linear-gradient(180deg, #0a0f14 0%, var(--noc) 100%); }
.phead-slim { padding-bottom: 28px; }
.phead-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.phead-text { grid-template-columns: minmax(0, 1fr); }
.phead-copy { display: flex; flex-direction: column; gap: 22px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--noc-muted); }
.crumbs a { color: var(--noc-muted); text-decoration: none; }
.crumbs a:hover { color: var(--zloto); }
.crumbs span:last-child { color: var(--zloto); }
.phead-art { max-width: 440px; justify-self: end; width: 100%; }
/* Zdjęcie w nagłówku podstrony (miejsca hero-*): na cały ekran, tekst na dole po lewej (jak wejście na główną).
   Na telefonie kadr pionowy (-m). */
.phead.has-photo { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(560px, 86svh, 900px); padding-bottom: clamp(40px, 6vw, 76px); background: #0f1114; color: #f1ede6; }
.phead.has-photo > .wrap { width: 100%; }
.phead-photo { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }
.phead-photo picture, .phead-photo img { display: block; width: 100%; height: 100%; }
.phead-photo img { object-fit: cover; }
.phead-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgb(15 17 20 / .6) 0%, rgb(15 17 20 / 0) 24%),
              linear-gradient(0deg, rgb(15 17 20 / .96) 0%, rgb(15 17 20 / .62) 32%, rgb(15 17 20 / .08) 66%),
              linear-gradient(90deg, rgb(15 17 20 / .84) 0%, rgb(15 17 20 / .55) 36%, rgb(15 17 20 / 0) 66%); }
.phead-photo.hero-domy img { object-position: 62% 50%; }
.phead-photo.hero-jacuzzi :is(img, video) { object-position: 60% 60%; }
/* Film w nagłówku (jacuzzi): pierwsza klatka stoi jako zdjęcie, film wchodzi nad nią, gdy ruszy (main.js) */
.phead-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.phead-video.is-on { opacity: 1; }
/* Przewozy osób (Tomasz przy busie): zdjęcie zaczyna się pod paskiem menu, żeby pasek nie zasłaniał głowy */
.phead-photo.hero-przewozy, .hph[data-k="przewozy-osob"] { top: calc(var(--head-h) + var(--head-gap) * 2); overflow: hidden; }
.phead-photo.hero-przewozy img { object-position: 62% 12%; }
.phead-photo.hero-wynajem img { object-position: 45% 50%; }
/* Zdjęcie w prawej części (lewa krawędź przechodzi w tło), żeby tekst nie zasłaniał ludzi: Przewozy osób na głównej (Tomasz przy busie)
   i Jacuzzi nowe na głównej (pionowe zdjęcie wanny, kwadratowy kadr bez powiększania). Na telefonie zdjęcie jest nad tekstem. */
@media (min-width: 768px) {
  .hph[data-k="przewozy-osob"] picture, .hph[data-k="jacuzzi-ogrodowe"] picture { width: 67%; margin-left: 33%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
  /* Główna, Jacuzzi używane: kadr z hali powiększony i podniesiony (wanny nad dużym nagłówkiem) */
  .hph[data-k="jacuzzi-uzywane"] picture { position: relative; top: -25%; height: 125%; }
}
.phead-photo.hero-transport img { object-position: 55% 55%; }
.has-photo .phead-in, .has-photo.jz-head .phead-in { grid-template-columns: minmax(0, 1fr); min-height: 0; align-items: end; }
.has-photo .phead-copy { max-width: 760px; }
.has-photo .phead-copy .h1 { font-size: clamp(2.5rem, 5vw, 4.9rem); font-stretch: 88%; line-height: 1; }
.has-photo .phead-copy .lead { color: rgb(241 237 230 / .8); }
@media (prefers-reduced-motion: no-preference) {
  .phead-photo img { animation: settle 2.4s cubic-bezier(.2, .8, .2, 1) both; }
  .phead-photo:has(.phead-video) img { animation: none; } /* klatka filmu ma stać w miejscu, inaczej film wejdzie przesunięty */
  /* Jacuzzi nowe: zdjęcie od klienta zamiast filmu (29.11); powolne przybliżenie, żeby nagłówek się ruszał, jak chciał Tomasz */
  .phead-photo.hero-jacuzzi:not(:has(.phead-video)) img { animation: settle 2.4s cubic-bezier(.2, .8, .2, 1) both, drift 26s ease-in-out 2.4s infinite alternate; }
  .phead-copy > * { animation: rise .9s var(--ease) both; }
  .phead-copy > :nth-child(2) { animation-delay: .08s; }
  .phead-copy > :nth-child(3) { animation-delay: .16s; }
  .phead-copy > :nth-child(n + 4) { animation-delay: .24s; }
}
@keyframes settle { from { transform: scale(1.06); } }
@keyframes drift { to { transform: scale(1.08) translate(-1.5%, -1%); } }
/* Telefon: zdjęcie u góry (kadr pionowy), tekst pod nim na ciemnym tle, a nie na zdjęciu (dużo tekstu w nagłówkach podstron) */
@media (max-width: 767px) {
  .phead.has-photo { --ph: min(64svh, 560px); display: block; min-height: 0; padding-top: calc(var(--ph) - 96px); }
  .phead-photo { bottom: auto; height: var(--ph); }
  .phead.has-photo:has(.hero-przewozy) { padding-top: calc(var(--ph) - 96px + var(--head-h) + var(--head-gap) * 2); }
  .phead-photo img, .phead-photo[class] :is(img, video) { object-position: 50% 40%; }
  .phead-photo::after { background: linear-gradient(180deg, rgb(15 17 20 / .55) 0%, rgb(15 17 20 / 0) 22%),
                                    linear-gradient(0deg, #0f1114 0%, rgb(15 17 20 / .85) 18%, rgb(15 17 20 / 0) 52%); }
  .has-photo .phead-copy .actions { width: 100%; flex-direction: column; gap: 10px; }
  .has-photo .phead-copy .actions .btn { width: 100%; }
}
.scope { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.scope-head { position: sticky; top: calc(var(--head-h) + 40px); display: flex; flex-direction: column; gap: 14px; }
.scope-photo { width: min(100%, 380px); margin-top: 18px; }
.rows-static .row { grid-template-columns: 52px minmax(0, 1fr); }
.gallery { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: end; }
.faq { border-top: 1px solid var(--atrament); }
.faq details { border-bottom: 1px solid var(--linia); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 1.15rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); font-weight: 500; color: var(--zloto-ink); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--szary); max-width: 62ch; }
.others { display: flex; flex-direction: column; gap: 18px; }
.others .mono { color: var(--szary); }
.others ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--atrament); }
.others li { display: grid; } /* pozycje w rzędzie równej wysokości: kreski pod nimi na jednej linii */
.others a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 14px 18px 0; border-bottom: 1px solid var(--linia); font-weight: 600; text-decoration: none; }
.others a .ic { color: var(--zloto-ink); transition: transform .3s var(--ease); }
.others a:hover { color: var(--zloto-ink); }
.others a:hover .ic { transform: translate(3px, -3px); }
.listing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.listing-copy { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--head-h) + 40px); }
.listing-price { font-size: 1.7rem; font-weight: 700; color: var(--zloto-ink); font-variant-numeric: tabular-nums; }
.btn-line-ink { border-color: rgb(21 24 28 / .28); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; background: var(--papier-2); }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.gal-empty { flex: 1; position: relative; }
.gal-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 3px; }
.gal-thumb { flex: none; width: 84px; height: 63px; padding: 0; border: 0; cursor: pointer; opacity: .55; background: var(--papier-2); transition: opacity .2s var(--ease); }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb:hover, .gal-thumb.is-on { opacity: 1; }
.gal-thumb.is-on { outline: 2px solid var(--zloto-ink); outline-offset: 2px; }
.prose { color: var(--szary); max-width: 64ch; }
.prose-doc { display: flex; flex-direction: column; gap: 14px; }
.prose-doc h2 { margin-top: 22px; color: var(--atrament); }
.prose-doc b { color: var(--atrament); font-weight: 600; }
.doc-list { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.doc-list li::marker { color: var(--zloto-ink); }
.doc-facts { max-width: 560px; }
.doc-facts dd a { color: var(--zloto-ink); }
.doc-table { overflow-x: auto; border: 1px solid var(--linia); }
.doc-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; }
.doc-table th, .doc-table td { padding: 10px 12px; border-bottom: 1px solid var(--linia); text-align: left; vertical-align: top; }
.doc-table th { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--szary); }
.doc-table tr:last-child td { border-bottom: 0; }
/* Telefon: tabela cookies bez przewijania w bok, każdy wiersz jako blok (1.12) */
@media (max-width: 640px) {
  .doc-table table { min-width: 0; }
  .doc-table thead { display: none; }
  .doc-table tr { display: block; padding: 10px 12px; border-bottom: 1px solid var(--linia); }
  .doc-table tr:last-child { border-bottom: 0; }
  .doc-table td { display: block; padding: 2px 0; border: 0; }
}
/* Numer telefonu nigdy nie łamie się w połowie (1.12) */
a[href^="tel:"] { white-space: nowrap; }
.doc-table code { color: var(--zloto-ink); }
.nw { white-space: nowrap; }

/* stopka */
.foot { border-top: 1px solid var(--noc-line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-block: clamp(56px, 7vw, 84px); }
.foot-brand { display: flex; flex-direction: column; gap: 18px; max-width: 380px; color: var(--noc-muted); }
.foot-col .mono { margin-bottom: 16px; color: var(--zloto); }
.foot-col ul { display: grid; gap: 9px; color: var(--noc-muted); }
.foot-col a { color: var(--noc-text); text-decoration: none; }
.foot-col a:hover { color: var(--zloto); }
.foot-tel { font-weight: 700; font-variant-numeric: tabular-nums; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px 30px; border-top: 1px solid var(--noc-line); color: var(--noc-muted); font-size: 14px; }
.foot-bottom a { color: var(--noc-muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-btn { padding: 0; border: 0; background: none; color: var(--noc-muted); font: inherit; text-decoration: underline; cursor: pointer; }
.foot-btn:hover, .foot-bottom a:hover { color: var(--zloto); }
/* pasek zgody na cookies (tylko gdy w panelu są tagi Google) */
.consent { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; display: grid; gap: 14px; width: min(460px, calc(100% - 32px)); padding: 18px 20px; background: var(--noc-2); color: var(--noc-text); border: 1px solid var(--noc-line); border-radius: 6px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .6); font-size: 14.5px; line-height: 1.5; }
.consent a { color: var(--zloto); }
body:has(.consent:not([hidden])) .calls { opacity: 0; pointer-events: none; }
.consent-act { display: flex; flex-wrap: wrap; gap: 8px; }
.consent .btn-line { border-color: rgb(255 255 255 / .3); color: var(--noc-text); }
.adm-events { display: grid; gap: 10px; }
.adm-store { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px 28px; padding: 16px 18px; background: var(--karta); border: 1px solid var(--linia); }
.adm-store-h { grid-column: 1 / -1; color: var(--szary); }
.adm-meter { display: grid; gap: 6px; }
.adm-meter p:first-child { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: 14.5px; }
.adm-meter p:first-child span { color: var(--szary); font-variant-numeric: tabular-nums; }
.adm-meter meter { width: 100%; height: 10px; }
.adm-meter.is-full b { color: var(--err); }
.adm-events code { font-size: 13px; color: var(--zloto-ink); }

/* --- panel -------------------------------------------------------------------------------- */
.admin { background: var(--papier); }
.adm-head { background: var(--atrament); color: var(--papier); }
.adm-head .brand { color: var(--papier); }
.adm-head .brand-l2 { color: var(--zloto); }
.adm-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 14px; }
.adm-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.adm-nav a, .adm-nav button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 0; border-radius: var(--r); background: none; color: #c9c5bd; font: inherit; font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.adm-nav a:hover, .adm-nav button:hover { color: #fff; background: rgb(255 255 255 / .08); }
.adm-nav a.is-active { color: var(--atrament); background: var(--zloto); }
.adm-nav form { display: contents; }
.adm-main { padding-block: 40px 96px; display: flex; flex-direction: column; gap: 26px; }
.adm-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.adm-top > div { display: flex; flex-direction: column; gap: 8px; }
.form-shell { background: var(--karta); border: 1px solid var(--linia); padding: clamp(20px, 3vw, 36px); }
.adm-list { display: grid; gap: 10px; }
.adm-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 10px 14px 10px 10px; background: var(--karta); border: 1px solid var(--linia); border-radius: 4px; }
.adm-thumb { width: 84px; height: 63px; display: grid; place-items: center; overflow: hidden; background: var(--papier-2); color: var(--szary); }
.adm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-row-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.adm-row-main a { color: var(--atrament); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-row-main a:hover { color: var(--zloto-ink); }
.adm-actions { display: flex; gap: 8px; }
.adm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.adm-photo { display: flex; flex-direction: column; gap: 8px; padding: 8px; background: var(--papier-2); border: 1px solid var(--linia); }
.adm-photo img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.upload { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 11px 16px; border: 1px solid rgb(21 24 28 / .28); border-radius: var(--r); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.upload .ic { color: var(--zloto-ink); }
.upload-input { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; clip-path: inset(50%); }
.upload:has(+ .upload-input:focus-visible) { outline: 2px solid var(--zloto-ink); outline-offset: 3px; }
.adm-login { min-height: 70dvh; display: grid; place-items: center; }
.adm-login .form-shell { width: min(100%, 440px); }
.adm-show { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--szary); cursor: pointer; }
.adm-show input { width: 18px; height: 18px; accent-color: var(--zloto); }
.adm-narrow { max-width: 520px; }
.adm-msgs { display: grid; gap: 12px; }
.adm-msg { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; background: var(--karta); border: 1px solid var(--linia); }
.adm-msg-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.adm-msg-contact { display: flex; flex-wrap: wrap; gap: 18px; }
.adm-msg-contact a { color: var(--zloto-ink); }
.adm-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.adm-slot { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--karta); border: 1px solid var(--linia); scroll-margin-top: 24px; }
.adm-slot:target { border-color: var(--zloto-ink); box-shadow: 0 0 0 3px rgb(208 168 94 / .35); }
.adm-slot .slot { width: 100%; }
.adm-slot form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--szary); font-size: 14.5px; text-decoration: none; }
.crumb:hover { color: var(--zloto-ink); }
.crumb .ic { width: 16px; height: 16px; }

/* --- responsywność ---------------------------------------------------------------------- */
@media (max-width: 899px) {
  .letter, .finale-grid, .phead-in, .scope, .gallery, .listing, .foot-grid, .extra { grid-template-columns: minmax(0, 1fr); }
  .phead-art { justify-self: start; max-width: 230px; }
  .scope-head, .listing-copy { position: static; }
  .scope-photo { width: 100%; aspect-ratio: 3 / 2; margin-top: 8px; }
  .letter-photo { max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; padding: 20px 0; }
  .rows-static .row { grid-template-columns: 36px minmax(0, 1fr); }
  .adm-row { grid-template-columns: 64px minmax(0, 1fr); }
  .adm-thumb { width: 64px; height: 48px; }
  .adm-actions { grid-column: 1 / -1; }
  .foot { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* --- katalog nowych modeli --------------------------------------------------------------- */
.card-kind { color: var(--zloto-ink); font-size: 10.5px; }
.price-old { color: var(--szary); font-weight: 400; font-size: .92em; text-decoration-thickness: 1px; margin-right: 6px; }
.listing-price .price-old { font-size: 1.05rem; }
.specs { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--linia); }
.specs div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--linia); font-size: 15px; }
.specs dt { color: var(--szary); white-space: nowrap; }
.specs dd { font-weight: 600; text-align: right; }
.specs .specs-flag { grid-column: 1 / -1; text-align: left; font-weight: 500; color: var(--atrament); }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
/* Panel: realizacje (wiele zdjęć naraz), szybki status na liście, menu na telefonie w jednym rzędzie */
.upload-big { width: 100%; justify-content: center; padding: 26px 18px; border: 1.5px dashed rgb(21 24 28 / .35); background: var(--karta); font-size: 16px; }
.upload-big:hover { border-color: var(--zloto-ink); }
.adm-gallery { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.adm-gallery input:not([type=checkbox]) { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--linia); border-radius: var(--r); background: var(--karta); font: inherit; font-size: 16px; } /* 16 px: iPhone nie powiększa strony przy pisaniu */
.adm-status select { height: 34px; padding: 0 10px; border: 1px solid var(--linia); border-radius: var(--r); background: var(--karta); font: inherit; font-size: 16px; font-weight: 600; color: var(--atrament); cursor: pointer; }
.is-busy { opacity: .55; pointer-events: none; }
@media (max-width: 767px) {
  .adm-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; } /* wszystkie zakładki widać od razu */
  .adm-nav a, .adm-nav button { justify-content: center; padding: 10px 6px; font-size: 14px; text-align: center; }
  .adm-row { grid-template-columns: 64px minmax(0, 1fr); }
  .adm-thumb { width: 64px; height: 48px; }
  .adm-actions { grid-column: 1 / -1; flex-wrap: wrap; }
  .adm-status { flex: 1 1 100%; }
  .adm-status select { width: 100%; height: 42px; }
}
.adm-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--linia); border-radius: var(--r); font-weight: 600; text-decoration: none; color: var(--szary); }
.adm-tabs a.is-active { border-color: var(--atrament); color: var(--atrament); background: var(--karta); }
/* Panel → Zdjęcia: grupy według stron, stan zdjęcia, wybór kadru; Realizacje: przyciski przy zdjęciu */
.adm-jump a { padding: 7px 11px; font-size: 14px; }
.adm-grp { display: grid; gap: 16px; scroll-margin-top: 16px; }
.adm-grp > .h3 { padding-top: 18px; border-top: 1px solid var(--linia); }
.adm-slot.is-off { opacity: .62; }
.adm-state { width: fit-content; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.adm-state.is-ok { color: var(--ok); background: rgb(63 122 74 / .1); }
.adm-state.is-warn { color: #855512; background: rgb(208 168 94 / .24); }
.adm-where { font-size: 15px; }
.fp-box > summary { list-style: none; width: fit-content; cursor: pointer; }
.fp-box > summary::-webkit-details-marker { display: none; }
.fp-box[open] > summary { border-color: var(--atrament); }
.adm-slot .fp-form { display: grid; gap: 12px; margin-top: 12px; }
.fp-pick { position: relative; cursor: crosshair; touch-action: manipulation; }
.fp-pick img { display: block; width: 100%; height: auto; }
.fp-dot { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 3px solid #fff; border-radius: 50%; background: rgb(208 168 94 / .6); box-shadow: 0 0 0 2px rgb(0 0 0 / .45); pointer-events: none; transition: left .15s, top .15s; }
.fp-prev { display: flex; gap: 10px; align-items: flex-start; }
.fp-prev figure { display: grid; gap: 4px; flex: 1; min-width: 0; margin: 0; font-size: 13px; color: var(--szary); }
.fp-prev figure:has(.is-wide) { flex: 3; }
.fp-frame { overflow: hidden; background: var(--papier-2); }
.fp-frame img { width: 100%; height: 100%; object-fit: cover; }
.fp-frame.is-wide { aspect-ratio: 16 / 9; }
.fp-frame.is-tall { aspect-ratio: 9 / 16; }
.fp-act { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-photo-act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.listing-new .gal-track { background: #fff; }
.listing-new .gal-track img { object-fit: contain; }
.listing-new .gal-thumb { background: #fff; }
.listing-new .gal-thumb img { object-fit: contain; }

/* --- jacuzzi ogrodowe: nocny nagłówek, dobór modelu (lista + podgląd), „zimą też” ------------- */
.jz-head .phead-in { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: end; }
.jz-art { max-width: 680px; }
.jz-facts { display: flex; flex-wrap: wrap; gap: 22px clamp(24px, 3vw, 44px); margin-top: 12px; }
.jz-facts dt { font-size: clamp(1.7rem, 2.6vw, 2.3rem); white-space: nowrap; }
.jz-facts dt small { font-size: .5em; font-weight: 500; letter-spacing: 0; color: var(--noc-muted); }
.jz-facts dd { font-size: 14.5px; }

.pick { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr); gap: clamp(32px, 4.5vw, 72px); align-items: start; }
.pick .sec-head { margin-bottom: 30px; }
.pick-filters { display: flex; flex-wrap: wrap; gap: 18px 36px; }
.seg { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: 10px; color: var(--szary); }
.seg-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; display: inline-flex; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid rgb(21 24 28 / .22); border-radius: var(--r); font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.seg i { font-family: var(--mono); font-size: 11px; font-style: normal; font-weight: 500; color: var(--zloto-ink); }
.seg label:hover span { border-color: var(--atrament); }
.seg input:checked + span { background: var(--atrament); border-color: var(--atrament); color: var(--papier); }
.seg input:checked + span i { color: inherit; opacity: .75; } /* licznik na zaznaczonym: zawsze kontrastowy w obu motywach (1.12) */
.seg input:focus-visible + span { outline: 2px solid var(--zloto-ink); outline-offset: 2px; }
.pick-count { margin: 30px 0 12px; color: var(--szary); }

.m-head, .m-a { display: grid; grid-template-columns: minmax(0, 1fr) 52px 156px 48px 126px 18px; gap: 14px; align-items: center; }
.m-head { padding-bottom: 10px; border-bottom: 1px solid var(--atrament); color: var(--szary); font-size: 10.5px; letter-spacing: .12em; }
.m-head span:nth-child(2), .m-head span:nth-child(4), .m-head span:nth-child(5), .m-n { text-align: right; }
.m-gh { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 30px; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.m-gh .mono { color: var(--szary); font-size: 10.5px; font-weight: 500; }
.m-gd { padding: 2px 0 12px; color: var(--szary); font-size: 15px; }
.m-list { border-top: 1px solid var(--linia); }
.m-a { padding: 13px 0; border-bottom: 1px solid var(--linia); color: inherit; text-decoration: none; }
.m-img { display: none; }
.m-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.m-name { width: fit-content; font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; transition: color .2s var(--ease), transform .3s var(--ease); }
.m-sub { color: var(--szary); font-size: 14px; }
.m-n { font-weight: 600; font-variant-numeric: tabular-nums; }
.m-dim { color: var(--szary); font-size: 14px; font-variant-numeric: tabular-nums; }
.m-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; text-align: right; }
.m-price .price-old { margin: 0; font-size: 13px; }
.m-go { width: 18px; height: 18px; color: var(--zloto-ink); transition: transform .3s var(--ease); }
.m-a:hover .m-name, .m-a:focus-visible .m-name, .m.is-on .m-name { color: var(--zloto-ink); transform: translateX(6px); }
.m-a:hover .m-go, .jz-band:hover .m-go { transform: translate(3px, -3px); }
.pick-empty { margin-top: 24px; }

.jz-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--atrament); border-bottom: 1px solid var(--linia); color: inherit; text-decoration: none; }
.jz-band .mono { color: var(--szary); }
.jz-band-t { font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; transition: color .2s var(--ease); }
.jz-band .m-go { grid-column: 2; grid-row: 1 / 3; }
.jz-band:hover .jz-band-t { color: var(--zloto-ink); }

.pv { position: sticky; top: calc(var(--head-h) + 40px); display: flex; flex-direction: column; background: var(--karta); border: 1px solid var(--linia); }
.pv-hint { position: absolute; left: 14px; top: 12px; z-index: 1; color: var(--szary); font-size: 10px; }
.pv-img { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; background: #fff; border-bottom: 1px solid var(--linia); }
.pv-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7% 8% 5%; transition: opacity .25s var(--ease); }
.pv-img img.is-loading { opacity: .15; }
.pv-body { display: flex; flex-direction: column; gap: 18px; padding: 20px 22px 22px; }
.pv-title { display: flex; flex-direction: column; gap: 4px; }
.pv-title .mono { color: var(--zloto-ink); }
.pv-name { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.pv .listing-price { font-size: 1.5rem; }
.pv .actions .btn { flex: 1; }
@media (max-height: 820px) { .pv-img { aspect-ratio: 2 / 1; } }
@media (hover: none) { .pv-hint { display: none; } }

/* Logo jacuzzi w nagłówku „Jacuzzi nowe”, gdy jest plik (naklejkę z QR zdjęliśmy 29.11; nowe logo z Antigravity) */
.jz-logo { display: block; width: min(72vw, 280px); height: auto; margin: 32px auto 0; } /* naklejka Tomasza: na tyle duża, żeby QR i numer były czytelne; kształt (koło + ramka QR) jest w pliku, bez border-radius */
@media (min-width: 768px) {
  .jz-head .phead-in { position: relative; }
  .jz-logo { position: absolute; right: var(--gutter); bottom: 0; width: clamp(260px, 26vw, 380px); margin: 0; }
  .jz-head:has(.jz-logo) .phead-copy { max-width: min(760px, calc(100% - clamp(260px, 26vw, 380px) - 40px)); }
}

/* jacuzzi używane: każda oferta jak arkusz (zdjęcie + parametry), sprzedane jako krótka lista */
.u-list { border-top: 1px solid var(--atrament); }
.u, .u-empty { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(22px, 4vw, 64px); align-items: center; }
.u { padding: clamp(26px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--linia); }
.u-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--papier-2); }
.u-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.u-img:hover img { transform: scale(1.03); }
.u-count { position: absolute; left: 12px; bottom: 12px; padding: 5px 8px; background: var(--karta); color: var(--atrament); font-size: 10.5px; }
.u-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.u-body .specs { max-width: 460px; }
.u-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--szary); }
.u-t { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.u-t a { text-decoration: none; transition: color .2s var(--ease); }
.u-t a:hover { color: var(--zloto-ink); }
.u-excerpt { color: var(--szary); max-width: 56ch; }
.u-empty { padding-top: clamp(26px, 3.4vw, 44px); border-top: 1px solid var(--atrament); }
.u-empty .u-body { max-width: 520px; }
.u-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px clamp(22px, 4vw, 64px); align-items: center; padding-top: clamp(26px, 3.4vw, 44px); }
.u-more p { max-width: 60ch; margin: 8px 0 0; }
.u-sold { margin-top: clamp(48px, 6vw, 80px); }
.u-sold .m-gh { padding: 0 0 12px; border-bottom: 1px solid var(--atrament); }
.u-sold-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 24px; }
.u-sold-list a { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linia); color: var(--szary); text-decoration: none; }
.u-sold-img { width: 72px; aspect-ratio: 4 / 3; background: var(--papier-2); overflow: hidden; }
.u-sold-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .65; }
.u-sold-t { font-weight: 600; }
.u-sold-list a:hover .u-sold-t { color: var(--atrament); }

@media (max-width: 1240px) and (min-width: 900px) {
  .m-head, .m-a { grid-template-columns: minmax(0, 1fr) 48px 44px 116px 18px; }
  .m-dim, .m-head span:nth-child(3) { display: none; }
}
@media (max-width: 899px) {
  .pick, .jz-head .phead-in, .u, .u-empty, .u-more { grid-template-columns: minmax(0, 1fr); }
  .pv, .m-head { display: none; }
  .jz-art { max-width: none; justify-self: stretch; }
  .m-a { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; }
  .m-img { display: block; width: 76px; aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--linia); }
  .m-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
  .m-n, .m-dim, .m-a .m-go { display: none; }
  .m-name { font-size: 1.15rem; }
  .m.is-on .m-name { color: inherit; transform: none; }
}
@media (max-width: 640px) {
  .jz-facts > div { flex: 1 1 40%; }
  .seg span { min-height: 38px; padding: 0 11px; font-size: 14px; }
  .art-spa .lbl, .art-used .lbl { font-size: 20px; }
  .art-section .lbl { font-size: 14.5px; letter-spacing: .1em; }
}

/* Runda 1: sekcje działów z tekstami Tomasza (views/_sections.php) */
.intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.intro-text { display: flex; flex-direction: column; gap: 18px; font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.7; max-width: 62ch; }
.mat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.mat-c { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 36px); background: var(--karta); border: 1px solid var(--linia); border-radius: 4px; }
.mat-c p { color: var(--szary); line-height: 1.65; }
.mat-n { color: var(--zloto-ink); font-size: 12px; letter-spacing: .14em; }
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.block { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 2px solid var(--zloto); }
.block-h { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.block p { color: var(--szary); line-height: 1.7; max-width: 60ch; }
.blocks-act { grid-column: 1 / -1; }
.blocks .block:only-of-type { grid-column: 1 / -1; max-width: 760px; }
@media (max-width: 899px) {
  .intro, .mat, .blocks { grid-template-columns: minmax(0, 1fr); }
}

/* strona główna na telefonie: 3 oferty używanych zamiast 6 (reszta pod „Wszystkie oferty”) */
@media (max-width: 640px) { #na-sprzedaz .cards > :nth-child(n + 4) { display: none; } }

/* --- opinie z Google (runda 1, Z6): treść dosłownie, w oryginale; bez aggregateRating w schema ------------------ */
.revs-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.revs-score b { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }
.revs-score .mono { font-size: 12px; letter-spacing: .08em; color: var(--szary); }
.stars { color: var(--zloto); letter-spacing: .12em; font-size: 1rem; line-height: 1; }
.stars-off { color: var(--linia); }
.revs { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: clamp(20px, 3vw, 44px); }
.rev { break-inside: avoid; display: flex; flex-direction: column; gap: 14px; padding: 22px 0 30px; border-top: 1px solid var(--linia); }
.rev-q { margin: 0; }
.rev-q p { margin: 0; font-size: 1.06rem; line-height: 1.6; text-wrap: pretty; }
.rev-q p::before { content: "„"; }
.rev-q p::after { content: "”"; }
.rev-by { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0; }
.rev-by b { font-weight: 600; }
.rev-by .mono { font-size: 11px; letter-spacing: .1em; color: var(--szary); }

/* --- realizacje na podstronie domów (runda 1, Z9): zdjęcia Tomasza z budów -------------------------------------- */
/* Wiersze zdjęcie + tekst (runda 2): pełny tekst domów, technologia jacuzzi; zdjęcie na przemian z lewej i z prawej */
.feats { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 112px); }
.feat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.feat:nth-child(even) > .slot { order: 2; }
.feat > .slot { aspect-ratio: 4 / 3; }
.feat-txt { display: flex; flex-direction: column; gap: 16px; max-width: 62ch; }
.feat-h { font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.feat-txt p { color: var(--szary); line-height: 1.7; text-wrap: pretty; }
.feat-txt :is(strong, b), .block strong { color: var(--atrament); font-weight: 600; }
@media (max-width: 899px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat:nth-child(even) > .slot { order: 0; }
}
.block p + p { margin-top: 4px; }

.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.works figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.works img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--papier-2); }
.works figcaption { font-size: .9rem; line-height: 1.4; color: var(--szary); }
@media (max-width: 899px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } .works figcaption { font-size: .82rem; } }
.adm-video { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linia); display: grid; gap: 10px; justify-items: start; }
.adm-help-video { display: block; width: 100%; max-width: 420px; aspect-ratio: 720 / 1558; border-radius: var(--r); background: #000; }
.adm-help { margin-right: auto; font-size: 12.5px; color: var(--zloto); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.adm-help.is-active { text-decoration: none; opacity: .7; }
