/* SilverGo – wspólny system przycisków (v17). Wzorzec: przyciski hero strony głównej. */
.sg-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:700;font-size:16.5px;line-height:1.2;padding:16px 28px;border-radius:13px;border:0;cursor:pointer;text-decoration:none;white-space:nowrap;transition:transform .15s ease,background-color .15s ease,box-shadow .15s ease,border-color .15s ease}
.sg-btn-primary{background:#ff9b05;color:#241500;box-shadow:0 1px 0 rgba(255,255,255,.45) inset,0 14px 30px -12px rgba(255,155,5,.7)}
.sg-btn-primary:hover{background:#ffa724;transform:translateY(-2px)}
.sg-btn-ghost{color:#fff;border:1.6px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10)}
.sg-btn-ghost:hover{background:rgba(255,255,255,.2);transform:translateY(-2px)}
.sg-btn-outline{color:#3c4e6a;border:1.6px solid rgba(60,78,106,.35);background:transparent}
.sg-btn-outline:hover{border-color:#3c4e6a;background:rgba(60,78,106,.06);transform:translateY(-2px)}
.sg-btn-dark{background:#3c4e6a;color:#fff;box-shadow:0 14px 30px -12px rgba(0,0,0,.5)}
.sg-btn-dark:hover{background:#2b3a50;transform:translateY(-2px)}
.sg-btn-sm{font-size:14px;padding:10px 20px;border-radius:10px}
.sg-btn-block{display:flex;width:100%}
.sg-btn:disabled,.sg-btn[aria-disabled="true"]{opacity:.6;cursor:not-allowed;transform:none}
.sg-btn:focus-visible{outline:3px solid #ff9b05;outline-offset:2px;box-shadow:0 0 0 2px #241500}
@media (max-width:640px){.sg-btn{font-size:15px;padding:14px 22px;white-space:normal;text-align:center}.sg-btn-sm{font-size:13.5px;padding:10px 16px}}

/* cookies */
.sg-ck{position:fixed;left:16px;right:16px;bottom:16px;z-index:9999;display:flex;justify-content:flex-start;pointer-events:none}
.sg-ck-card{pointer-events:auto;max-width:520px;width:100%;background:#1f2a3b;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:20px 22px;box-shadow:0 24px 60px -20px rgba(0,0,0,.6);font-size:14px;line-height:1.55}
.sg-ck-t{font-weight:800;font-size:16px;margin-bottom:6px}
.sg-ck-p{margin:0 0 14px;color:rgba(255,255,255,.8)}
.sg-ck-p a{color:#ff9b05;text-decoration:underline;text-underline-offset:2px}
.sg-ck-set{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;padding:12px 14px;background:rgba(255,255,255,.06);border-radius:10px}
.sg-ck-set label{display:flex;align-items:center;gap:8px;cursor:pointer}
.sg-ck-b{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.sg-ck-link{background:none;border:0;color:rgba(255,255,255,.75);text-decoration:underline;text-underline-offset:2px;cursor:pointer;font-size:14px;padding:6px 4px}
.sg-ck-link:hover{color:#fff}
.sg-ck-card{max-height:calc(100vh - 32px);overflow:auto}
.sg-ck-set[hidden],.sg-ck-b [hidden]{display:none!important}   /* [hidden] przegrywalo z display:flex/inline-flex */
.sg-ck-set input[type=checkbox]{width:16px;height:16px;accent-color:#ff9b05;flex:none}
.sg-ck-b .sg-btn{font-size:14px;padding:10px 16px;border-radius:10px}
@media (max-width:640px){.sg-ck{left:8px;right:8px;bottom:8px}.sg-ck-card{padding:16px;max-height:calc(100vh - 16px)}.sg-ck-b{gap:8px}.sg-ck-b .sg-btn{flex:1 1 calc(50% - 8px);text-align:center}.sg-ck-link{flex:1 1 100%;text-align:left;padding-left:0}}
/* RWD: eksplorator funkcji – etykiety zakładek łamią się na małych ekranach; tabele w kontenerze z przewijaniem */
@media (max-width:640px){.opsv2-tab{white-space:normal!important;text-align:left;max-width:100%}.opsv2-outer{padding-left:16px!important;padding-right:16px!important}}
.sg-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
/* Liczniki (Start „Rezultaty", Produkt „Co SilverGo ma dostarczać", Dlaczego SilverGo „Co się u nas zmieniło"):
   liczba w jednej linii, jednostka słowna (godz., dni, val., d.) jako mniejszy dopisek */
.sg-stat{font-size:clamp(36px,4.2vw,56px);line-height:1;white-space:nowrap;letter-spacing:-0.02em;font-variant-numeric:tabular-nums}
.sg-stat .sg-unit{font-size:.42em;font-weight:700;letter-spacing:-0.01em;margin-left:.22em}
/* Modal wideo (data-sg-video, np. „Obejrzyj wideo" na stronie Produkt) */
.sg-vm{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,25,35,.88);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:sgFade .2s ease}
.sg-vm-panel{position:relative;width:min(1040px,100%);background:#000;border-radius:14px;overflow:hidden;box-shadow:0 32px 80px rgba(0,0,0,.6);border:1px solid rgba(255,255,255,.1)}
.sg-vm-panel video{display:block;width:100%;height:auto;max-height:calc(100vh - 32px);aspect-ratio:16/9;background:#000}
.sg-vm-close{position:absolute;top:10px;right:10px;z-index:2;width:40px;height:40px;border-radius:999px;border:0;background:rgba(255,255,255,.16);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s ease,color .15s ease}
.sg-vm-close:hover,.sg-vm-close:focus-visible{background:#ff9b05;color:#241500;outline:none}
@keyframes sgFade{from{opacity:0}to{opacity:1}}
/* Dymki (i) w cenniku — jeden wspólny element pozycjonowany w oknie (runwiz.js, initPricing) */
.rw-tipfb{position:fixed;z-index:9999;max-width:280px;background:#3c4e6a;color:#fff;font-size:12.5px;line-height:1.45;padding:8px 11px;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.25);pointer-events:none;opacity:0;transition:opacity .12s ease}
.rw-tipfb.on{opacity:1}
/* Trzy liczniki (Produkt „Jakie efekty…") — na telefonie 2 kolumny + trzeci na całą szerokość, od 768 px trzy kolumny */
.sg-stats3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;max-width:64rem;margin-left:auto;margin-right:auto}
.sg-stats3>:last-child:nth-child(odd){grid-column:1/-1}
@media (min-width:768px){.sg-stats3{grid-template-columns:repeat(3,minmax(0,1fr))}.sg-stats3>:last-child:nth-child(odd){grid-column:auto}}
/* Zespół (Dlaczego SilverGo, v20): 4 karty — telefon 1 kolumna, od 640 px 2+2, od 1100 px cztery obok siebie (kontener max-w-7xl) */
.sg-team4{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem}
@media (min-width:640px){.sg-team4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.sg-team4{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Start „Stworzony dla całego zespołu” (v21): trzy karty równej wysokości (h-full), a listy „checków” zaczynają się na tej samej
   wysokości — podtytuł ma zarezerwowane 2 wiersze (text-sm = 1.25rem) od 1024 px, gdy karty stoją obok siebie */
@media (min-width:1024px){.sg-persona-sub{min-height:2.5rem}}
/* ---------- Dostępność, WCAG 2.2 (v24, 19.10.2026): link „przejdź do treści”, widoczny fokus, panel ułatwień (assets/js/silvergo-a11y.js) ---------- */
html{scroll-padding-top:110px}
.sg-skip{position:absolute;left:8px;top:-120px;z-index:10050;background:#ff9b05;color:#241500;font-weight:700;padding:10px 16px;border-radius:10px;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.sg-skip:focus{top:8px;outline:3px solid #241500;outline-offset:2px}
#tresc:focus{outline:none}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible,[role=button]:focus-visible,[role=slider]:focus-visible{outline:3px solid #ff9b05;outline-offset:2px;box-shadow:0 0 0 2px #241500;border-radius:4px}
/* v2: pionowy pasek — kontrast, A+, A− zawsze widoczne, czwarty przycisk otwiera panel */
.sg-a11y-bar{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:10040;display:flex;flex-direction:column;gap:2px;padding:4px 0 4px 4px;background:#3c4e6a;border-radius:12px 0 0 12px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.sg-a11y-ib{width:44px;height:44px;border:0;border-radius:9px 0 0 9px;background:transparent;color:#fff;font:inherit;font-weight:800;font-size:15px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.sg-a11y-ib:hover,.sg-a11y-ib[aria-pressed=true],.sg-a11y-ib[aria-expanded=true]{background:#ff9b05;color:#241500}
.sg-a11y-ib:disabled{opacity:.4;cursor:not-allowed;background:transparent;color:#fff}
.sg-a11y-ib svg{width:26px;height:26px}
@media (max-width:640px){.sg-a11y-ib{width:40px;height:40px;font-size:14px}.sg-a11y-ib svg{width:22px;height:22px}}
.sg-a11y-panel{position:fixed;right:54px;top:50%;transform:translateY(-50%);z-index:10041;width:min(300px,calc(100vw - 72px));max-height:calc(100vh - 24px);overflow:auto;background:#fff;color:#1f2a3b;border:1px solid #d1d5db;border-radius:14px;box-shadow:0 24px 60px -20px rgba(0,0,0,.45);padding:14px 16px 12px;font-size:14px;line-height:1.4}
.sg-a11y-panel[hidden]{display:none}
.sg-a11y-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.sg-a11y-hd h2{font-size:16px;font-weight:800;margin:0;color:#3c4e6a}
.sg-a11y-x{background:none;border:0;font-size:24px;line-height:1;cursor:pointer;color:#3c4e6a;width:36px;height:36px;border-radius:8px;padding:0}
.sg-a11y-x:hover{background:#f3f4f6}
.sg-a11y-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
.sg-a11y-lbl{font-weight:600}
.sg-a11y-font{display:flex;gap:4px}
.sg-a11y-font button{min-width:40px;height:36px;border:1.5px solid #3c4e6a;background:#fff;color:#3c4e6a;border-radius:8px;font:inherit;font-weight:700;cursor:pointer;padding:0 8px}
.sg-a11y-font button[aria-pressed=true]{background:#3c4e6a;color:#fff}
.sg-a11y-font button:disabled{opacity:.4;cursor:not-allowed}
.sg-a11y-tgl{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:42px;margin:0 0 6px;padding:8px 12px;border:1.5px solid #d1d5db;border-radius:10px;background:#fff;color:#1f2a3b;font:inherit;font-weight:600;text-align:left;cursor:pointer}
.sg-a11y-tgl::after{content:'';width:34px;height:18px;border-radius:999px;background:#cbd5e1;flex:none;box-shadow:inset 2px 0 0 2px #fff}
.sg-a11y-tgl[aria-pressed=true]{border-color:#ff9b05}
.sg-a11y-tgl[aria-pressed=true]::after{background:#ff9b05;box-shadow:inset -2px 0 0 2px #fff}
.sg-a11y-reset{width:100%;min-height:40px;margin:4px 0 8px;border:0;border-radius:10px;background:#f3f4f6;color:#3c4e6a;font:inherit;font-weight:700;cursor:pointer}
.sg-a11y-reset:hover{background:#e5e7eb}
.sg-a11y-hint{margin:0;font-size:12px;color:#4b5563}
.sg-a11y-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* rozmiar tekstu: cała strona skaluje się jak przy powiększeniu w przeglądarce (teksty w px też) */
html.a11y-font-1 body{zoom:1.15}
html.a11y-font-2 body{zoom:1.3}
/* podkreślanie linków */
html.a11y-links a{text-decoration:underline!important;text-underline-offset:2px}
/* bez animacji i przejść (wideo zatrzymuje skrypt) */
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
/* wysoki kontrast: czarne tło, żółty tekst, białe ramki; zdjęcia i wideo z treścią bez zmian, wideo w tle przyciemnione 
   v10: elementy tekstowe (span, a, strong…) bez własnego tła — czarne tło wiersza zasłaniało dolne części liter przy ciasnej
   interlinii (h1 1.05); logotypy i ciemne grafiki na przezroczystym tle odwrócone na biało; ciemna ikona (#241500) na żółto. */
html.a11y-contrast,html.a11y-contrast body{background:#000!important;color:#fff!important}
html.a11y-contrast *:not(img):not(video):not(svg):not(svg *):not(iframe):not([style*="clip-path"]):not(.animate-ping){background-color:#000!important;background-image:none!important;color:#ff0!important;border-color:#fff!important;box-shadow:none!important;text-shadow:none!important}
/* ta sama specyficzność co reguła ogólna (łańcuch :not), żeby wygrać kolejnością: elementy tekstowe bez tła */
html.a11y-contrast :where(span,a,strong,em,b,i,u,s,small,sub,sup,abbr,time,code,kbd,mark,cite,q,label):not(img):not(video):not(svg):not(svg *):not(iframe):not([style*="clip-path"]):not(.animate-ping){background-color:transparent!important}
html.a11y-contrast a,html.a11y-contrast button,html.a11y-contrast [role=button]{color:#ff0!important;text-decoration:underline!important}
html.a11y-contrast :where(a:hover,a:focus-visible,button:hover,button:focus-visible,[role=button]:hover):not(img):not(video):not(svg):not(svg *):not(iframe):not([style*="clip-path"]):not(.animate-ping){color:#000!important;background-color:#ff0!important;outline-color:#fff!important}
html.a11y-contrast .sg-btn,html.a11y-contrast input,html.a11y-contrast textarea,html.a11y-contrast select,html.a11y-contrast .sg-a11y-tgl,html.a11y-contrast .sg-a11y-font button{border:2px solid #ff0!important}
html.a11y-contrast input,html.a11y-contrast textarea,html.a11y-contrast select{color:#fff!important}
html.a11y-contrast ::placeholder{color:#ccc!important}
html.a11y-contrast video[autoplay]{opacity:.25}
html.a11y-contrast img{opacity:1}
html.a11y-contrast img[src$=".svg"],html.a11y-contrast img[src*="CS24"],html.a11y-contrast .rw-dm-hd img{filter:brightness(0) invert(1)!important;background:transparent!important}
html.a11y-contrast svg [fill="#241500"]{fill:#ff0!important}
html.a11y-contrast svg [stroke="rgba(255,255,255,0.08)"]{stroke:rgba(255,255,0,.35)!important}
html.a11y-contrast .sg-a11y-tgl::after{background:#666!important}
html.a11y-contrast .sg-a11y-tgl[aria-pressed=true]::after{background:#ff0!important}
html.a11y-contrast .sg-skip:focus{background:#ff0!important;color:#000!important}
html.a11y-contrast .sg-a11y-bar{border:2px solid #ff0!important;border-right:0!important}
html.a11y-contrast :where(.sg-a11y-ib[aria-pressed=true],.sg-a11y-ib[aria-expanded=true]):not(img):not(video):not(svg):not(svg *):not(iframe):not([style*="clip-path"]):not(.animate-ping){background-color:#ff0!important;color:#000!important}
html.a11y-contrast .sg-a11y-ib:disabled{opacity:.45}

/* ===== v13: WCAG 1.4.3 / 1.4.11 — kontrast tekstu (po audycie WAVE, 2026-10-19) =====
   #ff9b05 na białym daje 2,1:1, więc jako kolor TEKSTU na jasnym tle używamy ciemniejszego
   odcienia (#9e5f00 ≥4,5:1 mały tekst, #c27400 ≥3:1 duży tekst), a na granacie #3c4e6a
   jaśniejszego (#ffb347 ≥4,7:1). Na bardzo ciemnych tłach (#1b2939, #2b3a50) #ff9b05 jest OK. */
.sg-or{color:#9e5f00}
.sg-or-lg{color:#c27400}
.sg-or-dk{color:#ffb347}
#site-nav .text-\[\#ff9b05\]{color:#9e5f00}
#site-nav .hover\:text-\[\#ff9b05\]:hover{color:#9e5f00}
.group:hover .text-\[\#3c4e6a\].group-hover\:text-\[\#ff9b05\]{color:#9e5f00}
.group:hover .text-white.group-hover\:text-\[\#ff9b05\]{color:#ffb347}
/* przygaszony biały na granacie: /30–/60 dawały 2,2–4,2:1 → 80 % (≥5,6:1 na #3c4e6a) */
.text-white\/30,.text-white\/40,.text-white\/50,.text-white\/60{color:rgba(255,255,255,.8)}
.hover\:text-white\/60:hover{color:#fff}
/* szarości Tailwind na jasnych tłach (gray-400 = 2,6:1, gray-500 na #f0f4f8 = 4,4:1) */
.text-gray-400{color:#626d7c}
.text-gray-500{color:#5b6677}
/* plakietka „Z SilverGo”: biały na green-600 = 3,2:1 → green-700 (5:1) */
.bg-green-600{background-color:#008236}
/* hover na jasnym tle (kontakt: e-mail/telefon/LinkedIn) */
.text-\[\#3c4e6a\].hover\:text-\[\#ff9b05\]:hover,.text-gray-400.hover\:text-\[\#ff9b05\]:hover{color:#9e5f00}
/* przełącznik PL/LT (tylko paczka dwujęzyczna): aktywny – ciemny tekst na pomarańczu */
#lang-switch a[aria-current="true"]{color:#241500}

/* ===== v14: po WAVE na zywo (19.10.2026): jednostka przy statystyce na granacie, bardzo maly tekst ===== */
.sg-stat[style*="#ff9b05"] .sg-unit{color:#ffb347}   /* "40 godz." — jednostka 15px bold: #ff9b05 na #3c4e6a = 4,0:1 -> 4,7:1 */
.text-\[10px\]{font-size:11px}                       /* WAVE "very small text" (Produkt: etykiety porownania) */
