/* 4digitalhub.com — komponenty silnika katalogu firm IT (na bazie lexhelper.pl). Ładowane RAZEM z /assets/css/site.css:
 * nagłówek, stopka, typografia i reguły globalne pochodzą z site.css — tu tylko komponenty. */
:root {
  --granat: #0B1020;
  --granat-2: #1B2340;
  --niebieski: #2F5BFF;
  --niebieski-2: #5B7FFF;
  --blekit: #EAF0FF;
  --tlo: #F4F6FB;
  --tekst: #1F2638;
  --szary: #566079;
  --linia: #E3E6EF;
  --bialy: #fff;
  --cien: 0 1px 2px rgba(11, 16, 32, .04);
  --cien-mocny: 0 24px 50px -24px rgba(11, 16, 32, .35);
  --r: 24px;
  --r-maly: 14px;
  --szer: 1240px;
  --font-naglowki: 'Bricolage Grotesque', Geist, system-ui, sans-serif;
  --font-tekst: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
}

/* reguły globalne (body, a, h1–h4, p, ul) pochodzą z site.css 4digitalhub */
img { height: auto; }
.kontener { width: 100%; max-width: var(--szer); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pomin { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--granat); color: #fff; padding: 10px 16px; border-radius: 8px; }
.pomin:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--niebieski-2); outline-offset: 2px; border-radius: 6px; }
.ikona { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --- przyciski -------------------------------------------------------------- */
.przycisk {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px;
  font-weight: 600; font-size: 15px; line-height: 1; border: 2px solid transparent; transition: .2s ease;
  white-space: nowrap;
}
.przycisk .ikona { width: 18px; height: 18px; stroke-width: 2.2; }
.przycisk--glowny { background: var(--niebieski); color: #fff; box-shadow: 0 8px 20px rgba(47, 91, 255, .35); }
.przycisk--glowny:hover { background: #12B886; color: #fff; transform: translateY(-1px); }
.przycisk--jasny { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.przycisk--jasny:hover { background: #fff; color: var(--granat); }
.przycisk--bialy { background: #fff; color: var(--granat); }
.przycisk--bialy:hover { background: var(--blekit); color: var(--granat); }
.link-strzalka { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.link-strzalka .ikona { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s; }
.link-strzalka:hover .ikona { transform: translateX(3px); }

/* --- hero: animowany proces (4 kroki) ------------------------------------------ */
.atuty { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: #E3EAFF; font-size: 14.5px; font-weight: 600; }
.atuty li { display: inline-flex; align-items: center; gap: 7px; }
.atuty .ikona { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(62,240,180, .18); color: #3EF0B4; stroke-width: 3; }
/* widżet procesu */
.proces { position: relative; perspective: 1400px; }
.proces-okno {
  position: relative; z-index: 1; background: #fff; border-radius: 26px; overflow: hidden; color: var(--tekst);
  box-shadow: 0 40px 90px rgba(11,16,32, .55), 0 0 0 1px rgba(255, 255, 255, .6), 0 0 80px rgba(91, 127, 255, .35);
  transform: rotateY(-5deg) rotateX(2deg); transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.proces:hover .proces-okno { transform: none; }
.proces-pasek { display: flex; align-items: center; gap: 6px; padding: 11px 16px; background: linear-gradient(180deg, #F7F8FB, #EEF2FB); border-bottom: 1px solid var(--linia); }
.proces-pasek > span { width: 10px; height: 10px; border-radius: 50%; }
.proces-pasek > span:nth-child(1) { background: #FF6B6B; } .proces-pasek > span:nth-child(2) { background: #FFC24B; } .proces-pasek > span:nth-child(3) { background: #3EF0B4; }
.proces-pasek b { margin-left: 10px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--szary); padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--linia); }
.proces-pasek em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0E9F73; }
.proces-pasek em i { width: 7px; height: 7px; border-radius: 50%; background: #0E9F73; animation: puls 1.6s ease-out infinite; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(14,159,115, .5); } 100% { box-shadow: 0 0 0 9px rgba(14,159,115, 0); } }

/* kroki 1–4 wewnątrz okna */
.proces-kroki { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 18px 18px 14px; list-style: none; border-bottom: 1px solid var(--linia); background: #FBFCFF; }
.proces-kroki .tor { position: absolute; left: calc(18px + 12.5%); right: calc(18px + 12.5%); top: 36px; height: 4px; border-radius: 4px; background: #E5E8F4; pointer-events: none; }
.proces-kroki .tor i { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--postep-krokow, 0)); background: linear-gradient(90deg, #12B886, var(--niebieski)); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.proces-kroki button { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 4px; border: 0; background: none; font: inherit; cursor: pointer; color: var(--szary); }
.proces-kroki .nr {
  position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid #D8DCEB; color: #9098B4; font-weight: 800; font-size: 15px; transition: .35s cubic-bezier(.2, .8, .2, 1);
}
.proces-kroki .nr .ikona { position: absolute; width: 18px; height: 18px; stroke-width: 3; opacity: 0; transform: scale(.4); transition: .3s; }
.proces-kroki .nazwa-kroku { font-size: 12.5px; font-weight: 700; line-height: 1.2; text-align: center; transition: color .3s; }
.proces-kroki button:hover .nr { border-color: var(--niebieski-2); color: var(--niebieski); }
.proces-kroki button.aktywny .nr {
  background: linear-gradient(135deg, var(--niebieski-2), var(--niebieski)); border-color: transparent; color: #fff; transform: scale(1.12);
  box-shadow: 0 8px 20px rgba(47, 91, 255, .45); animation: pierscien 1.8s ease-out infinite;
}
@keyframes pierscien { 0% { box-shadow: 0 8px 20px rgba(47, 91, 255, .45), 0 0 0 0 rgba(47, 91, 255, .35); } 100% { box-shadow: 0 8px 20px rgba(47, 91, 255, .45), 0 0 0 12px rgba(47, 91, 255, 0); } }
.proces-kroki button.aktywny .nazwa-kroku { color: var(--granat); }
.proces-kroki button.zrobiony .nr { background: #12B886; border-color: #12B886; color: transparent; }
.proces-kroki button.zrobiony .nr .ikona { opacity: 1; transform: none; color: #fff; }
.proces-kroki button.zrobiony .nazwa-kroku { color: #0B7F5C; }

/* ekran scen */
.proces-ekran { position: relative; height: 318px; background: radial-gradient(420px 220px at 100% 0, rgba(91, 127, 255, .08), transparent 70%); }
.scena { position: absolute; inset: 0; padding: 20px 24px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transition: opacity .45s, transform .5s cubic-bezier(.2, .8, .2, 1), visibility .45s; }
.scena.aktywna { opacity: 1; visibility: visible; transform: none; }
.scena-tytul { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 17px; font-weight: 800; color: var(--granat); letter-spacing: -.01em; }
.scena-tytul span { white-space: nowrap; flex: none; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--niebieski); background: var(--blekit); }
.proces-stopka { height: 4px; background: #EEF2FB; }
.proces-stopka .pasek-postepu { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--niebieski-2), #3EF0B4); }
.proces-stopka .pasek-postepu.biegnie { animation: postep-kroku var(--czas, 4s) linear forwards; }
.proces.pauza .pasek-postepu { animation-play-state: paused; }
@keyframes postep-kroku { to { transform: scaleX(1); } }

/* 1: formularz */
.pole { display: flex; flex-direction: column; gap: 1px; padding: 7px 13px; border: 1.5px solid var(--linia); border-radius: 12px; margin-bottom: 8px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.pola-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.pole span { font-size: 11px; font-weight: 600; color: var(--szary); }
.pole b { min-height: 20px; font-size: 14.5px; font-weight: 700; color: var(--granat); white-space: nowrap; overflow: hidden; }
.pole.pisze { border-color: var(--niebieski); box-shadow: 0 0 0 4px rgba(47, 91, 255, .12); }
.pole.pisze b::after { content: ''; display: inline-block; width: 2px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--niebieski); animation: kursor .8s steps(1) infinite; }
@keyframes kursor { 50% { opacity: 0; } }
.wyslij { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, var(--niebieski-2), var(--niebieski)); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 8px 18px rgba(47, 91, 255, .3); transition: background .3s; }
.wyslij .ikona { width: 0; opacity: 0; transition: .3s; stroke-width: 3; }
.wyslij.klik { animation: klik .5s ease; background: linear-gradient(135deg, #3EF0B4, #0E9F73); box-shadow: 0 8px 18px rgba(14,159,115, .35); }
.wyslij.klik .ikona { width: 18px; opacity: 1; }
@keyframes klik { 40% { transform: scale(.95); } }

/* 2: dopasowanie */
.mapa-dopasowania { position: relative; height: 178px; margin: 0 -6px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #1E45E0, #2F5BFF); }
.mapa-dopasowania::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px) 0 0 / 14px 14px; }
.linie { position: absolute; inset: 0; width: 100%; height: 100%; }
.linie path { fill: none; stroke: #9FF5D6; stroke-width: 2; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; opacity: 0; }
.scena-2.aktywna .linie path { animation: linia .5s forwards, plyn 1s linear infinite; }
.scena-2.aktywna .linie path:nth-child(1) { animation-delay: .6s, .6s; } .scena-2.aktywna .linie path:nth-child(2) { animation-delay: .85s, .85s; } .scena-2.aktywna .linie path:nth-child(3) { animation-delay: 1.1s, 1.1s; } .scena-2.aktywna .linie path:nth-child(4) { animation-delay: 1.35s, 1.35s; } .scena-2.aktywna .linie path:nth-child(5) { animation-delay: 1.6s, 1.6s; }
@keyframes linia { to { opacity: .8; } }
@keyframes plyn { to { stroke-dashoffset: -12; } }
.radar { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); z-index: 2; }
.radar img { width: 38px; height: 38px; }
.radar .fala { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); opacity: 0; }
.scena-2.aktywna .fala { animation: fala 2.2s ease-out infinite; }
.scena-2.aktywna .fala:nth-child(2) { animation-delay: .7s; } .scena-2.aktywna .fala:nth-child(3) { animation-delay: 1.4s; }
@keyframes fala { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }
.kancelaria { position: absolute; z-index: 2; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--niebieski); opacity: 0; transform: scale(.3); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.kancelaria > .ikona { width: 20px; height: 20px; }
.kancelaria i { position: absolute; right: -6px; top: -6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #12B886; color: #fff; opacity: 0; transform: scale(0); border: 2px solid #fff; }
.kancelaria i .ikona { width: 10px; height: 10px; stroke-width: 4; }
.k1 { left: 17.5%; top: 20%; } .k2 { left: 82.5%; top: 18%; } .k3 { left: 13%; top: 75%; } .k4 { left: 87%; top: 76%; } .k5 { left: 50%; top: 13%; }
.scena-2.aktywna .kancelaria { animation: wyskok .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.scena-2.aktywna .kancelaria i { animation: wyskok .4s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.scena-2.aktywna .k1 { animation-delay: .6s; } .scena-2.aktywna .k2 { animation-delay: .85s; } .scena-2.aktywna .k3 { animation-delay: 1.1s; } .scena-2.aktywna .k4 { animation-delay: 1.35s; } .scena-2.aktywna .k5 { animation-delay: 1.6s; }
.scena-2.aktywna .k1 i { animation-delay: 2.1s; } .scena-2.aktywna .k2 i { animation-delay: 2.25s; } .scena-2.aktywna .k3 i { animation-delay: 2.4s; } .scena-2.aktywna .k4 i { animation-delay: 2.55s; } .scena-2.aktywna .k5 i { animation-delay: 2.7s; }
@keyframes wyskok { to { opacity: 1; transform: scale(1); } }
.scena-podpis { margin-top: 12px; text-align: center; font-size: 13px; color: var(--szary); opacity: 0; }
.scena-podpis b { display: block; font-size: 15.5px; color: var(--granat); }
.scena-2.aktywna .scena-podpis { animation: wjazd .5s .8s forwards; }

/* 3: oferty */
.oferta { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; border: 1.5px solid var(--linia); margin-bottom: 9px; background: #fff; opacity: 0; transform: translateX(40px); }
.awatar { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.a1 { background: linear-gradient(135deg, #A78BFA, #6D28D9); } .a2 { background: linear-gradient(135deg, var(--niebieski-2), var(--granat)); } .a3 { background: linear-gradient(135deg, #3EF0B4, #193285); }
.oferta .opis { display: flex; flex-direction: column; line-height: 1.3; }
.oferta .opis b { font-size: 14.5px; color: var(--granat); }
.oferta .opis i { font-style: normal; font-size: 12.5px; color: var(--szary); }
.gwiazdki { margin-left: auto; color: #F5B301; letter-spacing: 1px; font-size: 14px; white-space: nowrap; }
.gwiazdki em { font-style: normal; color: #E0E6F5; }
.scena-3.aktywna .oferta { animation: wjazd .55s cubic-bezier(.2, .8, .2, 1) forwards; }
.scena-3.aktywna .o2 { animation: wjazd .55s .45s cubic-bezier(.2, .8, .2, 1) forwards, wyroznij .6s 1.9s forwards; }
.scena-3.aktywna .o3 { animation-delay: .9s; }
@keyframes wjazd { to { opacity: 1; transform: none; } }
@keyframes wyroznij { to { opacity: 1; transform: scale(1.03); border-color: var(--niebieski); box-shadow: 0 10px 24px rgba(47, 91, 255, .2), 0 0 0 4px rgba(47, 91, 255, .1); } }

/* 4: wybór */
.sukces { display: flex; flex-direction: column; align-items: center; justify-content: center; height: calc(100% - 44px); text-align: center; }
.oferta.wybrana { width: 100%; max-width: 360px; margin: 0; text-align: left; border-color: #12B886; transform: none; box-shadow: 0 0 0 4px rgba(18, 184, 134, .15), var(--cien-mocny); }
.scena-4.aktywna .oferta.wybrana { animation: wybor .6s cubic-bezier(.3, 1.5, .5, 1) forwards; }
@keyframes wybor { 0% { opacity: 0; transform: scale(.8); } 100% { opacity: 1; transform: scale(1.04); } }
.znaczek-ok { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #12B886; color: #fff; }
.znaczek-ok .ikona { width: 18px; height: 18px; stroke-width: 3; }
.wybor { margin-top: 20px; font-size: 15px; color: var(--szary); opacity: 0; }
.wybor b { display: block; font-size: 22px; font-weight: 800; color: var(--granat); letter-spacing: -.02em; margin-bottom: 2px; }
.scena-4.aktywna .wybor { animation: wjazd .5s .5s forwards; }
.konfetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.konfetti i { position: absolute; top: 48%; left: 50%; width: 8px; height: 12px; border-radius: 2px; opacity: 0; }
.konfetti i:nth-child(3n) { background: #2F5BFF; } .konfetti i:nth-child(3n+1) { background: #12B886; } .konfetti i:nth-child(3n+2) { background: #FFC24B; }
.scena-4.aktywna .konfetti i { animation: konfetti 1.4s ease-out forwards; }
.scena-4.aktywna .konfetti i:nth-child(1) { --x: -170px; --y: -120px; --r: 200deg; animation-delay: 0.350s; }
.scena-4.aktywna .konfetti i:nth-child(2) { --x: 150px; --y: -130px; --r: -160deg; animation-delay: 0.375s; }
.scena-4.aktywna .konfetti i:nth-child(3) { --x: -120px; --y: -150px; --r: 90deg; animation-delay: 0.400s; }
.scena-4.aktywna .konfetti i:nth-child(4) { --x: 190px; --y: -60px; --r: 240deg; animation-delay: 0.425s; }
.scena-4.aktywna .konfetti i:nth-child(5) { --x: -200px; --y: -40px; --r: -120deg; animation-delay: 0.450s; }
.scena-4.aktywna .konfetti i:nth-child(6) { --x: 110px; --y: -160px; --r: 60deg; animation-delay: 0.475s; }
.scena-4.aktywna .konfetti i:nth-child(7) { --x: -60px; --y: -170px; --r: 300deg; animation-delay: 0.500s; }
.scena-4.aktywna .konfetti i:nth-child(8) { --x: 60px; --y: -150px; --r: -80deg; animation-delay: 0.525s; }
.scena-4.aktywna .konfetti i:nth-child(9) { --x: -150px; --y: 40px; --r: 140deg; animation-delay: 0.550s; }
.scena-4.aktywna .konfetti i:nth-child(10) { --x: 170px; --y: 30px; --r: -200deg; animation-delay: 0.575s; }
.scena-4.aktywna .konfetti i:nth-child(11) { --x: -90px; --y: 70px; --r: 260deg; animation-delay: 0.600s; }
.scena-4.aktywna .konfetti i:nth-child(12) { --x: 100px; --y: 80px; --r: -40deg; animation-delay: 0.625s; }
.scena-4.aktywna .konfetti i:nth-child(13) { --x: 0px; --y: -180px; --r: 180deg; animation-delay: 0.650s; }
.scena-4.aktywna .konfetti i:nth-child(14) { --x: -230px; --y: -100px; --r: 320deg; animation-delay: 0.675s; }
@keyframes konfetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }

/* pływające plakietki przy oknie */
.proces-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: #fff; color: var(--granat); font-size: 13px; font-weight: 700; box-shadow: var(--cien-mocny); animation: unos 6s ease-in-out infinite;
}
.proces-chip .ikona { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--blekit); color: var(--niebieski); }
.chip-1 { left: -30px; bottom: -24px; }
.chip-2 { right: -18px; bottom: -24px; animation-delay: -3s; }
.chip-2 .ikona { background: #DDFBEF; color: #0E9F73; }

.liczby { position: relative; z-index: 2; margin-top: -48px; }
.liczby ul {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 22px;
  box-shadow: var(--cien-mocny); border: 1px solid var(--linia); overflow: hidden;
}
.liczby li { padding: 26px 28px; display: flex; align-items: center; gap: 16px; }
.liczby li + li { border-left: 1px solid var(--linia); }
.liczby .ikona-tlo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blekit); color: var(--niebieski); flex: none; }
.liczby strong { display: block; font-size: 26px; font-weight: 800; color: var(--granat); line-height: 1.1; letter-spacing: -.02em; }
.liczby span { font-size: 13.5px; color: var(--szary); line-height: 1.35; display: block; }
.liczby strong span { display: inline; font: inherit; color: inherit; }

/* --- sekcje --------------------------------------------------------------------- */
.sekcja { padding: 96px 0; }
.sekcja--tlo { background: var(--tlo); }
.sekcja--ciemna { background: linear-gradient(160deg, #0B1020, #1B2340); color: #fff; }
.sekcja--ciemna h2, .sekcja--ciemna h3 { color: #fff; }
.naglowek-sekcji { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.naglowek-sekcji .nad { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--niebieski); margin-bottom: 12px; }
.sekcja--ciemna .nad { color: #9FF5D6; }
.naglowek-sekcji h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; max-width: 760px; }
.naglowek-sekcji p { color: var(--szary); font-size: 17px; max-width: 640px; margin-top: 14px; }
.sekcja--ciemna .naglowek-sekcji p { color: #C9D3EC; }

/* --- animacje i interakcje ---------------------------------------------------- */
.postep { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--postep, 0)); background: linear-gradient(90deg, var(--niebieski-2), #3EF0B4); pointer-events: none; }
.js .pojaw { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--opoznienie, 0s); }
.js .pojaw.widoczne { opacity: 1; transform: none; }

.plama { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.plama--1 { width: 420px; height: 420px; right: 8%; top: -120px; background: #3EF0B4; animation: dryf 14s ease-in-out infinite alternate; }
.plama--2 { width: 360px; height: 360px; left: -100px; bottom: -140px; background: #3EF0B4; opacity: .25; animation: dryf 18s ease-in-out infinite alternate-reverse; }
@keyframes dryf { to { transform: translate(-60px, 50px) scale(1.15); } }
.plakietka { animation: unos 6s ease-in-out infinite; }
.plakietka--2 { animation-delay: -3s; }
@keyframes unos { 50% { transform: translateY(-10px); } }
@keyframes polysk-tekstu { 50% { background-position: 100% 0; } }

/* reflektor za kursorem na kartach */
.przewodnik { overflow: hidden; isolation: isolate; }
.przewodnik::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 91, 255, .12), transparent 70%);
}
.przewodnik:hover::before { opacity: 1; }
.przewodnik::after { transition: color .3s, transform .4s; }
.przewodnik:hover::after { color: #CED8FA; transform: translateY(-3px); }
.liczby li { transition: background .3s; }
.liczby li:hover { background: var(--tlo); }
.liczby li:hover .ikona-tlo { background: var(--niebieski); color: #fff; }
.liczby .ikona-tlo { transition: .3s; }
@keyframes gradient { 50% { background-position: 100% 100%; } }
.karuzela {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.karuzela::-webkit-scrollbar { display: none; }
.js .przewodnik.pojaw.widoczne:hover { transform: translateY(-4px); }
.karuzela { cursor: grab; }
.karuzela.ciagniecie { cursor: grabbing; scroll-snap-type: none; }
.karuzela.ciagniecie a { pointer-events: none; }
.kropki { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.kropki button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .3); cursor: pointer; transition: .3s; }
.kropki button.aktywna { width: 28px; background: #fff; }
.do-gory {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--niebieski); color: #fff; box-shadow: 0 10px 24px rgba(47, 91, 255, .4);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s;
}
.do-gory .ikona { transform: rotate(180deg); stroke-width: 2.4; }
.do-gory.widoczny { opacity: 1; visibility: visible; transform: none; }
.do-gory:hover { background: var(--granat); color: #fff; }

/* --- responsywność ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .proces { max-width: 560px; }
  .chip-1 { left: -6px; } .chip-2 { right: 12px; }
  .liczby ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .liczby li:nth-child(3) { border-left: 0; }
  .liczby li:nth-child(n+3) { border-top: 1px solid var(--linia); }
  .karuzela { grid-auto-columns: calc((100% - 20px) / 2.2); }
}
@media (max-width: 640px) {
  .kontener { padding: 0 18px; }
  .proces-ekran { height: 332px; }
  .scena { padding: 18px 16px; }
  .proces-kroki { padding: 14px 8px 12px; }
  .proces-kroki .tor { left: calc(8px + 12.5%); right: calc(8px + 12.5%); top: 31px; }
  .proces-kroki .nr { width: 34px; height: 34px; font-size: 13px; }
  .proces-kroki .nazwa-kroku { font-size: 11px; }
  .scena-tytul { font-size: 15px; }
  .proces-okno { transform: none; }
  .plakietka { font-size: 12px; padding: 10px 12px; }
  .plakietka--1 { left: -6px; bottom: -30px; }
  .plakietka--2 { right: -6px; top: -26px; }
  .plakietka .ikona-tlo { width: 34px; height: 34px; }
  .liczby li { padding: 18px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .liczby strong { font-size: 22px; }
  .sekcja { padding: 72px 0; }
  .naglowek-sekcji { display: block; }
  .naglowek-sekcji .link-strzalka { margin-top: 18px; }
  .karuzela { grid-auto-columns: 82%; }
  .podtytul h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .pojaw { opacity: 1; transform: none; }
}
/* --- kalendarz (kalendarz.js): ostylowany wybór miesiąca / daty zamiast natywnego okienka --- */
.kal { position: relative; display: block; min-width: 0; }
.kal > input { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0 !important; pointer-events: none; padding: 0 !important; margin: 0 !important; border: 0 !important; }
.kal-pole {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1.5px solid var(--linia); border-radius: 12px; background: #fff;
  font: inherit; font-size: 15px; line-height: 1.5; color: var(--tekst); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; margin: 0;
}
.kal-pole:hover { border-color: #CCD3E7; }
.kal-pole:focus-visible, .kal-pole.otwarte { outline: none; border-color: var(--niebieski); box-shadow: 0 0 0 4px rgba(47, 91, 255, .14); }
.kal-pole:disabled { background: var(--tlo); color: var(--szary); cursor: not-allowed; }
.kal-pole.pusty .kal-tekst { color: #8D94AA; }
.kal-tekst { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kal-ik { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--blekit); color: var(--niebieski); margin: -4px 0 -4px -4px; }
.kal-ik svg { width: 18px; height: 18px; }
.kal-strz { flex: none; display: grid; color: var(--szary); transition: transform .2s; }
.kal-strz svg { width: 18px; height: 18px; }
.kal-pole.otwarte .kal-strz { transform: rotate(180deg); }
.blad .kal-pole { border-color: #DC2626; }

.kal-okno {
  position: fixed; z-index: 1000; width: 316px; max-width: calc(100vw - 24px); padding: 14px; border-radius: 18px; background: #fff;
  border: 1px solid var(--linia); box-shadow: var(--cien-mocny); font-family: var(--font-tekst); color: var(--tekst);
  animation: kal-wejscie .16s ease-out;
}
@keyframes kal-wejscie { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.kal-okno button { font-family: inherit; line-height: 1.2; margin: 0; }
.kal-glowa { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.kal-nav { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--tlo); color: var(--granat); cursor: pointer; padding: 0; }
.kal-nav svg { width: 18px; height: 18px; }
.kal-nav:hover { background: var(--blekit); color: var(--niebieski); }
.kal-tytul { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 36px; border: 0; border-radius: 10px; background: none; font-size: 15.5px !important; font-weight: 800; color: var(--granat); cursor: pointer; padding: 0 8px; }
.kal-tytul svg { width: 16px; height: 16px; color: var(--szary); }
.kal-tytul:hover { background: var(--tlo); }
.kal-tytul--staly { cursor: default; }
.kal-tytul--staly:hover { background: none; }
.kal-dni-tyg { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-bottom: 4px; }
.kal-dni-tyg span { text-align: center; font-size: 12px; font-weight: 700; color: var(--szary); padding: 4px 0; }
.kal-dni-tyg span:nth-child(n+6) { color: #BAC3D9; }
.kal-siatka { display: grid; gap: 4px; }
.kal-siatka--dni { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.kal-siatka--mies { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kal-kom { height: 38px; border: 0; border-radius: 10px; background: none; font-size: 14.5px !important; font-weight: 600; color: var(--tekst); cursor: pointer; padding: 0; position: relative; transition: background .15s, color .15s; }
.kal-siatka--mies .kal-kom { height: 48px; border: 1.5px solid var(--linia); font-size: 15px !important; }
.kal-kom:hover { background: var(--blekit); color: var(--niebieski); }
.kal-siatka--mies .kal-kom:hover { border-color: #CBD8FF; }
.kal-kom:focus-visible, .kal-nav:focus-visible, .kal-tytul:focus-visible, .kal-link:focus-visible { outline: 2px solid var(--niebieski); outline-offset: 2px; }
.kal-kom.dzis { color: var(--niebieski); font-weight: 800; }
.kal-kom.dzis::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.kal-kom.wybrany, .kal-kom.wybrany:hover { background: linear-gradient(135deg, var(--niebieski-2), var(--niebieski)); border-color: transparent; color: #fff; box-shadow: 0 6px 14px rgba(47, 91, 255, .28); }
.kal-kom:disabled { color: #C9D1E4; background: none; cursor: not-allowed; box-shadow: none; }
.kal-siatka--mies .kal-kom:disabled { border-color: #EFF1F6; }
.kal-stopka { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--linia); min-height: 22px; }
.kal-stopka:has(> span:only-child) { display: none; }
.kal-link { border: 0; background: none; padding: 4px 6px; border-radius: 8px; font-size: 13.5px !important; font-weight: 700; color: var(--niebieski); cursor: pointer; }
.kal-link:hover { background: var(--blekit); }
.kal-link[data-kal-wyczysc] { color: var(--szary); }

/* telefon: okienko jako arkusz od dołu ekranu */
.kal-tlo { position: fixed; inset: 0; z-index: 999; background: rgba(11, 16, 32, .35); animation: kal-tlo .2s ease-out; }
@keyframes kal-tlo { from { opacity: 0; } }
.kal-okno--arkusz { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; border-radius: 22px 22px 0 0; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); animation: kal-arkusz .22s ease-out; }
@keyframes kal-arkusz { from { transform: translateY(100%); } }
.kal-okno--arkusz::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--linia); margin: 0 auto 10px; }
.kal-arkusz-tytul { font-size: 13px; font-weight: 700; color: var(--szary); text-align: center; margin-bottom: 8px; }
.kal-okno--arkusz .kal-kom { height: 44px; }
.kal-okno--arkusz .kal-siatka--mies .kal-kom { height: 54px; }
.wz-form .kal-pole { padding: 12px 14px; }

/* ===== telefony (Samsung S25 = 360–384 px; z powiększonym tekstem systemowym efektywnie ~320 px) — 17.10 =====
   1) siatki hero: kolumna minmax(0, 1fr) — przy „1fr” najdłuższy niełamliwy tekst w animacji rozpychał okno poza ekran (396 px przy 360 px)
   2) sceny animacji w siatce zamiast position:absolute — okno ma wysokość najwyższej sceny, nic nie jest ucinane od dołu */
@media (max-width: 1080px) {
  .proces { width: 100%; min-width: 0; }
  .proces-okno { max-width: 100%; }
}
@media (max-width: 640px) {
  .proces-ekran { display: grid; height: auto !important; min-height: 0 !important; }
  .proces-ekran > .scena { position: relative; inset: auto; grid-area: 1 / 1; min-width: 0; }
  .proces-pasek { padding: 10px 12px; }
  .proces-pasek b { margin-left: 6px; padding: 4px 10px; }
  .proces-pasek em { font-size: 10px; letter-spacing: .04em; }
  .scena-tytul { flex-wrap: wrap; row-gap: 6px; line-height: 1.25; }
  .oferta { gap: 10px; padding: 10px 12px; }
  .oferta .opis { flex: 1; min-width: 0; }
  .oferta .opis b, .oferta .opis i { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gwiazdki { flex: none; font-size: 12px; letter-spacing: 0; }
  .pole b { text-overflow: ellipsis; }
  .pola-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sukces { height: auto; padding: 8px 0 4px; }
  .plakietka { max-width: calc(100% - 24px); }
}
@media (max-width: 380px) {
  .kontener { padding: 0 14px; }
  .proces-kroki { padding: 12px 4px 10px; }
  .proces-kroki .tor { left: calc(4px + 12.5%); right: calc(4px + 12.5%); }
  .proces-kroki .nazwa-kroku { font-size: 10px; }
  .proces-pasek em { display: none; }
  .scena { padding: 16px 12px; }
  .awatar { width: 34px; height: 34px; border-radius: 10px; }
}

/* krok 4 animacji: box sukcesu „Najlepsza oferta wybrana” — zielony, rysowany ptaszek, poświata i błysk (17.10) */
.sukces { gap: 18px; }
.wybor.wybor-ok { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; max-width: 360px; margin: 0; padding: 14px 16px;
  border-radius: 18px; text-align: left; color: #0B6B4E; background: linear-gradient(135deg, #EAF0FF, #D0DAFB); border: 1.5px solid #8CF5D2;
  box-shadow: 0 10px 26px rgba(14,159,115, .18); opacity: 0; transform: translateY(12px) scale(.96); }
.wybor-ok p { margin: 0; min-width: 0; font-size: 13.5px; line-height: 1.4; color: #0B6B4E; }
.wybor-ok p b { display: block; margin: 0 0 2px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: #0B1020; }
.wybor-ok p span { display: block; }
.wybor-ok-ikona { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #3EF0B4, #0E9F73); box-shadow: 0 8px 18px rgba(14,159,115, .4); }
.wybor-ok-ikona::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(18, 184, 134, .55); }
.wybor-ok-ikona svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wo-kolo { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-dasharray: 145; stroke-dashoffset: 145; }
.wo-ptaszek { fill: none; stroke: #fff; stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; }
.wybor-ok::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); pointer-events: none; }
.scena-4.aktywna .wybor.wybor-ok { animation: wo-wjazd .55s .55s cubic-bezier(.2, 1.3, .4, 1) forwards; }
.scena-4.aktywna .wybor-ok-ikona { animation: wo-ikona .5s .75s cubic-bezier(.3, 1.6, .5, 1) both; }
.scena-4.aktywna .wybor-ok-ikona::after { animation: wo-puls 1.8s 1.5s ease-out infinite; }
.scena-4.aktywna .wo-kolo { animation: wo-rysuj .6s .85s ease-out forwards; }
.scena-4.aktywna .wo-ptaszek { animation: wo-rysuj .45s 1.15s cubic-bezier(.6, 0, .3, 1) forwards; }
.scena-4.aktywna .wybor-ok::after { animation: wo-blysk 1s 1.5s ease-in-out; }
@keyframes wo-wjazd { to { opacity: 1; transform: none; } }
@keyframes wo-ikona { 0% { transform: scale(.3) rotate(-30deg); } 100% { transform: none; } }
@keyframes wo-rysuj { to { stroke-dashoffset: 0; } }
@keyframes wo-puls { 0% { box-shadow: 0 0 0 0 rgba(18, 184, 134, .55); } 100% { box-shadow: 0 0 0 16px rgba(18, 184, 134, 0); } }
@keyframes wo-blysk { to { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .wybor.wybor-ok { opacity: 1; transform: none; }
  .wo-kolo, .wo-ptaszek { stroke-dashoffset: 0; }
}
@media (max-width: 380px) {
  .wybor.wybor-ok { gap: 12px; padding: 12px 13px; }
  .wybor-ok-ikona { width: 42px; height: 42px; }
  .wybor-ok p b { font-size: 15.5px; }
}

/* okno animacji z wbudowanym zielonym przyciskiem akcji na dole (strona główna, usługi, katalog, wzory, formularze) — 17.10 */
/* wysokość = najwyższa scena (sceny w jednej komórce siatki) — nic nie wchodzi pod pasek akcji */
.proces:has(.proces-akcja) .proces-ekran { display: grid; height: auto; min-height: 0; }
.proces:has(.proces-akcja) .proces-ekran > .scena { position: relative; inset: auto; grid-area: 1 / 1; min-width: 0; padding-top: 16px; padding-bottom: 18px; }
.proces-akcja { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 16px 22px; text-decoration: none !important; color: #fff !important;
  background: linear-gradient(135deg, #12B886, #0B7F5C); border-top: 1px solid rgba(255, 255, 255, .25); transition: background .25s; }
.proces-akcja:hover { background: linear-gradient(135deg, #3EF0B4, #0B6B4E); }
.proces-akcja::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: pa-blysk 3.2s 1s ease-in-out infinite; pointer-events: none; }
.proces-akcja-ikona { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.proces-akcja-ikona .ikona { width: 22px; height: 22px; color: #fff; }
.proces-akcja-tekst { min-width: 0; line-height: 1.3; }
.proces-akcja-tekst b { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.proces-akcja-tekst small { display: block; font-size: 12.5px; color: #DDFBEF; }
.proces-akcja-strzalka { position: relative; flex: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #0B7F5C; box-shadow: 0 6px 16px rgba(11,16,32, .3); overflow: hidden; }
.proces-akcja-strzalka .ikona { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; stroke-width: 2.6; animation: pa-strzalka 1.6s cubic-bezier(.6, 0, .3, 1) infinite; }
.proces-akcja-strzalka::before { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: pa-puls 1.6s ease-out infinite; }
.proces-akcja:hover .proces-akcja-strzalka .ikona { animation-duration: .9s; }
@keyframes pa-strzalka { 0%, 30% { transform: none; opacity: 1; } 55% { transform: translateX(30px); opacity: 0; } 56% { transform: translateX(-30px); opacity: 0; } 80%, 100% { transform: none; opacity: 1; } }
@keyframes pa-puls { 0% { box-shadow: inset 0 0 0 0 rgba(18, 184, 134, .35); } 100% { box-shadow: inset 0 0 0 14px rgba(18, 184, 134, 0); } }
@keyframes pa-blysk { 0% { left: -40%; } 45%, 100% { left: 130%; } }
@media (max-width: 640px) {
  .proces-akcja { padding: 14px 14px; gap: 12px; }
  .proces-akcja-ikona { width: 38px; height: 38px; border-radius: 12px; }
  .proces-akcja-tekst b { font-size: 15px; }
  .proces-akcja-strzalka { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .proces-akcja-strzalka .ikona { transform: none; opacity: 1; } }
@media (max-width: 400px) { .proces-akcja-tekst small { display: none; } }
#katalog, #wzorce, #formularz, #dopasowanie { scroll-margin-top: 90px; }
