/* ==========================================================================
   Pomoc Drogowa – motyw
   Kierunek: „niebo i znaki informacyjne” – biel, jasny błękit nieba, granat
   tekstu i niebieski znaków drogowych. Typografia inspirowana oznakowaniem
   dróg (Barlow). Zdjęcie lawety wtapia się górą w błękitne tło sekcji głównej.
   ========================================================================== */

/* 0. Fonty
   -------------------------------------------------------------------------- */
/* Barlow / Barlow Condensed – SIL Open Font License 1.1 (assets/fonts/OFL.txt).
   Pliki hostowane lokalnie i przycięte do znaków łacińskich z polskimi – bez zapytań do Google Fonts. */
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-regular.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/barlow-medium.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-semibold.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/barlowcondensed-bold.woff2") format("woff2");
}

/* 1. Tokeny
   -------------------------------------------------------------------------- */
:root {
	/* Tła */
	--pd-bg: #ffffff;
	--pd-sky: #eaf4fd;
	--pd-sky-2: #d6eafb;
	--pd-sky-3: #bcdcf8;
	--pd-surface: #ffffff;
	--pd-input: #ffffff;
	--pd-line: #dde8f3;
	--pd-line-2: #c3d5e8;

	/* Tekst (kontrast na bieli: ink 16:1, body 11,8:1, muted 6,3:1, dim 5:1) */
	--pd-ink: #0a1f3c;
	--pd-text: #0a1f3c;
	--pd-body: #26394f;
	--pd-muted: #4e6179;
	--pd-dim: #5f7189;

	/* Akcent – niebieski znaków informacyjnych (biały tekst: 5,6:1) */
	--pd-accent: #0e63d0;
	--pd-accent-hover: #0b53b0;
	--pd-accent-ink: #ffffff;
	--pd-accent-soft: #e3effc;
	--pd-accent-line: rgba(14, 99, 208, 0.34);
	--pd-sign: #0b4fb3;
	--pd-sign-2: #0a3f91;

	/* Sygnalizacja */
	--pd-amber: #f2a516;
	--pd-warn: #b57400;
	--pd-warn-ink: #7a5200;
	--pd-warn-soft: #fff6e0;
	--pd-danger: #c42b2b;
	--pd-danger-soft: #fdeeee;

	--pd-shadow-s: 0 1px 2px rgba(10, 31, 60, 0.05), 0 4px 12px -4px rgba(10, 31, 60, 0.08);
	--pd-shadow-m: 0 2px 4px rgba(10, 31, 60, 0.04), 0 14px 32px -14px rgba(10, 48, 110, 0.22);
	--pd-shadow-l: 0 2px 6px rgba(10, 31, 60, 0.04), 0 30px 70px -28px rgba(10, 48, 110, 0.32);

	--pd-font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--pd-display: "Barlow Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;

	--pd-radius-s: 10px;
	--pd-radius: 14px;
	--pd-radius-l: 24px;
	--pd-header-h: 76px;
	--pd-gutter: clamp(16px, 4vw, 40px);
	--pd-max: 1240px;

	/* Krzywe ruchu (ease-out dla wejść, ease-in-out dla przesunięć na ekranie) */
	--pd-ease: cubic-bezier(0.23, 1, 0.32, 1);
	--pd-ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

@media (min-width: 1600px) {
	:root { --pd-max: 1320px; }
}

@media (max-width: 767px) {
	:root { --pd-header-h: 64px; }
}

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

/* Atrybut hidden zawsze wygrywa z regułami display (formularz, komunikaty). */
[hidden] { display: none !important; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--pd-header-h) + 16px);
	-webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--pd-bg);
	color: var(--pd-body);
	font-family: var(--pd-font);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

@supports (overflow: clip) {
	body { overflow-x: clip; }
}

img,
svg,
video { max-width: 100%; height: auto; }

a {
	color: var(--pd-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--pd-ink);
	line-height: 1.15;
	margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

strong { font-weight: 600; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

:focus-visible {
	outline: 3px solid var(--pd-accent);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection { background: var(--pd-sky-3); color: var(--pd-ink); }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	margin: 0;
	left: 12px;
	top: 12px;
	z-index: 100000;
	padding: 12px 18px;
	background: var(--pd-accent);
	color: var(--pd-accent-ink);
	font-weight: 600;
	border-radius: var(--pd-radius-s);
	text-decoration: none;
}

.pd-main:focus { outline: none; }

.pd-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	vertical-align: -0.2em;
}

/* 3. Układ
   -------------------------------------------------------------------------- */
.pd-wrap {
	width: 100%;
	max-width: calc(var(--pd-max) + 2 * var(--pd-gutter));
	margin-inline: auto;
	padding-inline: var(--pd-gutter);
}

.pd-wrap--narrow { max-width: calc(800px + 2 * var(--pd-gutter)); }

.pd-section {
	padding-block: clamp(64px, 9vw, 128px);
	position: relative;
}

.pd-section__head {
	max-width: 760px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.pd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--pd-accent);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.pd-eyebrow::before {
	content: "";
	width: 22px;
	height: 3px;
	border-radius: 2px;
	background: currentColor;
}

.pd-h2 {
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: clamp(2.25rem, 1.5rem + 2.7vw, 3.75rem);
	line-height: 1;
	letter-spacing: -0.01em;
	margin: 0;
	text-wrap: balance;
}

.pd-h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 16px;
}

.pd-h3 .pd-icon { color: var(--pd-accent); }

.pd-section__lead {
	margin: 18px 0 0;
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	color: var(--pd-muted);
	max-width: 40em;
}

/* 4. Przyciski
   -------------------------------------------------------------------------- */
.pd-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	color: var(--pd-ink);
	font-family: var(--pd-font);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.16s var(--pd-ease);
}

.pd-btn:active { transform: scale(0.97); }

.pd-btn__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.pd-btn__sub {
	font-size: 0.8125rem;
	font-weight: 500;
	opacity: 0.92;
	margin-top: 3px;
	letter-spacing: 0.01em;
}

.pd-btn__icon { display: inline-flex; }
.pd-btn__icon .pd-icon { width: 22px; height: 22px; }

.pd-btn--primary {
	background: var(--pd-accent);
	color: var(--pd-accent-ink);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 22px -10px rgba(14, 99, 208, 0.75);
}

.pd-btn--primary:focus-visible { outline-color: var(--pd-ink); }

.pd-btn--ghost {
	border-color: var(--pd-line-2);
	background: var(--pd-surface);
	color: var(--pd-ink);
	box-shadow: var(--pd-shadow-s);
}

.pd-btn--ghost .pd-btn__icon { color: var(--pd-accent); }

.pd-btn--light {
	background: #fff;
	color: var(--pd-sign);
	box-shadow: 0 10px 24px -12px rgba(2, 16, 45, 0.6);
}

.pd-btn--dark {
	background: var(--pd-ink);
	color: #fff;
}

.pd-btn--xl {
	min-height: 66px;
	padding: 0 26px;
	border-radius: 14px;
}

.pd-btn--xl .pd-btn__label { font-size: 1.1875rem; }

.pd-btn--block { width: 100%; }

/* Pierścień „sygnału” wokół głównego przycisku telefonu – przyciąga wzrok do najszybszej drogi kontaktu. */
.pd-btn--pulse::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	border: 2px solid var(--pd-accent);
	opacity: 0;
	pointer-events: none;
}

.pd-linkbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 32px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	color: inherit;
	cursor: pointer;
}

/* 5. Nagłówek i nawigacja
   -------------------------------------------------------------------------- */
.pd-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	backdrop-filter: saturate(160%) blur(16px);
	box-shadow: 0 1px 0 transparent;
	transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.admin-bar .pd-header { top: 32px; }

@media (max-width: 782px) {
	.admin-bar .pd-header { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar .pd-header { top: 0; }
}

.pd-header.is-scrolled {
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 1px 0 var(--pd-line), 0 12px 30px -18px rgba(10, 31, 60, 0.28);
}

.pd-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	height: var(--pd-header-h);
}

.pd-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 0 1 auto;
	color: var(--pd-ink);
	text-decoration: none;
}

.pd-logo__name {
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: 1.875rem;
	line-height: 1;
	letter-spacing: 0.005em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pd-logo__img {
	display: block;
	width: auto;
	max-height: 46px;
	max-width: 210px;
	object-fit: contain;
}

@media (min-width: 1280px) {
	.pd-header .pd-logo { flex: none; }
	.pd-nav { min-width: 0; }
}

.pd-nav .pd-menu {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pd-nav .pd-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--pd-body);
	font-size: 0.9875rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.pd-nav .pd-menu .current-menu-item > a { color: var(--pd-accent); }

.pd-nav__mobile-cta { display: none; }

.pd-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.pd-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--pd-ink);
	text-decoration: none;
	padding: 6px 10px 6px 6px;
	border-radius: 12px;
}

.pd-header__phone-icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--pd-accent-soft);
	color: var(--pd-accent);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.pd-header__phone-icon .pd-icon { width: 19px; height: 19px; }

.pd-header__phone-text { display: flex; flex-direction: column; line-height: 1.1; }
.pd-header__phone-label { font-size: 0.8125rem; font-weight: 500; color: var(--pd-muted); }
.pd-header__phone-num { font-family: var(--pd-display); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.02em; white-space: nowrap; }

.pd-header__cta { min-height: 46px; padding: 0 18px; }

.pd-burger {
	display: none;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--pd-line-2);
	border-radius: 12px;
	background: #fff;
	color: var(--pd-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, transform 0.16s var(--pd-ease);
}

.pd-burger:active { transform: scale(0.95); }
.pd-burger .pd-icon { width: 22px; height: 22px; }
.pd-burger__open { display: inline-flex; }
.pd-burger__close { display: none; }
.pd-burger[aria-expanded="true"] .pd-burger__open { display: none; }
.pd-burger[aria-expanded="true"] .pd-burger__close { display: inline-flex; }

@media (max-width: 1279px) {
	.pd-burger { display: inline-grid; }

	.pd-nav {
		position: fixed;
		inset: var(--pd-header-h) 0 auto 0;
		max-height: calc(100vh - var(--pd-header-h));
		max-height: calc(100dvh - var(--pd-header-h));
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 8px var(--pd-gutter) 24px;
		background: #fff;
		border-top: 1px solid var(--pd-line);
		box-shadow: 0 30px 60px -24px rgba(10, 31, 60, 0.35);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s var(--pd-ease), transform 0.2s var(--pd-ease), visibility 0s linear 0.2s;
	}

	.admin-bar .pd-nav { top: calc(var(--pd-header-h) + 32px); }

	.pd-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.2s var(--pd-ease), transform 0.2s var(--pd-ease), visibility 0s;
	}

	.pd-nav .pd-menu { flex-direction: column; align-items: stretch; gap: 0; }

	.pd-nav .pd-menu a {
		padding: 15px 4px;
		border-radius: 0;
		border-bottom: 1px solid var(--pd-line);
		color: var(--pd-ink);
		font-size: 1.1875rem;
	}

	.pd-nav__mobile-cta { display: grid; gap: 10px; margin-top: 20px; }
}

@media (max-width: 782px) {
	.admin-bar .pd-nav { top: calc(var(--pd-header-h) + 46px); }
}

@media (max-width: 1023px) {
	.pd-header__phone-text { display: none; }
	.pd-header__phone { padding: 0; }
	.pd-header__phone-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--pd-accent); color: #fff; }
}

@media (max-width: 599px) {
	.pd-header__cta { display: none; }
	.pd-header__inner { gap: 12px; }
	.pd-logo__name { font-size: 1.625rem; }
}

/* 6. Hero
   -------------------------------------------------------------------------- */
.pd-hero {
	position: relative;
	isolation: isolate;
	padding-block: clamp(28px, 4.5vw, 64px) clamp(56px, 7vw, 104px);
	background:
		radial-gradient(60% 55% at 85% 10%, rgba(255, 255, 255, 0.9), transparent 70%),
		linear-gradient(180deg, var(--pd-sky-2) 0%, var(--pd-sky) 52%, var(--pd-bg) 100%);
}

.pd-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.pd-glow {
	position: absolute;
	border-radius: 50%;
	will-change: transform;
}

.pd-glow--a {
	top: -22%;
	left: -12%;
	width: 62vw;
	height: 62vw;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
}

.pd-glow--b {
	top: -10%;
	right: -18%;
	width: 58vw;
	height: 58vw;
	background: radial-gradient(closest-side, rgba(96, 170, 248, 0.7), rgba(96, 170, 248, 0) 70%);
}

.pd-glow--c {
	bottom: -30%;
	left: 30%;
	width: 50vw;
	height: 50vw;
	background: radial-gradient(closest-side, rgba(140, 222, 255, 0.75), rgba(140, 222, 255, 0) 70%);
}

.pd-roads {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.pd-roads__net { filter: drop-shadow(0 6px 10px rgba(14, 99, 208, 0.12)); }

.pd-roads__net path {
	stroke: rgba(255, 255, 255, 0.9);
	stroke-width: 20;
	stroke-linecap: round;
}

.pd-roads__route {
	stroke: var(--pd-accent);
	stroke-width: 4;
	stroke-linecap: round;
	stroke-dasharray: 2 16;
	opacity: 0.7;
}

.pd-roads__pin { fill: var(--pd-accent); }

.pd-roads__ping {
	fill: none;
	stroke: var(--pd-accent);
	stroke-width: 2;
	transform-box: fill-box;
	transform-origin: center;
	opacity: 0;
}

@media (max-width: 1023px) {
	.pd-roads { opacity: 0.6; }
}

/* Pas jezdni pod sekcją – przerywana linia jak oznakowanie poziome. */
.pd-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: repeating-linear-gradient(90deg, var(--pd-sky-3) 0 48px, transparent 48px 84px);
	opacity: 0.7;
	z-index: -1;
}

.pd-hero__grid {
	display: grid;
	gap: clamp(32px, 4.5vw, 64px);
	align-items: start;
}

@media (min-width: 1024px) {
	.pd-hero__grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); }
	.pd-hero__copy { padding-top: 12px; }
}

.pd-kicker {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 22px;
	padding: 6px 6px 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: var(--pd-shadow-s);
	color: var(--pd-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
}

.pd-kicker__city {
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--pd-accent);
	color: #fff;
}

/* „Kogut” – pomarańczowe światło ostrzegawcze lawety. */
.pd-beacon {
	position: relative;
	width: 9px;
	height: 9px;
	flex: none;
	border-radius: 50%;
	background: var(--pd-amber);
}

.pd-beacon::after {
	content: "";
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	background: var(--pd-amber);
	opacity: 0;
}

.pd-hero__title {
	margin: 0 0 22px;
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: clamp(2.75rem, 1.5rem + 4.6vw, 5.75rem);
	line-height: 0.94;
	letter-spacing: -0.015em;
	color: var(--pd-ink);
}

.pd-hero__line { display: block; text-wrap: balance; }
.pd-hero__line.pd-hl { color: var(--pd-accent); }

.pd-hero__lead {
	max-width: 33em;
	margin: 0;
	font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
	font-weight: 500;
	line-height: 1.55;
	color: var(--pd-body);
}

.pd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.pd-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	color: var(--pd-body);
	font-size: 1rem;
	font-weight: 500;
}

.pd-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.pd-hero__facts .pd-icon { color: var(--pd-accent); width: 19px; height: 19px; }

/* Zdjęcie: niebo z fotografii przechodzi w błękit tła, dół zaokrąglony jak karta. */
.pd-hero__photo {
	position: relative;
	margin: 32px 0 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 0 0 28px 28px;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.55) 14%, #000 34%);
	mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.55) 14%, #000 34%);
}

.pd-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 64%;
}

.pd-safety {
	display: flex;
	gap: 12px;
	margin-top: 20px;
	padding: 14px 16px;
	max-width: 40em;
	border: 1px solid #f3dca6;
	border-left: 4px solid var(--pd-amber);
	border-radius: 0 var(--pd-radius-s) var(--pd-radius-s) 0;
	background: var(--pd-warn-soft);
	color: var(--pd-warn-ink);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.5;
}

.pd-safety .pd-icon { color: var(--pd-warn); width: 20px; height: 20px; margin-top: 1px; }
.pd-safety p { margin: 0; }

@media (max-width: 1023px) {
	.pd-hero__form { max-width: 720px; width: 100%; }
}

@media (max-width: 767px) {
	.pd-hero__photo {
		margin-inline: calc(-1 * var(--pd-gutter));
		aspect-ratio: 4 / 3;
		border-radius: 0;
	}
}

@media (max-width: 599px) {
	.pd-hero__actions { flex-direction: column; }
	.pd-hero__actions .pd-btn { width: 100%; justify-content: flex-start; }
}

/* 7. Formularz
   -------------------------------------------------------------------------- */
.pd-formcard {
	position: relative;
	padding: clamp(20px, 3vw, 34px);
	border: 1px solid var(--pd-line);
	border-radius: var(--pd-radius-l);
	background: var(--pd-surface);
	box-shadow: var(--pd-shadow-l);
	scroll-margin-top: calc(var(--pd-header-h) + 12px);
}

/* Linia pasa ruchu na górnej krawędzi karty. */
.pd-formcard::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 30px;
	right: 30px;
	height: 4px;
	border-radius: 0 0 4px 4px;
	background: repeating-linear-gradient(90deg, var(--pd-accent) 0 30px, transparent 30px 48px);
}

.pd-formcard:focus { outline: none; }

.pd-formcard__head { margin-bottom: 22px; }

.pd-formcard__title {
	margin: 0 0 6px;
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: clamp(2rem, 1.6rem + 1.2vw, 2.625rem);
	line-height: 1;
}

.pd-formcard__lead { margin: 0; color: var(--pd-muted); font-size: 0.9875rem; }

.pd-form { display: grid; gap: 18px; }

.pd-form__row { display: grid; gap: 18px; }

@media (min-width: 520px) {
	.pd-form__row { grid-template-columns: 1fr 1fr; }
}

.pd-field { min-width: 0; margin: 0; padding: 0; border: 0; }

.pd-label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	color: var(--pd-ink);
	font-size: 0.9875rem;
	font-weight: 600;
}

.pd-req { color: var(--pd-accent); }

.pd-input {
	display: block;
	width: 100%;
	min-height: 54px;
	padding: 14px 16px;
	border: 1.5px solid var(--pd-line-2);
	border-radius: 12px;
	background: var(--pd-input);
	color: var(--pd-ink);
	font-size: 1.0625rem; /* ≥16 px – iOS nie powiększa strony przy focusie */
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.pd-input::placeholder { color: #66788f; opacity: 1; }

.pd-input:focus {
	outline: none;
	border-color: var(--pd-accent);
	box-shadow: 0 0 0 4px rgba(14, 99, 208, 0.16);
}

.pd-input--area { resize: vertical; min-height: 84px; }

.pd-input.is-invalid,
.pd-chips.is-invalid .pd-chip span,
.pd-consent.is-invalid .pd-check__box { border-color: var(--pd-danger); }

.pd-input.is-invalid { background: #fffafa; }

.pd-error {
	margin: 8px 0 0;
	color: var(--pd-danger);
	font-size: 0.9rem;
	font-weight: 500;
}

/* Chipy wyboru problemu */
.pd-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }

.pd-chip { position: relative; display: inline-flex; cursor: pointer; }

.pd-chip input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.pd-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 9px 15px;
	border: 1.5px solid var(--pd-line-2);
	border-radius: 999px;
	background: #fff;
	color: var(--pd-body);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.25;
	user-select: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.16s var(--pd-ease);
}

.pd-chip:active span { transform: scale(0.96); }

.pd-chip input:checked + span {
	background: var(--pd-accent);
	border-color: var(--pd-accent);
	color: #fff;
	font-weight: 600;
}

.pd-chip input:focus-visible + span {
	outline: 3px solid var(--pd-accent);
	outline-offset: 2px;
}

/* Lokalizacja */
.pd-locate {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 56px;
	margin-bottom: 10px;
	padding: 10px 16px;
	border: 1.5px dashed var(--pd-accent-line);
	border-radius: 12px;
	background: var(--pd-accent-soft);
	color: var(--pd-accent);
	font-size: 1.0625rem;
	font-weight: 600;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.16s var(--pd-ease);
}

.pd-locate:active { transform: scale(0.98); }

.pd-locate .pd-icon { width: 22px; height: 22px; }

.pd-locate.is-loading .pd-icon { animation: pd-spin 1.2s linear infinite; }

.pd-locate.is-done { border-style: solid; border-color: var(--pd-accent); background: #fff; }

.pd-locstatus {
	margin: 8px 0 0;
	font-size: 0.9rem;
	color: var(--pd-muted);
	line-height: 1.45;
}

.pd-locstatus:empty { display: none; }
.pd-locstatus.is-error { color: var(--pd-danger); }
.pd-locstatus.is-ok { color: var(--pd-body); }
.pd-locstatus .pd-linkbtn { min-height: 0; min-width: 0; color: var(--pd-muted); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.pd-locstatus small { display: block; color: var(--pd-dim); margin-top: 2px; }

/* Wybrana usługa */
.pd-form__service {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0;
	padding: 6px 6px 6px 14px;
	border-radius: 12px;
	background: var(--pd-accent-soft);
	color: var(--pd-body);
	font-size: 0.9375rem;
}

.pd-form__service strong { color: var(--pd-accent); }

/* Szczegóły opcjonalne */
.pd-more {
	border: 1.5px solid var(--pd-line);
	border-radius: 12px;
	background: #fbfdff;
}

.pd-more summary {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 16px;
	color: var(--pd-ink);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	border-radius: 12px;
}

.pd-more summary::-webkit-details-marker { display: none; }
.pd-more summary span { color: var(--pd-dim); font-weight: 400; }
.pd-more summary .pd-icon { transition: transform 0.25s var(--pd-ease); color: var(--pd-accent); }
.pd-more[open] summary .pd-icon { transform: rotate(180deg); }
.pd-more__body { display: grid; gap: 16px; padding: 4px 16px 18px; }

/* Zgoda */
.pd-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	position: relative;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--pd-muted);
}

.pd-check input {
	position: absolute;
	opacity: 0;
	width: 24px;
	height: 24px;
	margin: 0;
	cursor: pointer;
}

.pd-check__box {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 24px;
	height: 24px;
	border: 1.5px solid var(--pd-line-2);
	border-radius: 7px;
	background: #fff;
	color: transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.16s var(--pd-ease);
}

.pd-check:active .pd-check__box { transform: scale(0.92); }
.pd-check__box .pd-icon { width: 16px; height: 16px; stroke-width: 3; }

.pd-check input:checked + .pd-check__box { background: var(--pd-accent); border-color: var(--pd-accent); color: #fff; }
.pd-check input:focus-visible + .pd-check__box { outline: 3px solid var(--pd-accent); outline-offset: 2px; }
.pd-check a { color: var(--pd-accent); font-weight: 500; }

/* Wysyłka */
.pd-submit { margin-top: 4px; }
.pd-submit .pd-icon { width: 22px; height: 22px; transition: transform 0.2s var(--pd-ease); }
.pd-submit__label { font-size: 1.1875rem; }

.pd-submit__spinner {
	display: none;
	width: 20px;
	height: 20px;
	border: 2.5px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: pd-spin 0.7s linear infinite;
}

.pd-submit.is-loading { pointer-events: none; opacity: 0.92; }
.pd-submit.is-loading .pd-submit__spinner { display: inline-block; }
.pd-submit.is-loading .pd-icon { display: none; }

@keyframes pd-spin { to { transform: rotate(360deg); } }

.pd-form__alt { margin: 0; text-align: center; color: var(--pd-muted); font-size: 0.9875rem; }
.pd-form__alt a { font-weight: 600; white-space: nowrap; }

.pd-form__summary {
	padding: 12px 14px;
	border: 1px solid rgba(196, 43, 43, 0.35);
	border-radius: 12px;
	background: var(--pd-danger-soft);
	color: #8f1f1f;
	font-size: 0.9375rem;
	font-weight: 500;
}

.pd-form__summary a { color: #8f1f1f; font-weight: 700; }

.pd-hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pd-notice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 18px;
	padding: 12px 14px;
	border: 1px solid var(--pd-accent-line);
	border-radius: 12px;
	background: var(--pd-accent-soft);
	color: var(--pd-ink);
	font-size: 0.9375rem;
}

.pd-notice p { margin: 0; }
.pd-notice .pd-icon { color: var(--pd-accent); }
.pd-notice--error { border-color: rgba(196, 43, 43, 0.35); background: var(--pd-danger-soft); }
.pd-notice--error .pd-icon { color: var(--pd-danger); }

.pd-success { text-align: center; padding: 12px 0 4px; }
.pd-success:focus { outline: none; }

.pd-success__icon {
	display: inline-grid;
	place-items: center;
	width: 76px;
	height: 76px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--pd-accent);
	color: #fff;
	box-shadow: 0 0 0 10px var(--pd-accent-soft);
}

.pd-success__icon .pd-icon { width: 36px; height: 36px; stroke-width: 2.5; }

.pd-success__title {
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: 2.375rem;
	line-height: 1;
	margin: 0 0 12px;
}

.pd-success p { color: var(--pd-muted); max-width: 30em; margin-inline: auto; }
.pd-success__urgent { margin: 24px 0 10px !important; font-size: 0.9375rem; }
.pd-success .pd-btn { justify-content: center; }

.pd-section--form { padding-block: clamp(40px, 6vw, 80px); }

/* 8. Usługi
   -------------------------------------------------------------------------- */
.pd-hero + .pd-section { padding-top: clamp(48px, 6vw, 88px); }

/* Siatka punktów – jak kratka na mapie – zanikająca ku dołowi. */
.pd-services::before,
.pd-area::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(circle, rgba(14, 99, 208, 0.16) 1.2px, transparent 1.8px);
	background-size: 24px 24px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
	mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
	pointer-events: none;
}

.pd-services,
.pd-area { isolation: isolate; }

.pd-area::before {
	-webkit-mask-image: radial-gradient(55% 70% at 80% 40%, #000, transparent 75%);
	mask-image: radial-gradient(55% 70% at 80% 40%, #000, transparent 75%);
}

.pd-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1100px) {
	.pd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.pd-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--pd-line);
	border-radius: 20px;
	background: var(--pd-surface);
	box-shadow: var(--pd-shadow-s);
}

.pd-card__icon {
	display: inline-grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 24px;
	border-radius: 16px;
	background: linear-gradient(145deg, #f3f9ff, var(--pd-sky-2));
	box-shadow: inset 0 0 0 1px rgba(14, 99, 208, 0.12), 0 8px 18px -10px rgba(14, 99, 208, 0.45);
	color: var(--pd-accent);
}

.pd-card__icon .pd-icon { width: 30px; height: 30px; stroke-width: 1.7; }

.pd-card__title {
	font-size: 1.3125rem;
	font-weight: 600;
	margin: 0 0 8px;
	line-height: 1.25;
}

.pd-card__desc { margin: 0; color: var(--pd-muted); font-size: 1rem; line-height: 1.55; }

.pd-card__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: auto;
	padding-top: 22px;
}

.pd-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--pd-accent);
	font-weight: 600;
	text-decoration: none;
}

.pd-card__cta { transition: color 0.15s ease; }
.pd-card__cta .pd-icon { transition: transform 0.2s var(--pd-ease); }
.pd-card__more { color: var(--pd-muted); font-size: 0.9375rem; display: inline-flex; align-items: center; min-height: 44px; }

.pd-card--cta {
	justify-content: flex-end;
	min-height: 220px;
	border: 1.5px dashed var(--pd-accent-line);
	background: var(--pd-sky);
	box-shadow: none;
}

.pd-card--cta .pd-card__title { font-family: var(--pd-display); font-weight: 700; font-size: 2.125rem; line-height: 1; }
.pd-card--cta .pd-card__desc { color: var(--pd-body); }
.pd-card--cta .pd-btn { min-height: 48px; }

/* 9. Proces
   -------------------------------------------------------------------------- */
.pd-process {
	background:
		radial-gradient(50% 70% at 0% 100%, rgba(255, 255, 255, 0.9), transparent 70%),
		radial-gradient(45% 60% at 100% 0%, rgba(120, 186, 250, 0.35), transparent 70%),
		var(--pd-sky);
}

.pd-steps {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pd-step {
	position: relative;
	padding: 6px 0 48px 116px;
	min-height: 96px;
}

/* Odcinek „drogi” między krokami. */
.pd-step::before {
	content: "";
	position: absolute;
	left: 43px;
	top: 104px;
	bottom: 12px;
	width: 3px;
	border-radius: 2px;
	background: repeating-linear-gradient(180deg, var(--pd-accent) 0 12px, transparent 12px 22px);
	opacity: 0.55;
	transform-origin: top;
}

.pd-step:last-child { padding-bottom: 0; }
.pd-step:last-child::before { display: none; }

.pd-step__num {
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 90px;
	height: 90px;
	border-radius: 24px;
	background: linear-gradient(160deg, #fff 30%, var(--pd-sky));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 18px 36px -18px rgba(10, 48, 110, 0.45);
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: 3.5rem;
	line-height: 1;
	color: var(--pd-accent);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.pd-step__num span {
		background: linear-gradient(180deg, #3d95f2, var(--pd-sign-2));
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}

.pd-step__title { font-size: 1.375rem; font-weight: 600; margin: 0 0 8px; }
.pd-step__text { margin: 0; color: var(--pd-muted); max-width: 28em; }

@media (min-width: 900px) {
	.pd-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }

	.pd-step { padding: 152px 0 0; min-height: 0; }

	.pd-step::before {
		left: 140px;
		right: -24px;
		top: 59px;
		bottom: auto;
		width: auto;
		height: 3px;
		background: repeating-linear-gradient(90deg, var(--pd-accent) 0 18px, transparent 18px 30px);
		transform-origin: left;
	}

	.pd-step:last-child::before { display: none; }
	.pd-step__num { width: 120px; height: 120px; border-radius: 30px; font-size: 4.5rem; }
}

.pd-process__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(40px, 5vw, 64px);
}

/* 10. Obszar działania
   -------------------------------------------------------------------------- */
.pd-area__grid { display: grid; gap: clamp(32px, 5vw, 64px); }

@media (min-width: 960px) {
	.pd-area__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

.pd-area__desc { color: var(--pd-body); max-width: 36em; font-size: 1.125rem; }
.pd-area__desc p:last-child { margin-bottom: 0; }

.pd-area__signs { display: grid; gap: 16px; }

/* Niebieski znak kierunkowy z białą obwódką. */
.pd-sign {
	position: relative;
	padding: 30px 32px 34px;
	border-radius: 16px;
	background: var(--pd-sign);
	box-shadow: inset 0 0 0 6px var(--pd-sign), inset 0 0 0 9px #fff, 0 30px 60px -30px rgba(11, 79, 179, 0.7);
	color: #fff;
}

.pd-sign::after {
	content: "";
	position: absolute;
	inset: 9px;
	border-radius: 9px;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 38%);
	pointer-events: none;
}

.pd-sign__label {
	display: block;
	margin-bottom: 10px;
	font-size: 1rem;
	font-weight: 600;
	color: #cfe3fb;
}

.pd-sign__arrow {
	position: absolute;
	top: 26px;
	right: 28px;
	display: inline-flex;
}

.pd-sign__arrow .pd-icon { width: 46px; height: 46px; stroke-width: 2.4; transform: rotate(-45deg); }

.pd-sign__city {
	display: block;
	padding-right: 56px;
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: clamp(2.75rem, 1.9rem + 3.2vw, 4.5rem);
	line-height: 1;
	color: #fff;
	overflow-wrap: anywhere;
}

.pd-sign__region { display: block; margin-top: 10px; font-size: 1.25rem; font-weight: 500; color: #e6f1fd; }

.pd-area__block {
	padding: 24px;
	border: 1px solid var(--pd-line);
	border-radius: 20px;
	background: var(--pd-surface);
	box-shadow: var(--pd-shadow-s);
}

.pd-routes { margin: 0; padding: 0; list-style: none; }

.pd-routes li {
	position: relative;
	padding: 12px 0 12px 22px;
	border-top: 1px solid var(--pd-line);
	color: var(--pd-ink);
}

.pd-routes li:first-child { border-top: 0; padding-top: 4px; }

.pd-routes li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 10px;
	height: 3px;
	border-radius: 2px;
	background: var(--pd-accent);
}

.pd-routes li:first-child::before { top: calc(50% - 4px); }

.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.pd-tags li {
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--pd-sky);
	color: var(--pd-ink);
	font-size: 0.9875rem;
	font-weight: 500;
}

/* 11. Opinie
   -------------------------------------------------------------------------- */
.pd-reviews {
	background:
		radial-gradient(40% 60% at 90% 10%, rgba(120, 186, 250, 0.35), transparent 70%),
		radial-gradient(45% 60% at 5% 90%, rgba(255, 255, 255, 0.95), transparent 70%),
		var(--pd-sky);
}

.pd-reviews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.pd-reviews__head .pd-section__head { margin-bottom: 0; }

.pd-reviews__preview {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	max-width: 62em;
	margin: -12px 0 28px;
	padding: 12px 16px;
	border: 1.5px dashed var(--pd-warn);
	border-radius: 12px;
	background: var(--pd-warn-soft);
	color: var(--pd-warn-ink);
	font-size: 0.9375rem;
}

.pd-reviews__preview .pd-icon { color: var(--pd-warn); margin-top: 2px; }
.pd-reviews__preview strong { color: var(--pd-warn-ink); }
.pd-reviews__preview a { color: var(--pd-warn-ink); font-weight: 600; }
.pd-quotes.is-preview .pd-quote figure { border-style: dashed; }
.pd-reviews--invite { padding-block: clamp(48px, 6vw, 80px); }
.pd-reviews--invite .pd-section__head { margin-bottom: 24px; }

.pd-quotes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 16px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.pd-quote figure {
	position: relative;
	height: 100%;
	margin: 0;
	padding: 30px 28px 26px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 24px;
	background: linear-gradient(180deg, #fff, #f8fbff);
	box-shadow: var(--pd-shadow-m);
	display: flex;
	flex-direction: column;
}

.pd-quote__mark {
	position: absolute;
	top: 22px;
	right: 24px;
	color: var(--pd-sky-3);
}

.pd-quote__mark .pd-icon { width: 44px; height: 44px; stroke-width: 1.4; }

.pd-quote blockquote { margin: 0 0 24px; color: var(--pd-ink); font-size: 1.125rem; line-height: 1.6; }
.pd-quote blockquote p { margin: 0; }

.pd-quote figcaption {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--pd-line);
	font-size: 0.9375rem;
}

.pd-avatar {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(150deg, #3d95f2, var(--pd-sign-2));
	color: #fff;
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.02em;
	box-shadow: 0 8px 16px -8px rgba(11, 79, 179, 0.8);
}

.pd-quote__who { display: flex; flex-direction: column; gap: 1px; }
.pd-quote figcaption strong { color: var(--pd-ink); font-size: 1.0625rem; }
.pd-quote__who span,
.pd-quote__who a { color: var(--pd-dim); }

.pd-stars { display: flex; gap: 3px; margin: 0 0 16px; color: var(--pd-line-2); }
.pd-stars .pd-icon { width: 20px; height: 20px; }
.pd-stars .is-on { color: var(--pd-amber); }
.pd-stars .is-on .pd-icon { fill: currentColor; }

.pd-review-invite {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	padding: 24px 26px;
	border: 1.5px dashed var(--pd-accent-line);
	border-radius: 20px;
	background: #fff;
}

.pd-review-invite > .pd-icon { width: 34px; height: 34px; color: var(--pd-accent); }
.pd-review-invite p { flex: 1 1 260px; margin: 0; color: var(--pd-ink); font-size: 1.0625rem; }

/* 12. FAQ
   -------------------------------------------------------------------------- */
.pd-faq__grid { display: grid; gap: clamp(24px, 4vw, 64px); }

@media (min-width: 960px) {
	.pd-faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
	.pd-faq__aside { position: sticky; top: calc(var(--pd-header-h) + 32px); align-self: start; }
}

.pd-faq__help { color: var(--pd-muted); margin-top: 18px; }
.pd-faq__help a { font-weight: 600; white-space: nowrap; }

.pd-faq__list { border-top: 1px solid var(--pd-line-2); }

.pd-faq__item { border-bottom: 1px solid var(--pd-line-2); }

.pd-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	border-radius: 6px;
}

.pd-faq__item summary::-webkit-details-marker { display: none; }

.pd-faq__q { margin: 0; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; transition: color 0.15s ease; }

.pd-faq__icon {
	position: relative;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--pd-sky);
	transition: background-color 0.2s ease;
}

.pd-faq__icon::before,
.pd-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 1px;
	background: var(--pd-accent);
	transition: transform 0.25s var(--pd-ease), background-color 0.2s ease;
}

.pd-faq__icon::after { transform: rotate(90deg); }
.pd-faq__item[open] .pd-faq__icon { background: var(--pd-accent); }
.pd-faq__item[open] .pd-faq__icon::before,
.pd-faq__item[open] .pd-faq__icon::after { background: #fff; }
.pd-faq__item[open] .pd-faq__icon::after { transform: rotate(0deg); }

.pd-faq__a { padding: 0 48px 24px 0; color: var(--pd-body); max-width: 62ch; }
.pd-faq__a p:last-child { margin-bottom: 0; }

/* Płynne rozwijanie odpowiedzi tam, gdzie przeglądarka to obsługuje (bez JS). */
@supports (interpolate-size: allow-keywords) {
	.pd-faq__item,
	.pd-more { interpolate-size: allow-keywords; }

	.pd-faq__item::details-content,
	.pd-more::details-content {
		height: 0;
		overflow: clip;
		transition: height 0.3s var(--pd-ease), content-visibility 0.3s allow-discrete;
	}

	.pd-faq__item[open]::details-content,
	.pd-more[open]::details-content { height: auto; }
}

/* 13. Końcowe CTA
   -------------------------------------------------------------------------- */
.pd-cta { padding-block: clamp(80px, 9vw, 128px) clamp(56px, 7vw, 96px); }

.pd-cta__panel {
	position: relative;
	isolation: isolate;
	display: grid;
	gap: 32px;
	padding: calc(min(84vw, 520px) * 0.52 - 20px) clamp(24px, 5vw, 72px) clamp(64px, 7vw, 96px);
	border-radius: 32px;
	background:
		radial-gradient(60% 80% at 85% 70%, rgba(126, 190, 255, 0.4), transparent 65%),
		radial-gradient(50% 60% at 0% 0%, rgba(255, 255, 255, 0.12), transparent 70%),
		linear-gradient(160deg, var(--pd-sign) 0%, var(--pd-sign-2) 100%);
	color: #fff;
	box-shadow: 0 40px 80px -40px rgba(11, 63, 145, 0.7);
}

/* Linia pasa ruchu na dole panelu. */
.pd-cta__panel::after {
	content: "";
	position: absolute;
	left: clamp(24px, 5vw, 72px);
	right: clamp(24px, 5vw, 72px);
	bottom: 22px;
	height: 3px;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 44px, transparent 44px 72px);
	z-index: -1;
}

/* Auto po kolizji: na telefonie wystaje nad panel, na komputerze stoi na pasie ruchu po prawej. */
.pd-cta__art {
	position: absolute;
	top: -64px;
	left: 50%;
	width: min(84vw, 520px);
	margin-left: calc(min(84vw, 520px) / -2);
	pointer-events: none;
	z-index: 1;
}

/* Cień kół na jezdni. */
.pd-cta__art::after {
	content: "";
	position: absolute;
	left: 8%;
	right: 6%;
	bottom: -4%;
	height: 16%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(2, 16, 45, 0.55), rgba(2, 16, 45, 0));
	z-index: -1;
}

.pd-cta__car {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 18px 16px rgba(2, 16, 45, 0.35));
}

@media (min-width: 960px) {
	.pd-cta__panel {
		min-height: 520px;
		padding-top: clamp(56px, 6vw, 88px);
		align-content: center;
	}

	.pd-cta__main { max-width: 54%; }

	.pd-cta__art {
		top: auto;
		left: auto;
		right: 2%;
		bottom: 34px;
		width: min(46%, 580px);
		margin-left: 0;
	}
}

.pd-cta__main { position: relative; z-index: 2; }

.pd-cta__title {
	margin: 0 0 16px;
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
	line-height: 0.95;
	color: #fff;
	text-wrap: balance;
}

.pd-cta__text { max-width: 34em; margin: 0 0 26px; font-size: 1.125rem; color: #e1eefc; }

.pd-cta__phone {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
	color: #fff;
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4.25rem);
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	text-underline-offset: 8px;
}

.pd-cta__phone .pd-icon { width: 0.8em; height: 0.8em; stroke-width: 2; }
.pd-cta :focus-visible { outline-color: #fff; }
.pd-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pd-cta__info {
	position: relative;
	z-index: 2;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 16px 36px;
	max-width: 100%;
	margin: 28px 0 0;
	padding: 18px 22px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.pd-cta__info dt { font-size: 0.9375rem; font-weight: 500; color: #cfe3fb; margin-bottom: 4px; }
.pd-cta__info dd { margin: 0; font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.pd-cta__info a { color: #fff; }
.pd-cta .pd-placeholder { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.pd-hours__row { display: flex; justify-content: space-between; gap: 16px; }
.pd-hours__note { display: block; margin-top: 6px; font-weight: 500; opacity: 0.85; font-size: 0.9375rem; }

.pd-hours { margin: 0; padding: 0; list-style: none; }
.pd-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }

/* 14. Stopka
   -------------------------------------------------------------------------- */
.pd-footer {
	padding: clamp(48px, 6vw, 80px) 0 32px;
	background: var(--pd-sky);
	border-top: 1px solid var(--pd-line);
	font-size: 0.9875rem;
	color: var(--pd-body);
}

.pd-footer__grid { display: grid; gap: 40px; }

@media (min-width: 640px) {
	.pd-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.pd-footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}

.pd-footer__legal {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 20px;
	font-style: normal;
	line-height: 1.6;
	color: var(--pd-muted);
}

.pd-footer__legal span:first-child { color: var(--pd-ink); font-weight: 500; }

.pd-footer__note { margin: 14px 0 0; font-size: 0.9rem; color: var(--pd-muted); }

.pd-footer__title {
	margin: 0 0 14px;
	color: var(--pd-ink);
	font-family: var(--pd-font);
	font-size: 1rem;
	font-weight: 600;
}

.pd-footer__list,
.pd-footer .pd-menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }

.pd-footer__list a,
.pd-footer .pd-menu a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	color: var(--pd-body);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.pd-footer__list .pd-icon { color: var(--pd-accent); width: 18px; height: 18px; }

.pd-footer__phone { font-family: var(--pd-display); font-weight: 700; font-size: 1.625rem; color: var(--pd-ink) !important; letter-spacing: 0.02em; }
.pd-footer__hours { margin-top: 14px; max-width: 300px; }
.pd-footer__area { color: var(--pd-ink); font-weight: 500; margin: 0 0 8px; }
.pd-footer__muted { color: var(--pd-muted); }

.pd-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--pd-line-2);
	color: var(--pd-muted);
	font-size: 0.9rem;
}

.pd-footer__bottom p { margin: 0; }
.pd-footer__bottom a { color: var(--pd-body); }
.pd-footer__social { display: flex; gap: 20px; }

/* 15. Pasek szybkiego kontaktu (telefony)
   -------------------------------------------------------------------------- */
.pd-sticky { display: none; }

@media (max-width: 899px) {
	.pd-sticky {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		z-index: 60;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 8px;
		border: 1px solid var(--pd-line);
		border-radius: 20px;
		background: rgba(255, 255, 255, 0.92);
		-webkit-backdrop-filter: saturate(160%) blur(16px);
		backdrop-filter: saturate(160%) blur(16px);
		box-shadow: 0 20px 50px -12px rgba(10, 31, 60, 0.35);
		transition: transform 0.3s var(--pd-ease), opacity 0.3s ease, visibility 0s;
	}

	.pd-sticky--single { grid-template-columns: 1fr; }

	.pd-sticky.is-hidden {
		transform: translateY(calc(100% + 24px));
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s var(--pd-ease), opacity 0.3s ease, visibility 0s linear 0.3s;
	}

	.pd-sticky a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 54px;
		border-radius: 14px;
		font-size: 1.0625rem;
		font-weight: 600;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
		transition: transform 0.16s var(--pd-ease);
	}

	.pd-sticky a:active { transform: scale(0.97); }
	.pd-sticky .pd-icon { width: 20px; height: 20px; }
	.pd-sticky__call { background: var(--pd-accent); color: #fff; box-shadow: 0 10px 20px -10px rgba(14, 99, 208, 0.8); }
	.pd-sticky__form { background: var(--pd-sky); color: var(--pd-ink); }
	.pd-sticky__form .pd-icon { color: var(--pd-accent); }
	.pd-sticky :focus-visible { outline-offset: 1px; }

	.pd-has-sticky .pd-footer { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
}

/* 16. Podstrony i treść z edytora
   -------------------------------------------------------------------------- */
.pd-page__head {
	padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px);
	background: linear-gradient(180deg, var(--pd-sky-2), var(--pd-sky) 70%, var(--pd-bg));
}

.pd-page__title {
	max-width: 18em;
	margin: 0;
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
	line-height: 0.98;
	text-wrap: balance;
}

.pd-page__lead { margin: 18px 0 0; max-width: 40em; color: var(--pd-muted); font-size: 1.1875rem; }
.pd-page__meta { margin: 14px 0 0; color: var(--pd-dim); font-size: 0.9375rem; }
.pd-page__media { padding-top: 32px; }
.pd-page__media img { width: 100%; border-radius: var(--pd-radius-l); }

.pd-crumbs { margin-bottom: 18px; font-size: 0.9rem; }
.pd-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.pd-crumbs li { color: var(--pd-muted); }
.pd-crumbs li + li::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.pd-crumbs a { color: var(--pd-accent); text-decoration: none; }

.pd-content { padding-block: clamp(36px, 5vw, 72px); }

.pd-content > *,
.pd-front-content > *:not(.pd-landing):not(.alignfull):not(.elementor):not(.e-con) {
	max-width: calc(780px + 2 * var(--pd-gutter));
	margin-inline: auto;
	padding-inline: var(--pd-gutter);
}

.pd-content > .alignwide { max-width: calc(var(--pd-max) + 2 * var(--pd-gutter)); }
.pd-content > .alignfull,
.pd-content > .pd-landing,
.pd-content > .elementor { max-width: none; padding-inline: 0; }
.pd-content > .pd-landing .pd-section { padding-block: clamp(40px, 5vw, 72px); }

.pd-content h2,
.pd-content h3,
.pd-content h4 { margin-top: 1.8em; }

.pd-content h2 {
	font-family: var(--pd-display);
	font-weight: 700;
	font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.6rem);
	line-height: 1.05;
}

.pd-content h3 { font-size: 1.375rem; font-weight: 600; }
.pd-content p,
.pd-content li { line-height: 1.75; }
.pd-content ul,
.pd-content ol { padding-left: 1.3em; }
.pd-content li { margin-bottom: 0.4em; }
.pd-content li::marker { color: var(--pd-accent); }
.pd-content strong { color: var(--pd-ink); }
.pd-content img { border-radius: var(--pd-radius); }
.pd-content hr { border: 0; border-top: 1px solid var(--pd-line-2); margin: 2.5em auto; }

.pd-content blockquote,
.wp-block-quote {
	margin: 1.6em auto;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--pd-accent);
	color: var(--pd-ink);
	font-size: 1.1875rem;
}

.pd-content table,
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.pd-content th,
.pd-content td { padding: 12px 14px; border: 1px solid var(--pd-line-2); text-align: left; vertical-align: top; }
.pd-content th { background: var(--pd-sky); color: var(--pd-ink); }
.wp-block-table { overflow-x: auto; }
.wp-block-table thead { border-bottom: 0; }

.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 12px;
	background: var(--pd-accent);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.is-style-outline .wp-block-button__link { background: #fff; border: 1px solid var(--pd-line-2); color: var(--pd-ink); }

.wp-caption-text,
.wp-element-caption,
figcaption { color: var(--pd-dim); font-size: 0.9rem; margin-top: 8px; }

.alignleft { float: left; margin: 0.4em 1.6em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; }

.pd-inline-phone { font-weight: 700; white-space: nowrap; }

/* Wyszukiwarka, wpisy, komentarze */
.search-form { display: flex; gap: 8px; max-width: 520px; margin-top: 20px; }
.search-form label { flex: 1; }
.search-form .search-field {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1.5px solid var(--pd-line-2);
	border-radius: 12px;
	background: #fff;
	color: var(--pd-ink);
	font-size: 1.0625rem;
}
.search-form .search-submit {
	min-height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 12px;
	background: var(--pd-accent);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.pd-posts { display: grid; gap: 16px; margin: clamp(32px, 4vw, 56px) 0; padding: 0; list-style: none; }

@media (min-width: 768px) {
	.pd-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
	.pd-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.pd-post { border: 1px solid var(--pd-line); border-radius: 20px; background: #fff; box-shadow: var(--pd-shadow-s); overflow: hidden; }
.pd-post__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pd-post__body { padding: 22px 24px 26px; }
.pd-post__body .pd-page__meta { margin: 0 0 8px; }
.pd-post__title { font-size: 1.3125rem; font-weight: 600; }
.pd-post__title a { color: var(--pd-ink); text-decoration: none; }
.pd-post p { color: var(--pd-muted); margin: 0; }

.pagination .nav-links,
.post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-bottom: 48px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--pd-line-2); border-radius: 10px; color: var(--pd-ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--pd-accent); color: #fff; border-color: var(--pd-accent); }
.pagination .nav-links { justify-content: flex-start; }

.pd-comments { padding-bottom: 48px; }
.pd-comments__list { padding-left: 0; list-style: none; }
.pd-comments .comment-body { padding: 18px 0; border-bottom: 1px solid var(--pd-line); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--pd-line-2); border-radius: 12px; background: #fff; color: var(--pd-ink); font-size: 1.0625rem; }
.comment-form .submit { min-height: 50px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--pd-accent); color: #fff; font-weight: 600; cursor: pointer; }

.pd-empty { padding-block: 48px; }
.pd-404 .pd-page__head { padding-bottom: clamp(64px, 8vw, 120px); }
.pd-404__home { margin-top: 32px; }

/* 17. Placeholdery dla administratora
   -------------------------------------------------------------------------- */
.pd-placeholder {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 8px 0;
	padding: 10px 14px;
	border: 1.5px dashed var(--pd-warn);
	border-radius: 10px;
	background: var(--pd-warn-soft);
	color: var(--pd-warn-ink);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	line-height: 1.4;
}

.pd-placeholder span { font-weight: 400; opacity: 0.85; }
.pd-section > .pd-wrap > .pd-placeholder { margin: 0; }

/* 18. Hover – wyłącznie elementy klikalne i tylko na urządzeniach z kursorem
   (na ekranach dotykowych stan hover „przykleja się” po stuknięciu).
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
	a:hover { color: var(--pd-accent-hover); }

	.pd-btn--primary:hover { background: var(--pd-accent-hover); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 14px 26px -10px rgba(14, 99, 208, 0.85); }
	.pd-btn--ghost:hover { border-color: var(--pd-accent); color: var(--pd-accent); }
	.pd-btn--light:hover { background: var(--pd-sky); color: var(--pd-sign-2); }
	.pd-btn--dark:hover { background: #142f55; color: #fff; }
	.pd-submit:hover .pd-icon { transform: translateX(4px); }
	.pd-linkbtn:hover { color: var(--pd-accent); }
	.pd-burger:hover { border-color: var(--pd-accent); }

	.pd-nav .pd-menu a:hover { color: var(--pd-accent); background: var(--pd-sky); }
	.pd-header__phone:hover { color: var(--pd-accent); }
	.pd-header__phone:hover .pd-header__phone-icon { background: var(--pd-accent); color: #fff; }

	.pd-input:hover:not(:focus) { border-color: #9fbbd8; }
	.pd-chip:hover input:not(:checked) + span { border-color: var(--pd-accent); color: var(--pd-ink); }
	.pd-locate:hover { background: #d4e6fb; border-style: solid; }
	.pd-more summary:hover { color: var(--pd-accent); }
	.pd-check:hover input:not(:checked) + .pd-check__box { border-color: var(--pd-accent); }

	.pd-card__cta:hover { color: var(--pd-accent-hover); }
	.pd-card__cta:hover .pd-icon { transform: translateX(5px); }
	.pd-card__more:hover { color: var(--pd-ink); }

	.pd-faq__item summary:hover .pd-faq__q { color: var(--pd-accent); }
	.pd-faq__item summary:hover .pd-faq__icon { background: var(--pd-sky-2); }
	.pd-faq__item[open] summary:hover .pd-faq__icon { background: var(--pd-accent-hover); }

	.pd-cta__phone:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; }
	.pd-cta__info a:hover { color: #cfe3fb; }

	.pd-footer__list a:hover,
	.pd-footer .pd-menu a:hover,
	.pd-footer__bottom a:hover { color: var(--pd-accent); }

	.pd-crumbs a:hover,
	.pd-post__title a:hover { color: var(--pd-accent-hover); }
	.pd-placeholder:hover { color: var(--pd-ink); border-style: solid; }
	.wp-block-button__link:hover { background: var(--pd-accent-hover); color: #fff; }
	.pagination a.page-numbers:hover { border-color: var(--pd-accent); color: var(--pd-accent); }
}

/* 19. Ruch
   Jedna sekwencja wejścia sekcji głównej, odsłanianie przy przewijaniu,
   „droga” między krokami, auto wjeżdżające do panelu kontaktu.
   -------------------------------------------------------------------------- */
@keyframes pd-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes pd-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes pd-photo {
	from { opacity: 0; transform: scale(1.07); }
	to { opacity: 1; transform: none; }
}

@keyframes pd-ring {
	0% { opacity: 0.55; transform: scale(1); }
	70%, 100% { opacity: 0; transform: scale(1.06, 1.32); }
}

@keyframes pd-beacon {
	0% { opacity: 0.6; transform: scale(0.6); }
	80%, 100% { opacity: 0; transform: scale(1.8); }
}

@keyframes pd-draw {
	from { stroke-dashoffset: 22; }
	to { stroke-dashoffset: 0; }
}

@keyframes pd-pop {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: none; }
}

@keyframes pd-drift-a {
	to { transform: translate(8vw, 6vh) scale(1.12); }
}

@keyframes pd-drift-b {
	to { transform: translate(-10vw, 8vh) scale(0.9); }
}

@keyframes pd-drift-c {
	to { transform: translate(-6vw, -10vh) scale(1.15); }
}

@keyframes pd-route {
	to { stroke-dashoffset: -720; }
}

@keyframes pd-ping {
	0% { opacity: 0.8; transform: scale(1); }
	100% { opacity: 0; transform: scale(4.5); }
}

@keyframes pd-reveal-fallback {
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	/* Sekcja główna – elementy wchodzą kolejno (CSS, działa też bez JavaScriptu). */
	.pd-kicker,
	.pd-hero__line,
	.pd-hero__lead,
	.pd-hero__actions,
	.pd-hero__facts,
	.pd-safety,
	.pd-hero__form { animation: pd-rise 0.7s var(--pd-ease) both; }

	.pd-hero__line:nth-child(1) { animation-delay: 60ms; }
	.pd-hero__line:nth-child(2) { animation-delay: 140ms; }
	.pd-hero__lead { animation-delay: 220ms; }
	.pd-hero__actions { animation-delay: 280ms; }
	.pd-hero__facts { animation-delay: 340ms; }
	.pd-hero__form { animation-delay: 160ms; animation-duration: 0.8s; }
	.pd-safety { animation-delay: 520ms; }

	.pd-hero__img { animation: pd-photo 1.2s var(--pd-ease) 0.25s both; }

	.pd-btn--pulse::after { animation: pd-ring 2.8s var(--pd-ease) 1.4s infinite; }

	/* Tło: poświaty dryfują powoli, po trasie „jedzie” przerywana linia. */
	.pd-glow--a { animation: pd-drift-a 22s ease-in-out infinite alternate; }
	.pd-glow--b { animation: pd-drift-b 26s ease-in-out infinite alternate; }
	.pd-glow--c { animation: pd-drift-c 30s ease-in-out infinite alternate; }
	.pd-roads__route { animation: pd-route 40s linear infinite; }
	.pd-roads__ping { animation: pd-ping 2.8s var(--pd-ease) infinite; }
	.pd-beacon::after { animation: pd-beacon 1.6s var(--pd-ease) infinite; }

	/* Odsłanianie przy przewijaniu */
	.pd-js .pd-reveal {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity 0.7s var(--pd-ease), transform 0.7s var(--pd-ease);
		/* Gdyby JavaScript się nie załadował – pokaż treść po 2,5 s. */
		animation: pd-reveal-fallback 0.01s 2.5s forwards;
	}

	.pd-js .pd-reveal.is-in {
		opacity: 1;
		transform: none;
		animation: none;
	}

	/* „Droga” między krokami rysuje się po kolei. */
	.pd-js .pd-steps .pd-step::before { transform: scaleY(0); transition: transform 0.9s var(--pd-ease-io); }
	.pd-js .pd-steps .pd-step:nth-child(2)::before { transition-delay: 0.45s; }
	.pd-js .pd-steps.is-in .pd-step::before { transform: none; }

	@media (min-width: 900px) {
		.pd-js .pd-steps .pd-step::before { transform: scaleX(0); }
		.pd-js .pd-steps.is-in .pd-step::before { transform: none; }
	}

	.pd-js .pd-steps .pd-step__num { transform: scale(0.85); transition: transform 0.5s var(--pd-ease); }
	.pd-js .pd-steps.is-in .pd-step__num { transform: none; }
	.pd-js .pd-steps .pd-step:nth-child(2) .pd-step__num { transition-delay: 0.55s; }
	.pd-js .pd-steps .pd-step:nth-child(3) .pd-step__num { transition-delay: 1s; }

	/* Auto wjeżdża do panelu kontaktu i lekko „dohamowuje”. */
	.pd-js .pd-cta__panel .pd-cta__car {
		opacity: 0;
		transform: translateX(-28%) rotate(-1.5deg);
		transition: transform 1.1s var(--pd-ease) 0.2s, opacity 0.5s var(--pd-ease) 0.2s;
	}

	.pd-js .pd-cta__panel.is-in .pd-cta__car { opacity: 1; transform: none; }

	/* Potwierdzenie wysłania – znaczek rysuje się po pojawieniu panelu. */
	.pd-success:not([hidden]) .pd-success__icon { animation: pd-pop 0.4s var(--pd-ease) both; }
	.pd-success:not([hidden]) .pd-success__icon path { stroke-dasharray: 22; animation: pd-draw 0.45s var(--pd-ease) 0.2s both; }
	.pd-success:not([hidden]) > :not(.pd-success__icon) { animation: pd-rise 0.5s var(--pd-ease) 0.15s both; }
}

/* Ograniczony ruch: zostaje łagodne przenikanie, znika przesuwanie i pulsowanie. */
@media (prefers-reduced-motion: reduce) {
	.pd-hero__copy,
	.pd-hero__form { animation: pd-fade 0.4s ease both; }

	.pd-js .pd-reveal {
		opacity: 0;
		transition: opacity 0.4s ease;
		animation: pd-reveal-fallback 0.01s 2.5s forwards;
	}

	.pd-js .pd-reveal.is-in { opacity: 1; animation: none; }

	.pd-btn,
	.pd-chip span,
	.pd-sticky,
	.pd-nav { transition-property: opacity, background-color, border-color, color, box-shadow, visibility; }

	.pd-btn:active,
	.pd-chip:active span,
	.pd-card__cta:hover .pd-icon { transform: none; }
}

/* Blokada przewijania przy otwartym menu mobilnym */
.pd-nav-open { overflow: hidden; }

/* 20. Drobne ekrany (320–374 px)
   -------------------------------------------------------------------------- */
@media (max-width: 374px) {
	.pd-btn--xl { padding: 0 18px; min-height: 62px; }
	.pd-formcard { padding: 18px 14px; border-radius: 18px; }
	.pd-formcard::before { left: 18px; right: 18px; }
	.pd-chip span { padding: 8px 12px; font-size: 0.875rem; }
	.pd-card { padding: 22px 20px; }
	.pd-sign { padding: 24px 22px 26px; }
	.pd-cta__panel { border-radius: 22px; }
	.pd-kicker { font-size: 0.875rem; }
}

/* 21. Druk
   -------------------------------------------------------------------------- */
@media print {
	.pd-header,
	.pd-sticky,
	.pd-hero__photo,
	.pd-cta__art,
	.pd-form { display: none !important; }
	body { background: #fff; color: #000; }
	* { animation: none !important; }
}

/* 22. Klasy wymagane przez WordPress
   -------------------------------------------------------------------------- */
.sticky .pd-post__title::before { content: "★ "; color: var(--pd-accent); }
.bypostauthor > .comment-body .fn { color: var(--pd-accent); }
.gallery-caption { color: var(--pd-dim); font-size: 0.875rem; }
.pd-tags-list { margin-top: 32px; color: var(--pd-dim); font-size: 0.9375rem; }
