/* ==============================================
   Turnkey Gym Solutions Widget
   ============================================== */
.tk-section {
	position: relative;
	width: 100%;
	min-height: 430px;
	background: #0f172a;
	overflow: hidden;
	font-family: Inter, sans-serif;
}

/* ── 背景图 + 渐变蒙版 ── */
.tk-bg {
	position: absolute;
	inset: 0;
	background: center / cover no-repeat;
	overflow: hidden;
}

.tk-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.25);
}

.tk-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(15,23,42,.94), rgba(15,23,42,.72), rgba(31,63,160,.42));
}

/* ── 内容流 ── */
.tk-flow {
	position: relative;
	z-index: 2;
	max-width: 1440px;
	margin: 0 auto;
	padding: 78px 48px;
	display: flex;
	flex-direction: column;
	gap: 46px;
	color: #fff;
}

/* ── 介绍区 ── */
.tk-intro {
	max-width: 760px;
	text-align: center;
	margin: 0 auto;
}

.tk-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: #9bb3ff;
	margin-bottom: 16px;
}

.tk-kicker::before,
.tk-kicker::after {
	content: "";
	width: 34px;
	height: 2px;
	background: #9bb3ff;
}

.tk-flow h4 {
	font-size: clamp(42px, 5vw, 70px);
	line-height: 0.98;
	letter-spacing: -2.4px;
	font-weight: 800;
	margin: 0 0 24px;
	color: #fff;
}

.tk-desc {
	font-size: 15px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
}

/* ── 步骤区 ── */
.tk-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	position: relative;
}

.tk-steps::before {
	content: "";
	position: absolute;
	left: 12.5%;
	right: 12.5%;
	top: 42px;
	height: 1px;
	background: rgba(255, 255, 255, 0.32);
	z-index: 0;
}

.tk-step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: #fff;
	padding: 0 10px;
	transition: transform 0.3s ease;
	overflow: hidden;
	word-break: break-word;
	min-width: 0;
}

.tk-step:hover {
	transform: translateY(-6px);
}

/* ── 图标 ── */
.tk-icon {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: #fff;
	color: #27408b;
	display: grid;
	place-items: center;
	margin-bottom: 22px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
	transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Elementor 图标选择器 SVG（fill 类型，如 Font Awesome） */
.tk-icon svg.e-font-icon-svg {
	width: 34px;
	height: 34px;
	fill: currentColor;
	stroke: none;
}

/* 自定义粘贴 SVG（stroke 类型） */
.tk-icon svg:not(.e-font-icon-svg) {
	width: 34px;
	height: 34px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tk-icon svg:not(.e-font-icon-svg) * {
	stroke: inherit;
	fill: inherit;
}

.tk-icon i {
	font-size: 28px;
	color: inherit;
}

.tk-step:hover .tk-icon {
	background: #27408b;
	color: #fff;
	box-shadow: 0 24px 58px rgba(39, 64, 139, 0.42);
	transform: scale(1.06);
}

/* ── 步骤文字 ── */
.tk-step strong {
	display: block;
	font-size: 13px;
	font-weight: 800;
	color: #9bb3ff;
	text-transform: uppercase;
	letter-spacing: 1.3px;
	margin-bottom: 8px;
}

.tk-step span {
	display: block;
	font-size: 18px;
	color: #fff;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -0.3px;
}

/* ── 响应式 ── */
@media (max-width: 820px) {
	.tk-flow {
		padding: 46px 22px;
		gap: 34px;
	}
	.tk-steps {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 24px;
	}
	.tk-steps::before {
		display: none;
	}
	.tk-icon {
		width: 60px !important;
		height: 60px !important;
	}
	.tk-icon svg {
		width: 26px !important;
		height: 26px !important;
	}
	.tk-step span {
		font-size: 14px;
	}
	.tk-step strong {
		font-size: 11px;
	}
}
