/* E-podłogówka — wygląd odwzorowany z nowa.e-podlogowka.pl (Outfit, #EF7F1A, kanciaste formy) */

/* Outfit (SIL Open Font License 1.1) – hostowana lokalnie, czcionka zmienna 400–700 */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/outfit-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: "Outfit"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/outfit-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 {
  --orange: #ef7f1a;
  --orange-d: #d46a0b;
  --on-orange: #2e2e2e;   /* tekst na pomarańczu: 5,0:1 */
  --promo-red: #c62828;   /* ceny promocyjne: 5,6:1 na białym */
  --gray: #6e6e6e;        /* szary z logo: 5,1:1 na białym */
  --ink: #030b12;
  --text: #535966;
  --muted: #6e6e6e;      /* = szary z logo; 4,8:1 także na tle #F6F9FC */
  --line: #e6e7e7;
  --soft: #f6f9fc;
  --q-bg: #e1e5ea;        /* tło paska z pytaniem w formularzu (wyraźne także na jasnym ekranie telefonu) */
  --white: #fff;
  --footer: #5c5c5c;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
  --fs-sm: 14px;          /* drobny tekst */
  --fs-ui: 16px;          /* przyciski, menu, pola */
  --fs-body: 17px;        /* treść */
  --fs-lead: 20px;        /* wstępy */
  --shadow: 0 10px 30px -18px rgba(3, 11, 18, .35);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font: 500 var(--fs-body)/1.65 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gray); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
p { margin: 0 0 1em; }
.ico { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--on-orange); outline-offset: 2px; }

/* ---------- przyciski (kanciaste, jak w Divi) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 28px; min-height: 44px; font: 600 var(--fs-ui)/1.2 var(--font);
  text-decoration: none; border: 1.6px solid var(--orange); border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn .ico { width: 1.05em; height: 1.05em; }
.btn-solid { background: var(--orange); color: var(--on-orange); }
.btn-solid:hover { background: var(--on-orange); border-color: var(--on-orange); color: #fff; }
.btn-outline { background: transparent; color: var(--gray); }
.btn-outline:hover { background: var(--orange); color: var(--on-orange); }
.btn-soft { background: #f8eee6; border-color: #e9d9cb; color: var(--ink); }
.btn-soft:hover { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.btn-gray { background: var(--gray); border-color: var(--gray); color: #fff; }
.btn-gray:hover { background: var(--on-orange); border-color: var(--on-orange); color: #fff; }
.btn-lg { padding: 16px 28px; }
.btn-phone { background: #fff; border-color: var(--on-orange); color: var(--ink); }
.btn-phone .ico { color: var(--orange); width: 1.2em; height: 1.2em; }
.btn-phone:hover { background: var(--on-orange); color: #fff; }
.btn-phone:hover .ico { color: #fff; }
.link-u { color: var(--gray); font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); }

/* ---------- nagłówek */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px -12px rgba(0, 0, 0, .25); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 92px; }
.logo { flex: none; display: block; }
.logo img { width: 190px; height: auto; aspect-ratio: 245 / 45; }   /* wektorowe logo z PDF (ostre na każdym ekranie) */
.logo img.lg-w { width: 230px; aspect-ratio: auto; }   /* logo wersji DE/UK (dłuższa nazwa domeny) */
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 8px 9px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-ui); white-space: nowrap; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--orange); }
.nav-cta { padding: 12px 20px; }
.nav-contact { display: none; }
.hdr-tel { display: none; width: 48px; height: 48px; place-items: center; background: var(--orange); color: var(--on-orange); }
.hdr-tel .ico { width: 22px; height: 22px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.burger .ico { width: 24px; height: 24px; }
.burger .i-close, .nav-open .burger .i-open { display: none; }
.nav-open .burger .i-close { display: block; }
@media (max-width: 1080px) {
  .header-in { min-height: 72px; }
  .logo img { width: 154px; }
  .burger { display: grid; margin-left: 0; }
  .hdr-tel { display: grid; margin-left: auto; }
  .logo img.lg-w { width: 180px; }
  .header-in:not(:has(.hdr-tel)) .burger { margin-left: auto; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; flex-direction: column; align-items: stretch; gap: 18px;
    padding: 88px 24px 24px; margin: 0; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); z-index: -1; }
  .nav-open .nav { transform: none; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(3, 11, 18, .45); z-index: 40; }
  .site-header { z-index: 60; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { padding: 14px 4px; font-size: 17px; }
  .nav-contact { display: grid; gap: 10px; margin: 6px 0 0; }
  .nav-contact a { color: var(--ink); text-decoration: none; display: flex; gap: 10px; align-items: center; }
  .nav-contact .ico { color: var(--orange); }
}

/* ---------- sekcje */
.section { padding: 90px 0; }
.section-soft { background: var(--soft); }
.center { text-align: center; }
.section-intro { max-width: 760px; margin: 0 0 44px; }
.section-intro p { font-size: var(--fs-lead); line-height: 1.5; }
.eyebrow { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin: 0 0 10px; }
@media (max-width: 760px) { .section { padding: 60px 0; } }

/* hero strony głównej */
.hero { background: var(--soft); padding: 90px 0 100px; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 3.6rem); line-height: 1.07; margin-bottom: .6em; }
.hero .lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 26em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0 14px; }
.hero-more { margin: 0 0 22px; }
.hero-note { font-size: var(--fs-sm); color: var(--muted); margin: -.4em 0 0; }
@media (max-width: 480px) { .hero-actions .btn { flex: 1 1 100%; } }
.hero-img { background: #fff; border: 1px solid var(--line); padding: 10px; box-shadow: var(--shadow); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 6px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.facts strong { display: block; font-size: 30px; line-height: 1.1; font-weight: 700; color: var(--ink); }
.facts strong small { font-size: .55em; font-weight: 600; }   /* „do 10 dni” – „do” mniejsze */
.facts span { font-size: var(--fs-sm); color: var(--muted); }
.facts a { text-decoration: none; }
@media (max-width: 480px) { .facts { display: grid; grid-template-columns: repeat(2, auto); justify-content: space-between; gap: 10px; } .facts strong { font-size: 24px; } }
.facts .fact-express a span:not(.fact-badge) { text-decoration: none; }
.fact-badge { display: inline-flex !important; align-items: center; gap: 6px; background: var(--orange); color: var(--on-orange) !important;
  font-size: 22px !important; font-weight: 700; line-height: 1; padding: 6px 12px; margin-bottom: 4px; }
.fact-badge .ico { width: 18px; height: 18px; }
.fact-express a { display: flex; flex-direction: column; align-items: flex-start; }
.facts a span:not(.fact-badge) { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
@media (max-width: 900px) { .hero { padding: 56px 0 64px; } .hero-in { grid-template-columns: 1fr; gap: 40px; } }

/* karty usług (2x2) */
.cards { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.card { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); display: block; }
.card-img picture { display: block; width: 100%; height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.card-body { padding: 30px 34px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; }
.card-body h3 { display: flex; gap: 12px; align-items: center; margin: 0 0 6px; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-badge { flex: none; width: 42px; height: 42px; display: grid; place-items: center; background: var(--orange); color: var(--on-orange); }
.card-badge .ico { width: 22px; height: 22px; }
.card-body p { flex: 1; margin-bottom: 18px; }
.cards .card:first-child { grid-row: span 3; border: 2px solid var(--orange); }
.cards .card:first-child .card-img { aspect-ratio: auto; flex: 1; min-height: 260px; }
.card-facts { font-weight: 600; color: var(--ink); margin: 0 0 16px; }
.cards .card:not(:first-child) { flex-direction: row; }
.cards .card:not(:first-child) .card-img { width: 38%; flex: none; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.cards .card:not(:first-child) .card-img img { padding: 8px; }
.cards .card:not(:first-child) .card-body { padding: 18px 20px; gap: 4px; }
.cards .card:not(:first-child) h3 { font-size: 1.25rem; }
.cards .card:not(:first-child) p { font-size: var(--fs-ui); margin-bottom: 12px; }
.cards .card:not(:first-child) .btn { padding: 9px 14px; font-size: var(--fs-sm); }
/* drugi rząd: Wykonawstwo, Frezowanie – ten sam rozmiar co małe kafelki po prawej */
.cards-more { grid-template-columns: 1.25fr 1fr; margin-top: 24px; }   /* kolumny jak wyżej: Wykonawstwo = szerokość „Projekt” */
.cards.cards-more .card:first-child { grid-row: auto; border: 1px solid var(--line); }
.cards.cards-more .card { flex-direction: row; }
.cards.cards-more .card .card-img { width: 38%; flex: none; aspect-ratio: auto; min-height: 0; border-bottom: 0; border-right: 1px solid var(--line); }
.cards.cards-more .card .card-body { padding: 18px 20px; gap: 4px; }
.cards.cards-more .card h3 { font-size: 1.25rem; }
.cards.cards-more .card p { font-size: var(--fs-ui); margin-bottom: 12px; }
.cards.cards-more .card .btn { padding: 9px 14px; font-size: var(--fs-sm); }
.card-photo img, .cards .card .card-photo img, .cards .card:not(:first-child) .card-photo img { object-fit: cover; padding: 0; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .cards .card:first-child { grid-row: auto; } .card-body { padding: 24px; }
  /* telefon: wszystkie kafelki pionowo – obrazek na całą szerokość nad tekstem */
  .cards .card:not(:first-child), .cards.cards-more .card { flex-direction: column; }
  .cards .card:not(:first-child) .card-img, .cards.cards-more .card .card-img { width: 100%; aspect-ratio: 16 / 10;
    border-right: 0; border-bottom: 1px solid var(--line); } }
/* prosta karta-link (podstrony poradnikowe) */
.link-cards { display: grid; gap: 24px; align-items: stretch; }   /* kafelki-linki (sklep, 404) – równe, bez układu kart ze strony głównej */
a.card { padding: 26px; gap: 8px; text-decoration: none; color: var(--text); }
a.card h3 { margin: 0; font-size: 1.3rem; }
a.card p { margin: 0; }
.card-ico { width: 48px; height: 48px; display: grid; place-items: center; background: #fdf1e6; color: var(--orange); margin-bottom: 4px; }
.card-ico .ico { width: 24px; height: 24px; }
.more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--gray); display: inline-flex; gap: 6px; align-items: center; }
.split-media img { width: 100%; border: 1px solid var(--line); }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); padding: 20px; color: var(--text); }
.contact-card strong { display: block; color: var(--ink); }

/* pomarańczowy pasek */
.band { background: var(--orange); color: var(--on-orange); }
.band-in { display: flex; justify-content: center; align-items: center; gap: 30px 40px; flex-wrap: wrap; padding: 56px 0; text-align: center; }
.band h2 { color: var(--on-orange); margin: 0; }

/* lista z pomarańczowymi znacznikami */
.marks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; }
.marks li { position: relative; padding-left: 34px; color: var(--ink); }
.marks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--orange); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .hide-stacked { display: none; } }   /* np. drugi slider na /projekt – na telefonie wystarczy jeden */

/* porównanie przed/po */
.compare { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; user-select: none; touch-action: pan-y; }
.compare > img, .compare-before img { width: 100%; height: auto; display: block; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #fff; }
.compare-before img { height: 100%; object-fit: cover; object-position: left top; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--orange); pointer-events: none; }
.compare-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; background: var(--orange); color: var(--on-orange);
  display: grid; place-items: center; font-size: 20px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-tag { position: absolute; top: 14px; background: var(--orange); color: var(--on-orange); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .06em; padding: 6px 10px; text-transform: uppercase; pointer-events: none; }
.tag-before { left: 14px; }
.tag-after { right: 14px; }

/* suwaki realizacji (tools/make_slider.py): oba obrazy mają identyczny rozmiar – nic nie jest przycinane ani rozciągane */
.slider { margin: 0; }
.slider-single, .prose .slider-single { width: min(100%, calc((100vh - 170px) * var(--ar))); margin: 1.4em auto 2em; }  /* cały rzut mieści się w oknie */
.slider .compare > img, .cmp-top img { width: 100%; height: 100%; display: block; object-fit: fill; }
.cmp-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.tag-left { left: 12px; }
.tag-right { right: 12px; }
.slider figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px 0; color: var(--ink); font-weight: 600; }
.slider-zoom { display: inline-flex; gap: 8px; align-items: center; font: 600 var(--fs-sm) var(--font); color: var(--gray); background: none;
  border: 1.5px solid var(--line); padding: 8px 12px; cursor: pointer; }
.slider-zoom:hover { border-color: var(--orange); color: var(--ink); }
/* dwa duże suwaki obok siebie: szerokość ∝ proporcjom rzutu, więc oba mają tę samą wysokość */
.slider-pair { display: flex; gap: 28px; align-items: flex-start; margin: 1.4em 0 2em; }
.slider-pair .slider { flex: var(--ar) 1 0; min-width: 0; }
@media (max-width: 760px) { .slider-pair { flex-direction: column; } .slider-pair .slider { width: 100%; } }
.sliders { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin: 1.4em 0 2em; }
.sliders .compare-tag { font-size: 12px; padding: 4px 8px; top: 8px; }
.slider-dlg { border: 0; padding: 0; background: transparent; width: 100%; max-width: 100vw; height: 100%; max-height: 100vh; }
.slider-dlg::backdrop { background: rgba(3, 11, 18, .92); }
.slider-dlg-in { height: 100%; display: grid; place-items: center; padding: 56px 16px 16px; }
.slider-dlg .slider { width: min(100%, calc((100vh - 120px) * var(--ar))); }
.slider-dlg figcaption { color: #fff; }
.slider-dlg .slider-zoom { display: none; }
.slider-dlg .lb-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .14);
  color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.slider-dlg .lb-close:hover { background: var(--orange); color: var(--on-orange); }

/* nagłówek podstrony */
.page-hero { padding: 64px 0 20px; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { max-width: 760px; margin: 0; font-size: var(--fs-lead); line-height: 1.5; }
.page-body { padding: 30px 0 90px; }
.narrow { max-width: 860px; }
.wide { max-width: var(--wrap); }

/* treść */
.prose { font-size: var(--fs-body); }
.prose > h2 { margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; font-size: 1.35rem; }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul:not([class]) li::marker { color: var(--orange); }
.prose figure { margin: 1.6em 0; }
.prose figure img { border: 1px solid var(--line); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose .figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1.6em 0; }
.prose .figs figure { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); background: var(--soft); }
.callout { display: flex; gap: 14px; align-items: flex-start; background: #fff8f2; border: 1px solid #f5cfa9; padding: 18px 20px; margin: 1.6em 0; }
.callout > .ico { flex: none; width: 34px; height: 34px; padding: 7px; background: var(--orange); color: var(--on-orange); }
.callout p:last-child { margin: 0; }
.callout { max-width: 820px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.4em; }
.chips li { border: 1px solid var(--line); padding: 6px 14px; font-size: var(--fs-ui); color: var(--ink); }
.feature-list { list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.feature-list li { border: 1px solid var(--line); padding: 14px 16px 14px 44px; position: relative; color: var(--ink); }
.feature-list li::before, .ticks li::before { content: ""; position: absolute; left: 16px; top: 22px; width: 12px; height: 12px; background: var(--orange); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); }
.ticks li::before { left: 0; top: .5em; }
.numbered { counter-reset: n; list-style: none; padding: 0; margin: 1.2em 0 1.6em; display: grid; gap: 10px; }
.numbered li { counter-increment: n; position: relative; min-height: 60px; border: 1px solid var(--line); padding: 14px 18px 14px 64px; color: var(--ink); }   /* bez flex: linki i „nw” w tekście nie rozbijają go na kolumny */
.numbered-2 { grid-template-columns: 1fr 1fr; column-gap: 40px; }   /* 1 lewa, 2 prawa, 3 lewa… */
@media (max-width: 760px) { .numbered-2 { grid-template-columns: 1fr; } }
.numbered li::before { content: counter(n); position: absolute; left: 18px; top: 14px; width: 30px; height: 30px; background: var(--orange); color: var(--on-orange); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.legal h2 { font-size: 1.35rem; }
.legal ol { padding-left: 1.3em; }

/* spis treści (poradniki) */
.with-toc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.with-toc .prose { max-width: 820px; }
.toc-wrap { position: sticky; top: 112px; }
.toc { border: 1px solid var(--line); padding: 20px; }
.toc-h { font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; color: var(--ink); text-decoration: none; font-size: var(--fs-ui); font-weight: 600; }
.toc a:hover { color: var(--gray); }
.toc a.on { color: var(--ink); background: #fdf1e6; }
@media (max-width: 960px) {
  .with-toc { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .with-toc > * { min-width: 0; }
  .toc-wrap { top: 72px; z-index: 5; margin: 0 -20px; }
  .toc { border-width: 0 0 1px; padding: 10px 20px; background: rgba(255, 255, 255, .96); }
  .toc-h { display: none; }
  .toc ol { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .toc a { white-space: nowrap; border: 1px solid var(--line); }
  .toc a.on { border-color: var(--orange); }
}

/* cennik */
.prices { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 24px; margin: 10px 0 18px; }
.price { border: 1px solid #f5cfa9; background: #fff; padding: 26px 18px; text-align: center; box-shadow: 0 6px 24px -18px rgba(239, 127, 26, .7); }
.price h3 { font-size: 16px; font-weight: 600; text-transform: uppercase; margin: 0 0 10px; color: var(--ink); line-height: 1.5; }
.price h3 span { display: block; }
.price-val { color: var(--gray); font-size: 26px; font-weight: 700; margin: 0; }
.price-val small { font-size: var(--fs-ui); font-weight: 600; }
.price-net { font-size: var(--fs-sm); color: var(--muted); margin: 2px 0 0; }
.price-wide { grid-column: 1 / -1; }
.price-over { display: flex; flex-direction: column; align-items: center; justify-content: center; }   /* „powyżej 300 m²” jako zwykły kafelek */
.price-over .price-ask { margin: 0; }
.prices-cta { text-align: center; margin: 6px 0 30px; }
.price-ask { color: var(--gray); font-size: 24px; font-weight: 700; margin: 0 0 12px; }
.price-note { color: var(--muted); font-size: var(--fs-sm); text-align: center; }   /* bez flex: „nw” w tekście nie rozbija go na kolumny */
.price-note .ico { color: var(--orange); }
/* opcja ekspres w cenniku – osobny, wyraźny kafelek */
.express-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin: 0 0 18px;
  padding: 24px 28px; border: 2px solid var(--orange); background: #fff7ef; box-shadow: 0 10px 30px -20px rgba(239, 127, 26, .9); }
.express-ico { width: 64px; height: 64px; display: grid; place-items: center; background: var(--orange); color: var(--on-orange); }
.express-ico .ico { width: 34px; height: 34px; }
.express-txt h3 { margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 26px); text-transform: uppercase; }
.express-txt p { margin: 0; color: var(--text); }
.express-price { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.express-val { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.express-price small { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 8px; }
@media (max-width: 760px) { .express-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
/* promocje: <html class="promo-on promo-K"> ustawia skrypt daty w <head> (build.py promo_head – tam też reguły
   pokazujące wersję .pkK obowiązującej promocji); bez niego widać ceny regularne */
.promo-only { display: none; }
.promo-on .p-reg { display: none; }
.promo-only s { font-weight: 400; color: var(--muted); }
.price-old { margin: 0 0 2px; font-size: 20px; font-weight: 600; color: var(--muted); }
.price-old s { text-decoration-thickness: 2px; text-decoration-color: var(--promo-red); }
.price-val .is-cut { color: var(--promo-red); font-size: 36px; line-height: 1.1; }
.promo-free { color: var(--promo-red); font-weight: 800; }
.price-badge { background: var(--promo-red); color: #fff; font-weight: 700; font-size: var(--fs-ui); padding: 3px 12px; margin-bottom: 10px; }
.promo-bar { background: var(--orange); color: var(--on-orange); text-align: center; font-size: var(--fs-sm); font-weight: 500; padding: 8px 16px; }
.promo-bar a { color: inherit; font-weight: 700; text-decoration: underline; }
.promo-banner { grid-column: 1 / -1; padding: 22px 24px; background: var(--orange); color: var(--on-orange); text-align: center;
  box-shadow: 0 10px 30px -18px rgba(239, 127, 26, .9); }
.promo-banner p { margin: 0; font-size: clamp(var(--fs-ui), 2vw, var(--fs-lead)); font-weight: 600; }
.promo-banner .promo-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; margin-bottom: 6px; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .prices { gap: 10px; } .price { padding-left: 8px; padding-right: 8px; } .price h3 { font-size: 13px; } .price-val { font-size: 1.5rem; } .price-over .price-ask { font-size: 1.15rem; } }   /* telefon: 2 kolumny – cały cennik na jednym ekranie */

/* opinie */
.reviews-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
.reviews-rail .review { scroll-snap-align: start; }
.reviews-grid { columns: 3 300px; column-gap: 20px; }
.reviews-grid .review { break-inside: avoid; margin-bottom: 20px; }
.review { margin: 0; border: 1px solid var(--line); background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; color: var(--ink); }
.review blockquote p { margin: 0 0 .5em; }
.review blockquote p:last-child { margin: 0; }
.review figcaption { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.review figcaption strong { color: var(--ink); }
.stars { display: flex; gap: 2px; color: #ffbb01; }
.stars .ico { width: 17px; height: 17px; }

/* galerie, logotypy, wideo, mapa */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 1.4em 0 2em; }
.g-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.g-item:hover img { transform: scale(1.05); }
.gallery-realizacje_wp .g-item img, .gallery-projekt_wp .g-item img { object-fit: contain; padding: 6px; }
.logos { list-style: none; padding: 0; margin: 1.2em 0 2em; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.logos li { border: 1px solid var(--line); padding: 14px; display: grid; place-items: center; }
.logos img { mix-blend-mode: multiply; max-height: 48px; width: auto; }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; margin: 1.6em 0; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt button { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--orange); color: var(--on-orange); cursor: pointer; display: grid; place-items: center; }
.yt button .ico { width: 30px; height: 30px; margin-left: 4px; }
.yt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pmap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin: 1.4em 0 2em; align-items: start; }
.pmap-canvas { position: relative; border: 1px solid var(--line); overflow: hidden; }
.pmap-canvas img { width: 100%; filter: grayscale(1); opacity: .5; }
.pin { position: absolute; width: 16px; height: 16px; margin: 7px 0 0 7px; translate: -50% -50%; border-radius: 50%; border: 3px solid #fff; background: var(--orange); cursor: pointer; padding: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.pin span { position: absolute; bottom: 150%; left: 50%; translate: -50% 0; background: var(--ink); color: #fff; font: 600 var(--fs-sm)/1 var(--font); padding: 6px 8px; white-space: nowrap; opacity: 0; pointer-events: none; }
.pin:hover, .pin.on { transform: scale(1.3); z-index: 2; }
.pin:hover span, .pin.on span { opacity: 1; }
.pmap-list { border: 1px solid var(--line); display: flex; flex-direction: column; max-height: 560px; }
.pmap-list .search { padding: 12px; border-bottom: 1px solid var(--line); }
.pmap-list ul { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.pmap-list li { display: flex; flex-direction: column; padding: 10px 12px; cursor: pointer; color: var(--ink); }
.pmap-list li span { color: var(--muted); font-size: 14px; }
.pmap-list li:hover, .pmap-list li.on { background: var(--soft); }
.pmap-list li[hidden] { display: none; }
@media (max-width: 860px) { .pmap { grid-template-columns: 1fr; } .pmap-list { max-height: 360px; } }
/* mapa miast (darmowa dostawa): małe punkty, lista samych nazw w dwóch kolumnach */
.pin-sm { width: 9px; height: 9px; margin: 4px 0 0 4px; border-width: 1.5px; box-shadow: none; }
.pin-sm.pin-big { width: 14px; height: 14px; margin: 6px 0 0 6px; border-width: 2px; }
.pmap-cities .pmap-list ul { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.pmap-cities .pmap-list li { padding: 5px 10px; font-size: var(--fs-ui); }

/* o nas */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; border: 1px solid var(--line); }
.counter { position: absolute; right: 16px; top: 16px; background: var(--orange); color: var(--on-orange); padding: 22px 28px; text-align: center; box-shadow: var(--shadow); }
.counter strong { display: block; font-size: 48px; line-height: 1; font-weight: 700; }
.counter span { font-size: var(--fs-ui); font-weight: 600; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 50px; } .counter { right: 12px; top: 12px; } }

/* ---------- formularze (styl „material” jak w Forminatorze) */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }   /* pola w jednym rzędzie wyrównane do góry (bez rozciągania) */
.field-label { font-weight: 600; color: var(--ink); font-size: var(--fs-ui); }
.reveal-field { margin-top: 10px; }
.reveal-field[hidden], [data-show-if][hidden] { display: none; }
.hint-strong { color: var(--ink); font-weight: 600; margin-top: 4px; }
.hint-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.hint-list li { position: relative; padding-left: 16px; font-size: 14px; color: var(--muted); }
.hint-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--orange); }
.form-tip { margin: 8px 0 0; padding: 10px 14px; border-left: 4px solid var(--orange); background: #fff7ef; font-size: var(--fs-ui); color: var(--ink); }
.offer-badge { margin: 0; display: inline-block; justify-self: start; padding: 10px 16px; background: var(--orange); color: var(--on-orange); font-weight: 700; }
.field > label, fieldset.field > legend { font-weight: 600; color: var(--ink); font-size: var(--fs-ui); padding: 0; }
/* formularz zapytania: każde pytanie na szarym pasku, odpowiedzi pod nim na białym tle (czytelny podział pytań) */
/* (formularz zapytania + formularz opinii; formularz kontaktu ma ukryte etykiety i podpowiedzi w polach) */
:is(.step, form.panel) .field > label:not(.sr), .step fieldset.field > legend { display: block; width: 100%; background: var(--q-bg); padding: 9px 12px; margin-bottom: 4px; }
.step fieldset.field > legend { float: left; margin-bottom: 10px; }   /* float: pasek w środku fieldsetu, a nie na jego krawędzi */
.step fieldset.field > legend + * { clear: both; }
:is(.step, form.panel) .form-grid { gap: 26px 24px; }
/* dwa pola obok siebie: pasek z krótszym pytaniem rośnie do wysokości dłuższego, więc pola do wpisania stoją w jednej linii */
:is(.step, form.panel) .form-grid > div.field { display: flex; flex-direction: column; }
:is(.step, form.panel) .form-grid > div.field > label:not(.sr) { flex: 1 0 auto; }
:is(.step, form.panel) .form-grid > div.field > :not(label) { flex: none; }
.req { color: var(--gray); }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], textarea, select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 0; border-bottom: 1.5px solid #c9cdd2; border-radius: 0; padding: 10px 2px; transition: border-color .15s; }
.form-box input[type=text], .form-box input[type=email], .form-box input[type=tel], .form-box textarea { border: 1px solid var(--line); padding: 12px 14px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--on-orange); box-shadow: 0 2px 0 var(--orange); }
input[type=file] { font: inherit; font-size: 14px; padding: 10px; border: 1.5px dashed #c9cdd2; width: 100%; background: #fff; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt > span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); background: #fff; font-size: var(--fs-ui); font-weight: 600; color: var(--ink); cursor: pointer; transition: .15s; }
.opt input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.opt input:focus-visible + span { outline: 3px solid var(--on-orange); outline-offset: 2px; }
.opts-col { flex-direction: column; align-items: stretch; }
.opts-col .opt > span { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-ui); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 18px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e8f6ec; color: #17672f; }
.form-status.err { display: block; background: #fdecea; color: #a5281b; }
.panel { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); }
.form-box { background: var(--soft); padding: clamp(22px, 4vw, 40px); }
.form-box h2 { font-size: 1.6rem; }
.wizard-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; margin: 0 0 30px; counter-reset: ws; }
.wizard-steps li { counter-increment: ws; display: flex; align-items: center; gap: 8px; font-size: var(--fs-ui); font-weight: 600; color: var(--muted); }
.wizard-steps li::before { content: counter(ws); width: 28px; height: 28px; border-radius: 50%; background: #777; color: #fff; display: grid; place-items: center; font-size: 14px; }
.wizard-steps li + li::after { order: -1; content: ""; width: 34px; height: 1px; background: #c9cdd2; }
.wizard-steps li.on, .wizard-steps li.done { color: var(--ink); }
.wizard-steps li.on::before, .wizard-steps li.done::before { background: var(--orange); color: var(--on-orange); }
@media (max-width: 760px) { .wizard-steps li span { display: none; } .wizard-steps li.on span { display: inline; } .wizard-steps li + li::after { width: 14px; }
  .wizard-steps { flex-wrap: nowrap; justify-content: space-between; gap: 6px; }
  .wizard-steps li.on span { display: none; }   /* nazwa kroku i tak stoi w nagłówku tuż pod kółkami */
  .wizard-steps li + li { flex: 1; } .wizard-steps li + li::after { flex: 1; width: auto; } }
.step > h3 { margin-bottom: 18px; }
.js .step:not(.on) { display: none; }
.step + .step { margin-top: 40px; }
.js .step + .step { margin-top: 0; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
html:not(.js) [data-prev], html:not(.js) [data-next], html:not(.js) .wizard-steps { display: none; }
.summary { background: #fff8f2; border: 1px solid #f5cfa9; padding: 16px 20px; margin-top: 18px; color: var(--ink); }
.summary strong { color: var(--ink); font-size: 1.25rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-lines p { margin: 0 0 6px; color: var(--ink); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(3, 11, 18, .92); }
.lightbox figure { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: 12px; padding: 60px 70px; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; background: #fff; }
.lightbox figcaption { color: #e3e5e8; font-weight: 600; }
.lightbox button { position: fixed; width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: var(--orange); color: var(--on-orange); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-prev .ico { rotate: 90deg; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lb-next .ico { rotate: -90deg; }
@media (max-width: 640px) { .lightbox figure { padding: 70px 12px; } .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; } }

/* ---------- stopka (szara jak na nowa.e-podlogowka.pl) */
.site-footer { background: var(--footer); color: #eee; font-size: var(--fs-ui); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffd2a8; text-decoration: underline; }
.site-footer ul a { display: inline-block; padding: 4px 0; }  /* cel dotykowy ≥ 24 px */
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer address { font-style: normal; line-height: 1.6; margin-top: 12px; color: #e2e2e2; }
.f-h { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.f-contact { display: grid; gap: 4px; margin: 0; }
.f-contact a { display: inline-flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 17px; font-weight: 600; }
.f-contact .ico { color: var(--orange); width: 1.15em; height: 1.15em; }
.site-footer ul { gap: 2px; }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding: 18px 0; text-align: center; font-weight: 600; font-size: 14px; }
.f-bottom a { text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- stały pasek „Wyceń projekt / Zadzwoń” na telefonie */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px -14px rgba(0, 0, 0, .35); transition: transform .25s; }
  .mbar .btn { padding: 12px 8px; }
  body { padding-bottom: 72px; }
  .nav-open .mbar, .at-form .mbar { transform: translateY(110%); }
}

/* ---------- animacje wejścia */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .band, .site-footer, .toc-wrap { display: none; } }
.lead-full .page-hero .lead { max-width: none; }   /* strona Projekt: wstęp na całą szerokość */
h2.as-h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }   /* nagłówek sekcji w rozmiarze h3 (kolejność nagłówków) */

/* ---------- FAQ */
.faq-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 36px; }
.faq-nav a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); background: var(--soft); color: var(--ink);
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.faq-nav a:hover { border-color: var(--orange); background: #fff; }
.faq-group { margin: 0 0 40px; scroll-margin-top: 110px; }
.faq-group h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 8px; }
.faq-q { border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.faq-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 16px 0; font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary:hover { color: var(--orange-d); }
.faq-chev { width: 22px; height: 22px; margin-top: 1px; color: var(--orange-d); transition: transform .2s; }
.faq-q[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 38px 18px 0; }
.faq-a p { margin: 0; }
.faq-more { margin-top: 8px; padding: 18px 20px; background: var(--soft); border: 1px solid var(--line); }

/* ---------- asystent (bez AI): najczęstsze pytania w okienku */
.asst { position: fixed; right: 20px; bottom: 20px; z-index: 44; }
.asst-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; cursor: pointer;
  background: var(--orange); color: var(--on-orange); font: 600 var(--fs-ui)/1.2 var(--font); box-shadow: var(--shadow); }
.asst-btn:hover { background: var(--on-orange); color: #fff; }
.asst-btn .ico { width: 22px; height: 22px; }
.asst-open .asst-btn { display: none; }
/* telefon: przycisk pokazuje się dopiero po przewinięciu pierwszego ekranu (nie zasłania przycisków w nagłówku strony) */
.asst { transition: opacity .25s, transform .25s; }
.asst.asst-wait:not(.asst-open) { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
.asst-panel { position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 120px));
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px -20px rgba(3, 11, 18, .45); }
.asst-panel[hidden] { display: none; }
.asst-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; background: var(--orange); }
.asst-title { margin: 0; font-weight: 600; color: var(--on-orange); }
.asst-x { border: 0; background: transparent; color: var(--on-orange); padding: 6px; cursor: pointer; display: grid; }
.asst-x .ico { width: 20px; height: 20px; }
.asst-body { overflow-y: auto; padding: 8px 18px 14px; flex: 1; }
.asst-list { list-style: none; padding: 0; margin: 0; }
.asst-list button { width: 100%; text-align: left; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); background: none;
  font: 500 var(--fs-ui)/1.35 var(--font); color: var(--ink); cursor: pointer; }
.asst-list button:hover { color: var(--orange-d); }
.asst-ans { padding-top: 8px; font-size: var(--fs-ui); }
.asst-qh { font-weight: 600; color: var(--ink); }
.asst-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 0; border: 0; background: none;
  font: 600 var(--fs-sm)/1.2 var(--font); color: var(--gray); cursor: pointer; }
.asst-back[hidden] { display: none; }
.asst-back-ico { transform: rotate(90deg); }
.asst-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 18px 14px; border-top: 1px solid var(--line); }
.asst-foot .btn { padding: 10px 8px; font-size: var(--fs-sm); }
.asst-all { grid-column: 1 / -1; text-align: center; font-size: var(--fs-sm); font-weight: 600; }
@media (max-width: 760px) {
  .asst { right: 12px; bottom: 84px; }
  .asst-btn { padding: 10px 14px; }
  .asst-panel { position: fixed; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: calc(100vh - 80px); }
  .at-form .asst, .nav-open .asst, .no-asst-mobile .asst { display: none; }   /* no-asst-mobile: bodyclass strony, np. Cennik */
  .asst-on .mbar { transform: translateY(110%); }      /* otwarte okienko ma własne przyciski kontaktu */
  .faq-nav ul { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 28px; padding: 0 20px 6px; scrollbar-width: thin; }
  .faq-nav a { white-space: nowrap; }
}
@media print { .asst { display: none; } }

/* ---------- przykładowe projekty ({{przyklady}}) */
.px { margin: 1em 0 2.5em; }
.px-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.px-tabs button { text-align: left; padding: 12px 16px; border: 2px solid var(--line); background: #fff; font: inherit; cursor: pointer; display: grid; gap: 2px; }
.px-tabs button strong { color: var(--ink); }
.px-tabs button span { font-size: var(--fs-sm); color: var(--muted); }
.px-tabs [aria-selected="true"] { border-color: var(--orange); background: #fdf3ea; }
.px-tabs { margin-bottom: 12px; }
.px-mode { display: inline-flex; gap: 4px; margin: 0 0 16px; padding: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; }
.px-mode button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; font: 600 15px var(--font); color: var(--gray); cursor: pointer; }
.px-mode button:hover { color: var(--ink); }
.px-mode [aria-pressed="true"] { background: var(--orange); color: var(--on-orange); }
.px-short { display: none; }
.px-stats { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.px-stats li { background: var(--soft); padding: 12px; display: grid; gap: 2px; }
.px-stats strong { font-size: 22px; color: var(--ink); }
.px-stats span { font-size: var(--fs-sm); color: var(--muted); }
.px-a { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.px-plan { position: relative; margin: 0; border: 1px solid var(--line); background: #fff; }
.px-plan img { display: block; width: 100%; height: auto; }
.px-dot { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border: 2px solid #fff; background: var(--orange); color: var(--on-orange); font: 700 15px var(--font); cursor: pointer; box-shadow: 0 0 0 0 rgba(239,127,26,.6); animation: pxp 2s infinite; }
.px-dot.on { background: var(--on-orange); color: #fff; animation: none; }
@keyframes pxp { 70% { box-shadow: 0 0 0 10px rgba(239,127,26,0); } 100% { box-shadow: 0 0 0 0 rgba(239,127,26,0); } }
@media (prefers-reduced-motion: reduce) { .px-dot { animation: none; } }
.px-cap { margin: 0 0 8px; font-size: var(--fs-sm); color: var(--muted); }
.px-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.px-list button { display: flex; gap: 10px; width: 100%; text-align: left; padding: 10px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--text); cursor: pointer; }
.px-list b { flex: none; width: 26px; height: 26px; display: grid; place-items: center; background: var(--orange); color: var(--on-orange); }
.px-list strong { display: block; color: var(--ink); }
.px-list li.on button { border-color: var(--orange); background: #fdf3ea; }
.pv { display: grid; gap: 10px; }
.pv > div { min-width: 0; }
.pv-stage { border: 1px solid var(--line); background: var(--soft); }
.pv-big { display: block; text-align: center; padding: 10px; }
.pv-big img { display: block; margin: 0 auto; max-width: 100%; max-height: 75vh; width: auto; height: auto; background: #fff; box-shadow: var(--shadow); }
.pv-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; border-top: 1px solid var(--line); background: #fff; }
.pv-nav p { margin: 0; text-align: center; font-weight: 600; color: var(--ink); }
.pv-nav small { color: var(--muted); font-weight: 400; }
.pv-nav button { width: 44px; height: 44px; border: 0; background: var(--orange); color: var(--on-orange); cursor: pointer; display: grid; place-items: center; }
.pv-l { transform: rotate(90deg); } .pv-r { transform: rotate(-90deg); }
.pv-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.pv-th { position: relative; flex: none; width: 84px; border: 2px solid var(--line); background: #fff; }
.pv-th img { display: block; width: 100%; height: 100px; object-fit: contain; }
.pv-th span { position: absolute; left: 0; bottom: 0; background: var(--on-orange); color: #fff; font-size: 12px; padding: 1px 5px; }
.pv-th[aria-current="true"] { border-color: var(--orange); }
.px-copy .nw { white-space: nowrap; }
.px-copy { margin: 18px 0 0; padding: 10px 14px; border-left: 4px solid var(--orange); background: var(--soft); font-size: var(--fs-sm); color: var(--text); }
@media (max-width: 760px) {
  .px-a { grid-template-columns: 1fr; }
  .px-tabs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .px-tabs button { padding: 8px; font-size: var(--fs-sm); text-align: center; }
  .px-tabs button span { display: none; }
  .px-mode { display: flex; }
  .px-mode button { flex: 1; justify-content: center; padding: 8px 6px; }
  .px-long { display: none; } .px-short { display: inline; }
  .px-stats { grid-template-columns: repeat(2, 1fr); }
  .px-dot { width: 24px; height: 24px; font-size: 13px; }
}

/* ---------- okienko z panelu (data/popup.json): A grafika / B tekst na środku, na telefonie karta w rogu */
.pp { border: 0; padding: 0; width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: var(--text); box-shadow: 0 30px 60px -20px rgba(3, 11, 18, .55); }
.pp::backdrop { background: rgba(3, 11, 18, .6); }
.pp-b { width: min(520px, calc(100vw - 32px)); border-top: 6px solid var(--orange); }
.pp-x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: rgba(255, 255, 255, .92); color: var(--on-orange); cursor: pointer; display: grid; place-items: center; z-index: 1; }
.pp-x:hover { background: var(--orange); }
.pp-x .ico { width: 22px; height: 22px; }
.pp-x:focus-visible { outline: 3px solid var(--orange); outline-offset: 0; }
.pp-img { display: block; width: 100%; height: auto; }
.pp-body { padding: 22px 26px 24px; }
.pp-logo { display: block; width: 48px; height: 48px; margin-bottom: 10px; }
.pp-title { margin: 0 0 8px; font-size: 26px; line-height: 1.2; color: var(--ink); padding-right: 30px; }
.pp-a .pp-title { padding-right: 0; }
.pp-body p { margin: 0; font-size: var(--fs-body); line-height: 1.55; }
.pp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.pp-row .btn { padding: 12px 22px; }
.pp-skip { background: none; border: 0; padding: 6px 0; color: var(--gray); font: inherit; text-decoration: underline; cursor: pointer; }
/* telefon: mała karta u dołu, nad paskiem „Wyceń projekt / Zadzwoń”, bez przyciemnienia strony */
.pp.pp-card[open] { position: fixed; inset: auto 12px 84px 12px; margin: 0; width: auto; max-width: 400px; max-height: 60vh; z-index: 60; }
.pp-card .pp-body { padding: 12px 14px 14px; }
.pp-card .pp-title { font-size: 19px; margin-bottom: 4px; }
.pp-card .pp-body p { font-size: 15px; }
.pp-card .pp-logo { width: 34px; height: 34px; margin-bottom: 6px; }
.pp-card .pp-row { margin-top: 10px; }
.pp-card .pp-x { width: 36px; height: 36px; }
.pp-on .asst { display: none; }
@media print { .pp { display: none; } }

/* ---------- media społecznościowe (panel: Ustawienia → Media społecznościowe; ikonki w stopce 52 px – 2026-10-30) */
.soc { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.soc a { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; }
.soc a:hover, .soc a:focus-visible { background: var(--orange); color: var(--on-orange); }
.soc .ico { width: 26px; height: 26px; }
.soc-h { margin: 28px 0 6px; font-size: 26px; }
.soc-lead { margin: 0 0 12px; }
.socp { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.socp a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; font-weight: 600; line-height: 1.2; color: #fff; text-decoration: none; }
.socp .ico { width: 20px; height: 20px; }
.socp .s-facebook { background: #1877f2; }
.socp .s-youtube { background: #e62117; }
.socp .s-instagram { background: #c13584; }
.socp .s-tiktok, .socp .s-x { background: #111; }
.socp a:hover, .socp a:focus-visible { background: var(--on-orange); }

/* --- przykładowa oferta na materiały ({{oferta}}) */
.oferta-ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; margin: 40px 0; padding: 28px; background: var(--soft); }
.oferta-ex h2 { margin-top: 0; }
.of-note { font-size: var(--fs-sm); color: var(--text); margin: 0; }
.of-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.of-page { position: relative; display: block; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s; }
.of-page:nth-child(2) { transform: translateY(18px); }
.of-page:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.14); }
.of-page img { display: block; width: 100%; height: auto; }
.of-page span { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; background: var(--orange); color: #2E2E2E; font-size: var(--fs-sm); font-weight: 600; }
@media (max-width: 860px) {
  .oferta-ex { grid-template-columns: 1fr; padding: 20px 16px; }
  .of-page:nth-child(2) { transform: none; }
}

/* --- link do filmu „jak wypełnić formularz” nad formularzem */
.form-help { display: inline-flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.form-help:hover { border-color: var(--orange); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.form-help .fh-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); }
.form-help .fh-ico svg { width: 22px; height: 22px; fill: #2E2E2E; margin-left: 2px; }
.form-help strong { display: block; }
.form-help small { display: block; font-size: var(--fs-sm); color: var(--text); }

/* --- komputer: cała strona w skali 90% (2026-10-31 – przy powiększeniu Windows 125% strona była za duża; telefon/tablet bez zmian) */
@media (min-width: 1100px) { html { zoom: .9; } }

/* typografia: słowo z łącznikiem nie łamie się (build.py typo) */
.nw { white-space: nowrap; }

/* --- miniatura Cennika na stronie głównej (bez cen): domek „m²” + suwak */
.card-img:has(.mini-m2) { text-decoration: none; }
.mini-m2 { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; height: 100%; padding: 16px; text-align: center; color: var(--ink); }
.mini-m2 svg { color: var(--orange); }
.mini-m2 text { font: 700 15px var(--font); fill: var(--ink); }
.mini-m2 strong { font-size: 15px; line-height: 1.25; }
.mini-m2 small { font-size: 13px; color: var(--text); line-height: 1.3; }
.mini-bar { position: relative; width: 100%; max-width: 220px; height: 6px; background: var(--line); }
.mini-bar::before { content: ""; position: absolute; inset: 0 45% 0 0; background: var(--orange); }
.mini-bar i { position: absolute; left: 55%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
