/* effect_arc — оранжевая дуга, шаги, сетка карточек */

.effect-arc {
	position: relative;
	overflow: hidden;
	background: var(--c-white);
	padding-top: 40px;
	padding-bottom: 40px;
}

.effect-arc::before {
	content: "";
	position: absolute;
	z-index: 0;
	left: 50%;
	top: 10px;
	width: 205.6%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--c-orange);
	transform: translateX(-50%);
	pointer-events: none;
}

.effect-arc .container { position: relative; z-index: 1; }

.effect-arc__title {
	max-width: 9.4em;
	margin: 0 auto 30px;
	color: #fbfaf7;
	text-align: center;
}

.effect-arc__plate-wrap { position: relative; }

.effect-arc__plate-wrap::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	right: calc(var(--gutter) * -1);
	bottom: 0;
	width: 28px;
	background: linear-gradient(90deg, rgba(224, 186, 145, 0), var(--c-orange));
	pointer-events: none;
}

.effect-arc__plate {
	margin-right: calc(var(--gutter) * -1);
	padding: 15px;
	padding-right: calc(15px + var(--gutter));
	border: 1px solid rgba(224, 186, 145, 0.5);
	border-right: 0;
	border-radius: 10px 0 0 10px;
	background: #faf3ec;
}

.effect-arc__steps {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.effect-arc__steps::-webkit-scrollbar { display: none; }

.effect-arc__step {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	width: max-content;
	max-width: 110px;
	scroll-snap-align: start;
}

.effect-arc__step:last-child { max-width: 139px; }

.effect-arc__num {
	display: grid;
	place-items: center;
	width: 37px;
	height: 28px;
	border-radius: 6px;
	background: var(--c-orange);
	color: var(--c-white);
	font-size: 14px;
	line-height: 1;
}

.effect-arc__step-label {
	margin: 0;
	max-width: 110px;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.32;
	text-align: center;
	color: var(--c-black);
}

.effect-arc__step:last-child .effect-arc__step-label { max-width: 139px; }

.effect-arc__arrow {
	flex: 0 0 auto;
	width: 29px;
	height: 10px;
	margin-top: 9px;
	color: var(--c-orange);
}

.effect-arc__grid { display: none; }

.effect-arc__slider { margin-top: 30px; }

.effect-arc .slider-nav--mobile { margin-top: 15px; }

.effect-arc .slider-nav--light .slider-nav__counter { color: #faf3ec; }

.effect-arc .slider-nav--light .slider-nav__btn { background: #faf3ec; }

.effect-arc__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 100%;
	min-height: 176px;
	padding: 15px;
	border-radius: 10px;
	background: #faf3ec;
}

.effect-arc__card--photo {
	padding: 0;
	overflow: hidden;
	background: var(--c-beige);
}

.effect-arc__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.effect-arc__marks {
	--mark: 12px;
	--mark-h: 13px;
	--mark-gap: 4px;
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(2, var(--mark-h));
	gap: var(--mark-gap);
	width: max-content;
}

.effect-arc__marks[data-n="1"] { grid-template-rows: var(--mark-h); }

.effect-arc__marks[data-n="2"] {
	grid-auto-flow: row;
	grid-template-rows: var(--mark-h);
	grid-auto-columns: var(--mark);
}

.effect-arc__mark {
	display: block;
	width: var(--mark);
	height: var(--mark-h);
}

.effect-arc__mark-svg {
	display: block;
	width: 100%;
	height: 100%;
}

.effect-arc__card-body { display: grid; gap: 15px; }

.effect-arc__card-title {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.32;
	text-transform: uppercase;
	color: var(--c-black);
}

.effect-arc__card-text {
	font-size: 14px;
	line-height: 1.32;
	color: var(--c-black);
}

@media (min-width: 768px) {
	.effect-arc { padding-top: 56px; }

	.effect-arc::before {
		top: 8px;
		width: 160%;
		aspect-ratio: 1717 / 1818;
	}

	.effect-arc__title { max-width: none; }
}

@media (min-width: 1200px) {
	.effect-arc {
		padding-top: 116px;
		padding-bottom: 50px;
	}

	.effect-arc::before {
		top: 0;
		width: 119.24%;
		aspect-ratio: 1717 / 1818;
	}

	.effect-arc__title {
		margin-bottom: 40px;
		color: #faf3ec;
	}

	.effect-arc__plate-wrap::after { display: none; }

	.effect-arc__plate {
		margin-right: 0;
		padding: 20px 21px;
		border-right: 1px solid rgba(224, 186, 145, 0.5);
		border-radius: 10px;
	}

	.effect-arc__steps {
		justify-content: center;
		gap: 20px;
		overflow: visible;
		scroll-snap-type: none;
	}

	.effect-arc__step { max-width: 112px; }

	.effect-arc__step:last-child { max-width: 139px; }

	.effect-arc__num {
		height: 34px;
		font-size: 18px;
	}

	.effect-arc__step-label {
		max-width: 112px;
		font-weight: 500;
	}

	.effect-arc__step:last-child .effect-arc__step-label { max-width: 139px; }

	.effect-arc__arrow {
		width: 74px;
		height: 12px;
		margin-top: 11px;
	}

	.effect-arc__grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
		margin-top: 20px;
	}

	.effect-arc__slider { display: none; }

	.effect-arc__card {
		height: 224px;
		min-height: 0;
		justify-content: space-between;
		gap: 40px;
		padding: 20px;
	}

	.effect-arc__card--photo { padding: 0; }

	.effect-arc__marks {
		--mark: 17px;
		--mark-h: 18px;
		--mark-gap: 5px;
	}

	.effect-arc__marks[data-n="2"] {
		grid-auto-flow: column;
		grid-template-rows: repeat(2, var(--mark-h));
		grid-auto-columns: auto;
	}

	.effect-arc__card-title { font-size: 24px; }

	.effect-arc__card-text { font-size: 18px; }
}

/* Под куполом фон продолжается оранжевым до низа секции (стык с before_after без белых углов).
   top = верх круга + радиус (ширина круга / 2, в vw — ширина секции = ширина экрана). */
.effect-arc::after {
	content: "";
	position: absolute;
	z-index: 0;
	left: 0;
	right: 0;
	bottom: 0;
	top: calc(10px + 102.8vw);
	background: var(--c-orange);
	pointer-events: none;
}
@media (min-width: 768px) {
	.effect-arc::after { top: calc(8px + 80vw); }
}
@media (min-width: 1200px) {
	.effect-arc::after { top: calc(59.62vw); }
}
