/* «СТАНКОВЕД решает проблемы при покупке станков» — clean section */

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

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

.stk-solves__title {
	margin: 0 0 24px;
	text-align: center;
	font-size: clamp(28px, 3.2vw, 42px);
	line-height: 1.2;
	font-weight: 700;
	color: #000;
}

.stk-solves__intro {
	max-width: 560px;
	margin: 0 auto 56px;
	text-align: center;
	font-size: 16px;
	line-height: 1.55;
	color: #000;
}

.stk-solves__viewport {
	overflow: visible;
}

.stk-solves__track {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 36px 56px;
}

.stk-solves__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	box-sizing: border-box;
}

.stk-solves__icon {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.stk-solves__card-title {
	margin: 0;
	color: var(--stk-solves-blue);
	font-size: 16px;
	line-height: 1.3;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.stk-solves__card-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #000;
}

.stk-solves__nav {
	display: none;
}

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

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

	.stk-solves__intro {
		margin-bottom: 28px;
	}

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

	.stk-solves__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-solves__track::-webkit-scrollbar {
		display: none;
	}

	.stk-solves__card {
		flex: 0 0 100%;
		width: 100%;
		min-width: 100%;
		max-width: 100%;
		align-items: center;
		text-align: center;
		padding: 22px 18px 20px;
		border-radius: 18px;
		background: #f5fbff;
		box-shadow: 0 10px 28px rgba(36, 151, 220, 0.08);
		scroll-snap-align: start;
		scroll-snap-stop: always;
		box-sizing: border-box;
	}

	.stk-solves__icon {
		width: 52px;
		height: 52px;
		margin: 0 auto;
	}

	.stk-solves__card-title {
		font-size: 15px;
	}

	.stk-solves__card-text {
		font-size: 14px;
	}

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

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

	.stk-solves__arrow {
		flex: 0 0 auto;
		width: 36px;
		height: 36px;
		border: 0;
		border-radius: 50%;
		background: var(--stk-solves-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-solves__arrow:disabled {
		opacity: 0.35;
		cursor: default;
	}

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

	.stk-solves__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-solves__dot.is-active {
		background: var(--stk-solves-blue);
		transform: scale(1.2);
	}
}

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