html[data-theme=dark]{color-scheme:dark}
html[data-theme=light]{color-scheme:light}
.www-theme-toggle{flex-shrink:0;min-height:44px;padding:9px 12px;border:1px solid #667680;border-radius:6px;color:#fff;background:transparent;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}
.www-theme-toggle:hover{border-color:#fa9639;background:#fa96391a}
.www-nav{gap:20px}.www-menu{gap:18px}
@media(max-width:1200px){.www-nav{flex-wrap:wrap}.www-menu{order:3;width:100%;justify-content:center}.www-theme-toggle{margin-left:auto}}
@media(max-width:1000px){.www-nav{flex-wrap:nowrap;gap:12px}.www-menu{width:auto}.www-toggle{margin-left:auto}.www-theme-toggle{margin-left:0}}
@media(max-width:420px){.www-logo{width:112px}.www-nav{padding-inline:12px;gap:8px}.www-toggle{padding:9px}.www-theme-toggle{padding:9px 8px;font-size:12px}}
html[data-theme=light] body{background:#f7f9fa;color:#18252e}
html[data-theme=light] .www-header{background:rgba(255,255,255,.97);border-color:#d4dee4}
html[data-theme=light] .www-logo{background:#14212a;border-radius:5px;padding:4px 9px}
html[data-theme=light] :is(.www-toggle,.www-theme-toggle){color:#18252e;border-color:#8b9ca6}
html[data-theme=light] .www-login{color:#455b68}
html[data-theme=light] .www-footer{background:#eaf0f3}
html[data-theme=light] :is(.www-footer p,.www-copyright,.www-hero p,.www-details){color:#435965}
html[data-theme=light] .www-copyright{border-color:#cbd6de}
html[data-theme=light] :is(.www-project,.www-filter input,.www-filter select){background:#fff;color:#18252e;border-color:#c5d1d9}
html[data-theme=light] .www-project:hover{border-color:#c1630c;box-shadow:0 8px 24px #18252e12}
html[data-theme=light] .www-meta{color:#a84c00}
html[data-theme=light] .www-menu a:hover,html[data-theme=light] .www-menu a[aria-current=page]{color:#a84c00}
@media(max-width:1000px){html[data-theme=light] .www-menu{background:#fff;border-bottom:1px solid #d4dee4}}
/* Existing page sections retain their geometry and orange brand accents. */
html[data-theme=light] :is(.kpb-hero,.kpb-about-hero,.kpb-offer-hero,.kpb-contact-hero,.kpb-quote-hero,.kpb-privacy-hero){background:#edf2f5!important;color:#18252e!important}
html[data-theme=light] .kpb-hero{background:linear-gradient(90deg,#f7f9fafc 0%,#f7f9faf5 45%,#f7f9facc 100%),url('https://kpbstal.com/wp-content/uploads/2026/08/KPBStal_tlo_naglowka.webp') center right/cover!important}
html[data-theme=light] .kpb-hero::after{background:none}
html[data-theme=light] :is(.kpb-hero,.kpb-about-hero,.kpb-offer-hero,.kpb-contact-hero,.kpb-quote-hero,.kpb-privacy-hero) :is(h1,h2,p,.kpb-hero__content){color:#18252e!important}
html[data-theme=light] :is(.kpb-about-hero__sublead,.kpb-privacy-hero__date){color:#435965!important;border-color:#c5d1d9}
html[data-theme=light] :is(.kpb-section--dark,.kpb-about-process,.kpb-offer-products__box,.kpb-privacy-rights){background:#eaf0f3!important;color:#18252e!important}
html[data-theme=light] :is(.kpb-section--dark,.kpb-about-process,.kpb-offer-products__box,.kpb-privacy-rights) :is(h2,h3,p,li,a:not([class*=button])){color:#283e4b!important}
html[data-theme=light] .kpb-button--outline{background:#ffffffb3;color:#18252e;border-color:#7a909e}
html[data-theme=light] .kpb-button--outline:hover{background:#fff;border-color:#18252e}
html[data-theme=light] [class*=eyebrow],html[data-theme=light] :is(.kpb-step__number,.kpb-about-step__number){color:#a84c00!important}
/* Forminator's light form surfaces remain readable in both page modes. */
.kpb-quote-page .forminator-ui{color-scheme:light}
html[data-theme=light] .www-main :is(h1,h2,h3,h4){color:#18252e!important}
html[data-theme=light] :is(.kpb-quote-hero__service,.kpb-offer-hero__service){color:#435965!important;border-color:#b7c8d2!important}
