.mc-proc {
	--mc-red: #BE393A;
	--mc-purple: #43367B;
	--mc-ink: #3A3A3A;
	--mc-muted: #5f5f5f;
	--mc-container: 1340px;
	color: var(--mc-ink);
	overflow: hidden;
}

.mc-proc * {
	box-sizing: border-box;
}

.mc-proc-wrap {
	width: min(var(--mc-container), calc(100% - 40px));
	margin: 0 auto;
}

.mc-proc-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: var(--mc-red);
	font-family: "Space Grotesk", sans-serif;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 25px;
}

.mc-proc-label__mark {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.mc-proc-label__mark svg {
	width: 15px;
	height: 26px;
}

.mc-proc-title {
	margin: 0;
	color: var(--mc-purple);
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.2;
	font-weight: 700;
}

.mc-proc-head {
	margin: 0 0 36px;
}

.mc-proc-head.is-center {
	text-align: center;
}

.mc-proc-head.is-center .mc-proc-label {
	justify-content: center;
}

.mc-proc-hero {
	padding: 0;
	background: #f7f8fa;
	width: 100%;
}

.mc-proc-hero__inner {
	display: grid;
	grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.18fr);
	align-items: stretch;
	min-height: clamp(420px, 58vh, 560px);
}

.mc-proc-hero__copy {
	display: flex;
	align-items: center;
	background: #f7f8fa;
	position: relative;
	z-index: 2;
}

.mc-proc-hero__copy-inner {
	width: 100%;
	max-width: 560px;
	margin-left: max(20px, calc((100vw - var(--mc-container)) / 2));
	padding: 56px 28px 56px 0;
}

.mc-proc-hero__title {
	margin: 0 0 16px;
	color: var(--mc-purple);
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.18;
	font-weight: 700;
}

.mc-proc-hero__rule {
	display: block;
	width: 54px;
	height: 3px;
	margin: 0 0 18px;
	background: var(--mc-red);
}

.mc-proc-hero__text {
	margin: 0;
	color: var(--mc-muted);
	font-size: 16px;
	line-height: 1.75;
}

.mc-proc-hero__visual {
	position: relative;
	min-height: 420px;
	overflow: hidden;
	background: #2a2148;
}

.mc-proc-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 420px;
}

.mc-proc-hero__fade {
	position: absolute;
	inset: 0 auto 0 0;
	width: 38%;
	background: linear-gradient(90deg, #f7f8fa 0%, rgba(247, 248, 250, 0.78) 35%, rgba(247, 248, 250, 0) 100%);
	pointer-events: none;
	z-index: 1;
}

.mc-proc-hero__slash {
	position: absolute;
	z-index: 2;
	pointer-events: none;
	transform: skewX(-28deg);
}

.mc-proc-hero__slash--a {
	right: -40px;
	bottom: -30px;
	width: 46%;
	height: 58%;
	background: rgba(67, 54, 123, 0.62);
}

.mc-proc-hero__slash--b {
	right: 8%;
	bottom: -20px;
	width: 28%;
	height: 70%;
	background: rgba(67, 54, 123, 0.34);
}

.mc-proc-nav {
	padding: 64px 0 28px;
	background:
		radial-gradient(ellipse at top right, rgba(190, 57, 58, 0.07) 0%, transparent 45%),
		#f6f4fb;
}

.mc-proc-nav__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.mc-proc-nav__card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 20px 18px;
	background: #fff;
	border: 1px solid rgba(67, 54, 123, 0.1);
	text-decoration: none !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mc-proc-nav__card:hover {
	transform: translateY(-5px);
	border-color: rgba(190, 57, 58, 0.3);
	box-shadow: 0 16px 34px rgba(67, 54, 123, 0.12);
}

.mc-proc-nav__num {
	font-family: "Space Grotesk", sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: var(--mc-red);
}

.mc-proc-nav__name {
	color: var(--mc-purple);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.mc-proc-nav__go {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--mc-purple);
	border: 1px solid rgba(67, 54, 123, 0.2);
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.mc-proc-nav__go svg {
	width: 16px;
	height: 16px;
}

.mc-proc-nav__card:hover .mc-proc-nav__go {
	background: var(--mc-red);
	border-color: var(--mc-red);
	color: #fff;
}

.mc-proc-step {
	padding: 72px 0;
	background: #fff;
	scroll-margin-top: 100px;
}

.mc-proc-step:nth-of-type(odd) {
	background: #f7f6fb;
}

.mc-proc-step__row {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 44px;
	align-items: stretch;
}

.mc-proc-step.is-flip .mc-proc-step__row {
	grid-template-columns: 1.05fr 0.95fr;
}

.mc-proc-step.is-flip .mc-proc-step__visual {
	order: 2;
}

.mc-proc-step.is-flip .mc-proc-step__copy {
	order: 1;
}

.mc-proc-step__visual {
	position: relative;
	min-height: 420px;
	overflow: hidden;
	background: #2a2148;
	clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 100%, 0 100%);
}

.mc-proc-step.is-flip .mc-proc-step__visual {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12% 92%);
}

.mc-proc-step__visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.55s ease;
}

.mc-proc-step:hover .mc-proc-step__visual img {
	transform: scale(1.04);
}

.mc-proc-step__slash {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	transform: skewX(-22deg);
}

.mc-proc-step__slash--a {
	right: -8%;
	bottom: -20%;
	width: 28%;
	height: 70%;
	background: rgba(67, 54, 123, 0.45);
}

.mc-proc-step__slash--b {
	right: 10%;
	bottom: -12%;
	width: 14%;
	height: 55%;
	background: rgba(190, 57, 58, 0.4);
}

.mc-proc-step.is-flip .mc-proc-step__slash--a {
	right: auto;
	left: -8%;
}

.mc-proc-step.is-flip .mc-proc-step__slash--b {
	right: auto;
	left: 10%;
}

.mc-proc-step__badge {
	position: absolute;
	left: 18px;
	top: 18px;
	z-index: 2;
	min-width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.94);
	color: var(--mc-purple);
	font-family: "Space Grotesk", sans-serif;
	font-size: 16px;
	font-weight: 700;
}

.mc-proc-step__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 8px 0;
}

.mc-proc-step__rule {
	display: block;
	width: 54px;
	height: 3px;
	margin: 14px 0 16px;
	background: linear-gradient(90deg, var(--mc-red) 0%, var(--mc-purple) 100%);
}

.mc-proc-step__text {
	margin: 0;
	color: var(--mc-muted);
	font-size: 16px;
	line-height: 1.75;
}

.mc-proc-step__list-label {
	margin: 24px 0 12px;
	color: var(--mc-purple);
	font-family: "Space Grotesk", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mc-proc-step__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.mc-proc-step__points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 13px 14px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(67, 54, 123, 0.1);
	color: var(--mc-purple);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mc-proc-step__points li:hover {
	transform: translateY(-2px);
	border-color: rgba(190, 57, 58, 0.35);
	box-shadow: 0 10px 22px rgba(67, 54, 123, 0.08);
}

.mc-proc-step__check {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--mc-red);
}

.mc-proc-step__check svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mc-proc-close {
	position: relative;
	padding: 72px 0 80px;
	overflow: hidden;
	background: #efeef5;
}

.mc-proc-close__glow {
	position: absolute;
	right: -8%;
	top: -20%;
	width: 48%;
	height: 140%;
	background: radial-gradient(ellipse at center, rgba(190, 57, 58, 0.12) 0%, rgba(67, 54, 123, 0.08) 42%, transparent 70%);
	pointer-events: none;
}

.mc-proc-close__row {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: stretch;
	min-height: 420px;
}

.mc-proc-close__panel {
	position: relative;
	z-index: 2;
	background: #fff;
	padding: 48px 44px 48px 40px;
	box-shadow: 18px 0 48px rgba(67, 54, 123, 0.08);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mc-proc-close__rail {
	position: absolute;
	left: 0;
	top: 36px;
	bottom: 36px;
	width: 4px;
	background: linear-gradient(180deg, var(--mc-red) 0%, var(--mc-purple) 100%);
}

.mc-proc-close__title {
	margin: 0 0 16px;
	color: var(--mc-purple);
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.2;
	font-weight: 700;
}

.mc-proc-close__text {
	margin: 0;
	color: var(--mc-muted);
	font-size: 16px;
	line-height: 1.75;
	max-width: 540px;
}

.mc-proc-close__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	margin-top: 26px;
	padding: 0 26px;
	background: var(--mc-red);
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
	transition: background 0.25s ease, transform 0.25s ease;
	width: fit-content;
}

.mc-proc-close__btn svg {
	width: 18px;
	height: 18px;
}

.mc-proc-close__btn:hover {
	background: #a62f30;
	color: #fff !important;
	transform: translateX(3px);
}

.mc-proc-close__visual {
	position: relative;
	min-height: 420px;
	overflow: hidden;
	clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
	margin-left: -40px;
	background: #2a2148;
}

.mc-proc-close__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 420px;
}

.mc-proc-close__slash {
	position: absolute;
	pointer-events: none;
	z-index: 1;
	transform: skewX(-24deg);
}

.mc-proc-close__slash--a {
	left: 8%;
	bottom: -18%;
	width: 22%;
	height: 70%;
	background: rgba(67, 54, 123, 0.45);
}

.mc-proc-close__slash--b {
	left: 22%;
	bottom: -10%;
	width: 12%;
	height: 55%;
	background: rgba(190, 57, 58, 0.42);
}

@media (max-width: 1100px) {
	.mc-proc-nav__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.mc-proc-hero__inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.mc-proc-hero__copy-inner {
		max-width: none;
		margin-left: 0;
		padding: 40px 20px 28px;
	}

	.mc-proc-hero__visual,
	.mc-proc-hero__img {
		min-height: 280px;
	}

	.mc-proc-hero__fade {
		width: 100%;
		height: 28%;
		inset: auto 0 0 0;
		background: linear-gradient(0deg, #f7f8fa 0%, rgba(247, 248, 250, 0) 100%);
	}

	.mc-proc-step__row,
	.mc-proc-step.is-flip .mc-proc-step__row {
		grid-template-columns: 1fr;
	}

	.mc-proc-step.is-flip .mc-proc-step__visual,
	.mc-proc-step.is-flip .mc-proc-step__copy {
		order: initial;
	}

	.mc-proc-step__visual,
	.mc-proc-step.is-flip .mc-proc-step__visual {
		min-height: 260px;
		height: 260px;
		clip-path: none;
	}

	.mc-proc-close__row {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.mc-proc-close__panel {
		padding: 36px 24px 36px 28px;
		box-shadow: 0 18px 40px rgba(67, 54, 123, 0.08);
		order: 2;
	}

	.mc-proc-close__visual {
		clip-path: none;
		margin-left: 0;
		min-height: 260px;
		order: 1;
	}

	.mc-proc-close__visual img {
		min-height: 260px;
	}
}

@media (max-width: 640px) {
	.mc-proc-nav__grid {
		grid-template-columns: 1fr;
	}
}
