/*
Theme Name: Creativ24
Theme URI: https://creativ24.pl
Author: Creativ24
Author URI: https://creativ24.pl
Description: Motyw strony Creativ24. Strona główna działa jak prezentacja: pełnoekranowe slajdy z przejściami, animacjami treści i ekranem ładowania. Treści slajdów edytuje się w Wygląd → Dostosuj, a realizacje dodaje jako osobne wpisy.
Version: 1.1.7
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creativ24
*/

/* ==========================================================================
   1. Podstawy
   ========================================================================== */

:root {
	--c24-acc: #00AA55;
	--c24-ink: #17151A;
	--c24-mut: #66666B;
	--c24-mut-dark: #C2BEC6;
	--c24-soft: #F5F5F5;
	--c24-line: #E8E8E8;
	--c24-pad: clamp(20px, 5vw, 60px);
	--c24-display: 'Urbanist', 'Trebuchet MS', system-ui, sans-serif;
	--c24-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
	--c24-ease-out: cubic-bezier(.16, .84, .24, 1);
	--c24-ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #FFFFFF;
	color: var(--c24-ink);
	font-family: var(--c24-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--c24-ink);
}

a:hover {
	color: var(--c24-mut);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

::selection {
	background: var(--c24-ink);
	color: #FFFFFF;
}

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

.c24-skip:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	background: var(--c24-ink);
	color: #FFFFFF;
	border-radius: 999px;
}

/* ==========================================================================
   2. Animacje (klatki bez końca wracają do własnego stylu elementu)
   ========================================================================== */

@keyframes c24-rise {
	from { opacity: 0; transform: translateY(44px); }
}

@keyframes c24-mask-up {
	from { transform: translateY(112%) rotate(6deg); }
}

@keyframes c24-win-in {
	from { opacity: 0; transform: translateY(70px); }
}

@keyframes c24-grow-y {
	from { transform: scaleY(0); }
}

@keyframes c24-draw {
	from { transform: scaleX(0); }
}

@keyframes c24-tilt-in {
	from { opacity: 0; transform: perspective(900px) translateY(70px) rotateX(20deg); }
}

@keyframes c24-zoom-out {
	from { transform: scale(1.4); }
}

@keyframes c24-iris {
	from { clip-path: inset(44% 36% 44% 36% round 999px); }
	to { clip-path: inset(0% 0% 0% 0% round 28px); }
}

@keyframes c24-wipe {
	from { clip-path: inset(100% 0% 0% 0% round 22px); }
	to { clip-path: inset(0% 0% 0% 0% round 22px); }
}

@keyframes c24-fill-in {
	from { background-position: 100% 0; }
	to { background-position: 0% 0; }
}

@keyframes c24-loader-out {
	0% { transform: translateY(0); border-radius: 0; }
	70% { transform: translateY(0); border-radius: 0; }
	100% { transform: translateY(-101%); border-radius: 0 0 50% 50% / 0 0 22% 22%; }
}

@property --c24-n {
	syntax: '<integer>';
	initial-value: 100;
	inherits: false;
}

@keyframes c24-count {
	from { --c24-n: 0; }
	to { --c24-n: 100; }
}

@keyframes c24-progress {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

/* ==========================================================================
   3. Nagłówek, logo, przyciski
   ========================================================================== */

.c24-header {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px 40px;
	padding: 18px var(--c24-pad);
	color: var(--c24-ink);
	transition: color .5s ease .35s;
}

.c24-front .c24-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.c24-logo {
	display: flex;
	align-items: center;
	min-height: 48px;
	text-decoration: none;
}

.c24-logo-box {
	position: relative;
	display: block;
	width: clamp(150px, 13vw, 186px);
	aspect-ratio: 768 / 99;
}

.c24-logo-box img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Wbudowane logo: lewa część (napis) i prawa (zielone „24.”) to dwie warstwy,
   żeby na ciemnym tle wybielić tylko napis. */
.c24-logo-box .lg-a {
	clip-path: inset(0 23.3% 0 0);
}

.c24-logo-box .lg-b {
	clip-path: inset(0 0 0 76.7%);
}

.c24-logo-custom img {
	display: block;
	width: auto;
	max-width: 200px;
	max-height: 48px;
}

.lg-a {
	transition: filter .5s ease .35s;
}

.c24-tone-dark .c24-header .lg-a,
.c24-loader .lg-a,
.c24-footer .lg-a {
	filter: brightness(0) invert(1);
}

.c24-nav {
	display: flex;
	align-items: center;
	gap: 36px;
}

.c24-nav ul {
	display: flex;
	align-items: center;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.c24-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: inherit;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.c24-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.c24-nav a:hover::after,
.c24-nav a.on::after,
.c24-nav .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.c24-btn {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: 60px;
	padding: 0 9px 0 30px;
	border: 0;
	border-radius: 999px;
	background: var(--c24-ink);
	color: #FFFFFF;
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background .35s, color .35s, transform .35s cubic-bezier(.2, .8, .2, 1);
}

.c24-btn:hover {
	background: #34313A;
	color: #FFFFFF;
	transform: translateY(-2px);
}

.c24-btn .dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #FFFFFF;
	color: var(--c24-ink);
	transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.c24-btn:hover .dot {
	transform: rotate(-45deg);
}

.c24-btn--small {
	min-height: 48px;
	padding: 0 26px;
	font-size: 16px;
}

.c24-tone-dark .c24-header .c24-btn {
	background: #FFFFFF;
	color: var(--c24-ink);
}

.c24-tone-dark .c24-header .c24-btn:hover {
	background: var(--c24-line);
}

.c24-link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	font-size: 17px;
	font-weight: 500;
	text-underline-offset: 6px;
}

/* ==========================================================================
   4. Ekran ładowania
   ========================================================================== */

.c24-loader {
	position: fixed;
	inset: 0;
	z-index: 50;
	overflow: clip;
	pointer-events: none;
}

.c24-seen .c24-loader {
	display: none;
}

.c24-loader .ld {
	position: absolute;
	inset: 0;
	transform: translateY(-101%);
}

.c24-loader .ld-b {
	background: #C9C9CE;
	animation: c24-loader-out 3s var(--c24-ease-in-out) both;
}

.c24-loader .ld-a {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(24px, 4vw, 56px);
	background: var(--c24-ink);
	color: #FFFFFF;
	overflow: clip;
	animation: c24-loader-out 2.7s var(--c24-ease-in-out) both;
}

.c24-loader .c24-logo-box {
	width: clamp(170px, 17vw, 240px);
	animation: c24-mask-up 1s var(--c24-ease-out) .15s both;
}

.c24-loader .ld-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 12px;
}

.c24-loader .ld-label {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c24-mut-dark);
}

.c24-loader .ld-num {
	display: flex;
	align-items: flex-start;
	font-family: var(--c24-display);
	font-weight: 600;
	font-size: clamp(88px, min(17vw, 30vh), 250px);
	line-height: .8;
	letter-spacing: -.04em;
	font-variant-numeric: tabular-nums;
}

.c24-loader .ld-n {
	--c24-n: 100;
	counter-reset: c24n var(--c24-n);
	animation: c24-count 1.8s cubic-bezier(.5, 0, .2, 1) both;
}

.c24-loader .ld-n::after {
	content: counter(c24n);
}

.c24-loader .ld-pct {
	margin-left: .15em;
	font-size: .32em;
	line-height: 1;
	letter-spacing: 0;
}

.c24-loader .ld-l {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--c24-acc);
	transform-origin: left;
	animation: c24-progress 1.8s cubic-bezier(.5, 0, .2, 1) both;
}

/* ==========================================================================
   5. Slajdy
   Domyślnie (bez JS, telefon, ograniczony ruch) sekcje idą jedna pod drugą.
   Klasa .c24-slides na <html> włącza tryb prezentacji.
   ========================================================================== */

.sl {
	position: relative;
	background: #FFFFFF;
	color: var(--c24-ink);
	overflow-x: clip;
}

.sl--c24-soft {
	background: var(--c24-soft);
}

.sl--dark {
	background: var(--c24-ink);
	color: #FFFFFF;
}

.sl-in {
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	max-width: 1320px;
	margin: 0 auto;
	padding: 112px var(--c24-pad) 104px;
}

.sl-in--row {
	flex-wrap: wrap;
	align-items: center;
	gap: 40px 56px;
}

.sl-in--col {
	flex-direction: column;
	justify-content: center;
	gap: clamp(24px, 4.5vh, 48px);
}

.c24-slides,
.c24-slides body {
	height: 100%;
	overflow: hidden;
}

.c24-slides .c24-deck {
	position: fixed;
	inset: 0;
	overflow: hidden;
	background: var(--c24-ink);
}

.c24-slides .c24-front .c24-header {
	position: fixed;
}

.c24-slides .sl {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	visibility: hidden;
	transform: translateY(100%);
	transition: transform 1.1s var(--c24-ease-in-out), opacity 1.1s var(--c24-ease-in-out), border-radius 1.1s var(--c24-ease-in-out), visibility 0s linear 1.1s;
	will-change: transform;
}

.c24-slides .sl-in {
	min-height: 100%;
}

.c24-slides .sl.is-next {
	transform: translateY(100%);
	border-radius: 56px 56px 0 0;
}

.c24-slides .sl.is-prev {
	transform: translateY(-12%) scale(.9);
	opacity: 0;
	border-radius: 40px;
}

.c24-slides .sl.is-active {
	visibility: visible;
	transform: none;
	opacity: 1;
	border-radius: 0;
	transition-delay: 0s;
}

.c24-slides .admin-bar .c24-deck,
.c24-slides .admin-bar.c24-front .c24-header {
	top: 32px;
}

/* ---- Elementor ----
   Na gotowej stronie opakowania Elementora wokół slajdów nie tworzą własnych pudełek,
   więc slajd układa się względem całej prezentacji, tak jak bez Elementora. */

body:not(.c24-editing) .c24-deck--builder .elementor,
body:not(.c24-editing) .c24-deck--builder .elementor-section-wrap,
body:not(.c24-editing) .c24-deck--builder .elementor-section,
body:not(.c24-editing) .c24-deck--builder .elementor-container,
body:not(.c24-editing) .c24-deck--builder .elementor-column,
body:not(.c24-editing) .c24-deck--builder .elementor-widget-wrap,
body:not(.c24-editing) .c24-deck--builder .e-con,
body:not(.c24-editing) .c24-deck--builder .e-con-inner,
body:not(.c24-editing) .c24-deck--builder .elementor-widget,
body:not(.c24-editing) .c24-deck--builder .elementor-widget-container {
	display: contents;
}

/* W edytorze opakowania muszą zostać (uchwyty, zaznaczanie), więc tylko zdejmujemy
   z nich szerokość „w pudełku”, odstępy i marginesy. Slajdy leżą jeden pod drugim. */
.c24-editing .c24-deck--builder .elementor-section > .elementor-container {
	max-width: none;
}

.c24-editing .c24-deck--builder .elementor-widget-wrap,
.c24-editing .c24-deck--builder .elementor-element-populated,
.c24-editing .c24-deck--builder .e-con,
.c24-editing .c24-deck--builder .e-con-inner {
	max-width: none;
	padding: 0;
	gap: 0;
}

.c24-editing .c24-deck--builder .elementor-widget:not(:last-child) {
	margin-bottom: 0;
}

.c24-editing .c24-bar,
.c24-editing .c24-loader {
	display: none;
}

.c24-page--builder {
	max-width: none;
	padding: 0;
}

/* ---- Treść slajdu: odtwarza się przy każdym wejściu (.go) ---- */

.mk {
	display: block;
	overflow: clip;
	padding-bottom: .14em;
	margin-bottom: -.14em;
}

.mk > span {
	display: block;
	transform-origin: 0 100%;
}

.sl.wait .rv,
.sl.wait .card {
	opacity: 0;
}

.sl.wait .mk > span {
	transform: translateY(112%);
}

.sl.wait .ln {
	transform: scaleX(0);
}

.sl.go .rv { animation: c24-rise 1s var(--c24-ease-out) .45s both; }
.sl.go .mk > span { animation: c24-mask-up 1.1s var(--c24-ease-out) .45s both; }
.sl.go .ln { animation: c24-draw 1.4s cubic-bezier(.65, 0, .2, 1) .7s both; }
.sl.go .card { animation: c24-tilt-in 1.2s var(--c24-ease-out) .5s both; }
.sl.go .shot-w { animation: c24-wipe 1.3s var(--c24-ease-in-out) .5s both; }
.sl.go .shot { animation: c24-zoom-out 1.9s var(--c24-ease-out) .5s both; }
.sl.go .panel { animation: c24-iris 1.5s var(--c24-ease-in-out) .35s both; }
.sl.go .win { animation: c24-win-in 1.2s var(--c24-ease-out) .9s both; }
.sl.go .bars > span { transform-origin: bottom; animation: c24-grow-y 1s var(--c24-ease-out) 1.6s both; }
.sl.go .fill { animation: c24-fill-in 1.5s cubic-bezier(.65, 0, .2, 1) .55s both; }

.sl.go .d1 { animation-delay: .55s; }
.sl.go .d2 { animation-delay: .65s; }
.sl.go .d3 { animation-delay: .75s; }
.sl.go .d4 { animation-delay: .85s; }
.sl.go .d5 { animation-delay: .95s; }
.sl.go .d6 { animation-delay: 1.05s; }
.sl.go .e1, .sl.go .e1 .shot { animation-delay: .65s; }
.sl.go .e2, .sl.go .e2 .shot { animation-delay: .8s; }
.sl.go .w2 { animation-delay: 1.05s; }
.sl.go .w3 { animation-delay: 1.2s; }
.sl.go .b2 { animation-delay: 1.68s; }
.sl.go .b3 { animation-delay: 1.76s; }
.sl.go .b4 { animation-delay: 1.84s; }
.sl.go .b5 { animation-delay: 1.92s; }
.sl.go .f2 { animation-delay: .8s; }
.sl.go .f3 { animation-delay: 1.05s; }
.sl.go .f4 { animation-delay: 1.3s; }

/* ---- Typografia slajdów ---- */

.tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c24-mut);
}

.tag::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c24-acc);
}

.sl--dark .tag {
	color: var(--c24-mut-dark);
}

.tag--pill {
	padding: 8px 16px 8px 12px;
	border: 1px solid var(--c24-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.h1,
.h2,
.h2--big,
.manifest {
	margin: 0;
	font-family: var(--c24-display);
	font-weight: 600;
	letter-spacing: -.025em;
}

.h1 {
	font-size: clamp(34px, min(4.8vw, 9vh), 84px);
	line-height: 1.03;
	letter-spacing: -.03em;
}

.h1 .dim {
	color: #8A8A90;
}

.h2 {
	font-size: clamp(28px, min(3.8vw, 6.6vh), 58px);
	line-height: 1.05;
}

.h2--big {
	font-size: clamp(32px, min(4.6vw, 8vh), 72px);
	line-height: 1.04;
}

.manifest {
	font-size: clamp(28px, min(5.2vw, 10vh), 84px);
	line-height: 1.08;
}

.manifest .fill {
	display: block;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.fill {
		background-image: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 45%, #55515B 55%, #55515B 100%);
		background-size: 220% 100%;
		background-position: 0% 0;
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		color: transparent;
	}
}

.lead {
	margin: 0;
	max-width: 520px;
	font-size: 18px;
	color: var(--c24-mut);
}

.note {
	margin: 0;
	font-size: 16px;
	color: var(--c24-mut);
}

.sl--dark .note {
	color: var(--c24-mut-dark);
}

.stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.head-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 64px;
}

.head-row > .stack {
	flex: 1 1 520px;
	min-width: 0;
}

.head-row > .note {
	flex: 0 1 380px;
}

/* ---- Slajd 1: start ---- */

.hero-text {
	flex: 1.5 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 26px;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
}

.hero-art {
	flex: 1 1 380px;
	min-width: 0;
}

.panel {
	position: relative;
	height: min(62vh, 560px);
	min-height: 300px;
	border-radius: 28px;
	background: #F3F3F3;
	overflow: clip;
}

.win {
	position: absolute;
	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .2);
}

.win i {
	display: block;
	border-radius: 99px;
}

.win--site {
	left: 8%;
	top: 12%;
	width: 64%;
	height: 100%;
	gap: 14px;
	padding: 18px;
	border-radius: 16px 16px 0 0;
}

.win--site .dots {
	display: flex;
	align-items: center;
	gap: 6px;
}

.win--site .dots i {
	width: 8px;
	height: 8px;
	background: #D9D9D9;
}

.win--site .dots i:last-child {
	width: 30%;
	margin-left: auto;
	background: #F0F0F0;
}

.win--site .copy {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-top: 8px;
}

.win--site .copy i:nth-child(1) { width: 72%; height: 18px; border-radius: 5px; background: var(--c24-ink); }
.win--site .copy i:nth-child(2) { width: 50%; height: 18px; border-radius: 5px; background: var(--c24-ink); }
.win--site .copy i:nth-child(3) { width: 80%; height: 6px; margin-top: 4px; background: #D9D9D9; }
.win--site .copy i:nth-child(4) { width: 62%; height: 6px; background: #D9D9D9; }
.win--site .copy i:nth-child(5) { width: 34%; height: 26px; margin-top: 6px; background: var(--c24-acc); }

.win--site .tiles {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.win--site .tiles i {
	border-radius: 10px;
	background: #F0F0F0;
}

.win--site .tiles i:nth-child(2) {
	background: #E6E6E6;
}

.win--chart {
	right: 6%;
	top: 8%;
	width: 38%;
	height: 30%;
	gap: 8px;
	padding: 14px;
	border-radius: 16px;
	box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .25);
}

.win--chart > i:nth-child(1) { width: 56%; height: 7px; background: var(--c24-ink); }
.win--chart > i:nth-child(2) { width: 36%; height: 6px; background: #D9D9D9; }

.bars {
	flex: 1 1 auto;
	display: flex;
	align-items: flex-end;
	gap: 8%;
}

.bars > span {
	flex: 1 1 0;
	border-radius: 4px 4px 0 0;
	background: #D9D9D9;
}

.bars > span:nth-child(1) { height: 38%; }
.bars > span:nth-child(2) { height: 56%; }
.bars > span:nth-child(3) { height: 48%; background: var(--c24-ink); }
.bars > span:nth-child(4) { height: 74%; background: var(--c24-ink); }
.bars > span:nth-child(5) { height: 96%; background: var(--c24-acc); }

.win--phone {
	right: 9%;
	top: 45%;
	width: 27%;
	height: 80%;
	gap: 10px;
	padding: 12px;
	border-radius: 22px 22px 0 0;
	background: var(--c24-ink);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45);
}

.win--phone i:nth-child(1) { align-self: center; width: 34%; height: 5px; background: #3A363F; }
.win--phone i:nth-child(2),
.win--phone i:nth-child(6) { aspect-ratio: 1 / 1; border-radius: 12px; background: #2B2830; }
.win--phone i:nth-child(3) { width: 72%; height: 7px; background: #FFFFFF; }
.win--phone i:nth-child(4) { width: 46%; height: 6px; background: var(--c24-mut); }
.win--phone i:nth-child(5) { height: 26px; background: var(--c24-acc); }

/* ---- Slajd 3: oferta ---- */

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 18px;
}

.card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: min(40vh, 320px);
	padding: 26px;
	border-radius: 22px;
	background: #FFFFFF;
	color: var(--c24-ink);
	text-decoration: none;
	transition: background .4s, color .4s, transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}

.card .ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--c24-soft);
	color: var(--c24-ink);
}

.card .ttl {
	margin-top: 10px;
	font-family: var(--c24-display);
	font-weight: 600;
	font-size: 25px;
	line-height: 1.15;
	letter-spacing: -.015em;
}

.card .txt {
	font-size: 15px;
	line-height: 1.5;
	color: var(--c24-mut);
	transition: color .4s;
}

.card .go-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: auto;
	border: 1px solid #D9D9D9;
	border-radius: 50%;
	transition: background .4s, border-color .4s, color .4s, transform .5s cubic-bezier(.2, .8, .2, 1);
}

.card:hover {
	background: var(--c24-ink);
	color: #FFFFFF;
	transform: translateY(-8px);
	box-shadow: 0 30px 60px -30px rgba(23, 21, 26, .55);
}

.card:hover .txt {
	color: var(--c24-mut-dark);
}

.card:hover .go-ic {
	background: #FFFFFF;
	border-color: #FFFFFF;
	color: var(--c24-ink);
	transform: rotate(-45deg);
}

/* ---- Slajd 4: realizacje ---- */

.works {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 22px;
}

.work {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: var(--c24-ink);
	text-decoration: none;
}

.shot-w {
	display: block;
	aspect-ratio: 3 / 2;
	max-height: 46vh;
	border-radius: 22px;
	overflow: clip;
}

.shot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 20px;
	background: #F0F0F0;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--c24-mut);
	transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

img.shot {
	padding: 0;
	object-fit: cover;
}

.work:hover .shot {
	transform: scale(1.04);
}

.work .cap {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.work .cap b {
	font-family: var(--c24-display);
	font-weight: 600;
	font-size: 23px;
	line-height: 1.2;
	letter-spacing: -.01em;
}

.work .cap span {
	font-size: 15px;
	color: var(--c24-mut);
}

/* ---- Slajd 5: proces ---- */

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 36px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps li {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.steps .ln {
	display: block;
	height: 2px;
	background: #FFFFFF;
	transform-origin: left;
}

.steps .num {
	margin-top: 10px;
	font-family: var(--c24-display);
	font-weight: 600;
	font-size: clamp(40px, 7vh, 64px);
	line-height: 1;
	letter-spacing: -.03em;
}

.steps h3 {
	margin: 0;
	font-family: var(--c24-display);
	font-weight: 600;
	font-size: 25px;
	line-height: 1.2;
	letter-spacing: -.01em;
}

.steps p {
	margin: 0;
	font-size: 16px;
	color: var(--c24-mut-dark);
}

/* ---- Slajd 6: kontakt ---- */

.contact-text {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact-data {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 8px;
	font-family: var(--c24-display);
	font-weight: 600;
	font-size: 23px;
	letter-spacing: -.01em;
}

.contact-data a {
	text-decoration: none;
}

.legal {
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--c24-mut);
}

.c24-form {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(22px, 3vw, 36px);
	border-radius: 24px;
	background: #FFFFFF;
}

.c24-form .two {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
	gap: 16px;
}

.c24-form .field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.c24-form label {
	font-size: 15px;
	font-weight: 600;
}

.c24-form input[type="text"],
.c24-form input[type="email"],
.c24-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 0 16px;
	border: 1px solid #D9D9D9;
	border-radius: 14px;
	background: var(--c24-soft);
	color: var(--c24-ink);
	font: inherit;
	font-size: 16px;
	transition: border-color .25s, box-shadow .25s;
}

.c24-form textarea {
	padding: 14px 16px;
	resize: vertical;
}

.c24-form input:focus,
.c24-form textarea:focus {
	outline: none;
	border-color: var(--c24-ink);
	box-shadow: 0 0 0 4px rgba(23, 21, 26, .12);
}

.c24-form .consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.c24-form .consent input {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	accent-color: var(--c24-ink);
}

.c24-form .consent label {
	font-weight: 400;
	color: var(--c24-mut);
}

.c24-form .hp {
	position: absolute;
	left: -9999px;
}

.c24-form .msg {
	margin: 0;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--c24-soft);
	font-size: 15px;
	font-weight: 600;
}

/* ==========================================================================
   6. Dolny pasek prezentacji: licznik, postęp, strzałki
   ========================================================================== */

.c24-bar {
	display: none;
}

.c24-slides .c24-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	padding: 14px var(--c24-pad) 18px;
	color: var(--c24-ink);
	transition: color .5s ease .35s;
}

.c24-tone-dark .c24-header,
.c24-tone-dark .c24-bar {
	color: #FFFFFF;
}

.c24-bar .count {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	font-family: var(--c24-display);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.c24-bar .count b {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -.02em;
}

.c24-bar .count span {
	font-size: 15px;
	opacity: .6;
}

.c24-bar .segs {
	flex: 1 1 auto;
	display: flex;
	gap: 8px;
}

.seg {
	position: relative;
	flex: 1 1 0;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.seg::before,
.seg::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	background: currentColor;
}

.seg::before {
	opacity: .22;
}

.seg::after {
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .9s var(--c24-ease-in-out);
}

.seg.on::after {
	transform: scaleX(1);
}

.c24-bar .arrows {
	display: flex;
	gap: 10px;
}

.ar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s;
}

.ar:hover {
	transform: scale(1.1);
}

.ar.off {
	opacity: .3;
}

/* ==========================================================================
   7. Podstrony, wpisy, stopka
   ========================================================================== */

.c24-page {
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 88px) var(--c24-pad) clamp(64px, 8vw, 120px);
}

.c24-page--wide {
	max-width: 1320px;
}

.c24-page .entry-title,
.c24-page .page-title {
	margin: 0 0 32px;
	font-family: var(--c24-display);
	font-weight: 600;
	font-size: clamp(34px, 5vw, 68px);
	line-height: 1.05;
	letter-spacing: -.025em;
}

.c24-page .entry-title a {
	text-decoration: none;
}

.c24-page .entry-meta {
	margin: -16px 0 32px;
	font-size: 15px;
	color: var(--c24-mut);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.8em 0 .6em;
	font-family: var(--c24-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.015em;
}

.entry-content h2 { font-size: 34px; }
.entry-content h3 { font-size: 26px; }
.entry-content h4 { font-size: 21px; }

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.2em;
}

.entry-content img,
.entry-content .wp-block-image img {
	border-radius: 22px;
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 0 0 0 24px;
	border-left: 2px solid var(--c24-ink);
	font-family: var(--c24-display);
	font-size: 24px;
	line-height: 1.3;
}

.c24-thumb {
	margin: 0 0 40px;
}

.c24-thumb img {
	display: block;
	width: 100%;
	border-radius: 22px;
}

.c24-list article + article {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--c24-line);
}

.c24-pagination {
	margin-top: 56px;
}

.c24-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.c24-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--c24-soft);
	text-decoration: none;
}

.c24-pagination .page-numbers.current {
	background: var(--c24-ink);
	color: #FFFFFF;
}

.c24-footer {
	background: var(--c24-ink);
	color: #FFFFFF;
	border-radius: clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 32px) 0 0;
}

.c24-footer .in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 48px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 40px var(--c24-pad);
}

.c24-footer p {
	margin: 0;
	font-size: 14px;
	color: var(--c24-mut-dark);
}

.c24-footer a {
	color: #FFFFFF;
}

/* ==========================================================================
   8. Małe ekrany i ograniczony ruch
   ========================================================================== */

@media (max-width: 860px) {
	.c24-header .c24-nav,
	.hero-art {
		display: none;
	}

	.sl-in {
		padding-top: 96px;
		padding-bottom: 72px;
	}
}

/* Niski ekran (np. laptop 1280 × 720): ciaśniejsze slajdy, żeby nic nie wchodziło pod dolny pasek. */
@media (max-height: 780px) {
	.c24-slides .sl-in {
		padding-top: 92px;
		padding-bottom: 88px;
	}

	.c24-slides .card {
		gap: 10px;
		min-height: 0;
		padding: 22px;
	}

	.c24-slides .card .ttl {
		margin-top: 4px;
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.c24-loader {
		display: none;
	}
}

/* ==========================================================================
   9. Poprawki: pasek administratora i wąski nagłówek
   ========================================================================== */

.c24-btn {
	white-space: nowrap;
}

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

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

@media (max-width: 480px) {
	.c24-header {
		gap: 12px;
	}

	.c24-header .c24-logo-box {
		width: 132px;
	}

	.c24-btn--small {
		min-height: 44px;
		padding: 0 18px;
		font-size: 15px;
	}
}

/* Kafle realizacji: mockupy na białym tle dostają to samo jasnoszare tło co pozostałe. */
.shot-w {
	background: #F3F3F3;
}

img.shot {
	mix-blend-mode: multiply;
}

/* ==========================================================================
   10. Zdjęcia w slajdach: grafika w pierwszym slajdzie i tło drugiego
   ========================================================================== */

@keyframes c24-bg-drift {
	from { transform: scale(1.14); }
}

.hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% 50%;
}

.sl.go .hero-img {
	animation: c24-zoom-out 2.2s var(--c24-ease-out) .35s both;
}

.sl-bg {
	position: absolute;
	inset: 0;
	overflow: clip;
}

.sl-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .55;
}

/* Ciemniejsza lewa strona, żeby biały tekst był czytelny na zdjęciu. */
.sl-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(23, 21, 26, .94) 0%, rgba(23, 21, 26, .8) 50%, rgba(23, 21, 26, .5) 100%);
}

.sl.go .sl-bg img {
	animation: c24-bg-drift 9s var(--c24-ease-out) both;
}

.sl--photo .sl-in {
	position: relative;
}

@media (max-width: 860px) {
	.hero-art--photo {
		display: block;
		flex: 1 1 100%;
	}

	.hero-art--photo .panel {
		height: 300px;
		min-height: 0;
	}
}

/* Elementor nadaje wszystkim obrazkom height: auto. W slajdach zdjęcia mają wypełniać swoje ramki. */
.sl .hero-img,
.sl .sl-bg img,
.sl img.shot {
	width: 100%;
	height: 100%;
	max-width: none;
}

/* Kotwica w adresie (np. #kontakt) nie może przewinąć kontenera prezentacji. */
.c24-slides .c24-deck {
	overflow: clip;
}
