/* ==========================================================================
   Usecase – style motywu (front + edytor).
   Kolory, czcionki i odstępy pochodzą z theme.json, więc zmienisz je bez kodu:
   Wygląd → Edytor → Style.
   ========================================================================== */

:root {
	--uc-radius-s: 10px;
	--uc-radius-m: 14px;
	--uc-radius-l: 22px;
	--uc-ring: 0 0 0 3px var(--wp--preset--color--sun), 0 0 0 9px rgba(246, 168, 33, .22);
	--uc-header-h: 76px;
	--uc-grid: linear-gradient(rgba(14, 34, 64, .045) 1px, transparent 1px) 0 0 / 100% 32px,
		linear-gradient(90deg, rgba(14, 34, 64, .045) 1px, transparent 1px) 0 0 / 32px 100%;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--uc-header-h) + 16px);
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "ss01" on;
}

::selection {
	background: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--ink);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: none;
	box-shadow: var(--uc-ring);
	border-radius: 6px;
}

.wp-site-blocks {
	padding-top: 0;
	padding-bottom: 0;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* ---------- Nagłówek (przyklejony) ---------- */
.uc-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(14, 34, 64, .08);
}

@media (max-width: 600px) {
	.uc-site-header {
		top: 0;
	}
}

.uc-header {
	padding-top: .9rem;
	padding-bottom: .9rem;
}

.uc-header__bar {
	gap: 1.5rem;
	min-height: calc(var(--uc-header-h) - 1.8rem);
}

.uc-header__logo {
	flex: 0 0 auto;
}

.uc-header__logo img {
	width: clamp(124px, 14vw, 168px);
	height: auto;
}

.uc-nav {
	flex: 1 1 auto;
}

.uc-nav .wp-block-navigation__container {
	gap: clamp(1rem, 2.4vw, 2.25rem);
}

.uc-nav .wp-block-navigation-item__content {
	position: relative;
	padding: .35rem 0;
}

.uc-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	border-radius: 3px;
	background: var(--wp--preset--color--sun);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}

.uc-nav .wp-block-navigation-item__content:hover::after,
.uc-nav .current-menu-item > .wp-block-navigation-item__content::after,
.uc-nav .current-menu-ancestor > .wp-block-navigation-item__content::after,
.uc-nav [aria-current="page"]::after {
	transform: scaleX(1);
}

.uc-header__cta {
	gap: .5rem;
	flex: 0 0 auto;
}

.uc-header__cta .wp-block-button__link {
	padding: .6em 1.05em;
	font-size: .9375rem;
}

@media (max-width: 600px) {
	.uc-header .uc-header__cta {
		display: none;
	}
	.uc-header .uc-nav {
		justify-content: flex-end;
	}
}

/* Menu mobilne */
.uc-nav .wp-block-navigation__responsive-container-open,
.uc-nav .wp-block-navigation__responsive-container-close {
	padding: .5rem;
	border-radius: var(--uc-radius-s);
}

.uc-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.5rem clamp(16px, 5vw, 32px);
	background: var(--wp--preset--color--base);
}

.uc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 3.5rem;
}

.uc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 1.1rem;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

/* ---------- Przyciski ---------- */
.wp-element-button,
.wp-block-button__link {
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.wp-block-button__link:active {
	transform: translateY(1px);
}

.wp-block-button.is-style-uc-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	box-shadow: inset 0 0 0 1.5px rgba(14, 34, 64, .22);
}

.wp-block-button.is-style-uc-ghost .wp-block-button__link:hover {
	background: transparent;
	color: var(--wp--preset--color--ink);
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink);
}

.has-ink-background-color .wp-block-button.is-style-uc-ghost .wp-block-button__link {
	color: var(--wp--preset--color--base);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
}

.wp-block-button.is-style-uc-dark .wp-block-button__link {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--base);
}

.wp-block-button.is-style-uc-dark .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

/* ---------- Sekcje ---------- */
.uc-main {
	padding-bottom: 0;
}

.uc-main > * + * {
	margin-block-start: 0;
}

.uc-section {
	padding-block: var(--wp--preset--spacing--50);
}

.uc-section__head {
	max-width: 46rem;
	margin-bottom: var(--wp--preset--spacing--40);
}

.uc-section__head > * {
	margin-block: 0;
}

.uc-section__head > * + * {
	margin-top: 1rem;
}

.uc-section__head p {
	color: var(--wp--preset--color--muted);
}

/* ---------- Hero ---------- */
.uc-hero {
	position: relative;
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60);
	background: var(--uc-grid), var(--wp--preset--color--paper);
	overflow: hidden;
}

.uc-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 40%;
	background: linear-gradient(to bottom, rgba(244, 246, 249, 0), var(--wp--preset--color--paper));
	pointer-events: none;
}

.uc-hero > * {
	position: relative;
	z-index: 1;
}

.uc-hero__cols {
	gap: clamp(2rem, 5vw, 4.5rem);
}

.uc-hero__title {
	max-width: 12ch;
	margin: 0;
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.02;
	text-wrap: balance;
}

.uc-hero__lead {
	max-width: 34rem;
	margin-top: 1.5rem;
	color: #34465e;
	line-height: 1.5;
}

.uc-hero__actions {
	margin-top: 2rem;
	gap: .75rem;
}

.uc-hero__note {
	margin-top: 1.75rem;
	color: var(--wp--preset--color--muted);
}

.uc-hero__image {
	margin: 0;
}

.uc-hero__image img {
	width: 100%;
	height: auto;
	border-radius: 0;
}

@media (min-width: 782px) {
	.uc-hero__image {
		margin-right: calc(-1 * clamp(0px, 3vw, 48px));
	}
}

/* ---------- Origami (żurawie) ---------- */
.uc-origami {
	position: absolute;
	z-index: 0;
	margin: 0 !important;
	pointer-events: none;
}

.uc-origami img {
	width: 100%;
	height: auto;
	border-radius: 0 !important;
}

.uc-stage {
	position: relative;
}

.uc-stage .uc-hero__image {
	position: relative;
	z-index: 1;
}

.uc-origami--hero-a {
	z-index: 2;
	top: -17%;
	left: -12%;
	width: 34%;
	filter: drop-shadow(0 18px 18px rgba(14, 34, 64, .18));
}

.uc-origami--hero-b {
	top: -13%;
	right: -4%;
	width: 19%;
	transform: rotate(-4deg);
	opacity: .9;
	filter: drop-shadow(0 10px 10px rgba(14, 34, 64, .14));
}

.uc-process,
.uc-cta {
	position: relative;
	overflow: hidden;
}

.uc-process > :not(.uc-origami),
.uc-cta > :not(.uc-origami) {
	position: relative;
	z-index: 1;
}

.uc-origami--process {
	top: clamp(2rem, 6vw, 5rem);
	right: max(16px, calc((100vw - 1200px) / 2));
	width: clamp(110px, 14vw, 190px);
	opacity: .9;
}

.uc-origami--cta {
	right: max(12px, calc((100vw - 1200px) / 2 - 90px));
	bottom: clamp(1rem, 3vw, 2.5rem);
	width: clamp(130px, 15vw, 210px);
	transform: scaleX(-1) rotate(-8deg);
}

.uc-origami--hero-c {
	z-index: 2;
	bottom: -16%;
	left: 0;
	width: 17%;
	transform: rotate(-10deg);
	filter: drop-shadow(0 10px 10px rgba(14, 34, 64, .16));
}

.uc-origami--hero-d {
	bottom: -12%;
	right: -4%;
	width: 18%;
	transform: rotate(-14deg);
	filter: drop-shadow(0 8px 8px rgba(14, 34, 64, .14));
}

/* Białe origami-kostki w tle hero (jak na dawnej stronie) */
.uc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		url(../images/origami-kostka-biala.svg) 4% 78% / 64px auto no-repeat,
		url(../images/origami-samolot-white.svg) 44% 10% / 70px auto no-repeat,
		url(../images/origami-kostka-biala.svg) 94% 86% / 52px auto no-repeat,
		url(../images/origami-kostka-biala.svg) 58% 92% / 28px auto no-repeat;
	pointer-events: none;
}

.uc-services,
.uc-latest {
	position: relative;
}

.uc-services > :not(.uc-origami),
.uc-latest > :not(.uc-origami) {
	position: relative;
	z-index: 1;
}

.uc-origami--services {
	top: calc(var(--wp--preset--spacing--50) + .5rem);
	right: 0;
	width: clamp(120px, 14vw, 200px);
	transform: rotate(-4deg);
	filter: drop-shadow(0 12px 12px rgba(14, 34, 64, .14));
}

.uc-origami--news {
	top: calc(var(--wp--preset--spacing--50) - 1.25rem);
	left: clamp(270px, 29vw, 370px);
	width: clamp(80px, 8vw, 110px);
	transform: rotate(-6deg);
	filter: drop-shadow(0 10px 10px rgba(14, 34, 64, .12));
}

.uc-origami--process-cube {
	left: max(16px, calc((100vw - 1200px) / 2 - 80px));
	bottom: clamp(1.5rem, 4vw, 3rem);
	width: clamp(50px, 5vw, 76px);
	transform: rotate(-12deg);
}

.uc-origami--cta-b {
	left: max(16px, calc((100vw - 1200px) / 2 - 20px));
	top: clamp(.75rem, 1.6vw, 1.25rem);
	width: clamp(80px, 8vw, 116px);
	transform: scaleX(-1) rotate(4deg);
	filter: drop-shadow(0 10px 12px rgba(14, 34, 64, .18));
}

@media (max-width: 781px) {
	.uc-origami--hero-c,
	.uc-origami--hero-d,
	.uc-origami--services,
	.uc-origami--services-b,
	.uc-origami--news,
	.uc-origami--process-cube,
	.uc-origami--cta-b {
		display: none;
	}
	.uc-hero::before {
		opacity: .5;
	}
}

.uc-origami--services-b {
	top: calc(var(--wp--preset--spacing--50) + 3.5rem);
	right: clamp(130px, 14vw, 210px);
	width: clamp(70px, 8vw, 120px);
	transform: rotate(6deg);
	filter: drop-shadow(0 10px 10px rgba(14, 34, 64, .12));
}

/* Stopka: gwiazdki i samolot */
.uc-footer {
	position: relative;
	overflow: hidden;
}

.uc-footer::before {
	content: "";
	position: absolute;
	left: max(16px, calc((100vw - 1200px) / 2));
	bottom: calc(var(--wp--preset--spacing--30) + 5rem);
	width: 220px;
	height: 90px;
	background:
		url(../images/origami-samolot-white.svg) 0 0 / 120px auto no-repeat,
		url(../images/origami-gwiazda-sun.svg) 82% 40% / 34px auto no-repeat,
		url(../images/origami-gwiazda-white.svg) 62% 100% / 22px auto no-repeat;
	opacity: .9;
	pointer-events: none;
}

.uc-footer > * {
	position: relative;
	z-index: 1;
}

html.uc-a11y-contrast .uc-footer::before {
	display: none !important;
}

@media (max-width: 781px) {
	.uc-footer::before {
		display: none;
	}
}

/* Para żurawi w nagłówku podstron (jak ptaki na dawnej usecase.pl) */
.uc-pagehead {
	position: relative;
	overflow: hidden;
}

.uc-pagehead::after {
	content: "";
	position: absolute;
	right: max(16px, calc((100vw - 1200px) / 2));
	top: 50%;
	width: clamp(170px, 24vw, 320px);
	aspect-ratio: 320 / 150;
	transform: translateY(-50%);
	background:
		url(../images/origami-zuraw-sun.svg) 0 45% / 46% auto no-repeat,
		url(../images/origami-samolot-blue.svg) 66% 0 / 36% auto no-repeat,
		url(../images/origami-motyl-tecza.svg) 100% 100% / 24% auto no-repeat;
	pointer-events: none;
}

.uc-pagehead > * {
	position: relative;
	z-index: 1;
}

@media (max-width: 781px) {
	.uc-origami--hero-a {
		top: -10%;
		left: -4%;
		width: 30%;
	}
	.uc-origami--hero-b,
	.uc-origami--process {
		display: none;
	}
	.uc-origami--cta {
		width: 120px;
		opacity: .5;
	}
	.uc-pagehead::after {
		opacity: .35;
		width: 140px;
	}
}

/* Jednorazowy „przylot” żurawi (< 5 s, potem bez ruchu – WCAG 2.2.2) */
@media (prefers-reduced-motion: no-preference) {
	.uc-origami--hero-a img { animation: uc-glide 2.4s .2s ease-in-out 2; }
	.uc-origami--hero-b img { animation: uc-glide 2.2s .5s ease-in-out 2; }
	.uc-origami--hero-c img { animation: uc-glide 2s .8s ease-in-out 2; }
	.uc-origami--hero-d img { animation: uc-glide 2.3s .3s ease-in-out 2; }
}

@keyframes uc-glide {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	50% { transform: translate(6px, -10px) rotate(-2deg); }
}

.editor-styles-wrapper .uc-origami img {
	animation: none;
}

/* ---------- Oferta (lista) ---------- */
.uc-services__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 clamp(1.5rem, 3vw, 3rem);
}

@media (max-width: 960px) {
	.uc-services__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.uc-services__list {
		grid-template-columns: 1fr;
	}
	.uc-services__list .uc-service {
		margin-inline: 0 !important;
		padding-inline: 0;
	}
	.uc-service::before {
		left: 0;
		right: 0;
	}
	.uc-service:hover,
	.uc-service:focus-within {
		background: none;
		box-shadow: none;
	}
}

html,
body {
	overflow-x: clip;
}

.uc-services__list > * {
	margin: 0 !important;
}

.uc-service {
	position: relative;
	padding: 1.75rem 1.25rem 2rem;
	margin-inline: -1.25rem !important;
	border-radius: var(--uc-radius-m);
	transition: box-shadow .2s ease, background-color .2s ease;
}

.uc-service::before {
	content: "";
	position: absolute;
	top: 0;
	left: 1.25rem;
	right: 1.25rem;
	height: 1px;
	background: var(--wp--preset--color--line);
	transition: opacity .2s ease;
}

.uc-service:hover,
.uc-service:focus-within {
	background: var(--wp--preset--color--base);
	box-shadow: var(--uc-ring);
}

.uc-service:hover::before,
.uc-service:focus-within::before {
	opacity: 0;
}

.uc-service__title {
	margin: 0;
	font-size: clamp(1.25rem, 1.6vw, 1.5rem);
}

.uc-service__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.uc-service__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.uc-service__title a:focus-visible {
	box-shadow: none;
}

.uc-service__text {
	margin: .65rem 0 0;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

/* ---------- Proces (kroki) ---------- */
.uc-process {
	padding-block: var(--wp--preset--spacing--50);
}

.uc-process .uc-section__head p {
	color: rgba(255, 255, 255, .72);
}

.uc-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	counter-reset: uc-step;
}

@media (max-width: 960px) {
	.uc-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.uc-steps {
		grid-template-columns: 1fr;
	}
}

.uc-steps > * {
	margin: 0 !important;
}

.uc-step {
	counter-increment: uc-step;
	padding: 1.5rem 1.5rem 1.75rem;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--uc-radius-m);
	background: rgba(255, 255, 255, .03);
}

.uc-step::before {
	content: "Krok " counter(uc-step);
	display: block;
	width: fit-content;
	margin-bottom: 1rem;
	padding: .2rem .7rem;
	border-radius: 999px;
	background: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--ink);
	font-size: .8125rem;
	font-weight: 700;
}

.uc-step__title {
	margin: 0;
	font-size: 1.25rem;
}

.uc-step__text {
	margin: .5rem 0 0;
	color: rgba(255, 255, 255, .72);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

/* ---------- Ostatnie aktualności ---------- */
.uc-latest__head {
	margin-bottom: var(--wp--preset--spacing--30);
}

.uc-latest__head h2 {
	margin: 0;
}

.uc-latest__all {
	margin: 0;
	font-weight: 600;
}

.uc-latest__query .wp-block-post-template {
	gap: clamp(1rem, 3vw, 3rem);
}

.uc-latest__item {
	height: 100%;
	padding-top: 1.25rem;
	border-top: 3px solid var(--wp--preset--color--ink);
}

.uc-latest__item > * {
	margin: 0;
}

.uc-latest__date {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.uc-latest__title {
	margin-top: .6rem !important;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -.01em;
}

.uc-latest__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	background: linear-gradient(var(--wp--preset--color--sun-soft), var(--wp--preset--color--sun-soft)) 0 100% / 0 40% no-repeat;
	transition: background-size .25s ease;
}

.uc-latest__title a:hover {
	background-size: 100% 40%;
}

/* ---------- Pas CTA ---------- */
.uc-cta {
	padding-block: var(--wp--preset--spacing--50);
}

.uc-cta h2 {
	margin: 0;
	max-width: 18ch;
	font-weight: 800;
	letter-spacing: -.03em;
}

.uc-cta p {
	max-width: 36rem;
}

.uc-cta .uc-company--large {
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	font-weight: 700;
}

.uc-cta .uc-company a:hover {
	color: var(--wp--preset--color--ink);
}

/* ---------- Nagłówek podstrony ---------- */
.uc-pagehead {
	padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
	background: var(--uc-grid), var(--wp--preset--color--paper);
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.uc-pagehead__title {
	max-width: 22ch;
	margin: .75rem 0 0;
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 800;
	letter-spacing: -.03em;
	text-wrap: balance;
}

.uc-pagehead__title--post {
	max-width: 30ch;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.uc-pagehead__date {
	margin: 1rem 0 0;
}

.uc-pagehead--404 {
	padding-block: var(--wp--preset--spacing--60);
}

/* ---------- Układ podstron ---------- */
.uc-layout {
	gap: clamp(2rem, 6vw, 6rem);
	padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.uc-layout__main {
	min-width: 0;
}

@media (min-width: 782px) {
	.uc-layout__side .uc-sidebar {
		position: sticky;
		top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--uc-header-h) + 1.5rem);
	}
}

.uc-prose--wide {
	padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

/* Tekst podstron */
.uc-prose {
	font-size: 1.0625rem;
	line-height: 1.7;
}

.uc-prose > * {
	max-width: 68ch;
}

.uc-prose > .alignwide,
.uc-prose > .alignfull,
.uc-prose > .uc-company,
.uc-prose > .wp-block-columns,
.uc-prose > .wp-block-image,
.uc-prose > .wp-block-gallery,
.uc-prose > .wp-block-table {
	max-width: none;
}

.uc-prose > :first-child {
	margin-top: 0;
}

.uc-prose h2,
.uc-prose h3 {
	margin-top: 2.5rem;
	margin-bottom: .75rem;
}

.uc-prose h2 + *,
.uc-prose h3 + * {
	margin-top: 0;
}

.uc-prose ul:not([class*="is-style"]),
.uc-prose ol:not([class*="is-style"]) {
	padding-left: 1.25rem;
}

.uc-prose ul:not([class*="is-style"]) > li::marker {
	color: var(--wp--preset--color--sun);
	font-size: 1.1em;
}

.uc-prose li + li {
	margin-top: .35rem;
}

.uc-prose hr {
	margin-block: 2.5rem;
}

.uc-prose img {
	height: auto;
}

.uc-lead {
	color: #34465e;
}

/* ---------- Okruszki ---------- */
.uc-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.uc-breadcrumbs ol {
	display: contents;
	list-style: none;
	margin: 0;
	padding: 0;
}

.uc-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}

.uc-breadcrumbs li + li::before {
	content: "/";
	color: var(--wp--preset--color--line);
}

.uc-breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.uc-breadcrumbs a:hover {
	color: var(--wp--preset--color--ink);
	text-decoration: underline;
}

.uc-breadcrumbs [aria-current="page"] {
	color: var(--wp--preset--color--ink);
}

/* ---------- Pasek boczny ---------- */
.uc-sidebar > * {
	margin: 0;
}

.uc-sidebar > * + * {
	margin-top: 1.5rem;
}

.uc-sidebar__nav {
	padding: 1.25rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--uc-radius-m);
}

.uc-subpages__title {
	margin: 0 0 .5rem;
	font-size: .9375rem;
	font-weight: 700;
	letter-spacing: 0;
}

.uc-subpages__title a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.uc-subpages__title a:hover {
	color: var(--wp--preset--color--ink);
}

.uc-subpages__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.uc-subpages__item a {
	display: block;
	padding: .55rem .75rem;
	margin-inline: -.75rem;
	border-radius: var(--uc-radius-s);
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	line-height: 1.35;
	transition: background-color .15s ease;
}

.uc-subpages__item a:hover {
	background: var(--wp--preset--color--paper);
}

.uc-subpages__item.is-current a {
	background: var(--wp--preset--color--sun-soft);
	box-shadow: inset 3px 0 0 var(--wp--preset--color--sun);
	font-weight: 600;
}

/* wariant w stopce */
.uc-footer .uc-subpages__item a {
	padding: .3rem 0;
	margin: 0;
	color: rgba(255, 255, 255, .78);
}

.uc-footer .uc-subpages__item a:hover {
	background: none;
	color: var(--wp--preset--color--base);
	text-decoration: underline;
}

.uc-footer .uc-subpages__item.is-current a {
	background: none;
	box-shadow: none;
	color: var(--wp--preset--color--sun);
	font-weight: 600;
}

.uc-sidebar__contact {
	padding: 1.5rem;
	border-radius: var(--uc-radius-m);
}

.uc-sidebar__contact > * {
	margin: 0;
}

.uc-sidebar__contact > * + * {
	margin-top: .75rem;
}

.uc-sidebar__contact h2 {
	letter-spacing: -.015em;
}

.uc-sidebar__contact .uc-company {
	margin-top: 1.25rem;
	font-weight: 600;
}

/* ---------- Dane firmy ---------- */
.uc-company a {
	color: inherit;
	text-decoration: none;
}

.uc-company a:hover {
	text-decoration: underline;
}

.uc-company__item {
	display: flex;
	gap: .75rem;
	align-items: flex-start;
}

.uc-company__icon {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	color: var(--wp--preset--color--primary);
	line-height: 0;
}

.uc-company--list .uc-company__item + .uc-company__item {
	margin-top: .55rem;
}

.uc-company--large .uc-company__item + .uc-company__item {
	margin-top: .6rem;
}

.uc-company--large {
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -.01em;
}

.uc-company--inline {
	display: flex;
	flex-wrap: wrap;
	column-gap: .35rem;
}

.uc-company--inline .uc-company__item:not(:last-child)::after {
	content: ",";
}

.uc-company--cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.uc-company--cards .uc-company__item {
	flex-direction: column;
	gap: 1rem;
	padding: 1.5rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--uc-radius-m);
	background: var(--wp--preset--color--base);
	line-height: 1.5;
}

.uc-company--cards .uc-company__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--wp--preset--color--sun-soft);
	color: var(--wp--preset--color--ink);
}

.uc-company--cards a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

.uc-company__label {
	display: block;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--x-small);
}

.uc-company--inline .uc-company__label,
.uc-company--list .uc-company__label {
	display: inline;
}

/* ---------- Lista aktualności ---------- */
.uc-news .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.uc-news__item {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: 1.5rem;
	padding-block: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--line);
}

.uc-news__item > *,
.uc-news__body > * {
	margin: 0;
}

.uc-news__date {
	padding-top: .2rem;
	font-weight: 600;
}

.uc-news__title {
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.01em;
}

.uc-news__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.uc-news__title a:hover {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.uc-news__excerpt {
	margin-top: .5rem !important;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.uc-news__excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
}

@media (max-width: 600px) {
	.uc-news__item {
		grid-template-columns: 1fr;
		gap: .35rem;
	}
}

.uc-news .wp-block-query-pagination {
	margin-top: 2rem;
	gap: .35rem;
}

.uc-news .wp-block-query-pagination a,
.uc-news .wp-block-query-pagination .current {
	display: inline-grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: .75rem;
	border-radius: var(--uc-radius-s);
	text-decoration: none;
}

.uc-news .wp-block-query-pagination a {
	color: var(--wp--preset--color--ink);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--line);
}

.uc-news .wp-block-query-pagination a:hover {
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink);
}

.uc-news .wp-block-query-pagination .current {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--base);
}

.uc-back {
	margin-top: 3rem;
	font-weight: 600;
}

/* ---------- Stopka ---------- */
.uc-footer {
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--small);
}

.uc-footer__cols {
	gap: clamp(2rem, 5vw, 5rem);
}

.uc-footer__brand {
	margin: 0;
	font-size: 1.75rem;
}

.uc-footer__brand a {
	color: var(--wp--preset--color--base);
	text-decoration: none;
}

.uc-footer__about {
	max-width: 30rem;
	margin-top: 1rem;
	color: rgba(255, 255, 255, .72);
}

.uc-footer__title {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--sun) !important;
	font-size: .9375rem;
	letter-spacing: 0;
}

.uc-footer .uc-company {
	color: rgba(255, 255, 255, .78);
}

.uc-footer .uc-company strong {
	color: var(--wp--preset--color--base);
}

.uc-footer__bottom {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .14);
	color: rgba(255, 255, 255, .55);
	font-size: var(--wp--preset--font-size--x-small);
	gap: .5rem 2rem;
}

.uc-footer__bottom .uc-company {
	color: inherit;
}

/* Linki prawne w stopce */
.uc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.25rem;
	margin: 0;
}

.uc-footer__legal a {
	color: rgba(255, 255, 255, .75);
}

.uc-footer__legal a:hover {
	color: var(--wp--preset--color--base);
}

/* ---------- Dokumenty prawne (np. klauzula RODO) ---------- */
.uc-doc-meta {
	color: var(--wp--preset--color--muted);
}

.uc-prose .uc-doc-intro {
	padding: 1rem 1.25rem;
	border-left: 3px solid var(--wp--preset--color--sun);
	background: var(--wp--preset--color--paper);
	border-radius: 0 var(--uc-radius-s) var(--uc-radius-s) 0;
	color: #34465e;
	font-size: var(--wp--preset--font-size--small);
	text-align: left;
}

.uc-prose .uc-doc-note p {
	margin: 0;
	text-align: left;
}

.uc-doc-table {
	margin-block: 1.5rem;
	overflow-x: auto;
}

.uc-doc-table table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

.uc-doc-table th,
.uc-doc-table td {
	padding: .75rem .9rem;
	border: 1px solid var(--wp--preset--color--line);
	text-align: left;
	vertical-align: top;
}

.uc-doc-table thead th {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--base);
	font-weight: 700;
}

.uc-doc-table tbody tr:nth-child(even) td {
	background: var(--wp--preset--color--paper);
}

.uc-doc-footer {
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--muted);
}

.uc-prose--wide h2 {
	padding-top: 1.25rem;
	border-top: 1px solid var(--wp--preset--color--line);
	font-size: var(--wp--preset--font-size--large);
}

@media print {
	.uc-site-header,
	.uc-footer,
	.uc-cookies,
	.uc-breadcrumbs {
		display: none !important;
	}
	.uc-pagehead {
		background: none;
		border: 0;
		padding: 0;
	}
}

/* ---------- Style bloków ---------- */
.wp-block-quote.is-style-uc-quote {
	margin-block: 2rem;
	padding: 1.75rem 1.75rem 1.75rem 2rem;
	border: 0;
	border-radius: var(--uc-radius-m);
	background: var(--wp--preset--color--paper);
	box-shadow: inset 4px 0 0 var(--wp--preset--color--sun);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.45;
}

.wp-block-quote.is-style-uc-quote p {
	margin: 0;
}

.wp-block-quote.is-style-uc-quote cite {
	display: block;
	margin-top: 1rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	font-weight: 600;
}

.wp-block-list.is-style-uc-check {
	list-style: none;
	padding-left: 0;
}

.wp-block-list.is-style-uc-check > li {
	position: relative;
	padding-left: 2rem;
}

.wp-block-list.is-style-uc-check > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .25em;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--wp--preset--color--sun-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%230e2240' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.wp-block-group.is-style-uc-card {
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--uc-radius-m);
	background: var(--wp--preset--color--base);
}

.wp-block-group.is-style-uc-panel {
	padding: var(--wp--preset--spacing--30);
	border-radius: var(--uc-radius-m);
	background: var(--wp--preset--color--paper);
}

.wp-block-image.is-style-uc-framed img {
	border-radius: var(--uc-radius-m);
	box-shadow: var(--wp--preset--shadow--lift);
}

.uc-search .wp-block-search__input {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--uc-radius-s);
	padding: .75rem 1rem;
}

.uc-search .wp-block-search__button {
	margin-left: .5rem;
}

/* Slider – wariant ciemny z hasłami */
.uc-slider--dark {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
	border-radius: var(--uc-radius-l);
}

.uc-slide-text > * {
	margin-block: 0;
}

.uc-slide-text > * + * {
	margin-top: 1rem;
}

.uc-slider--dark .uc-slider__dot {
	border-color: rgba(255, 255, 255, .5);
	background: transparent;
}

.uc-slider--dark .uc-slider__dot[aria-current="true"] {
	border-color: var(--wp--preset--color--sun);
	background: var(--wp--preset--color--sun);
	box-shadow: none;
}

/* ---------- Pasek cookies ---------- */
.uc-cookies {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 1000;
	max-width: 30rem;
	border-radius: var(--uc-radius-m);
	background: var(--wp--preset--color--ink);
	color: rgba(255, 255, 255, .86);
	box-shadow: 0 20px 50px -12px rgba(14, 34, 64, .45);
	font-size: var(--wp--preset--font-size--x-small);
}

.uc-cookies[hidden] {
	display: none;
}

.uc-cookies__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem 1.25rem 1.25rem 1.5rem;
}

.uc-cookies__text {
	margin: 0;
	line-height: 1.55;
}

.uc-cookies__text a {
	color: var(--wp--preset--color--base);
}

.uc-cookies__close {
	font-size: var(--wp--preset--font-size--x-small) !important;
	padding: .6em 1.2em !important;
}

@media (max-width: 600px) {
	.uc-cookies {
		left: 8px;
		right: 8px;
		bottom: 8px;
		max-width: none;
	}
}

/* ---------- WCAG 2.2: poprawki ---------- */
/* 2.4.7 / 1.4.11 – fokus widoczny także na żółtym tle */
.has-sun-background-color :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.has-sun-soft-background-color :where(a, button, input, select, textarea, [tabindex]):focus-visible,
.wp-block-button__link:focus-visible {
	box-shadow: 0 0 0 3px var(--wp--preset--color--ink), 0 0 0 6px var(--wp--preset--color--base);
}

/* 2.5.8 – cele dotykowe min. 24×24 px */
.uc-breadcrumbs a,
.uc-breadcrumbs [aria-current="page"],
.uc-footer__legal a,
.uc-company a {
	display: inline-block;
	min-height: 24px;
	padding-block: 2px;
	line-height: 20px;
}

.uc-footer .uc-subpages__item a {
	min-height: 24px;
}

/* 1.4.11 – kontrast obramowań kontrolek ≥ 3:1 */
.uc-search .wp-block-search__input,
.wp-block-search__input {
	border-color: #6b7c90;
}

.wp-block-button.is-style-uc-ghost .wp-block-button__link {
	box-shadow: inset 0 0 0 1.5px rgba(14, 34, 64, .6);
}

/* Tabela przewijana: widoczny fokus */
.wp-block-table[tabindex]:focus-visible {
	box-shadow: var(--uc-ring);
}

/* Link „Przejdź do treści” – widoczny po fokusie */
.uc-skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: .75rem 1.25rem;
	border-radius: 8px;
	background: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--ink);
	font-weight: 700;
	text-decoration: none;
}

.uc-skip-link:focus {
	top: 8px;
	box-shadow: 0 0 0 3px var(--wp--preset--color--ink), 0 0 0 6px var(--wp--preset--color--base);
}

#tresc {
	scroll-margin-top: calc(var(--uc-header-h) + 8px);
}

#tresc:focus {
	outline: none;
}

/* ---------- Panel „Dostępność” ---------- */
.uc-a11y {
	position: relative;
	z-index: 60;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--base);
	font-size: .875rem;
}

.uc-a11y__bar {
	display: flex;
	justify-content: flex-end;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(16px, 4vw, 32px);
}

.uc-a11y__toggle,
.uc-a11y__btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-height: 36px;
	padding: .35rem .8rem;
	border: 1.5px solid rgba(255, 255, 255, .55);
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.uc-a11y__toggle {
	margin: 4px 0;
	border-color: transparent;
}

.uc-a11y__toggle[aria-expanded="true"],
.uc-a11y__btn:hover,
.uc-a11y__toggle:hover {
	background: rgba(255, 255, 255, .12);
}

.uc-a11y__btn[aria-pressed="true"] {
	background: var(--wp--preset--color--sun);
	border-color: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--ink);
}

.uc-a11y :focus-visible {
	box-shadow: 0 0 0 3px var(--wp--preset--color--sun) !important;
	outline: none;
}

.uc-a11y__panel {
	border-top: 1px solid rgba(255, 255, 255, .15);
}

.uc-a11y__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem clamp(16px, 4vw, 32px) 1.25rem;
}

.uc-a11y__title {
	flex: 1 0 100%;
	margin: 0;
	font-weight: 700;
}

.uc-a11y__group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
}

.uc-a11y__label {
	margin-right: .25rem;
}

.uc-a11y__status {
	min-width: 3.5rem;
	color: rgba(255, 255, 255, .8);
}

.uc-a11y__btn--reset {
	border-style: dashed;
}

/* Tryb: wysoki kontrast (czarne tło, biały tekst, żółte linki) */
html.uc-a11y-contrast body,
html.uc-a11y-contrast body *:not(svg):not(svg *):not(img) {
	background-color: #000 !important;
	background-image: none !important;
	color: #fff !important;
	border-color: #fff !important;
	box-shadow: none !important;
	text-shadow: none !important;
	filter: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

html.uc-a11y-contrast a,
html.uc-a11y-contrast a * {
	color: #ffe600 !important;
	text-decoration: underline !important;
}

html.uc-a11y-contrast .wp-element-button,
html.uc-a11y-contrast .wp-block-button__link,
html.uc-a11y-contrast .uc-a11y__btn[aria-pressed="true"] {
	background-color: #ffe600 !important;
	color: #000 !important;
	border: 2px solid #ffe600 !important;
}

html.uc-a11y-contrast :focus-visible {
	outline: 3px solid #ffe600 !important;
	outline-offset: 3px !important;
}

html.uc-a11y-contrast .uc-origami,
html.uc-a11y-contrast .uc-hero::before,
html.uc-a11y-contrast .uc-hero::after,
html.uc-a11y-contrast .uc-pagehead::after {
	display: none !important;
}

html.uc-a11y-contrast .uc-step,
html.uc-a11y-contrast .uc-company__item,
html.uc-a11y-contrast .uc-sidebar__nav,
html.uc-a11y-contrast .uc-sidebar__contact,
html.uc-a11y-contrast td,
html.uc-a11y-contrast th {
	border: 1px solid #fff !important;
}

/* Tryb: podkreślone linki */
html.uc-a11y-links a {
	text-decoration: underline !important;
	text-underline-offset: .18em;
}

/* Tryb: większe odstępy (wartości z WCAG 1.4.12) */
html.uc-a11y-spacing body * {
	line-height: 1.5 !important;
	letter-spacing: .12em !important;
	word-spacing: .16em !important;
}

html.uc-a11y-spacing p,
html.uc-a11y-spacing li {
	margin-bottom: 2em !important;
}

/* Tryb: prosta czcionka */
html.uc-a11y-font {
	--wp--preset--font-family--schibsted: Verdana, Tahoma, Arial, sans-serif;
}

html.uc-a11y-font body,
html.uc-a11y-font body * {
	font-family: Verdana, Tahoma, Arial, sans-serif !important;
	letter-spacing: normal;
}

/* Tryb: bez animacji */
html.uc-a11y-nomotion *,
html.uc-a11y-nomotion *::before,
html.uc-a11y-nomotion *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

@media print {
	.uc-a11y {
		display: none !important;
	}
}

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: no-preference) {
	.uc-hero__text > * {
		animation: uc-rise .6s cubic-bezier(.2, .7, .2, 1) both;
	}
	.uc-hero__text > :nth-child(2) { animation-delay: .06s; }
	.uc-hero__text > :nth-child(3) { animation-delay: .12s; }
	.uc-hero__text > :nth-child(4) { animation-delay: .18s; }
	.uc-hero__visual {
		animation: uc-rise .8s .1s cubic-bezier(.2, .7, .2, 1) both;
	}
}

@keyframes uc-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
	html {
		scroll-behavior: auto;
	}
}

/* ---------- Edytor ---------- */
.editor-styles-wrapper .uc-site-header {
	position: static;
}

.editor-styles-wrapper .uc-hero__text > *,
.editor-styles-wrapper .uc-hero__visual {
	animation: none;
}

.editor-styles-wrapper .uc-service__title a::after {
	display: none;
}

.editor-styles-wrapper .uc-slider--editor {
	outline: 1px dashed var(--wp--preset--color--muted);
	outline-offset: 4px;
}

.editor-styles-wrapper .uc-slider--editor .uc-slider__track > .block-editor-block-list__block + .block-editor-block-list__block {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 2px dashed rgba(255, 255, 255, .25);
}

.uc-editor-label {
	display: inline-block;
	margin-bottom: .75rem;
	padding: .2rem .6rem;
	border-radius: 6px;
	background: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--ink);
	font: 600 11px/1.4 system-ui, sans-serif;
}

.uc-editor-note {
	padding: 1rem;
	border: 1px dashed var(--wp--preset--color--muted);
	border-radius: var(--uc-radius-s);
	font-size: 13px;
}
