/*
 * LSQ Process Funnel — Figma node 7:34
 * All selectors rooted at .lsq-process-funnel to scope within Enfold.
 */

.lsq-process-funnel {
	display: block;
	width: 100%;
	padding: 96px 24px;
	color: #fff;
	box-sizing: border-box;
}

.lsq-process-funnel__inner {
	max-width: 1228px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* Eyebrow pill */
.lsq-process-funnel__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.48px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1;
	text-transform: none;
}

/* Heading */
.lsq-process-funnel .lsq-process-funnel__heading {
	margin: 16px 0 0 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 800;
	font-size: 52px;
	line-height: 1.15;
	letter-spacing: -1.04px;
	color: #fff;
	max-width: 700px;
}

/* Subheading */
.lsq-process-funnel .lsq-process-funnel__subheading {
	margin: 12px 0 0 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.65);
	max-width: 832px;
}

/* Steps row */
.lsq-process-funnel__steps {
	list-style: none;
	margin: 64px 0 0 0;
	padding: 0;
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0;
}

.lsq-process-funnel__nav {
	display: none;
}

.lsq-process-funnel__step {
	flex: 1 1 0;
	min-width: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 16px !important;
    box-sizing: border-box;
    margin: 0px !important;
}

.lsq-process-funnel__circle-wrap {
	position: relative;
	z-index: 1;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lsq-process-funnel__circle {
	position: relative;
	z-index: 1;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #2654CA;
	border: 2px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	transform: scale(1);
	transition:
		background-color 0.3s ease,
		border-color 0.3s ease,
		box-shadow 0.3s ease,
		transform 0.3s ease;
}

.lsq-process-funnel__circle svg {
	width: 28px;
	height: 28px;
	stroke: currentColor;
}

/* Active step: filled accent, stronger glow ring, slight lift. */
.lsq-process-funnel__step.is-active .lsq-process-funnel__circle {
	background: var(--lsq-pf-accent, #2563eb);
	border-color: var(--lsq-pf-accent, #2563eb);
	box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.45), 0 8px 24px rgba(37, 99, 235, 0.35);
	transform: scale(1.08);
}

.lsq-process-funnel__step.is-active .lsq-process-funnel__circle svg {
	color: #fff;
}

/* Dashed connector.
 *
 * The connector sits at step level (sibling of the circle wrap) and is
 * positioned absolutely from the step's centre (left: 50%) spanning one
 * full step-column width to the right. Because steps have equal flex
 * width, 100% == the distance between two adjacent circle centres. The
 * circles (z-index: 1 via circle-wrap) sit on top so the visible line
 * runs only between them. Last step omits the connector in PHP. */
.lsq-process-funnel__step .lsq-process-funnel__connector {
	position: absolute;
	top: 28px; /* vertical centre of the 56px circle */
	left: 50%;
	width: 100%;
	height: 0;
	border-top: 1.5px solid #fff;
	transform: translateY(-0.5px);
	pointer-events: none;
	z-index: 0;
}

/* Step (base) — dimmed so the active step is the clear focal point. */
.lsq-process-funnel__step {
	transition: opacity 0.3s ease;
	cursor: pointer;
}

.lsq-process-funnel__step.is-active {
	opacity: 1;
}

/* Step title */
.lsq-process-funnel .lsq-process-funnel__step-title {
	margin: 22px 0 0 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.85);
	transition: color 0.3s ease;
}

.lsq-process-funnel__step.is-active .lsq-process-funnel__step-title {
	color: #fff;
}

/* Step description */
.lsq-process-funnel .lsq-process-funnel__step-desc {
	margin: 16px 0 0 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	max-width: 250px;
	transition: color 0.3s ease;
}

.lsq-process-funnel__step.is-active .lsq-process-funnel__step-desc {
	color: rgba(255, 255, 255, 0.95);
}

/* ─────────────────────────────────────────────────────────────
 * Responsive breakpoints
 * ───────────────────────────────────────────────────────────── */

/* Tablet: slightly smaller heading, keep horizontal layout */
@media (max-width: 1100px) {
	.lsq-process-funnel {
		padding: 72px 32px;
	}
	.lsq-process-funnel .lsq-process-funnel__heading {
		font-size: 40px;
		letter-spacing: -0.8px;
	}
	.lsq-process-funnel .lsq-process-funnel__subheading {
		font-size: 16px;
	}
	.lsq-process-funnel__steps {
		margin-top: 48px;
	}
	.lsq-process-funnel__step {
		padding: 0 8px;
	}
	.lsq-process-funnel .lsq-process-funnel__step-desc {
		font-size: 14px;
	}
}

/* Mobile: stack steps vertically, swap horizontal connector for vertical */
@media (max-width: 767px) {
	.lsq-process-funnel {
		padding: 56px 20px;
	}
	.lsq-process-funnel__inner {
		align-items: center;
		text-align: center;
	}
	.lsq-process-funnel .lsq-process-funnel__heading {
		font-size: 32px;
		text-align: center;
		letter-spacing: -0.5px;
	}
	.lsq-process-funnel .lsq-process-funnel__subheading {
		text-align: center;
	}

	.lsq-process-funnel__steps {
		/* Swipe slider: horizontal scroll with snapping */
		flex-direction: row;
		align-items: stretch;
		justify-content: flex-start;
		margin-top: 40px;
		gap: 14px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 20px;
		scroll-padding-right: 20px;
		padding: 0 2px 10px 2px;
	}
	.lsq-process-funnel__arrow--prev {
		margin-left: -30px;
	}
	
	.lsq-process-funnel__arrow--next {
		margin-right: -30px;
	}
	.lsq-process-funnel__step {
		/* Card/box layout per slide */
		flex: 0 0 100%;
		max-width: 100%;
		scroll-snap-align: center;
		scroll-snap-stop: always;
		padding: 22px 18px !important;
		border-radius: 16px;
		background: rgba(255, 255, 255, 0.08);
		border: 1px solid rgba(255, 255, 255, 0.16);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}

	/* On slider layout, connectors are distracting; hide them. */
	.lsq-process-funnel__step .lsq-process-funnel__connector {
		display: none;
	}

	.lsq-process-funnel .lsq-process-funnel__step-desc {
		max-width: 340px;
		margin-left: auto;
		margin-right: auto;
	}

	/* Make active slide read as selected without overpowering the glow circle. */
	.lsq-process-funnel__step.is-active {
		background: rgba(255, 255, 255, 0.12);
		border-color: rgba(255, 255, 255, 0.25);
	}

	/* Subtle scrollbar for iOS/Android: allow swipe without visible bar where possible */
	.lsq-process-funnel__steps {
		scrollbar-width: none;
	}
	.lsq-process-funnel__steps::-webkit-scrollbar {
		display: none;
	}

	/* Mobile arrows */
	.lsq-process-funnel__nav {
		/* Overlay arrows mid-height of the cards */
		display: flex;
		position: absolute;
		left: 0;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		justify-content: space-between;
		width: 100%;
		padding: 0 6px;
		pointer-events: none; /* allow swipe/scroll through */
	}

	.lsq-process-funnel__arrow {
		appearance: none;
		border: 1px solid rgba(255, 255, 255, 0.22);
		background: rgba(255, 255, 255, 0.08);
		color: #fff;
		border-radius: 999px;
		height: 44px;
		width: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 22px;
		line-height: 1;
		cursor: pointer;
		pointer-events: auto;
		transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
	}

	.lsq-process-funnel__arrow:hover,
	.lsq-process-funnel__arrow:focus {
		background: rgba(255, 255, 255, 0.14);
		border-color: rgba(255, 255, 255, 0.32);
		transform: translateY(-1px);
		outline: none;
	}

	.lsq-process-funnel__arrow:disabled {
		opacity: 0.45;
		cursor: default;
		transform: none;
	}

	/* Create a positioning context for the overlay arrows */
	.lsq-process-funnel__inner {
		position: relative;
	}
}
