
/* Advanced Business Services v20 */
:root{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--ink:#e9f0f5;--muted:#b4c4d1;--bg:#0b1721;--white:#162734;--line:#354956;--blue:#64c8f5;--red:#f36d76}
html[data-theme="dark"] body{background:#0b1721!important;color:#e9f0f5!important}
html[data-theme="dark"] .top{background:#10202df5!important;border-color:#2c4656!important}
html[data-theme="dark"] .links,html[data-theme="dark"] .nav-trigger,html[data-theme="dark"] .nav-group>a{color:#dceaf4!important}
html[data-theme="dark"] .hero,html[data-theme="dark"] .detail-hero,html[data-theme="dark"] .reports-hero,html[data-theme="dark"] .page-hero{background:linear-gradient(120deg,#122735,#102d40)!important;border-color:#315064!important}
html[data-theme="dark"] .hero h1,html[data-theme="dark"] .detail-hero h1,html[data-theme="dark"] .reports-hero h1,html[data-theme="dark"] .page-hero h1{color:#f0f7fb!important}
html[data-theme="dark"] .hero p,html[data-theme="dark"] .lead,html[data-theme="dark"] .detail-hero p,html[data-theme="dark"] .reports-hero p,html[data-theme="dark"] .page-hero p{color:#bfd0dc!important}
html[data-theme="dark"] .stats,html[data-theme="dark"] .stat,html[data-theme="dark"] .service,html[data-theme="dark"] .process,html[data-theme="dark"] .dropdown,html[data-theme="dark"] .report-card,html[data-theme="dark"] .reports-empty,html[data-theme="dark"] .client-tile,html[data-theme="dark"] .visual-note,html[data-theme="dark"] .case{background:#172d3b!important;color:#eaf2f8!important;border-color:#355365!important}
html[data-theme="dark"] .band,html[data-theme="dark"] .reports-content,html[data-theme="dark"] .clients-content,html[data-theme="dark"] .foot{background:#10212e!important;border-color:#355365!important}
html[data-theme="dark"] .service:nth-child(1),html[data-theme="dark"] .service:nth-child(2){background:#1b3545!important}
html[data-theme="dark"] .service p,html[data-theme="dark"] .case p,html[data-theme="dark"] .stat p,html[data-theme="dark"] .step span,html[data-theme="dark"] .client-name,html[data-theme="dark"] .contact-details,html[data-theme="dark"] .foot,html[data-theme="dark"] .client-legal-note{color:#c1ced8!important}
html[data-theme="dark"] .dropdown a{color:#e4f0f6!important}
html[data-theme="dark"] .dropdown a:hover{background:#25485c!important}
html[data-theme="dark"] .mobile-toggle,html[data-theme="dark"] .langs button{color:#e7f0f6!important;background:#1a3343!important}
html[data-theme="dark"] .langs .active{background:#257da6!important;color:#fff!important}
html[data-theme="dark"] .logo small{color:#a8becd!important}
html[data-theme="dark"] .map-art{filter:brightness(.82) saturate(.9)}
html[data-theme="dark"] .about{background:linear-gradient(125deg,#102a38,#16455b)!important}
html[data-theme="dark"] :is(.client-tile,.report-card,.service,.process,.case) :is(h2,h3,strong){color:#eaf2f8!important}
@media(max-width:950px){html[data-theme="dark"] .links.mobile-open{background:#10202d!important}html[data-theme="dark"] .dropdown{background:#182f3e!important}}
/* Arrow only appears on the selected category page; never on homepage or other categories. */
.nav-trigger .chevron{display:none!important}
html[data-page="services"] .nav-group[data-menu="services"] .chevron,
html[data-page="trainings"] .nav-group[data-menu="trainings"] .chevron,
html[data-page="projects"] .nav-group[data-menu="experience"] .chevron{display:inline-block!important}
.nav-group[data-current="true"]>.nav-trigger{color:var(--blue)!important}
/* Compact accessible theme switch, next to PL/EN. */
.header-controls{display:flex;align-items:center;gap:9px;flex-shrink:0}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;min-width:39px;padding:0 10px;border:1px solid var(--line);border-radius:20px;background:var(--white);color:var(--ink);font-size:16px;font-weight:700}
.theme-toggle:hover{border-color:var(--blue)}
.theme-toggle:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
html[data-theme="dark"] .theme-toggle{background:#1a3343!important;color:#e8f5ff!important}
@media(max-width:600px){.header-controls{gap:4px}.theme-toggle{padding:0 8px;min-width:33px}}
/* Listed reports (PDF buttons appear only when documents have been uploaded) */
.publications-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 35px}
.publication-card{border:1px solid var(--line);border-radius:12px;padding:30px;background:var(--white);box-shadow:0 8px 20px #1337500a}
.publication-card h2{font-size:22px;letter-spacing:-.02em;line-height:1.3;margin:12px 0}
.publication-card p{font-size:14px;line-height:1.65;color:var(--muted)}
.publication-tag{font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--blue)}
html[data-theme="dark"] .publication-card{background:#172d3b!important}
@media(max-width:700px){.publications-grid{grid-template-columns:1fr}}

/* v21: entire-page dark treatment, across all templates */
html[data-theme="dark"] body, html[data-theme="dark"] main, html[data-theme="dark"] main > section,
html[data-theme="dark"] main > div, html[data-theme="dark"] .page-main,
html[data-theme="dark"] .category-index, html[data-theme="dark"] .topic,
html[data-theme="dark"] .clients-content, html[data-theme="dark"] .reports-content,
html[data-theme="dark"] section:not(.hero):not(.about):not(.page-hero):not(.reports-hero),
html[data-theme="dark"] .band,html[data-theme="dark"] .stats,html[data-theme="dark"] .foot {
 background:#0c1a25!important;color:#e8f1f7!important;border-color:#324b5c!important;
}
html[data-theme="dark"] .hero, html[data-theme="dark"] .category-hero,
html[data-theme="dark"] .page-hero,html[data-theme="dark"] .detail-hero,
html[data-theme="dark"] .reports-hero, html[data-theme="dark"] .about{
 background:linear-gradient(120deg,#132b3a,#0d2431)!important;color:#eaf4fa!important;
}
html[data-theme="dark"] :is(.category-index,.topic,.page-main,.clients-content,.reports-content) :is(h1,h2,h3,h4,p,li,span,strong),
html[data-theme="dark"] main :is(h1,h2,h3,h4){color:#eaf3f8!important}
html[data-theme="dark"] main :is(.eyebrow,.topic-num,.publication-tag){color:#82d3f7!important}
html[data-theme="dark"] main :is(.topic .offer,.projects-topic .offer,.offer,.page-card,.content-card,.contact-card,
 .client-tile,.publication-card,.report-card,.reports-empty,.case,.stat,.service,.process,.visual-note,
 .detail-card,.category-link,.category-index a,.topic-inner>div,.topic-inner>aside){
 background:#172e3c!important;color:#edf4f9!important;border-color:#355466!important;
}
html[data-theme="dark"] main :is(.topic .offer,.page-card,.content-card,.client-tile,.publication-card,.report-card,.case,.stat,.service,.process) :is(p,li,span){color:#cbdce6!important}
html[data-theme="dark"] main a:not(.btn){color:inherit}
html[data-theme="dark"] .dropdown{background:#172c3a!important;border-color:#38596b!important}
html[data-theme="dark"] .dropdown a{color:#e9f3fb!important}
html[data-theme="dark"] .dropdown a:hover{background:#244a61!important}
html[data-theme="dark"] .client-tile {background:#182f3e!important}
html[data-theme="dark"] .client-tile img {background:#697581!important;border-radius:9px;padding:9px;transition:background .18s ease,filter .18s ease}
html[data-theme="dark"] .client-tile:hover img,html[data-theme="dark"] .client-tile:focus-within img {background:#fff!important}
/* Two independent yellow icons on a shared dark area */
.theme-pair{display:inline-flex;align-items:center;gap:4px;background:#101d29;border:1px solid #354c5b;padding:3px;border-radius:22px}
.theme-choice{display:inline-flex;align-items:center;justify-content:center;width:33px;height:30px;border-radius:17px;border:1px solid transparent;background:transparent;color:#ffcf34;font-size:20px;line-height:1;cursor:pointer}
.theme-choice:hover,.theme-choice:focus-visible{background:#344755;outline:none}
.theme-choice[aria-pressed="true"]{background:#3c5568;border-color:#f2c748;box-shadow:inset 0 0 0 1px #f2c74855}
@media(max-width:600px){.theme-choice{width:29px;height:28px;font-size:18px}.theme-pair{gap:1px;padding:2px}}

/* v22: customer names without third-party marks */
.client-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.client-tile.client-text-only{min-height:82px;display:flex;align-items:center;justify-content:flex-start;padding:22px 24px}
.client-tile.client-text-only .client-name{font-weight:600;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:900px){.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.client-grid{grid-template-columns:1fr}}

/* v25 privacy navigation link */
.privacy-footer-link{color:inherit!important;font-weight:600;text-decoration:underline;text-underline-offset:3px}.privacy-contact-note a{color:var(--blue);text-decoration:underline}
