/* ==========================================================================
   Wireland - motyw (zastepuje Nicepage)
   1. Fonty i zmienne      8. Galerie / slider / logotypy
   2. Baza                 9. Karty oferty, handlowcy, wpisy
   3. Naglowek i menu     10. Kontakt, formularze, mapa
   4. Przyciski           11. Stopka, widget boczny
   5. Typografia          12. Zgody cookies, lightbox
   6. Sekcje i hero       13. Animacje
   7. Kolumny (split)     14. Responsywnosc (w sekcjach)
   ========================================================================== */

/* 1. Fonty i zmienne ------------------------------------------------------ */
@font-face {
	font-family: "Monument Extended";
	src: url("../fonts/monument-extended.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Cartograph Mono";
	src: url("../fonts/cartograph-mono.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--wl-black: #000;
	--wl-navy: #051c7f;
	--wl-navy-deep: #0a164b;
	--wl-white: #fff;
	--wl-soft: #f2f2f2;
	--wl-muted: rgba(255, 255, 255, .72);
	--wl-line: rgba(255, 255, 255, .18);
	--wl-accent: #2c6fb7;

	--wl-font-head: "Monument Extended", "Arial Black", sans-serif;
	--wl-font-body: "Cartograph Mono", ui-monospace, "Courier New", monospace;

	--wl-container: 1140px;
	--wl-gutter: clamp(16px, 4vw, 32px);
	--wl-radius: 20px;
	--wl-radius-lg: 30px;
	--wl-shadow: 5px 5px 20px rgba(0, 0, 0, .4);
	--wl-ease: cubic-bezier(.2, .8, .3, 1);

	--wl-header-top: 40px;
	--wl-header-bar: 96px;
	--wl-header-h: calc(var(--wl-header-top) + var(--wl-header-bar));
	--wl-section-y: clamp(56px, 7vw, 100px);
}

/* 2. Baza ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--wl-header-bar) + 16px);
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--wl-black);
	color: var(--wl-white);
	font-family: var(--wl-font-body);
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Na telefonach samo body{overflow-x:hidden} nie wystarcza: elementy animacji (translateX) poszerzaly
   viewport i przyciski przyklejone do prawej krawedzi byly uciete. clip nie psuje position:sticky. */
html {
	overflow-x: hidden;
}
@supports (overflow-x: clip) {
	html,
	body {
		overflow-x: clip;
	}
}

/* Tlo jak w oryginale: gradient czarny -> granat, staly wzgledem ekranu.
   Pseudo-element zamiast background-attachment:fixed (dziala tez na iOS). */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, #000 0%, var(--wl-navy) 100%);
	pointer-events: none;
}

img, video, svg { max-width: 100%; height: auto; }
img { vertical-align: middle; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--wl-soft); }
:focus-visible { outline: 2px solid var(--wl-white); outline-offset: 3px; }
button { font: inherit; color: inherit; }
hr { border: 0; }
address { font-style: normal; }
::selection { background: var(--wl-white); color: var(--wl-navy); }

.wl-container {
	width: 100%;
	max-width: calc(var(--wl-container) + 2 * var(--wl-gutter));
	margin-inline: auto;
	padding-inline: var(--wl-gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.wl-skip {
	position: fixed;
	top: 8px; left: 8px;
	z-index: 10001;
	padding: 10px 18px;
	background: var(--wl-white);
	color: var(--wl-black);
	border-radius: 40px;
	transform: translateY(-200%);
	transition: transform .2s;
}
.wl-skip:focus { transform: none; }

.wl-icon { width: 1.2em; height: 1.2em; flex: none; }

/* 3. Naglowek i menu ------------------------------------------------------ */
.wl-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 1000;
	color: var(--wl-white);
	transition: transform .35s var(--wl-ease);
}
.admin-bar .wl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wl-header { top: 46px; } }

.wl-header__top {
	height: var(--wl-header-top);
	transition: height .3s var(--wl-ease), opacity .2s;
	overflow: hidden;
}
.wl-header__top-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
}
.wl-header__eu img { display: block; height: 22px; width: auto; }

.wl-header__bar {
	position: relative;
	transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.wl-header__bar-inner {
	height: var(--wl-header-bar);
	display: flex;
	align-items: center;
	gap: 24px;
}

/* Po przewinieciu: pasek gorny chowa sie, pasek glowny dostaje tlo z rozmyciem. */
.wl-header.is-scrolled .wl-header__top { height: 0; opacity: 0; }
.wl-header.is-scrolled .wl-header__bar {
	background: rgba(3, 10, 44, .78);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.wl-header.is-scrolled { --wl-header-bar: 76px; }
.wl-header.is-hidden { transform: translateY(-100%); }

/* Bez hero: tresc zaczyna sie pod naglowkiem. */
body:not(.wl-has-hero) .wl-main { padding-top: var(--wl-header-h); }

.wl-logo { flex: none; display: block; }
.wl-logo img { display: block; width: 193px; height: auto; transition: width .3s; }
.wl-header.is-scrolled .wl-logo img { width: 160px; }

.wl-panel {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-width: 0;
}
.wl-panel__extra { display: none; }

.wl-nav { flex: 1; display: flex; justify-content: center; }
.wl-nav__list, .wl-nav__sub { list-style: none; margin: 0; padding: 0; }
.wl-nav__list { display: flex; align-items: center; gap: 4px; }
.wl-nav__item { position: relative; display: flex; align-items: center; flex-wrap: wrap; }

.wl-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border: 0;
	background: none;
	color: var(--wl-white);
	font-family: var(--wl-font-head);
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: color .2s;
}
.wl-nav__link:hover, .wl-nav__item.is-current > .wl-nav__link { color: #d9d9d9; }
.wl-nav__item--d0 > .wl-nav__link { position: relative; }
.wl-nav__item--d0 > .wl-nav__link::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 2px;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--wl-ease);
}
.wl-nav__item--d0:hover > .wl-nav__link::after,
.wl-nav__item--d0.is-current > .wl-nav__link::after { transform: scaleX(1); }

.wl-nav__chev { width: 14px; height: 14px; transition: transform .25s; }
.wl-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px; height: 30px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.wl-nav__toggle .wl-icon { width: 14px; height: 14px; transition: transform .25s; }

/* Podmenu (desktop) */
@media (min-width: 1101px) {
	.wl-nav__sub {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 240px;
		padding: 8px 0;
		background: rgba(10, 22, 75, .97);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-radius: 14px;
		box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity .2s, transform .25s var(--wl-ease), visibility .2s;
	}
	.wl-nav__sub--2 { top: -8px; left: 100%; }
	.wl-nav__item--d0 > .wl-nav__sub { left: 0; }
	.wl-nav__item:hover > .wl-nav__sub,
	.wl-nav__item.is-open > .wl-nav__sub,
	.wl-nav__item:focus-within > .wl-nav__sub { opacity: 1; visibility: visible; transform: none; }
	.wl-nav__item:hover > .wl-nav__link .wl-nav__chev,
	.wl-nav__item.is-open > .wl-nav__link .wl-nav__chev,
	.wl-nav__item.is-open > .wl-nav__toggle .wl-icon { transform: rotate(180deg); }

	.wl-nav__sub { min-width: 270px; }
	.wl-nav__sub .wl-nav__item { display: flex; flex-wrap: nowrap; justify-content: space-between; }
	.wl-nav__sub .wl-nav__item > .wl-nav__link { min-width: 0; }
	.wl-nav__sub .wl-nav__link { flex: 1; padding: 11px 22px; font-size: 14px; }
	.wl-nav__sub .wl-nav__link:hover { background: rgba(255, 255, 255, .07); }
	.wl-nav__sub .wl-nav__toggle { margin: 0 12px 0 0; transform: rotate(-90deg); }
	.wl-nav__sub .wl-nav__item:hover > .wl-nav__toggle .wl-icon { transform: none; }
}

/* Przycisk "Kontakt" w naglowku */
.wl-btn--contact { flex: none; padding: 12px 36px; gap: 10px; }
.wl-btn--contact .wl-icon { width: 22px; height: 22px; }

/* Przelacznik jezykow */
.wl-lang { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1; }
.wl-lang a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; opacity: .75; transition: opacity .2s; }
.wl-lang a:hover, .wl-lang a.is-current { opacity: 1; }
.wl-lang a.is-current span { text-decoration: underline; text-underline-offset: 4px; }
.wl-lang svg { width: 18px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }

/* Hamburger */
.wl-burger {
	display: none;
	margin-left: auto;
	width: 46px; height: 46px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	position: relative;
	z-index: 2;
}
.wl-burger__box { position: relative; display: block; width: 28px; height: 20px; margin: auto; }
.wl-burger__box span {
	position: absolute;
	left: 0;
	width: 100%; height: 2px;
	background: var(--wl-white);
	border-radius: 2px;
	transition: transform .3s var(--wl-ease), opacity .2s, top .3s var(--wl-ease);
}
.wl-burger__box span:nth-child(1) { top: 0; }
.wl-burger__box span:nth-child(2) { top: 9px; }
.wl-burger__box span:nth-child(3) { top: 18px; }
.wl-menu-open .wl-burger__box span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.wl-menu-open .wl-burger__box span:nth-child(2) { opacity: 0; }
.wl-menu-open .wl-burger__box span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

@media (max-width: 1280px) {
	.wl-nav__link { padding-inline: 9px; font-size: 14px; }
	.wl-btn--contact { padding-inline: 24px; }
}

/* Mobile / tablet: panel wysuwany */
@media (max-width: 1100px) {
	:root { --wl-header-top: 44px; --wl-header-bar: 72px; }
	.wl-header.is-scrolled { --wl-header-bar: 64px; }
	.wl-header__top-inner { justify-content: space-between; }
	.wl-logo img { width: 160px; }
	.wl-header.is-scrolled .wl-logo img { width: 140px; }
	.wl-burger { display: block; }

	.wl-panel {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 28px;
		padding: calc(var(--wl-header-bar) + 24px) var(--wl-gutter) 40px;
		background: linear-gradient(180deg, #000 0%, var(--wl-navy) 100%);
		overflow-y: auto;
		overscroll-behavior: contain;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity .3s, transform .35s var(--wl-ease), visibility .3s;
	}
	.admin-bar .wl-panel { top: 46px; }
	.wl-menu-open .wl-panel { opacity: 1; visibility: visible; transform: none; }
	.wl-menu-open { overflow: hidden; }
	.wl-menu-open .wl-header__bar { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }

	.wl-nav { flex: none; display: block; }
	.wl-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.wl-nav__item { border-bottom: 1px solid var(--wl-line); }
	.wl-nav__link { flex: 1; padding: 16px 0; font-size: 18px; justify-content: space-between; white-space: normal; text-align: left; }
	.wl-nav__item--d0 > .wl-nav__link::after { display: none; }
	.wl-nav__toggle { width: 48px; height: 48px; margin: 0; }
	.wl-nav__toggle .wl-icon, .wl-nav__chev { width: 20px; height: 20px; }
	.wl-nav__sub {
		display: none;
		width: 100%;
		padding: 0 0 12px 16px;
		border-left: 2px solid var(--wl-line);
		margin-left: 4px;
	}
	.wl-nav__item.is-open > .wl-nav__sub { display: block; animation: wl-drop .3s var(--wl-ease); }
	.wl-nav__item.is-open > .wl-nav__toggle .wl-icon,
	.wl-nav__item.is-open > .wl-nav__link .wl-nav__chev { transform: rotate(180deg); }
	.wl-nav__sub .wl-nav__item { border: 0; }
	.wl-nav__sub .wl-nav__link { padding: 10px 0; font-size: 15px; }

	.wl-btn--contact { align-self: flex-start; }
	.wl-panel__extra { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--wl-line); }
	.wl-panel__lang { display: none; }
	.wl-panel__phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
}
@keyframes wl-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 480px) {
	.wl-header__eu img { height: 20px; }
	.wl-lang { gap: 12px; }
}

/* 4. Przyciski ------------------------------------------------------------- */
.wl-btn,
.wp-block-button__link,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 11px 36px;
	border: 2px solid var(--wl-white);
	border-radius: 40px;
	background: transparent;
	color: var(--wl-soft);
	font-family: var(--wl-font-head);
	font-size: 16px;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--wl-ease);
}
.wl-btn:hover,
.wp-block-button__link:hover,
.wpcf7-submit:hover {
	background: var(--wl-white);
	color: var(--wl-black);
	transform: translateY(-2px);
}
.wl-btn:active, .wp-block-button__link:active { transform: none; }
.wl-btn .wl-icon { width: 18px; height: 18px; }
.wl-btn--ghost { border-color: rgba(255, 255, 255, .45); }

.wp-block-button.is-style-wl-solid .wp-block-button__link { background: var(--wl-white); color: var(--wl-navy); }
.wp-block-button.is-style-wl-solid .wp-block-button__link:hover { background: transparent; color: var(--wl-white); }
.wp-block-buttons { gap: 16px; }
.wp-block-buttons:not(:first-child) { margin-top: 32px; }

/* 5. Typografia ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	font-family: var(--wl-font-head);
	font-weight: 400;
	line-height: 1.1;
	overflow-wrap: break-word;
	hyphens: manual;
}
h1 { font-size: clamp(28px, 4vw, 48px); text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.6vw, 48px); }
h3 { font-size: clamp(18px, 1.8vw, 24px); }
h4 { font-size: 18px; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.wl-entry p, .wl-entry li { font-size: 16px; line-height: 1.8; }
.wl-entry strong, .wl-entry b { font-weight: 700; }
.wl-entry ul:not(.wl-footer__list), .wl-entry ol { padding-left: 1.3em; }
.wl-entry li + li { margin-top: .35em; }
.wl-entry :where(p, li) > a:not(.wl-btn) { text-decoration: underline; }
.wl-post-card a, .wl-offer-card a, .wl-person a, .wl-contact-card a { text-decoration: none; }

.is-style-wl-eyebrow,
.wl-eyebrow {
	margin: 0 0 14px;
	font-family: var(--wl-font-head);
	font-size: clamp(13px, 1.2vw, 18px);
	line-height: 1.25;
	letter-spacing: .5em;
	text-transform: uppercase;
}
.is-style-wl-lead { font-size: 18px; line-height: 1.8; }

.is-style-wl-line::after,
.wl-hero__title::after {
	content: "";
	display: block;
	width: 200px;
	max-width: 50%;
	height: 2px;
	margin: 28px auto 0;
	background: currentColor;
	transform-origin: center;
}
.has-text-align-left.is-style-wl-line::after { margin-left: 0; }

.wl-section-title { text-align: center; text-transform: uppercase; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-text-align-justify { text-align: justify; }
.is-uppercase, .has-text-transform-uppercase { text-transform: uppercase; }

/* 6. Sekcje i hero -------------------------------------------------------- */
.wl-entry { padding-bottom: 1px; }
.wl-entry > * { margin-block: 0; }
.wl-entry > .wp-block-group.alignfull,
.wl-entry > .wp-block-cover.alignfull { margin-block: 0; }

.wl-section { padding-block: var(--wl-section-y); }
.wl-section.is-tight { padding-block: calc(var(--wl-section-y) * .5); }
.wl-section > * + * { margin-top: 32px; }
.wl-section.wl-section--title { padding-bottom: 0; }
.wl-section.wl-section--title + .wl-section { padding-top: 40px; }
.wl-section--title h2 { margin-bottom: 0; }

.wl-cta { text-align: center; padding-block: clamp(80px, 10vw, 140px); }
.wl-cta h2 { font-size: clamp(22px, 3vw, 36px); text-transform: uppercase; margin-bottom: 36px; }

/* Hero - blok okladki w tresci strony */
.wp-block-cover.wl-hero,
.wp-block-cover.is-style-wl-hero,
.wl-hero--tpl {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	padding: calc(var(--wl-header-h) + 20px) var(--wl-gutter) 60px;
	overflow: hidden;
	color: var(--wl-white);
	text-align: center;
}
.wp-block-cover.wl-hero .wp-block-cover__inner-container { width: 100%; max-width: var(--wl-container); }
.wp-block-cover.wl-hero .wp-block-cover__image-background,
.wl-hero__img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transform: scale(1.08);
	animation: wl-hero-zoom 1.8s var(--wl-ease) forwards;
}
@keyframes wl-hero-zoom { to { transform: scale(1); } }
.wl-hero__shade { position: absolute; inset: 0; background: rgba(10, 22, 75, .5); }
.wl-hero__inner { position: relative; z-index: 1; }
.wl-hero h1, .wl-hero__title { margin: 0 auto; max-width: 1000px; font-size: clamp(26px, 3.6vw, 48px); line-height: 1.1; text-transform: uppercase; }
.wl-hero--small { min-height: 360px; }
.wl-hero__eyebrow { margin-bottom: 18px; font-size: 13px; }
.wl-hero__meta { margin-top: 20px; font-size: 14px; opacity: .85; }
.wl-crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.wl-crumbs a { text-decoration: none; opacity: .85; }
.wl-crumbs a:hover { opacity: 1; text-decoration: underline; }

/* Hero strony glownej: wideo, logo, haslo */
.wp-block-cover.wl-hero--home { min-height: max(620px, 100svh); }
.wl-hero--home .wp-block-cover__video-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-hero--home .wp-block-cover__inner-container { position: static; }
.wl-hero--home .wp-block-cover__inner-container > * { position: relative; z-index: 1; }
.wl-hero--home .wp-block-image { margin: 0 auto 36px; max-width: min(660px, 86vw); }
.wl-hero--home .wp-block-image img { width: 100%; }
.wl-hero--home h1 { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.3; max-width: 640px; }
.wl-hero--home h1::after { display: none; }
.wl-hero--home .wl-scroll-hint {
	position: absolute;
	z-index: 1;
	left: 50%; bottom: 28px;
	width: 26px; height: 42px;
	border: 2px solid rgba(255, 255, 255, .7);
	border-radius: 20px;
	transform: translateX(-50%);
}
.wl-scroll-hint::after {
	content: "";
	position: absolute;
	top: 8px; left: 50%;
	width: 4px; height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: var(--wl-white);
	animation: wl-scroll 1.8s infinite;
}
@keyframes wl-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Pas ze zdjeciem w tle i napisem (np. "Sklep spozywczy - meble sklepowe") */
.wp-block-cover.wl-band { min-height: 400px; padding-block: 60px; }
.wp-block-cover.wl-band h2 { font-size: clamp(22px, 3vw, 36px); text-transform: uppercase; margin: 0; }
.wp-block-cover.wl-band .wp-block-cover__background { background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15)) !important; opacity: 1 !important; }

/* 7. Kolumny (tekst + zdjecie/slider) ------------------------------------- */
.wp-block-columns { gap: clamp(28px, 4vw, 60px); margin-bottom: 0; }
.wp-block-columns.wl-split { align-items: center; }
.wp-block-column > *:first-child { margin-top: 0; }
.wl-split h2 { font-size: clamp(28px, 3.6vw, 48px); text-transform: uppercase; }
.wl-split p { font-size: 16px; }

.wp-block-image { margin: 0; }
.wp-block-image img,
.wp-block-image.is-style-wl-rounded img,
.wl-rounded img { border-radius: var(--wl-radius); }
.wp-block-image.is-style-wl-rounded img { box-shadow: var(--wl-shadow); }
.wp-block-image.is-style-default img, .wl-plain img { border-radius: 0; box-shadow: none; }
.wp-block-image figcaption { font-size: 13px; opacity: .75; text-align: center; }

/* Karta / panel */
.wl-split .wp-block-column:has(> .wl-cell-img) { align-self: stretch; }
.wl-cell-img { height: 100%; min-height: 360px; }
.wl-cell-img img { width: 100%; height: 100% !important; object-fit: cover; box-shadow: var(--wl-shadow); }

.wp-block-group.is-style-wl-card {
	padding: clamp(24px, 3vw, 44px);
	border-radius: var(--wl-radius);
	background: rgba(10, 22, 75, .75);
	box-shadow: var(--wl-shadow);
}
.wp-block-group.is-style-wl-panel {
	padding: clamp(24px, 3vw, 44px);
	border-radius: var(--wl-radius);
	background: var(--wl-soft);
	color: #111;
}

/* 8. Galerie ---------------------------------------------------------------- */
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: var(--wl-radius); }
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { margin: 0; }

/* Siatka z powiekszeniem */
.wp-block-gallery.is-style-wl-grid { gap: 14px; }
.wp-block-gallery.is-style-wl-grid figure.wp-block-image img { height: auto !important; object-fit: contain; transition: transform .5s var(--wl-ease), filter .3s; }
.wp-block-gallery.is-style-wl-grid.is-cropped figure.wp-block-image:not(#individual-image) img { height: auto; }
.wp-block-gallery.is-style-wl-grid figure.wp-block-image { overflow: hidden; border-radius: var(--wl-radius); }
.wp-block-gallery.is-style-wl-grid figure.wp-block-image:hover img { transform: scale(1.05); }

/* Slider (JS buduje .wl-slider wokol galerii) */
.wl-slider { position: relative; border-radius: var(--wl-radius); overflow: hidden; box-shadow: var(--wl-shadow); isolation: isolate; }
.wl-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.wl-slider__track::-webkit-scrollbar { display: none; }
.wl-slider__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; position: relative; }
.wl-slider__slide img { display: block; width: 100%; aspect-ratio: var(--wl-ratio, 4 / 3); object-fit: cover; border-radius: 0 !important; }
.wl-slider__slide a { display: block; cursor: zoom-in; }
.wl-slider__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .35);
	color: var(--wl-white);
	cursor: pointer;
	opacity: 0;
	transition: opacity .25s, background-color .2s;
}
.wl-slider:hover .wl-slider__nav, .wl-slider__nav:focus-visible { opacity: 1; }
.wl-slider__nav:hover { background: rgba(0, 0, 0, .6); }
.wl-slider__nav--prev { left: 14px; }
.wl-slider__nav--next { right: 14px; }
.wl-slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.wl-slider__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; transition: transform .2s, background-color .2s; }
.wl-slider__dot[aria-current="true"] { background: var(--wl-white); transform: scale(1.25); }
@media (hover: none) { .wl-slider__nav { opacity: .9; } }

/* Galeria z miniaturami */
.wl-thumbs { border-radius: var(--wl-radius); overflow: hidden; box-shadow: var(--wl-shadow); background: rgba(0, 0, 0, .25); }
.wl-thumbs .wl-slider { border-radius: 0; box-shadow: none; }
.wl-thumbs .wl-slider__slide img { aspect-ratio: 16 / 9; }
.wl-thumbs__strip {
	display: flex;
	gap: 6px;
	padding: 6px;
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, .35) transparent;
}
.wl-thumbs__btn { flex: 0 0 auto; width: 96px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.wl-thumbs__btn img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important; }
.wl-thumbs__btn:hover { opacity: .9; }
.wl-thumbs__btn[aria-current="true"] { opacity: 1; border-color: var(--wl-white); }

/* Logotypy klientow - przewijany pasek */
.wp-block-gallery.is-style-wl-logos { display: block; }
.wl-logos { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.wl-logos__track { display: flex; align-items: center; gap: clamp(36px, 5vw, 72px); width: max-content; animation: wl-marquee var(--wl-marquee, 40s) linear infinite; }
.wl-logos:hover .wl-logos__track { animation-play-state: paused; }
.wl-logos__item { flex: none; margin: 0; }
.wl-logos__item img { display: block; height: clamp(40px, 4.4vw, 60px); width: auto; max-width: 200px; object-fit: contain; border-radius: 0 !important; filter: brightness(0) invert(1); opacity: .85; transition: opacity .2s, transform .3s var(--wl-ease); }
.wl-logos__item img:hover { transform: scale(1.06); }
.wl-logos__item img:hover { opacity: 1; }
@keyframes wl-marquee { to { transform: translateX(-50%); } }
/* Przed zainicjowaniem JS logotypy w rzedzie */
.wp-block-gallery.is-style-wl-logos:not(.wl-ready) { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.wp-block-gallery.is-style-wl-logos:not(.wl-ready) img { height: 60px; width: auto; }

/* 9. Karty oferty ----------------------------------------------------------- */
.wl-offer {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	max-width: 1264px !important;
}
.wl-offer > *, .wl-offer-card > * { margin: 0 !important; }
.wl-offer-card {
	position: relative;
	aspect-ratio: 300 / 460;
	border-radius: var(--wl-radius);
	overflow: hidden;
	box-shadow: var(--wl-shadow);
	isolation: isolate;
}
.wl-offer-card > .wp-block-image,
.wl-offer-card > .wp-block-image img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; border-radius: 0 !important; margin: 0; }
.wl-offer-card > .wp-block-image img { transition: transform .8s var(--wl-ease), filter .5s, opacity .5s; }
.wl-offer-card > .wl-offer-card__hover { z-index: 2; opacity: 0; transition: opacity .5s var(--wl-ease); pointer-events: none; }
.wl-offer-card:hover > .wl-offer-card__hover, .wl-offer-card:focus-within > .wl-offer-card__hover { opacity: .25; }
.wl-offer-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(5, 28, 127, 0) 45%, rgba(5, 28, 127, .55) 100%);
	transition: background-color .5s;
}
.wl-offer-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(5, 28, 127, .78);
	opacity: 0;
	transition: opacity .5s var(--wl-ease);
}
.wl-offer-card__label {
	position: absolute;
	left: 30px; right: 20px; bottom: 26px;
	z-index: 3;
	margin: 0 !important;
	font-family: var(--wl-font-body) !important;
	font-size: clamp(15px, 1.25vw, 18px) !important;
	line-height: 1.2;
	text-transform: none !important;
	transition: opacity .35s, transform .5s var(--wl-ease);
}
.wl-offer-card__label a { text-decoration: none; }
.wl-offer-card__label a::after { content: ""; position: absolute; inset: -2000px; z-index: 5; } /* cala karta klikalna */
.wl-offer-card__title,
.wl-offer-card__text {
	position: absolute;
	left: 24px; right: 24px;
	z-index: 3;
	margin: 0 !important;
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .45s, transform .6s var(--wl-ease);
}
.wl-offer-card__title { top: 30%; font-size: 18px !important; text-transform: uppercase; }
.wl-offer-card__text { top: calc(30% + 56px); font-size: 14px !important; line-height: 1.6 !important; }
.wl-offer-card:hover > .wp-block-image img, .wl-offer-card:focus-within > .wp-block-image img { transform: scale(1.08); filter: grayscale(.4); }
.wl-offer-card:hover::after, .wl-offer-card:focus-within::after { opacity: 1; }
.wl-offer-card:hover .wl-offer-card__label, .wl-offer-card:focus-within .wl-offer-card__label { opacity: 0; transform: translateY(12px); }
.wl-offer-card:hover .wl-offer-card__title, .wl-offer-card:focus-within .wl-offer-card__title,
.wl-offer-card:hover .wl-offer-card__text, .wl-offer-card:focus-within .wl-offer-card__text { opacity: 1; transform: none; }
.wl-offer-card:hover .wl-offer-card__text { transition-delay: .06s; }
.wl-offer-card__label::after { content: "_"; animation: wl-caret 1s steps(1) infinite; margin-left: 1px; }
.wl-offer-card__label a::before { content: none; }
@keyframes wl-caret { 50% { opacity: 0; } }

@media (max-width: 1024px) {
	.wl-offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.wl-offer { grid-template-columns: 1fr; gap: 14px; }
	.wl-offer-card { aspect-ratio: 4 / 3.4; }
	/* Na dotyku opis widoczny od razu - brak hovera */
	.wl-offer-card::after { opacity: .55; }
	.wl-offer-card__title { top: auto; bottom: 88px; opacity: 1; transform: none; }
	.wl-offer-card__text { top: auto; bottom: 22px; opacity: 1; transform: none; font-size: 13px !important; }
	.wl-offer-card__label { display: none; }
}

/* Handlowcy */
.wl-people {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(48px, 6vw, 90px) 40px;
	max-width: 1140px;
	margin-inline: auto;
}
.wl-people--1 { grid-template-columns: 1fr; }
.wl-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.wl-person__photo {
	width: 180px; height: 180px;
	margin-bottom: 22px;
	border-radius: var(--wl-radius-lg);
	object-fit: cover;
	object-position: top;
	background: var(--wl-white);
	box-shadow: var(--wl-shadow);
	transition: transform .5s var(--wl-ease);
}
.wl-person:hover .wl-person__photo { transform: translateY(-6px); }
.wl-person__name { margin: 0; font-size: 20px; letter-spacing: 1px; line-height: 1.2; }
.wl-person__role { margin: 4px 0 12px; font-family: var(--wl-font-head); font-size: 13px; line-height: 1.3; opacity: .9; }
.wl-person__phone, .wl-person__mail { display: inline-flex; align-items: center; gap: 10px; font-family: var(--wl-font-head); font-size: 16px; line-height: 1.6; text-decoration: none !important; }
.wl-person__phone .wl-icon { width: 18px; height: 18px; }
.wl-person__phone:hover, .wl-person__mail:hover { text-decoration: underline !important; }
@media (max-width: 700px) {
	.wl-people { grid-template-columns: 1fr; }
	.wl-person__mail { font-size: 14px; word-break: break-all; }
}

/* Wpisy blogowe */
.wl-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); }
.wl-post-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.wl-post-card__media { display: block; width: 100%; aspect-ratio: 3 / 2; margin-bottom: 26px; border: 2px solid transparent; border-radius: var(--wl-radius); overflow: hidden; background: rgba(255, 255, 255, .05); transition: border-color .3s; }
.wl-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--wl-ease); }
.wl-post-card:hover .wl-post-card__media { border-color: var(--wl-white); }
.wl-post-card:hover .wl-post-card__media img { transform: scale(1.05); }
.wl-post-card__title { margin: 0 0 18px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.15; text-transform: uppercase; }
.wl-post-card__title a { text-decoration: none; }
.wl-post-card__excerpt { flex: 1; margin-bottom: 26px; font-size: 16px; line-height: 1.8; }
.wl-post-card__more { font-size: 14px; padding-inline: 30px; }
.wl-blog-lead { margin-bottom: 40px; font-size: clamp(20px, 2.4vw, 30px); text-transform: uppercase; }
@media (max-width: 900px) { .wl-posts { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.wl-entry--post { padding-block: var(--wl-section-y) 0; }
.wl-entry--post > * { max-width: 860px !important; }
.wl-entry--post > * + * { margin-top: 1.2em; }
.wl-entry--post h2 { font-size: clamp(22px, 2.6vw, 32px); margin-top: 1.6em; text-transform: uppercase; }
.wl-entry--post h3 { margin-top: 1.4em; }
.wl-entry--post p { font-size: 17px; }
.wl-entry--post img { border-radius: var(--wl-radius); }
.wl-entry__back { margin-top: 48px !important; }
.nav-links { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 2px solid var(--wl-line); border-radius: 40px; text-decoration: none; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { border-color: var(--wl-white); background: var(--wl-white); color: var(--wl-black); }

/* 10. Kontakt, formularze, mapa -------------------------------------------- */
.wl-contact-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	height: 100%;
	min-height: 440px;
	padding: 48px 28px;
	border-radius: var(--wl-radius);
	background: var(--wl-navy-deep);
	box-shadow: var(--wl-shadow);
	text-align: center;
}
.wl-contact-card__title { margin: 0 0 6px; font-family: var(--wl-font-head); font-size: clamp(24px, 2.4vw, 30px); text-transform: uppercase; }
.wl-contact-card__row { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.5; text-decoration: none; text-align: left; }
.wl-contact-card__row .wl-icon { margin-top: 3px; }
.wl-contact-card__phone { font-family: var(--wl-font-head); font-size: 18px; }
.wl-contact-card__mail { font-family: var(--wl-font-head); text-transform: uppercase; }
.wl-contact-card__row:hover span { text-decoration: underline; }
.wl-contact-card__logo { width: 220px; margin-top: 36px; }

.wpcf7-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.wl-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.wl-field--full { grid-column: 1 / -1; }
.wl-field > label, .wl-field__label { font-size: 14px; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 10px 4px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .6);
	border-radius: 0;
	background: transparent;
	color: var(--wl-white);
	font: inherit;
	font-size: 16px;
	transition: border-color .2s, background-color .2s;
}
.wpcf7 select { cursor: pointer; }
.wpcf7 select option { background: var(--wl-navy-deep); color: var(--wl-white); }
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: rgba(255, 255, 255, .5); }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-bottom-color: var(--wl-white); background: rgba(255, 255, 255, .04); }
.wpcf7 input[type="file"] { font-size: 14px; color: var(--wl-muted); }
.wpcf7 input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 20px; border: 2px solid var(--wl-white); border-radius: 40px; background: transparent; color: var(--wl-white); font-family: var(--wl-font-head); font-size: 12px; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.wpcf7 input[type="file"]::file-selector-button:hover { background: var(--wl-white); color: var(--wl-black); }
.wpcf7 .wpcf7-acceptance, .wpcf7 .wl-consent { font-size: 12px; line-height: 1.6; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.wpcf7 input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--wl-white); }
.wpcf7-submit { justify-self: start; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 14px; align-self: center; }
.wpcf7-not-valid-tip { margin-top: 6px; color: #ffb4b4; font-size: 13px; }
.wpcf7 form .wpcf7-response-output { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border: 2px solid var(--wl-white); border-radius: 14px; font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #6fe3a1; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #ffb4b4; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.wpcf7-form .hidden-fields-container, .wpcf7 fieldset.hidden-fields-container { display: none; border: 0; margin: 0; padding: 0; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7-form > .wpcf7-form-control-wrap:not(:has(input:not([type="hidden"]), textarea, select)) { display: none; }
.wpcf7 .wpcf7-spinner { visibility: hidden; display: inline-block; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: wl-spin .8s linear infinite; }
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
.wl-consent { margin: 0; font-size: 12px !important; line-height: 1.6 !important; opacity: .85; }
.wl-consent a { text-decoration: underline; }
.wl-field--file small { font-size: 12px; opacity: .7; }
.wl-contact .wp-block-column { align-self: stretch; }
.wl-form-actions { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
@media (max-width: 700px) { .wpcf7-form { grid-template-columns: 1fr; } }

.wl-map {
	position: relative;
	height: var(--wl-map-h, 450px);
	border-radius: var(--wl-radius);
	overflow: hidden;
	background: linear-gradient(135deg, #0a164b, #051c7f);
	box-shadow: var(--wl-shadow);
}
.wl-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.wl-map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.wl-map__placeholder .wl-icon { width: 44px; height: 44px; }
.wl-map__placeholder p { max-width: 420px; font-size: 14px; }
.wl-map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.wl-map.is-loaded .wl-map__placeholder { display: none; }

/* YouTube (fasada) */
.wl-yt { position: relative; margin: 0; border-radius: var(--wl-radius); overflow: hidden; box-shadow: var(--wl-shadow); background: #000; aspect-ratio: 16 / 9; }
.wl-yt__btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.wl-yt__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s var(--wl-ease); }
.wl-yt__btn:hover img { opacity: 1; transform: scale(1.03); }
.wl-yt__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 2px solid #fff; border-radius: 50%; background: rgba(5, 28, 127, .7); backdrop-filter: blur(4px); transition: transform .3s var(--wl-ease), background-color .3s; }
.wl-yt__play::after { content: ""; position: absolute; left: 30px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.wl-yt__btn:hover .wl-yt__play { transform: scale(1.1); background: rgba(5, 28, 127, .95); }
.wl-yt__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-size: 14px; text-align: left; }
.wl-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wp-block-column > .wl-yt + * { margin-top: 20px; }

/* Osadzone PDF / flipbook */
.wl-embed { border-radius: var(--wl-radius); overflow: hidden; box-shadow: var(--wl-shadow); }
.wl-catalog { display: flex; justify-content: center; }

/* 11. Stopka ----------------------------------------------------------------- */
.wl-footer { position: relative; background: var(--wl-black); padding-top: clamp(56px, 7vw, 90px); font-size: 14px; }
.wl-footer__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr 1.35fr; gap: 36px 28px; }
.wl-footer__logo img { width: 190px; margin-bottom: 26px; }
.wl-footer__brand { font-size: 12px; line-height: 1.6; }
.wl-footer__brand p { margin: 0 0 12px; }
.wl-footer__brand a { text-decoration: none; }
.wl-footer__brand a:hover { text-decoration: underline; }
.wl-footer__address { margin-bottom: 14px; }
.wl-footer__title { margin: 0 0 18px; font-size: 16px; }
.wl-footer__list { list-style: none; margin: 0; padding: 0; }
.wl-footer__list li { margin: 0 0 8px; }
.wl-footer__list a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1.6; transition: opacity .2s; }
.wl-footer__list a:hover { text-decoration: underline; }
.wl-footer__social .wl-icon { width: 16px; height: 16px; }
.wl-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 80px); padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 11px; }
.wl-footer__bottom p { margin: 0; }
.wl-footer__bottom a { text-decoration: none; }
@media (max-width: 1024px) { .wl-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wl-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .wl-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wl-footer__bottom { justify-content: center; text-align: center; } }

/* Widget boczny (Dojazd / Facebook / LinkedIn) */
.wl-float { position: fixed; right: 16px; top: 30%; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.wl-float__item {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border-radius: 8px;
	background: #f5f5f5;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
	transition: transform .18s ease, box-shadow .18s ease;
}
.wl-float__item img { width: 28px; height: 28px; object-fit: contain; }
.wl-float__item:hover { transform: translateX(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.wl-float__label {
	position: absolute;
	right: calc(100% + 10px);
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--wl-white);
	color: var(--wl-black);
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	transform: translateX(6px);
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.wl-float__item:hover .wl-float__label, .wl-float__item:focus-visible .wl-float__label { opacity: 1; transform: none; }
@media (max-width: 782px) {
	.wl-float { top: auto; bottom: 84px; right: 10px; gap: 8px; }
	.wl-float__item { width: 38px; height: 38px; }
	.wl-float__item img { width: 22px; height: 22px; }
	.wl-float__label { display: none; }
}

.wl-totop {
	position: fixed;
	right: 16px; bottom: 20px;
	z-index: 900;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 2px solid var(--wl-white);
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s, transform .3s var(--wl-ease), visibility .3s, background-color .2s;
}
.wl-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.wl-totop:hover { background: var(--wl-white); color: var(--wl-black); }
@media (max-width: 782px) { .wl-totop { right: 10px; bottom: 26px; width: 38px; height: 38px; } }

/* 404 */
.wl-404 { text-align: center; }
.wl-404__code { margin: 0 0 10px; font-family: var(--wl-font-head); font-size: clamp(80px, 16vw, 200px); line-height: 1; opacity: .15; }
.wl-404 .wl-btn { margin: 8px; }

/* 12. Zgody cookies --------------------------------------------------------- */
.wl-cc { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px 18px; opacity: 0; transition: opacity .28s ease; }
.wl-cc[hidden] { display: none; }
.wl-cc.is-visible { opacity: 1; }
.wl-cc__backdrop { position: absolute; inset: 0; background: rgba(0, 6, 34, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wl-cc__card {
	position: relative;
	z-index: 1;
	width: min(720px, 94vw);
	max-height: 92vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 44px 48px 36px;
	border-top: 4px solid var(--wl-white);
	border-radius: 18px;
	background: linear-gradient(180deg, #0b1450 0%, #061a73 100%);
	color: var(--wl-white);
	box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
	text-align: center;
	transform: translateY(18px) scale(.98);
	transition: transform .32s var(--wl-ease);
}
.wl-cc.is-visible .wl-cc__card { transform: none; }
.wl-cc__logo { display: block; width: 220px; height: auto; margin: 0 auto 24px; }
.wl-cc__title { margin: 0 0 10px; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; text-transform: uppercase; }
.wl-cc__lead { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: #b9c6ff; }
.wl-cc__msg { max-width: 58ch; margin: 0 auto 20px; font-size: 14px; line-height: 1.7; }
.wl-cc__list { max-width: 58ch; margin: 0 auto 28px; padding: 18px 22px; list-style: none; text-align: left; background: rgba(255, 255, 255, .07); border-radius: 12px; }
.wl-cc__list li { position: relative; margin: 0 0 8px; padding-left: 20px; font-size: 13px; line-height: 1.55; }
.wl-cc__list li:last-child { margin-bottom: 0; }
.wl-cc__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--wl-white); }
.wl-cc__list strong { font-family: var(--wl-font-head); font-weight: 400; }
.wl-cc__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.wl-cc__btn {
	flex: 1 1 240px;
	max-width: 300px;
	white-space: nowrap;
	min-height: 52px;
	padding: 14px 26px;
	border: 2px solid var(--wl-white);
	border-radius: 40px;
	font-family: var(--wl-font-head);
	font-size: 13px;
	letter-spacing: .02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.wl-cc__btn:focus-visible { outline: 2px solid #b9c6ff; outline-offset: 3px; }
.wl-cc__btn--accept { background: var(--wl-white); color: var(--wl-navy); }
.wl-cc__btn--accept:hover { background: #dfe5ff; border-color: #dfe5ff; transform: translateY(-2px); }
.wl-cc__btn--ghost { background: transparent; color: var(--wl-white); border-color: rgba(255, 255, 255, .5); }
.wl-cc__btn--ghost:hover { border-color: var(--wl-white); background: rgba(255, 255, 255, .08); }
.wl-cc__note { margin: 20px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.wl-cc__note a { color: var(--wl-white); text-decoration: underline; margin-left: 4px; }
html.wl-cc-lock, html.wl-cc-lock body { overflow: hidden !important; }
@media (max-width: 640px) {
	.wl-cc { padding: 14px 12px; }
	.wl-cc__card { width: 100%; max-height: 94vh; padding: 30px 22px 26px; }
	.wl-cc__logo { width: 180px; margin-bottom: 18px; }
	.wl-cc__actions { flex-direction: column; }
	.wl-cc__btn { width: 100%; max-width: none; flex: none; }
}

/* Lightbox */
.wl-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(0, 3, 20, .94); opacity: 0; transition: opacity .25s; touch-action: pan-y; }
.wl-lb.is-open { opacity: 1; }
.wl-lb__img { max-width: min(92vw, 1600px); max-height: 86vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transition: opacity .2s, transform .3s var(--wl-ease); }
.wl-lb__img.is-loading { opacity: .3; transform: scale(.98); }
.wl-lb__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--wl-white); cursor: pointer; transition: background-color .2s; }
.wl-lb__btn:hover { background: rgba(255, 255, 255, .22); }
.wl-lb__btn .wl-icon { width: 26px; height: 26px; }
.wl-lb__close { top: 18px; right: 18px; }
.wl-lb__prev { left: 18px; top: 50%; margin-top: -26px; }
.wl-lb__next { right: 18px; top: 50%; margin-top: -26px; }
.wl-lb__count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 13px; opacity: .8; }
@media (max-width: 700px) { .wl-lb__prev, .wl-lb__next { top: auto; bottom: 10px; margin: 0; } .wl-lb__count { bottom: 26px; } }

/* 13. Animacje przy przewijaniu -------------------------------------------- */
.wl-js .wl-reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .8s var(--wl-ease), transform .9s var(--wl-ease); transition-delay: var(--wl-delay, 0s); }
.wl-js .wl-reveal.wl-reveal--left { transform: translate3d(-40px, 0, 0); }
.wl-js .wl-reveal.wl-reveal--right { transform: translate3d(40px, 0, 0); }
.wl-js .wl-reveal.wl-reveal--zoom { transform: scale(.94); }
.wl-js .wl-reveal.is-in { opacity: 1; transform: none; }
.wl-js .is-style-wl-line.wl-reveal::after, .wl-js .wl-hero__title::after { transform: scaleX(0); transition: transform 1s .3s var(--wl-ease); }
.wl-js .is-style-wl-line.wl-reveal.is-in::after, .wl-js .wl-hero__title.is-in::after, .wl-js .wl-hero .is-style-wl-line::after { transform: scaleX(1); }
.wl-hero .wp-block-cover__inner-container > * { animation: wl-fade-up 1s .15s var(--wl-ease) both; }
.wl-hero .wp-block-cover__inner-container > * + * { animation-delay: .35s; }
.wl-hero__inner > * { animation: wl-fade-up 1s .15s var(--wl-ease) both; }
@keyframes wl-fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.wl-js .wl-reveal { opacity: 1; transform: none; }
	.wl-logos__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* Responsywnosc sekcji -------------------------------------------------------- */
@media (max-width: 781px) {
	.wp-block-columns.wl-split { gap: 32px; }
	.wp-block-cover.wl-hero, .wl-hero--tpl { min-height: 320px; padding-bottom: 44px; }
	.wl-hero h1, .wl-hero__title { font-size: clamp(22px, 7vw, 32px); }
	.wl-entry p, .wl-entry li { font-size: 15px; }
}

/* Druk */
@media print {
	.wl-header, .wl-float, .wl-totop, .wl-cc, .wl-footer__grid nav { display: none !important; }
	body { color: #000; background: #fff; }
	body::before { display: none; }
}

/* 15. Formularz leadowy (wtyczka Wireland Forms) - skorka w stylu strony --------- */
.wf-wrap { --wf-accent: #fff; --wf-accent-text: var(--wl-navy); --wf-text: #fff; --wf-muted: rgba(255, 255, 255, .5); color: #fff; font-family: var(--wl-font-body); }
.wf-layout-section { padding: 0; background: none; border-radius: 0; }
.wf-layout-section .wf-inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 60px); max-width: none; }
.wf-intro { padding: 44px 36px; border-radius: var(--wl-radius); background: var(--wl-navy-deep); box-shadow: var(--wl-shadow); }
.wf-eyebrow { font-family: var(--wl-font-head); font-size: 14px; font-weight: 400; letter-spacing: .5em; text-transform: uppercase; }
.wf-heading { font-family: var(--wl-font-head); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; }
.wf-subheading { font-size: 15px; line-height: 1.7; }
.wf-intro__contact { margin-top: 28px; display: grid; gap: 12px; }
.wf-intro__contact a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--wl-font-head); text-decoration: none; }
.wf-intro__contact .wl-icon { width: 20px; height: 20px; }
.wf-card { padding: 0; background: none; box-shadow: none !important; border-radius: 0; }
.wf-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.wf-form > .wf-field-subject, .wf-form > .wf-field:has(textarea), .wf-form > .wf-consent, .wf-form > .wf-submit, .wf-form > .wf-message { grid-column: 1 / -1; }
.wf-field { margin-bottom: 22px; }
.wf-label { color: #fff; font-size: 14px; font-weight: 400; margin: 0 0 4px; }
.wf-req { color: #b9c6ff; }
.wf-form input[type="text"], .wf-form input[type="email"], .wf-form input[type="tel"], .wf-form textarea {
	padding: 10px 4px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .6); border-radius: 0;
	background: transparent; color: #fff; font-size: 16px;
}
.wf-form input:focus, .wf-form textarea:focus { border-color: #fff; background: rgba(255, 255, 255, .04); }
.wf-form .iti--separate-dial-code .iti__selected-flag { background: transparent; }
.wf-form .iti__selected-dial-code { color: #fff; }
.wf-form .iti__country-list { color: #111; }
.wf-form .iti--separate-dial-code input[type="tel"] { padding-left: 92px !important; }
.wf-consent { color: rgba(255, 255, 255, .85); margin: 4px 0 22px; }
.wf-consent, .wf-consent label, .wf-consent span, .wf-consent a { font-size: 12px !important; }
.wf-consent a { color: #fff; }
.wf-consent input[type="checkbox"] { accent-color: #fff; }
.wf-submit {
	justify-self: start; width: auto; min-height: 48px; padding: 11px 44px;
	border: 2px solid #fff; border-radius: 40px; background: transparent; color: var(--wl-soft);
	font-family: var(--wl-font-head); font-size: 16px; font-weight: 400; text-transform: uppercase;
	transition: background-color .25s, color .25s, transform .25s var(--wl-ease);
}
.wf-submit:hover { background: #fff; color: #000; filter: none; transform: translateY(-2px); }
.wf-message { padding: 14px 18px; border: 2px solid #fff; border-radius: 14px; }
.wf-message.is-success { color: #fff; border-color: #6fe3a1; }
.wf-message.is-error { color: #ffb4b4; border-color: #ffb4b4; }
@media (max-width: 781px) {
	.wf-layout-section .wf-inner { grid-template-columns: 1fr; }
	.wf-form { grid-template-columns: 1fr; }
	.wf-intro { padding: 32px 22px; }
}

/* Formularz w bialej karcie (layout="card", strona Kontakt): ciemny tekst - biale etykiety i wpisywany tekst byly niewidoczne */
.wf-layout-card { --wf-text: var(--wl-navy-deep); --wf-muted: rgba(10, 22, 75, .5); color: var(--wl-navy-deep); }
.wf-layout-card .wf-label { color: var(--wl-navy-deep); font-weight: 700; }
.wf-layout-card .wf-req { color: #c0262d; }
.wf-layout-card .wf-form input[type="text"], .wf-layout-card .wf-form input[type="email"], .wf-layout-card .wf-form input[type="tel"], .wf-layout-card .wf-form textarea { color: var(--wl-navy-deep); }
.wf-layout-card .wf-form ::placeholder { color: rgba(10, 22, 75, .45); opacity: 1; }
.wf-layout-card .wf-form input:focus, .wf-layout-card .wf-form textarea:focus { background: #fff; border-color: var(--wl-navy); }
.wf-layout-card .wf-form .iti__selected-dial-code { color: var(--wl-navy-deep); }
.wf-layout-card .wf-consent { color: #3a4150; }
.wf-layout-card .wf-consent a { color: var(--wl-navy); }
.wf-layout-card .wf-consent input[type="checkbox"] { accent-color: var(--wl-navy); }
.wf-layout-card .wf-submit { border-color: var(--wl-navy); background: var(--wl-navy); color: #fff; }
.wf-layout-card .wf-submit:hover { background: transparent; color: var(--wl-navy); }
.wf-layout-card .wf-message.is-success { color: #11643a; }
.wf-layout-card .wf-message.is-error { color: #a4161a; }

/* Plywajacy formularz (prawy dolny rog) */
.wf-float { right: 16px; bottom: 16px; z-index: 950; }
.wf-float-btn { width: 56px; height: 56px; background: #fff; color: var(--wl-navy); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.wf-float-btn:hover { background: #dfe5ff; }
/* Dymek: font naglowkowy jest szerszy niz domyslny, wiec tekst musi sie zawijac,
   inaczej wychodzi poza biale tlo i wjezdza pod przycisk. */
.wf-float-bubble {
	background: #fff !important;
	color: var(--wl-navy) !important;
	font-family: var(--wl-font-head);
	font-size: 12px;
	line-height: 1.35;
	right: 72px;
	bottom: 6px;
	/* Bez width:max-content dymek zwezalby sie do szerokosci przycisku (56 px). */
	width: max-content;
	max-width: min(230px, calc(100vw - 110px));
	white-space: normal;
	text-wrap: balance;
	padding: 10px 26px 10px 14px;
}
.wf-float-bubble::after { border-left-color: #fff !important; bottom: 16px; }
.wf-float-panel { background: linear-gradient(180deg, #0b1450 0%, #061a73 100%) !important; color: #fff; border-top: 4px solid #fff; border-radius: 18px !important; }
.wf-float-head { font-family: var(--wl-font-head); font-size: 20px; text-transform: uppercase; color: #fff !important; }
.wf-float-x { color: #fff !important; }
.wf-float .wf-form { grid-template-columns: 1fr; }
.wl-totop { bottom: 84px; right: 22px; }
@media (max-width: 782px) {
	.wl-float { bottom: 132px; }
	.wl-totop { bottom: 80px; right: 19px; }
}

/* 16. Oferty pracy ([wl_jobs] + strona oferty) ------------------------------- */
.wl-jobs-title { margin-bottom: clamp(32px, 5vw, 56px); }
.wl-jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); max-width: var(--wl-container); margin-inline: auto; }
.wl-jobs:has(> :only-child) { grid-template-columns: minmax(0, 380px); justify-content: center; }
.wl-jobs:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.wl-job-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--wl-line); border-radius: var(--wl-radius); background: rgba(255, 255, 255, .04); transition: border-color .3s, transform .4s var(--wl-ease); }
.wl-job-card:hover { border-color: rgba(255, 255, 255, .6); transform: translateY(-4px); }
.wl-job-card__media { display: block; aspect-ratio: 1; overflow: hidden; background: rgba(255, 255, 255, .05); }
.wl-job-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--wl-ease); }
.wl-job-card:hover .wl-job-card__media img { transform: scale(1.04); }
.wl-job-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 24px 26px; }
.wl-job-card__title { margin: 0 0 10px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.2; text-transform: uppercase; }
.wl-job-card__title a { text-decoration: none; }
.wl-job-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 14px; color: var(--wl-muted); font-size: 14px; }
.wl-job-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.wl-job-card__meta .wl-icon { width: 16px; height: 16px; }
.wl-job-card__meta span + span::before { content: "·"; margin-right: 10px; opacity: .6; }
.wl-job-card__excerpt { margin: 0 0 18px; font-size: 15px; line-height: 1.7; }
.wl-job-card__more { margin-top: auto; font-size: 14px; padding-inline: 26px; }
.wl-jobs-empty { max-width: 760px; margin-inline: auto; }
.wl-jobs-empty p { color: var(--wl-muted); }

.wl-job__grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.wl-job__poster { position: sticky; top: calc(var(--wl-header-bar) + 24px); margin: 0; overflow: hidden; border-radius: var(--wl-radius); box-shadow: var(--wl-shadow); }
.wl-job__poster a { display: block; cursor: zoom-in; }
.wl-job__poster img { display: block; width: 100%; height: auto; }
.wl-job__facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.wl-job__facts li { padding: 12px 18px; border: 1px solid var(--wl-line); border-radius: 14px; font-size: 15px; line-height: 1.4; }
.wl-job__facts span { display: block; margin-bottom: 2px; color: var(--wl-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.wl-job__content h2, .wl-job__content h3 { margin: 1.6em 0 .6em; font-size: clamp(18px, 1.8vw, 22px); text-transform: uppercase; }
.wl-job__content ul { padding-left: 1.2em; }
.wl-job__content li { margin-bottom: .4em; }
.wl-job__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.wl-job__closed { padding: 14px 18px; border-left: 3px solid #f0b429; background: rgba(240, 180, 41, .1); border-radius: 8px; }

@media (max-width: 900px) {
	.wl-jobs, .wl-jobs:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); max-width: 440px; }
	.wl-job__grid { grid-template-columns: minmax(0, 1fr); }
	.wl-job__poster { position: static; max-width: 440px; margin-inline: auto; }
}

/* 17. Blog: meta, lead, spis tresci, box CTA --------------------------------- */
.wl-post-card__meta { margin: 0 0 10px; color: var(--wl-muted); font-size: 13px; letter-spacing: .02em; }
.wl-lead { margin-bottom: 1.6em; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.7; color: var(--wl-white); }
.wl-toc { margin: 0 0 2.4em; padding: 22px 26px; border: 1px solid var(--wl-line); border-radius: var(--wl-radius); background: rgba(255, 255, 255, .04); }
.wl-toc__title { margin: 0 0 10px; font-family: var(--wl-font-head); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.wl-toc ol { margin: 0; padding-left: 1.3em; }
.wl-toc li { margin: .3em 0; line-height: 1.5; }
.wl-toc a { color: var(--wl-muted); text-decoration: none; transition: color .2s; }
.wl-toc a:hover { color: var(--wl-white); text-decoration: underline; }
.wl-entry--post h2[id] { scroll-margin-top: calc(var(--wl-header-bar) + 24px); }
.wl-blog-cta { margin: 3em auto 0; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--wl-radius-lg); background: linear-gradient(135deg, var(--wl-navy-deep), var(--wl-navy)); box-shadow: var(--wl-shadow); }
.wl-section .wl-blog-cta { max-width: 860px; margin-top: clamp(48px, 6vw, 72px); }
.wl-blog-cta__label { margin: 0 0 .6em; font-family: var(--wl-font-head); font-size: clamp(17px, 1.8vw, 22px); line-height: 1.25; text-transform: uppercase; }
.wl-blog-cta p { margin-top: 0; }
.wl-blog-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }
.wl-blog-cta__actions .wl-btn { gap: 8px; }
.wl-blog-cta__actions .wl-icon { width: 18px; height: 18px; }
.wl-blog-intro { max-width: 860px; margin-bottom: clamp(32px, 4vw, 48px); }
