/* «Основные проблемы при покупке станков» — clean section */

.stk-problems {
	--stk-problems-blue: #66bbf0;
	--stk-problems-ink: #12151a;
	width: 100%;
	padding: 96px 0 88px;
	background: #f1f9fe;
	font-family: TildaSans, SiteSans, Arial, sans-serif;
	color: var(--stk-problems-ink);
	box-sizing: border-box;
}

.stk-problems__inner {
	width: min(1100px, calc(100% - 48px));
	margin: 0 auto;
}

.stk-problems__heading {
	margin: 0 0 48px;
	text-align: center;
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.2;
	font-weight: 700;
	color: #000;
}

.stk-problems__track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.stk-problems__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	padding: 28px 24px 26px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(21, 32, 43, 0.06);
	box-sizing: border-box;
}

.stk-problems__icon {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.stk-problems__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	color: #000;
}

.stk-problems__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #12151a;
}

.stk-problems__nav {
	display: none;
}

@media screen and (max-width: 980px) {
	.stk-problems__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 900px) {
	.stk-problems {
		padding: 64px 0 48px;
	}

	.stk-problems__inner {
		width: min(1100px, calc(100% - 32px));
	}

	.stk-problems__heading {
		margin-bottom: 28px;
		font-size: 28px;
	}

	.stk-problems__viewport {
		overflow: hidden;
		width: 100%;
	}

	.stk-problems__track {
		display: flex;
		flex-wrap: nowrap;
		gap: 0;
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}

	.stk-problems__track::-webkit-scrollbar {
		display: none;
	}

	.stk-problems__card {
		flex: 0 0 100%;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		align-items: center;
		text-align: center;
		padding: 26px 20px 24px;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.stk-problems__icon {
		margin: 0 auto;
	}

	.stk-problems__title {
		font-size: 18px;
	}

	.stk-problems__text {
		font-size: 14.5px;
	}

	.stk-problems__nav[hidden] {
		display: none !important;
	}

	.stk-problems__nav:not([hidden]) {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		margin-top: 16px;
	}

	.stk-problems__arrow {
		flex: 0 0 auto;
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 50%;
		background: var(--stk-problems-blue);
		color: #fff;
		font-family: Arial, sans-serif;
		font-size: 28px;
		line-height: 28px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0 0 3px;
		cursor: pointer;
		box-shadow: 0 8px 18px rgba(37, 151, 220, 0.22);
	}

	.stk-problems__arrow:disabled {
		opacity: 0.35;
		cursor: default;
	}

	.stk-problems__dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}

	.stk-problems__dot {
		width: 9px;
		height: 9px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: rgba(102, 187, 240, 0.35);
		cursor: pointer;
		transition: background 0.15s ease, transform 0.15s ease;
	}

	.stk-problems__dot.is-active {
		background: var(--stk-problems-blue);
		transform: scale(1.2);
	}
}

@media screen and (min-width: 901px) {
	.stk-problems__nav {
		display: none !important;
	}
}
