.block-ofertowy {
	position: relative;
	overflow: hidden;
	background: #e8e8e8;
	padding: 72px 0 calc(min(980px, 92vw) * 0.769 + 24px);
}

.block-ofertowy__map {
	position: absolute;
	top: 28px;
	right: 0;
	z-index: 0;
	width: min(680px, 54%);
	height: auto;
	pointer-events: none;
	user-select: none;
}

.block-ofertowy__layout {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 56px;
}

.block-ofertowy__card {
	position: relative;
	display: flex;
	flex: 0 0 220px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 18px;
	width: 220px;
	min-height: 220px;
	padding: 22px 20px 24px;
	background: #111;
	color: #fff;
	text-align: left;
	--outline: #fff;
}

.block-ofertowy__icon {
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.block-ofertowy__card h2,
.block-ofertowy__card h3,
.block-ofertowy__card h4 {
	width: 100%;
	margin: 0;
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.05;
	text-align: left;
}

.block-ofertowy__copy {
	position: relative;
	z-index: 2;
	max-width: 62ch;
	color: #1c1c1c;
	font-size: 15px;
	line-height: 1.65;
}

.block-ofertowy__copy p {
	margin: 0 0 12px;
}

.block-ofertowy__copy p:last-child {
	margin-bottom: 0;
}

.block-ofertowy__crane {
	position: absolute;
	top: calc(100% - 2px);
	left: 50%;
	z-index: 1;
	width: min(980px, 92vw);
	transform: translateX(-50%);
	pointer-events: none;
}

.block-ofertowy__box {
	display: block;
	width: 100%;
	height: auto;
	transform-origin: 49.4% 0;
}

@media (max-width: 800px) {
	.block-ofertowy {
		padding: 48px 0 calc(min(720px, 150vw) * 0.769 + 24px);
	}

	.block-ofertowy__layout {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}

	.block-ofertowy__copy {
		order: -1;
		max-width: none;
	}

	.block-ofertowy__card {
		flex-basis: 180px;
		width: 180px;
		min-height: 180px;
	}

	.block-ofertowy__card h2,
	.block-ofertowy__card h3,
	.block-ofertowy__card h4 {
		font-size: 1.85rem;
	}

	.block-ofertowy__crane {
		width: min(720px, 150vw);
	}

	.block-ofertowy__map {
		width: min(420px, 70%);
		opacity: 0.55;
	}
}

@media (prefers-reduced-motion: reduce) {
	.block-ofertowy__box {
		transform: none;
	}
}
