/* Webverix — Process Timeline widget (v2 — alternating desktop layout) */
.wvx-pr { color: #FFFFFF; }

.wvx-pr-head { text-align: center; margin-bottom: 56px; }
.wvx-pr-kicker {
	display: block;
	font-size: 11.5px; font-weight: 600;
	letter-spacing: 0.2em; text-transform: uppercase;
	color: #8B7CF6; margin-bottom: 12px;
}
.wvx-pr-heading {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
	color: #FFFFFF; text-wrap: balance;
	--wvx-ga: #8B5CF6; --wvx-gb: #4D7CFE;
}
.wvx-pr-heading em {
	font-style: normal;
	background: linear-gradient(95deg, var(--wvx-ga), var(--wvx-gb));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.wvx-pr-head p { margin: 0 auto; max-width: 56ch; font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.62); }

/* ── Base structure (mobile / tablet / rail) ── */
.wvx-pr-tl {
	position: relative;
	max-width: 1060px;
	margin: 0 auto;
	--wvx-pr-dot: 56px;
}
.wvx-pr-tl::before {
	content: "";
	position: absolute;
	left: calc(var(--wvx-pr-dot) / 2);
	top: 10px; bottom: 10px;
	width: 1px;
	background: linear-gradient(180deg,
		rgba(139,124,246,0) 0%,
		rgba(139,124,246,0.4) 12%,
		rgba(139,124,246,0.4) 88%,
		rgba(139,124,246,0) 100%);
}
.wvx-pr-step {
	position: relative;
	display: flex;
	gap: var(--wvx-pr-indent, 32px);
	align-items: flex-start;
	padding-bottom: 52px;
	--wvx-pr-dot: 56px;
}
.wvx-pr-step:last-child { padding-bottom: 0; }

/* ── Dot ── */
.wvx-pr-dot {
	position: relative;
	z-index: 2;
	flex: none;
	width: var(--wvx-pr-dot);
	height: var(--wvx-pr-dot);
	border-radius: 50%;
	display: grid; place-items: center;
	font-size: 14px; font-weight: 700;
	color: #FFFFFF;
	background: linear-gradient(120deg, #8B5CF6, #4D7CFE);
	box-shadow: 0 4px 20px rgba(124,92,246,0.4);
	font-variant-numeric: tabular-nums;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.wvx-pr-dot::before {
	content: "";
	position: absolute;
	inset: -7px;
	border-radius: 50%;
	border: 1px solid rgba(139,124,246,0.25);
	transition: border-color 0.3s ease, inset 0.3s ease;
}
.wvx-pr-step:hover .wvx-pr-dot {
	box-shadow: 0 6px 30px rgba(124,92,246,0.65);
	transform: scale(1.06);
}
.wvx-pr-step:hover .wvx-pr-dot::before { border-color: rgba(139,124,246,0.55); }

/* ── Card ── */
.wvx-pr-body {
	position: relative;
	min-width: 0;
	flex: 1;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 16px;
	padding: 26px 28px;
	overflow: hidden;
	transition:
		border-color 0.3s ease,
		background 0.3s ease,
		box-shadow 0.3s ease,
		transform 0.3s ease;
}
.wvx-pr-step:hover .wvx-pr-body {
	border-color: rgba(124,92,246,0.45);
	box-shadow: 0 14px 44px rgba(10,8,30,0.45);
	transform: translateY(-3px);
}
.wvx-pr-ghost {
	position: absolute;
	top: -12px; right: 6px;
	font-size: 84px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
	color: rgba(139,124,246,0.08);
	pointer-events: none;
	user-select: none;
	font-variant-numeric: tabular-nums;
	z-index: 0;
}
.wvx-pr-body > *:not(.wvx-pr-ghost) { position: relative; z-index: 1; }

.wvx-pr-week {
	display: block;
	font-size: 11px; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: #8B7CF6;
	margin-bottom: 8px;
}
.wvx-pr-title { margin: 0 0 8px; font-size: clamp(19px, 2.4vw, 24px); font-weight: 750; letter-spacing: -0.015em; color: #FFFFFF; }
.wvx-pr-desc { margin: 0; max-width: 60ch; font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.62); }
.wvx-pr-out {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	margin-top: 14px;
	font-size: 12px; font-weight: 500;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.8);
	background: rgba(124,92,246,0.08);
	border: 1px solid rgba(124,92,246,0.3);
	border-radius: 99px;
	padding: 8px 16px;
	line-height: 1.4;
}
.wvx-pr-out b { color: #8B7CF6; font-weight: 600; }

/* ═════════ DESKTOP — ALTERNATING CENTER SPINE ═════════ */
@media (min-width: 1025px) {
	.wvx-pr-alt .wvx-pr-tl::before {
		left: 50%;
		transform: translateX(-50%);
	}
	.wvx-pr-alt .wvx-pr-step {
		display: grid;
		grid-template-columns: 1fr var(--wvx-pr-dot) 1fr;
		column-gap: 36px;
		align-items: start;
		padding-bottom: 44px;
	}
	.wvx-pr-alt .wvx-pr-dot {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		margin-top: 4px;
	}
	/* Even steps (1st, 3rd… in DOM = nth-child odd): card on the LEFT */
	.wvx-pr-alt .wvx-pr-step:nth-child(odd) .wvx-pr-body {
		grid-column: 1;
		grid-row: 1;
		text-align: right;
	}
	.wvx-pr-alt .wvx-pr-step:nth-child(odd) .wvx-pr-desc { margin-left: auto; }
	.wvx-pr-alt .wvx-pr-step:nth-child(odd) .wvx-pr-ghost { right: auto; left: 6px; }
	/* Card on the RIGHT */
	.wvx-pr-alt .wvx-pr-step:nth-child(even) .wvx-pr-body {
		grid-column: 3;
		grid-row: 1;
	}
	/* Connector ticks from dot to card */
	.wvx-pr-alt .wvx-pr-body::before {
		content: "";
		position: absolute;
		top: calc(4px + var(--wvx-pr-dot) / 2);
		width: 26px;
		height: 1px;
		background: linear-gradient(90deg, rgba(139,124,246,0.5), rgba(139,124,246,0));
	}
	.wvx-pr-alt .wvx-pr-step:nth-child(even) .wvx-pr-body::before {
		left: -27px;
		background: linear-gradient(90deg, rgba(139,124,246,0), rgba(139,124,246,0.5));
	}
	.wvx-pr-alt .wvx-pr-step:nth-child(odd) .wvx-pr-body::before {
		right: -27px;
	}
	/* Slight vertical rhythm — right cards drop a little for a woven look */
	.wvx-pr-alt .wvx-pr-step:nth-child(even) .wvx-pr-body { margin-top: 14px; }
	.wvx-pr-alt .wvx-pr-step:nth-child(even) .wvx-pr-dot { margin-top: 18px; }
	.wvx-pr-alt .wvx-pr-step:nth-child(even) .wvx-pr-body::before { top: calc(4px + var(--wvx-pr-dot) / 2 + 4px); }
}

/* Reveal — alternating slide direction on desktop */
.wvx-reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--wvx-rv-dur, 600ms) ease, transform var(--wvx-rv-dur, 600ms) cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--wvx-rv-step, 80ms) * var(--i, 0)); }
.wvx-reveal.wvx-in { opacity: 1; transform: none; }
@media (min-width: 1025px) {
	.wvx-pr-alt .wvx-pr-step.wvx-reveal:nth-child(odd) { transform: translateX(-32px); }
	.wvx-pr-alt .wvx-pr-step.wvx-reveal:nth-child(even) { transform: translateX(32px); }
	.wvx-pr-alt .wvx-pr-step.wvx-reveal.wvx-in { transform: none; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
	.wvx-pr-step { gap: 16px; }
	.wvx-pr-tl { --wvx-pr-dot: 44px; }
	.wvx-pr-step { --wvx-pr-dot: 44px; padding-bottom: 36px; }
	.wvx-pr-dot { font-size: 12px; }
	.wvx-pr-body { padding: 20px 20px; }
	.wvx-pr-ghost { font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
	.wvx-reveal { opacity: 1; transform: none !important; transition: none; }
	.wvx-pr-dot, .wvx-pr-body { transition: none; }
}
