/* GRAF Ceilings & Walls, sufitynapinane.eu — design A «Jasny» (CEO 06.09.2026): the structure of kierunki/3, light paper, one
   terracotta accent, Archivo variable (self-hosted), the light pair with the on/off toggle on the home. One stylesheet for every page. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Russian pages: Archivo has no Cyrillic, so /ru/ uses Roboto Flex (same axes: width 25–151, weight 100–1000), self-hosted, latin + cyrillic only;
   Ł/ó of the address fall back to Archivo latin-ext (07.09, i18n) */
@font-face { font-family: "Roboto Flex"; font-style: normal; font-weight: 100 1000; font-stretch: 25% 151%; font-display: swap;
  src: url("../fonts/robotoflex-var-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Flex"; font-style: normal; font-weight: 100 1000; font-stretch: 25% 151%; font-display: swap;
  src: url("../fonts/robotoflex-var-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: light; --bg: #f3f4f6; --sur: #ffffff; --ink: #161a1f; --mut: #5f6773; --line: #d5d9de; --acc: #b7532e; --acc2: #9c4526; --on-acc: #fff; --r: 6px; --ease: cubic-bezier(.22, 1, .36, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%; line-height: 1.5; -webkit-font-smoothing: antialiased; background: var(--bg); color: var(--ink); font-size: 17px; }
html[lang="ru"] body { font-family: "Roboto Flex", "Archivo", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1; letter-spacing: -.01em; }
h1, h2 { font-stretch: 62%; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 9.5vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-weight: 600; }
p { margin: 0; }
h1 + .lead, h1 + .intro, h2 + .lead, h2 + p, h3 + p { margin-top: .5rem; } /* a tight heading's descender otherwise enters the next line's box */
.wrap { width: min(100% - 2rem, 1280px); margin-inline: auto; }
.vh, .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
[id] { scroll-margin-top: 72px; }
details > summary { list-style: none; cursor: pointer; } details > summary::-webkit-details-marker { display: none; }
button.btn { font: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.25rem; font-weight: 600; text-decoration: none; border-radius: var(--r); background: var(--sur); color: var(--ink); border: 1px solid var(--line); transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.btn:active { transform: scale(.98); }
.btn.accent, .btn-p { background: var(--acc); color: var(--on-acc); border-color: var(--acc); }
.btn.ghost { background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn:hover { border-color: var(--ink); } .btn.accent:hover, .btn-p:hover { background: var(--acc2); border-color: var(--acc2); } }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.link, .more-link a, .links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--acc2); font-weight: 600; /* acc2: small text needs 4.5:1 on the paper (acc gives 4.44) */ text-decoration: underline; text-underline-offset: 3px; }
.eyebrow { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.lead, .intro { color: var(--mut); font-size: 1.05rem; max-width: 56ch; }
.mute { color: var(--mut); font-size: .95rem; }
.legal-note { color: var(--mut); font-size: .8rem; max-width: 60ch; }
.acts { display: flex; flex-wrap: wrap; gap: .75rem; }
/* reveal on entry (CSS view() timeline; reveal.js gates the fallback) */
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; } @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } } } }
html.js-rv .rv { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); } html.js-rv .rv.in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.head { position: sticky; top: 0; z-index: 20; background: var(--sur); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; gap: 1rem; height: 64px; }
.logo { display: block; height: 22px; color: var(--ink); } .logo svg { height: 100%; width: auto; }
.nav { display: none; margin-left: auto; gap: 1.5rem; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--mut); } .nav a[aria-current="page"] { color: var(--ink); } .nav a.soon { color: #9aa0a8; } .nav small { font-size: .7em; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); } }
.cta { margin-left: auto; }
.menu summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; font-weight: 600; border: 1px solid var(--line); border-radius: var(--r); }
.menu[open] summary { background: var(--bg); }
.menu > nav { position: absolute; right: 1rem; top: 64px; width: min(86vw, 320px); background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: .5rem 0; box-shadow: 0 12px 32px rgb(0 0 0 / .12); }
.menu > nav > a { display: block; padding: .85rem 1.25rem; text-decoration: none; font-size: 1.05rem; } .menu > nav > a[aria-current="page"] { color: var(--acc); }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } .cta { margin-left: 0; } }
/* phone: contact bar at the bottom of subpages */
.pasek { display: none; }
@media (max-width: 899px) { .pasek { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--sur); border-top: 1px solid var(--line); } .pasek .btn { flex: 1; min-height: 46px; } body.has-pasek { padding-bottom: 76px; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 3rem 0 2rem; color: var(--mut); font-size: .95rem; background: var(--sur); }
.foot-grid { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.foot-col:last-child { grid-column: 1 / -1; } /* Kontakt full width on phones: the e-mail must not squeeze the other column */
.foot-brand { grid-column: 1 / -1; } .foot-brand .logo { display: inline-block; height: 36px; min-height: 0; } .foot-tag { margin: .75rem 0 0; max-width: 34ch; color: var(--ink); } .foot .adres { margin: .5rem 0 0; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.foot-h { display: block; margin-bottom: .35rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mut); text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.foot .foot-tel { color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.foot-soc { display: flex; flex-wrap: wrap; gap: 0 1rem; margin-top: 0; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; }
.foot-legal a { min-height: 44px; } .foot-legal-links { display: flex; gap: 1.5rem; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem 2.5rem; } .foot-brand, .foot-col:last-child { grid-column: auto; } }

/* ---------- page head (every subpage) ---------- */
.page-head { padding: 2rem 0 1.5rem; } .page-head .wrap { display: grid; gap: 1rem; }
.page-head h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); max-width: 18ch; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .85rem; color: var(--mut); }
.crumbs li { display: inline-flex; align-items: center; } .crumbs li + li::before { content: "·"; margin-right: .5rem; } .crumbs a, .crumbs li[aria-current] { display: inline-flex; align-items: center; min-height: 44px; } .crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.sec { padding: 4rem 0; }
.sec-h { margin-bottom: 1.5rem; } .sec-h p { color: var(--mut); margin-top: .5rem; max-width: 56ch; }

/* ---------- home: hero with the light pair ---------- */
.hero { padding: 1.5rem 0 0; display: grid; gap: 1.5rem; }
.hero .txt { display: grid; gap: 1.1rem; align-content: center; }
.hero h1 { max-width: 12ch; }
.hero .lead { max-width: 44ch; }
.hero .cena { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem; padding: .75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero .cena b { font-stretch: 62%; font-weight: 600; font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: 1; color: var(--acc); }
.hero .cena span { font-weight: 600; }
.para { display: grid; gap: .6rem; }
.para .kadr-pol { border-radius: var(--r); aspect-ratio: 1 / 1; max-height: min(70svh, 560px); width: 100%; }
.para .pod { color: var(--mut); font-size: .9rem; }
@media (min-width: 900px) { .hero { grid-template-columns: 5fr 7fr; align-items: center; padding: 3rem 0 2rem; } .hero h1 { font-size: clamp(3rem, 4.4vw, 4.6rem); max-width: none; } .para .kadr-pol { aspect-ratio: auto; height: min(72svh, 640px); } }
@media (max-width: 899px) { .para { order: -1; } .para .kadr-pol { aspect-ratio: 4 / 3; } }
/* the pair: two frames of the same room, --p 0→1 wipes the lit frame from the left; js/galeria.js drives it (tokens on <html data-wow>) */
.kadr-pol { --p: 0; position: relative; overflow: hidden; background: #0A0A0A; container-type: size; }
.kadr-pol:has(#sw-on:checked) { --p: 1; } html.js-galeria .kadr-pol:has(#sw-on:checked) { --p: initial; }
.kadr { position: absolute; inset: 0; } .kadr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.kadr.on { clip-path: inset(0 calc(100% - var(--p) * 100%) 0 0); transition: clip-path .9s var(--ease); } html.js-galeria .kadr.on { transition: none; }
.szew { position: absolute; top: 0; bottom: 0; left: 0; transform: translateX(calc(var(--p) * 100cqw)); width: 2px; margin-left: -1px; /* transform, not left: no layout shift while the light moves */ background: #FFE2B0; box-shadow: 0 0 24px 4px rgb(240 178 90 / .55); opacity: clamp(0, min(var(--p), 1 - var(--p)) * 12, 1); pointer-events: none; z-index: 2; }
.kadr-pol.klik .szew { animation: klik .26s steps(2, jump-none) 1; } @keyframes klik { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.gwiazdy { position: absolute; inset: 0; pointer-events: none; z-index: 1; clip-path: inset(0 calc(100% - var(--p) * 100%) 0 0); opacity: clamp(0, var(--p) * 2 - .4, 1); }
.gwiazdy img { position: absolute; left: 50%; top: 0; width: max(100cqw, 100cqh); height: auto; translate: -50% 0; mix-blend-mode: screen; animation: mig 2.8s ease-in-out infinite alternate; }
.gwiazdy .g2 { animation-delay: -.9s; animation-duration: 3.4s; } .gwiazdy .g3 { animation-delay: -1.9s; animation-duration: 2.3s; }
@keyframes mig { from { opacity: .35; } to { opacity: 1; } }
html:not([data-wow~="stars"]) .gwiazdy { display: none; } .kadr-pol:has(#sw-off:checked) .gwiazdy img { animation-play-state: paused; }
.suwak { position: absolute; left: 0; right: 0; bottom: 18px; height: 48px; z-index: 4; touch-action: pan-y; cursor: ew-resize; }
.suwak:focus-visible { outline: 2px solid #F4F3F2; outline-offset: -2px; }
.uchwyt { position: absolute; top: 0; left: clamp(36px, var(--p) * 100%, 100% - 36px); width: 48px; height: 48px; margin-left: -24px; border-radius: 999px; background: rgb(10 10 10 / .7); border: 1px solid rgb(255 255 255 / .55); transition: transform .12s var(--ease); }
.suwak:active .uchwyt { transform: scale(.94); }
.uchwyt::before, .uchwyt::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border-top: 1.5px solid #F4F3F2; border-left: 1.5px solid #F4F3F2; }
.uchwyt::before { left: 12px; transform: translateY(-50%) rotate(-45deg); } .uchwyt::after { right: 12px; transform: translateY(-50%) rotate(135deg); }
html:not([data-wow~="slider"]) .suwak, html:not([data-wow~="slider"]) .szew { display: none; }
.switch { position: absolute; left: 50%; bottom: 84px; translate: -50% 0; z-index: 3; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(10 10 10 / .82); border: 1px solid rgb(255 255 255 / .28); }
.switch label { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 120px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #F4F3F2; cursor: pointer; user-select: none; transition: transform .12s ease; } .switch label:active { transform: scale(.97); }
.kadr-pol:has(#sw-off:checked) label[for="sw-off"], .kadr-pol:has(#sw-on:checked) label[for="sw-on"] { background: #F4F3F2; color: #0A0A0A; }
.kadr-pol:has(#sw-off:focus-visible) label[for="sw-off"], .kadr-pol:has(#sw-on:focus-visible) label[for="sw-on"] { outline: 2px solid #F4F3F2; outline-offset: 2px; }
.wiz { position: absolute; left: 16px; top: 16px; z-index: 3; margin: 0; padding: 4px 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #F4F3F2; background: #0A0A0A; border-radius: 4px; }
.lampa { position: relative; }
.lampa::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgb(255 196 120 / .30), rgb(255 170 80 / .12) 45%, transparent 72%); mix-blend-mode: screen; }
html[data-wow~="lamp"] .lampa.lit::after { opacity: 1; transition-duration: .2s; }
@media (hover: none) { .lampa::after { content: none !important; } }
@media (max-width: 899px) { .switch { bottom: 14px; } .switch label { min-width: 0; padding: 0 16px; } .suwak { bottom: 74px; } }
@media (prefers-reduced-motion: reduce) { .gwiazdy img { animation: none; } .kadr.on { transition: none; } }

/* ---------- home: cards, sections ---------- */
.cards { display: grid; gap: .75rem; }
.kard { background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.kard b { display: block; font-stretch: 62%; font-weight: 600; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; color: var(--acc); }
.kard span { display: block; margin-top: .35rem; font-weight: 600; } .kard p { margin-top: .35rem; color: var(--mut); font-size: .95rem; } .kard small { display: block; margin-top: .5rem; color: var(--mut); font-size: .8rem; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } } @media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.mas { columns: 1; column-gap: 1rem; }
.it { break-inside: avoid; margin: 0 0 1rem; display: block; text-decoration: none; background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.it img { width: 100%; height: auto; } .it div { padding: .85rem 1rem 1rem; } .it b { font-weight: 600; } .it span { display: block; color: var(--mut); font-size: .95rem; }
@media (min-width: 700px) { .mas { columns: 2; } } @media (min-width: 1100px) { .mas { columns: 3; } }
.two { display: grid; gap: 1.5rem; } .two h3 { font-size: 1.25rem; } .two p { color: var(--mut); margin-top: .35rem; } .two .cell { padding: 1.25rem 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.who { display: grid; gap: 2rem; } .who .item { display: grid; gap: 1rem; } .who img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.who h3 { font-size: 1.6rem; font-stretch: 62%; font-weight: 600; } .who p { color: var(--mut); } .lnk { margin-top: .75rem; } .more { margin-top: 1rem; }
@media (min-width: 900px) { .who .item { grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; } .who .item:nth-child(2) img { order: 2; } }
.steps { display: grid; gap: 0; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 1rem 0 1rem 2.75rem; border-top: 1px solid var(--line); counter-increment: s; }
.step::before { content: counter(s); position: absolute; left: 0; top: 1rem; width: 32px; height: 32px; border-radius: 50%; background: var(--acc); color: var(--on-acc); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.step h3 { font-size: 1.1rem; } .step p { color: var(--mut); font-size: .95rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } .step { padding: 3rem 0 0; border-top: 2px solid var(--line); } .step::before { top: .6rem; } }
.faq details, .qa details { border-top: 1px solid var(--line); }
.faq summary, .qa summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 600; font-size: 1.1rem; }
.faq summary::after, .qa summary::after { content: "+"; color: var(--acc); } .faq details[open] summary::after, .qa details[open] summary::after { content: "−"; }
.faq details p, .qa details p { padding: 0 0 1.25rem; color: var(--mut); max-width: 65ch; }
.wyc { background: var(--ink); color: #f3f4f6; border-radius: var(--r); padding: 2rem 1.25rem; }
.wyc h2 { color: #fff; } .wyc .lead { color: #c3c8cf; max-width: 52ch; margin: .75rem 0 1.5rem; }
.wyc dl { display: grid; gap: 1rem; margin: 0 0 1.75rem; } .wyc dt { font-weight: 600; } .wyc dd { margin: 0; color: #c3c8cf; }
.wyc .acts { margin-bottom: 1.5rem; } .wyc .btn { background: transparent; color: #fff; border-color: #4a5058; } .wyc .btn.accent { background: var(--acc); border-color: var(--acc); }
.wyc .tel { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.6rem; font-weight: 600; text-decoration: none; font-stretch: 62%; color: #fff; } .wyc .mut { color: #c3c8cf; font-size: .95rem; }
@media (min-width: 900px) { .wyc { padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; } .wyc dl { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- call to action band (subpages) ---------- */
.cta-band { padding: 3rem 0 4rem; } .cta-band .wrap { background: var(--ink); color: #f3f4f6; border-radius: var(--r); padding: 2rem 1.25rem; display: grid; gap: 1rem; }
.cta-band h2 { color: #fff; } .cta-band .lead { color: #c3c8cf; } .cta-band .btn { background: transparent; color: #fff; border-color: #4a5058; } .cta-band .btn.accent { background: var(--acc); border-color: var(--acc); }
@media (min-width: 900px) { .cta-band .wrap { padding: 3rem; } }

/* ---------- realizacje hub ---------- */
.cases { padding: 1rem 0 2rem; } .case-grid { display: grid; gap: 1rem; }
.case-card { background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; }
.case-img img { width: 100%; height: auto; } .case-copy { padding: 1rem 1.25rem 1.25rem; display: grid; gap: .5rem; }
.case-copy h2, .case-copy h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); } .case-copy h2 a, .case-copy h3 a, .two h3 a, .tile-static a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; } .case-meta { font-size: .8rem; } .case-copy p:not(.case-meta) { color: var(--mut); }
@media (min-width: 700px) { .case-grid { grid-template-columns: 1fr 1fr; } }
.extras { padding: 1rem 0 2rem; } .extras h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); } .extra-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.tile-static { margin: 0; background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; } .tile-static figcaption { padding: .85rem 1rem 1rem; } .tile-static b { display: block; } .tile-static span { color: var(--mut); font-size: .95rem; }
@media (min-width: 700px) { .extra-grid { grid-template-columns: 1fr 1fr; } }
.price-strip { padding: 2rem 0; } .price-strip h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.price-strip ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; } .price-strip li { background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; } .price-strip li b { display: block; font-stretch: 62%; font-weight: 600; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1; color: var(--acc); } .price-strip li span { display: block; margin-top: .35rem; color: var(--mut); font-size: .95rem; }
@media (min-width: 900px) { .price-strip ul { grid-template-columns: repeat(3, 1fr); } }

/* ---------- case page ---------- */
.case-facts { display: grid; gap: .5rem 1.5rem; margin: 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .case-facts div { border-top: 1px solid var(--line); padding-top: .5rem; } .case-facts dt { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); } .case-facts dd { margin: .15rem 0 0; font-weight: 600; }
.gallery { padding: 1rem 0; } .gallery figure { margin: 0; } .g-main img { width: 100%; height: auto; border-radius: var(--r); } .g-rest { display: grid; gap: 1rem; margin-top: 1rem; } .g-rest img { border-radius: var(--r); }
@media (min-width: 700px) { .g-rest { grid-template-columns: 1fr 1fr; } }
.case-body { padding: 1.5rem 0 1rem; } .case-body .wrap { max-width: 72ch; margin-inline: auto; display: grid; gap: .75rem; } .case-body h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-top: 1.25rem; } .case-body p { color: var(--mut); }
.case-nav { padding: 0 0 3rem; } .case-nav .wrap { display: grid; gap: 1rem; } .case-nav a { display: grid; gap: .25rem; text-decoration: none; padding: 1rem 1.25rem; background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); } .case-nav span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); } .case-nav b { font-weight: 600; }
@media (min-width: 700px) { .case-nav .wrap { grid-template-columns: 1fr 1fr; } .case-nav a:last-child { text-align: right; } }

/* ---------- service pages (sufity, ściany) ---------- */
.types { padding: 1rem 0 2rem; } .type-grid { display: grid; gap: 1rem; }
.type { background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; gap: .5rem; padding-bottom: 1.25rem; }
.type-img img { width: 100%; height: auto; } .type h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); padding: 1rem 1.25rem 0; } .type .lead, .type ul, .type .link { margin-inline: 1.25rem; } .type ul { padding-left: 1.1rem; color: var(--mut); }
@media (min-width: 700px) { .type-grid { grid-template-columns: 1fr 1fr; } }
.cmp { padding: 2rem 0; } .cmp h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); } .cmp .lead { margin: .5rem 0 1rem; }
.cmp table { width: 100%; border-collapse: collapse; background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.cmp th, .cmp td { text-align: left; padding: .75rem .9rem; border-top: 1px solid var(--line); vertical-align: top; } .cmp thead th { border-top: 0; background: var(--bg); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); } .cmp tbody th { font-weight: 600; }
@media (max-width: 699px) { .cmp thead { display: none; } .cmp tr { display: grid; border-top: 1px solid var(--line); } .cmp th, .cmp td { border: 0; padding: .5rem .9rem; } .cmp td::before { content: attr(data-l) ": "; color: var(--mut); font-size: .85rem; } .cmp tbody th { padding-top: .9rem; } }
.cmp .advice { margin-top: 1rem; color: var(--mut); max-width: 65ch; } .cmp .qa { margin-top: 1rem; }
.extras3 { padding: 1rem 0 2rem; } .extra3-grid { display: grid; gap: 1rem; } .extra3-grid article { background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding-bottom: 1.25rem; display: grid; gap: .5rem; } .extra3-grid h2 { font-size: 1.4rem; padding: 1rem 1.25rem 0; } .extra3-grid p { padding: 0 1.25rem; color: var(--mut); } .ex-img img { width: 100%; height: auto; }
@media (min-width: 900px) { .extra3-grid { grid-template-columns: repeat(3, 1fr); } }
.faq { padding: 2rem 0 3rem; } .faq h2 { margin-bottom: .5rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- process page ---------- */
.kroki { padding: 1rem 0 2rem; } .kroki-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.kroki-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.k-num { width: 36px; height: 36px; border-radius: 50%; background: var(--acc); color: var(--on-acc); font-weight: 700; display: grid; place-items: center; } .k-body h2 { font-size: 1.4rem; } .k-body p { margin-top: .35rem; color: var(--mut); } .k-you { font-size: .95rem; } .k-you b { color: var(--ink); }
.kroki-list li.k-photo { display: block; padding: 0; overflow: hidden; min-height: 240px; max-height: 340px; } .k-photo img { display: block; width: 100%; height: 100%; object-fit: cover; } /* li.k-photo: the step grid (44px 1fr) must not apply to the photo card — it squeezed the photo to 44 px (audit 07.09) */
@media (min-width: 900px) { .kroki-list { grid-template-columns: 1fr 1fr; } }
.bloki3 { padding: 1rem 0 2rem; } .bloki3-grid { display: grid; gap: 1rem; } .bloki3-grid article { background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; display: grid; gap: .5rem; } .bloki3-grid h2 { font-size: 1.4rem; } .bloki3-grid p { color: var(--mut); }
@media (min-width: 900px) { .bloki3-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- b2b page ---------- */
.kanal { padding: 1rem 0 2rem; } .kanal-box { background: var(--ink); color: #f3f4f6; border-radius: var(--r); padding: 2rem 1.25rem; display: grid; gap: 1rem; } .kanal-box h2 { color: #fff; } .kanal-box p { color: #c3c8cf; } .kanal-box .btn { background: transparent; color: #fff; border-color: #4a5058; } .kanal-box .btn.accent { background: var(--acc); border-color: var(--acc); }
@media (min-width: 900px) { .kanal-box { padding: 3rem; } }
.gets { padding: 1rem 0 2rem; } .gets h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; } .gets-grid { display: grid; gap: 1rem; } .gets-grid article { background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; } .gets-grid h3 { font-size: 1.2rem; } .gets-grid p { margin-top: .35rem; color: var(--mut); }
@media (min-width: 900px) { .gets-grid { grid-template-columns: 1fr 1fr; } }
.b2b-cases h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.b2b-material { padding: 1rem 0 2rem; } .b2b-material h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); } .b2b-material .lead { margin: .5rem 0; } .links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }

/* ---------- faq page ---------- */
.faq-nav { display: flex; flex-wrap: wrap; gap: .5rem; } .faq-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--sur); text-decoration: none; font-size: .95rem; }
.faq-all { padding: 1rem 0 3rem; } .faq-group { margin-bottom: 2rem; } .faq-group h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin-bottom: .5rem; }

/* ---------- kontakt ---------- */
.kontakt-page { padding: 1rem 0 2rem; } .k-grid { display: grid; gap: 1rem; }
.k-card { background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; display: grid; gap: .35rem; align-content: start; }
.k-label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); } .k-big { display: inline-flex; align-items: center; min-height: 44px; font-stretch: 62%; font-weight: 600; font-size: clamp(1.5rem, 4vw, 2rem); text-decoration: none; overflow-wrap: anywhere; } .k-mail { font-size: clamp(1.1rem, 3vw, 1.4rem); } .k-adres { font-weight: 600; }
@media (min-width: 700px) { .k-grid { grid-template-columns: 1fr 1fr; } } @media (min-width: 1100px) { .k-grid { grid-template-columns: repeat(4, 1fr); } }
.wycena-how { padding: 1rem 0 2rem; } .wycena-how h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); } .wycena-how .lead { margin: .5rem 0 1rem; }
.wyc-steps { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .75rem; } .wyc-steps li { background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.25rem; display: grid; gap: .25rem; } .wyc-steps b { font-weight: 600; } .wyc-steps span { color: var(--mut); font-size: .95rem; }
@media (min-width: 900px) { .wyc-steps { grid-template-columns: repeat(3, 1fr); } }
.wycena-how .legal-note { margin-top: 1rem; } .k-firma { padding: 0 0 3rem; }

/* ---------- legal pages, stubs ---------- */
.prawna { padding: 1rem 0 3rem; } .prawna .wrap { max-width: 72ch; margin-inline: auto; display: grid; gap: .5rem; } .prawna h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); margin-top: 1.25rem; } .prawna p, .prawna li { color: var(--mut); } .prawna ul { margin: 0; padding-left: 1.1rem; }
.stub-soon { display: inline-block; padding: .25rem .6rem; border-radius: var(--r); background: var(--sur); border: 1px solid var(--line); font-size: .85rem; color: var(--mut); } .stub-kontakt { display: grid; gap: .75rem; } .stub-kontakt .big { font-stretch: 62%; font-weight: 600; font-size: 1.8rem; text-decoration: none; }

/* ---------- lead form (kontakt, home «Wycena») ---------- */
.formularz { padding: 1rem 0 2rem; }
.zgl { display: grid; gap: 1rem; background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.25rem; }
.zgl h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.ff { display: grid; gap: .75rem; }
.ff label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; }
.ff input, .ff select, .ff textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); padding: .7rem .9rem; min-height: 48px; width: 100%; }
.ff textarea { min-height: 96px; resize: vertical; }
.ff input:focus-visible, .ff select:focus-visible, .ff textarea:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; }
.zgoda { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--mut); } .zgoda input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--acc); } .zgoda a { color: var(--acc2); }
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.zgl .btn { cursor: pointer; }
.blad { color: var(--acc2); font-weight: 600; margin: 0; scroll-margin: 5rem 0 6rem; } .ff .err input, .ff .err select, .ff .err textarea { border-color: var(--acc); box-shadow: 0 0 0 2px color-mix(in oklab, var(--acc) 30%, transparent); } .zgl .btn[disabled] { opacity: .65; cursor: wait; } .zgl.dark .blad { color: #f3b59b; }
@media (min-width: 700px) { .ff { grid-template-columns: 1fr 1fr; } .ff .full { grid-column: 1 / -1; } .zgl { padding: 2rem; } }
.zgl.dark { background: transparent; border: 0; padding: 0; color: #f3f4f6; } .zgl.dark h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); } .zgl.dark p.lead { color: #c3c8cf; }
.zgl.dark .ff input, .zgl.dark .ff select, .zgl.dark .ff textarea { background: #f3f4f6; color: var(--ink); border-color: #4a5058; } .zgl.dark .zgoda { color: #c3c8cf; } .zgl.dark .zgoda a { color: #f3f4f6; }
.zgl.dark .btn { background: transparent; color: #fff; border-color: #4a5058; } .zgl.dark .btn.accent { background: var(--acc); border-color: var(--acc); }

/* cookie consent banner (js/zgoda.js): a compact note bottom-left on desktop, full-width above the phone bar on small screens; fixed, no layout shift */
.cookies { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 30; max-width: 440px; display: grid; gap: 1rem; padding: 1.25rem; /* right corner: on a 1366×768 laptop the left corner covered the hero buttons (review 07.09) */ background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 40px rgba(22, 26, 31, .14); }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--mut); }
.cookies p a { color: var(--acc2); }
.cookies .acts { display: flex; gap: .75rem; margin: 0; }
.cookies .btn { min-height: 44px; flex: 1; }
@media (max-width: 899px) { .cookies { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; border-width: 1px 0 0; padding: 1rem clamp(1rem, 4vw, 2rem) calc(1rem + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(22, 26, 31, .08); } body.has-pasek .cookies { bottom: 76px; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  body:has(.cookies:not([hidden])) .pasek { display: none; } body:has(.cookies:not([hidden])) .cookies { bottom: 0; padding-bottom: calc(1rem + env(safe-area-inset-bottom)); border-bottom: 0; } /* one sheet at a time: the contact bar returns after the choice */ }

/* ---------- languages (CEO 07.09): variant A «chips» — codes with separators in the header on desktop, a row of 44 px chips inside the
   phone menu; variant B «dropdown» — current code as a button, the others in a list (desktop only). Active language = filled chip. ---------- */
.lang { display: none; align-items: center; margin-left: auto; font-size: .82rem; letter-spacing: .06em; }
.lang a, .lang span { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .35rem; border-radius: var(--r); text-decoration: none; color: var(--mut); font-weight: 500; }
.lang a + a::before, .lang span + a::before, .lang a + span::before { content: "·"; position: absolute; left: -.2rem; color: var(--line); font-weight: 400; }
.lang span[aria-current] { color: var(--ink); font-weight: 700; background: var(--bg); }
@media (hover: hover) and (pointer: fine) { .lang a:hover { color: var(--ink); background: var(--bg); } }
@media (min-width: 900px) { .lang { display: flex; } .cta { margin-left: .5rem; } }
.menu-lang { border-top: 1px solid var(--line); margin-top: .5rem; padding: .6rem .75rem .25rem; } .menu-lang .lang { display: flex; margin: 0; flex-wrap: wrap; gap: .25rem; }
.menu-lang .lang a, .menu-lang .lang span { min-width: 48px; font-size: .95rem; } .menu-lang .lang a::before, .menu-lang .lang span::before { content: none; }
/* variant B */
.lang-dd { display: block; position: relative; margin-left: auto; }
.lang-dd summary { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: var(--r); font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); background: var(--sur); }
.lang-dd[open] summary { background: var(--bg); } .lang-dd summary svg { transition: transform .15s ease; } .lang-dd[open] summary svg { transform: rotate(180deg); }
.head .cta { min-height: 44px; padding-block: 0; } /* the three header controls share one height (review 07.09) */
.lang-dd .lang { display: flex; flex-direction: column; align-items: stretch; position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; min-width: 180px; padding: .35rem; margin: 0; background: var(--sur); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgb(0 0 0 / .12); }
.lang-dd .lang a, .lang-dd .lang span { display: grid; grid-template-columns: 2.4em 1fr; align-items: center; justify-content: start; padding: 0 .75rem; font-size: .9rem; text-align: left; } .lang-dd .lang a::before, .lang-dd .lang span::before { content: none; }
.lang-dd .lang a::after, .lang-dd .lang span::after { content: attr(title); margin-left: 0; font-weight: 400; letter-spacing: 0; color: var(--mut); }
@media (max-width: 899px) { .head .wrap { gap: .5rem; } .lang-dd summary { padding: 0 .6rem; } .head .lang-dd ~ .cta { margin-left: 0; } .head .menu { margin-left: 0; } }
@media (max-width: 399px) { .head .wrap { gap: .4rem; } .head .cta { padding: 0 .7rem; font-size: .95rem; min-height: 44px; } .lang-dd summary { padding: 0 .5rem; gap: .25rem; } .menu summary { padding: 0 .7rem; } } /* 360 px phones: «Рассчитать» + «Меню» must fit in one row */
@media (min-width: 900px) { .lang-dd { margin-left: 1rem; } }
/* partner links (2k-trade.com, jm-ceiling.pl): language-matched, and quiet by CEO's word (07.09): same grey as the note, no underline,
   no accent — a footnote, not a signpost. Underline returns on hover/focus so the link is still findable. */
.partner { margin-top: .25rem; font-size: .85rem; color: var(--mut); } .partner a { color: inherit; text-decoration: none; } /* .25rem: the 44 px CTA box above already carries the air */
.partner a:hover, .partner a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.type .partner { margin-inline: 1.25rem; } /* same inset as the card's lead/list/link: the note used to sit flush with the card edge */
.foot-partners { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 1.25rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; }
.foot-partners .foot-h { margin: 0; font-size: inherit; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mut); } .foot-partners .foot-h::after { content: ":"; }
.foot-partners + .foot-legal { margin-top: 1rem; padding-top: 0; border-top: 0; } /* one hairline for both quiet lines, not two bands */
@media (max-width: 699px) { .foot-partners + .foot-legal { margin-top: 1.5rem; } } /* phones: the © line must not read as a third partner row */
