/*
 * Stol-Drew — style motywu (baza: motyw Sanio; wygląd wg makieta/schody/index.html — blok na końcu pliku).
 * Ciemny, „kinowy” wygląd; jedna rodzina kroju (Jost) w lekkich wagach, akcent w kolorze brązu.
 */

/* Fonty lokalne (RODO) — Jost to font zmienny, jeden plik obsługuje wagi 300–500 */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(../fonts/jost-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(../fonts/jost-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #121110;
  --bg-2: #1a1917;
  --bg-3: #24221f;
  --bg-pas: #24221f; /* jaśniejsze pasy sekcji (wariant B, Dawid 14.10.2026) */
  --fg: #ede9e3;
  --fg-soft: #a59e95;
  --fg-faint: #6f6962;
  --line: #2f2c29;
  --accent: #b89170;
  --accent-hi: #d6b393;
  --on-accent: #151311;
  --ov: #3a281e;
  --shade: rgba(14, 13, 12, 0.82);

  --f: "Jost", "Futura", "Century Gothic", "Segoe UI", sans-serif;
  --fs-h1: clamp(3rem, 8.4vw, 7.6rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.8rem);
  --fs-lead: clamp(1.35rem, 2.3vw, 2.1rem);
  --fs-label: 0.72rem;

  --gutter: clamp(16px, 4.5vw, 64px);
  --section: clamp(84px, 11vw, 160px);
  --header-h: 84px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.65 var(--f); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--accent-hi); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--f); font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); line-height: 0.95; }
h2 { font-size: var(--fs-h2); line-height: 1.04; }
h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.005em; line-height: 1.2; }
b, strong { font-weight: 500; }
p { margin: 0; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.label { display: block; font: 500 var(--fs-label)/1.2 var(--f); letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-soft); }
.soft { color: var(--fg-soft); }
.ph { color: var(--accent-hi); border-bottom: 1px dashed var(--accent); }

/* Przyciski */
.pill {
  display: inline-flex; align-items: center; gap: 0.7em;
  padding: 0.95em 1.6em; border-radius: 999px;
  background: var(--fg); color: var(--bg); border: 1px solid var(--fg);
  font: 500 0.95rem/1 var(--f); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.pill:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: var(--on-accent); }
.pill-line { background: transparent; color: var(--fg); border-color: rgba(237, 233, 227, 0.45); }
.pill-line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.line-link { display: inline-flex; gap: 0.6em; align-items: center; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color 0.25s, color 0.25s; }
.line-link:hover { border-color: var(--accent-hi); color: var(--accent-hi); }
.arrow { display: inline-block; transition: transform 0.25s; }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }

/* Nagłówek */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  height: var(--header-h);
  transition: background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: var(--bg); border-bottom-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { font: 400 1.05rem/1 var(--f); letter-spacing: 0.5em; text-decoration: none; margin-right: auto; padding-left: 0.1em; }
.header-link { font-size: 0.92rem; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.header-link:hover { border-color: var(--fg); }
.menu-open {
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; color: var(--fg); cursor: pointer;
  font: 400 0.92rem/1 var(--f); letter-spacing: 0.04em; padding: 8px 0;
}
.burger { width: 26px; height: 9px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; }
.burger::before { top: 0; } .burger::after { bottom: 0; }
@media (max-width: 720px) { .header-link { display: none; } }

/* Menu na cały ekran: zdjęcie w tle przyciemnione brązem od lewej, dwa poziomy (wzór: Ernestrust) */
.overlay { position: fixed; inset: 0; z-index: 60; background: var(--ov); overflow: hidden; }
.ov-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; transition: opacity 0.3s ease; }
.ov-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(58, 40, 30, 0.75) 0, rgba(58, 40, 30, 0) 140px), linear-gradient(90deg, var(--ov) 0%, rgba(58, 40, 30, 0.94) 28%, rgba(58, 40, 30, 0.6) 48%, rgba(58, 40, 30, 0) 68%); }
.ov-in { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.ov-in > .wrap { width: 100%; }
.overlay-top { height: var(--header-h); display: flex; align-items: center; }
.ov-body { display: flex; align-items: center; padding-block: 24px; }
.ov-level { display: grid; gap: 14px; align-content: center; max-width: 30rem; }
.ov-level > a, .ov-level > button {
  font: 300 clamp(1.5rem, 2.6vw, 2.2rem)/1.15 var(--f); letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(237, 233, 227, 0.7); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: none; text-align: left; justify-self: start; transition: color 0.2s, transform 0.3s;
}
.ov-level > a:hover, .ov-level > button:hover, .ov-level > a:focus-visible, .ov-level > button:focus-visible { color: var(--fg); transform: translateX(8px); }
.ov-level .chev { font-size: 0.75em; margin-left: 0.45em; opacity: 0.7; }
.ov-level.sub { gap: 12px; }
.ov-level.sub > a { font-size: 1.08rem; letter-spacing: 0.01em; text-transform: none; }
.ov-level .ov-back { margin-bottom: 14px; color: var(--fg); }
.ov-level .ov-all { font-weight: 500; color: var(--fg); margin-top: 16px; }
.ov-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-block: 24px 32px; font-size: 0.88rem; color: rgba(237, 233, 227, 0.62); }
.ov-social { display: flex; gap: 18px; }
.ov-social a { color: rgba(237, 233, 227, 0.55); display: grid; transition: color 0.2s; }
.ov-social a:hover { color: var(--fg); }
.ov-social svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .ov-shade { background: rgba(58, 40, 30, 0.86); } }
.sicons { display: flex; flex-wrap: wrap; gap: 8px; }
.sicon { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.sicon svg { width: 19px; height: 19px; }
.sicon:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  min-height: min(94vh, 980px);
  display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: drift 26s ease-in-out infinite alternate; transform-origin: 60% 50%;
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.14) translateX(-1.5%); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--shade) 0%, rgba(14, 13, 12, 0.35) 45%, rgba(14, 13, 12, 0.25) 100%); }
.hero-in { position: relative; width: 100%; display: grid; gap: 28px; padding-block: 180px clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 9em; }
.hero h1 b { display: block; }
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 30em; color: var(--fg); opacity: 0.86; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cue { position: absolute; right: var(--gutter); bottom: clamp(48px, 7vw, 96px); display: flex; align-items: center; gap: 14px; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-soft); }
.hero-cue::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--fg-soft), transparent); }
@media (max-width: 760px) { .hero-cue { display: none; } }

/* Sekcje */
.section { padding-block: var(--section); }
.section-alt { background: var(--bg-pas); }
/* Wewnątrz jaśniejszego pasa karty, ramki i podświetlenia też o stopień jaśniejsze. */
.section-alt, .cta-band { --bg-2: #2e2b28; --bg-3: #36332f; --line: #3b3733; }
.head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.head > div { display: grid; gap: 18px; }
.head > p { color: var(--fg-soft); max-width: 34em; }
@media (max-width: 860px) { .head { grid-template-columns: minmax(0, 1fr); } }

/* Credo */
.credo { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px 64px; }
.credo-text { font: 300 var(--fs-lead)/1.35 var(--f); letter-spacing: -0.01em; max-width: 30em; }
.credo-bok { display: grid; gap: 28px; align-content: start; justify-items: start; }
.credo-bok img { width: clamp(150px, 15vw, 210px); height: auto; opacity: 0.92; }
@media (max-width: 960px) { .credo-bok { grid-auto-flow: column; align-items: center; justify-content: space-between; width: 100%; } .credo-bok img { width: 130px; } }
.credo-text b { color: var(--accent-hi); font-weight: 400; }
.pillars { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; margin-top: clamp(48px, 7vw, 96px); }
.pillar { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.pillar p { color: var(--fg-soft); font-size: 0.97rem; }
@media (max-width: 960px) { .credo { grid-template-columns: minmax(0, 1fr); } .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* Style */
.styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.style-card { position: relative; overflow: hidden; display: block; text-decoration: none; background: var(--bg-3); }
.style-card img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 1s ease; }
.style-card:hover img { transform: scale(1.04); }
.style-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 13, 12, 0.85) 0%, rgba(14, 13, 12, 0) 55%); }
.style-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 3vw, 36px); display: grid; gap: 8px; }
.style-meta h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 300; letter-spacing: -0.015em; }
.style-meta p { color: var(--fg-soft); font-size: 0.95rem; max-width: 30em; }
.style-meta span { font-size: 0.88rem; margin-top: 6px; }
@media (max-width: 720px) { .styles { grid-template-columns: minmax(0, 1fr); } .style-card img { aspect-ratio: 4 / 3; } }

/* Co robimy */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 120px 40px; gap: 24px; align-items: center;
  padding-block: clamp(20px, 2.6vw, 32px); border-bottom: 1px solid var(--line);
  text-decoration: none; transition: background 0.3s, padding 0.3s;
}
.row:hover { background: var(--bg-2); padding-inline: 16px; }
.row-name { font: 300 clamp(2rem, 4.6vw, 3.8rem)/1 var(--f); letter-spacing: -0.02em; }
.row-desc { color: var(--fg-soft); font-size: 0.97rem; }
.row img { width: 120px; height: 84px; object-fit: cover; opacity: 0.85; transition: opacity 0.3s; }
.row:hover img { opacity: 1; }
.row .arrow { font-size: 1.4rem; color: var(--fg-soft); justify-self: end; }
@media (max-width: 860px) {
  .row { grid-template-columns: minmax(0, 1fr) 96px; }
  .row-desc { grid-column: 1; }
  .row img { grid-column: 2; grid-row: 1 / span 2; width: 96px; height: 72px; }
  .row .arrow { display: none; }
}

/* Realizacje (przewijane w poziomie) */
.rail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.rail-head > div { display: grid; gap: 18px; }
.rail-head > .rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button {
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--fg); border: 1px solid var(--line); font: 300 1.2rem/1 var(--f);
  transition: border-color 0.2s, background 0.2s;
}
.rail-ctrl button:hover { border-color: var(--fg); background: var(--bg-3); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 34vw, 520px); gap: clamp(14px, 1.8vw, 26px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  max-width: 100%;
}
.rail::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; display: grid; gap: 16px; align-content: start; min-width: 0; }
.rail-item .img { overflow: hidden; background: var(--bg-3); }
.rail-item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s ease; }
.rail-item:hover img { transform: scale(1.04); }
.rail-item h3 { font-size: 1.2rem; }
.rail-item p { font-size: 0.88rem; color: var(--fg-soft); }
.rail-foot { margin-top: clamp(32px, 4vw, 48px); }

/* Materiały */
.mats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.mat { display: grid; gap: 14px; align-content: start; }
.mat img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.mat p { color: var(--fg-soft); font-size: 0.93rem; }
@media (max-width: 960px) { .mats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Proces */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; }
.process li { position: relative; display: grid; gap: 10px; align-content: start; padding: 36px 24px 0 0; counter-increment: s; }
.process li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.process li::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.process .n { font-size: 0.78rem; letter-spacing: 0.2em; color: var(--accent-hi); }
.process .n::before { content: "0" counter(s) " · "; }
.process p { color: var(--fg-soft); font-size: 0.95rem; }
.process-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
@media (max-width: 1000px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .process li { padding: 0 0 30px 32px; }
  .process li::before { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .process li::after { top: 6px; }
}

/* Stolarnia (30 lat) */
.story { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.story-num {
  position: absolute; top: -0.12em; left: calc(var(--gutter) - 0.04em); z-index: 0; pointer-events: none;
  font: 300 clamp(10rem, 26vw, 22rem)/0.8 var(--f); letter-spacing: -0.06em; color: var(--bg-3);
}
.story-text { position: relative; z-index: 1; display: grid; gap: 22px; padding-top: clamp(80px, 12vw, 180px); }
.story-text > p { color: var(--fg-soft); max-width: 34em; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.timeline li > span { color: var(--accent-hi); }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.nums strong { display: block; font: 300 clamp(2rem, 3.4vw, 2.9rem)/1 var(--f); letter-spacing: -0.02em; }
.nums span { font-size: 0.82rem; color: var(--fg-soft); }
.story-imgs { position: relative; z-index: 1; display: grid; gap: clamp(14px, 1.8vw, 24px); }
.story-imgs img { width: 100%; height: auto; object-fit: cover; }
.story-a { aspect-ratio: 4 / 5; }
.story-b { aspect-ratio: 16 / 10; width: 78% !important; justify-self: end; }
@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-text { padding-top: clamp(64px, 18vw, 120px); }
  .story-a { aspect-ratio: 4 / 3; }
}

/* Opinia */
.quote { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 64px; }
.quote blockquote { margin: 0; font: 300 clamp(1.6rem, 3.2vw, 2.8rem)/1.25 var(--f); letter-spacing: -0.015em; max-width: 22em; }
.quote figcaption { margin-top: 28px; color: var(--fg-soft); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.g-sum { display: grid; gap: 8px; align-content: start; }
.g-score { font: 300 clamp(3rem, 6vw, 4.6rem)/1 var(--f); letter-spacing: -0.03em; margin-top: 10px; }
.g-score small { font-size: 0.35em; color: var(--fg-soft); margin-left: 6px; letter-spacing: 0; }
.g-note { font-size: 0.8rem; color: var(--fg-faint); max-width: 18em; margin-top: 6px; }
.tag { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-hi); }
@media (max-width: 860px) { .quote { grid-template-columns: minmax(0, 1fr); } }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 112px); }
.contact-info { display: grid; gap: 24px; align-content: start; }
.contact-info > p { color: var(--fg-soft); }
.cdata { display: grid; gap: 4px; font-size: 0.97rem; }
.cdata .cdata-l { color: var(--fg-soft); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 14px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; }
.field { display: grid; gap: 6px; min-width: 0; }
.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-soft); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 10px 0; background: transparent; color: var(--fg);
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  font: 400 1.05rem/1.4 var(--f);
}
.field select option { background: var(--bg-2); color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent-hi); }
.field textarea { min-height: 96px; resize: vertical; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 0.55em 1.1em; border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 1px solid var(--accent-hi); outline-offset: 3px; }
.flabel { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-soft); }
.dropzone { display: grid; gap: 6px; margin-top: 4px; padding: 22px; border: 1px dashed var(--line); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.dropzone:hover, .dropzone.over { border-color: var(--accent-hi); background: var(--bg-2); }
.dropzone u { text-underline-offset: 3px; }
.dropzone small { color: var(--fg-faint); font-size: 0.8rem; }
.files { list-style: none; margin: 0; padding: 0; display: grid; }
.files li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li small { color: var(--fg-faint); font-variant-numeric: tabular-nums; }
.files button { background: none; border: 0; color: var(--fg-soft); cursor: pointer; font: inherit; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px; }
.files button:hover { color: var(--accent-hi); }
.file-err { color: var(--accent-hi); font-size: 0.85rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--fg-soft); }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.form-msg { grid-column: 1 / -1; color: var(--accent-hi); font-size: 0.92rem; border-left: 1px solid var(--accent); padding-left: 14px; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* Stopka */
.footer { border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--fg-soft); }
.footer-in { display: grid; grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr)); gap: 32px 48px; padding-block: clamp(56px, 7vw, 96px) 40px; }
.footer h3 { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--fg); }
.social a { display: inline-flex; gap: 0.4em; align-items: baseline; }
.social a span { font-size: 0.8em; color: var(--fg-faint); }
.footer .logo { display: inline-block; color: var(--fg); margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.78rem; }
@media (max-width: 900px) { .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-in > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-in { grid-template-columns: minmax(0, 1fr); } }

/* Pasek na telefonie */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
  .mobile-bar .pill { justify-content: center; padding-block: 0.85em; }
  body { padding-bottom: 74px; }
}

/* ===== Podstrona Realizacje ===== */
.page-top { padding-block: calc(var(--header-h) + clamp(48px, 7vw, 96px)) clamp(32px, 4vw, 56px); margin-top: calc(-1 * var(--header-h)); background: var(--bg); }
.page-top h1 { font-size: clamp(3rem, 8vw, 7rem); }
.page-top .lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-top: 28px; }
.page-top .lead p { color: var(--fg-soft); max-width: 34em; }
.page-top .count { justify-self: end; text-align: right; color: var(--fg-soft); font-size: 0.9rem; }
.page-top .count strong { display: block; font: 300 clamp(2.4rem, 4vw, 3.4rem)/1 var(--f); color: var(--fg); letter-spacing: -0.02em; }
@media (max-width: 760px) { .page-top .lead { grid-template-columns: minmax(0, 1fr); } .page-top .count { justify-self: start; text-align: left; } }

.filterbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 30; background: var(--bg); border-block: 1px solid var(--line); }
.filterbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 14px; }
.kind { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.kind button { background: none; border: 0; color: var(--fg-soft); padding: 7px 16px; border-radius: 999px; cursor: pointer; font: 400 0.92rem/1 var(--f); }
.kind button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.cats { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.cats button, .cats a { background: none; border: 0; border-bottom: 1px solid transparent; color: var(--fg-soft); padding: 6px 0; cursor: pointer; font: 400 0.95rem/1.2 var(--f); text-decoration: none; }
.cats button:hover, .cats a:hover { color: var(--fg); }
.cats button[aria-pressed="true"], .cats a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--fg); }
.stylesel { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--fg-soft); }
.stylesel select { background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: 400 0.9rem/1 var(--f); }
@media (max-width: 860px) { .stylesel { margin-left: 0; } }

.rgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(14px, 1.8vw, 26px); padding-block: clamp(40px, 6vw, 72px); grid-auto-flow: dense; }
.rcard { grid-column: span 4; display: grid; gap: 14px; align-content: start; text-decoration: none; cursor: pointer; min-width: 0; }
.rcard .img { overflow: hidden; background: var(--bg-3); position: relative; }
.rcard img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s ease; }
.rcard:hover img { transform: scale(1.04); }
.rcard h3 { font-size: 1.3rem; }
.rcard .meta { font-size: 0.85rem; color: var(--fg-soft); }
.rcard .mat { font-size: 0.85rem; color: var(--fg-faint); }
.rcard .go { font-size: 0.88rem; margin-top: 2px; }
.rgrid.all .rcard.w8 { grid-column: span 8; }
.rgrid.all .rcard.w8 img { aspect-ratio: 16 / 10; }
.rgrid.all .rcard.w6 { grid-column: span 6; }
.rgrid.all .rcard.tall img { aspect-ratio: 4 / 5; }
.rcard .badge { position: absolute; left: 12px; top: 12px; z-index: 1; background: rgba(18, 17, 16, 0.78); color: var(--fg); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; }
@media (max-width: 1000px) { .rcard, .rgrid.all .rcard.w8, .rgrid.all .rcard.w6 { grid-column: span 6; } }
@media (max-width: 620px) { .rcard, .rgrid.all .rcard.w8, .rgrid.all .rcard.w6 { grid-column: 1 / -1; } .rgrid.all .rcard.tall img { aspect-ratio: 4 / 3; } }
.more-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-bottom: clamp(56px, 8vw, 96px); }
.empty { grid-column: 1 / -1; color: var(--fg-soft); padding: 40px 0; border-top: 1px solid var(--line); }
.insp-note { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.insp-note p { color: var(--fg-soft); }
.insp-note b { color: var(--fg); font-weight: 400; }
@media (max-width: 760px) { .insp-note { grid-template-columns: minmax(0, 1fr); } }

.cta-band { background: var(--bg-pas); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 64px; align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.cta-band p { color: var(--fg-soft); margin-top: 16px; max-width: 32em; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); } .cta-band .acts { justify-content: flex-start; } }

/* ===== Pojedyncza realizacja ===== */
.hero.rhero { min-height: min(86vh, 900px); }
.hero.rhero .hero-bg { animation: none; transform: none; }
.hero.rhero .hero-shade { background: linear-gradient(to top, rgba(14, 13, 12, 0.88) 0%, rgba(14, 13, 12, 0.55) 45%, rgba(14, 13, 12, 0.35) 100%), linear-gradient(to right, rgba(14, 13, 12, 0.6) 0%, rgba(14, 13, 12, 0) 60%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 0.85rem; color: var(--fg-soft); }
.crumbs button { background: none; border: 0; color: var(--fg); cursor: pointer; font: inherit; padding: 0; border-bottom: 1px solid var(--line); }
.crumbs button:hover { border-color: var(--fg); }
.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 24px; padding-block: clamp(36px, 5vw, 56px); }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; min-width: 0; }
.facts dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint); }
.facts dd { margin: 0; font-size: 0.98rem; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 24px; } }
@media (max-width: 560px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.story2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; padding-bottom: clamp(56px, 8vw, 96px); }
.story2-body { display: grid; gap: 28px; max-width: 46em; }
.story2-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.story2-body p { color: var(--fg-soft); }
@media (max-width: 860px) { .story2 { grid-template-columns: minmax(0, 1fr); } }

.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); grid-auto-flow: dense; }
.gal button { padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; overflow: hidden; grid-column: span 4; }
.gal button img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.8s ease; }
.gal button:hover img { transform: scale(1.03); }
.gal .g-wide { grid-column: span 8; }
.gal .g-tall img { aspect-ratio: 3 / 4; }
.gal .g-half { grid-column: span 6; }
@media (max-width: 760px) { .gal button, .gal .g-wide, .gal .g-half { grid-column: span 6; } .gal .g-wide { grid-column: 1 / -1; } }
.gal-note { margin-top: 14px; font-size: 0.85rem; color: var(--fg-faint); }

.compare { position: relative; overflow: hidden; --pos: 50%; background: var(--bg-3); user-select: none; }
.compare img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.as-render { filter: grayscale(1) contrast(1.2) brightness(1.15); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--fg); pointer-events: none; }
.compare-line::after { content: "↔"; position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-size: 1.1rem; }
.compare-tag { position: absolute; top: 16px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; background: rgba(18, 17, 16, 0.75); padding: 6px 10px; pointer-events: none; }
.compare-tag.l { left: 16px; } .compare-tag.r { right: 16px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:focus-within .compare-line::after { outline: 1px solid var(--accent-hi); outline-offset: 4px; }

.ask { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); }
.ask-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
.refchip { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--accent); color: var(--accent-hi); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 0.9rem; justify-self: start; }
.refchip button { background: none; border: 0; color: var(--fg-soft); cursor: pointer; font-size: 1rem; line-height: 1; padding: 2px 6px; }
@media (max-width: 860px) { .ask { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ask-form { grid-template-columns: minmax(0, 1fr); } }

.similar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
@media (max-width: 860px) { .similar { grid-template-columns: minmax(0, 1fr); } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(10, 9, 8, 0.96); display: grid; grid-template-rows: auto 1fr auto auto; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.lb-top { display: flex; justify-content: space-between; align-items: center; color: var(--fg-soft); font-size: 0.9rem; }
.lb-top button, .lb-nav button { background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 999px; padding: 8px 16px; cursor: pointer; font: 400 0.9rem/1 var(--f); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding-block: 12px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-nav { display: flex; justify-content: center; gap: 12px; }
.lb-podpis { margin: 0 auto 10px; max-width: 60em; text-align: center; color: var(--fg-soft); font-size: 0.85rem; line-height: 1.4; }

/* ===== Uzupełnienia dla WordPressa ===== */
body { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed !important; z-index: 100; top: 12px; left: 12px; width: auto; height: auto; clip: auto; clip-path: none; padding: 10px 16px; background: var(--fg); color: var(--bg); text-decoration: none; }
.sanio-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: 0.85rem; }
a.logo { color: var(--fg); }
.logo-img img { max-height: 40px; width: auto; }
.admin-bar .site-header { top: 32px; }
.admin-bar .filterbar { top: calc(32px + var(--header-h)); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .filterbar { top: calc(46px + var(--header-h)); } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .admin-bar .filterbar { top: var(--header-h); } }

/* Zastępczy obrazek, gdy brak zdjęcia */
.img-brak { display: block; width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); }
.hero .img-brak { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; background: radial-gradient(ellipse at 70% 30%, #2c2620 0%, var(--bg) 70%); }
.style-card .img-brak { aspect-ratio: 5 / 4; }
.row .img-brak { width: 120px; height: 84px; aspect-ratio: auto; }
.mat .img-brak { aspect-ratio: 1; }
.rail-item .img-brak { aspect-ratio: 4 / 5; }
.story-imgs .img-brak.story-a { aspect-ratio: 4 / 5; }
.story-imgs .img-brak.story-b { aspect-ratio: 16 / 10; width: 78%; justify-self: end; }
@media (max-width: 860px) { .row .img-brak { grid-column: 2; grid-row: 1 / span 2; width: 96px; height: 72px; } }
@media (max-width: 720px) { .style-card .img-brak { aspect-ratio: 4 / 3; } }
.hero-video { object-fit: cover; }

/* Menu: linki w stopce menu (telefon, e-mail) */
.ov-foot a { text-decoration: none; }
.ov-foot a:hover { color: var(--fg); }
.ov-bg[hidden] { display: none; }

/* Pasek realizacji: cała karta jest linkiem */
.rail-item > a { display: grid; gap: 16px; align-content: start; text-decoration: none; }

/* Opinia */
.quote-fig { margin: 0; }

/* Kontakt */
.cdata > :not(.cdata-l) { justify-self: start; }
.cdata a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cdata a:hover { border-color: var(--accent-hi); }
.field input[type="email"] { width: 100%; padding: 10px 0; background: transparent; color: var(--fg); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font: 400 1.05rem/1.4 var(--f); }
.field input[type="email"]:focus { outline: none; border-bottom-color: var(--accent-hi); }
.field [aria-invalid="true"] { border-bottom-color: var(--accent-hi); }
.visually-hidden-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.field:has(.visually-hidden-file:focus-visible) .dropzone { outline: 1px solid var(--accent-hi); outline-offset: 4px; }
.consent a { color: var(--fg); }
.form-msg[hidden] { display: none; }
.form-msg-ok { color: var(--fg); }
.form-msg:focus { outline: none; }
.refchip[hidden] { display: none; }
.pill[disabled] { opacity: 0.6; cursor: progress; }

/* Pojedyncza realizacja */
.crumbs a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { border-color: var(--fg); }
.badge-hero { justify-self: start; background: rgba(18, 17, 16, 0.78); color: var(--fg); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; }
.gal-section { padding-bottom: clamp(56px, 8vw, 96px); }
.gal button:focus-visible { outline: 1px solid var(--accent-hi); outline-offset: 3px; }
.compare img { height: auto; }
.compare-top img { width: 100%; height: 100%; object-fit: cover; }
.compare .img-brak { aspect-ratio: 16 / 9; }

/* Treść stron (edytor WordPressa) */
.page-title { font-size: clamp(2.6rem, 6vw, 5rem); }
.page-body { padding-bottom: clamp(56px, 8vw, 112px); }
.prose { max-width: 46em; color: var(--fg-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--fg); margin-top: 1.6em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose a { color: var(--accent-hi); }
.prose img { height: auto; }
.prose ul, .prose ol { padding-left: 1.2em; }
.post-list { display: grid; gap: 40px; }
.post-item h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.post-item h2 a { text-decoration: none; }
.page-404 .hero-actions { margin-top: 32px; }
.nav-links { display: flex; gap: 12px; margin-top: 40px; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--fg); color: var(--bg); }

/* Stopka */
.footer .sicons { margin-bottom: 16px; }
.footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

/* Pasek na telefonie: jeden przycisk na całą szerokość */
.mobile-bar > :only-child { grid-column: 1 / -1; }

@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }

/* ===== Etap 1b: pasek ogłoszeń, schody, FAQ, adres, strona „Wkrótce” ===== */

/* Pasek ogłoszeń nad nagłówkiem (w zwykłym przepływie — przewija się, nagłówek zostaje przyklejony) */
.announce { background: var(--bg-3); border-bottom: 1px solid var(--line); font-size: 0.86rem; line-height: 1.45; }
.announce-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 42px; padding-block: 7px; }
.announce-t { text-align: center; padding-left: 40px; color: var(--fg); letter-spacing: 0.01em; }
.announce-t a { margin-left: 0.6em; color: var(--accent-hi); text-decoration: none; border-bottom: 1px solid rgba(214, 179, 147, 0.4); white-space: nowrap; transition: border-color 0.25s; }
.announce-t a:hover { border-color: var(--accent-hi); }
.announce-x { width: 30px; height: 30px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; color: var(--fg-soft); cursor: pointer; font: 400 0.85rem/1 var(--f); transition: color 0.2s, background 0.2s; }
.announce-x:hover { color: var(--fg); background: rgba(237, 233, 227, 0.08); }
.announce:not([hidden]) ~ main .hero:not(.rhero) { min-height: min(calc(94vh - 42px), 940px); }
@media (max-width: 720px) { .announce-t { text-align: left; padding-left: 0; } }

/* Schody: „Zaczęło się od schodów” w sekcji stolarni (zdjęcie z lewej — zygzak względem historii) */
.stairs { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(80px, 11vw, 160px); }
.stairs-fig { position: relative; margin: 0; }
.stairs-img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.stairs .img-brak { aspect-ratio: 16 / 10; }
.stairs-brak { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; font-size: 0.92rem; text-align: center; }
.stairs-text { display: grid; gap: 22px; align-content: center; max-width: 34em; }
.stairs-h { font: 300 clamp(2rem, 3.6vw, 3.1rem)/1.05 var(--f); letter-spacing: -0.02em; }
.stairs-text > p { color: var(--fg-soft); }
.stairs-text .line-link { justify-self: start; }
@media (max-width: 900px) { .stairs { grid-template-columns: minmax(0, 1fr); } }

/* FAQ: akordeon na <details>, cienkie linie i duży krój jak „Meble do całego domu” */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid; grid-template-columns: 3.4em minmax(0, 1fr) 24px; gap: 24px; align-items: center;
  padding-block: clamp(18px, 2vw, 26px); cursor: pointer; list-style: none;
  transition: background 0.3s, padding 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(237, 233, 227, 0.03); padding-inline: 16px; }
.faq-item summary:focus-visible { outline-offset: -1px; }
.faq-n { color: var(--fg-faint); font-size: 0.85rem; letter-spacing: 0.12em; }
.faq-q { font: 300 clamp(1.2rem, 1.8vw, 1.6rem)/1.25 var(--f); letter-spacing: -0.01em; transition: color 0.25s; }
.faq-item[open] .faq-q { color: var(--accent-hi); }
.faq-ico { position: relative; width: 22px; height: 22px; justify-self: end; color: var(--fg-soft); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform 0.3s; }
.faq-ico::after { transform: rotate(90deg); }
.faq-item[open] .faq-ico::after { transform: rotate(0deg); }
.faq-a { padding: 0 48px clamp(26px, 3vw, 38px) calc(3.4em + 24px); color: var(--fg-soft); }
.faq-a > * { max-width: 44em; }
.faq-a > * + * { margin-top: 0.9em; }
.faq-a a { color: var(--accent-hi); }
.faq-a ul, .faq-a ol { padding-left: 1.2em; }
.faq-section:not(.section-alt) + #kontakt { border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .faq-item summary { grid-template-columns: minmax(0, 1fr) 22px; gap: 16px; }
  .faq-n { display: none; }
  .faq-a { padding-inline: 0; }
}

/* Adres: link do mapy, NIP w stopce */
.cdata .cdata-mapa { margin-top: 2px; font-size: 0.9rem; }
.footer-nip { margin-left: 1.4em; color: var(--fg-faint); }

/* Strona „Wkrótce” (wkrotce.php) */
body.strona-wkrotce { padding-bottom: 0; }
.soon { position: relative; min-height: 100vh; min-height: 100svh; display: flex; }
.soon .soon-bg, .soon .soon-shade { position: fixed; inset: 0; }
.soon .img-brak.soon-bg { height: 100%; aspect-ratio: auto; background: radial-gradient(ellipse at 70% 30%, #2c2620 0%, var(--bg) 70%); }
.soon-shade { background: linear-gradient(to top, var(--shade) 0%, rgba(14, 13, 12, 0.45) 55%, rgba(14, 13, 12, 0.35) 100%), linear-gradient(90deg, rgba(14, 13, 12, 0.55) 0%, rgba(14, 13, 12, 0.1) 65%); }
.soon-in { position: relative; z-index: 1; width: 100%; display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; min-height: 100svh; }
.soon-top { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.soon-badge { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-soft); }
.soon-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px clamp(40px, 6vw, 112px); align-items: end; padding-block: clamp(56px, 9vw, 140px) clamp(40px, 5vw, 72px); }
.soon-main { display: grid; gap: 28px; align-content: end; }
.soon-main h1 { max-width: 9em; }
.soon-main h1 b { display: block; }
.soon-social .sicon { border-color: rgba(237, 233, 227, 0.3); }
.soon-form { display: grid; gap: 12px; padding: clamp(24px, 3vw, 40px); background: rgba(18, 17, 16, 0.74); border: 1px solid rgba(237, 233, 227, 0.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.soon-form-h { font-size: clamp(1.55rem, 2.3vw, 2.1rem); line-height: 1.1; }
.soon-form .ask-form { margin-top: 14px; }
.soon-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(237, 233, 227, 0.14); font-size: 0.82rem; color: var(--fg-soft); }
@media (max-width: 960px) { .soon-grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 560px) { .soon-badge { display: none; } .soon .hero-actions .pill { flex: 1 1 100%; justify-content: center; } }

/* SEO lokalne: strony rodzaju/stylu/miejscowości i „Gdzie pracujemy” */
.page-top .lead-txt { display: grid; gap: 12px; }
.hero-sub a { color: inherit; text-decoration: underline; text-decoration-color: rgba(237, 233, 227, 0.4); text-underline-offset: 3px; }
.hero-sub a:hover { color: var(--accent-hi); }
.quotes { display: grid; gap: clamp(40px, 5vw, 64px); }
.quotes .quote-fig + .quote-fig { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.quotes blockquote { font-size: clamp(1.35rem, 2.4vw, 2.1rem); }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.towns a { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: border-color 0.25s, color 0.25s; }
.towns a:hover { border-color: var(--accent-hi); color: var(--accent-hi); }
.towns small { font-size: 0.8rem; color: var(--fg-soft); }
.obszar { padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.obszar .row-desc::first-letter { text-transform: uppercase; }

/* ===== Stol-Drew: wygląd wg makieta/schody/index.html (nadpisuje bazę z motywu Sanio) ===== */
:root { --fs-h1: clamp(2.9rem, 8vw, 7.2rem); --shade: rgba(14, 13, 12, 0.84); }
.cap { font-size: 0.82rem; line-height: 1.5; color: var(--fg-soft); font-variant-numeric: tabular-nums; }
.cap b { color: var(--fg); font-weight: 400; }
.pill { white-space: nowrap; }

/* Logo: znak + podpis */
.logo { display: grid; gap: 6px; text-decoration: none; margin-right: auto; font: inherit; letter-spacing: normal; padding-left: 0; }
.logo b { font: 400 1.05rem/1 var(--f); letter-spacing: 0.5em; padding-left: 0.1em; }
.logo span { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--fg-soft); }
.header-link { white-space: nowrap; }
@media (max-width: 380px) { .logo b { letter-spacing: 0.36em; } .logo span { letter-spacing: 0.2em; } }

/* Hero */
.hero-bg { transform-origin: 50% 50%; animation-name: drift-s; }
@keyframes drift-s { from { transform: scale(1.02); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero-shade { background: linear-gradient(to top, var(--shade) 0%, rgba(14, 13, 12, 0.45) 45%, rgba(14, 13, 12, 0.35) 100%); }
.hero .label { color: var(--fg); opacity: 0.85; }
.hero h1 { max-width: 10em; }
.hero h1 b { font-weight: 300; color: var(--accent-hi); }
.hero-sub { max-width: 31em; opacity: 0.9; }
.hero-cap { position: absolute; right: var(--gutter); bottom: clamp(48px, 7vw, 96px); max-width: 22rem; text-align: right; }
@media (max-width: 900px) { .hero-cap { position: static; text-align: left; } }

/* Rodzaje schodów: nazwa, opis, liczba, zdjęcie, strzałka */
.row { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 110px 120px 40px; }
.row-name { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.row-num { font-size: 0.85rem; color: var(--fg-soft); font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 860px) {
  .row { grid-template-columns: minmax(0, 1fr) 96px; gap: 8px 18px; }
  .row-desc, .row-num { grid-column: 1; text-align: left; }
  .row img, .row .img-brak { grid-column: 2; grid-row: 1 / span 3; width: 96px; height: 96px; }
  .row-num:empty { display: none; }
}

/* Balustrady */
.style-card::after { background: linear-gradient(to top, rgba(14, 13, 12, 0.9) 0%, rgba(14, 13, 12, 0) 58%); }
@media (max-width: 720px) { .style-card img { aspect-ratio: 4 / 5; } }

/* Realizacje (pasek) */
/* Pasek na całą szerokość ekranu (też na szerokich monitorach): tytuł, zdjęcia i linki od lewej krawędzi. */
.wrap-pelna { max-width: none; }
.rail { grid-auto-columns: clamp(260px, 30vw, 460px); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.rail-item { gap: 14px; text-decoration: none; }
.rail-item h3 { font-size: 1.2rem; }
.rail-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rail-foot .line-link { margin-right: 16px; }
.chip-s { display: inline-block; padding: 0.45em 1em; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: var(--fg-soft); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
a.chip-s:hover { border-color: var(--fg-soft); color: var(--fg); }

/* Detal */
.mat { margin: 0; }
.mat img { aspect-ratio: 3 / 4; }
.mat h3 { font-size: 1.15rem; }

/* Proces: czas pod opisem */
.process .t { font-size: 0.85rem; color: var(--fg); }

/* Stolarnia: rok w tle, oś czasu */
.story-num { font-size: clamp(8rem, 22vw, 19rem); }
.timeline li > span + span { color: var(--fg); }

/* Podłogi (pasmo) */
.band { position: relative; overflow: hidden; min-height: clamp(460px, 62vw, 760px); display: flex; align-items: flex-end; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 13, 12, 0.92) 0%, rgba(14, 13, 12, 0.72) 38%, rgba(14, 13, 12, 0.1) 75%), linear-gradient(to top, rgba(14, 13, 12, 0.6), transparent 40%); }
.band-in { position: relative; z-index: 1; width: 100%; padding-block: clamp(48px, 7vw, 96px); display: grid; gap: 22px; }
.band-in > p { max-width: 32em; opacity: 0.86; }
.band-in h2 { max-width: 14em; }
.grades { display: grid; grid-template-columns: repeat(2, minmax(0, 12rem)); gap: 24px; }
.grades div { border-top: 1px solid rgba(237, 233, 227, 0.3); padding-top: 12px; }
.grades b { display: block; font-size: 0.78rem; letter-spacing: 0.22em; }
.grades span { font-size: 0.92rem; color: var(--fg-soft); }
@media (max-width: 720px) { .band::after { background: linear-gradient(to top, rgba(14, 13, 12, 0.95) 0%, rgba(14, 13, 12, 0.7) 55%, rgba(14, 13, 12, 0.2) 100%); } }

/* Dla kogo i opinie */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.door { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); text-decoration: none; }
.door p { color: var(--fg-soft); font-size: 0.97rem; }
.door .line-link { justify-self: start; }
.door:hover h3 { color: var(--accent-hi); }
@media (max-width: 860px) { .doors { grid-template-columns: minmax(0, 1fr); } }
.quote blockquote { font-size: clamp(1.5rem, 3vw, 2.6rem); }
.g-sum .line-link { justify-self: start; margin-top: 8px; }

/* Kontakt: osoba, dane */
.section-line { border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.person .face { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; display: grid; place-content: center; background: var(--bg-3); }
.person .face img { width: 76px; height: 76px; object-fit: cover; }
.person .face-pusta { font: 300 1.8rem/1 var(--f); color: var(--fg-soft); }
.person span { color: var(--fg-soft); font-size: 0.9rem; }
.cdata .cdata-l { font-size: 0.75rem; }

/* Formularz wyceny w 3 krokach (bez JS wszystkie kroki jeden pod drugim) */
.form[data-kroki] { display: block; }
.form[data-kroki] > .form-msg, .form[data-kroki] > .refchip { margin-bottom: 24px; }
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: k; }
.kroki-on .steps { display: grid; }
.steps li { counter-increment: k; border-top: 1px solid var(--line); padding-top: 10px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); }
.steps li::before { content: "0" counter(k) " · "; }
.steps li.on { border-top-color: var(--accent-hi); color: var(--fg); }
.steps li.done { border-top-color: var(--accent); }
fieldset.step { border: 0; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; min-width: 0; }
.kroki-on fieldset.step { margin-bottom: 0; }
.step legend { font: 300 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--f); padding: 0; margin-bottom: 26px; float: left; width: 100%; color: var(--fg); letter-spacing: normal; text-transform: none; }
.field input[type="number"] { width: 100%; padding: 10px 0; background: transparent; color: var(--fg); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font: 400 1.05rem/1.4 var(--f); }
.field input[type="number"]:focus { outline: none; border-bottom-color: var(--accent-hi); }
.chip { position: relative; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.tile { position: relative; display: grid; gap: 8px; cursor: pointer; font-size: 0.9rem; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile .thumb { display: block; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); opacity: 0.75; transition: opacity 0.2s, border-color 0.2s; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tile .thumb.q { display: grid; place-content: center; font: 300 2rem var(--f); color: var(--fg-soft); }
.tile:hover .thumb { opacity: 0.95; }
.tile input:checked + .thumb { border-color: var(--accent-hi); opacity: 1; }
.tile input:focus-visible + .thumb { outline: 1px solid var(--accent-hi); outline-offset: 3px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
@media (max-width: 560px) { fieldset.step { grid-template-columns: minmax(0, 1fr); } .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-nav .pill { padding-inline: 1.2em; } }

/* Stopka */
.footer-in { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); }
.footer .logo { display: grid; margin-bottom: 18px; }
.footer-in p { line-height: 1.7; }
.sister { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.sister a { color: var(--fg); text-decoration: none; letter-spacing: 0.04em; }
.sister a b { letter-spacing: 0.4em; font-weight: 400; }
.sister a:hover { color: var(--accent-hi); }
.footer-links { display: inline-flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 900px) { .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer-in { grid-template-columns: minmax(0, 1fr); } }

/* Karta realizacji */
.hero.rhero { min-height: min(88vh, 900px); }
.hero.rhero .hero-in { gap: 18px; }
.hero.rhero h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); max-width: 12em; }
.crumbs { gap: 8px; font-size: 0.82rem; }
.crumbs a { color: var(--fg-soft); border-bottom: 0; }
.crumbs a:hover { color: var(--fg); }
.r-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 112px); }
.story-long { display: grid; gap: 20px; align-content: start; }
.story-long .prose-long { display: grid; gap: 20px; }
.story-long .prose-long > * { margin: 0; }
.story-long .prose-long > p:first-child { font: 300 var(--fs-lead)/1.35 var(--f); letter-spacing: -0.01em; color: var(--fg); }
.story-long .prose-long > p:not(:first-child), .story-long .opis-blok p { color: var(--fg-soft); max-width: 36em; }
.story-long .opis-blok h3 { font-size: 1.15rem; margin-bottom: 8px; }
.specs { margin: 0; border-top: 1px solid var(--line); align-self: start; }
.specs div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.specs dt { color: var(--fg-soft); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; padding-top: 3px; }
.specs dd { margin: 0; }
.specs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.specs a:hover { border-color: var(--accent-hi); }
@media (max-width: 860px) { .r-body { grid-template-columns: minmax(0, 1fr); } .specs div { grid-template-columns: 7.5rem minmax(0, 1fr); } }
.gal { gap: clamp(12px, 1.6vw, 24px); }
.gal .g-a { grid-column: span 5; }
.gal .g-a img { aspect-ratio: 3 / 4; }
.gal .g-b { grid-column: span 7; }
.gal .g-b img { aspect-ratio: auto; height: 100%; }
.gal .g-c { grid-column: span 6; }
.gal .g-c img { aspect-ratio: 3 / 4; }
@media (max-width: 860px) { .gal .g-a, .gal .g-b, .gal .g-c { grid-column: 1 / -1; } .gal .g-a img, .gal .g-b img, .gal .g-c img { aspect-ratio: 4 / 5; height: auto; } }
.field label.chip, .field label.tile { letter-spacing: normal; text-transform: none; color: var(--fg); }
.field label.tile { font-size: 0.9rem; }
.field label.chip { font-size: inherit; }

/* Karta realizacji: zwarta galeria (3 kolumny, pierwsze zdjęcie 2×2) i układ bez opisu */
.gal-siatka { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; }
.gal-siatka button { grid-column: auto; }
.gal-siatka button img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
.gal-siatka .g-duze { grid-column: span 2; grid-row: span 2; }
.gal-siatka .g-duze img { aspect-ratio: auto; height: 100%; }
.gal-wiecej-wiersz { padding: clamp(24px, 3vw, 36px) 0 0; }
@media (max-width: 1000px) {
  .gal-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-siatka button { grid-column: auto; }
  .gal-siatka .g-duze { grid-column: 1 / -1; grid-row: auto; }
  .gal-siatka .g-duze img { aspect-ratio: 4 / 3; height: auto; }
}
@media (max-width: 560px) { .gal-siatka { gap: 8px; } }
.r-body-bez-opisu { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.r-cta { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 40px); background: var(--bg-2); border: 1px solid var(--line); }
.r-cta-h { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.r-cta p { color: var(--fg-soft); }
@media (max-width: 860px) { .r-body-bez-opisu { grid-template-columns: minmax(0, 1fr); } .r-cta .hero-actions .pill { flex: 1 1 auto; justify-content: center; } }
.similar .rcard { grid-column: auto; }
@media (min-width: 1200px) { .gal-siatka { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.r-section { padding-block: clamp(48px, 6vw, 88px); }
@media (min-width: 1001px) {
  .gal-siatka .g-duze { position: relative; }
  .gal-siatka .g-duze img { position: absolute; inset: 0; width: 100%; height: 100%; }
}

/* Strony obszaru (KONTRAKT_SCHODY §6): wiersz bez zdjęcia i długi tekst terminu pod realizacjami */
.row .row-pin { display: grid; place-items: center; background: none; border: 1px solid var(--line); color: var(--fg-soft); }
.row .row-pin svg { width: 26px; height: 26px; }
.row:hover .row-pin { color: var(--accent-hi); border-color: var(--accent-hi); }
.tekst-terminu { border-top: 1px solid var(--line); }
.tekst-terminu .prose > :first-child { margin-top: 0; }
.tekst-terminu .prose h2 { max-width: 20em; }
.tekst-terminu .prose li + li { margin-top: 0.4em; }

/* Logo z pliku: stopka i sygnet stolarni (14.10.2026) */
.footer .logo-obraz img { display: block; width: 190px; height: auto; margin-bottom: 12px; }
.footer .logo-obraz span { color: var(--fg-soft); font-size: 0.85rem; }
.sygnet { display: flex; align-items: center; gap: 18px; margin: 12px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.sygnet img { width: 150px; height: auto; opacity: 0.9; }
.sygnet span { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-soft); }
@media (max-width: 480px) { .sygnet { flex-direction: column; align-items: flex-start; } }
.footer-social { margin-top: 18px; }
.dropzone-mala { padding: 14px 16px; }

/* Winieta (14.10.2026): rogi i brzegi zdjęć łagodnie wtapiają się w ciemne tło — zdjęcia nie wyglądają jak wycięte prostokąty.
   Maska działa na samym <img>, więc nie potrzeba dodatkowych elementów; galeria realizacji zostaje bez winiety. */
:root { --winieta: radial-gradient(ellipse 72% 72% at 50% 50%, #000 55%, rgba(0, 0, 0, 0.32) 100%); }
.rail-item .img img, .rcard .img img, .style-card img, .mat img, .story-imgs img { -webkit-mask-image: var(--winieta); mask-image: var(--winieta); }
.ov-ext { font-size: 0.6em; vertical-align: 0.35em; color: var(--accent-hi); }

/* Filtry realizacji jako wyraźne „pigułki” z liczbą (14.10.2026); na telefonie jeden przewijany wiersz, żeby przyklejony pasek był niski. */
.cats { gap: 8px; }
.cats button, .cats a { display: inline-flex; align-items: baseline; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; color: var(--fg-soft); white-space: nowrap; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.cats button:hover, .cats a:hover { border-color: var(--fg-soft); color: var(--fg); }
.cats button[aria-pressed="true"], .cats a[aria-current="page"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.cats .n { font-size: 0.75em; opacity: 0.6; font-variant-numeric: tabular-nums; }
.stylesel select { padding: 9px 14px; border-color: var(--fg-faint); }
@media (max-width: 760px) {
  .filterbar .wrap { gap: 10px; padding-block: 10px; }
  .cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter, 16px)); padding-inline: var(--gutter, 16px); -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .cats::-webkit-scrollbar { display: none; }
  .cats button, .cats a { padding: 7px 13px; font-size: 0.9rem; }
  .stylesel { width: 100%; }
  .stylesel select { flex: 1; }
}

/* Znak Google przy opiniach */
.g-label { display: inline-flex; align-items: center; gap: 12px; }
.g-logo { width: 38px; height: 38px; flex: none; padding: 6px; border-radius: 50%; background: #fff; }

/* Opinie przesuwane (template-parts/opinie.php, main.js [data-opinie]) */
.opinie { min-width: 0; display: grid; gap: 22px; align-content: start; }
.opinie-tor { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.opinie-tor::-webkit-scrollbar { display: none; }
.opinie-tor:focus-visible { outline-offset: 8px; }
.opinia { scroll-snap-align: start; min-width: 0; }
.opinia.ma-zdjecie { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.opinia-zdj { overflow: hidden; background: var(--bg-3); }
.opinia-zdj img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.quote .opinia.ma-zdjecie blockquote, .quote .opinia.dluga blockquote { font-size: clamp(1.2rem, 1.9vw, 1.75rem); }
.opinia-gw { display: block; margin-bottom: 14px; color: #fbbc05; letter-spacing: 0.18em; font-size: 0.95rem; }
.opinie-kropki { display: flex; flex-wrap: wrap; margin-left: -10px; }
.opinie-kropki button { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.opinie-kropki button::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: var(--fg-faint); transition: width 0.25s, background 0.25s; }
.opinie-kropki button[aria-current="true"]::before { width: 22px; background: var(--fg); }
.opinie, .opinie-okno { position: relative; }
.op-strz {
  position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--fg); font: 300 1.25rem/1 var(--f);
  background: rgba(18, 17, 16, 0.72); border: 1px solid rgba(237, 233, 227, 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background 0.2s, border-color 0.2s;
}
.op-strz:hover { background: rgba(18, 17, 16, 0.95); border-color: var(--fg); }
.op-poprz { left: 14px; }
.op-nast { right: 14px; }
@media (min-width: 761px) {
  .opinia-tresc { padding-right: 76px; }
  .opinia:not(.ma-zdjecie) .opinia-tresc { padding-left: 76px; }
}
@media (max-width: 760px) {
  .opinia.ma-zdjecie { grid-template-columns: minmax(0, 1fr); }
  .opinia-zdj img { aspect-ratio: 16 / 10; }
  /* Na telefonie strzałki na środku zdjęcia (zdjęcie 16:10 na całą szerokość → środek = 31,25% szerokości);
     opinia bez zdjęcia (klasa z main.js) — strzałki u góry, nad gwiazdkami, tekst niżej. */
  .opinie-okno { container-type: inline-size; }
  .op-strz { width: 44px; height: 44px; margin-top: -22px; top: calc(100cqw * 0.3125); }
  .op-poprz { left: 10px; }
  .op-nast { right: 10px; }
  .opinie-okno.bez-zdj .op-strz { top: 0; margin-top: 0; }
  .opinia:not(.ma-zdjecie) .opinia-tresc { padding-top: 60px; }
  .opinie-kropki { justify-content: center; margin-left: 0; }
}

/* Formularz: sekcja „Wymiary” (<details>, KONTRAKT_OFERTY §8) */
.wymiary { border: 1px solid var(--line); padding: 0; min-width: 0; }
.wymiary[hidden] { display: none; }
.wymiary summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 18px; cursor: pointer; list-style: none; font-size: 0.95rem; color: var(--fg); }
.wymiary summary::-webkit-details-marker { display: none; }
.wymiary summary::after { content: "+"; font: 300 1.5rem/1 var(--f); color: var(--fg-soft); }
.wymiary[open] summary::after { content: "–"; }
.wymiary summary:focus-visible { outline: 1px solid var(--accent-hi); outline-offset: -3px; }
.wymiary-pola { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; padding: 6px 18px 22px; }
.wymiary .chip span { display: inline-flex; align-items: center; min-height: 44px; }
.wymiary .field input[type="text"] { min-height: 44px; }
.wymiary-info { margin: 0; font-size: 0.85rem; color: var(--fg-soft); }
@media (max-width: 560px) { .wymiary-pola { grid-template-columns: minmax(0, 1fr); padding-inline: 14px; } }
