/*
Theme Name: WG Exakt Visual Bilingual 2026
Theme URI: https://www.wg-exakt.se
Author: WG Exakt AB
Description: Wizualny, dwujęzyczny i w pełni edytowalny motyw blokowy WG Exakt AB.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: wg-exakt-clean-2026
*/
:root{--wg-navy:#06182e;--wg-green:#2fb463;--wg-light:#f3f6f9;--wg-text:#162033;--wg-muted:#667085;--wg-border:#dfe6ee}
html{scroll-behavior:smooth}body{margin:0;color:var(--wg-text);background:#fff}.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block-start:0}
.wg-header{position:sticky;top:0;z-index:999;background:rgba(6,24,46,.98);color:#fff}.wg-header-inner{min-height:82px;padding:8px 24px;gap:22px}.wg-logo img{width:185px!important;max-height:58px;object-fit:contain;background:#fff;border-radius:7px;padding:4px}.wg-nav{margin-left:auto}.wg-nav a{color:#fff!important;font-weight:700}.wg-nav a:hover{color:var(--wg-green)!important}.wg-lang{display:flex;gap:8px;align-items:center;white-space:nowrap;font-weight:800;font-size:.8rem}.wg-lang a{color:#fff!important;text-decoration:none}.wg-button .wp-block-button__link{background:var(--wg-green)!important;color:#fff!important;border-radius:7px;font-weight:800;padding:13px 22px}.wg-button-outline .wp-block-button__link{color:#fff!important;border-color:#fff!important;border-radius:7px}
.wg-hero{min-height:720px!important;margin:0!important}.wg-hero .wp-block-cover__image-background{object-fit:cover!important;object-position:50% 42%!important}.wg-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(3,15,29,.91),rgba(3,15,29,.62),rgba(3,15,29,.25))!important;opacity:1!important}.wg-hero-inner{width:min(1220px,calc(100% - 48px));margin:0 auto!important}.wg-hero-inner>*{max-width:710px!important;margin-left:0!important}.wg-eyebrow{color:var(--wg-green)!important;font-size:.76rem!important;font-weight:900!important;letter-spacing:.14em;text-transform:uppercase}.wg-hero-title{font-size:clamp(3.4rem,6vw,6rem)!important;line-height:.96!important;letter-spacing:-.045em;color:#fff!important}.wg-hero-title strong{color:var(--wg-green)}.wg-hero-copy{color:rgba(255,255,255,.88)!important;font-size:clamp(1rem,1.45vw,1.18rem)!important}
.wg-stats{position:relative;z-index:5;margin-top:-48px!important;background:var(--wg-navy);color:#fff;border-radius:14px;overflow:hidden;box-shadow:0 22px 55px rgba(6,24,46,.22)}.wg-stat{padding:24px 12px;text-align:center;border-right:1px solid rgba(255,255,255,.12)}.wg-stat:last-child{border-right:0}.wg-stat h3{color:#fff!important;margin:0}.wg-stat p{color:rgba(255,255,255,.66)!important;font-size:.8rem;margin:.3rem 0 0}
.wg-section{padding-top:92px!important;padding-bottom:92px!important}.wg-section-title{margin-bottom:42px!important}.wg-section-title h2{font-size:clamp(2rem,4vw,3.2rem)!important;line-height:1.08;color:var(--wg-navy)!important}.wg-grid-card{padding:28px 25px;border:1px solid var(--wg-border);border-radius:15px;background:#fff;min-height:210px;transition:.25s}.wg-grid-card:hover{transform:translateY(-6px);box-shadow:0 18px 45px rgba(6,24,46,.11);border-color:rgba(47,180,99,.45)}.wg-grid-card h3{color:var(--wg-navy)!important}.wg-grid-card p{color:var(--wg-muted)}.wg-grid-card a{font-weight:800;text-decoration:none}
.wg-dark{background:linear-gradient(135deg,var(--wg-navy),#0d345e);color:#fff}.wg-dark h2,.wg-dark h3{color:#fff!important}.wg-dark p,.wg-dark li{color:rgba(255,255,255,.8)!important}.wg-light{background:var(--wg-light)}.wg-image img{width:100%;min-height:430px;object-fit:cover;border-radius:18px;box-shadow:0 24px 58px rgba(0,0,0,.18)}
.wg-subhero{min-height:520px!important;margin:0!important}.wg-subhero .wp-block-cover__image-background{object-fit:cover!important;object-position:50% 42%!important}.wg-subhero .wp-block-cover__background{background:linear-gradient(90deg,rgba(3,15,29,.88),rgba(3,15,29,.48))!important;opacity:1!important}.wg-subhero h1{color:#fff!important;font-size:clamp(2.8rem,5.6vw,5rem)!important;line-height:1!important}.wg-subhero p{color:rgba(255,255,255,.84)!important;max-width:720px;font-size:1.08rem}
.wg-footer{padding-top:65px!important;padding-bottom:25px!important;background:#031122;color:#fff}.wg-footer h4{color:#fff!important}.wg-footer p,.wg-footer li,.wg-footer a{color:rgba(255,255,255,.68)!important}.wg-footer-logo img{width:185px!important;background:#fff;border-radius:7px;padding:4px}
@media(max-width:1000px){.wg-header .wp-block-buttons{display:none}}@media(max-width:900px){.wg-card-grid,.wg-stats{grid-template-columns:repeat(2,1fr)!important}.wg-hero-inner{text-align:center}.wg-hero-inner>*{margin-left:auto!important;margin-right:auto!important}.wg-hero .wp-block-buttons{justify-content:center}}@media(max-width:600px){.wg-card-grid,.wg-stats{grid-template-columns:1fr!important}.wg-stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.1)}.wg-hero{min-height:650px!important}.wg-hero-title{font-size:3rem!important}}

.wg-contact-card{padding:32px;border:1px solid var(--wg-border);border-radius:16px;background:#fff}
.wg-contact-card a{font-weight:800;text-decoration:none}
.wg-social-link{display:inline-flex;align-items:center;gap:8px;font-weight:800}
.wg-cert-grid .wp-block-group{min-height:180px}

/* Visual 2026 additions */
.wg-icon-card{position:relative;overflow:hidden}
.wg-icon-card:before{content:"";display:block;width:46px;height:4px;background:var(--wg-green);border-radius:999px;margin-bottom:18px}
.wg-mini-copy{max-width:720px;color:var(--wg-muted)}
.wg-qual-card{padding:24px;border:1px solid var(--wg-border);border-radius:14px;background:#fff;min-height:150px}
.wg-qual-card h3{margin-top:0}
.wg-project-cover{border-radius:16px;overflow:hidden;min-height:320px!important}
.wg-project-cover h3{color:#fff!important}
.wg-project-cover p{color:rgba(255,255,255,.82)!important}
.wg-cta-band{padding-top:72px!important;padding-bottom:72px!important;background:linear-gradient(135deg,var(--wg-navy),#0d345e);color:#fff}
.wg-cta-band h2{color:#fff!important}
.wg-section-compact{padding-top:72px!important;padding-bottom:72px!important}

/* Final consistency and forms */
.wpforms-container{max-width:760px;margin:0!important}
.wpforms-container .wpforms-field{padding:10px 0!important}
.wpforms-container input[type=text],
.wpforms-container input[type=email],
.wpforms-container select,
.wpforms-container textarea{width:100%!important;border:1px solid #ccd6e0!important;border-radius:7px!important;padding:12px 14px!important;background:#fff!important}
.wpforms-container textarea{min-height:150px!important}
.wpforms-container .wpforms-submit{background:#2fb463!important;color:#fff!important;border:0!important;border-radius:7px!important;padding:13px 24px!important;font-weight:800!important}
.wpforms-container .wpforms-submit:hover{background:#279d56!important}
.wpforms-confirmation-container-full{background:#eefaf2!important;border:1px solid #a8dfba!important;border-radius:10px!important;color:#163f24!important}
.wg-card-grid{gap:22px}
.wg-project-grid{gap:22px}
.wg-section .wp-block-columns{gap:48px}
.wg-section-title .wg-mini-copy{margin-left:auto;margin-right:auto;text-align:center}
@media(max-width:781px){.wg-section .wp-block-columns{gap:28px}.wpforms-container{max-width:100%}}

/* Premium image-led layout 2026 */
.wg-premium-hero{margin:0!important}.wg-premium-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(3,15,29,.9),rgba(3,15,29,.46),rgba(3,15,29,.08))!important;opacity:1!important}.wg-premium-hero .wp-block-cover__image-background{object-fit:cover!important;object-position:center!important}.wg-display{font-size:clamp(3rem,6vw,6.2rem)!important;line-height:.95!important;letter-spacing:-.045em;color:#fff!important}.wg-display strong{color:var(--wg-green)}.wg-lead{max-width:720px;color:rgba(255,255,255,.88)!important;font-size:clamp(1rem,1.5vw,1.25rem)!important}.wg-stats-premium{margin-top:-42px!important;position:relative;z-index:5;background:#fff;border-radius:18px;box-shadow:0 20px 55px rgba(6,24,46,.16);overflow:hidden}.wg-stats-premium>div{padding:28px;text-align:center;border-right:1px solid var(--wg-border)}.wg-stats-premium>div:last-child{border-right:0}.wg-stats-premium strong{display:block;font-size:2rem;color:var(--wg-navy)}.wg-stats-premium span{display:block;color:var(--wg-muted);font-size:.85rem}.wg-service-grid{gap:20px}.wg-service-tile{padding:30px;border-radius:18px;border:1px solid var(--wg-border);background:#fff;min-height:210px;transition:.25s}.wg-service-tile:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(6,24,46,.11)}.wg-service-tile h3{color:var(--wg-navy)}.wg-service-tile a{font-weight:800;text-decoration:none}.wg-dark-premium{background:linear-gradient(135deg,#06182e,#0d345e);color:#fff}.wg-dark-premium h2,.wg-dark-premium h3{color:#fff!important}.wg-dark-premium p,.wg-dark-premium li{color:rgba(255,255,255,.8)!important}.wg-photo img,.wg-photo-portrait img{width:100%;object-fit:cover;border-radius:20px;box-shadow:0 24px 65px rgba(6,24,46,.16)}.wg-photo img{min-height:430px}.wg-photo-portrait img{max-height:620px;object-position:center}.wg-soft{background:#f4f7fa}.wg-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.wg-feature-card{padding:28px;border:1px solid var(--wg-border);border-radius:16px;background:#fff}.wg-feature-card h3{margin-top:0;color:var(--wg-navy)}.wg-gallery{gap:16px!important}.wg-gallery figure{border-radius:16px;overflow:hidden;min-height:280px}.wg-gallery img{width:100%;height:100%!important;object-fit:cover!important;transition:.35s}.wg-gallery figure:hover img{transform:scale(1.035)}.wg-project-grid{gap:22px}.wg-project-card{border-radius:18px;overflow:hidden}.wg-project-card h2{color:#fff!important;font-size:2.2rem!important}.wg-project-card p{color:rgba(255,255,255,.86)!important}.wg-cta-premium{padding-top:70px!important;padding-bottom:70px!important;background:linear-gradient(135deg,#06182e,#0d345e);color:#fff}.wg-cta-premium h2{color:#fff!important;margin:0}.wg-cta-premium p{color:rgba(255,255,255,.76)!important}.wg-intro{font-size:1.1rem;color:var(--wg-muted)}
@media(max-width:900px){.wg-feature-grid,.wg-service-grid,.wg-stats-premium{grid-template-columns:repeat(2,1fr)!important}.wg-gallery{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:600px){.wg-feature-grid,.wg-service-grid,.wg-stats-premium,.wg-gallery{grid-template-columns:1fr!important}.wg-stats-premium{margin-top:0!important;border-radius:0}.wg-display{font-size:3rem!important}.wg-premium-hero{min-height:620px!important}}

/* WG Exakt premium project final */
.wg-pro-hero{min-height:760px!important}.wg-pro-hero .wp-block-cover__image-background{object-position:center 35%}.wg-pro-hero-content{max-width:720px;margin-left:0!important}.wg-pro-title{font-size:clamp(44px,5.6vw,78px)!important;line-height:.98!important;letter-spacing:-.035em;margin:18px 0 24px}.wg-pro-title strong{color:#39bd6b}.wg-pro-lead{max-width:690px;font-size:clamp(17px,1.5vw,21px);line-height:1.65;color:rgba(255,255,255,.92)}
.wg-pro-stats{margin-top:-44px!important;position:relative;z-index:5;background:#fff;border-radius:14px;box-shadow:0 16px 45px rgba(7,24,46,.14);overflow:hidden}.wg-pro-stats>div{padding:28px 24px;text-align:center;border-right:1px solid #e7ecf2}.wg-pro-stats>div:last-child{border-right:0}.wg-pro-stats strong{display:block;color:#081e39;font-size:26px;line-height:1.1}.wg-pro-stats span{display:block;color:#697586;font-size:12px;margin-top:8px;text-transform:uppercase;letter-spacing:.05em}
.wg-pro-section{padding:96px 24px}.wg-pro-services{background:#f7f9fc}.wg-pro-heading{max-width:780px;margin-bottom:42px!important}.wg-pro-heading h2{font-size:clamp(32px,4vw,52px);line-height:1.08;color:#071d38;margin:8px 0 16px}.wg-pro-heading>p:last-child{font-size:18px;color:#687588}
.wg-pro-grid{gap:20px!important}.wg-pro-service-card{background:#fff;border:1px solid #e0e7ef;border-radius:14px;padding:30px!important;min-height:240px;display:flex;flex-direction:column;box-shadow:0 8px 28px rgba(9,29,54,.05);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.wg-pro-service-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(9,29,54,.12);border-color:#40bd70}.wg-pro-icon{width:45px;height:45px;border-radius:10px;background:#eaf8ef;color:#1fa45a;display:grid;place-items:center;font-size:24px;font-weight:900;margin-bottom:22px}.wg-pro-service-card h3{font-size:21px;color:#081e39;margin:0 0 12px}.wg-pro-service-card p{color:#6b7788}.wg-pro-link{margin-top:auto!important;padding-top:16px}.wg-pro-link a{color:#168c4b;font-weight:800;text-decoration:none}
.wg-pro-why{background:#071d38;color:#fff}.wg-pro-why h2{color:#fff;font-size:clamp(34px,4vw,54px)}.wg-pro-person img{border-radius:18px;max-height:590px;width:100%;object-fit:cover;object-position:center 22%;box-shadow:0 24px 60px rgba(0,0,0,.28)}.wg-pro-checks{list-style:none;padding-left:0!important;margin:26px 0 34px}.wg-pro-checks li{position:relative;padding:11px 0 11px 32px;border-bottom:1px solid rgba(255,255,255,.12)}.wg-pro-checks li:before{content:'✓';position:absolute;left:0;color:#43c878;font-weight:900}
.wg-pro-gallery{gap:14px!important}.wg-pro-gallery .wp-block-image{border-radius:12px;overflow:hidden;min-height:280px}.wg-pro-gallery img{width:100%;height:100%!important;object-fit:cover;transition:transform .35s}.wg-pro-gallery img:hover{transform:scale(1.035)}
.wg-pro-process{padding:90px 24px;background:#f4f7fa}.wg-pro-process h2{font-size:clamp(32px,4vw,50px);color:#071d38;max-width:760px}.wg-pro-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:38px}.wg-pro-steps>div{background:#fff;border-radius:12px;padding:28px;border:1px solid #e0e7ef}.wg-pro-steps b{display:block;color:#39bd6b;font-size:28px}.wg-pro-steps strong{display:block;color:#081e39;font-size:19px;margin:12px 0 5px}.wg-pro-steps span{color:#718096;font-size:14px}.wg-cta-premium{text-align:center;padding:88px 24px!important;background:linear-gradient(135deg,#071d38,#0b3159);color:#fff}.wg-cta-premium h2{color:#fff;font-size:clamp(34px,4vw,54px)}.wg-cta-premium p{font-size:18px;color:rgba(255,255,255,.8);margin-bottom:28px}
@media(max-width:900px){.wg-pro-stats,.wg-pro-grid{grid-template-columns:repeat(2,1fr)!important}.wg-pro-steps{grid-template-columns:repeat(2,1fr)}.wg-pro-hero{min-height:680px!important}.wg-pro-section{padding:72px 20px}.wg-pro-gallery{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:600px){.wg-pro-stats,.wg-pro-grid,.wg-pro-steps{grid-template-columns:1fr!important}.wg-pro-stats{margin:0!important;border-radius:0}.wg-pro-stats>div{border-right:0;border-bottom:1px solid #e7ecf2}.wg-pro-title{font-size:43px!important}.wg-pro-gallery{grid-template-columns:1fr!important}}


/* Native editable homepage fix 2026-08 */
.wg-native-stat{padding:26px 18px;text-align:center}.wg-native-stat h3{font-size:28px!important;margin:0;color:#081e39!important}.wg-native-stat p{margin:7px 0 0;color:#697586;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.wg-pro-stats .wp-block-column{border-right:1px solid #e7ecf2}.wg-pro-stats .wp-block-column:last-child{border-right:0}.wg-native-service-row{gap:20px!important;margin-bottom:20px!important}.wg-native-service-row .wp-block-column{display:flex}.wg-native-service-row .wg-pro-service-card{width:100%}.wg-native-icon{width:45px;height:45px;border-radius:10px;background:#eaf8ef;color:#1fa45a;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900;margin:0 0 22px!important}.wg-native-steps{gap:16px!important;margin-top:38px!important}.wg-native-step{height:100%;background:#fff;border-radius:12px;padding:28px!important;border:1px solid #e0e7ef}.wg-step-number{color:#39bd6b!important;font-size:28px!important;font-weight:800;margin:0!important}.wg-native-step h3{color:#081e39!important;font-size:19px!important;margin:12px 0 5px!important}.wg-native-step>p:last-child{color:#718096;font-size:14px}.wg-pro-hero-content{margin-left:auto!important;margin-right:auto!important;width:min(1220px,calc(100% - 48px))!important}.wg-pro-hero-content>*{max-width:720px}.wg-pro-gallery .wp-block-image{aspect-ratio:4/3}.wg-pro-gallery .wp-block-image img{position:absolute;inset:0}.wg-pro-gallery .wp-block-image{position:relative}
@media(max-width:781px){.wg-native-service-row{flex-wrap:wrap!important}.wg-native-service-row>.wp-block-column{flex-basis:calc(50% - 10px)!important}.wg-pro-stats{flex-wrap:wrap!important}.wg-pro-stats>.wp-block-column{flex-basis:50%!important;border-bottom:1px solid #e7ecf2}.wg-native-steps{flex-wrap:wrap!important}.wg-native-steps>.wp-block-column{flex-basis:calc(50% - 8px)!important}}
@media(max-width:520px){.wg-native-service-row>.wp-block-column,.wg-pro-stats>.wp-block-column,.wg-native-steps>.wp-block-column{flex-basis:100%!important}.wg-pro-title{font-size:40px!important}.wg-pro-hero-content{width:calc(100% - 30px)!important}}
