
/* SEP WWW 2.0 v0.6.3
   Common ZGK visual framework, but SEP-owned brand palette.
   No changes to the CMS selectors, API or deployment configuration. */
body.zgk-system{
 --sep-blue:#237d4c;
 --sep-blue-hover:#1b6940;
 --sep-ink:#213a2c;
 --sep-copy:#34473a;
 --sep-line:#e0ebe4;
 --sep-surface:#f6faf7;
 --green:#35cb69;
 --green2:#247a4c;
 --forest:#1f4b35;
 --pale:#f6faf7;
 --pale2:#eaf5ed;
 --line:#e0ebe4;
 --text:#2d4133;
 --muted:#65786c;
 color:#34473a;
}
body.zgk-system :focus-visible{outline-color:#147548}
body.zgk-system h1,body.zgk-system h2,body.zgk-system h3{color:#203b2b}
body.zgk-system p{color:#5d6d62}
body.zgk-system .overline,body.zgk-system .overline.light{color:#267a49}
body.zgk-system .text-link{color:#277b4e}
body.zgk-system .text-link:hover{color:#1b5f3a}

/* Same institutional header composition as ZGK, now driven by SEP green. */
body.zgk-system .utility-bar{background:#19482e;color:#f2fcf5}
body.zgk-system .utility-dot{background:#4bde7b}
body.zgk-system .a11y-bar{background:#f6f9f7;border-bottom-color:#e1eae4}
body.zgk-system .a11y-title{color:#465a4d}
body.zgk-system .a11y-group button{border-color:#dce9df;color:#34523c}
body.zgk-system .a11y-group button:hover,
body.zgk-system .a11y-group button[aria-pressed=true]{border-color:#a3d5b5;background:#eaf6ef;color:#195a36}
body.zgk-system .site-header{border-bottom-color:#e0eae3;box-shadow:0 2px 8px rgba(29,73,45,.025)}
body.zgk-system .main-nav>a{color:#385044}
body.zgk-system .main-nav>a:hover,
body.zgk-system .main-nav>a.active{color:#207844!important;background:#edf7f0!important}
body.zgk-system .main-nav .platform-link,
body.zgk-system .btn-green,
body.zgk-system .btn-dark{background:#24834e!important;border-color:#24834e!important;color:#fff!important}
body.zgk-system .main-nav .platform-link:hover,
body.zgk-system .btn-green:hover,
body.zgk-system .btn-dark:hover{background:#1a653b!important;border-color:#1a653b!important}
body.zgk-system .btn-outline-light{background:#fff;color:#286d47;border-color:#c7dfcf}
body.zgk-system .btn-outline-light:hover{background:#edf8f1;border-color:#91c6a4;color:#1a673c}
body.zgk-system .brand img{width:177px}
body.zgk-system .nav-wrap{min-height:77px;height:77px}

/* Photo blending: no abrupt vertical photo boundary. Sunset is the genuine
   image from the earlier version of this project. */
body.zgk-system .home-hero{
 min-height:492px;background:#f5faf6;
}
body.zgk-system .home-hero::before{
 background-image:linear-gradient(rgba(255,255,255,.93),rgba(255,255,255,.93)),url("gmina-zgk-pattern.png");
 opacity:.16;
}
body.zgk-system .home-hero-bg{
 inset:0!important;
 background-image:url("hero-home.webp")!important;
 background-size:cover!important;
 background-position:center 48%!important;
 filter:saturate(.99) contrast(.99)!important;
 opacity:1!important;
}
body.zgk-system .home-hero-overlay{
 inset:0;
 background:linear-gradient(90deg,
  #f7fbf8 0%,
  rgba(247,251,248,.995) 25%,
  rgba(247,251,248,.965) 35%,
  rgba(247,251,248,.86) 45%,
  rgba(247,251,248,.59) 57%,
  rgba(247,251,248,.20) 71%,
  rgba(247,251,248,0) 84%)!important;
}
body.zgk-system .home-hero-inner{min-height:492px}
body.zgk-system .home-copy{max-width:555px}
body.zgk-system .home-copy h1{
 font-size:clamp(2.2rem,3.3vw,3.04rem);
 letter-spacing:-.038em;line-height:1.14;font-weight:630;color:#233e2f;
 max-width:575px;
}
body.zgk-system .home-copy h1 em{color:#248047}
body.zgk-system .home-copy>p{max-width:505px;color:#52675a}
body.zgk-system .numbers{border-bottom-color:#e2ebe5}
body.zgk-system .numbers article{border-color:#e2ebe5}
body.zgk-system .numbers .num-icon{background:#eaf6ed;color:#238850}
body.zgk-system .numbers strong{color:#254536}
body.zgk-system .numbers small{color:#627b6b}

/* The subpage photo starts on the right but fades organically into the
   left text surface, following the successful ZGK hero language. */
body.zgk-system .subhero{background:#f6faf7;border-bottom-color:#e3ede5}
body.zgk-system .subhero::before{opacity:.20}
body.zgk-system .subhero-bg{inset:0!important;opacity:1!important;filter:saturate(.9) contrast(.99)!important}
body.zgk-system .subhero-overlay{
 background:linear-gradient(90deg,
 #f7fbf8 0%,
 rgba(247,251,248,.995) 29%,
 rgba(247,251,248,.97) 39%,
 rgba(247,251,248,.79) 53%,
 rgba(247,251,248,.26) 73%,
 rgba(247,251,248,0) 89%)!important;
}
body.zgk-system .subhero-inner h1{color:#233f2f;font-size:clamp(2rem,3vw,2.56rem);max-width:650px}
body.zgk-system .subhero-inner p{color:#576e5f}
body.zgk-system .subhero-breadcrumb a{color:#287a49}

/* Structural and information components. */
body.zgk-system .pale,body.zgk-system .how-preview{background:#f7faf8}
body.zgk-system .section-head>p,body.zgk-system .intro-text p,body.zgk-system .split-text p{color:#5b6d60}
body.zgk-system .members article{border-color:#e1ebe4;background:#fff}
body.zgk-system .members .round-icon,
body.zgk-system .inst-summary .round-icon{background:#eaf6ee;color:#26844e}
body.zgk-system .members h3{color:#2c4a37}
body.zgk-system .timeline strong,body.zgk-system .inst-row strong,body.zgk-system .quick-list strong{color:#1d7644}
body.zgk-system .timeline article{border-color:#90c6a1}
body.zgk-system .inst-summary{border-color:#e1ebe4}
body.zgk-system .inst-summary strong{color:#254435}
body.zgk-system .inst-row{border-bottom-color:#e1ebe4}
body.zgk-system .inst-head{background:#f6faf7;color:#546e5c}
body.zgk-system .inst-row .place{color:#244937}
body.zgk-system .install-photo{box-shadow:none}
body.zgk-system .contact-direct a{background:#f7faf8;border-color:#e1ebe4}
body.zgk-system .contact-direct a:hover{background:#eef7f1;border-color:#a8d3b6}
body.zgk-system .contact-direct strong{color:#207c4a}
body.zgk-system .register div{border-bottom-color:#e0ebe4}

/* Continuous illustrated energy landscape on homepage. */
body.zgk-system .sep-process-preview{
 display:block;background:#fff!important;
 border:1px solid #dce9e0;border-radius:14px;
 padding:19px 22px 17px;box-shadow:none;
}
body.zgk-system .sep-process-preview>img{
 display:block;width:100%;max-width:1150px;height:auto;object-fit:contain;margin:0 auto;
 border-radius:10px;background:#f9fcfa;
}
body.zgk-system .sep-process-labels{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:16px;margin:2px 0 13px;font-size:.86rem;color:#315944;font-weight:650;text-align:center;
}
body.zgk-system .sep-process-labels span{display:flex;align-items:center;justify-content:center;gap:8px}
body.zgk-system .sep-process-labels b{
 background:#e1f4e8;border-radius:6px;padding:3px 6px;font-size:.72rem;color:#267c4c
}
body.zgk-system .sep-process-preview .process-preview-caption{
 display:flex;gap:10px;align-items:center;margin:0;padding:14px 0 0;border-top:1px solid #e5eee7;
 color:#5a7161;font-size:.82rem;text-align:left;
}
body.zgk-system .sep-process-preview .process-preview-dot{background:#31bd68;flex:0 0 7px}

/* NEW diagram: a single cohesive panorama, not three separate icon cards.
   The stage names and descriptions are still editable in the CMS. */
body.zgk-system .sep-flow{
 background:#fff!important;border:1px solid #dce9e0!important;
 border-radius:14px!important;padding:28px 28px 24px!important;
 box-shadow:none!important;
}
body.zgk-system .flow-heading{margin-bottom:17px}
body.zgk-system .flow-step{
 display:inline-block;margin-bottom:9px;
 font-weight:750;letter-spacing:.13em;color:#29814d;font-size:.73rem;
}
body.zgk-system .flow-heading h3{
 margin:0 0 5px;color:#284a35;font-size:clamp(1.26rem,2vw,1.54rem);font-weight:650;
}
body.zgk-system .flow-heading p{font-size:.89rem;margin:0;color:#66796b;max-width:800px}
body.zgk-system .flow-panorama{
 overflow:hidden;border-radius:11px;background:#f9fcfa;
}
body.zgk-system .flow-panorama img{width:100%;height:auto;display:block}
body.zgk-system .flow-stage-labels{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:28px;margin-top:21px;
}
body.zgk-system .flow-stage-labels .stage-copy{
 display:flex;align-items:flex-start;gap:10px;padding:0;
 text-align:left;min-width:0;background:none!important;
}
body.zgk-system .flow-stage-labels .stage-index{
 display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;
 background:#e0f3e8;border-radius:7px;color:#1d7944;font-size:.75rem;font-weight:750;
}
body.zgk-system .flow-stage-labels strong{display:block;color:#2c5139;font-size:.96rem;font-weight:680;line-height:1.42}
body.zgk-system .flow-stage-labels small{display:block;color:#617365;font-size:.81rem;line-height:1.55;margin-top:6px}
body.zgk-system .flow-divider{height:1px;background:#e0ebe3;margin:32px 0 24px}
body.zgk-system .flow-heading-secondary{margin-bottom:18px}
body.zgk-system .data-track{
 display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr) 56px minmax(0,1fr);
 gap:11px;align-items:stretch;
}
body.zgk-system .data-node,
body.zgk-system .data-track .cooperative-box{
 display:flex;align-items:center;justify-content:flex-start;flex-direction:row;
 grid-column:auto;grid-row:auto;justify-self:stretch;
 gap:13px;min-width:0;width:auto;padding:16px 15px;
 background:#f6faf7!important;border:1px solid #e0ebe4!important;
 border-radius:11px;color:#2d4d38;min-height:122px;
 text-align:left;
}
body.zgk-system .data-track .cooperative-box{background:#e9f6ed!important;border-color:#c8e8d4!important}
body.zgk-system .data-icon{
 flex:0 0 65px;width:65px;height:74px;
 display:grid;place-items:center;align-self:center;
}
body.zgk-system .data-icon svg{display:block;width:70px;height:70px;max-width:100%}
body.zgk-system .data-icon-brand img{width:58px;height:58px;object-fit:contain}
body.zgk-system .data-text{min-width:0}
body.zgk-system .data-text strong,body.zgk-system .data-track .cooperative-box strong{
 display:block;font-size:.91rem;line-height:1.3;color:#285038!important;font-weight:670;
}
body.zgk-system .data-text small,body.zgk-system .data-track .cooperative-box small{
 display:block;color:#617768;font-size:.77rem;line-height:1.48;margin-top:6px
}
body.zgk-system .data-link{align-self:center;text-align:center;min-width:0}
body.zgk-system .data-link:before{
 content:"";display:block;height:2px;width:100%;
 background:linear-gradient(90deg,#95d0a8,#2d9d5e);position:relative;
}
body.zgk-system .data-link:after{
 content:"";display:block;width:0;height:0;
 border-left:8px solid #2d9d5e;border-top:5px solid transparent;border-bottom:5px solid transparent;
 margin:-6px 0 0 auto;
}
body.zgk-system .data-link span{display:block;color:#568165;font-size:.67rem;margin-top:9px}
body.zgk-system .plain-language article{
 border-color:#e0ebe4!important;background:#fff!important;min-height:180px
}
body.zgk-system .plain-icon{background:#e7f5ed;color:#1d824c}
body.zgk-system .plain-language h3{color:#2b4b38}

/* White footer: the institutional logos are placed on the same white field,
   no unpleasant white boxes standing out against grey. */
body.zgk-system .site-footer{
 background:#fff!important;border-top:1px solid #e2ebe5;
 color:#465b4d;padding:39px 0 24px;
}
body.zgk-system .site-footer .footer-top{border-bottom-color:#e3ebe5;padding-bottom:26px}
body.zgk-system .footer-brand p{color:#627468}
body.zgk-system .footer-public-badges{gap:36px}
body.zgk-system .footer-logo-link{color:#405b48}
body.zgk-system .footer-logo-link img{background:#fff!important;border:0;box-shadow:none}
body.zgk-system .footer-logo-link>span{color:#3a6449}
body.zgk-system .footer-links a,body.zgk-system .footer-links button{color:#385d43}
body.zgk-system .footer-address strong{color:#2f4f3c}
body.zgk-system .footer-address a,body.zgk-system .footer-address span{color:#627367}
body.zgk-system .footer-bottom{color:#798b7e}

/* Accessibility remains authoritative over themed presentation. */
html[data-contrast="high"] body.zgk-system,
html[data-contrast="high"] body.zgk-system :is(.sep-flow,.sep-process-preview,.flow-panorama,.data-node,.data-track .cooperative-box,.site-footer){
 background:#000!important;color:#fff!important;border-color:#fff!important
}
html[data-contrast="high"] body.zgk-system :is(.home-hero,.subhero,.home-hero-overlay,.subhero-overlay){
 background:#000!important
}
html[data-contrast="high"] body.zgk-system :is(.home-hero-bg,.subhero-bg){display:none!important}
html[data-contrast="high"] body.zgk-system :is(.flow-heading h3,.flow-heading p,.flow-step,.flow-stage-labels strong,.flow-stage-labels small,.data-node strong,.data-node small,.data-track .cooperative-box strong,.data-track .cooperative-box small,.sep-process-labels span,.footer-logo-link>span){
 color:#fff!important
}
html[data-contrast="high"] body.zgk-system .flow-panorama img{background:#fff}
html[data-contrast="high"] body.zgk-system .main-nav .platform-link,
html[data-contrast="high"] body.zgk-system :is(.btn-green,.btn-dark){
 color:#000!important;background:#ff0!important;border-color:#ff0!important
}
html[data-mono="true"] body.zgk-system :is(.flow-panorama img,.sep-process-preview img){filter:grayscale(1)}

@media(max-width:1120px){
 body.zgk-system .data-track{grid-template-columns:1fr 34px 1fr 34px 1fr;gap:8px}
 body.zgk-system .data-node,body.zgk-system .data-track .cooperative-box{padding:13px 11px;gap:8px}
 body.zgk-system .data-icon{flex-basis:50px;width:50px}
 body.zgk-system .data-icon svg{width:50px}
 body.zgk-system .data-icon-brand img{width:50px;height:50px}
}
@media(max-width:760px){
 body.zgk-system .brand img{width:162px}
 body.zgk-system .home-hero{min-height:0}
 body.zgk-system .home-hero-bg{background-position:68% center!important;opacity:.35!important}
 body.zgk-system .home-hero-overlay{
  background:linear-gradient(90deg,rgba(247,251,248,.96) 0%,rgba(247,251,248,.93) 66%,rgba(247,251,248,.80) 100%)!important;
 }
 body.zgk-system .home-hero-inner{min-height:0;padding:56px 0}
 body.zgk-system .home-copy h1{font-size:clamp(1.93rem,7.2vw,2.48rem)}
 body.zgk-system .subhero-bg{opacity:.24!important;background-position:63% center!important}
 body.zgk-system .subhero-overlay{background:rgba(247,251,248,.86)!important}
 body.zgk-system .subhero-inner h1{font-size:clamp(1.83rem,6.5vw,2.25rem)}
 body.zgk-system .sep-process-preview{padding:10px!important}
 body.zgk-system .sep-process-preview>img{min-height:145px;object-fit:cover;object-position:50% 50%}
 body.zgk-system .sep-process-labels{gap:5px;margin-top:11px;font-size:.7rem}
 body.zgk-system .sep-process-labels span{gap:3px;flex-wrap:wrap}
 body.zgk-system .sep-process-labels b{font-size:.61rem}
 body.zgk-system .sep-flow{padding:19px 14px!important}
 body.zgk-system .flow-panorama img{min-height:165px;object-fit:cover;object-position:center}
 body.zgk-system .flow-stage-labels{grid-template-columns:1fr;gap:13px;margin-top:17px}
 body.zgk-system .flow-stage-labels .stage-copy{gap:11px}
 body.zgk-system .flow-stage-labels strong{font-size:.94rem}
 body.zgk-system .flow-stage-labels small{font-size:.81rem;margin-top:3px}
 body.zgk-system .flow-divider{margin:22px 0}
 body.zgk-system .data-track{grid-template-columns:1fr;gap:0}
 body.zgk-system .data-node,body.zgk-system .data-track .cooperative-box{min-height:105px;padding:11px 15px;flex-direction:row}
 body.zgk-system .data-link{width:30px;height:38px;margin:1px auto}
 body.zgk-system .data-link:before{width:2px;height:27px;margin:auto}
 body.zgk-system .data-link:after{
  border-left:5px solid transparent;border-right:5px solid transparent;
  border-top:8px solid #2d9d5e;border-bottom:0;margin:-1px auto 0;
 }
 body.zgk-system .data-link span{display:none}
 body.zgk-system .footer-public-badges{gap:26px;align-items:center}
 body.zgk-system .site-footer{padding:28px 0 22px}
}
@media(prefers-reduced-motion:reduce){body.zgk-system *{animation:none!important}}
@media print{
 body.zgk-system .home-hero-bg,body.zgk-system .subhero-bg{display:none!important}
 body.zgk-system .home-hero-overlay,body.zgk-system .subhero-overlay{background:#fff!important}
 body.zgk-system .site-footer{background:#fff!important}
}

body.zgk-system .footer-lower .footer-address{align-items:flex-start;text-align:left}
body.zgk-system .footer-address strong,
body.zgk-system .footer-address :is(a,span){text-align:left}
body.zgk-system .footer-logo-link img{filter:none!important}
html[data-mono="true"] body.zgk-system .footer-logo-link img{filter:grayscale(1)!important}

@media(max-width:760px){body.zgk-system .flow-panorama img{height:auto!important;min-height:0!important;width:100%!important;object-fit:contain!important}}

/* SEP WWW 2.0 v0.6.4 | Institutional footer and illustrated energy diagram. */
body.zgk-system .utility-inner{justify-content:flex-end}
body.zgk-system .utility-links{margin-left:auto}
body.zgk-system .site-footer{background:#fff!important}
body.zgk-system .footer-public-badges{display:flex;align-items:center;gap:28px}
body.zgk-system .footer-logo-link,
body.zgk-system .footer-logo-link.footer-gmina,
body.zgk-system .footer-logo-link.footer-zgk{
  display:flex;align-items:center;justify-content:center;min-width:unset;gap:0;
  padding:8px 10px;border-radius:8px;line-height:1;
  transition:background-color .18s ease,transform .18s ease;
}
body.zgk-system .footer-logo-link:hover{opacity:1;background:#f1f8f3;transform:translateY(-1px)}
body.zgk-system .footer-logo-link img,
body.zgk-system .footer-gmina img,
body.zgk-system .footer-zgk img{
  height:56px!important;width:auto!important;max-height:none!important;
  max-width:200px!important;object-fit:contain!important;
  padding:0!important;margin:0!important;background:#fff!important;
  display:block!important;
}
body.zgk-system .footer-logo-link>span{display:none!important}
body.zgk-system .flow-panorama{background:#f9fcfa;border:0;border-radius:18px;overflow:hidden}
body.zgk-system .flow-panorama img{
  display:block;width:100%;height:auto!important;object-fit:contain!important;min-height:0!important;
}
body.zgk-system .sep-process-preview{background:#fff!important}
body.zgk-system .sep-process-preview>img{
  display:block;width:100%;height:auto!important;max-height:400px;object-fit:contain!important;
}
/* Permit the visual journey to feel like a unified illustration, not a row of widgets. */
body.zgk-system .sep-flow{border-color:#e7eee9;background:#fff}
body.zgk-system .flow-stage-labels{border-top:1px solid #edf2ee;padding-top:18px;margin-top:5px}
body.zgk-system .flow-stage-labels .stage-index{background:#eaf8ee;border-radius:50%;color:#277c4c}
body.zgk-system .flow-divider{background:#e7efe9}
body.zgk-system .data-track .data-node,
body.zgk-system .data-track .cooperative-box{
  background:#fff!important;border:0!important;border-bottom:1px solid #dcebe0!important;
  border-radius:0;padding:18px 10px;box-shadow:none!important;
}
body.zgk-system .data-track .cooperative-box{background:#f7fcf8!important;border-bottom-color:#bedac8!important}
body.zgk-system .data-node .data-icon{height:88px;flex:0 0 78px;width:78px}
body.zgk-system .data-node .data-icon svg{width:80px;height:80px}
body.zgk-system .data-node .data-icon-brand img{width:60px;height:60px}
@media(max-width:760px){
 body.zgk-system .footer-public-badges{gap:9px;justify-content:flex-start;flex-wrap:wrap}
 body.zgk-system .footer-logo-link img,body.zgk-system .footer-gmina img,body.zgk-system .footer-zgk img{
   height:46px!important;max-width:170px!important;
 }
 body.zgk-system .flow-panorama img{max-height:none!important;min-height:0!important;object-fit:contain!important}
 body.zgk-system .sep-process-preview>img{max-height:none!important;min-height:0!important;object-fit:contain!important}
 body.zgk-system .flow-stage-labels{padding-top:14px}
}
html[data-contrast=high] body.zgk-system .footer-logo-link:hover{background:#111!important}
html[data-mono=true] body.zgk-system .footer-public-badges img{filter:grayscale(1)!important}
@media(prefers-reduced-motion:reduce){body.zgk-system .footer-logo-link{transition:none!important}}

/* Home uses the same seven-building visual as the new explainer */
body.zgk-system .sep-process-preview>img[src$="mapa-7-obiektow-sep.webp"]{height:380px!important;max-height:380px!important;object-fit:cover!important;object-position:50% 50%!important;}
@media(max-width:760px){body.zgk-system .sep-process-preview>img[src$="mapa-7-obiektow-sep.webp"]{height:240px!important;max-height:240px!important;object-position:center!important;}}
