/* ==========================================================================
   See Beyond Horizon – nowy wygląd (015, projekt „Redesign strony SBH”)
   Ładowany po site.css. Paleta i czcionki bez zmian (tokens.css); zmienia się
   sposób pokazania: pasek z menu nakładanym, film na cały ekran w rozdziałach,
   oferta jako warstwy, portfolio jako sala projekcyjna, proces jako oś montażowa,
   kontakt krok po kroku. Zaokrąglenia: kontrolki 12 px, kafelki 14–18 px, duże
   elementy 20–24 px, chipy i przyciski odtwarzania – pigułki.
   Ruch tylko transform/opacity; prefers-reduced-motion wyłącza animacje.
   ========================================================================== */

:root {
  --r-ctl: 12px;
  --r-tile: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --pad: clamp(20px, 5.5vw, 80px);
  --sec-y: clamp(72px, 9vw, 128px);
  --ink: #1A1A18;
  --ink-2: #121211;
  --teal-2: #2C6E83;
  --teal-tint: #D9E4E8;
  --teal-tint-2: #C7D7DD;
  --brown-h: #8A4B2C;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

html { scroll-padding-top: 88px; }
body { font-weight: 400; }
[hidden] { display: none !important; }
button, input, select, textarea { font-family: inherit; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- Wspólne: nagłówki sekcji, przyciski, linki ---------- */
.sbh-h2 {
  margin: 0; font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2.8rem, 6.1vw, 5.5rem); line-height: 1; letter-spacing: -0.02em;
}
.sbh-h2 em, .hero-title em { font-style: inherit; color: inherit; }
.sbh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px; border: 0; border-radius: var(--r-ctl);
  font-family: var(--font-sans); font-size: 17px; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.sbh-btn:hover { transform: translateY(-2px); }
.sbh-btn-brown { background: var(--sienna); color: #fff; }
.sbh-btn-brown:hover { background: var(--brown-h); color: #fff; }
.sbh-btn-light { background: var(--cream); color: var(--ink); }
.sbh-link { color: inherit; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; font-size: 17px; }
.sbh-link:hover { color: var(--sienna); }

/* ---------- Pasek (nagłówek) ---------- */
.sbh-head {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: 88px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--cream); color: var(--ink);
  transition: background-color .35s, color .35s, transform .35s var(--ease-out);
}
.sbh-head.is-over-video:not(.is-solid) { background: transparent; color: #fff; }
.sbh-head.is-hidden { transform: translateY(-100%); }
.sbh-mark { font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: inherit; text-decoration: none; white-space: nowrap; }
.sbh-head-actions { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.sbh-head-cta { color: inherit; font-size: 16px; text-decoration: none; }
.sbh-head-cta:hover, .sbh-mark:hover { opacity: .75; }
.sbh-menu-btn {
  display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0;
  background: none; border: 0; color: inherit; font: 16px var(--font-sans); cursor: pointer;
}
.sbh-menu-btn:hover { opacity: .75; }

/* ---------- Menu nakładane ---------- */
.sbh-menu {
  position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column;
  padding: 0 var(--pad) 48px; background: var(--teal); color: #fff; overflow-y: auto;
  transform: translateY(-100%); transition: transform .7s var(--ease-io);
}
.sbh-menu.is-open { transform: none; }
.sbh-menu a { color: #fff; text-decoration: none; }
.sbh-menu a:hover { color: #E8D5CB; }
.sbh-menu :focus-visible { outline-color: #fff; }
.sbh-menu-top { height: 88px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; }
.sbh-menu-body { position: relative; flex: 1 0 auto; display: flex; align-items: center; padding: 24px 0; min-height: 420px; }
.sbh-menu-groups { list-style: none; margin: 0; padding: 0; width: 44%; display: flex; flex-direction: column; gap: 4px; }
.sbh-menu-link {
  display: inline-block; font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(3rem, 6.6vw, 6rem); line-height: 1.08; letter-spacing: -0.02em;
  color: rgba(255, 255, 255, .62) !important; transition: color .2s;
}
.sbh-menu-group.is-active .sbh-menu-link { color: #fff !important; }
.sbh-menu.is-open .sbh-menu-link { animation: sbhRise .7s var(--ease-out) both; animation-delay: calc(150ms + var(--i, 0) * 80ms); }
.sbh-menu-sub, .sbh-menu-lead { display: none; }
.sbh-menu-group.is-active .sbh-menu-sub {
  display: block; position: absolute; left: 47%; width: 24%; top: 50%; transform: translateY(-50%);
  animation: sbhFade .45s ease-out both;
}
.sbh-menu-sub ul { list-style: none; margin: 0 0 16px; padding: 0; }
.sbh-menu-sub li a { display: block; padding: 7px 0; font-size: 19px; line-height: 1.35; }
.sbh-menu-subhead { margin: 0 0 4px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.sbh-menu-group.is-active .sbh-menu-lead {
  display: flex; align-items: flex-end; position: absolute; right: 0; width: 24%; top: 50%;
  transform: translateY(-50%); min-height: 300px; margin: 0; padding: 24px;
  border-radius: var(--r-lg); background: var(--teal-2); font-family: var(--font-serif);
  font-size: 26px; line-height: 1.2; animation: sbhFade .45s ease-out both;
}
.sbh-menu-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 17px; }
.sbh-menu-contact { display: flex; flex-wrap: wrap; gap: 12px 48px; }
.sbh-lang { display: flex; gap: 8px; }
.sbh-lang button {
  min-width: 48px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: rgba(255, 255, 255, .75); font: 16px var(--font-sans); cursor: pointer;
}
.sbh-lang button.active { background: rgba(255, 255, 255, .16); color: #fff; }
body.menu-open { overflow: hidden; }

@keyframes sbhRise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes sbhFade { from { opacity: 0; transform: translateY(calc(-50% + 14px)); } to { opacity: 1; transform: translateY(-50%); } }
@keyframes sbhIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sbhInX { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }

/* ---------- Komputer: panel od góry (04.11.2026) ---------- */
.sbh-mega { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.sbh-mega-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 9, .5); opacity: 0; transition: opacity .3s; pointer-events: auto; }
.sbh-mega.is-open .sbh-mega-backdrop { opacity: 1; }
.sbh-mega-panel {
  position: absolute; top: 0; left: 0; right: 0; max-height: 100vh; overflow-y: auto; pointer-events: auto;
  display: flex; flex-direction: column; gap: 22px; padding: 22px var(--pad) 26px;
  border-radius: 0 0 28px 28px; background: var(--cream); color: var(--ink);
  transform: translateY(-104%); transition: transform .38s var(--ease-out);
}
.sbh-mega.is-open .sbh-mega-panel { transform: none; }
.sbh-mega a { color: inherit; }
.sbh-mega a.sbh-btn-brown, .sbh-mega a.sbh-mega-tile { color: #fff; }
.sbh-mega-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.sbh-mega-close { display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: var(--ink); font: 16px var(--font-sans); cursor: pointer; }
.sbh-mega-x { width: 44px; height: 44px; border-radius: var(--r-pill); background: #E2DEDB; display: flex; align-items: center; justify-content: center; }
.sbh-mega-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sbh-mega .sbh-mega-tile { min-height: 150px; padding: 20px; color: #fff; text-decoration: none; outline-offset: 3px; transition: transform .2s var(--ease-out); }
.sbh-mega .sbh-mega-tile .sbh-sheet-tile-t { font-size: clamp(28px, 2.4vw, 36px); }
.sbh-mega .sbh-mega-tile .sbh-sheet-tile-d { font-size: 14px; }
.sbh-mega-tile:hover { transform: translateY(-3px); }
.sbh-mega-tile.is-active { outline: 3px solid var(--ink); }
.sbh-mega-below { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.sbh-mega-below .sbh-sheet-l:first-child { margin-top: 0; }
.sbh-mega-group { animation: sbhIn .25s ease-out both; }
.sbh-mega-group .sbh-sheet-h h2 { font-size: 40px; }
.sbh-mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sbh-mega-cols.is-single { grid-template-columns: 1fr; }
.sbh-mega-cols.is-single .sbh-sheet-list { display: grid; grid-template-columns: 1fr 1fr; }
.sbh-mega .sbh-sheet-list a { min-height: 48px; transition: background-color .15s, transform .15s; }
.sbh-mega .sbh-sheet-list a:hover { background: #E2DEDB; transform: translateX(3px); }
.sbh-mega .sbh-sheet-chips a:hover { background: #D5D0CC; }
.sbh-mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sbh-mega-foot-r { display: flex; align-items: center; gap: 24px; }
.sbh-mega :focus-visible { outline-color: var(--teal); }
@media (max-width: 900px) { .sbh-mega { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .sbh-mega-panel { transform: none; } }

/* ---------- Telefon: menu jako arkusz od dołu (wariant B) ---------- */
.sbh-sheet { position: fixed; inset: 0; z-index: 1000; }
.sbh-sheet-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 9, .55); opacity: 0; transition: opacity .3s; }
.sbh-sheet.is-open .sbh-sheet-backdrop { opacity: 1; }
.sbh-sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: min(86vh, 720px); height: min(86dvh, 720px);
  display: flex; flex-direction: column; border-radius: 24px 24px 0 0; background: var(--cream); color: var(--ink);
  transform: translateY(100%); transition: transform .35s var(--ease-out);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sbh-sheet.is-open .sbh-sheet-panel { transform: none; }
.sbh-sheet-bar { position: relative; flex: 0 0 auto; height: 44px; display: flex; align-items: center; justify-content: center; touch-action: none; }
.sbh-sheet-grab { width: 44px; height: 5px; border-radius: 3px; background: var(--grey); }
.sbh-sheet-x { position: absolute; right: 10px; top: 4px; width: 40px; height: 40px; border: 0; border-radius: var(--r-pill); background: #E2DEDB; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sbh-sheet-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 18px 12px; }
.sbh-sheet-view { animation: sbhIn .3s ease-out both; }
.sbh-sheet-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sbh-sheet-tile {
  min-height: 132px; padding: 16px; border: 0; border-radius: 18px; color: #fff; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px; font-family: var(--font-sans);
  transition: transform .2s var(--ease-out);
}
.sbh-sheet-tile:active { transform: scale(.97); }
.sbh-sheet-tile-0 { background: var(--ink); } .sbh-sheet-tile-1 { background: var(--teal); }
.sbh-sheet-tile-2 { background: var(--graphite); } .sbh-sheet-tile-3 { background: var(--sienna); }
.sbh-sheet-tile-t { font-family: var(--font-serif); font-size: 30px; line-height: 1; }
.sbh-sheet-tile-d { font-size: 13px; line-height: 1.35; opacity: .92; }
.sbh-sheet-l { margin: 18px 0 8px; font-size: 13px; color: var(--graphite); }
.sbh-sheet-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sbh-sheet-chips a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: var(--r-pill); background: #E2DEDB; color: var(--ink); font-size: 15px; text-decoration: none; }
.sbh-sheet-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--graphite); font: 15px var(--font-sans); cursor: pointer; }
.sbh-sheet-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 0 6px; }
.sbh-sheet-h h2 { margin: 0; font-family: var(--font-serif); font-weight: 300; font-size: 38px; line-height: 1; color: var(--teal); }
.sbh-sheet-h a { font-size: 14px; color: var(--ink); white-space: nowrap; }
.sbh-sheet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sbh-sheet-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 16px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 16px; text-decoration: none; }
.sbh-sheet-list a:active { background: #E2DEDB; }
.sbh-sheet-foot { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; padding: 12px 18px 16px; background: var(--cream); box-shadow: 0 -12px 20px var(--cream); }
.sbh-sheet-cta { width: 100%; }
.sbh-sheet-row { display: flex; align-items: center; justify-content: space-between; }
.sbh-sheet-icons { display: flex; gap: 10px; }
.sbh-sheet-icons a { width: 44px; height: 44px; border-radius: var(--r-pill); background: #E2DEDB; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.sbh-sheet-lang { display: flex; gap: 4px; }
.sbh-sheet-lang button { min-width: 44px; height: 40px; border: 0; border-radius: var(--r-pill); background: none; color: var(--graphite); font: 15px var(--font-sans); cursor: pointer; }
.sbh-sheet-lang button.active { background: #E2DEDB; color: var(--ink); }
.sbh-sheet :focus-visible { outline-color: var(--teal); }
@media (min-width: 901px) { .sbh-sheet { display: none !important; } }

/* ---------- Hero: film na cały ekran ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: var(--ink-2); color: #fff; padding: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: auto 0 0 0; height: 62%; background: linear-gradient(to top, rgba(10, 10, 9, .8), rgba(10, 10, 9, 0)); pointer-events: none; }
.hero::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 160px; background: linear-gradient(to bottom, rgba(10, 10, 9, .45), rgba(10, 10, 9, 0)); z-index: 1; pointer-events: none; }
.hero-bar { position: absolute; left: 0; width: 100%; height: 50%; background: var(--ink-2); z-index: 2; animation: sbhBar 1.6s var(--ease-io) .2s both; pointer-events: none; }
.hero-bar-t { top: 0; transform-origin: top; }
.hero-bar-b { bottom: 0; transform-origin: bottom; }
@keyframes sbhBar { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(32px, 7vh, 64px); z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 64px;
}
.hero-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero-title-mask { overflow: hidden; padding-bottom: .06em; }
.hero-title {
  margin: 0; font-family: var(--font-serif); font-weight: 300; color: #fff;
  font-size: clamp(3.2rem, 8.4vw, 7.6rem); line-height: .98; letter-spacing: -0.025em;
  animation: sbhTitle 1s var(--ease-out) 1.1s both;
}
@keyframes sbhTitle { from { transform: translateY(105%); } to { transform: none; } }
.hero-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 40px; animation: sbhIn .8s ease-out 1.5s both; }
.hero-sub { margin: 0; max-width: 440px; font-size: 19px; line-height: 1.5; text-align: left; color: #fff; }
.hero-link { color: #fff; }
.hero-link:hover { color: #E8D5CB; }
.hero-side { flex: 0 0 340px; display: flex; flex-direction: column; gap: 14px; animation: sbhIn .8s ease-out 1.5s both; }
.hero-note { margin: 0; font-size: 15px; line-height: 1.45; color: #E3E1DF; text-align: left; }
.hero-chapter { margin: 0; font-size: 16px; line-height: 1.4; text-align: left; }
.hero-segs { display: flex; gap: 6px; }
.hero-seg { flex: 1 1 0; height: 24px; padding: 10px 0; border: 0; background: none; cursor: pointer; }
.hero-seg > span { display: block; position: relative; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .35); }
.hero-seg i { position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.hero-play {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0;
  border: 0; background: none; color: #fff; font: 15px var(--font-sans); cursor: pointer;
}
.hero-play:hover { opacity: .8; }
.hero :focus-visible { outline-color: #fff; }

/* ---------- O nas ---------- */
.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px);
  align-items: center; padding: var(--sec-y) var(--pad); background: var(--cream);
}
.about-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: #E2DEDB; }
.about-photo img, .about-photo picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-text .sbh-h2 { color: var(--teal); }
.about-body { margin-top: 28px; }
.about-body p { margin: 0 0 16px; font-size: 18px; line-height: 1.7; color: #3A3A38; text-align: left; }
.about-sign { margin: 24px 0 0; font-size: 16px; color: var(--graphite); }
.about-sign strong { color: var(--ink); font-weight: 500; }
.about-stats { margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; }
.about-stats div { padding: 20px 22px; border-radius: var(--r-tile); background: #fff; }
.about-stats dt { font-family: var(--font-serif); font-weight: 300; font-size: 52px; line-height: 1; color: var(--teal); }
.about-stats dd { margin: 8px 0 0; font-size: 15px; color: var(--graphite); }

/* Opinie – zaokrąglenia na wspólnych elementach */
.testimonial-nav { border-radius: var(--r-pill) !important; }
.review-submit-btn { border-radius: var(--r-ctl) !important; }
.review-text-input { border-radius: var(--r-tile) !important; }

/* ---------- Oferta: warstwy ---------- */
.offer {
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px);
  padding: var(--sec-y) var(--pad); background: var(--teal); color: #fff;
}
.offer a { color: #fff; }
.offer-side { display: flex; flex-direction: column; gap: 36px; }
.offer-groups { display: flex; flex-direction: column; gap: 8px; }
.offer-group {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 0; border-radius: 18px;
  background: var(--teal-2); color: #fff; text-align: left; cursor: pointer;
  transition: background-color .25s, color .25s, transform .25s var(--ease-out);
}
.offer-group:hover { transform: translateX(4px); }
.offer-group[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.offer-group-t { font-family: var(--font-serif); font-size: clamp(30px, 2.7vw, 38px); line-height: 1.05; }
.offer-group-l { font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.offer-group[aria-pressed="true"] .offer-group-l { color: #3A3A38; }
.offer-cta { margin-top: auto; align-self: flex-start; }
.offer-main { padding-top: 12px; min-width: 0; }
.offer-layers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.offer-layer-wrap { padding-left: calc(var(--i, 0) * 28px); }
.offer-panel:not([hidden]) .offer-layer-wrap { animation: sbhInX .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.offer-layer {
  width: min(560px, 100%); min-height: 72px; padding: 12px 28px; border: 0; border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--teal-2); color: #fff; text-align: left; cursor: pointer;
  transition: background-color .3s, color .3s, transform .35s var(--ease-out);
}
.is-all .offer-layer { width: min(720px, 100%); }
.offer-layer { text-decoration: none; }
.offer a.offer-layer, .offer a.offer-layer:hover { color: #fff; }
.offer a.offer-layer.is-lit { background: var(--teal-tint); color: var(--ink); }
.offer a.offer-layer.is-active { background: var(--cream); color: var(--ink); transform: translateX(-20px); }
.offer-layer:hover:not(.is-active) { transform: translateX(-8px); }
.offer-layer-r { display: inline-flex; align-items: center; gap: 16px; }
.offer-layer-arr { font-size: 20px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s var(--ease-out); }
.offer-layer.is-active .offer-layer-arr, .offer-layer:hover .offer-layer-arr, .offer-layer:focus-visible .offer-layer-arr { opacity: 1; transform: none; }
@media (hover: none) {
  .offer-layer-arr { opacity: .8; transform: none; }
  .offer-detail { display: none !important; }   /* telefon/tablet: dotknięcie = od razu podstrona */
  .offer a.offer-layer.is-active, .offer a.offer-layer.is-lit { background: var(--teal-2); color: #fff; transform: none; }
}
.offer-layer-t { font-family: var(--font-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.offer-layer-n { font-size: 15px; text-align: right; }
.offer :focus-visible { outline-color: #fff; }
.offer-detail { display: flex; gap: 56px; align-items: flex-start; margin-top: 40px; animation: sbhIn .45s ease-out both; }
.offer-desc { margin: 0; flex: 0 1 420px; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .92); text-align: left; }
.offer-scope { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.offer-scope a { text-decoration: none; display: inline-block; padding: 4px 0; }
.offer-scope a:hover { color: #E8D5CB; }

/* ---------- Portfolio: sala projekcyjna ---------- */
.portfolio { padding: var(--sec-y) var(--pad); background: var(--ink); color: var(--cream); }
.portfolio-page { padding-top: calc(88px + 56px); min-height: 100vh; }
.pf a { color: var(--cream); }
.pf a:hover { color: var(--color-accent-on-dark); }
.pf :focus-visible { outline-color: var(--cream); }
.pf-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 40px; }
.pf-head-top, .pf-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.pf-head-row { align-items: center; }
/* rodzaj: przełącznik z ikonami */
.pf-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: #262624; flex-shrink: 0; }
.pf-type { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: none; color: var(--grey); font: 15px var(--font-sans); cursor: pointer; transition: background-color .2s, color .2s; }
.pf-type:hover { color: var(--cream); }
.pf-type[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.pf-type:disabled, .pf-tab:disabled, .pf-face:disabled { opacity: .35; cursor: default; }
/* kategorie: zakładki */
.pf-tabs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; min-width: 0; }
.pf-tab { padding: 4px 0; border: 0; background: none; color: #6E706F; font-family: var(--font-serif); font-weight: 300; font-size: clamp(24px, 2vw, 30px); line-height: 1.15; white-space: nowrap; cursor: pointer; transition: color .2s; }
.pf-tab sup { margin-left: 4px; font: 13px var(--font-sans); vertical-align: 14px; }
.pf-tab:hover:not(:disabled) { color: var(--grey); }
.pf-tab[aria-pressed="true"] { color: var(--cream); }
/* twórcy: twarze */
.pf-faces { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.pf-faces-stack { display: flex; }
/* 047: „Wróć do wszystkich” – po lewej stronie twarzy, widoczne przy wybranym twórcy */
.pf-faces-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 10px; border: 1px solid rgba(240,234,214,.28); border-radius: 999px; background: none; color: var(--cream); font: 14px var(--font-sans); cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s; }
.pf-faces-back:hover, .pf-faces-back:focus-visible { background: rgba(240,234,214,.08); border-color: var(--cream); }
.pf-faces-back[hidden] { display: none; }
.pf-face { position: relative; width: 48px; height: 48px; margin-left: -10px; padding: 0; border: 3px solid var(--ink); border-radius: var(--r-pill); overflow: hidden; cursor: pointer; color: #fff; font: 500 15px var(--font-sans); transition: transform .2s var(--ease-out), opacity .2s; }
.pf-face:first-child { margin-left: 0; }
.pf-face:hover:not(:disabled) { transform: translateY(-3px); z-index: 3; }
.pf-face-0 { background: var(--teal); } .pf-face-1 { background: var(--sienna); } .pf-face-2 { background: var(--graphite); }
.pf-face img, .pf-face picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-face > span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.pf-face[aria-pressed="true"] { outline: 2px solid var(--cream); outline-offset: 1px; z-index: 2; }
.pf-face.is-dim { opacity: .45; }
.pf-faces-l { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.35; color: var(--grey); text-align: left; }
.pf-faces-l strong { color: var(--cream); font-weight: 500; }
.pf-faces-all { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--grey); font: 15px var(--font-sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pf-faces-all:hover { color: var(--cream); }
.pf-body { --stage-h: min(56vh, 540px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.pf-stage { min-width: 0; }
.pf-scene { display: flex; flex-direction: column; gap: 28px; }
.pf-scene.is-v { flex-direction: row; align-items: flex-end; gap: 48px; }
.pf-frame {
  position: relative; flex-shrink: 0; overflow: hidden; border-radius: 20px; background: #0F0F0E;
  width: min(100%, calc(var(--stage-h) * 16 / 9)); aspect-ratio: 16 / 9;
}
.pf-scene.is-v .pf-frame { width: auto; height: var(--stage-h); aspect-ratio: 9 / 16; }
.pf-scene.is-g .pf-frame, .pf-scene.is-w .pf-frame { aspect-ratio: auto; height: var(--stage-h); width: 100%; }
.pf-shot { position: absolute; inset: 0; animation: pfShot .9s var(--ease-out) both; }
@keyframes pfShot { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
.pf-lb { position: absolute; left: 0; width: 100%; height: 50%; background: #0F0F0E; animation: sbhBar .8s var(--ease-io) both; pointer-events: none; z-index: 2; }
.pf-lb-t { top: 0; transform-origin: top; }
.pf-lb-b { bottom: 0; transform-origin: bottom; }
.pf-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border: 0; background: rgba(10, 10, 9, .18); cursor: pointer; z-index: 1;
}
.pf-play span {
  width: 72px; height: 72px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92);
  display: flex; align-items: center; justify-content: center; transition: transform .25s var(--ease-out);
}
.pf-play:hover span { transform: scale(1.08); }
.pf-frame iframe, .pf-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.pf-credits { flex-grow: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; animation: sbhIn .7s ease-out .35s both; }
.pf-scene.is-v .pf-credits { flex-direction: column; gap: 28px; }
.pf-credits h3 { margin: 0 0 10px; font-family: var(--font-serif); font-weight: 300; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.pf-credits p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--grey); text-align: left; }
.pf-act { flex-shrink: 0; }
/* galeria */
.pf-gal { position: absolute; inset: 0; display: flex; flex-direction: column; }
.pf-gal-main { position: relative; flex-grow: 1; overflow: hidden; }
.pf-gal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: pfGal .5s ease-out both; }
@keyframes pfGal { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.pf-gal-bar { height: 92px; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--ink-2); overflow-x: auto; scrollbar-width: none; }
.pf-gal-bar::-webkit-scrollbar { display: none; }
.pf-gal-nav { flex: 0 0 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: none; color: var(--cream); font-size: 20px; cursor: pointer; }
.pf-gal-nav:hover { background: #262624; }
.pf-thumb { flex: 0 0 88px; height: 60px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .5; background: #262624; transition: opacity .2s, transform .2s; }
.pf-thumb[aria-current="true"], .pf-thumb:hover { opacity: 1; }
.pf-thumb:hover { transform: translateY(-3px); }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* strona WWW */
.pf-www { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #2E3A3E; }
.pf-www-in { position: relative; width: 88%; max-width: 640px; aspect-ratio: 64 / 34; }
.pf-browser { position: absolute; left: 0; top: 0; width: 87.5%; height: 100%; border-radius: var(--r-ctl); overflow: hidden; background: var(--cream); display: flex; flex-direction: column; }
.pf-browser-bar { height: 32px; flex: 0 0 auto; display: flex; align-items: center; padding: 0 14px; background: #DAD6D3; color: #3A3A38; font-size: 13px; }
.pf-browser img, .pf-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.pf-browser-shot { flex-grow: 1; min-height: 0; }
.pf-phone { position: absolute; right: 0; bottom: -10px; width: 23.5%; aspect-ratio: 1 / 2; padding: 8px; border-radius: 22px; background: var(--ink); }
.pf-phone > span { display: block; width: 100%; height: 100%; border-radius: 15px; overflow: hidden; background: var(--cream); }
.pf-noshot { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--graphite); font-size: 14px; }
/* lista */
.pf-list { list-style: none; margin: 0; padding: 0 4px 0 0; max-height: calc(var(--stage-h) + 120px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3A3A38 transparent; }
.pf-row {
  width: 100%; min-height: 48px; padding: 8px 0; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; text-align: left; color: #8E908F;
  transition: color .2s, transform .25s var(--ease-out);
}
.pf-row:hover, .pf-row[aria-current="true"] { color: var(--cream); }
.pf-row[aria-current="true"] { transform: translateX(12px); }
.pf-row-t { font-family: var(--font-serif); font-size: 24px; line-height: 1.15; }
.pf-row-m { font-size: 14px; color: #A3A5A4; }
.pf-empty-state {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px;
  min-height: min(48vh, 420px); padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: #222220;
  animation: sbhIn .45s ease-out both;
}
.pf-empty-t { margin: 0; max-width: 720px; font-family: var(--font-serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; color: var(--cream); text-align: left; }
.pf-empty-a { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.pf-empty-reset { padding: 0; border: 0; background: none; color: var(--grey); font: 17px var(--font-sans); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.pf-empty-reset:hover { color: var(--cream); }
.pf-strip { display: none; }
.pf-more { margin: 40px 0 0; }
.pf-cta { margin-top: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.pf-cta p { margin: 0; flex: 1 1 260px; font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px); }
.pf-lightbox {
  position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center;
  padding: 64px var(--pad); background: rgba(10, 10, 9, .94);
}
.pf-lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--r-tile); object-fit: contain; }
.pf-lightbox button { position: absolute; top: 16px; right: 16px; min-width: 48px; min-height: 48px; border: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; cursor: pointer; }

/* Film pionowy (komputer): zwarty blok – napisy po lewej, wyrównane do filmu; film tuż przy liście */
@media (min-width: 901px) {
  .pf-body:has(.pf-scene.is-v) { grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 40px; }
  .pf-scene.is-v { flex-direction: row-reverse; justify-content: flex-start; align-items: flex-start; gap: 36px; }
  .pf-scene.is-v .pf-credits { flex-grow: 0; width: 320px; flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: 24px; padding-top: 8px; }
  .pf-scene.is-v .pf-credits h3 { font-size: clamp(30px, 2.6vw, 38px); }
  .pf-scene.is-v .pf-credits > div, .pf-scene.is-v .pf-credits p { text-align: right; }
}

/* ---------- Case study na stronie głównej ---------- */
.cs-latest .section-label { display: none; }
.cs-card { border: 0 !important; border-radius: var(--r-lg); overflow: hidden; }
.cs-card-cover { border-radius: 0; }

/* ---------- Proces: oś montażowa ---------- */
.process { padding: var(--sec-y) var(--pad); background: var(--cream); color: var(--ink); }
.process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.process-head .sbh-h2 { color: var(--teal); }
.process-play {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0;
  border: 0; background: none; color: var(--ink); font: 16px var(--font-sans); cursor: pointer; flex-shrink: 0;
}
.process-play:hover { opacity: .75; }
.process-track { position: relative; margin: 72px 0 56px; }
.process-clips { display: flex; align-items: center; gap: 6px; height: 120px; }
.process-clip {
  flex: var(--w, 20) 1 0; min-width: 0; height: 120px; padding: 16px 18px; border: 0; border-radius: var(--r-ctl);
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px; text-align: left; cursor: pointer;
  background: var(--teal-tint); color: var(--ink); font-family: var(--font-sans);
  transition: background-color .35s, color .35s, transform .35s var(--ease-out);
}
.process-clip:nth-of-type(even) { background: var(--teal-tint-2); }
.process-clip[aria-selected="true"] { background: var(--teal); color: #fff; }
.process-clip:hover { transform: translateY(-4px); }
.process-clip-t { font-size: 15px; line-height: 1.3; }
.process-clip-n { font-size: 13px; opacity: .8; }
.process-gate { position: relative; flex: 0 0 10px; height: 150px; border-radius: 5px; background: var(--sienna); }
.process-gate > span { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 15px; color: var(--sienna); }
.process-head-line { position: absolute; top: -12px; left: 0; width: 4px; height: 144px; border-radius: 2px; background: var(--ink); pointer-events: none; will-change: transform; }
.process-step { display: flex; gap: clamp(32px, 6vw, 80px); align-items: flex-start; animation: sbhIn .55s var(--ease-out) both; }
.process-step h3 { margin: 0; flex: 0 1 560px; font-family: var(--font-serif); font-weight: 300; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.05; }
.process-step > div { max-width: 560px; }
.process-step p { margin: 0 0 18px; font-size: 20px; line-height: 1.55; color: #3A3A38; text-align: left; }
.process-step .process-step-gate { display: inline-block; padding: 8px 16px; border-radius: var(--r-pill); background: #EADFD9; color: var(--sienna); font-size: 15px; }
.process-step .process-step-gate::before { content: '◆ '; font-size: 11px; vertical-align: 1px; }

/* ---------- Kontakt: krok po kroku ---------- */
.contact {
  --c-bg: var(--cream); --c-fg: var(--ink); --c-head: var(--teal); --c-sub: #3A3A38; --c-chip: #E2DEDB;
  --c-err: var(--sienna); --c-btn: var(--ink); --c-btn-fg: var(--cream); --c-mode: rgba(26, 26, 24, .08);
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(40px, 6.6vw, 96px);
  min-height: 760px; padding: var(--sec-y) var(--pad); background: var(--c-bg); color: var(--c-fg);
  transition: background-color .7s var(--ease-io), color .4s;
}
.contact[data-theme="subscription"] { --c-bg: var(--teal); --c-fg: #fff; --c-head: #fff; --c-sub: rgba(255, 255, 255, .88); --c-chip: rgba(255, 255, 255, .16); --c-err: #FFE3D6; --c-btn: var(--cream); --c-btn-fg: var(--ink); --c-mode: rgba(255, 255, 255, .16); }
.contact[data-theme="single"] { --c-bg: var(--sienna); --c-fg: #fff; --c-head: #fff; --c-sub: rgba(255, 255, 255, .88); --c-chip: rgba(255, 255, 255, .16); --c-err: #FFE3D6; --c-btn: var(--cream); --c-btn-fg: var(--ink); --c-mode: rgba(255, 255, 255, .16); }
.contact[data-theme="other"] { --c-bg: var(--ink); --c-fg: var(--cream); --c-head: var(--cream); --c-sub: #D5D3D1; --c-chip: #2F2F2C; --c-err: #E8A07C; --c-btn: var(--sienna); --c-btn-fg: var(--cream); --c-mode: #2F2F2C; }
.contact a { color: inherit; }
.contact[data-theme]:not([data-theme="start"]) :focus-visible { outline-color: #fff; }
.contact-side { display: flex; flex-direction: column; gap: 32px; }
.contact-side .sbh-h2 { color: var(--c-head); }
.contact-lead { margin: 0; font-size: 19px; line-height: 1.5; color: var(--c-sub); text-align: left; }
.contact-path { display: flex; flex-direction: column; gap: 8px; }
.contact-path-l { font-size: 15px; color: var(--c-sub); }
.contact-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-chip { padding: 10px 18px; border-radius: var(--r-pill); background: var(--c-chip); font-size: 16px; animation: sbhInX .4s ease-out both; }
.contact-direct { margin-top: auto; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.contact-direct a { text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }
.contact-direct span { color: var(--c-sub); }
.contact-main { min-width: 0; display: flex; flex-direction: column; }
.contact-view { display: flex; flex-direction: column; gap: 28px; }
.contact-view[data-view="type"], .contact-view[data-view="done"] { justify-content: center; flex-grow: 1; }
.contact-view > * { animation: sbhInX .55s var(--ease-out) both; }
.contact-q { margin: 0; font-family: var(--font-serif); font-weight: 300; font-size: clamp(34px, 3.3vw, 48px); line-height: 1.1; }
.contact-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-type {
  height: 380px; padding: 32px; border: 0; border-radius: 24px; cursor: pointer; text-align: left; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  transition: transform .35s var(--ease-out); animation: sbhInX .55s var(--ease-out) both; animation-delay: calc(60ms + var(--i, 0) * 70ms);
}
.contact-type.is-teal { background: var(--teal); }
.contact-type.is-brown { background: var(--sienna); }
.contact-type.is-ink { background: var(--ink); }
/* 056: konfigurator zapytania jako czwarty kafel; przy 4 kaflach siatka 2 × 2 */
.contact-type.is-wiz { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--teal); }
.contact-type.is-wiz .contact-type-d { color: rgba(26, 26, 24, .78); }
.contact-type.is-wiz .contact-arr { color: var(--teal); }
.contact-type.is-wiz:hover { background: rgba(35, 95, 115, .06); }
.contact-type-top { display: flex; flex-direction: column; gap: 14px; }
.contact-tool { width: 34px; height: 34px; color: var(--teal); }
/* 059: cztery pionowe kafle obok siebie (jak wcześniej trzy) – mniejsza czcionka i odstępy, żeby się zmieściły */
.contact-types.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.contact-types.is-4 .contact-type { height: 360px; padding: 22px 20px; gap: 14px; border-radius: 20px; }
.contact-types.is-4 .contact-type-t { font-size: clamp(22px, 1.75vw, 30px); hyphens: manual; overflow-wrap: normal; word-break: normal; }
.contact-types.is-4 .contact-type-d { font-size: 15px; gap: 14px; }
.contact-types.is-4 .contact-tool { width: 28px; height: 28px; }
@media (max-width: 1180px) and (min-width: 901px) { .contact-types.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-types.is-4 .contact-type { height: 260px; } }
/* 059: godziny kontaktu telefonicznego */
.contact-hours { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.contact-hours-l { font-size: 16px; color: var(--c-sub); }
.contact-hours-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-hour { min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: 15px var(--font-sans); cursor: pointer; opacity: .85; transition: background .2s, color .2s, opacity .2s; }
.contact-hour:hover { opacity: 1; }
.contact-hour[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); opacity: 1; }
.contact-hour[aria-pressed="true"]::before { content: "✓ "; }
.contact-hour:focus-visible { outline: 3px solid var(--c-fg); outline-offset: 2px; }
.contact-type:hover { transform: translateY(-8px); }
.contact-type-t { font-family: var(--font-serif); font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; overflow-wrap: anywhere; hyphens: auto; }
.contact-type-d { display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.contact-arr { font-size: 26px; color: #fff; transition: transform .25s; }
.contact-type:hover .contact-arr { transform: translateX(10px); }
.contact-back { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 16px var(--font-sans); cursor: pointer; }
.contact-back:hover { opacity: .7; }
.contact-products { display: grid; gap: 28px; }
.contact-products.is-sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-products.is-sub .contact-pgroup { display: contents; }
.contact-products.is-one { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.contact-pgroup { display: flex; flex-direction: column; gap: 10px; }
.contact-pgroup-t { font-size: 15px; color: var(--c-sub); }
.contact-product {
  min-height: 64px; padding: 16px 20px; border: 0; border-radius: 14px; cursor: pointer; text-align: left;
  background: var(--cream); color: var(--ink); font-family: var(--font-serif); font-size: 24px; line-height: 1.15;
  transition: transform .2s ease-out, background-color .2s;
}
.contact-product:hover { transform: translateX(6px); background: #fff; }
.contact-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-mode {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--r-ctl);
  background: var(--c-mode); color: inherit; font: 18px var(--font-sans); cursor: pointer; transition: background-color .2s, color .2s;
}
.contact-mode[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.contact-field { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.contact-field label { font-size: 16px; color: var(--c-sub); }
.contact-input { display: flex; gap: 8px; }
.contact-prefix { display: flex; align-items: center; padding: 0 18px; border-radius: 14px; background: #E2DEDB; color: var(--ink); font-size: 26px; }
.contact-input input, .contact-field textarea {
  flex-grow: 1; min-width: 0; height: 72px; padding: 0 20px; border: 0; border-radius: 14px;
  background: var(--cream); color: var(--ink); font: 26px var(--font-sans);
}
#cf-phone { letter-spacing: .06em; }
.contact-field textarea { height: auto; min-height: 110px; padding: 16px 20px; font-size: 18px; line-height: 1.5; resize: vertical; }
.contact-input input:focus-visible, .contact-field textarea:focus-visible { outline: 3px solid var(--c-fg); outline-offset: 2px; }
[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--c-err); }
.contact-error { margin: -12px 0 0; min-height: 22px; font-size: 16px; font-weight: 500; color: var(--c-err); }
.contact-send { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; max-width: 760px; }
.contact-consent { display: flex; gap: 12px; align-items: flex-start; max-width: 340px; font-size: 15px; line-height: 1.45; color: var(--c-sub); cursor: pointer; }
.contact-consent input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.contact-submit {
  min-height: 60px; padding: 0 32px; border: 0; border-radius: var(--r-ctl); cursor: pointer;
  background: var(--c-btn); color: var(--c-btn-fg); font: 500 18px var(--font-sans); transition: transform .2s, opacity .2s;
}
.contact-submit:hover { transform: translateY(-2px); }
.contact-submit:disabled { opacity: .6; cursor: progress; transform: none; }
.contact-done { margin: 0; font-family: var(--font-serif); font-weight: 300; font-size: clamp(48px, 5vw, 72px); line-height: 1.05; }
.contact-done-p { margin: 0; max-width: 560px; font-size: 21px; line-height: 1.5; text-align: left; }
.contact-view[data-view="done"] .contact-back { text-decoration: underline; font-size: 17px; }
.form-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.g-recaptcha { min-height: 78px; }

/* ---------- Stopka i podstrony ---------- */
footer { border-top: 0 !important; }
.article-cta { border-top: 0 !important; }
.article-cta .btn-primary, .btn-primary { border-radius: var(--r-ctl); }
.article-body img, .article-body picture img, .sbh-rich img { border-radius: var(--r-tile); }
.page-nav-prev, .page-nav-next { border-radius: var(--r-pill); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .hero-foot { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero-side { flex: 0 0 auto; max-width: 420px; }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer-side { gap: 24px; }
  .offer-groups { flex-direction: row; }
  .offer-group { flex: 1 1 0; }
  .offer-cta { margin-top: 0; }
  .contact { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .contact-direct { margin-top: 0; }
  .sbh-menu-groups { width: 100%; }
  .sbh-menu-group.is-active .sbh-menu-lead { display: none; }
  .sbh-menu-group.is-active .sbh-menu-sub { left: 58%; width: 40%; }
}

/* ---------- Telefon ---------- */
@media (max-width: 900px) {
  :root { --sec-y: 72px; }
  html { scroll-padding-top: 72px; }
  .sbh-head { height: 72px; }
  .sbh-mark { font-size: 22px; }
  .sbh-head-cta { display: none; }
  .sbh-menu-top { height: 72px; }
  .sbh-menu-body { display: block; min-height: 0; padding: 16px 0 32px; }
  .sbh-menu-link { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .sbh-menu-sub { display: block !important; position: static !important; width: auto !important; transform: none !important; animation: none !important; margin: 0 0 18px; }
  .sbh-menu-sub ul { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0 0 6px; }
  .sbh-menu-sub li a { font-size: 16px; padding: 6px 0; color: rgba(255, 255, 255, .88); }
  .sbh-menu-subhead { display: none; }
  .sbh-menu-link { color: #fff !important; }
  .sbh-menu-foot { flex-direction: column; align-items: flex-start; }
  .sbh-menu-contact { flex-direction: column; gap: 8px; }

  .hero { min-height: 560px; }
  .hero-row { gap: 16px 24px; }
  .hero-sub { font-size: 17px; }
  .hero-side { max-width: none; }

  .about { grid-template-columns: minmax(0, 1fr); }
  .about-photo { max-width: 460px; aspect-ratio: 4 / 4.4; }
  .about-stats dt { font-size: 42px; }

  .offer-groups { flex-direction: column; }
  .offer-layer-wrap { padding-left: calc(var(--i, 0) * 10px); }
  .offer-layer { width: 100% !important; min-height: 64px; padding: 10px 20px; }
  .offer a.offer-layer.is-active { transform: translateX(-6px); }
  .offer-detail { flex-direction: column; gap: 20px; margin-top: 28px; }
  .offer-desc { flex-basis: auto; font-size: 18px; }

  .portfolio { padding-left: 0; padding-right: 0; }
  .pf-head, .pf-more, .pf-cta { padding-left: var(--pad); padding-right: var(--pad); }
  .pf-empty-state { margin: 0 var(--pad); min-height: 300px; }
  .pf-head { gap: 16px; margin-bottom: 24px; }
  .pf-head-top, .pf-head-row { flex-direction: column; align-items: stretch; }
  .pf-seg { display: flex; overflow-x: auto; scrollbar-width: none; }
  .pf-type { flex: 1 0 auto; justify-content: center; padding: 0 10px; font-size: 14px; }
  .pf-type svg { display: none; }
  .pf-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 22px; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); }
  .pf-seg::-webkit-scrollbar, .pf-tabs::-webkit-scrollbar { display: none; }
  .pf-tab { font-size: 26px; }
  .pf-body { display: none; }
  /* 033: karuzela bez końca – wybrana karta duża na środku, sąsiednie mniejsze (jak na komputerze) */
  .pf-strip { display: block; padding: 0 0 8px; }
  .pf-mcar { position: relative; }
  .pf-mview {
    position: relative; overflow: hidden; touch-action: pan-y;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  }
  .pf-card {
    position: absolute; left: 50%; top: 50%; display: block; color: var(--cream); will-change: transform;
    transition: transform .5s var(--ease-out), opacity .3s;
  }
  .pf-card .pf-frame { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 18px; }
  .pf-card:not(.is-on) .pf-frame { pointer-events: none; }
  .pf-card:not(.is-on) { cursor: pointer; }
  .pf-card:not(.is-on) .pf-expand { display: none; }
  .pf-mview .pf-scrollshot { touch-action: pan-y; }
  .pf-mnav {
    position: absolute; top: 50%; z-index: 50; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 1px solid rgba(242, 240, 239, .25);
    border-radius: 50%; background: rgba(26, 26, 24, .7); color: var(--cream); font-size: 22px; line-height: 1; cursor: pointer;
  }
  .pf-mnav.is-prev { left: 6px; } .pf-mnav.is-next { right: 6px; }
  .pf-mcap { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 16px; padding: 0 var(--pad); text-align: center; animation: sbhIn .4s ease-out both; }
  .pf-card .pf-play span { width: 52px; height: 52px; }
  .pf-card .pf-www-in { width: 92%; }
  .pf-card-t { font-family: var(--font-serif); font-size: 25px; line-height: 1.15; color: var(--cream); }
  .pf-card-m { font-size: 15px; color: var(--grey); }
  .pf-card .pf-gal-bar { height: 64px; }
  .pf-card .pf-thumb { flex-basis: 56px; height: 40px; }
  .pf-card .pf-gal-nav { display: none; }

  .process-head { flex-direction: column; align-items: flex-start; }
  .process-track { margin: 40px 0 40px; }
  .process-clips { flex-direction: column; align-items: stretch; height: auto; gap: 8px; }
  .process-clip { flex: 0 0 auto; height: auto; min-height: 64px; flex-direction: row; align-items: center; }
  .process-clip:hover { transform: none; }
  .process-gate { flex: 0 0 auto; height: auto; width: 100%; display: flex; align-items: center; gap: 12px; padding: 4px 0; background: none; }
  .process-gate::before { content: ''; flex: 0 0 28px; height: 6px; border-radius: 3px; background: var(--sienna); }
  .process-gate > span { position: static; transform: none; }
  .process-head-line { display: none; }
  .process-step { flex-direction: column; gap: 16px; }
  .process-step h3 { flex: 0 0 auto; } /* 031: w kolumnie flex-basis 560px dawał 560 px pustki pod nagłówkiem */
  .process-step p { font-size: 18px; }

  .contact-types, .contact-types.is-4 { grid-template-columns: minmax(0, 1fr); }
  .contact-type, .contact-types.is-4 .contact-type { height: auto; min-height: 168px; padding: 24px; }
  .contact-products.is-sub, .contact-products.is-one { grid-template-columns: minmax(0, 1fr); }
  .contact-product { font-size: 22px; }
  .contact-input input { font-size: 22px; height: 64px; }
  .contact-prefix { font-size: 22px; }
  .contact-send { flex-direction: column; align-items: stretch; }
  .contact-consent { max-width: none; }
  .g-recaptcha { transform: scale(.92); transform-origin: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-bar, .pf-lb { display: none; }
  .sbh-menu { transform: none; }
}
@media (max-width: 900px) {
  .contact-side { display: contents; }
  .contact-side .sbh-h2, .contact-lead, .contact-path { order: 0; }
  .contact-main { order: 1; }
  .contact-direct { order: 2; margin-top: 8px; }
  .contact { gap: 28px; }
}

/* Portfolio: dwuklik = pełny ekran */
.pf-frame { -webkit-user-select: none; user-select: none; }
.pf-shield { position: absolute; inset: 0; z-index: 6; }
.pf-lightbox:fullscreen { background: #000; }
.pf-lightbox:-webkit-full-screen { background: #000; }
iframe:fullscreen, video:fullscreen { border-radius: 0; background: #000; }

/* ==========================================================================
   019: podstrony – konfigurator „Dopasuj do siebie” (usługi)
   i przewodnik po etapie procesu (Co robimy my / Co robisz Ty, Przygotuj się, FAQ)
   ========================================================================== */
.fit, .guide { max-width: 1060px; margin: 0 auto; padding: 0 var(--pad-x, 24px) 72px; }
.fit {
  margin-top: 24px; padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px);
  background: #E7E4E2; border-radius: var(--r-lg); max-width: min(1060px, calc(100% - 2 * var(--pad-x, 24px)));
  padding-left: clamp(20px, 4vw, 44px); padding-right: clamp(20px, 4vw, 44px); margin-bottom: 56px;
}
.fit-h, .guide-h { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; color: var(--ink); }
.guide-h { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.fit-lead { margin: 10px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.55; color: #3A3A38; }
.fit-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); margin-top: 28px; align-items: start; }
.fit-block + .fit-block { margin-top: 26px; }
.fit-q { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--font-sans); font-size: 17px; font-weight: 500; color: var(--ink); }
.fit-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.fit-chips, .fit-answers { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-chip, .fit-ans {
  min-height: 44px; padding: 10px 16px; border: 1px solid #C9C5C2; border-radius: var(--r-pill);
  background: #fff; color: var(--ink); font-size: 15px; line-height: 1.3; text-align: left; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out);
}
.fit-chip:hover, .fit-ans:hover { border-color: var(--teal); }
.fit-chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.fit-chip[aria-pressed="true"]::before { content: "✓ "; }
.fit-ans[aria-pressed="true"] { background: var(--sienna); border-color: var(--sienna); color: #fff; }
.fit-sum { position: sticky; top: 108px; background: #fff; border-radius: var(--r-tile); padding: 22px; }
.fit-sum-h { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; color: var(--ink); }
.fit-sum-name { margin: 6px 0 0; font-size: 15px; font-weight: 500; color: var(--teal); }
.fit-list { list-style: none; margin: 12px 0 0; padding: 0; }
.fit-list li { padding: 8px 0; border-top: 1px solid #ECE9E7; font-size: 15px; line-height: 1.4; color: #3A3A38; }
.fit-list li b { font-weight: 500; color: var(--ink); }
.fit-empty { margin: 12px 0 0; font-size: 14.5px; color: var(--graphite); }
.fit-send { width: 100%; margin-top: 16px; text-align: center; }
.fit-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--graphite); }
@media (max-width: 860px) {
  .fit-grid { grid-template-columns: 1fr; }
  .fit-sum { position: static; }
}

.guide { max-width: 780px; padding-top: 8px; }  /* szerokość jak tekst podstrony (.article-body) */
.guide-prog { margin: 0 0 36px; }
.guide-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; margin: 0; padding: 0; }
.guide-steps a {
  display: flex; flex-direction: column; gap: 4px; min-height: 44px; padding: 12px 2px 0; border-top: 3px solid #C9C5C2;
  color: var(--graphite); text-decoration: none; font-size: 14px; line-height: 1.3;
}
.guide-steps .is-done a { border-top-color: #93AEB8; }
.guide-steps .is-on a { border-top-color: var(--teal); color: var(--ink); font-weight: 500; }
.guide-steps a:hover .guide-name { text-decoration: underline; text-underline-offset: 3px; }
.guide-num { font-size: 12px; letter-spacing: .04em; }
.guide-block { margin-top: 40px; }
.guide-block:first-of-type { margin-top: 0; }
.guide-who { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: #E4E1DF; }
.guide-tab {
  min-height: 44px; padding: 10px 20px; border: 0; border-radius: var(--r-pill); background: transparent;
  color: var(--ink); font-size: 15.5px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s;
}
.guide-tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.guide-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.guide-list li {
  position: relative; padding: 14px 18px 14px 48px; border-radius: var(--r-tile); background: #fff;
  font-size: 16.5px; line-height: 1.5; color: #2E2E2C;
}
.guide-list li::before {
  content: ""; position: absolute; left: 18px; top: 21px; width: 14px; height: 3px; border-radius: 2px; background: var(--teal);
}
.guide-prep-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.guide-ring {
  flex: none; display: grid; place-items: center; width: 72px; height: 72px; margin: 0; border-radius: 50%;
  background: conic-gradient(var(--teal) calc(var(--p) * 1%), #D8D4D2 0);
}
.guide-ring span { display: flex; align-items: center; justify-content: center; white-space: nowrap; width: 56px; height: 56px; border-radius: 50%; background: var(--cream); font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); }
.guide-ring b { font-weight: 500; }
.guide-chk { list-style: none; margin: 16px 0 0; padding: 0; }
.guide-chk li { border-top: 1px solid #DAD6D3; }
.guide-chk li:last-child { border-bottom: 1px solid #DAD6D3; }
.guide-chk label { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 10px 0; font-size: 16.5px; line-height: 1.4; color: #2E2E2C; cursor: pointer; }
.guide-chk input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--teal); cursor: pointer; }
.guide-chk input:checked + span { color: var(--graphite); text-decoration: line-through; text-decoration-color: #A9A6A3; }
.guide-note { margin: 10px 0 0; font-size: 13.5px; color: var(--graphite); }
.guide-faq { margin-top: 14px; border-top: 1px solid #DAD6D3; }
.guide-faq details { border-bottom: 1px solid #DAD6D3; }
.guide-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0;
  font-size: 17px; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none;
}
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 300; color: var(--teal); transition: transform .2s var(--ease-out); }
.guide-faq details[open] summary::after { transform: rotate(45deg); }
.guide-faq p { margin: 0 0 16px; max-width: 65ch; font-size: 16.5px; line-height: 1.6; color: #3A3A38; }
.guide-next {
  display: flex; flex-direction: column; gap: 4px; margin-top: 44px; padding: 20px 24px; border-radius: var(--r-tile);
  background: var(--teal); color: #fff; text-decoration: none; transition: background-color .2s;
}
.guide-next:hover { background: var(--teal-2); color: #fff; }
.guide-next-l { font-size: 14px; opacity: .85; }
.guide-next-t { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.2; }
@media (prefers-reduced-motion: reduce) {
  .fit-chip, .fit-ans, .guide-faq summary::after { transition: none; }
}

/* ==========================================================================
   Dół podstron – wariant B (04.11): karty usług jako zaokrąglone warstwy
   (jak oferta na stronie głównej), etapy jako mini oś montażowa z bramkami,
   pasek „Porozmawiajmy…” jako ciemna zaokrąglona plansza.
   ========================================================================== */
.landing-block h2 { margin-bottom: 20px; }
.hub-grid { display: flex; flex-direction: column; gap: 8px; border: 0; }
.hub-card {
  display: grid; grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.7fr) auto; column-gap: 20px; row-gap: 4px; align-items: center;
  padding: 16px 18px 16px 22px; border: 1px solid #E1DEDB; border-radius: var(--r-tile); background: #fff;
  transition: background-color .25s, border-color .25s, transform .3s var(--ease-out);
}
.hub-card::after { display: none; }
.hub-card h3 { grid-column: 1; grid-row: 1 / span 2; font-size: 1.45rem; font-weight: 500; line-height: 1.15; color: var(--ink); }
.hub-card p { grid-column: 2; font-size: 15px; line-height: 1.5; }
.hub-card .service-price { grid-column: 2; font-size: 14px; }
.hub-card .hub-more {
  grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 0;
  border: 1px solid #C9C5C2; border-radius: 50%; font-size: 0; letter-spacing: 0; color: var(--ink);
  transition: background-color .25s, border-color .25s, color .25s;
}
.hub-card .hub-more::after { content: "→"; font-size: 17px; font-weight: 400; line-height: 1; }
.hub-card:hover, .hub-card:focus-visible { background: var(--teal); border-color: var(--teal); transform: translateX(8px); }
.hub-card:hover h3, .hub-card:hover p, .hub-card:hover .service-price,
.hub-card:focus-visible h3, .hub-card:focus-visible p, .hub-card:focus-visible .service-price { color: #fff; }
.hub-card:hover .hub-more, .hub-card:focus-visible .hub-more { background: #fff; border-color: #fff; color: var(--teal); }

.landing-tl {
  display: flex; gap: 6px; align-items: stretch; padding: 18px 18px 40px; border-radius: var(--r-lg); background: var(--ink);
}
.landing-tl .landing-clip { flex: var(--w, 20) 1 0; min-width: 0; }
.landing-tl .landing-clip a {
  display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 64px; padding: 12px 14px; border: 0; border-radius: var(--r-ctl);
  background: #2C4F5C; color: #fff; font-size: 15px; line-height: 1.25; transition: background-color .25s;
}
.landing-tl .landing-clip a:hover, .landing-tl .landing-clip a:focus-visible { background: var(--teal); border-color: transparent; }
.landing-tl .landing-step-num { font-family: var(--font-sans); font-size: 12px; color: rgba(255, 255, 255, .7); }
.landing-tl .landing-gate { position: relative; flex: 0 0 4px; border-radius: 2px; background: var(--color-accent-on-dark); }
.landing-tl .landing-gate span {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 13px; color: var(--color-accent-on-dark);
}
.landing-tl .landing-gate span::before { content: "▲ "; font-size: 9px; }
@media (max-width: 760px) {
  .hub-card { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
  .hub-card h3 { grid-column: 1; grid-row: 1; }
  .hub-card p, .hub-card .service-price { grid-column: 1 / span 2; }
  .hub-card .hub-more { grid-column: 2; grid-row: 1; width: 40px; height: 40px; }
  .hub-card:hover, .hub-card:focus-visible { transform: none; }
  .landing-tl { flex-direction: column; padding: 14px; gap: 6px; }
  .landing-tl .landing-clip a { min-height: 52px; flex-direction: row; align-items: center; gap: 12px; }
  .landing-tl .landing-gate { flex: none; height: 3px; margin: 14px 4px 20px; }
  .landing-tl .landing-gate span { top: 6px; left: 0; transform: none; }
}

.article-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  max-width: min(980px, calc(100% - 2 * var(--pad-x, 24px))); margin: 24px auto 100px; padding: clamp(24px, 4vw, 36px) clamp(22px, 4vw, 40px);
  border-top: 0; border-radius: var(--r-lg); background: var(--ink); color: #fff;
}
.article-cta p { margin: 0; flex: 1 1 260px; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; color: #fff; }
.article-cta .btn-primary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: var(--r-pill);
  background: var(--sienna); color: #fff; font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.article-cta .btn-primary::after { content: "→"; }
.article-cta .btn-primary:hover { background: var(--brown-h); }
@media (prefers-reduced-motion: reduce) {
  .hub-card, .hub-card:hover, .hub-card:focus-visible { transition: none; transform: none; }
}

/* 020: 9 liczników „O nas” – siatka 3 × 3 (telefon: 2 kolumny, ostatni nieparzysty na całą szerokość) */
.about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.about-stats div { padding: 18px 20px; }
.about-stats dt { font-size: clamp(34px, 3.4vw, 48px); }
.about-stats dd { font-size: 14.5px; line-height: 1.35; }
@media (max-width: 600px) {
  .about-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .about-stats div { padding: 14px 14px 16px; }
  .about-stats div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .about-stats dt { font-size: 32px; }
  .about-stats dd { font-size: 13.5px; }
}

/* 04.11: kafelki „O nas” w subtelnych błękitnych ramkach (zamiast białego tła) */
.about-stats div { background: transparent; border: 1px solid #B9D0D8; }

/* ==========================================================================
   04.11 (tylko komputer, ≥ 901 px):
   1) „O nas”: zdjęcie dopasowane do wysokości tekstu z kafelkami.
   2) Portfolio: lista po lewej (pełna szerokość kolumny, bez poziomego suwaka)
      + karuzela wszystkich realizacji – wybrana duża na środku, sąsiednie mniejsze.
   Telefon bez zmian (pasek kart .pf-strip).
   ========================================================================== */
@media (min-width: 901px) {
  .about { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: stretch; }
  .about-photo { position: relative; aspect-ratio: auto; height: 100%; min-height: 380px; }
  .about-photo picture, .about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .about-text { align-self: center; }

  .pf-body { --stage-h: min(72vh, 780px); grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: clamp(24px, 2.6vw, 44px); } /* 034: większa karuzela (było 58vh / 560 px, lista 360 px) */
  .pf-body:has(.pf-scene.is-v) { grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); }
  .pf-list { order: -1; width: 100%; overflow-x: hidden; overflow-y: auto; max-height: calc(var(--stage-h) + 150px); padding: 0 6px 0 0; }
  .pf-row { position: relative; padding: 9px 0 9px 16px; transform: none !important; }
  .pf-row::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: transparent; transition: background-color .2s; }
  .pf-row[aria-current="true"]::before { background: var(--cream); }
  .pf-row-t, .pf-row-m { overflow-wrap: anywhere; }

  .pf-stage { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
  .pf-car { position: relative; }
  .pf-car-view {
    height: var(--stage-h); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  }
  .pf-track { position: relative; height: 100%; width: 100%; }
  .pf-cc {
    position: absolute; left: 50%; top: 50%; height: calc(var(--stage-h) * .64); opacity: .5; cursor: pointer;
    transform: translate(-50%, -50%); will-change: transform;
    transition: transform .6s var(--ease-out), height .5s var(--ease-out), opacity .3s;
  }
  .pf-cc:hover { opacity: .8; }
  .pf-cc.is-on { height: var(--stage-h); opacity: 1; cursor: default; }
  .pf-cc.is-v { aspect-ratio: 9 / 16; } .pf-cc.is-h { aspect-ratio: 16 / 9; } .pf-cc.is-g { aspect-ratio: 4 / 3; } .pf-cc.is-w { aspect-ratio: 9 / 16; } /* 025: strona WWW pionowo */
  .pf-cc .pf-frame { width: 100%; height: 100%; aspect-ratio: auto; }
  .pf-cc:not(.is-on) .pf-play { transform: scale(.75); pointer-events: none; }
  .pf-car-nav {
    position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border: 1px solid rgba(242, 240, 239, .25);
    border-radius: 50%; background: rgba(26, 26, 24, .7); color: var(--cream); font-size: 26px; line-height: 1; cursor: pointer; transition: background-color .2s;
  }
  .pf-car-nav:hover { background: var(--teal); }
  .pf-car-nav.is-prev { left: 4px; } .pf-car-nav.is-next { right: 4px; }
  .pf-cap { display: flex; align-items: flex-start; justify-content: center; gap: 28px; text-align: center; animation: sbhIn .45s ease-out both; }
  .pf-cap-t { max-width: 620px; }
  .pf-cap h3 { margin: 0 0 6px; font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }
  .pf-cap p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--grey); text-align: center; }
  .pf-cap .pf-act { flex: none; }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .pf-cc { transition: none; }
}
/* 04.11: bez linku „Całe portfolio →” pod karuzelą (tylko komputer) */
@media (min-width: 901px) { .pf-more { display: none; } }

/* ==========================================================================
   022 (04.11): przykład z portfolio na podstronach usług, wyniki klientów,
   opinie i stopka w nowym stylu, dostępność (skip link, kursor, cele dotykowe).
   ========================================================================== */

/* ---------- Przykład z portfolio obok nagłówka podstrony ---------- */
.svc-ex { margin: 8px auto 0; padding: 0 var(--pad-x); max-width: 780px; }
.svc-ex-frame { position: relative; border-radius: var(--r-tile); overflow: hidden; background: #1A1A18; aspect-ratio: 16 / 9; }
.svc-ex.is-v .svc-ex-frame { aspect-ratio: 9 / 16; max-width: 300px; }
.svc-ex.is-v { max-width: calc(300px + 2 * var(--pad-x)); }
.svc-ex-frame img, .svc-ex-frame iframe, .svc-ex-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.svc-ex-frame img { cursor: pointer; transition: transform .6s ease; }
.svc-ex-frame:hover img { transform: scale(1.03); }
.svc-ex-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(242,240,239,.92); color: var(--sienna); display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.25); transition: transform .25s, background .25s;
}
.svc-ex-play:hover, .svc-ex-play:focus-visible { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.svc-ex figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.svc-ex-l { font-size: 13px; color: var(--graphite); }
.svc-ex-t { font-family: var(--font-serif); font-size: 22px; line-height: 1.2; color: var(--teal); }
.svc-ex-more { align-self: flex-start; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; min-height: 24px; display: inline-flex; align-items: center; }
.svc-ex-more:hover { color: var(--sienna); }
.svc-ex-empty { border: 1.5px dashed #B9D0D8; border-radius: var(--r-tile); padding: 28px; color: var(--graphite); font-size: 14px; text-align: center; max-width: 300px; }
@media (min-width: 901px) {
  /* nagłówek i treść po lewej, przykład z portfolio po prawej (obok obu) */
  .article-top {
    display: grid; grid-template-columns: minmax(0, 760px) 280px; grid-template-rows: auto 1fr;
    column-gap: 64px; justify-content: center; max-width: 1180px; margin: 0 auto; padding: 0 var(--pad-x);
  }
  .article-top > .article-header { grid-column: 1; grid-row: 1; max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
  .article-top > .article-body { grid-column: 1; grid-row: 2; max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
  .article-top > .svc-ex, .article-top > .svc-ex-empty { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: 110px; margin: 160px 0 40px; padding: 0; width: 280px; max-width: none; }
  .article-top > .svc-ex.is-h { width: 280px; }
  .article-top .svc-ex.is-v .svc-ex-frame { max-width: none; }
}
@media (max-width: 900px) {
  .svc-ex { margin-top: 18px; }
  .svc-ex.is-v .svc-ex-frame { max-width: 220px; }
}

/* ---------- Wyniki klientów ---------- */
.results { margin: 40px auto 0; }
.results-service { max-width: 780px; padding: 0 var(--pad-x) 40px; }
.results-h { margin: 0 0 14px; font-family: var(--font-serif); font-weight: 400; font-size: 26px; color: var(--teal); }
.results-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.results-item { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r-tile); background: var(--teal); color: #fff; }
.results-v { font-family: var(--font-serif); font-weight: 300; font-size: clamp(36px, 3.4vw, 48px); line-height: 1; }
.results-l { font-size: 15px; line-height: 1.35; }
.results-d { font-size: 13.5px; line-height: 1.35; color: rgba(255,255,255,.82); }
.results-c { margin-top: 6px; font-size: 13.5px; color: rgba(255,255,255,.9); font-weight: 500; }

/* ---------- Opinie: bez drobnych wersalików, większe kropki ---------- */
/* (prefiks .testimonial-section – style opinii z home/style.php ładują się później) */
.testimonial-section.testimonial-section { background: var(--cream); border-top: 0; border-bottom: 0; padding: 88px var(--pad-x); }
.testimonial-section .testimonial-author { font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--sienna); font-weight: 500; }
.testimonial-section .testimonial-dots { gap: 4px; margin-top: 28px; }
.testimonial-section .testimonial-dot { width: 28px; height: 28px; background: transparent; position: relative; transform: none; border-radius: 50%; }
.testimonial-section .testimonial-dot::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--grey); transition: background .3s, width .3s;
}
.testimonial-section .testimonial-dot.is-active { background: transparent; transform: none; }
.testimonial-section .testimonial-dot.is-active::before { background: var(--sienna); width: 22px; border-radius: 999px; }
.testimonial-section .testimonial-dot:focus-visible { outline: 2px solid var(--teal); outline-offset: 0; }
.testimonial-section .review-hint { font-size: 14px; color: var(--graphite); }
.testimonial-section .review-submit-btn { font-size: 16px; letter-spacing: 0; text-transform: none; padding: 14px 28px; min-height: 48px; }
.testimonial-section .review-status { font-size: 14px; }
.testimonial-section .review-author-input { font-size: 16px; }
/* 054: baner cookies i ustawienia zgód (przeniesione z home/style.php – teraz na każdej stronie) */
.cookie-banner {
  position: fixed; right: 24px; left: auto; bottom: 24px; z-index: 9998;
  width: 50%; max-width: 560px; min-width: 300px;
  background: var(--dark); color: var(--cream);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid rgba(242,240,239,.12);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  transform: translateY(140%);
  transition: transform .5s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-text {
  font-size: .74rem; line-height: 1.55; color: rgba(242,240,239,.82);
}
.cookie-banner-text a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-text a:hover { color: var(--sienna); }
.cookie-banner-actions {
  display: flex; gap: 8px;
}
.cookie-btn {
  flex: 1 1 0; min-width: 0; min-height: 38px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8px 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: .66rem; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: background .3s, transform .2s, border-color .3s, color .3s;
}
.cookie-btn-accept { background: var(--sienna); color: var(--cream); }
.cookie-btn-accept:hover { background: #8f4e2d; transform: translateY(-2px); }
.cookie-btn-reject {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(242,240,239,.5);
}
.cookie-btn-reject:hover { border-color: var(--cream); background: rgba(242,240,239,.08); }
.cookie-btn-settings {
  background: transparent; color: rgba(242,240,239,.68);
  border: 1px solid rgba(242,240,239,.22);
}
.cookie-btn-settings:hover { border-color: var(--grey); color: var(--cream); }
.browser-settings-modal {
  position: fixed; inset: 0; z-index: 10001;
  display: none; align-items: center; justify-content: center;
  padding: 40px 16px;
}
.browser-settings-modal.open { display: flex; }
.browser-settings-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,9,.85); backdrop-filter: blur(4px);
}
.browser-settings-panel {
  position: relative; z-index: 1;
  max-width: 460px; width: 100%;
  background: var(--cream); color: var(--dark);
  padding: 44px 38px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.browser-settings-panel h3, .browser-settings-panel .browser-settings-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500;
  color: var(--teal); margin-bottom: 14px;
}
.browser-settings-panel p {
  font-size: .86rem; line-height: 1.6; color: var(--dark); margin-bottom: 20px;
}
.browser-settings-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.browser-settings-list a {
  display: block; padding: 12px 16px;
  border: 1px solid var(--grey); color: var(--dark); text-decoration: none;
  font-size: .82rem; letter-spacing: .03em;
  transition: border-color .3s, background .3s, color .3s;
}
.browser-settings-list a:hover { border-color: var(--sienna); color: var(--sienna); background: rgba(115,62,36,.05); }
.browser-settings-close {
  position: absolute; top: -46px; right: 0; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(242,240,239,.08); color: var(--cream);
  border: 1px solid rgba(242,240,239,.4);
  font-family: 'DM Sans', sans-serif; font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s;
}
.browser-settings-close:hover { background: var(--sienna); border-color: var(--sienna); }
@media (max-width: 480px) {
  .browser-settings-close { top: 0; right: 0; transform: translateY(-120%); }
}
@media (max-width: 768px) {
  .cookie-banner { left: 0; right: 0; bottom: 0; width: auto; max-width: none; min-width: 0; padding: 10px 16px; gap: 6px; }
  .cookie-banner-text { font-size: .64rem; line-height: 1.4; }
  .cookie-banner-actions { gap: 6px; }
  .cookie-btn { min-height: 30px; padding: 6px 4px; font-size: .56rem; letter-spacing: .02em; }
  .browser-settings-panel { padding: 36px 26px; }
}
.consent-row { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--grey); }
.browser-settings-panel .consent-row p { margin-bottom: 4px; }
.browser-settings-panel .consent-name { font-weight: 600; font-size: .9rem; color: var(--dark); }
.browser-settings-panel .consent-desc { font-size: .8rem; line-height: 1.5; color: var(--graphite); }
.consent-always { font-size: .75rem; color: var(--teal); white-space: nowrap; padding-top: 2px; }
.consent-switch { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 46px; height: 26px; border-radius: 13px; background: var(--grey); position: relative; cursor: pointer; transition: background .25s; margin-top: 2px; }
.consent-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s; }
.consent-switch:checked { background: var(--teal); }
.consent-switch:checked::after { transform: translateX(20px); }
.consent-switch:focus-visible { outline: 2px solid var(--sienna); outline-offset: 2px; }
.consent-actions { display: flex; gap: 8px; margin: 18px 0 14px; }
.consent-btn-all { background: transparent; color: var(--dark); border: 1px solid var(--dark); }
.consent-btn-all:hover { background: var(--dark); color: var(--cream); }
.consent-browser summary { cursor: pointer; font-size: .8rem; color: var(--graphite); margin-bottom: 10px; }
.footer-nav .cookie-open { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: inherit; }

/* Baner cookies – czytelny tekst i przyciski bez drobnych wersalików */
.cookie-banner .cookie-banner-text { font-size: 14px; line-height: 1.55; }
.cookie-banner .cookie-btn { font-size: 14px; letter-spacing: 0; text-transform: none; min-height: 44px; }

/* ---------- Stopka: czytelny tekst, bez wersalików ---------- */
footer { padding: 36px var(--pad-x); gap: 18px; }
.footer-logo { font-size: 1.25rem; color: #d5d6d5; }
.footer-copy { font-size: 13px; letter-spacing: 0; color: #a9aaa9; }
.footer-nav { gap: 6px 20px; }
.footer-nav a, .footer-links a { font-size: 14px; letter-spacing: 0; text-transform: none; color: #d5d6d5; min-height: 32px; display: inline-flex; align-items: center; }
.footer-meta { font-size: 13px; letter-spacing: 0; color: #a9aaa9; line-height: 1.5; }
.footer-links a.social-icon { width: 40px; height: 40px; justify-content: center; }
.footer-links a.social-icon svg { width: 22px; height: 22px; color: #d5d6d5; }

/* ---------- Dostępność ---------- */
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 10000;
  padding: 12px 18px; border-radius: var(--r-ctl); background: var(--ink); color: #fff; font-size: 16px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--sienna); outline-offset: 2px; }
main#tresc:focus { outline: none; }
/* Kursor systemowy zawsze widoczny; pierścień zostaje jako ozdoba. */
body, body * { cursor: auto; }
body a, body button, body [role="button"], body label, body summary, body select, .svc-ex-frame img { cursor: pointer; }
body input, body textarea { cursor: text; }
#cursor-dot, #cursor-caret { display: none !important; }
/* Cele dotykowe ≥ 24 px */
.article-back, .sbh-link, .op-back, .cs-latest-all a, .hub-more, .contact-back, .pf-faces-all, .pf-empty-reset { min-height: 24px; display: inline-flex; align-items: center; }
.browser-settings-title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--teal); margin: 0 0 12px; }
.sbh-sheet-h .sbh-sheet-ht { margin: 0; font-family: var(--font-serif); font-weight: 300; font-size: 38px; line-height: 1; color: var(--teal); }
.sbh-mega-group .sbh-sheet-h .sbh-sheet-ht { font-size: 40px; }
/* 022: drobne napisy podstron – bez drobnych wersalików, min. 13–14 px; cele ≥ 24 px */
.article-back { font-size: 15px !important; letter-spacing: 0 !important; text-transform: none !important; }
.article-label, .section-label { font-size: 14px !important; letter-spacing: .02em !important; text-transform: none !important; color: var(--graphite); }
.swipe-indicator, .swipe-indicator span { font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; }
.sbh-head-cta, .contact-direct a, .cookie-banner-text a { min-height: 24px; display: inline-flex; align-items: center; }
.guide-chk input[type="checkbox"] { width: 24px; height: 24px; }
/* 022: „O nas” bez zdjęcia (wyłączone w panelu) – tekst na całą szerokość */
.about.no-photo { grid-template-columns: minmax(0, 1fr) !important; }
.about.no-photo .about-text { max-width: 980px; }
/* 04.11: przełącznik PL/EN na pasku, na lewo od „Umów konsultację” (tylko komputer; na telefonie – w menu) */
.sbh-head-lang { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.sbh-head-lang button {
  min-width: 40px; min-height: 30px; padding: 0 10px; border: 0; border-radius: var(--r-pill);
  background: none; color: inherit; font: 500 14px var(--font-sans); letter-spacing: .02em; cursor: pointer; opacity: .7;
  transition: background .2s, opacity .2s;
}
.sbh-head-lang button:hover { opacity: 1; }
.sbh-head-lang button.active { opacity: 1; background: color-mix(in srgb, currentColor 16%, transparent); }
.sbh-head-lang button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 900px) { .sbh-head-lang { display: none; } }
/* 04.11: bramka akceptacji na osi „Jak pracujemy” – grot ▲ dokładnie pod pomarańczową linią, tekst na prawo od niego (komputer) */
@media (min-width: 761px) {
  .landing-tl .landing-gate span { left: 50%; transform: none; padding-left: 9px; line-height: 16px; }
  .landing-tl .landing-gate span::before {
    content: ""; position: absolute; left: -5px; top: 50%; transform: translateY(-50%);
    width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-bottom: 8px solid var(--color-accent-on-dark);
  }
}
/* 04.11: pauza karuzeli opinii (obok kropek) */
.testimonial-section .testimonial-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.testimonial-section .testimonial-ctrl .testimonial-dots { margin-top: 0; }
.testimonial-play {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border: 1px solid #c9c6c3; border-radius: var(--r-pill);
  background: none; color: var(--ink); font: 14px var(--font-sans); cursor: pointer;
}
.testimonial-play:hover { border-color: var(--sienna); color: var(--sienna); }
.testimonial-play:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.testimonial-play[hidden] { display: none; }
/* 04.11: podpowiedzi (placeholder) w formularzach – kontrast ≥ 4,5:1 na kremowym tle */
.contact-input input::placeholder, .contact-field textarea::placeholder { color: #686A69; opacity: 1; }
.testimonial-section .review-text-input::placeholder { color: #4F7684; opacity: 1; }
.testimonial-section .review-author-input::placeholder { color: #8A5A44; opacity: 1; }

/* ==========================================================================
   025 (06.11): strona WWW na żywo w ramce portfolio + podgląd na 3/4 ekranu
   ========================================================================== */
.pf-cover-top { object-position: top center; }
.pf-live { background: #0F0F0E; }
.pf-live .pf-site { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .4s ease; }
.pf-live .pf-site.is-ready { opacity: 1; }
.pf-cc:not(.is-on) .pf-live .pf-site, .pf-cc:not(.is-on) .pf-expand { display: none; }
.pf-expand {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: var(--r-pill);
  background: rgba(26, 26, 24, .78); color: var(--cream); font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); transition: background-color .2s, transform .2s;
}
.pf-expand:hover, .pf-expand:focus-visible { background: var(--teal); transform: scale(1.06); }
.sbh-btn-ghost { background: transparent; color: var(--cream); border: 1px solid rgba(242, 240, 239, .35); }
.sbh-btn-ghost:hover { border-color: var(--cream); }
/* podgląd na 3/4 ekranu */
.pf-sitebox { position: fixed; inset: 0; z-index: 10001; background: rgba(10, 10, 9, .78); display: flex; align-items: center; justify-content: center; animation: sbhIn .25s ease-out both; }
.pf-sitebox-in { width: 75vw; height: 75vh; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.pf-sitebox-bar { flex: 0 0 48px; display: flex; align-items: center; gap: 16px; padding: 0 8px 0 18px; background: var(--ink); color: var(--cream); font-size: 14px; }
.pf-sitebox-host { flex-grow: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-sitebox-open { color: var(--cream); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: var(--r-pill); }
.pf-sitebox-open:hover { background: rgba(255, 255, 255, .12); }
.pf-sitebox-close { width: 44px; height: 44px; border: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.pf-sitebox-close:hover, .pf-sitebox-close:focus-visible { background: var(--sienna); }
.pf-sitebox-frame { flex-grow: 1; min-height: 0; position: relative; }
.pf-sitebox-frame .pf-site { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.has-sitebox { overflow: hidden; }
@media (max-width: 900px) { .pf-sitebox-in { width: 94vw; height: 86vh; border-radius: 12px; } }

/* ---------- 027: przewijany zrzut całej strony (zapas bez podglądu na żywo) ---------- */
.pf-scrollshot { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; background: #fff; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.35) transparent; overscroll-behavior: contain; }
.pf-scrollshot img { display: block; width: 100%; height: auto; }
.pf-scrollshot:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.pf-sitebox-frame.is-shot { background: #E8E4DF; }
.pf-sitebox-frame.is-shot .pf-scrollshot { position: absolute; inset: 0; display: block; }
.pf-sitebox-frame.is-shot .pf-scrollshot img { width: min(100%, 640px); margin: 0 auto; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* ---------- 031: telefon – przewijanie strony WWW palcem w karcie portfolio ---------- */
.pf-touch .pf-scrollshot { -webkit-overflow-scrolling: touch; overscroll-behavior-x: auto; overscroll-behavior-y: auto; }
.pf-card .pf-touch .pf-expand { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 18px; }

/* ---------- 032: podstrona usługi – przykład WWW: stronę da się przewijać w ramce (jak w portfolio) ---------- */
.svc-ex.is-site .svc-ex-frame { background: #fff; }
.svc-ex.is-site .svc-ex-frame:hover img { transform: none; }
.svc-ex.is-site .svc-ex-frame img { cursor: auto; transition: none; }
.svc-ex.is-site .svc-ex-frame .pf-scrollshot img { position: static; height: auto; object-fit: initial; }
.svc-ex.is-site .pf-scrollshot { -webkit-overflow-scrolling: touch; }
.svc-ex.is-site .pf-expand { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 18px; }

@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .pf-card { transition: none; } } /* 033 */

/* 035: krok procesu – jedno kliknięcie otwiera podstronę etapu */
.process-step { cursor: pointer; }
.process-step p, .process-step h3 { cursor: inherit; }

/* ==========================================================================
   036: profil twórcy /operatorzy/<slug> – w stylu Instagrama
   ========================================================================== */
.opp { padding: calc(var(--sec-y) * .55) var(--pad) var(--sec-y); background: var(--ink); color: var(--cream); min-height: 70vh; }
.opp > * { max-width: 980px; margin-left: auto; margin-right: auto; }
.opp-back { display: block; margin-bottom: 28px; font-size: 14px; color: var(--grey); text-decoration: none; }
.opp-back:hover { color: var(--cream); }
.opp-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 88px); align-items: center; }
.opp-avatar {
  width: 168px; height: 168px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff; font: 400 56px/1 var(--font-serif); box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px rgba(242, 240, 239, .35);
}
.opp-avatar picture, .opp-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.opp-name { margin: 0 0 14px; font: 300 clamp(32px, 4vw, 48px)/1.05 var(--font-serif); }
.opp-stats { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 16px; color: var(--grey); }
.opp-stats strong { color: var(--cream); font-weight: 600; }
.opp-meta { margin: 0 0 10px; font-size: 15px; color: var(--grey); }
.opp-bio { font-size: 16px; line-height: 1.55; color: var(--cream); max-width: 560px; }
.opp-bio p { margin: 0 0 6px; }
.opp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.opp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px; border-radius: 10px; background: rgba(242, 240, 239, .12); color: var(--cream); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.opp-btn:hover { background: rgba(242, 240, 239, .22); color: var(--cream); }
.opp-btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(242, 240, 239, .3); }

.opp-cards { display: grid; gap: 16px; margin-top: 40px; }
.opp-cards.is-two { grid-template-columns: minmax(260px, 340px) 1fr; }
.opp-card { padding: 24px 26px; border-radius: 18px; background: rgba(242, 240, 239, .06); box-shadow: inset 0 0 0 1px rgba(242, 240, 239, .1); }
.opp-card-h { margin: 0 0 14px; font: 500 12px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.opp-vcard { background: linear-gradient(150deg, rgba(43, 103, 119, .45), rgba(242, 240, 239, .05)); }
.opp-vcard-name { margin: 0; font: 400 26px/1.15 var(--font-serif); }
.opp-vcard-role { margin: 4px 0 14px; font-size: 14px; color: var(--grey); }
.opp-vcard-list { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 15px; }
.opp-vcard-list a, .opp-about-txt a { color: var(--cream); }
.opp-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.opp-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(242, 240, 239, .1); color: var(--cream); transition: background-color .2s; }
.opp-social a:hover { background: var(--teal); }
.opp-vcard-save { font-size: 14px; color: var(--cream); }
.opp-about-txt { font-size: 16px; line-height: 1.6; }
.opp-about-txt p { margin: 0 0 10px; }

.opp-tabs { display: flex; justify-content: center; gap: clamp(20px, 6vw, 60px); margin-top: 48px; border-top: 1px solid rgba(242, 240, 239, .16); }
.opp-tab {
  display: inline-flex; align-items: center; gap: 8px; margin-top: -1px; padding: 16px 2px; border: 0; border-top: 1px solid transparent; background: none;
  color: var(--grey); font: 500 13px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.opp-tab[aria-pressed="true"] { color: var(--cream); border-top-color: var(--cream); }
.opp-tab:hover { color: var(--cream); }
.opp-tab:disabled { opacity: .35; cursor: default; }
.opp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.opp-tile { position: relative; aspect-ratio: 3 / 4; padding: 0; border: 0; overflow: hidden; background: #2a2a27; cursor: pointer; }
.opp-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opp-tile.is-www .opp-tile-img { object-position: top; }
.opp-tile-ic { position: absolute; top: 10px; right: 10px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.opp-tile-hover {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .7));
  color: #fff; font: 400 18px/1.2 var(--font-serif); text-align: left; opacity: 0; transition: opacity .2s;
}
.opp-tile:hover .opp-tile-hover, .opp-tile:focus-visible .opp-tile-hover { opacity: 1; }
.opp-empty { padding: 48px 0; text-align: center; color: var(--grey); }
.opp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 64px; text-align: center; }
.opp-cta p { margin: 0; font: 300 26px/1.2 var(--font-serif); }

/* okno realizacji */
html.opp-lock { overflow: hidden; }
.opp-post { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 24px 72px; background: rgba(10, 10, 9, .9); color: var(--cream); }
.opp-post-body { max-width: 100%; max-height: 100%; }
.opp-post-in { display: flex; align-items: stretch; max-height: calc(100vh - 48px); border-radius: 14px; overflow: hidden; background: var(--ink); }
.opp-post-media { position: relative; flex: none; height: min(86vh, 860px); max-width: calc(100vw - 144px - 340px); background: #000; }
.opp-post-media.is-v, .opp-post-media.is-w { aspect-ratio: 9 / 16; }
.opp-post-media.is-h { aspect-ratio: 16 / 9; height: auto; width: min(calc(100vw - 144px - 340px), calc(86vh * 16 / 9)); }
.opp-post-media.is-g { aspect-ratio: 4 / 3; height: auto; width: min(calc(100vw - 144px - 340px), calc(86vh * 4 / 3)); }
.opp-post-media .pf-frame { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.opp-post-media .pf-frame iframe, .opp-post-media .pf-frame video { width: 100%; height: 100%; border: 0; }
.opp-post-side { width: 340px; flex: none; padding: 28px 26px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.opp-post-t { margin: 0; font: 300 30px/1.1 var(--font-serif); }
.opp-post-l, .opp-post-a { margin: 0; font-size: 15px; color: var(--grey); }
.opp-post-a a { color: var(--cream); }
.opp-post-side .pf-act { align-self: flex-start; margin-top: 8px; }
.opp-post-x { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; background: none; color: var(--cream); font-size: 34px; line-height: 1; cursor: pointer; }
.opp-post-nav {
  position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(242, 240, 239, .9);
  color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer;
}
.opp-post-nav.is-prev { left: 16px; } .opp-post-nav.is-next { right: 16px; }

@media (max-width: 900px) {
  .opp { padding-top: 44px; }
  .opp-head { grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
  .opp-avatar { width: 88px; height: 88px; font-size: 32px; }
  .opp-name { font-size: 30px; margin-bottom: 8px; }
  .opp-stats { gap: 4px 16px; font-size: 14px; }
  .opp-meta, .opp-bio, .opp-actions { grid-column: 1 / -1; }
  .opp-info { display: contents; }
  .opp-name, .opp-stats { grid-column: 2; }
  .opp-avatar { grid-row: span 2; align-self: center; }
  .opp-cards, .opp-cards.is-two { grid-template-columns: 1fr; margin-top: 24px; }
  .opp-actions .opp-btn { flex: 1 1 0; padding: 0 10px; }
  .opp-tabs { gap: 0; justify-content: space-around; margin-top: 32px; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); }
  .opp-tab span { display: none; }
  .opp-tab svg { width: 22px; height: 22px; }
  .opp-tab { padding: 14px 18px; }
  .opp-grid { gap: 2px; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); }
  .opp-tile-hover { display: none; }
  .opp-tile-ic svg { width: 16px; height: 16px; }
  .opp-post { padding: 0; align-items: stretch; }
  .opp-post-body { width: 100%; height: 100%; }
  .opp-post-in { flex-direction: column; width: 100%; height: 100%; max-height: none; border-radius: 0; overflow-y: auto; }
  .opp-post-media, .opp-post-media.is-h, .opp-post-media.is-g { width: 100%; max-width: none; height: auto; max-height: 72vh; margin: 56px auto 0; }
  .opp-post-media.is-v, .opp-post-media.is-w { width: auto; height: 72vh; }
  .opp-post-side { width: auto; padding: 18px var(--pad) 32px; }
  .opp-post-t { font-size: 26px; }
  .opp-post-x { top: 6px; right: 8px; z-index: 2; }
  .opp-post-nav { top: auto; bottom: 16px; margin: 0; z-index: 2; }
  .opp-post-nav.is-prev { left: auto; right: 72px; } .opp-post-nav.is-next { right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .opp-tile-hover { transition: none; } }
.opp .opp-bio.sbh-rich p, .opp .opp-bio.sbh-rich li, .opp .opp-about-txt.sbh-rich p, .opp .opp-about-txt.sbh-rich li, .opp .sbh-rich strong { color: var(--cream); font-size: inherit; line-height: inherit; }
.opp-btn { white-space: nowrap; }
@media (max-width: 900px) {
  .opp-btn { font-size: 14px; }
  .opp-post-side { padding-bottom: 88px; }
}

/* ---------- 037: profil twórcy – własny układ (mniej „Instagrama”): zdjęcie w prostokącie,
   liczniki jako bloki, wizytówka obok, zakładki z napisami, kafelki z zaokrąglonymi rogami ---------- */
.opp > * { max-width: 1120px; }
.opp-head { grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.opp-head.has-card { grid-template-columns: 280px minmax(0, 1fr) 300px; }
.opp-avatar {
  width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 22px; box-shadow: none;
  background: linear-gradient(160deg, var(--teal), #183d47); font-size: 88px;
}
.opp-info { padding-top: 8px; }
.opp-name { margin-bottom: 10px; font-size: clamp(38px, 4.4vw, 60px); }
.opp-meta { margin-bottom: 18px; }
.opp-bio { margin-bottom: 26px; }
.opp-stats { gap: 0; margin: 0; }
.opp-stats li { display: flex; flex-direction: column; gap: 4px; padding: 0 26px; border-left: 1px solid rgba(242, 240, 239, .16); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.opp-stats li:first-child { padding-left: 0; border-left: 0; }
.opp-stats strong { font: 300 44px/1 var(--font-serif); letter-spacing: 0; text-transform: none; }
.opp-head .opp-vcard { align-self: stretch; margin: 0; }
.opp-cards { margin-top: 32px; }
.opp-about { padding: 28px 32px; background: none; box-shadow: none; border-left: 2px solid var(--sienna); border-radius: 0; }
.opp-about .opp-about-txt { max-width: 760px; font-size: 18px; }
.opp-about .opp-about-txt p { font-family: var(--font-serif); font-size: 22px; line-height: 1.45; }

.opp-tabs { justify-content: flex-start; gap: 8px; margin-top: 56px; padding-top: 0; border-top: 0; flex-wrap: wrap; }
.opp-tab {
  margin: 0; padding: 10px 18px; border: 1px solid rgba(242, 240, 239, .22); border-radius: var(--r-pill);
  font: 400 15px/1 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--cream); transition: background-color .2s, color .2s;
}
.opp-tab sup { margin-left: 4px; font-size: 11px; color: var(--grey); }
.opp-tab[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.opp-tab[aria-pressed="true"] sup { color: var(--ink); opacity: .6; }
.opp-tab:hover:not([aria-pressed="true"]) { background: rgba(242, 240, 239, .1); }
.opp-tab span { display: inline !important; }
.opp-grid { gap: 14px; margin-top: 22px; }
.opp-tile { border-radius: 16px; }

@media (max-width: 900px) {
  .opp-head, .opp-head.has-card { grid-template-columns: 1fr; gap: 20px; }
  .opp-info { display: block; padding-top: 0; }
  .opp-avatar { grid-row: auto; width: 100%; max-height: 420px; aspect-ratio: 4 / 5; border-radius: 18px; font-size: 64px; }
  .opp-name { font-size: 36px; }
  .opp-stats li { padding: 0 16px; }
  .opp-stats li:first-child { padding-left: 0; }
  .opp-stats strong { font-size: 34px; }
  .opp-about { padding: 18px 20px; }
  .opp-about .opp-about-txt p { font-size: 20px; }
  .opp-tabs { justify-content: flex-start; gap: 6px; margin: 36px 0 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .opp-tabs::-webkit-scrollbar { display: none; }
  .opp-tab { flex: none; padding: 9px 15px; font-size: 14px; }
  .opp-tab svg { display: none; }
  .opp-grid { gap: 8px; margin: 16px 0 0; }
  .opp-tile { border-radius: 12px; }
}
.opp-stats strong { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
@media (max-width: 900px) { .opp-avatar { width: 62%; max-width: 260px; } }

/* ---------- 038: profil twórcy – teksty po lewej, mniejsze zdjęcie po prawej ---------- */
.opp-head { grid-template-columns: minmax(0, 1fr) 200px; }
.opp-head.has-card { grid-template-columns: minmax(0, 1fr) 200px 300px; }
.opp-head .opp-info { grid-column: 1; grid-row: 1; }
.opp-head .opp-avatar { grid-column: 2; grid-row: 1; font-size: 64px; border-radius: 18px; }
.opp-head .opp-vcard { grid-column: 3; grid-row: 1; }
@media (max-width: 900px) {
  .opp-head, .opp-head.has-card { grid-template-columns: minmax(0, 1fr) 104px; gap: 16px 18px; }
  .opp-head .opp-info { display: contents; }
  .opp-head .opp-name { grid-column: 1; grid-row: 1; align-self: end; margin: 0; }
  .opp-head .opp-meta { grid-column: 1; grid-row: 2; align-self: start; margin: 0; }
  .opp-head .opp-avatar { grid-column: 2; grid-row: 1 / span 2; width: 104px; max-width: none; border-radius: 14px; font-size: 36px; align-self: start; }
  .opp-head .opp-bio, .opp-head .opp-stats, .opp-head .opp-vcard { grid-column: 1 / -1; grid-row: auto; margin: 0; }
}

/* ---------- 039: profil twórcy – układ kafelków z panelu (szer. × wys. w polach siatki) ---------- */
.opp-grid.is-layout { grid-auto-flow: row dense; grid-auto-rows: 300px; }
.opp-grid.is-layout .opp-tile { aspect-ratio: auto; width: 100%; height: 100%; }

/* ---------- 043: twórcy nad portfolio – zaokrąglone prostokąty, o 40% większe; „Zobacz profil” ---------- */
.pf-face { width: 67px; height: 67px; margin-left: -14px; border-radius: 16px; font-size: 20px; }
.pf-face:first-child { margin-left: 0; }
.pf-face[aria-pressed="true"] { outline-offset: 2px; border-radius: 16px; }
.pf-faces-all { text-decoration: underline; color: var(--cream); }
@media (max-width: 900px) { .pf-face { width: 60px; height: 60px; border-radius: 14px; font-size: 18px; } }

/* ---------- 046: galeria – « ‹ miniatury › » (‹ › zdjęcia, « » poprzednia / następna galeria) ---------- */
.pf-gal-bar { overflow: visible; padding: 0 8px; gap: 4px; }
.pf-gal-thumbs { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 4px; height: 100%; }
.pf-gal-thumbs::-webkit-scrollbar { display: none; }
.pf-gal-nav { flex: 0 0 40px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; padding: 0 0 3px; }
.pf-gal-nav.is-gal { font-size: 24px; color: var(--cream); background: rgba(242, 240, 239, .08); }
.pf-gal-nav.is-gal:hover { background: rgba(242, 240, 239, .18); }
.pf-gal-nav:disabled { opacity: .3; cursor: default; background: none; }
.pf-gal-nav:focus-visible { outline: 2px solid var(--cream); outline-offset: 1px; }
@media (max-width: 900px) {
  .pf-card .pf-gal-bar { padding: 0 2px; gap: 2px; }
  .pf-card .pf-gal-nav { display: inline-flex; flex-basis: 32px; width: 32px; height: 36px; font-size: 22px; }
  .pf-card .pf-gal-nav.is-gal { font-size: 20px; }
  .pf-card .pf-gal-thumbs { gap: 5px; }
}

/* ---------- 046: kilka przykładów z portfolio na podstronie usługi – mini karuzele ---------- */
.svc-exs { margin: 8px auto 0; padding: 0 var(--pad-x); max-width: 780px; }
.svc-exs .svc-ex { padding: 0; }
.svc-exs-group + .svc-exs-group { margin-top: 36px; }
.svc-exs-h { margin: 0 0 12px; font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--teal); }
.svc-exs-mob { margin: 48px auto 8px; }
.svc-car { position: relative; }
.svc-car-view { position: relative; overflow: hidden; touch-action: pan-y; }
.svc-car-item { position: absolute; left: 50%; top: 50%; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s ease; will-change: transform; }
.svc-car-item .svc-ex, .svc-car-item .svc-ex.is-v { margin: 0; padding: 0; width: 100%; height: 100%; max-width: none; }
.svc-car-item .svc-ex-frame, .svc-car-item .svc-ex.is-v .svc-ex-frame { width: 100%; height: 100%; aspect-ratio: auto; max-width: none; }
.svc-car-item:not(.is-cur) { cursor: pointer; }
.svc-car-item:not(.is-cur) .svc-ex-frame > * { pointer-events: none; }
.svc-car-item:not(.is-cur) .svc-ex-play, .svc-car-item:not(.is-cur) .pf-expand { opacity: 0; }
.svc-car-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.svc-car-nav {
  width: 44px; height: 44px; border-radius: var(--r-pill, 999px); border: 1px solid var(--line, #BBBDBC);
  background: transparent; color: var(--ink); font-size: 26px; line-height: 1; padding: 0 0 3px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;
}
.svc-car-nav:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.svc-car-nav:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.svc-car-count { font-size: 14px; color: var(--graphite); min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.svc-car > .svc-ex-l { display: block; margin-top: 12px; }
.svc-car-cap .svc-ex-cap, .svc-ex-cap { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .svc-car-item { transition: none; } }
@media (min-width: 901px) {
  .article-top > .svc-exs { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: 160px 0 40px; padding: 0; width: 280px; max-width: none; }
  .article-top > .svc-exs:not(.is-stack) { position: sticky; top: 110px; }
  .svc-exs-mob { display: none; }
  .svc-exs-desk .svc-exs-h { font-size: 22px; }
}
@media (max-width: 900px) {
  .svc-exs-desk { display: none; }
  .svc-exs { margin-top: 18px; }
  .svc-exs-mob { margin-top: 40px; }
}

/* ---------- 047: przyciski galerii w miejscu bocznych strzałek (« ‹ po lewej, › » po prawej) ---------- */
.pf-side { position: absolute; top: 50%; z-index: 3; display: flex; align-items: center; gap: 8px; transform: translateY(-50%); }
.pf-side .pf-car-nav, .pf-side .pf-mnav, .pf-side .opp-post-nav { position: static; margin: 0; flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 3px; }
.pf-side .is-proj { font-size: 24px; }
.pf-side [hidden] { display: none; }
.pf-car-side.is-prev { left: 4px; } .pf-car-side.is-next { right: 4px; }
.pf-msides { z-index: 50; } .pf-msides.is-prev { left: 6px; } .pf-msides.is-next { right: 6px; }
.pf-msides .pf-mnav { width: 36px; height: 36px; font-size: 20px; }
.opp-post-side-nav { z-index: 2; } .opp-post-side-nav.is-prev { left: 16px; } .opp-post-side-nav.is-next { right: 16px; }
.pf-gal-bar .pf-gal-nav { display: none; }
@media (max-width: 900px) {
  .opp-post-side-nav { top: auto; bottom: 16px; transform: none; }
  .opp-post-side-nav.is-prev { left: 16px; right: auto; } .opp-post-side-nav.is-next { right: 16px; }
}

/* ---------- 047: krótki opis pod kaflem produktu (oferta na stronie głównej) ---------- */
.offer-layer-d { display: grid; grid-template-rows: 0fr; width: min(560px, 100%); transition: grid-template-rows .35s var(--ease-out), opacity .25s; opacity: 0; }
.is-all .offer-layer-d { width: min(720px, 100%); }
.offer-layer-d > p { overflow: hidden; min-height: 0; margin: 0; padding: 0 28px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .9); text-align: left; }
@media (hover: hover) {
  .offer-layer-wrap:has(.offer-layer.is-active) .offer-layer-d, .offer-layer-wrap:focus-within .offer-layer-d { grid-template-rows: 1fr; opacity: 1; }
  .offer-layer-wrap:has(.offer-layer.is-active) .offer-layer-d > p { padding: 12px 28px 6px; }
  .offer-detail .offer-desc { display: none; }
}
@media (hover: none) {
  .offer-layer-wrap.is-open .offer-layer-d { grid-template-rows: 1fr; opacity: 1; }
  .offer-layer-wrap.is-open .offer-layer-d > p { padding: 10px 20px 4px; }
  .offer .offer-layer-wrap.is-open a.offer-layer { background: var(--cream); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .offer-layer-d { transition: none; } }
/* 047: blok „pojedyncze materiały jeden pod drugim” */
.svc-exs-list { display: flex; flex-direction: column; gap: 28px; }
/* 047: konfigurator – podpis pod pytaniem, „Inne → Jakie?”, wielokrotny wybór, komunikat warunku */
.fit-sub { margin: -6px 0 12px 38px; font-size: 14.5px; line-height: 1.45; color: var(--graphite); }
.fit-other { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; max-width: 420px; }
.fit-other[hidden] { display: none; }
.fit-other label { font-size: 15px; font-weight: 500; color: var(--ink); }
.fit-other input { min-height: 44px; padding: 10px 14px; border: 1px solid #C9C5C2; border-radius: 10px; background: #fff; font: 15px var(--font-sans); color: var(--ink); }
.fit-other input:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.fit-answers.is-multi .fit-ans[aria-pressed="true"]::before { content: "✓ "; }
.fit-hint { margin: 8px 0 0; font-size: 13.5px; color: var(--graphite); }
.fit-need { margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--sienna); background: #F7F1EC; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.fit-need[hidden] { display: none; }
.fit-need p { margin: 0; }
.fit-need p + p { margin-top: 6px; }
.fit-need a { color: var(--sienna); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
/* ---------- 049: konfigurator zapytania (pierwszy krok formularza) ---------- */
.contact-view[data-view="wizard"] { justify-content: center; flex-grow: 1; gap: 22px; }
.contact-wiz-lead { margin: -8px 0 0; max-width: 620px; font-size: 18px; line-height: 1.5; color: var(--c-sub); text-align: left; }
.contact-wiz-body { display: flex; flex-direction: column; gap: 16px; }
.contact-wiz-step { margin: 0; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-sub); }
.contact-wiz-q { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.contact-wiz-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-wiz-opt {
  min-height: 52px; padding: 12px 22px; border: 1px solid rgba(26, 26, 24, .18); border-radius: var(--r-pill); cursor: pointer;
  background: #fff; color: var(--ink); font: 17px/1.3 var(--font-sans); text-align: left; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-out);
}
.contact-wiz-opt:hover { border-color: var(--teal); transform: translateY(-2px); }
.contact-wiz-opt[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.contact-wiz-opt[aria-pressed="true"]::before { content: "✓ "; }
.contact-wiz-hint { margin: 0; font-size: 14.5px; color: var(--c-sub); }
.contact-wiz-next { align-self: flex-start; }
.contact-wiz-x input { width: 100%; max-width: 520px; height: 52px; padding: 0 16px; border: 1px solid rgba(26, 26, 24, .2); border-radius: 12px; background: #fff; font: 17px var(--font-sans); color: var(--ink); }
.contact-wiz-x input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.contact-wiz-body .contact-pgroup { max-width: 620px; }
.contact-wiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.contact-wiz-skip { min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 16px var(--font-sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.contact-wiz-skip:hover { opacity: .7; }
.contact-modes[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .contact-wiz-opt { transition: none; } }
.contact-wiz-body .contact-product { background: #fff; border: 1px solid rgba(26, 26, 24, .14); }
/* ---------- 051: bloki materiałów na podstronach (Oferta, Proces) – sala projekcyjna jak portfolio ---------- */
.pf-blocks { margin: 48px 0 8px; display: flex; flex-direction: column; gap: 0; }
.pf-block { padding: 40px var(--pad) 44px; background: var(--ink); color: var(--cream); }
.pf-block + .pf-block { border-top: 1px solid rgba(242, 240, 239, .08); }
.pf-block-h { margin: 0 auto 24px; max-width: 1200px; font-family: var(--font-serif); font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; color: var(--cream); text-align: center; }
.pf-block.is-list { background: transparent; color: inherit; }
.pf-block.is-list .pf-block-h { color: var(--teal); }
.pf-block.is-list .svc-exs-list { max-width: 780px; margin: 0 auto; }
.pf-mini .pf-body { display: block; }
@media (min-width: 901px) {
  .pf-mini .pf-body { --stage-h: min(60vh, 600px); grid-template-columns: 1fr; }
  .pf-mini .pf-stage { gap: 20px; }
}
@media (max-width: 900px) {
  .pf-mini .pf-body { display: none; }
  .pf-block { padding: 28px 0 32px; }
  .pf-block-h { padding: 0 var(--pad); margin-bottom: 16px; }
}
/* 059: dłuższy napis „Umów bezpłatną konsultację” – na telefonie w dwóch wierszach, bez spychania „Menu” */
@media (max-width: 600px) {
  .sbh-head-cta { flex: 0 0 auto; width: 112px; font-size: 13.5px; line-height: 1.2; }
  .sbh-mark { font-size: 20px; }
}
@media (max-width: 440px) {
  .sbh-menu-btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* „Menu” tylko dla czytników – zostaje ikona */
  .sbh-mark { font-size: 18px; }
}
