.irtech-machine-park {
	--machine-accent: #293e2d;
	--machine-text: #171a17;
	--machine-muted: #747a74;
	--machine-border: rgba(23, 26, 23, 0.14);
	--machine-header-offset: 110px;

	position: relative;
	overflow: visible;
}

.irtech-machine-park__container {
	overflow: visible;
}

.irtech-machine-park__header {
	align-items: end;
	row-gap: 28px;
	margin-bottom: 72px;
}

.irtech-machine-park__title {
	margin: 0;
}

.irtech-machine-park__intro > *:last-child {
	margin-bottom: 0;
}

.irtech-machine-scroll {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.14fr) minmax(400px, 0.86fr);
	gap: clamp(60px, 7vw, 120px);
	align-items: start;
	overflow: visible;
}

.irtech-machine-scroll__sticky {
	position: -webkit-sticky;
	position: sticky;
	top: var(--machine-header-offset);
	align-self: start;
	min-width: 0;
	z-index: 5;
}

.irtech-machine-scroll__image-wrapper {
	position: relative;
	height: min(64vh, 650px);
	min-height: 500px;
	overflow: hidden;
}

.irtech-machine-scroll__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 1;
	transform: scale(1);
	transition:
		opacity 0.32s ease,
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	
	    padding-left: 50px;
    padding-right: 50px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.irtech-machine-scroll__image.is-changing {
	opacity: 0;
	transform: scale(1.025);
}

.irtech-machine-scroll__image-shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	/* background:
		linear-gradient(
			180deg,
			rgba(0, 0, 0, 0) 58%,
			rgba(0, 0, 0, 0.42) 100%
		); */
}

.irtech-machine-scroll__counter {
	position: absolute;
	right: 26px;
	bottom: 22px;
	display: flex;
	gap: 7px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.irtech-machine-scroll__progress {
	position: relative;
	height: 3px;
	margin-top: 18px;
	background: var(--machine-border);
}

.irtech-machine-scroll__progress span {
	position: absolute;
	inset: 0 auto 0 0;
	background: #54b331;
	transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.irtech-machine-scroll__content-column {
	min-width: 0;
}

.irtech-machine-scroll__item {
	display: flex;
	align-items: center;
	min-height: 300px;
	padding: 44px 0;
	opacity: 0.26;
	transition:
		opacity 0.35s ease,
		transform 0.35s ease;
}

.irtech-machine-scroll__item.is-active {
	opacity: 1;
}

.irtech-machine-scroll__item-inner {
	width: 100%;
	transform: translateY(14px);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.irtech-machine-scroll__item.is-active .irtech-machine-scroll__item-inner {
	transform: translateY(0);
}

.irtech-machine-scroll__heading {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	margin-bottom: 26px;
}

.irtech-machine-scroll__number {
	display: grid;
	min-width: 50px;
	height: 30px;
	place-items: center;
	border: 1px solid var(--machine-border);
	border-radius: 100px;
	color: var(--machine-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.irtech-machine-scroll__type {
	margin-bottom: 0px;
    color: #909090;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.irtech-machine-scroll__name {
	margin: 0;
	color: var(--machine-text);
	font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1px;
	line-height: 0.98;
}

.irtech-machine-scroll__description {
	margin-bottom: 28px;
	opacity: 0.7;
}

.irtech-machine-scroll__description > *:last-child {
	margin-bottom: 0;
}

.irtech-machine-scroll__parameters {
	margin: 0;
}

.irtech-machine-scroll__parameter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	padding: 14px 0;
	border-bottom: 1px solid var(--machine-border);
}

.irtech-machine-scroll__parameter:last-child { border-bottom: 0px; }

.irtech-machine-scroll__parameter dt {
	color: var(--machine-muted);
	font-weight: 400;
}

.irtech-machine-scroll__parameter dd {
	margin: 0;
	color: var(--machine-text);
	font-weight: 500;
	text-align: right;
}

.irtech-software {
	margin-top: 110px;
}

@media (max-width: 991.98px) {
	.irtech-machine-park {
		--machine-header-offset: 80px;
	}

	.irtech-machine-park__header {
		margin-bottom: 56px;
	}

	.irtech-machine-scroll {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		align-items: start;
	}


	.irtech-machine-scroll__sticky {
		top: 0px;;
		width: 100%;
		background: #fff;
	}

	.irtech-machine-scroll__image-wrapper {
		height: clamp(230px, 25vh, 420px);
		min-height: 0;
		width: calc(100% + 1.5rem * 2);
        margin-left: calc(-0.9rem);
	}

	.irtech-machine-scroll__progress {
		margin-top: 12px;
	}

	.irtech-machine-scroll__content-column {
		padding-top: 18px;
	}

	.irtech-machine-scroll__item {
		min-height: 300px;
		padding: 34px 0;
		opacity: 0.32;
	}

	.irtech-machine-scroll__heading {
		margin-bottom: 22px;
	}

	.irtech-machine-scroll__name {
		font-size: 24px;
	}

	.irtech-software {
		margin-top: 70px;
	}
}

@media (max-width: 575.98px) {
	.irtech-machine-scroll__image-wrapper {
		height: 25vh;
		min-height: 220px;
		width: calc(100% + 1.5rem * 2);
        margin-left: calc(-1.5rem * 1);
	}

	.irtech-machine-scroll__item {
		min-height: 300px;;
		padding: 40px 0;
	}

	.irtech-machine-scroll__parameter {
		gap: 16px;
	}

	.irtech-machine-scroll__parameter dt,
	.irtech-machine-scroll__parameter dd {
	}
}

@media (prefers-reduced-motion: reduce) {
	.irtech-machine-scroll__image,
	.irtech-machine-scroll__progress span,
	.irtech-machine-scroll__item,
	.irtech-machine-scroll__item-inner {
		transition: none;
	}
}


/*
 * Sticky wymaga, aby żaden element nadrzędny tej sekcji
 * nie miał overflow: hidden/auto/scroll/clip ani transform.
 */
.irtech-machine-park,
.irtech-machine-park__container,
.irtech-machine-scroll {
	overflow: visible;
}
