/* =========================================================
   MENU – dwa oddzielne „pływające” elementy przyczepione do górnej krawędzi:
   po lewej ciemna plakietka z logo, po prawej szklany pasek RAL 5015 z menu
   ========================================================= */
#header.wt-float {
	position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
	translate: none; transform: none;
	width: 100%; height: auto; margin: 0;
	display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
	padding: 0 max(14px, calc((100% - 1240px) / 2));
	background: none !important; box-shadow: none !important; cursor: auto;
	pointer-events: none;                  /* przerwa między elementami nie blokuje strony */
	font: 400 16px/1.2 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	letter-spacing: normal; text-transform: none; color: #fff;
}
#header.wt-float > * { pointer-events: auto; }

/* plakietka z logo – bardzo ciemne, równe tło (bez okrągłego cienia) */
#header.wt-float .wt-logo {
	position: relative; display: flex; align-items: center; flex: none;
	height: auto; margin: 0; padding: 10px 20px 11px; border: 0;
	border-radius: 0 0 16px 16px; line-height: 0; font-size: 0;
	background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 55%), rgba(1,12,19,.92);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 8px 24px rgba(0,15,25,.35), inset 0 0 0 1px rgba(255,255,255,.1);
	transition: box-shadow .35s, background .35s;
}
#header.wt-float .wt-logo:hover { box-shadow: 0 10px 28px rgba(0,15,25,.45), inset 0 0 0 1px rgba(155,241,255,.35), 0 0 18px rgba(63,166,220,.35); }
#header.wt-float .wt-logo img { display: block; height: 30px !important; width: auto !important; max-width: none !important; }

/* szklany pasek z menu */
#header.wt-float .wt-bar {
	position: relative; isolation: isolate; display: flex; align-items: center; gap: 6px;
	padding: 6px 8px 7px; border-radius: 0 0 16px 16px;
}
#header.wt-float .wt-bar::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04) 60%), rgba(0,123,175,.38);
	-webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
	border: 1px solid rgba(255,255,255,.24); border-top: 0;
	box-shadow: 0 8px 24px rgba(0,25,45,.28), inset 0 -1px 0 rgba(255,255,255,.12);
	transition: background .4s;
}
#header.wt-float.is-scrolled .wt-bar::before { background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.03) 60%), rgba(0,123,175,.58); }

#header.wt-float .wt-nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex-grow: 0; height: auto; line-height: normal; }

/* link ze szklanym błyskiem */
#header.wt-float .wt-link {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; gap: 6px;
	height: auto; line-height: 1; padding: 10px 14px; border: 0; border-radius: 10px;
	font: 600 15px/1 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: .02em;
	color: #fff; text-decoration: none; text-shadow: 0 1px 6px rgba(0,30,50,.35);
	transition: background .35s, box-shadow .35s, transform .35s;
}
#header.wt-float .wt-link::before {
	content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
	background: linear-gradient(110deg, transparent 22%, rgba(255,255,255,.6) 44%, rgba(255,255,255,.18) 54%, transparent 70%);
	translate: -135% 0; transition: translate .75s cubic-bezier(.2,.7,.2,1);
}
#header.wt-float .wt-link:hover,
#header.wt-float .wt-link:focus-visible {
	color: #fff; background: rgba(255,255,255,.14);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px rgba(0,30,60,.22);
	outline: none;
}
#header.wt-float .wt-link:hover::before,
#header.wt-float .wt-link:focus-visible::before { translate: 135% 0; }
#header.wt-float .wt-link i { font-style: normal; font-size: 11px; opacity: .8; transition: rotate .3s; }
#header.wt-float .wt-cta { background: #000; color: #007baf; text-shadow: none; margin-left: 6px; box-shadow: inset 0 0 0 1px rgba(0,123,175,.55); }
#header.wt-float .wt-cta:hover, #header.wt-float .wt-cta:focus-visible { background: #000; color: #1a9ad6; box-shadow: inset 0 0 0 1px #007baf, 0 0 16px rgba(0,123,175,.55); }
#header.wt-float .wt-cta::before { background: linear-gradient(110deg, transparent 22%, rgba(0,123,175,.25) 44%, rgba(255,255,255,.22) 54%, transparent 70%); }

/* podmenu „Modele współpracy” */
#header.wt-float .wt-drop { position: relative; }
#header.wt-float .wt-sub {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
	display: grid; gap: 2px; padding: 8px; border-radius: 16px;
	background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04)), rgba(0,105,150,.62);
	-webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
	border: 1px solid rgba(255,255,255,.24); box-shadow: 0 16px 36px rgba(0,25,45,.3);
	opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .25s, translate .25s, visibility .25s;
}
#header.wt-float .wt-sub::after { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* mostek dla kursora */
#header.wt-float .wt-drop:hover .wt-sub,
#header.wt-float .wt-drop:focus-within .wt-sub { opacity: 1; visibility: visible; translate: 0 0; }
#header.wt-float .wt-drop:hover > .wt-link i { rotate: 180deg; }
#header.wt-float .wt-sub .wt-link { width: 100%; font-weight: 500; padding: 12px 14px; }

/* hamburger (tylko telefon/tablet) */
#header.wt-float .wt-burger {
	display: none; position: relative; isolation: isolate; overflow: hidden; flex: none;
	width: 40px; height: 40px; padding: 0; margin: 0; border: 0; border-radius: 12px;
	background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), inset 0 1px 0 rgba(255,255,255,.35);
	cursor: pointer; line-height: 0; letter-spacing: 0; -webkit-appearance: none; appearance: none;
	-webkit-tap-highlight-color: transparent;
}
#header.wt-float .wt-burger::before {
	content: ""; position: absolute; inset: -2px; z-index: -1;
	background: linear-gradient(110deg, transparent 22%, rgba(255,255,255,.65) 44%, rgba(255,255,255,.2) 54%, transparent 70%);
	translate: -135% 0; transition: translate .75s cubic-bezier(.2,.7,.2,1);
}
#header.wt-float .wt-burger:hover::before, #header.wt-float .wt-burger:focus-visible::before { translate: 135% 0; }
#header.wt-float .wt-burger span {
	position: absolute; left: 10px; width: 20px; height: 2px; border-radius: 2px; background: #fff;
	transition: top .3s, rotate .3s, opacity .2s;
}
#header.wt-float .wt-burger span:nth-child(1) { top: 13px; }
#header.wt-float .wt-burger span:nth-child(2) { top: 19px; }
#header.wt-float .wt-burger span:nth-child(3) { top: 25px; }
#header.wt-float.is-open .wt-burger span:nth-child(1) { top: 19px; rotate: 45deg; }
#header.wt-float.is-open .wt-burger span:nth-child(2) { opacity: 0; }
#header.wt-float.is-open .wt-burger span:nth-child(3) { top: 19px; rotate: -45deg; }

@media (max-width: 980px) {
	#header.wt-float { padding: 0 8px; gap: 10px; }
	#header.wt-float .wt-bar { padding: 5px; }
	#header.wt-float .wt-logo { padding: 12px 14px 13px; border-radius: 0 0 14px 14px; }
	#header.wt-float .wt-logo img { height: 24px !important; }
	#header.wt-float .wt-burger { display: block; }
	#header.wt-float .wt-nav {
		position: absolute; top: calc(100% + 8px); right: 0; left: auto; width: min(340px, calc(100vw - 16px));
		flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border-radius: 18px;
		background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04)), rgba(0,110,158,.6);
		-webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
		border: 1px solid rgba(255,255,255,.24); box-shadow: 0 18px 40px rgba(0,25,45,.35);
		opacity: 0; visibility: hidden; translate: 0 -8px; scale: .98; transform-origin: top center;
		transition: opacity .3s, translate .35s cubic-bezier(.2,.8,.2,1), scale .35s, visibility .3s;
		max-height: calc(100vh - 100px); overflow-y: auto;
	}
	#header.wt-float.is-open .wt-nav { opacity: 1; visibility: visible; translate: 0 0; scale: 1; }
	#header.wt-float .wt-nav .wt-link { justify-content: space-between; padding: 16px 18px; font-size: 16px; border-radius: 12px; }
	#header.wt-float .wt-cta { margin: 6px 0 0; justify-content: center !important; }
	#header.wt-float .wt-sub {
		position: static; min-width: 0; padding: 0 0 4px 14px; gap: 0; border-radius: 0;
		background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
		opacity: 1; visibility: visible; translate: none;
	}
	#header.wt-float .wt-sub::after { display: none; }
	#header.wt-float .wt-drop > .wt-link i { display: none; }
	#header.wt-float .wt-sub .wt-link { font-size: 15px; padding: 12px 16px; opacity: .92; }
	/* błysk szkła przebiega po kolei po pozycjach przy otwarciu menu */
	#header.wt-float.is-open .wt-nav .wt-link::before { animation: wt-sheen .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.12s + var(--i, 0) * 70ms); }
	#header.wt-float .wt-link:active { background: rgba(255,255,255,.2); }
}
@keyframes wt-sheen { from { translate: -135% 0; } to { translate: 135% 0; } }
@media (prefers-reduced-motion: reduce) {
	#header.wt-float .wt-link::before, #header.wt-float .wt-burger::before { display: none; }
}

/* aktualna podstrona w menu */
#header.wt-float .wt-link.is-current { background: rgba(1,10,16,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
#header.wt-float .wt-sub .wt-link.is-current { background: rgba(1,10,16,.32); }

/* pasek postępu przewijania na dolnej krawędzi menu */
#header.wt-float .wt-progress {
	position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; pointer-events: none;
	transform-origin: left center; transform: scaleX(var(--wt-bar-p, var(--wt-p, 0)));
	background: linear-gradient(90deg, rgba(155,241,255,0), #9bf1ff 30%, #ffffff 60%, #9bf1ff);
	box-shadow: 0 0 10px rgba(155,241,255,.8); border-radius: 2px;
}

/* =========================================================
   FORMULARZ KONTAKTOWY – na ciemnym granacie: jasne etykiety,
   pola jasne z ciemnoszarą ramką i tekstem, przycisk w RAL 5015
   ========================================================= */
form label { color: #dbe8f2 !important; text-shadow: none; }
form input[type="text"], form input[type="email"], form input[type="tel"],
form input[type="password"], form select, form textarea {
	background: rgba(255,255,255,.93) !important; color: #24282d !important;
	border: 2px solid #3a3f45 !important; border-radius: 10px !important;
	box-shadow: none !important; transition: border-color .25s, box-shadow .25s, background .25s;
}
form input::placeholder, form textarea::placeholder { color: #6b7178 !important; opacity: 1; }
form input[type="text"]:focus, form input[type="email"]:focus, form input[type="tel"]:focus,
form input[type="password"]:focus, form select:focus, form textarea:focus {
	border-color: #1b1e22 !important; background: #fff !important;
	box-shadow: 0 0 0 4px rgba(27,30,34,.2) !important;
}
form input[type="submit"], form button[type="submit"] {
	background: #007baf !important; color: #fff !important; border-radius: 10px !important;
	box-shadow: 0 8px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25) !important; transition: background .25s, transform .25s, box-shadow .25s;
}
form input[type="submit"]:hover, form button[type="submit"]:hover { background: #0a8fc9 !important; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.45), 0 0 22px rgba(63,166,220,.45) !important; }

/* =========================================================
   BAJERY
   ========================================================= */
/* 1) wjazd treści przy przewijaniu (klasy nadaje wt-site.js) */
.wt-reveal { opacity: 0; translate: 0 34px; transition: opacity .8s ease, translate .9s cubic-bezier(.16,1,.3,1); transition-delay: var(--wt-d, 0s); }
.wt-reveal.is-in { opacity: 1; translate: 0 0; }

/* 2) kafelki: uniesienie + przelatujący błysk szkła */
.tiles article { transition: translate .45s cubic-bezier(.16,1,.3,1), box-shadow .45s; }
.tiles article:hover { translate: 0 -6px; box-shadow: 0 22px 40px rgba(0,25,45,.35); z-index: 2; }
.tiles article .wt-shine {
	position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden;
}
.tiles article .wt-shine::before {
	content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 60%;
	background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.08) 30%, rgba(255,255,255,.45) 50%, rgba(255,255,255,.08) 70%, transparent 100%);
	translate: -160% 0; transition: translate .9s cubic-bezier(.2,.7,.2,1);
}
.tiles article:hover .wt-shine::before { translate: 260% 0; }

/* 3) przyciski: poświata przy najechaniu */
.button, input[type="submit"] { transition: box-shadow .3s, background-color .3s, color .3s, transform .3s !important; }
.button:hover { box-shadow: inset 0 0 0 2px #fff, 0 0 22px rgba(155,241,255,.55) !important; transform: translateY(-1px); }

/* 4) świetlna plama za kursorem (tylko komputer) */
.wt-glow {
	position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
	border-radius: 50%; pointer-events: none; z-index: 9000; opacity: 0;
	background: radial-gradient(closest-side, rgba(155,241,255,.16), rgba(155,241,255,.05) 55%, transparent 75%);
	mix-blend-mode: screen; transition: opacity .5s; will-change: transform;
}
.wt-glow.is-on { opacity: 1; }

/* 5) przycisk „do góry” ze wskaźnikiem postępu */
.wt-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 9500; width: 52px; height: 52px;
	display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	color: #fff; background: rgba(0,123,175,.45);
	-webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 10px 26px rgba(0,25,45,.35);
	opacity: 0; visibility: hidden; translate: 0 16px; transition: opacity .35s, translate .35s, visibility .35s, background .3s;
	-webkit-appearance: none; appearance: none; height: 52px !important; line-height: 0 !important; letter-spacing: 0 !important;
}
.wt-top.is-on { opacity: 1; visibility: visible; translate: 0 0; }
.wt-top:hover { background: rgba(0,123,175,.75); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 0 24px rgba(155,241,255,.6) !important; }
.wt-top svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.wt-top circle { fill: none; stroke-width: 2.5; }
.wt-top .wt-ring-bg { stroke: rgba(255,255,255,.2); }
.wt-top .wt-ring { stroke: #9bf1ff; stroke-linecap: round; stroke-dasharray: 144.5; stroke-dashoffset: calc(144.5 * (1 - var(--wt-p, 0))); filter: drop-shadow(0 0 4px rgba(155,241,255,.8)); }
.wt-top b { position: relative; width: 12px; height: 12px; margin-top: 5px; border-left: 2.5px solid #fff; border-top: 2.5px solid #fff; rotate: 45deg; }

@media (max-width: 736px) { .wt-top { right: 12px; bottom: 12px; width: 46px; height: 46px !important; } }

@media (prefers-reduced-motion: reduce) {
	.wt-reveal { opacity: 1; translate: none; transition: none; }
	.tiles article .wt-shine, .wt-glow { display: none; }
}
.tiles article.wt-reveal { transition: opacity .8s ease var(--wt-d, 0s), translate .9s cubic-bezier(.16,1,.3,1) var(--wt-d, 0s), box-shadow .45s; }
.tiles article.wt-reveal.is-in { transition: opacity .8s ease, translate .45s cubic-bezier(.16,1,.3,1), box-shadow .45s; }
#header.wt-float .wt-cta.is-current { background: #000; color: #1a9ad6; box-shadow: inset 0 0 0 2px #007baf; }

/* =========================================================
   MENU NAD FILMEM I KARUZELĄ: tylko „Kontakt”;
   po zjechaniu poniżej karuzeli rozwija się całe menu
   ========================================================= */
#header.wt-float .wt-nav > .wt-link:not(.wt-cta),
#header.wt-float .wt-nav > .wt-drop {
	max-width: 260px; white-space: nowrap;
	transition: max-width .55s cubic-bezier(.16,1,.3,1), opacity .35s ease .15s, padding .55s cubic-bezier(.16,1,.3,1), background .35s, box-shadow .35s;
}
#header.wt-float .wt-nav { transition: gap .55s cubic-bezier(.16,1,.3,1); }
#header.wt-float .wt-quick { display: none; }
@media (min-width: 981px) {
	#header.wt-float.is-compact .wt-nav { gap: 0; }
	#header.wt-float.is-compact .wt-nav > .wt-link:not(.wt-cta),
	#header.wt-float.is-compact .wt-nav > .wt-drop {
		max-width: 0; opacity: 0; overflow: hidden; pointer-events: none;
		transition: max-width .55s cubic-bezier(.16,1,.3,1), opacity .2s ease, padding .55s cubic-bezier(.16,1,.3,1);
	}
	#header.wt-float.is-compact .wt-nav > .wt-link:not(.wt-cta) { padding-left: 0; padding-right: 0; }
	#header.wt-float.is-compact .wt-cta { margin-left: 0; }
}
@media (max-width: 980px) {
	#header.wt-float.is-compact .wt-burger,
	#header.wt-float.is-compact .wt-nav { display: none; }
	#header.wt-float.is-compact .wt-quick { display: inline-flex; animation: wt-pop .45s cubic-bezier(.34,1.56,.64,1) both; padding: 12px 16px; margin: 0; }
}
@keyframes wt-pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }

/* =========================================================
   OKIENKO „WIADOMOŚĆ WYSŁANA” – czarno-granatowe jak plakietka z logo
   ========================================================= */
.wt-modal {
	position: fixed; inset: 0; z-index: 20000; display: grid; place-items: center; padding: 16px;
	background: rgba(1, 8, 14, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
	font: 400 16px/1.55 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: normal;
}
.wt-modal.is-open { opacity: 1; visibility: visible; }
.wt-modal__box {
	position: relative; overflow: hidden; width: min(440px, 100%); padding: 30px 30px 26px; text-align: center; color: #eaf3f9;
	border-radius: 20px;
	background:
		radial-gradient(120% 70% at 50% 120%, rgba(3, 26, 51, 1), transparent 70%),
		linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 45%),
		rgba(1, 12, 19, .96);
	box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.1), 0 0 0 1px rgba(0,123,175,.25);
	transform: translateY(24px) scale(.94); opacity: 0;
}
.wt-modal.is-open .wt-modal__box { animation: wt-modal-in .6s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes wt-modal-in { to { transform: none; opacity: 1; } }
/* świetlny brzeg przelatujący dookoła */
.wt-modal__box::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
	background: conic-gradient(from var(--wt-ang, 0deg), transparent 0 70%, #3fa6dc 82%, #9bf1ff 88%, transparent 96%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	animation: wt-ring 3.5s linear infinite;
}
@property --wt-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes wt-ring { to { --wt-ang: 360deg; } }
.wt-modal__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.wt-modal__logo { display: block; height: 26px !important; width: auto !important; margin: 0 auto 18px; opacity: .95; }
.wt-modal__icon { width: 84px; height: 84px; margin: 0 auto 14px; position: relative; }
.wt-modal__icon::after { /* pulsująca fala */
	content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid #3fa6dc; opacity: 0;
}
.wt-modal.is-ok .wt-modal__icon::after { animation: wt-wave 1.6s .9s ease-out 2; }
@keyframes wt-wave { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wt-modal__icon svg { width: 100%; height: 100%; overflow: visible; }
.wt-modal__icon .wt-c { fill: rgba(0,123,175,.12); stroke: #3fa6dc; stroke-width: 3; stroke-dasharray: 214; stroke-dashoffset: 214; filter: drop-shadow(0 0 6px rgba(63,166,220,.7)); transform: rotate(-90deg); transform-origin: center; }
.wt-modal__icon .wt-k, .wt-modal__icon .wt-x { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.wt-modal__icon .wt-x { display: none; }
.wt-modal.is-open .wt-c { animation: wt-draw .7s .25s cubic-bezier(.65,0,.35,1) forwards; }
.wt-modal.is-ok .wt-k { animation: wt-draw .45s .85s cubic-bezier(.65,0,.35,1) forwards; }
.wt-modal.is-err .wt-k { display: none; }
.wt-modal.is-err .wt-x { display: inline; stroke: #ffc861; animation: wt-draw .45s .85s ease forwards; }
.wt-modal.is-err .wt-c { stroke: #ffc861; fill: rgba(255,200,97,.1); filter: drop-shadow(0 0 6px rgba(255,200,97,.6)); }
@keyframes wt-draw { to { stroke-dashoffset: 0; } }
.wt-modal h4 { margin: 0 0 8px; color: #fff; font: 700 22px/1.25 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: .01em; text-transform: none; }
.wt-modal__msg { margin: 0 0 22px; color: #b8cfdf; font-size: 15px; }
.wt-modal__msg a { color: #3fa6dc; border-bottom: 1px dotted currentColor; }
.wt-modal__msg small { display: block; margin-top: 8px; font-size: 12px; opacity: .7; }
.wt-modal .wt-modal__close {
	position: relative; overflow: hidden; display: inline-block; height: auto !important; line-height: 1 !important;
	padding: 13px 28px !important; border: 0; border-radius: 10px; cursor: pointer;
	background: #000 !important; color: #3fa6dc !important; box-shadow: inset 0 0 0 1px rgba(0,123,175,.6) !important;
	font: 600 14px/1 "IBM Plex Sans", system-ui, sans-serif !important; letter-spacing: .04em !important; text-transform: none !important;
	transition: box-shadow .3s, color .3s;
}
.wt-modal .wt-modal__close:hover, .wt-modal .wt-modal__close:focus-visible { color: #9bf1ff !important; box-shadow: inset 0 0 0 1px #3fa6dc, 0 0 18px rgba(0,123,175,.6) !important; outline: none; }
/* treść wjeżdża po kolei */
.wt-modal__logo, .wt-modal h4, .wt-modal__msg, .wt-modal .wt-modal__close { opacity: 0; transform: translateY(10px); }
.wt-modal.is-open .wt-modal__logo { animation: wt-up .5s .15s forwards; }
.wt-modal.is-open h4 { animation: wt-up .5s 1.0s forwards; }
.wt-modal.is-open .wt-modal__msg { animation: wt-up .5s 1.12s forwards; }
.wt-modal.is-open .wt-modal__close { animation: wt-up .5s 1.25s forwards; }
@keyframes wt-up { to { opacity: 1; transform: none; } }

/* samolocik odlatujący z przycisku */
.wt-plane { position: fixed; z-index: 19999; width: 28px; height: 28px; pointer-events: none; color: #9bf1ff; animation: wt-fly 1.2s cubic-bezier(.5,0,.75,0) forwards; filter: drop-shadow(0 0 8px rgba(155,241,255,.9)); }
.wt-plane svg { width: 100%; height: 100%; fill: rgba(63,166,220,.35); stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
@keyframes wt-fly {
	0% { transform: translate(0,0) rotate(0) scale(1); opacity: 1; }
	30% { transform: translate(-30px, 18px) rotate(-10deg) scale(1.15); opacity: 1; }
	100% { transform: translate(70vw, -80vh) rotate(18deg) scale(.4); opacity: 0; }
}
/* przycisk w trakcie wysyłania */
form input[type="submit"].is-busy, form button[type="submit"].is-busy {
	cursor: progress; opacity: .85;
	background-image: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%) !important;
	background-size: 220% 100% !important; animation: wt-busy 1s linear infinite;
}
@keyframes wt-busy { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) {
	.wt-modal__box, .wt-modal__logo, .wt-modal h4, .wt-modal__msg, .wt-modal .wt-modal__close { animation: none !important; opacity: 1 !important; transform: none !important; }
	.wt-modal__icon .wt-c, .wt-modal__icon .wt-k, .wt-modal__icon .wt-x { stroke-dashoffset: 0 !important; animation: none !important; }
	.wt-modal__box::before { animation: none; }
}

/* =========================================================
   „POKAŻ E-MAIL / NUMER” – dane odsłaniane dopiero po kliknięciu
   ========================================================= */
.wt-show {
	-webkit-appearance: none; appearance: none; position: relative; overflow: hidden;
	display: inline-flex !important; align-items: center; gap: 8px; vertical-align: middle;
	height: auto !important; line-height: 1 !important; margin: 2px 0; padding: 10px 16px !important;
	border: 0; border-radius: 999px !important; cursor: pointer; white-space: nowrap !important;
	background: #000 !important; color: #3fa6dc !important;
	box-shadow: inset 0 0 0 1px rgba(0,123,175,.6) !important;
	font: 600 14px/1 "IBM Plex Sans", system-ui, sans-serif !important; letter-spacing: .02em !important; text-transform: none !important;
	transition: color .3s, box-shadow .3s;
}
.wt-show svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wt-show::after { /* błysk szkła */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(110deg, transparent 25%, rgba(155,241,255,.35) 48%, transparent 70%);
	translate: -130% 0; transition: translate .8s cubic-bezier(.2,.7,.2,1);
}
.wt-show:hover, .wt-show:focus-visible { color: #9bf1ff !important; box-shadow: inset 0 0 0 1px #3fa6dc, 0 0 18px rgba(0,123,175,.55) !important; outline: none; }
.wt-show:hover::after, .wt-show:focus-visible::after { translate: 130% 0; }
.wt-show--inline { padding: 6px 12px !important; font-size: 13px !important; }
.wt-shown {
	display: inline-block; color: #9bf1ff !important; border-bottom: 1px dotted rgba(155,241,255,.6) !important;
	font-variant-numeric: tabular-nums; letter-spacing: .02em; text-shadow: 0 0 12px rgba(63,166,220,.6);
	animation: wt-glow-in 1.2s ease;
}
@keyframes wt-glow-in { from { text-shadow: 0 0 22px rgba(155,241,255,1); } to { text-shadow: 0 0 12px rgba(63,166,220,.6); } }

/* =========================================================
   CAPTCHA w formularzu
   ========================================================= */
.wt-captcha .wt-cap-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wt-captcha .wt-cap-img { width: 168px; height: 52px; border-radius: 10px; border: 2px solid #3a3f45; background: #eef4f8; flex: none; }
.wt-captcha .wt-cap-new {
	-webkit-appearance: none; appearance: none; flex: none;
	width: 44px; height: 44px !important; padding: 0 !important; line-height: 1 !important;
	border-radius: 50% !important; border: 0; cursor: pointer;
	background: #000 !important; color: #3fa6dc !important; box-shadow: inset 0 0 0 1px rgba(0,123,175,.6) !important;
	font: 700 20px/1 Arial, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
	transition: color .3s, box-shadow .3s;
}
.wt-captcha .wt-cap-new:hover { color: #9bf1ff !important; box-shadow: inset 0 0 0 1px #3fa6dc, 0 0 16px rgba(0,123,175,.55) !important; }
.wt-captcha .wt-cap-new.is-spin { animation: wt-spin .5s ease; }
@keyframes wt-spin { to { rotate: 360deg; } }
.wt-captcha #wt-cap { flex: 1 1 120px; min-width: 110px; max-width: 200px; }
.wt-captcha #wt-cap.is-bad { border-color: #ffc861 !important; box-shadow: 0 0 0 4px rgba(255,200,97,.25) !important; animation: wt-shake .4s; }
@keyframes wt-shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
.wt-captcha .wt-cap-msg { margin: 8px 0 0; min-height: 1.2em; color: #ffc861; font-size: 14px; }

/* przewinięcie do formularza z menu „Kontakt” */
#wt-contact-form { scroll-margin-top: 84px; }
#wt-contact-form.wt-flash { animation: wt-flash 1.6s ease; border-radius: 14px; }
@keyframes wt-flash {
	0% { box-shadow: 0 0 0 0 rgba(63,166,220,0); }
	25% { box-shadow: 0 0 0 10px rgba(63,166,220,.28), 0 0 40px rgba(63,166,220,.45); }
	100% { box-shadow: 0 0 0 22px rgba(63,166,220,0), 0 0 0 rgba(63,166,220,0); }
}


/* =========================================================
   COOKIES + POLITYKA PRYWATNOŚCI (okienka z żywą siecią w tle)
   + poprawki płynności strony głównej z filmem
   ========================================================= */
/* strona z filmem: bez rozmyć i mieszania kolorów nad filmem (to one powodowały haczenie) */
html.wtc-sv #header.wt-float .wt-logo { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(1,12,19,.96); }
html.wtc-sv #header.wt-float .wt-bar::before { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03) 60%), rgba(0,96,138,.9); }
html.wtc-sv #header.wt-float .wt-sub { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)), rgba(0,84,122,.96); }
html.wtc-sv .wt-top { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0,96,138,.9); }
html.wtc-sv .wt-glow { display: none !important; }
@media (max-width: 980px) {
  html.wtc-sv #header.wt-float .wt-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)), rgba(0,84,122,.97); }
}

/* neutralizacja stylów szablonu (przyciski, nagłówki, linki) wewnątrz okienek */
#wtc button { height: auto !important; min-width: 0; line-height: 1.15 !important; letter-spacing: normal !important; text-transform: none !important; white-space: normal; -webkit-appearance: none; appearance: none; }
#wtc h2, #wtc h3 { letter-spacing: normal; text-transform: none; color: #f1f8fc; }
#wtc p { margin: 0; letter-spacing: normal; }
#wtc a { border-bottom: 0; text-decoration: underline; text-underline-offset: 2px; }
#wtc .pp__x { padding: 0; box-shadow: none; }
.wtc-links { margin-top: .6em; font-size: .85em; opacity: .85; }
.wtc-links a, .wtc-links button { color: inherit; border: 0; background: none; padding: 0; margin: 0 .5em; font: inherit; height: auto !important; line-height: inherit !important; letter-spacing: inherit !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

#wtc .pp[hidden], #wtc .ck[hidden] { display: none !important; }
#wtc .pp {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(1, 8, 14, 0.72);
  animation: wtc-pp-fade 0.35s ease both;
}
@keyframes wtc-pp-fade { from { opacity: 0; } to { opacity: 1; } }
#wtc .pp__box,
#wtc .ck {
  --ft-ink: #f1f8fc; --ft-muted: #a3c4d8; --ft-accent: #007baf; --ft-accent-light: #3fa6dc; --ft-accent-rgb: 0, 123, 175;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f1f8fc;
  font: 400 15px/1.6 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(0, 123, 175, 0.26), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(0, 123, 175, 0.2), transparent 60%),
    #02141f;
  border: 1px solid rgba(63, 166, 220, 0.35);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 123, 175, 0.15), 0 0 60px rgba(0, 123, 175, 0.18);
}
#wtc .pp__box {
  width: min(520px, 100%);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 40px);
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  animation: wtc-pp-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes wtc-pp-pop { from { opacity: 0; transform: translateY(26px) scale(0.94); } to { opacity: 1; transform: none; } }
#wtc .pp__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
#wtc .pp__box h2, #wtc .ck h2 { margin: 0; font: 800 clamp(24px, 3vw, 30px)/1.1 "Archivo", "Arial Narrow", system-ui, sans-serif; font-stretch: 112%; }
#wtc .pp__box p, #wtc .ck p { margin: 0; color: #a3c4d8; }
#wtc .pp__box a, #wtc .ck a { color: #3fa6dc; }


#wtc .pp__btn {
  padding: 13px 24px;
  border-radius: 999px;
  font: 700 15px/1 "IBM Plex Sans", system-ui, sans-serif;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
#wtc .pp__btn--main { border: 0; color: #fff; background: linear-gradient(135deg, #007baf, #005f88); box-shadow: 0 10px 30px rgba(0, 123, 175, 0.45); }
#wtc .pp__btn--main:hover { transform: translateY(-2px); }
#wtc .pp__btn--ghost { border: 1px solid rgba(163, 196, 216, 0.4); background: rgba(2, 20, 31, 0.6); color: #f1f8fc; }
#wtc .pp__btn--ghost:hover { border-color: #3fa6dc; }
#wtc .pp__btn:focus-visible, #wtc .pp__x:focus-visible { outline: 2px solid #3fa6dc; outline-offset: 3px; }

/* polityka prywatności – dłuższy dokument z przewijaniem */
#wtc .pp__box--doc { width: min(780px, 100%); max-height: min(86vh, 900px); text-align: left; justify-items: stretch; grid-template-rows: auto 1fr auto; }
#wtc .pp__box--doc .pp__btn { justify-self: end; }
#wtc .pp__doc { overflow: auto; padding-right: 8px; min-height: 0; }
#wtc .pp__doc h3 { margin: 18px 0 6px; font: 700 16px/1.3 "IBM Plex Sans", system-ui, sans-serif; color: #3fa6dc; }
#wtc .pp__doc h3:first-child { margin-top: 4px; }
#wtc .pp__doc p { color: #c9dceb; }
#wtc .pp__x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(163, 196, 216, 0.35);
  background: rgba(2, 20, 31, 0.7);
  color: #f1f8fc;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
#wtc .pp__x:hover { border-color: #3fa6dc; }

/* okno cookies – małe, w lewym dolnym rogu, nie zasłania strony */
#wtc .ck {
  position: fixed;
  z-index: 9999;
  left: max(14px, env(safe-area-inset-left, 0px));
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  width: min(300px, calc(100% - 28px));
  padding: 12px 14px 12px;
  border-radius: 14px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: wtc-ck-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes wtc-ck-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
#wtc .ck.is-out { animation: wtc-ck-out 0.35s ease-in both; }
@keyframes wtc-ck-out { to { opacity: 0; transform: translateY(16px); } }
#wtc .ck .ck__t { margin: 0; font-size: 13px; line-height: 1.45; color: #c9dceb; }
#wtc .ck__ico { font-size: 15px; margin-right: 2px; }
#wtc .ck__btns { display: flex; gap: 8px; }
#wtc .ck .pp__btn { padding: 8px 14px; font-size: 12.5px; box-shadow: none; }
#wtc .ck .pp__btn--main { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  #wtc .pp, #wtc .pp__box, #wtc .ck{ animation: none !important; }
}

#wtc .ck__short { display: none; }
#wtc .ck__pol { display: inline; }
/* telefon: cookies jako cienki pionowy pasek przy lewej krawędzi – tej samej wielkości co SCROLL (na stronie głównej nad nim) */
#wtc .ck__x { display: none; }
@media (max-width: 700px) {
  #wtc .ck {
    left: max(8px, env(safe-area-inset-left, 0px));
    bottom: var(--ck-b, max(22px, env(safe-area-inset-bottom, 0px)));
    width: 34px;
    height: var(--ck-h, 146px);
    padding: 8px 0;
    border-radius: 17px;
    gap: 5px;
    align-content: center;
    justify-items: center;
    text-align: center;
  }
  #wtc .ck .ck__t { display: grid; justify-items: center; gap: 4px; font-size: 10px; line-height: 1; }
  #wtc .ck__ico { font-size: 14px; margin: 0; line-height: 1; }
  #wtc .ck__long, #wtc .ck__pol, #wtc .ck__txt { display: none; }
  #wtc .ck .ck__t a { text-decoration: none; }
  #wtc .ck__short { display: block; writing-mode: vertical-rl; transform: rotate(180deg); font: 800 10px/1 "Archivo", "Arial Narrow", system-ui, sans-serif; letter-spacing: 0.12em; padding: 0 0 0.12em; text-transform: uppercase; color: #f1f8fc; }
  #wtc .ck__btns { flex-direction: column; align-items: center; gap: 4px; width: 100%; }
  #wtc .ck .pp__btn--main { flex: none; width: 24px; height: 24px !important; padding: 0; border-radius: 50%; font-size: 9px; letter-spacing: 0 !important; display: grid; place-items: center; }
  #wtc .ck .pp__btn--ghost { width: 18px; height: 18px !important; padding: 0; border-radius: 50%; border: 1px solid rgba(163, 196, 216, 0.45); background: none; color: #a3c4d8; font-size: 13px; line-height: 1 !important; display: grid; place-items: center; }
  #wtc .ck__x { display: block; margin-top: -1px; }
}



/* przycisk „do góry” nad okrągłym przyciskiem telefonu (prawy dolny róg) */
.wt-top { bottom: 124px; right: 21px; }
@media (max-width: 736px) { .wt-top { bottom: 112px; right: 15px; } }

/* telefon: „Kontakt” nad filmem – niski pasek (ok. 1/3 dawnej wysokości); hamburger bez zmian */
@media (max-width: 980px) {
  #header.wt-float.is-compact .wt-bar { padding: 3px; border-radius: 0 0 10px 10px; }
  #header.wt-float.is-compact .wt-quick { padding: 2px 10px; font-size: 11px; line-height: 1; border-radius: 7px; letter-spacing: .06em; }
}
