:root {
	/* White band, not beige page ground — measured on "Ciclo de vida"
	   (511:3312). Shipped as --move-color-bg until 2026-09-05. */
	--move-steps-bg: var(--move-color-surface, #ffffff);
	--move-steps-text: var(--move-color-text, #475c76);
	/* #1c3350: a fourth navy distinct from surface/brand, surface/inverse and
	   brand-mid-emphasis, with no named token of its own. 12.81:1 computed. */
	--move-steps-ink: #1c3350;
	/* White disc with a hairline border, not the filled sand disc this
	   shipped with (511:3320 / 514:10868). */
	--move-steps-number-bg: var(--move-color-surface, #ffffff);
	--move-steps-number-border: var(--move-color-border-light, #eae9e6);
	--move-steps-number-text: var(--move-steps-ink);
	--move-steps-line: var(--move-color-border-light, #eae9e6);

	/* Badge: 36px mobile (514:10868), 37px desktop. */
	--move-steps-number-size: 2.25rem;      /* 36px */
	--move-steps-number-size-lg: 2.3125rem; /* 37px */

	/* espacing/grid/vertical per breakpoint (514:10862 / 511:3312), neither
	   matching --move-section-padding. Horizontal edge stays on the shared
	   rail rather than Figma's 80px/20px, to line up with other sections. */
	--move-steps-band-padding: 2.5rem;    /* 40px */
	--move-steps-band-padding-lg: 5rem;   /* 80px */

	/* Figma-named scale (tokens.css), not the retired prototype scale. */
	--move-steps-font-heading: var(--move-font-size-4xl, 2.5rem); /* 40px, both breakpoints */
	/* Figma's desktop number is 10.56px in a stray Inter face — a scaled
	   instance artifact. Mobile's 12px is a real scale step; both take it. */
	--move-steps-font-number: var(--move-font-size-xs, 0.75rem);   /* 12px */
	/* 15px Medium mobile (514:10871), 16px Regular desktop (511:3324); 15px
	   isn't a scale step, so it's a literal. */
	--move-steps-font-label: 0.9375rem;                            /* 15px */
	--move-steps-font-label-lg: var(--move-font-size-base, 1rem);  /* 16px */
}

.move-process-steps {
	container-type: inline-size;
	container-name: move-process-steps;
	width: 100%;
	background: var(--move-steps-bg);
	color: var(--move-steps-text);
	font-family: var(--move-font-base);
	font-size: 1rem;
	font-weight: 400;
	--move-strong-weight: var(--move-font-weight-bold, 700);
	/* Clears the sticky sub-nav bar on jump-to-anchor; main.js syncs the
	   custom property with the bar's measured height. */
	scroll-margin-top: var(--move-subnav-sticky-height, 2.5rem);
}

.move-process-steps__container {
	max-width: var(--move-container-max, 1312px);
	margin-inline: auto;
	padding: var(--move-steps-band-padding) var(--move-container-gutter, 2rem);
}

.move-process-steps__heading {
	margin: 0 0 var(--move-space-md, 1.5rem);
	color: var(--move-steps-ink);
	font-size: var(--move-steps-font-heading);
	font-weight: var(--move-font-weight-regular, 400);
	letter-spacing: var(--move-letter-spacing-tightest, -0.04em);
	line-height: var(--move-line-tight, 1.2);
	/* Rosario Medium italic against Regular roman (511:3315). */
	--move-em-weight: var(--move-font-weight-medium, 500);
}

/* Mobile: vertical timeline (514:10865), one step per row, no connector. */
.move-process-steps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 0.75rem; /* 12px (514:10865) */
}

.move-process-steps__item {
	display: flex;
	align-items: center;
	gap: 1rem; /* 16px (514:10866) */
}

.move-process-steps__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--move-steps-number-size);
	height: var(--move-steps-number-size);
	border: var(--move-border-width, 1px) solid var(--move-steps-number-border);
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--move-steps-number-bg);
	color: var(--move-steps-number-text);
	font-size: var(--move-steps-font-number);
	font-weight: var(--move-font-weight-bold, 700);
}
.move-process-steps__number--image {
	background: none;
	overflow: hidden;
}
.move-process-steps__number--image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.move-process-steps__label {
	color: var(--move-steps-ink);
	font-size: var(--move-steps-font-label);
	/* Medium mobile, Regular desktop — smaller size carried by weight instead
	   (514:10871). */
	font-weight: var(--move-font-weight-medium, 500);
	line-height: var(--move-line-normal, 1.4);
	padding-block: 0.5rem; /* Right Content's own 8px (514:10870). */
}

/* Tablet up: horizontal lifecycle, modelled as a grid (511:3317) with items
 * padded 24px right rather than gapped tracks — a sixth step wraps to a
 * second row instead of squeezing the first, per the layout handoff. Track
 * count is fixed (not auto-fill) so :nth-child can find the row-ending item
 * and hide its connector.
 */
@container move-process-steps (min-width: 768px) {
	.move-process-steps__container {
		padding-block: var(--move-steps-band-padding-lg);
	}
	.move-process-steps__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 0;
		row-gap: var(--move-space-lg, 3rem);
	}
	.move-process-steps__item {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		gap: 0;
		position: relative;
		min-height: 142px;
		padding-top: 62px;
		padding-right: var(--move-space-md, 1.5rem);
	}
	.move-process-steps__number {
		position: absolute;
		top: 0;
		left: 0;
		width: var(--move-steps-number-size-lg);
		height: var(--move-steps-number-size-lg);
	}
	.move-process-steps__label {
		font-size: var(--move-steps-font-label-lg);
		font-weight: var(--move-font-weight-regular, 400);
		line-height: var(--move-line-relaxed, 1.5);
		/* +1%, genuinely positive: the one place in this band Figma tracks
		   outwards (511:3324). */
		letter-spacing: var(--move-letter-spacing-wide, 0.01em);
		max-width: 145px;
		padding-block: 0;
	}
	/* Connector runs badge-centre to the next badge's left edge. `right: 0`
	 * resolves against the padding box, spanning the 24px right padding too —
	 * why tracks carry no column-gap.
	 */
	.move-process-steps__item::after {
		content: "";
		position: absolute;
		/* 18px down: badge's vertical centre. */
		top: 18px;
		left: 2.25rem;
		right: 0;
		border-top: var(--move-border-width, 1px) solid var(--move-steps-line);
	}
	/* No line off the end of a row, and none off the last step. */
	.move-process-steps__item:nth-child(3n)::after,
	.move-process-steps__item:last-child::after {
		content: none;
	}
}

@container move-process-steps (min-width: 1024px) {
	/* Two columns, not a stacked heading: 511:3313 is a flex row of
	 * Heading 2 + Numbered List (each flex-1, no gap) — the heading's own
	 * 360px cap is what leaves the list its width.
	 */
	.move-process-steps__container {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 0;
	}
	.move-process-steps__heading {
		flex: 1 0 0;
		max-width: 360px; /* measured on Heading 2 (511:3314) */
		margin: 0;
	}
	.move-process-steps__track {
		flex: 1 0 0;
		min-width: 0;
	}
	.move-process-steps__list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
	/* Five tracks now, so a third item is mid-row again and draws its rule. */
	.move-process-steps__item:nth-child(3n)::after {
		content: "";
	}
	.move-process-steps__item:nth-child(5n)::after,
	.move-process-steps__item:last-child::after {
		content: none;
	}
}
