/**
 * TECH-NEXS "Our Approach" step detail pages (/our-approach/{slug}/).
 * Uses the --tn-* tokens defined in kh-tech-nexs-brand.css.
 *
 * Link colors use !important where Elementor Kit's global a:hover color
 * would otherwise win the cascade tie (see .tn-footer-nav a:hover).
 */

.tn-step-page {
	overflow-x: hidden;
	background: var(--tn-gray);
}

.tn-step-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

.tn-step-eyebrow,
.tn-step-hero-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tn-primary);
	margin: 0 0 12px;
}

/* =========================================================
   HERO
   ========================================================= */
/* Top padding clears the theme's absolutely-positioned header, as on the
   homepage hero. */
.tn-step-hero {
	position: relative;
	padding: 150px 0 40px;
	color: #fff;
	background:
		radial-gradient(circle at 85% 20%, rgba(18, 200, 239, 0.22), transparent 45%),
		linear-gradient(140deg, var(--tn-navy) 0%, var(--tn-dark-blue) 60%, #0a3f7a 100%);
}

.tn-step-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.7);
	margin: 0 0 32px;
}

.tn-step-crumbs i {
	font-size: 10px;
	opacity: 0.6;
}

.tn-step-crumbs a {
	color: rgba(255, 255, 255, 0.85) !important;
	text-decoration: none;
}

.tn-step-crumbs a:hover {
	color: var(--tn-light-blue) !important;
}

.tn-step-crumbs [aria-current] {
	color: var(--tn-light-blue);
	font-weight: 600;
}

.tn-step-hero-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.tn-step-hero-eyebrow {
	color: var(--tn-light-blue);
}

.tn-step-hero h1 {
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	margin: 0 0 10px;
}

.tn-step-hero-tagline {
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 600;
	color: var(--tn-light-blue);
	margin: 0 0 18px;
}

.tn-step-hero-lead {
	font-size: 16.5px;
	line-height: 1.7;
	color: #cfe0f2;
	max-width: 720px;
	margin: 0;
}

.tn-step-hero-badge {
	position: relative;
	flex: 0 0 auto;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle, rgba(8, 120, 255, 0.35), rgba(8, 120, 255, 0.08) 70%);
	border: 1.5px solid rgba(18, 200, 239, 0.4);
	box-shadow: 0 0 0 14px rgba(18, 200, 239, 0.06);
}

.tn-step-hero-badge i {
	font-size: 64px;
	color: var(--tn-light-blue);
}

.tn-step-hero-badge span {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--tn-primary);
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 6px rgba(8, 120, 255, 0.25);
}

/* Step progress track */
.tn-step-track {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin: 44px 0 0;
	padding: 0;
}

.tn-step-track a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.75) !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.tn-step-track a:hover {
	border-color: var(--tn-light-blue);
	color: var(--tn-light-blue) !important;
}

.tn-step-track-num {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.tn-step-track .is-done .tn-step-track-num {
	background: rgba(18, 200, 239, 0.25);
	color: var(--tn-light-blue);
}

.tn-step-track .is-current a {
	background: var(--tn-primary);
	border-color: var(--tn-primary);
	color: #fff !important;
}

.tn-step-track .is-current .tn-step-track-num {
	background: #fff;
	color: var(--tn-primary);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.tn-step-section {
	padding: 64px 0;
}

.tn-step-section--alt {
	background: #fff;
}

.tn-step-section h2 {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	color: var(--tn-dark);
	margin: 0 0 32px;
	line-height: 1.2;
}

.tn-step-activities {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.tn-step-activity {
	background: #fff;
	border: 1px solid var(--tn-border);
	border-radius: 14px;
	padding: 24px 22px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tn-step-activity:hover {
	transform: translateY(-3px);
	border-color: rgba(8, 120, 255, 0.35);
	box-shadow: 0 14px 30px rgba(8, 31, 59, 0.1);
}

.tn-step-activity-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(8, 120, 255, 0.1);
	color: var(--tn-primary);
	font-weight: 800;
	font-size: 15px;
	margin: 0 0 16px;
}

.tn-step-activity h3 {
	font-size: 16.5px;
	font-weight: 700;
	color: var(--tn-dark);
	margin: 0 0 8px;
}

.tn-step-activity p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--tn-muted);
	margin: 0;
}

/* Deliverables + outcomes */
.tn-step-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.tn-step-panel {
	background: var(--tn-gray);
	border: 1px solid var(--tn-border);
	border-radius: 16px;
	padding: 32px 30px;
}

.tn-step-panel h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 22px;
	margin: 0 0 22px;
}

.tn-step-panel h2 i {
	color: var(--tn-primary);
}

.tn-step-panel--dark {
	background: linear-gradient(140deg, var(--tn-navy), var(--tn-dark-blue));
	border-color: transparent;
}

.tn-step-panel--dark h2 {
	color: #fff;
}

.tn-step-panel--dark h2 i,
.tn-step-panel--dark .tn-step-list i {
	color: var(--tn-light-blue);
}

.tn-step-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tn-step-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--tn-dark);
	padding: 10px 0;
	border-bottom: 1px solid var(--tn-border);
}

.tn-step-list li:last-child {
	border-bottom: none;
}

.tn-step-list i {
	margin-top: 4px;
	font-size: 13px;
	color: var(--tn-primary);
}

.tn-step-panel--dark .tn-step-list li {
	color: #dbe8f6;
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

.tn-step-duration {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 22px 0 0;
	font-size: 14.5px;
	color: var(--tn-muted);
}

.tn-step-duration i {
	color: var(--tn-primary);
}

.tn-step-duration strong {
	color: var(--tn-dark);
}

/* Prev / next — two equal cards; icon circle + label/title stack. */
.tn-step-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 0 0 32px;
}

.tn-step-pager-link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
	border: 1px solid var(--tn-border);
	border-radius: 14px;
	background: #fff;
	text-decoration: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tn-step-pager-link--next {
	justify-content: flex-end;
	text-align: right;
}

.tn-step-pager-icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 120, 255, 0.1);
	color: var(--tn-primary);
	font-size: 15px;
	transition: background 0.2s ease, color 0.2s ease;
}

.tn-step-pager-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tn-step-pager-text small {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tn-muted) !important;
}

/* !important: Elementor Kit's a:hover color would otherwise recolor the
   text inside the link. */
.tn-step-pager-text strong {
	font-size: 16px;
	font-weight: 700;
	color: var(--tn-dark) !important;
	transition: color 0.2s ease;
}

.tn-step-pager-num {
	color: var(--tn-primary);
	margin-right: 2px;
}

.tn-step-pager-link:hover {
	border-color: var(--tn-primary);
	box-shadow: 0 10px 24px rgba(8, 31, 59, 0.08);
	transform: translateY(-2px);
}

.tn-step-pager-link:hover .tn-step-pager-icon {
	background: var(--tn-primary);
	color: #fff;
}

.tn-step-pager-link:hover .tn-step-pager-text strong {
	color: var(--tn-primary) !important;
}

/* CTA band */
.tn-step-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: 36px 40px;
	border-radius: 18px;
	background: linear-gradient(120deg, var(--tn-dark-blue), var(--tn-primary));
	color: #fff;
}

.tn-step-cta h2 {
	color: #fff;
	margin: 0 0 6px;
	font-size: clamp(22px, 2.6vw, 30px);
}

.tn-step-cta p {
	color: #cfe0f2;
	margin: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
	.tn-step-activities {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 991px) {
	.tn-step-hero {
		padding-top: 120px;
	}

	.tn-step-hero-badge {
		display: none;
	}

	.tn-step-track {
		grid-template-columns: repeat(5, auto);
		overflow-x: auto;
	}

	.tn-step-track-label {
		display: none;
	}

	.tn-step-track .is-current .tn-step-track-label {
		display: inline;
	}

	.tn-step-split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.tn-step-section {
		padding: 44px 0;
	}

	.tn-step-activities {
		grid-template-columns: 1fr;
	}

	.tn-step-pager {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.tn-step-pager-link {
		padding: 14px 16px;
	}

	.tn-step-cta {
		padding: 28px 22px;
	}
}
