/* Nowy wygląd – Marcin Prause (wariant „Reżyserka”) */
:root {
	--pw-bg: #0b0c0e;
	--pw-panel: #15171a;
	--pw-line: #2a2d32;
	--pw-text: #f2f2f0;
	--pw-soft: #d9dbde;
	--pw-body: #c9ccd1;
	--pw-muted: #a6abb2;
	--pw-accent: #ffa300;
	--pw-red: #ff3b30;
	--pw-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--pw-sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pw-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.pw { margin: 0; background: var(--pw-bg); color: var(--pw-text); font-family: var(--pw-sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.pw img { max-width: 100%; height: auto; }
.pw a { color: var(--pw-text); }
.pw a:hover { color: var(--pw-accent); }
.pw :focus-visible { outline: 3px solid var(--pw-accent); outline-offset: 3px; }

.pw-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.pw-skip { position: absolute; left: -9999px; top: 0; background: var(--pw-accent); color: var(--pw-bg) !important; padding: 10px 16px; z-index: 100; }
.pw-skip:focus { left: 16px; top: 16px; }

.pw-label { font-family: var(--pw-mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--pw-muted); }
.pw-accent { color: var(--pw-accent) !important; }
.pw-muted { color: var(--pw-body); }
.pw-h2 { margin: 14px 0 40px; font-family: var(--pw-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; max-width: 860px; }

/* Przyciski */
.pw-btn { display: inline-flex; align-items: center; min-height: 48px; background: var(--pw-accent); color: var(--pw-bg) !important; font-family: var(--pw-cond); font-weight: 700; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 12px 28px; border: 2px solid var(--pw-accent); transition: background .15s, color .15s; }
.pw-btn:hover { background: transparent; color: var(--pw-accent) !important; }
.pw-btn-ghost { background: transparent; color: var(--pw-text) !important; border-color: var(--pw-text); }
.pw-btn-ghost:hover { border-color: var(--pw-accent); }
.pw-btn-sm { min-height: 44px; font-size: 18px; padding: 8px 18px; }
.pw-more { font-family: var(--pw-cond); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--pw-accent) !important; }
.pw-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Nagłówek */
.pw-header { border-bottom: 1px solid #24272c; background: var(--pw-bg); position: relative; z-index: 10; }
.pw-header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.pw-logo img { display: block; height: 46px; width: auto; }
.pw-nav { display: flex; align-items: center; gap: 28px; font-family: var(--pw-cond); font-size: 19px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pw-nav a { text-decoration: none; white-space: nowrap; }

/* Hero */
.pw-hero { position: relative; min-height: 720px; display: flex; align-items: flex-end; overflow: hidden; }
.pw-hero-img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: center 35%; }
.pw-hero::after, .pw-banner::after { content: ''; position: absolute; inset: 0; background: rgba(11, 12, 14, .62); }
.pw-banner::after { background: rgba(11, 12, 14, .5); }
.pw-hero-in, .pw-banner-in { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 88px; }
.pw-live { display: inline-flex; align-items: center; gap: 10px; font-family: var(--pw-mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(242, 242, 240, .35); padding: 6px 12px; }
.pw-live span { width: 10px; height: 10px; border-radius: 50%; background: var(--pw-red); animation: pw-tally 2s ease-in-out infinite; }
@keyframes pw-tally { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .pw-live span { animation: none; } html { scroll-behavior: auto; } }
.pw-hero h1 { margin: 28px 0 0; font-family: var(--pw-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(50px, 7.4vw, 112px); line-height: .92; letter-spacing: -.01em; max-width: 1000px; color: var(--pw-text); }
.pw-hero h1 em { font-style: normal; color: var(--pw-accent); }
.pw-lead { margin: 28px 0 0; max-width: 640px; font-size: 21px; line-height: 1.55; color: var(--pw-soft); }
.pw-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }

/* Liczby i klienci */
.pw-stats, .pw-clients { border-bottom: 1px solid #24272c; }
.pw-stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pw-stats-in > div { padding: 36px 24px; border-right: 1px solid #24272c; }
.pw-stats-in > div:first-child { padding-left: 0; }
.pw-stats-in > div:last-child { border-right: 0; }
.pw-stats strong { display: block; font-family: var(--pw-cond); font-weight: 700; font-size: 60px; line-height: 1; }
.pw-stats span { display: block; margin-top: 8px; color: var(--pw-muted); font-size: 16px; }
.pw-clients-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 32px; padding-bottom: 32px; }
.pw-clients ul { display: contents; list-style: none; margin: 0; padding: 0; }
.pw-clients li { font-family: var(--pw-cond); font-weight: 600; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; color: var(--pw-soft); }
.pw-clients .pw-label { font-size: 13px; }

/* Sekcje */
.pw-section { padding-top: 112px; padding-bottom: 96px; }
.pw-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pw-card { background: var(--pw-panel); display: flex; flex-direction: column; }
.pw-card > img { width: 100%; height: 260px !important; object-fit: cover; display: block; }
.pw-card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pw-num { font-family: var(--pw-mono); font-size: 13px; color: var(--pw-muted); }
.pw-card h3 { margin: 0; font-family: var(--pw-cond); font-weight: 700; text-transform: uppercase; font-size: 32px; line-height: 1.05; }
.pw-card p { margin: 0; color: var(--pw-body); font-size: 17px; }
.pw-card .pw-more { margin-top: auto; }

.pw-panel { background: var(--pw-panel); }
.pw-panel .pw-split { padding-top: 96px; padding-bottom: 96px; }
.pw-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.pw-split-img { flex: 1 1 520px; min-width: 0; height: 520px !important; object-fit: cover; display: block; }
.pw-split-txt { flex: 1 1 420px; min-width: 0; }
.pw-spec { margin: 0 0 36px; border-top: 1px solid #2d3036; }
.pw-spec > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid #2d3036; }
.pw-spec dt { font-family: var(--pw-cond); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.pw-spec dd { margin: 0; color: var(--pw-muted); }

.pw-banner { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.pw-banner-in { padding-top: 64px; padding-bottom: 64px; }
.pw-banner-box { background: var(--pw-bg); border-left: 6px solid var(--pw-accent); padding: 28px 32px; max-width: 720px; }
.pw-banner-box p { margin: 10px 0 0; font-family: var(--pw-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; }

.pw-tiles { margin: 28px 0 32px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pw-tiles li { border: 1px solid #2d3036; padding: 14px 18px; }
.pw-device { flex: 0 1 380px; min-width: 0; background: var(--pw-panel); padding: 48px; display: flex; justify-content: center; }
.pw-device img { width: 100%; max-width: 260px; display: block; }

/* Kontakt i stopka */
.pw-cta { background: var(--pw-accent); color: var(--pw-bg); }
.pw-cta a { color: var(--pw-bg) !important; }
.pw-cta-in { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; align-items: flex-end; padding-top: 96px; padding-bottom: 96px; }
.pw-cta-txt { flex: 1 1 560px; min-width: 0; }
.pw-cta h2 { margin: 0; font-family: var(--pw-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(42px, 5.6vw, 80px); line-height: .95; }
.pw-cta p { margin: 24px 0 0; font-size: 20px; max-width: 560px; }
.pw-cta-kontakt { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.pw-cta-name { font-family: var(--pw-cond); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.pw-cta-tel { font-family: var(--pw-cond); font-weight: 700; font-size: 44px; line-height: 1.1; text-decoration: none; }
.pw-cta-mail { font-size: 22px; font-weight: 600; }
.pw-footer { border-top: 1px solid #24272c; color: var(--pw-muted); font-size: 15px; }
.pw-footer-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.pw-footer img { height: 36px; width: auto; display: block; }
.pw-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.pw-footer a { color: var(--pw-muted); }

/* Podstrony z treścią */
.pw-page { padding: 80px 32px 112px; }
.pw-article { max-width: 880px; margin: 0 auto; color: var(--pw-body); }
.pw-article > p:first-child a { font-family: var(--pw-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--pw-accent); text-decoration: none; }
.pw-article h1 { margin: 0 0 32px; font-family: var(--pw-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(42px, 5.4vw, 76px); line-height: .98; color: var(--pw-text); }
.pw-article h1 + p { font-size: 21px; color: var(--pw-soft); }
.pw-article h2 { margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--pw-line); font-family: var(--pw-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; color: var(--pw-text); }
.pw-article h3 { margin: 40px 0 12px; font-family: var(--pw-cond); font-weight: 700; text-transform: uppercase; font-size: 26px; color: var(--pw-text); }
.pw-article strong { color: var(--pw-text); }
.pw-article a { color: var(--pw-accent); }
.pw-article ul, .pw-article ol { padding-left: 0; list-style: none; }
.pw-article li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid #1f2226; }
.pw-article li::before { content: ''; position: absolute; left: 0; top: 21px; width: 12px; height: 3px; background: var(--pw-accent); }
.pw-article figure { margin: 40px 0; }
.pw-article figure img { display: block; margin: 0 auto; }
.pw-article .wp-block-image:not(.aligncenter) img { width: 100%; }
.pw-article figcaption { margin-top: 10px; font-family: var(--pw-mono); font-size: 13px; color: var(--pw-muted); text-align: left; }
.pw-article .wp-block-table { overflow-x: auto; }
.pw-article table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
.pw-article th { text-align: left; font-family: var(--pw-cond); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: var(--pw-text); background: var(--pw-panel); padding: 14px 16px; border-bottom: 3px solid var(--pw-accent); }
.pw-article td { padding: 12px 16px; border-bottom: 1px solid var(--pw-line); vertical-align: top; }
.pw-article td:first-child { color: var(--pw-muted); }

/* Telefon i tablet */
@media (max-width: 1024px) {
	.pw-header-in { flex-wrap: wrap; gap: 12px; }
	.pw-nav { width: 100%; gap: 22px; overflow-x: auto; padding-bottom: 6px; }
	.pw-cards { grid-template-columns: 1fr 1fr; }
	.pw-stats-in { grid-template-columns: 1fr 1fr; }
	.pw-stats-in > div:nth-child(2) { border-right: 0; }
	.pw-stats-in > div:nth-child(3) { padding-left: 0; }
	.pw-stats-in > div:nth-child(-n+2) { border-bottom: 1px solid #24272c; }
}
@media (max-width: 760px) {
	body.pw { font-size: 17px; }
	.pw-wrap { padding-left: 16px; padding-right: 16px; }
	.pw-header-in { flex-wrap: wrap; gap: 12px; }
	.pw-logo img { height: 38px; }
	.pw-nav { width: 100%; gap: 20px; overflow-x: auto; padding-bottom: 6px; font-size: 17px; }
	.pw-nav .pw-btn-sm { display: none; }
	.pw-hero { min-height: 600px; }
	.pw-hero-in { padding-top: 80px; padding-bottom: 56px; }
	.pw-lead { font-size: 18px; }
	.pw-stats strong { font-size: 44px; }
	.pw-stats-in > div { padding: 24px 12px; }
	.pw-cards { grid-template-columns: 1fr; }
	.pw-section { padding-top: 72px; padding-bottom: 64px; }
	.pw-panel .pw-split { padding-top: 64px; padding-bottom: 64px; }
	.pw-split { gap: 32px; }
	.pw-split-img { height: 300px !important; flex-basis: 100%; }
	.pw-split-txt { flex-basis: 100%; }
	.pw-tiles { grid-template-columns: 1fr; }
	.pw-device { flex-basis: 100%; padding: 32px; }
	.pw-banner { min-height: 420px; }
	.pw-cta-in { padding-top: 64px; padding-bottom: 64px; }
	.pw-cta-tel { font-size: 36px; }
	.pw-page { padding: 48px 16px 80px; }
}
