.pe-why,
.pe-why *,
.pe-why *::before,
.pe-why *::after {
	box-sizing: border-box;
}

.pe-why {
	--pe-why-ink: #2b2b2f;
	--pe-why-purple: #7e33ff;
	position: relative;
	margin-inline: calc(var(--pe-header-gutter, 40px) * -1);
	padding: 60px var(--pe-header-gutter, 40px);
	overflow: hidden;
	border-bottom: 1px solid #8b8b8d;
	background: var(--pe-why-ink);
	color: #fff;
	font: 400 16px/1.3 Play, Arial, sans-serif;
}

body:has(.pe-header.is-overlay) .pe-why {
	margin-inline: 0;
}

.pe-why__empty {
	margin: 0;
	padding: 24px;
	background: #2b2b2f;
	color: #fff;
}

.pe-why__head {
	margin: 0 0 40px;
}

.pe-why__intro {
	max-width: 72ch;
}

.pe-why .pe-why__intro p {
	margin: 12px 0 0;
	color: #fff;
	font: 400 16px/1.5 Play, Arial, sans-serif;
}

.pe-why__intro p + p {
	margin-top: 16px;
}

.pe-why h2,
.pe-why h3 {
	margin: 0;
	font-family: Tektur, Play, sans-serif;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.5px;
	overflow-wrap: break-word;
	word-break: normal;
	white-space: pre-line;
}

.pe-why h2 {
	color: #fff;
	font-size: 48px;
}

.pe-why h3 {
	color: var(--pe-why-ink);
	font-size: 32px;
}

.pe-why p {
	margin: 12px 0 0;
	color: var(--pe-why-ink);
	font: 400 16px/1.45 Play, Arial, sans-serif;
	overflow-wrap: break-word;
}

.pe-why__layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.pe-why__photo {
	position: relative;
	min-height: 650px;
	margin: 0;
	overflow: hidden;
	background: #3a3a40;
}

.pe-why__photo img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 280ms ease;
}

.pe-why__photo img.is-active {
	z-index: 1;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.pe-why__photo img {
		transition: none;
	}
}

.pe-why__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 650px;
	background-color: #fff;
	background-image:
		linear-gradient(90deg, #7474741f 1px, transparent 1px),
		linear-gradient(0deg, #7474741f 1px, transparent 1px);
	background-size: 120px 120px;
	background-position: 0 0;
	color: var(--pe-why-ink);
}

.pe-why__controls {
	position: absolute;
	top: 40px;
	right: 40px;
	left: 40px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
}

.pe-why__counter {
	margin-right: auto;
	color: #77777d;
	font: 500 20px/1.3 Tektur, Play, sans-serif;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.pe-why__counter span {
	color: var(--pe-why-ink);
}

.pe-why__arrow {
	display: inline-grid;
	place-items: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	min-height: 46px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pe-why-ink);
	line-height: 0;
	cursor: pointer;
}

.pe-why__arrow svg {
	display: block;
	width: 46px;
	height: 46px;
}

.pe-why__arrow--prev svg {
	transform: rotate(180deg);
}

.pe-why__arrow--next {
	color: var(--pe-why-purple);
}

.pe-why__arrow:disabled {
	opacity: 0.4;
	cursor: default;
}

.pe-why__arrow:focus-visible,
.pe-why__pages:focus-visible,
.pe-why__discuss:focus-visible,
.pe-why__social:focus-visible {
	outline: 2px solid var(--pe-why-purple);
	outline-offset: 4px;
}

.pe-why__pages {
	display: flex;
	flex: 1;
	min-height: 0;
}

.pe-why__slide {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 125px 40px 70px;
}

.pe-why__slide[hidden] {
	display: none;
}

.pe-why__slide > div {
	width: 100%;
	min-width: 0;
}

.pe-why__contact {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px 28px;
	margin-top: 28px;
}

.pe-why__discuss {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	color: var(--pe-why-ink);
	font: 400 16px/1.3 Play, Arial, sans-serif;
	text-decoration: none;
}

.pe-why__discuss svg {
	display: block;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
}

.pe-why__socials {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pe-why__social {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border: 1px solid #2b2b2f4d;
	border-radius: 50%;
	color: var(--pe-why-ink);
	text-decoration: none;
	transition: background-color 0.18s, border-color 0.18s;
}

.pe-why__social svg {
	display: block;
	width: 23px;
	height: 23px;
	opacity: 0.85;
}

.pe-why__social:hover {
	background: #eeedf1;
	border-color: var(--pe-why-ink);
}

@media (max-width: 1360px) {
	.pe-why h2 {
		font-size: 40px;
	}

	.pe-why h3 {
		font-size: 28px;
	}

	.pe-why__photo,
	.pe-why__panel {
		min-height: 570px;
	}

	.pe-why__controls {
		right: 32px;
		left: 32px;
	}

	.pe-why__slide {
		padding-right: 32px;
		padding-left: 32px;
	}
}

@media (max-width: 960px) {
	.pe-why {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.pe-why h2 {
		font-size: 36px;
	}

	.pe-why h3 {
		font-size: 26px;
	}

	.pe-why__layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.pe-why__photo {
		min-height: 340px;
	}

	.pe-why__panel {
		min-height: 440px;
	}

	.pe-why__controls {
		top: 28px;
	}

	.pe-why__slide {
		padding: 115px 32px 54px;
	}
}

@media (max-width: 600px) {
	.pe-why {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.pe-why__head {
		margin-bottom: 28px;
	}

	.pe-why h2 {
		font-size: 28px;
	}

	.pe-why h3 {
		font-size: 24px;
	}

	.pe-why__photo {
		min-height: 260px;
	}

	.pe-why__panel {
		min-height: 0;
	}

	.pe-why__controls {
		top: 24px;
		right: 24px;
		left: 24px;
	}

	.pe-why__slide {
		padding: 110px 24px 40px;
	}

	.pe-why__contact {
		gap: 16px 22px;
	}
}

@media print {
	.pe-why__controls {
		display: none;
	}

	.pe-why__slide[hidden] {
		display: flex;
	}

	.pe-why__slide {
		padding: 24px;
		break-inside: avoid;
	}

	.pe-why__photo {
		min-height: 250px;
	}
}
