/*
 * Style szablonu "Serwis OZE" (page-template-serwis-oze.php).
 * Ładowane warunkowo tylko na stronach z tym szablonem (functions.php).
 * Paleta: granat var(--blue) #343173 (motyw), zieleń #3AB54A (spójna z popupem serwisowym).
 */

/* ===== HERO ===== */

.soze-hero {
	position: relative;
	background-color: var(--blue, #343173);
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 90px 0;
}

.soze-hero::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(45deg, rgba(52, 49, 115, 0.93), rgba(52, 49, 115, 0.55));
}

.soze-hero .container {
	position: relative;
	z-index: 1;
}

.soze-hero__content {
	max-width: 760px;
}

.soze-hero h1 {
	color: #fff;
	font-size: 2.4rem;
	line-height: 1.3;
	margin-bottom: 1.5rem;
}

.soze-hero__lead {
	font-size: 1.06rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.soze-hero__info {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 14px;
	padding: 14px 18px;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 0;
}

.soze-hero__info svg {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	margin-top: 2px;
}

.soze-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 1.6rem;
}

/* ===== PRZYCISKI (pill jak w motywie: radius 40px + uppercase) ===== */

.soze-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.75rem;
	border-radius: 40px;
	border: 1px solid transparent;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	text-decoration: none !important;
	transition: 0.25s;
	cursor: pointer;
}

.soze-btn--zielony {
	background-color: #3ab54a;
	border-color: #3ab54a;
	color: #fff !important;
}

.soze-btn--zielony:hover {
	background-color: #2e9e3d;
	border-color: #2e9e3d;
}

.soze-btn--bialy {
	background-color: transparent;
	border-color: #fff;
	color: #fff !important;
}

.soze-btn--bialy:hover {
	background-color: #fff;
	color: var(--blue, #343173) !important;
}

/* ===== PASEK LICZB ===== */

.soze-liczby__col {
	margin-bottom: 30px;
}

.soze-liczby .row {
	margin-bottom: -30px;
}

.soze-liczby__kafel {
	height: 100%;
	background: var(--blue, #343173);
	color: #fff;
	border-radius: 14px;
	padding: 28px 22px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

/* Animacja wejścia: slide z dołu, kolejno od lewej (klasy dodaje serwis-oze.js) */

.soze-anim .soze-liczby__kafel {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.soze-anim--in .soze-liczby__kafel {
	opacity: 1;
	transform: none;
}

.soze-anim--in .soze-liczby__col:nth-child(2) .soze-liczby__kafel {
	transition-delay: 0.13s;
}

.soze-anim--in .soze-liczby__col:nth-child(3) .soze-liczby__kafel {
	transition-delay: 0.26s;
}

.soze-anim--in .soze-liczby__col:nth-child(4) .soze-liczby__kafel {
	transition-delay: 0.39s;
}

.soze-anim--in .soze-liczby__col:nth-child(5) .soze-liczby__kafel {
	transition-delay: 0.52s;
}

.soze-anim--in .soze-liczby__col:nth-child(6) .soze-liczby__kafel {
	transition-delay: 0.65s;
}

@media (prefers-reduced-motion: reduce) {
	.soze-anim .soze-liczby__kafel {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.soze-liczby__tytul {
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.35;
}

.soze-liczby__opis {
	font-size: 0.92rem;
	line-height: 1.5;
	opacity: 0.85;
}

/* ===== JAK POMAGAMY? ===== */

.soze-pomoc h2,
.soze-zakres h2 {
	margin-bottom: 2.5rem;
}

.soze-pomoc__col {
	margin-bottom: 30px;
}

.soze-pomoc__kafel {
	height: 100%;
	background: #fff;
	border: 1px solid #e4e3f0;
	padding: 34px 28px;
	text-align: center;
}

.soze-pomoc__ikona {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: #f1f0fa;
	color: var(--blue, #343173);
	margin-bottom: 1.2rem;
}

.soze-pomoc__ikona svg {
	width: 36px;
	height: 36px;
}

.soze-pomoc__kafel h3 {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--blue, #343173);
	margin-bottom: 0.6rem;
}

.soze-pomoc__kafel p {
	font-size: 0.95rem;
	margin-bottom: 0;
}

/* ===== ZAKRES USŁUG ===== */

.soze-zakres__col {
	margin-bottom: 30px;
}

.soze-zakres__kafel {
	height: 100%;
	background: #fff;
	border: 1px solid #e4e3f0;
	overflow: hidden;
}

.soze-zakres__foto img {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
}

.soze-zakres__kafel h3 {
	font-size: 1.1rem;
	font-weight: 500;
	color: #fff;
	background: var(--blue, #343173);
	margin: 0;
	padding: 14px 22px;
}

.soze-zakres__kafel ul {
	list-style: none;
	margin: 0;
	padding: 20px 22px;
}

.soze-zakres__kafel li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
}

.soze-zakres__kafel li svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 5px;
	color: #3ab54a;
}

/* ===== CTA (pasek nad FAQ) ===== */

.soze-cta {
	position: relative;
	margin-top: 4rem;
	background-color: var(--blue, #343173);
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 90px 0;
	text-align: center;
}

.soze-cta::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(52, 49, 115, 0.75);
}

.soze-cta .container {
	position: relative;
	z-index: 1;
}

.soze-cta h2 {
	color: #fff;
	font-size: 1.9rem;
	line-height: 1.35;
	margin-bottom: 0.9rem;
}

.soze-cta__podtytul {
	font-size: 1.06rem;
	line-height: 1.7;
	margin-bottom: 1.8rem;
}

.soze-cta__buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

/* ===== RESPONSYWNOŚĆ ===== */

@media (max-width: 991.98px) {
	.soze-hero h1 {
		font-size: 2rem;
	}
}

@media (max-width: 767.98px) {
	.soze-hero {
		padding: 60px 0;
	}

	.soze-hero h1 {
		font-size: 1.7rem;
	}

	.soze-hero__buttons .soze-btn {
		width: 100%;
	}

	.soze-liczby__tytul {
		font-size: 1.15rem;
	}
}
