.prowat-seo {
	padding: 64px 0;
}

.prowat-seo__inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.prowat-seo__images {
	display: flex;
	gap: 16px;
}

.prowat-seo__image {
	flex: 1 1 0;
	min-width: 0;
	height: 320px;
	border-radius: 8px;
	overflow: hidden;
}

.prowat-seo__image .prowat-seo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.prowat-seo__title {
	margin: 0;
	font-family: "Inter", sans-serif;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
	color: #1a1a1a;
	text-align: center;
}

.prowat-seo__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	color: #4d4d4d;
}

.prowat-seo__text > * {
	margin: 0;
}

.prowat-seo__text h3,
.prowat-seo__text h4 {
	font-weight: 700;
	color: #1a1a1a;
}

.prowat-seo__text a {
	color: #ec730a;
}

/* Rozwijana treść – zostaje w DOM (dobra dla SEO), ukryta wizualnie. */
.prowat-seo__more {
	display: grid;
	grid-template-rows: 0fr;
	margin-top: -40px; /* niweluje gap, gdy zwinięte */
	transition: grid-template-rows 0.35s ease, margin-top 0.35s ease;
}

.prowat-seo__more > .prowat-seo__text {
	min-height: 0;
	overflow: hidden;
}

.prowat-seo.is-open .prowat-seo__more {
	grid-template-rows: 1fr;
	margin-top: -24px; /* odstęp 16px jak między akapitami */
}

.prowat-seo__line {
	width: 100%;
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px solid #e0e0e0;
	background: none;
}

.prowat-seo__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: normal;
	color: #ec730a;
	cursor: pointer;
	box-shadow: none;
}

.prowat-seo__toggle:hover,
.prowat-seo__toggle:focus {
	background: none;
	color: #c75f05;
	box-shadow: none;
}

.prowat-seo__toggle:focus-visible {
	outline: 2px solid #ec730a;
	outline-offset: 4px;
}

.prowat-seo__toggle-icon {
	transition: transform 0.25s ease;
}

.prowat-seo.is-open .prowat-seo__toggle-icon {
	transform: rotate(180deg);
}

@media (max-width: 768px) {
	.prowat-seo {
		padding: 40px 0;
	}

	.prowat-seo__inner {
		gap: 24px;
	}

	.prowat-seo__images {
		flex-direction: column;
	}

	.prowat-seo__image {
		flex: none;
		height: 220px;
	}

	.prowat-seo__title {
		font-size: 24px;
	}

	.prowat-seo__more {
		margin-top: -24px;
	}

	.prowat-seo.is-open .prowat-seo__more {
		margin-top: -8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.prowat-seo__more,
	.prowat-seo__toggle-icon {
		transition: none;
	}
}
