/* SM Projekt — CSS bazowy (generowany z prototypu przez .work/build-base.js: reset tagów, klasy body, lightbox, selektory :not/:has) */
/* Sekcje w prototypie są blokowe; Bricks domyślnie robi z nich flex z centrowaniem */
:where(.brxe-section){display:block}
/* Bricks wymusza antialiased — prototyp renderuje fonty domyślnie (grubsze na ciemnym tle) */
body{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}
/* Rozmiary nagłówków jak w przeglądarce (prototyp na nich polega); Bricks ma własne 2.4em/2.1em/1.8em… */
:where(h1){font-size:2em}:where(h2){font-size:1.5em}:where(h3){font-size:1.17em}
:where(h4){font-size:1em}:where(h5){font-size:.83em}:where(h6){font-size:.67em}
:where(h4,h5,h6){line-height:inherit}
:where(button){text-align:center}
/* Zamiennik <picture>: osobne obrazy desktop/mobile (element obrazu Bricksa nie ma art direction) */
/* Pasek administratora WP (tylko zalogowani): przesunięcie przypiętego nagłówka */
body.admin-bar .top{top:32px}body.admin-bar .head{top:64px}body.admin-bar .head.scrolled{top:32px}
@media (max-width:980px){body.admin-bar .head,body.admin-bar .head.scrolled{top:32px}}
@media (max-width:782px){body.admin-bar .head,body.admin-bar .head.scrolled{top:46px}}
img.photo-mobile{display:none!important}
@media (max-width:760px){img.photo-desktop{display:none!important}img.photo-mobile{display:block!important}}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
p{margin:0}
:root body .btns{gap:14px}
:root body .logo{gap:14px}
:root body .hero-path:last-child{border-right:0}
:root body .stat:last-child{border-right:0}
:root body .fit{gap:26px}
:root body .faq{gap:14px}
:root body .form{gap:12px}
:root body .footgrid{gap:40px}
body{margin:0;font-family:Poppins,Arial,sans-serif;background:var(--paper);color:var(--ink);font-size:16px;line-height:1.6;overflow-x:hidden}
:root body .eyebrow{gap:10px}
:root body .hero-grid{gap:56px}
:root body .sec-head{gap:50px}
:root body .grid-3{gap:22px}
:root body .chess{gap:54px}
:root body .contact-block{gap:50px}
:root body .reveal-right.reveal{transform:translateX(32px)}
:root body .sec-head:not(.split){display:block;max-width:940px;margin:0 0 48px 0;text-align:left}
:root body .sec-head:not(.split) > div{max-width:920px}
:root body .sec-head:not(.split) .eyebrow{display:inline-block;margin-bottom:14px}
:root body .sec-head:not(.split) .sec-title{max-width:920px}
:root body .sec-head:not(.split) > p.lead{max-width:840px;margin-top:18px}
:root body .about-spotlight-grid{gap:64px}
:root body .contrast-fit{gap:34px}
:root body .contrast-fit.contrast-fit{row-gap:34px;column-gap:34px}
:root body .contrast-fit.fit{row-gap:34px;column-gap:34px;grid-template-columns:1fr 1fr}
:root body .decision-card ul{gap:16px}
:root body .decision-card.decision-card ul{padding-left:0}
:root body .decision-card li{gap:12px}
:root body .decision-card-negative.decision-card-negative{border-color:rgba(160,83,70,.24)}
:root body .decision-card-positive.decision-card-positive{border-color:rgba(47,89,67,.72);box-shadow:0 28px 70px rgba(47,89,67,.10)}
:root body .floating-nav{gap:6px}
:root body .system-node{gap:18px}
:root body .knowledge-teaser{gap:46px}
nav{gap:2px}
:root body .soft-cta-dark{gap:26px}
:root body .topic-links{gap:0}
h1{margin:0;letter-spacing:-.015em;text-wrap:balance}
h2{margin:0;font-weight:400;line-height:1.14;letter-spacing:-.015em;text-wrap:balance}
h3{margin:0;font-weight:400;line-height:1.14;letter-spacing:-.015em;text-wrap:balance}
:root body .foot-bottom{gap:12px 24px}
:root body .foot-bottom.foot-bottom{margin-top:40px;padding-top:22px}
:root body .home-work-section.home-work-section{padding-bottom:0}
:root body .home-work-bridge.home-work-bridge .bridge-accent{color:var(--green);font-size:clamp(1.6rem,2.65vw,2.35rem)}
:root body .home-work-grid{gap:70px}
:root body .home-work-row{gap:56px}
body:is(.sm-index,.sm-projekty-indywidualne,.sm-realizacja-sm11-warsztat-samochodowy,.sm-realizacja-sm42-blonie-waska-dzialka,.sm-realizacja-sm68-zaborow-ograniczenia-formalne) .hero .media:not(:has(.label,.label-note))::after{display:none}
:root body .about-values-grid{gap:20px}
:root body .about-team-list{gap:34px}
:root body .about-team-card{gap:0}
:root body .about-process{gap:0}
:root body .about-process-item{gap:24px}
body:is(.sm-o-nas,.sm-polityka-prywatnosci) #start.hero h1{font-size:clamp(2.35rem,3.45vw,4.05rem) !important;line-height:1.08;max-width:760px}
:root body .about-hero-photo.has-photo>*:not(img){position:relative;z-index:2}
:root body .about-team-photo.has-photo>*:not(img){position:relative;z-index:2}
:root body .legal-hero.legal-hero{padding-top:72px}
:root body .legal-hero.hero{padding-top:72px}
:root body .legal-hero .hero-grid{grid-template-columns:1fr !important;min-height:0 !important;padding:0 !important}
:root body .legal-hero.legal-hero .lead{margin-top:18px}
:root body .legal-toc ol{column-gap:36px}
:root body .legal-toc.legal-toc li{margin-top:0;margin-right:0;margin-bottom:6px;margin-left:0}
:root body .legal-table tr:last-child td{border-bottom:0}
:root body .question-card-list{gap:14px}
:root body .question-card-list .qline:nth-child(even){border-left-color:var(--coffee-d)}
:root body .check-grid{gap:26px}
:root body .check-card ul{gap:13px}
:root body .project-ready-card{padding:0 !important}
:root body .project-ready-card.project-ready-card{padding-top:0 !important;padding-right:0 !important;padding-bottom:0 !important;padding-left:0 !important}
:root body .project-ready-card.card{padding-top:0 !important;padding-right:0 !important;padding-bottom:0 !important;padding-left:0 !important}
:root body .project-ready-card.project-ready-card> h3{margin-left:28px;margin-right:28px}
:root body .compact-cta.compact-cta{padding-top:58px;padding-right:0;padding-bottom:58px;padding-left:0}
:root body .compact-cta.sec{padding-top:58px;padding-right:0;padding-bottom:58px;padding-left:0}
:root body .timeline{gap:18px}
:root body .timeline .step{gap:20px}
:root body .grid-4{gap:18px}
:root body .decision-redesign-wide{gap:30px}
body:is(.sm-projekty-indywidualne) .decision-number-list-horizontal{display:grid;grid-template-columns:1fr;gap:14px;border-top:0;margin-top:2px}
body:is(.sm-projekty-indywidualne) .decision-number-list-horizontal .decision-number-item{display:grid;grid-template-columns:64px 1fr;align-items:center;border:1px solid var(--line);border-left:4px solid var(--green);background:#fff;padding:18px 22px;min-height:auto;box-shadow:0 8px 20px rgba(0,0,0,.04)}
body:is(.sm-projekty-indywidualne) .decision-number-list-horizontal .decision-number-item small{color:var(--green);font-weight:800;letter-spacing:.16em}
body:is(.sm-projekty-indywidualne) .decision-number-list-horizontal .decision-number-item strong{font-size:17px;font-weight:500;color:var(--dark)}
:root body .story-stack{gap:34px}
:root body .conversation-cta.conversation-cta{padding-top:76px;padding-right:0;padding-bottom:76px;padding-left:0}
:root body .conversation-cta.sec{padding-top:76px;padding-right:0;padding-bottom:76px;padding-left:0}
:root body .project-bridge .bridge-text p:nth-child(2){max-width:1040px;color:rgba(255,255,255,.82);font-size:clamp(1.28rem,2.05vw,1.82rem)}
:root body .project-bridge .bridge-accent{color:#d8c7aa !important;margin-bottom:0 !important;font-size:clamp(1.55rem,2.55vw,2.3rem) !important}
:root body .method-stack{gap:36px}
:root body .method-row{gap:42px}
:root body .method-media:not([data-label])::before{display:none}
:root body .method-media:not([data-label])::after{display:none}
:root body.industrial-page{background:var(--cream)}
:root body .industrial-hero .hero-grid{gap:58px}
:root body .scope-grid{gap:18px}
:root body .industrial-modules{gap:0}
:root body .ind-module{gap:58px}
:root body .ind-module:first-child{padding-top:0}
:root body .ind-module:last-child{border-bottom:0;padding-bottom:0}
body:is(.sm-projekty-przemyslowe) .module-copy h2{font-size:clamp(1.85rem,3vw,2.7rem);font-weight:400;color:var(--dark);margin:0 0 20px}
body:is(.sm-projekty-przemyslowe) .module-copy p{font-size:16.5px;line-height:1.78;color:var(--muted);margin:0 0 16px}
body:is(.sm-projekty-przemyslowe) .module-media{min-height:430px;border:1px solid var(--line);box-shadow:0 22px 64px rgba(39,31,20,.09);position:relative;overflow:hidden;background:linear-gradient(135deg,#eee7dc,#dfe8dd)}
body:is(.sm-projekty-przemyslowe) .module-media .label{position:absolute;left:18px;bottom:18px;background:rgba(255,255,255,.86);padding:8px 12px;border-radius:999px;font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--dark);z-index:4}
:root body .type-grid{gap:18px}
:root body.industrial-page .cta-industrial{background:linear-gradient(135deg,#111713,#2f5943);color:#fff}
:root body.industrial-page .cta-industrial .sec-title{color:#fff}
:root body.industrial-page .cta-industrial p{color:rgba(255,255,255,.78)}
:root body .industrial-modules-only.industrial-modules-only{padding-top:86px}
:root body .dependency-layout{gap:0}
:root body.industrial-page .industrial-hero h1{font-size:clamp(2rem,3.65vw,3.25rem) !important;line-height:1.14 !important;letter-spacing:-.012em !important;font-weight:400 !important;max-width:760px !important;margin-bottom:22px !important}
:root body.detail-page .detail-hero .hero-grid{min-height:auto}
:root body.detail-page .sec{padding:76px 0}
:root body.detail-page .module-stack{display:grid;gap:0}
:root body.detail-page .story-module{display:grid;grid-template-columns:1fr 1fr;gap:54px;align-items:center;padding:82px 0;border-bottom:1px solid var(--line)}
:root body.detail-page .story-module:first-child{padding-top:0}
:root body.detail-page .story-module:last-child{border-bottom:0;padding-bottom:0}
:root body.detail-page .story-module.reverse .module-media{order:1}
:root body.detail-page .story-module.reverse .module-copy{order:2}
:root body.detail-page .module-copy h2{font-size:clamp(1.85rem,3vw,2.7rem);color:var(--dark);margin:0 0 20px}
:root body.detail-page .module-copy p{color:var(--muted);font-size:17px;line-height:1.75;margin:0}
:root body.detail-page .module-media{min-height:410px;background:linear-gradient(135deg,#e9e2d5,#dce6dc);border:1px solid var(--line);box-shadow:0 20px 60px rgba(39,31,20,.08);position:relative;overflow:hidden}
:root body.detail-page .module-media img{width:100%;height:100%;min-height:410px;object-fit:cover;transition:transform .45s ease}
:root body.detail-page .module-media:hover img{transform:scale(1.025)}
:root body.detail-page .module-media .label{position:absolute;left:18px;bottom:18px;background:rgba(255,255,255,.86);padding:8px 12px;border-radius:999px;font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--dark)}
:root body.detail-page .detail-hero{min-height:auto;padding-bottom:78px}
:root body.detail-page .detail-hero .case-hero-grid{grid-template-columns:minmax(0,1fr) minmax(360px,.68fr);gap:70px;align-items:center;padding:68px 0 36px}
:root body.detail-page .detail-hero .hero-copy{max-width:780px}
:root body.detail-page .detail-hero h1{font-size:clamp(2.15rem,3.45vw,3.5rem);line-height:1.11;max-width:780px}
:root body.detail-page .detail-hero .lead{max-width:700px;font-size:clamp(1.02rem,1.2vw,1.16rem);line-height:1.72}
:root body.detail-page .detail-hero .hero-media{min-height:320px;max-height:380px;box-shadow:0 30px 80px rgba(0,0,0,.30)}
:root body.detail-page .detail-hero .hero-media img{min-height:320px;height:100%;width:100%;object-fit:cover}
:root body.detail-page .hero-facts-band{position:relative;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%;max-width:none;margin-top:24px}
:root body.detail-page .hero-facts-band .project-fact{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);padding:20px 22px;border-radius:4px}
:root body.detail-page .hero-facts-band .project-fact strong{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.13em;color:#d8c7aa;margin-bottom:6px}
:root body.detail-page .hero-facts-band .project-fact span{font-size:18px;color:rgba(255,255,255,.92);line-height:1.35}
:root body.detail-page .wide-head{max-width:1120px;margin-bottom:38px}
:root body.detail-page .wide-head .sec-title{max-width:1080px}
:root body.detail-page .wide-head .intro-lead{max-width:920px;margin-top:20px}
:root body.detail-page .situation-split{align-items:stretch}
:root body.detail-page .situation-split .module-copy{display:flex;flex-direction:column;justify-content:center}
:root body.detail-page .situation-split .module-media{min-height:440px}
:root body.detail-page .needs-grid .card{min-height:300px}
:root body.detail-page .decision-section{background:var(--bg)}
:root body.detail-page .decision-intro-dark{background:linear-gradient(135deg,#17241c,#2f5943);color:#fff;padding:90px 0 82px}
:root body.detail-page .decision-intro-dark .eyebrow{color:#d8c7aa}
:root body.detail-page .decision-intro-dark .intro-lead{color:rgba(255,255,255,.84)}
:root body.detail-page.detail-page .decision-intro-dark .intro-lead{max-width:980px}
:root body.detail-page .decision-story{padding:96px 0 104px}
:root body.detail-page .decision-intro-dark .wide-head{margin-bottom:0;max-width:1180px}
:root body.detail-page .decision-intro-dark .sec-title{color:#fff;margin-bottom:0}
:root body.detail-page.detail-page .decision-intro-dark .sec-title{max-width:1180px}
:root body.detail-page #ograniczenie .story-module{margin-bottom:0}
:root body.detail-page .effect-list{display:flex;flex-direction:column;gap:14px;margin-top:36px}
:root body.detail-page .effect-row{display:grid;grid-template-columns:64px 1fr;align-items:start;gap:0;background:#fff;border:1px solid var(--line);border-left:4px solid var(--green);padding:22px 28px;box-shadow:0 12px 30px rgba(39,31,20,.055)}
:root body.detail-page .effect-num{font-size:12px;letter-spacing:.16em;font-weight:900;color:var(--green);padding-top:3px}
:root body.detail-page .effect-row h3{font-size:clamp(1.05rem,1.25vw,1.24rem);line-height:1.25;margin:0 0 8px;color:var(--dark)}
:root body.detail-page .effect-row p{margin:0;color:var(--muted);line-height:1.62;font-size:15.5px}
:root body.detail-page .project-gallery{background:#f7f2eb}
:root body.detail-page .realization-statement{padding:90px 0;background:linear-gradient(135deg,#17241c,#2f5943)}
:root body.detail-page.detail-page .realization-statement{padding-top:90px;padding-right:0;padding-bottom:90px;padding-left:0}
:root body.detail-page .realization-statement.sec{padding-top:90px;padding-right:0;padding-bottom:90px;padding-left:0}
:root body.detail-page .statement-copy{max-width:1220px;margin:0 auto;text-align:center}
:root body.detail-page .statement-copy p{font-size:clamp(1.18rem,1.58vw,1.68rem);line-height:1.46;color:rgba(255,255,255,.92);font-weight:400}
:root body.detail-page .statement-copy .statement-main{margin-left:auto;margin-right:auto;font-size:clamp(1.22rem,1.68vw,1.78rem);line-height:1.36;color:#fff;max-width:1120px;margin:0 auto 34px}
:root body.detail-page .statement-copy span{display:block;width:82px;height:2px;background:#d8c7aa;margin:42px auto 36px}
:root body.detail-page .statement-copy .statement-accent{font-size:clamp(1.22rem,1.68vw,1.78rem);line-height:1.38;color:#e6d1b4;max-width:1120px;margin-left:auto;margin-right:auto}
:root body.detail-page .other-realizations{background:#f7f2eb}
:root body.detail-page .other-grid{display:grid;gap:18px;margin-top:34px}
:root body.detail-page .other-card{display:flex;flex-direction:column;min-height:100%;background:#fff;border:1px solid var(--line);text-decoration:none;color:inherit;box-shadow:0 14px 36px rgba(39,31,20,.06);transition:transform .22s ease, box-shadow .22s ease}
:root body.detail-page .other-card:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(39,31,20,.1)}
:root body.detail-page .other-card small{display:block;margin:22px 22px 8px;font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--coffee-d);font-weight:800}
:root body.detail-page .other-card h3{font-size:1.05rem;line-height:1.35;margin:0 22px 20px;color:var(--dark);font-weight:500;flex:1}
body:is(.sm-realizacja-sm11-warsztat-samochodowy,.sm-realizacja-sm68-zaborow-ograniczenia-formalne).detail-page .decision-story .module-copy h2{font-size:clamp(1.48rem,2.15vw,2.08rem);line-height:1.18}
:root body.detail-page .other-thumb{border-bottom:1px solid var(--line);font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--dark);align-items:center;justify-content:center;text-align:center}
:root body.detail-page .viz-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:36px}
:root body.detail-page .viz-item{position:relative;display:block;width:100%;aspect-ratio:16/9;padding:0;margin:0;border:1px solid var(--line);background:linear-gradient(135deg,#efe6d9,#dfe8dd);box-shadow:0 18px 42px rgba(39,31,20,.09);overflow:hidden;cursor:zoom-in;font:inherit}
:root body.detail-page .viz-item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
:root body.detail-page .viz-item:hover img{transform:scale(1.03)}
:root body.detail-page .viz-item:focus-visible{outline:3px solid var(--green);outline-offset:3px}
:root body.detail-page .viz-item::after{content:"";position:absolute;right:14px;bottom:14px;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3b2c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center/18px no-repeat;opacity:0;transform:translateY(4px);transition:opacity .25s ease,transform .25s ease;pointer-events:none}
:root body.detail-page .viz-item:hover::after{opacity:1;transform:none}
:root body.detail-page .viz-item:focus-visible::after{opacity:1;transform:none}
:root body .lb{position:fixed;inset:0;z-index:1000;background:rgba(14,20,16,.94);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
:root body .lb.open{opacity:1;visibility:visible}
:root body .lb img{max-width:min(92vw,1800px);max-height:86vh;object-fit:contain;box-shadow:0 30px 80px rgba(0,0,0,.45);user-select:none}
:root body .lb button{position:absolute;border:0;background:rgba(255,255,255,.1);color:#fff;width:52px;height:52px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease}
:root body .lb button:hover{background:rgba(255,255,255,.22)}
:root body .lb button svg{width:24px;height:24px}
:root body .lb .lb-close{top:18px;right:18px}
:root body .lb .lb-prev{left:18px;top:50%;margin-top:-26px}
:root body .lb .lb-next{right:18px;top:50%;margin-top:-26px}
:root body .lb .lb-count{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.75);font-size:13px;letter-spacing:.14em}
:root body .lb.single .lb-prev{display:none}
:root body .lb.single .lb-next{display:none}
:root body .lb.single .lb-count{display:none}
:root body.lb-lock{overflow:hidden}
:root body.detail-page .other-grid.three{grid-template-columns:repeat(3,1fr)}
:root body.detail-page .other-thumb.has-photo{position:relative;display:block;min-height:0;aspect-ratio:16/10;padding:0;overflow:hidden;background:#dfe8dd}
:root body.detail-page .other-thumb.has-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
:root body.detail-page .other-card:hover .other-thumb.has-photo img{transform:scale(1.04)}
:root body.detail-page .other-card .other-cta{align-self:flex-start;margin:0 22px 24px}
body:is(.sm-realizacja-sm116-wolka-trudne-grunty).detail-page #punkt .story-module{border-bottom:0}
:root body.detail-page .doc-media{background:#f6f1e8;display:flex;align-items:center;justify-content:center;padding:18px}
:root body.detail-page .doc-media img{width:100%;height:100%;background:#fff}
:root body.detail-page.detail-page .doc-media img{object-fit:contain;min-height:370px}
:root body.detail-page .viz-item.is-empty{cursor:default;box-shadow:none}
:root body.detail-page .viz-item.is-empty::before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(47,89,67,.08) 1px,transparent 1px),linear-gradient(0deg,rgba(47,89,67,.06) 1px,transparent 1px);background-size:38px 38px}
:root body.detail-page .viz-item.is-empty::after{display:none}
:root body.detail-page .viz-item.is-empty span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);white-space:nowrap;background:rgba(255,255,255,.8);border:1px solid rgba(47,89,67,.12);border-radius:999px;padding:8px 14px;font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--dark)}
:root body.detail-page .situation-split.side-head{align-items:center}
:root body.detail-page .situation-split.side-head .module-media{min-height:0;align-self:center}
:root body.detail-page .situation-split.side-head .module-media img{height:auto;min-height:0;display:block}
:root body.detail-page .site-limits-placeholder{position:absolute;inset:0;overflow:hidden;background:linear-gradient(90deg,rgba(47,89,67,.11) 1px,transparent 1px),linear-gradient(0deg,rgba(47,89,67,.08) 1px,transparent 1px),#efe8dd;background-size:34px 34px}
:root body.detail-page .site-limits-placeholder:before{content:"";position:absolute;left:13%;top:16%;width:68%;height:62%;clip-path:polygon(8% 12%,84% 4%,72% 72%,20% 88%);border:2px solid rgba(47,89,67,.52);background:rgba(255,255,255,.22)}
:root body.detail-page .site-limits-placeholder:after{content:"";position:absolute;left:34%;top:30%;width:30%;height:32%;transform:rotate(-7deg);background:rgba(47,89,67,.24);border:2px solid rgba(23,54,37,.62);box-shadow:0 0 0 999px rgba(182,106,79,.055)}
:root body.detail-page .site-limits-placeholder .limit-a{position:absolute;height:3px;width:86%;background:rgba(182,106,79,.72);transform-origin:left center;left:6%;top:31%;transform:rotate(-14deg)}
:root body.detail-page .site-limits-placeholder .limit-b{position:absolute;height:3px;width:86%;background:rgba(182,106,79,.72);transform-origin:left center;left:9%;top:68%;transform:rotate(10deg)}
:root body .featured-case-list{gap:34px}
:root body .featured-case-tag{gap:10px}
:root body .featured-case-points{gap:10px}
:root body .hero-mosaic{gap:12px}
:root body .episode-meta{gap:10px}
:root body .plain-list{gap:10px}
:root body .related-grid{gap:18px}
:root body .episode-index-row{gap:26px}
:root body .episode-index-row:last-child{border-bottom:0}
:root body .episode-hero{padding:120px 0 86px !important}
:root body .episode-hero .wrap{max-width:var(--max) !important}
:root body .episode-hero-grid{display:grid !important;grid-template-columns:minmax(0, .95fr) minmax(0, 1fr) !important;gap:56px !important;align-items:center !important}
:root body .episode-hero-grid > *{min-width:0 !important}
:root body .episode-hero h1{font-size:clamp(2rem,3.25vw,3.15rem) !important;line-height:1.08 !important;font-weight:400 !important;max-width:680px !important;color:#fff !important}
:root body .episode-hero .lead{max-width:610px !important;font-size:17px !important;line-height:1.72 !important}
:root body .video-shell{width:100% !important;max-width:100% !important;min-width:0 !important;overflow:hidden !important;padding:12px !important;margin:0 !important}
:root body .video-frame{width:100% !important;max-width:100% !important;min-width:0 !important;aspect-ratio:16/9 !important}
:root body .video-frame:before{display:none !important}
:root body .episode-section .wrap.section-grid{max-width:var(--max) !important;margin:0 auto !important;padding-left:26px !important;padding-right:26px !important}
:root body .episode-section .section-grid{gap:70px;display:block !important}
:root body .section-number{max-width:1040px !important;margin:0 auto 18px !important}
:root body .article-copy{max-width:1040px !important;margin:0 auto !important}
:root body .article-copy h2{color:var(--dark) !important;font-size:clamp(1.9rem,3vw,2.75rem) !important;line-height:1.12 !important;font-weight:400 !important;max-width:920px !important}
:root body .article-copy p{max-width:900px !important;font-size:17px !important}
:root body .expert-panel{max-width:1040px !important}
:root body .insight-card h2{color:var(--dark) !important}
:root body .episode-index{gap:0}
:root body #podsumowanie .decision-number-list-horizontal{display:grid !important;gap:22px !important;border-top:0 !important}
:root body #podsumowanie .decision-number-item{border:1px solid var(--line) !important;border-left:4px solid var(--green) !important;background:#fff !important;box-shadow:0 8px 20px rgba(0,0,0,.04) !important;transition:opacity 1.05s cubic-bezier(.16,1,.3,1),
    transform 1.05s cubic-bezier(.16,1,.3,1) !important}
:root body .steps-grid{gap:16px}
:root body .step-card.step-card p{margin-top:12px}
:root body .expert-panel.expert-panel p{color:rgba(255,255,255,.82);margin-top:12px}
:root body .video-frame .yt-embed{width:100% !important;height:100% !important}
:root body .knowledge-item{gap:32px}
:root body .knowledge-item:nth-child(even) .media{order:2}
@media (max-width:1220px){
:root body .node-no.node-no{font-size:2.18rem}
:root body .system-orbit.system-orbit{width:560px;height:560px}
:root body .system-line.system-line{height:300px}
:root body .system-core.system-core .core-subtitle{font-size:.92rem;max-width:220px}
}
@media (max-width:1120px){
:root body .nav-phone.nav-phone{margin-left:6px}
}
@media (max-width:1100px){
:root body .dependency-layout.dependency-layout{grid-template-columns:1fr}
}
@media (max-width:980px){
:root body .top.top{display:none}
:root body .head.head{top:0}
:root body .hero.hero{padding-top:78px}
:root body .hero-grid.wrap{padding-top:54px;padding-bottom:28px}
:root body .hero-paths.hero-paths{grid-template-columns:1fr}
:root body .sec-head.sec-head{grid-template-columns:1fr}
:root body .grid-3.grid-3{grid-template-columns:1fr}
:root body .footgrid.footgrid{grid-template-columns:1fr}
:root body .chess.chess.flip .media{order:0}
:root body .reveal-right.reveal-right{transform:translateY(24px)}
:root body .sec-head.sec-head:not(.split){max-width:none;margin-bottom:38px}
:root body .sec-head.sec-head:not(.split) > p.lead{max-width:none}
:root body .about-spotlight-grid{gap:34px}
:root body .about-spotlight-grid.about-spotlight-grid{grid-template-columns:1fr;row-gap:34px;column-gap:34px}
:root body .about-spotlight-photo.about-spotlight-photo{min-height:340px}
:root body .contrast-fit.contrast-fit{grid-template-columns:1fr}
:root body .decision-card-positive.decision-card-positive{margin-top:0}
:root body .knowledge-visual.knowledge-visual{min-height:260px}
:root body .knowledge-teaser.knowledge-teaser{grid-template-columns:1fr}
:root body .topic-links.topic-links a{font-size:16px}
:root body .soft-cta-dark.soft-cta-dark{grid-template-columns:1fr}
:root body .menu-toggle{gap:5px}
:root body .menu-toggle.menu-toggle{display:inline-flex}
:root body .head nav{gap:0}
:root body .head nav a:last-child{border-bottom:0}
:root body .head.nav-open .menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
:root body .head.nav-open .menu-toggle span:nth-child(2){opacity:0}
:root body .head.nav-open .menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
:root body .about-values-grid.about-values-grid{grid-template-columns:1fr}
:root body .about-team-card.about-team-card.reverse{grid-template-columns:1fr}
:root body .about-hero-photo.about-hero-photo{min-height:340px}
:root body .about-team-photo.about-team-photo{min-height:280px}
:root body .about-team-card.about-team-card.reverse .about-team-photo{border-left:0}
:root body .about-team-copy.about-team-copy{padding-top:32px;padding-right:26px;padding-bottom:32px;padding-left:26px}
:root body .about-process-item.about-process-item{grid-template-columns:58px 1fr}
:root body .check-grid.check-grid{grid-template-columns:1fr}
:root body .module-summary.module-summary{padding-top:24px;padding-right:24px;padding-bottom:24px;padding-left:24px}
:root body .project-ready-card.project-ready-card{min-height:auto}
:root body .project-ready-card.project-ready-card .project-visual{height:200px}
:root body .story-card.story-card.flip{grid-template-columns:1fr}
:root body .method-row.method-row.flip{grid-template-columns:1fr}
:root body .story-card.story-card.flip .story-visual{order:0}
:root body .method-row.method-row.flip .method-media{order:0}
:root body .story-visual.story-visual{min-height:230px}
:root body .method-media.method-media{min-height:230px}
:root body .project-bridge.project-bridge{padding-top:74px;padding-right:0;padding-bottom:74px;padding-left:0}
:root body .industrial-hero.industrial-hero .hero-grid{grid-template-columns:1fr}
:root body .ind-module.ind-module.reverse .module-media{order:initial}
:root body .ind-module.ind-module.reverse .module-copy{order:initial}
:root body .scope-grid.scope-grid{grid-template-columns:1fr}
:root body.detail-page .story-module{grid-template-columns:1fr}
:root body.detail-page .story-module.reverse{grid-template-columns:1fr}
:root body.detail-page.detail-page .story-module.reverse .module-media{order:initial}
:root body.detail-page.detail-page .story-module.reverse .module-copy{order:initial}
body:is(.sm-realizacja-sm11-warsztat-samochodowy,.sm-realizacja-sm116-wolka-trudne-grunty,.sm-realizacja-sm42-blonie-waska-dzialka,.sm-realizacja-sm68-zaborow-ograniczenia-formalne,.sm-wiedza-formalnosci-przed-pozwoleniem-na-budowe,.sm-wiedza-jak-wyglada-wspolpraca-z-biurem-projektowym,.sm-wiedza-jak-zaplanowac-czesc-dzienna-domu,.sm-wiedza-jak-zaplanowac-strefe-nocna-domu,.sm-wiedza-projekt-indywidualny-czy-gotowy) .floating-nav.floating-nav{display:none}
:root body.detail-page .detail-hero .case-hero-grid{gap:34px}
:root body.detail-page.detail-page .detail-hero .case-hero-grid{grid-template-columns:1fr;row-gap:34px;column-gap:34px}
:root body.detail-page.detail-page .hero-facts-band{grid-template-columns:1fr}
:root body.detail-page.detail-page .wide-head .sec-title{max-width:100%}
:root body.detail-page .situation-split .module-media{min-height:320px}
:root body.detail-page .decision-intro-dark{padding:72px 0}
:root body.detail-page.detail-page .decision-intro-dark{padding-top:72px;padding-right:0;padding-bottom:72px;padding-left:0}
:root body.detail-page .decision-story{padding:72px 0}
:root body.detail-page.detail-page .decision-story{padding-top:72px;padding-right:0;padding-bottom:72px;padding-left:0}
:root body.detail-page .decision-story.sec{padding-top:72px;padding-right:0;padding-bottom:72px;padding-left:0}
:root body.detail-page .contact-block{grid-template-columns:1fr}
:root body.detail-page .effect-row{padding:20px}
:root body.detail-page.detail-page .effect-row{grid-template-columns:44px 1fr;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px}
:root body.detail-page.detail-page .statement-copy{text-align:left}
:root body.detail-page.detail-page .statement-copy .statement-main{max-width:100%;margin-left:0}
:root body.detail-page.detail-page .statement-copy .statement-accent{max-width:100%;margin-left:0}
:root body.detail-page.detail-page .statement-copy span{margin-left:0}
:root body.detail-page.detail-page .other-grid.three{grid-template-columns:1fr}
:root body .featured-case.featured-case{grid-template-columns:1fr}
:root body .featured-case.featured-case.flip .featured-case-media{order:initial}
:root body .featured-case.featured-case.flip .featured-case-copy{order:initial}
:root body .featured-case-media.featured-case-media{min-height:280px}
:root body .featured-case-copy.featured-case-copy{padding-top:30px;padding-right:28px;padding-bottom:30px;padding-left:28px}
:root body .related-grid.related-grid{grid-template-columns:1fr}
:root body .episode-section .section-grid{gap:26px}
:root body .episode-section.episode-section .section-grid{grid-template-columns:1fr;row-gap:26px;column-gap:26px}
:root body .episode-hero{padding:112px 0 72px !important}
:root body .episode-hero.episode-hero{padding-top:112px !important;padding-right:0 !important;padding-bottom:72px !important;padding-left:0 !important}
:root body .episode-hero-grid{gap:36px !important}
:root body .episode-hero-grid.episode-hero-grid{grid-template-columns:1fr !important;row-gap:36px !important;column-gap:36px !important}
:root body .episode-hero.episode-hero h1{font-size:clamp(2rem,8vw,3rem) !important}
:root body .steps-grid.steps-grid{grid-template-columns:1fr}
:root body .knowledge-item.knowledge-item{grid-template-columns:1fr}
:root body .knowledge-item.knowledge-item:nth-child(even) .media{order:0}
}
@media (max-width:900px){
:root body .system-core.system-core{display:none}
:root body .system-node{left:auto !important;right:auto !important;top:auto !important;bottom:auto !important;transform:none !important}
:root body .system-node.system-node{position:relative;width:auto;min-height:auto}
:root body .project-system-diagram{gap:14px}
:root body .project-system-diagram.project-system-diagram{min-height:auto}
body:is(.sm-projekty-indywidualne) .decision-number-list-horizontal.decision-number-list-horizontal .decision-number-item{grid-template-columns:54px 1fr}
}
@media (max-width:860px){
:root body .dependency-diagram{gap:14px}
:root body .dependency-diagram.dependency-diagram{min-height:auto}
:root body .diagram-core.diagram-core{display:none}
:root body .dep-node{left:auto !important;right:auto !important;top:auto !important;bottom:auto !important;transform:none !important}
:root body .dep-node.dep-node{position:relative;width:auto;min-height:auto}
:root body .dependency-intro.dependency-intro{margin-bottom:34px}
}
@media (max-width:780px){
:root body .home-work-row{gap:28px}
:root body .home-work-row.flip{gap:28px}
:root body .home-work-row.home-work-row.flip .home-work-media{grid-column:auto;grid-row:auto}
:root body .home-work-row.home-work-row.flip .home-work-copy{grid-column:auto;grid-row:auto}
:root body .home-work-grid{gap:48px}
:root body .home-work-grid.home-work-grid{row-gap:48px;column-gap:48px}
:root body .home-work-bridge.home-work-bridge{margin-bottom:62px}
}
@media (max-width:760px){
:root body .path-card-media.path-card-media{min-height:170px}
:root body .decision-card.decision-card{padding-top:30px;padding-right:24px;padding-bottom:30px;padding-left:24px}
:root body .soft-cta-dark.soft-cta-dark .btns{margin-top:20px}
:root body .home-work-media.home-work-media.tile-graphic{display:flex}
:root body .home-work-media.home-work-media.tile-graphic>.home-work-media-inner{position:static;width:auto;height:auto;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;clip-path:none;white-space:normal;padding-top:22px;padding-right:24px;padding-bottom:26px;padding-left:24px;border-top:1px solid var(--line)}
body:is(.sm-o-nas,.sm-polityka-prywatnosci) #start.hero.hero h1{font-size:clamp(2.05rem,9vw,3.05rem) !important}
:root body .legal-sec.legal-sec{padding-top:48px;padding-right:0;padding-bottom:72px;padding-left:0}
:root body .legal-toc.legal-toc ol{columns:1}
:root body .legal.legal{font-size:15px}
:root body .legal-table.legal-table table{min-width:0}
:root body .legal-table.legal-table td{padding-top:10px;padding-right:14px;padding-bottom:10px;padding-left:14px}
:root body .legal-table td:first-child{font-weight:600;color:var(--dark)}
:root body.detail-page .viz-grid{gap:16px}
:root body.detail-page.detail-page .viz-grid{grid-template-columns:1fr;row-gap:16px;column-gap:16px}
:root body .lb img{max-width:100vw;max-height:80vh}
:root body .lb .lb-prev{top:auto;bottom:14px;margin-top:0}
:root body .lb .lb-next{top:auto;bottom:14px;margin-top:0}
:root body .lb .lb-count{bottom:30px}
:root body .episode-index-row{gap:16px}
:root body .episode-index-row.episode-index-row{grid-template-columns:48px 1fr;row-gap:16px;column-gap:16px;padding-top:18px;padding-right:0;padding-bottom:18px;padding-left:0}
:root body .expert-panel.expert-panel{padding-top:28px;padding-right:24px;padding-bottom:28px;padding-left:24px}
:root body .episode-section.episode-section .wrap.section-grid{padding-left:22px !important;padding-right:22px !important}
:root body #podsumowanie .decision-number-item.decision-number-item{grid-template-columns:48px 1fr}
}
@media (max-width:720px){
:root body .industrial-statement.industrial-statement{font-size:1.18rem}
}
@media (max-width:640px){
:root body .wrap.hero-grid{padding-right:18px;padding-left:18px}
:root body .stats.stats{grid-template-columns:1fr}
:root body .story-stack{gap:24px}
:root body .story-stack.story-stack{row-gap:24px;column-gap:24px}
:root body .method-stack{gap:24px}
:root body .method-stack.method-stack{row-gap:24px;column-gap:24px}
:root body .story-copy.story-copy{padding-top:32px;padding-right:24px;padding-bottom:32px;padding-left:24px}
:root body .method-copy.method-copy{padding-top:28px;padding-right:24px;padding-bottom:28px;padding-left:24px}
body:is(.sm-projekty-przemyslowe) .module-media.module-media{min-height:320px}
:root body .type-grid.type-grid{grid-template-columns:1fr}
:root body .ind-module{gap:28px}
:root body .ind-module.ind-module{padding-right:0;padding-left:0;row-gap:28px;column-gap:28px}
:root body.industrial-page.industrial-page .industrial-hero h1{font-size:clamp(1.9rem,9vw,2.6rem) !important;line-height:1.02 !important;letter-spacing:-.04em !important}
:root body.detail-page .sec{padding:62px 0}
:root body.detail-page .story-module{padding:58px 0;gap:28px}
:root body.detail-page.detail-page .story-module{padding-right:0;padding-left:0;row-gap:28px;column-gap:28px}
:root body.detail-page .module-media{min-height:280px}
:root body.detail-page .module-media img{min-height:280px}
body:is(.sm-realizacje) .grid-4.grid-4{grid-template-columns:1fr}
}
@media (max-width:600px){
:root body .hero-mosaic{gap:8px}
:root body .hero-mosaic.hero-mosaic{row-gap:8px;column-gap:8px}
}
@media (max-width:560px){
:root body .system-node{gap:12px}
:root body .system-node.system-node{grid-template-columns:1fr;row-gap:12px;column-gap:12px}
:root body .node-no.node-no{border-right:0;padding-right:0}
}
@media (prefers-reduced-motion: reduce){
:root body .reveal{opacity:1 !important;transform:none !important;transition:none !important}
:root body .reveal-left{opacity:1 !important;transform:none !important;transition:none !important}
:root body .reveal-right{opacity:1 !important;transform:none !important;transition:none !important}
:root body .card:hover{transform:none !important}
:root body .btn:hover{transform:none !important}
:root body .hero-path:hover{transform:none !important}
:root body .media:hover img{transform:none !important}
body:is(.sm-o-nas,.sm-polityka-prywatnosci) .reveal-up{opacity:1 !important;transform:none !important;transition:none !important}
}
/* Lista realizacji (pętla): naprzemienny układ kart */
:root .featured-case-list > .featured-case:nth-child(even) .featured-case-media{order:2}
:root .featured-case-list > .featured-case:nth-child(even) .featured-case-copy{order:1}
@media (max-width:980px){
:root .featured-case-list > .featured-case:nth-child(even) .featured-case-media{order:initial}
:root .featured-case-list > .featured-case:nth-child(even) .featured-case-copy{order:initial}
}
/* Warianty reguł specyficzne dla stron */
body.sm-realizacja-sm116-wolka-trudne-grunty.detail-page .other-thumb{display:flex;align-items:center;justify-content:center;min-height:160px;background:linear-gradient(135deg,#efe6d9,#dfe8dd);border-bottom:1px solid var(--line);font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--dark)}
body.sm-realizacja-sm42-blonie-waska-dzialka.detail-page .other-thumb{display:flex;align-items:center;justify-content:center;min-height:160px;background:linear-gradient(135deg,#efe6d9,#dfe8dd);border-bottom:1px solid var(--line);font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--dark)}
@media (max-width:980px){
body.sm-realizacje .grid-4{grid-template-columns:1fr 1fr}
}
