.lm-custom-journey {
	--lm-custom-ink: #17384f;
	--lm-custom-body: #344155;
	--lm-custom-muted: #596579;
	--lm-custom-line: #d4a574;
	--lm-custom-accent: #d6a164;
	--lm-custom-accent-hover: #e6b77f;
	--lm-custom-card: #ffffff;
	--lm-custom-soft: #f7f8fa;
	width: 100vw;
	max-width: 100vw;
	margin-top: 0 !important;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	padding: clamp(8px, 1.35vw, 18px) 0 clamp(18px, 1.1vw, 30px);
	background: #ffffff;
	color: var(--lm-custom-ink);
	overflow: hidden;
}

.lm-custom-journey.alignfull {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.lm-custom-journey *,
.lm-custom-journey *::before,
.lm-custom-journey *::after {
	box-sizing: border-box;
}

.lm-custom-journey__inner {
	width: min(1500px, 100%);
	margin: 0 auto;
	padding: 0 clamp(18px, 5vw, 88px);
}

.lm-custom-journey__header {
	max-width: 720px;
	margin: 0 auto clamp(12px, 1vw, 22px);
	text-align: center;
}

.lm-custom-journey__title {
	margin: 0;
	color: var(--lm-custom-ink);
	font-size: clamp(28px, 2.65vw, 40px) !important;
	font-weight: 800 !important;
	line-height: 1.12 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	overflow-wrap: anywhere;
}

.lm-custom-journey__description {
	max-width: 620px;
	margin: 14px auto 0;
	color: var(--lm-custom-body);
	font-size: clamp(13px, 0.98vw, 15px);
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.lm-custom-journey__timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: clamp(10px, 1.2vw, 18px);
	width: 100%;
	padding-top: 42px;
}

.lm-custom-journey__timeline::before {
	position: absolute;
	top: 58px;
	right: 0;
	left: 0;
	height: 6px;
	border-radius: 999px;
	background: var(--lm-custom-line);
	content: "";
}

.lm-custom-journey__step {
	position: relative;
	z-index: 1;
	min-width: 0;
	animation: lm-custom-float 5.8s ease-in-out infinite;
	animation-delay: calc(var(--lm-custom-step-index, 0) * -0.42s);
}

.lm-custom-journey__step:not(:last-child)::after {
	position: absolute;
	top: 51px;
	right: -18px;
	z-index: 2;
	width: 26px;
	height: 26px;
	border-top: 4px solid rgba(212, 165, 116, 0.38);
	border-right: 4px solid rgba(212, 165, 116, 0.38);
	content: "";
	transform: rotate(45deg);
}

.lm-custom-journey__icon-wrap {
	position: relative;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	animation: lm-custom-icon-float 4.6s ease-in-out infinite;
	animation-delay: calc(var(--lm-custom-step-index, 0) * -0.35s);
}

.lm-custom-journey__icon {
	display: inline-flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(212, 165, 116, 0.72);
	border-radius: 8px;
	background: #ffffff;
	color: var(--lm-custom-ink);
	box-shadow: 0 14px 34px rgba(26, 58, 82, 0.13);
	font-size: 23px;
	line-height: 1;
	transition: border-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.lm-custom-journey__number {
	position: absolute;
	top: -9px;
	right: 0;
	display: inline-flex;
	width: 27px;
	height: 27px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--lm-custom-accent);
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.lm-custom-journey__card {
	min-height: 168px;
	padding: 18px 14px 14px;
	border: 1px solid rgba(23, 56, 79, 0.06);
	border-radius: 8px;
	background: var(--lm-custom-card);
	box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
	opacity: 0;
	text-align: center;
	transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
	animation: lm-custom-card-reveal 920ms cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: calc(160ms + var(--lm-custom-step-index, 0) * 120ms);
}

.lm-custom-journey__step:hover {
	animation-play-state: paused;
}

.lm-custom-journey__step:hover .lm-custom-journey__card,
.lm-custom-journey__step:focus-within .lm-custom-journey__card {
	border-color: rgba(212, 165, 116, 0.58);
	box-shadow: 0 22px 46px rgba(26, 58, 82, 0.16);
	transform: translateY(-7px);
}

.lm-custom-journey__step:hover .lm-custom-journey__icon,
.lm-custom-journey__step:focus-within .lm-custom-journey__icon {
	border-color: var(--lm-custom-accent);
	color: var(--lm-custom-accent);
	box-shadow: 0 20px 42px rgba(212, 165, 116, 0.26);
	transform: translateY(-4px);
}

.lm-custom-journey__card h3 {
	margin: 0;
	color: var(--lm-custom-ink);
	font-size: clamp(13px, 0.95vw, 15px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	overflow-wrap: anywhere;
	transition: color 220ms ease;
}

.lm-custom-journey__step:hover .lm-custom-journey__card h3,
.lm-custom-journey__step:focus-within .lm-custom-journey__card h3 {
	color: var(--lm-custom-accent);
}

.lm-custom-journey__duration {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	margin-top: 12px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(212, 165, 116, 0.11);
	color: var(--lm-custom-accent);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.lm-custom-journey__card p {
	margin: 14px 0 0;
	color: var(--lm-custom-muted);
	font-size: clamp(12px, 0.86vw, 14px);
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.lm-custom-journey__card ul {
	display: grid;
	gap: 6px;
	margin: 14px 0 0;
	padding: 12px 12px;
	border-radius: 8px;
	background: var(--lm-custom-soft);
	list-style: none;
	text-align: left;
}

.lm-custom-journey__card li {
	position: relative;
	margin: 0;
	padding-left: 13px;
	color: var(--lm-custom-body);
	font-size: clamp(11px, 0.78vw, 13px);
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.lm-custom-journey__card li::before {
	position: absolute;
	top: 0.65em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: var(--lm-custom-accent);
	content: "";
	transform: translateY(-50%);
}

.lm-custom-journey__cta {
	width: min(100%, 1320px);
	margin: clamp(28px, 3vw, 46px) auto 0;
	padding: clamp(14px, 1.8vw, 20px) clamp(20px, 3.4vw, 44px);
	border-radius: 16px;
	background: linear-gradient(135deg, #17384f 0%, #2d5c7d 100%);
	box-shadow: 0 20px 42px rgba(16, 24, 40, 0.18);
	color: #ffffff;
	text-align: center;
}

.lm-custom-journey__lead-label {
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(13px, 0.94vw, 15px);
	font-weight: 700;
	line-height: 1.35;
}

.lm-custom-journey__lead-value {
	margin-top: 8px;
	color: #ffffff;
	font-size: clamp(34px, 3.25vw, 48px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.lm-custom-journey__lead-description {
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(13px, 0.94vw, 15px);
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.lm-custom-journey__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 48px;
	margin-top: clamp(24px, 2.4vw, 36px);
	padding: 0 28px;
	border: 2px solid var(--lm-custom-accent);
	border-radius: 8px;
	background: var(--lm-custom-accent);
	color: #ffffff;
	font-size: clamp(13px, 0.9vw, 14px);
	font-weight: 800;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease, gap 0.24s ease;
}

.lm-custom-journey__button:hover,
.lm-custom-journey__button:focus-visible {
	gap: 28px;
	border-color: var(--lm-custom-accent-hover);
	background: var(--lm-custom-accent-hover);
	color: #17384f;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
	text-decoration: none;
	transform: translateY(-1px);
}

.lm-custom-journey__button i {
	font-size: 15px;
	line-height: 1;
	transition: transform 0.24s ease;
}

.lm-custom-journey__button:hover i,
.lm-custom-journey__button:focus-visible i {
	transform: translateX(3px);
}

.wp-block-acf-customization-journey,
.wp-block[data-type="acf/customization-journey"] {
	max-width: none;
}

.editor-styles-wrapper .lm-custom-journey {
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
}

@keyframes lm-custom-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-5px);
	}
}

@keyframes lm-custom-icon-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(4px);
	}
}

@keyframes lm-custom-card-reveal {
	0% {
		opacity: 0;
		filter: blur(8px);
		transform: translateY(28px);
	}

	45% {
		opacity: 0.62;
		filter: blur(3px);
	}

	100% {
		opacity: 1;
		filter: blur(0);
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.lm-custom-journey__step,
	.lm-custom-journey__icon-wrap {
		animation: none;
	}

	.lm-custom-journey__card {
		opacity: 1;
		filter: none;
		animation: none;
	}
}

@media (max-width: 1199px) {
	.lm-custom-journey {
		padding: 10px 0 22px;
	}

	.lm-custom-journey__header {
		margin-bottom: 18px;
	}

	.lm-custom-journey__timeline {
		position: relative;
		grid-template-columns: 1fr;
		gap: 34px;
		width: min(100%, 720px);
		margin: 0 auto;
		padding-top: 0;
	}

	.lm-custom-journey__step::after {
		display: none;
	}

	.lm-custom-journey__timeline::before {
		position: absolute;
		top: 76px;
		bottom: 0;
		left: 41px;
		display: block;
		width: 3px;
		height: auto;
		border-radius: 999px;
		background: rgba(212, 165, 116, 0.28);
		content: "";
	}

	.lm-custom-journey__step {
		display: grid;
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 14px;
		align-items: start;
		width: 100%;
		min-width: 0;
		animation: none;
	}

	.lm-custom-journey__step::before {
		display: none;
	}

	.lm-custom-journey__icon-wrap {
		grid-column: 1;
		grid-row: 1;
		position: relative;
		z-index: 2;
		width: 72px;
		height: 72px;
		margin: 0 auto;
		animation: none;
	}

	.lm-custom-journey__icon {
		width: 68px;
		height: 68px;
		border-width: 4px;
		border-radius: 13px;
		font-size: 27px;
		box-shadow: 0 14px 26px rgba(26, 58, 82, 0.16);
	}

	.lm-custom-journey__number {
		top: -8px;
		right: -1px;
		width: 27px;
		height: 27px;
		font-size: 12px;
	}

	.lm-custom-journey__card {
		grid-column: 2;
		grid-row: 1;
		min-width: 0;
		width: 100%;
		min-height: 0;
		padding: 20px 20px 18px;
		border-radius: 14px;
		text-align: left;
		box-shadow: 0 10px 22px rgba(16, 24, 40, 0.12);
	}

	.lm-custom-journey__card h3 {
		font-size: clamp(17px, 3.2vw, 22px);
		line-height: 1.22;
	}

	.lm-custom-journey__duration {
		min-height: 23px;
		margin-top: 12px;
		padding: 0 12px;
		font-size: 11px;
	}

	.lm-custom-journey__card p {
		margin-top: 14px;
		font-size: clamp(13px, 2.45vw, 16px);
		line-height: 1.4;
		overflow-wrap: normal;
	}

	.lm-custom-journey__card ul {
		gap: 7px;
		margin-top: 14px;
		padding: 0;
		background: transparent;
	}

	.lm-custom-journey__card li {
		padding-left: 17px;
		font-size: clamp(12px, 2.25vw, 14px);
		line-height: 1.34;
		overflow-wrap: normal;
	}

	.lm-custom-journey__card li::before {
		top: 0.68em;
		width: 6px;
		height: 6px;
	}

	.lm-custom-journey__cta {
		margin-top: 24px;
		border-radius: 12px;
	}

	.lm-custom-journey__button {
		width: min(100%, 340px);
		white-space: normal;
	}
}

@media (max-width: 420px) {
	.lm-custom-journey__inner {
		padding: 0 14px;
	}

	.lm-custom-journey__step {
		grid-template-columns: 68px minmax(0, 1fr);
		gap: 12px;
	}

	.lm-custom-journey__step::before {
		left: 33px;
	}

	.lm-custom-journey__timeline::before {
		left: 34px;
	}

	.lm-custom-journey__icon-wrap {
		width: 62px;
		height: 62px;
	}

	.lm-custom-journey__icon {
		width: 58px;
		height: 58px;
		border-width: 3px;
		font-size: 23px;
	}

	.lm-custom-journey__card {
		padding: 18px 16px 16px;
		border-radius: 14px;
	}

	.lm-custom-journey__card h3 {
		font-size: clamp(16px, 4.6vw, 19px);
	}

	.lm-custom-journey__card p {
		font-size: clamp(12px, 3.65vw, 14px);
	}

	.lm-custom-journey__card li {
		font-size: clamp(11px, 3.3vw, 13px);
	}
}
