.faqPage {
	position: relative;
	min-height: 100vh;
	padding: 130px 4vw 120px;
	overflow: hidden;
	color: #fff;
	background: #111;
}

.faqPage::before {
	position: fixed;
	inset: 0;
	z-index: 0;
	content: "";
	display: block;
	width: 100%;
	height: 100vh;
	background-image: url('../img/slider/main/main-slide-1.webp');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	pointer-events: none;
}

.faqPage::after {
	position: fixed;
	inset: 0;
	z-index: 1;
	content: "";
	display: block;
	width: 100%;
	height: 100vh;
	background:
		linear-gradient(
			135deg,
			rgba(0, 0, 0, .82) 0%,
			rgba(0, 0, 0, .54) 52%,
			rgba(0, 0, 0, .7) 100%
		);
	pointer-events: none;
}

.faqPage .faq {
	position: relative;
	z-index: 10;
}

.faqPage .faq .wrapper {
	width: min(1180px, 100%);
	min-height: 0;
	margin: 0 auto;
	padding: 0;
}

.faqPage .faq h1 {
	max-width: 950px;
    margin: 34px 0 22px;
    font-size: 24px;
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.04em;
    color: #fff;
}

article [itemtype="https://schema.org/Question"] {
	background: rgb(86 86 86 / 48%);
}

/* Поиск и фильтры */

.faqTools {
	display: grid;
	grid-template-columns: minmax(320px, 2fr) repeat(2, minmax(190px, 1fr));
	gap: 14px;
	align-items: end;
	margin: 0 0 18px;
	padding: 22px;
	background: rgb(86 86 86 / 48%);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 6px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.faqSearchWrap,
.faqFilterWrap {
	margin: 0;
}

.faqTools label {
	display: block;
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #c6c6c6;
}

.faqTools input,
.faqTools select {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	font: inherit;
	font-size: 15px;
	color: #fff;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 4px;
	outline: none;
	transition:
		border-color .2s ease,
		box-shadow .2s ease,
		background .2s ease;
}

.faqTools input::placeholder {
	color: rgba(255, 255, 255, .6);
}

.faqTools select {
	cursor: pointer;
}

.faqTools select option {
	color: #fff;
	background: #202020;
}

.faqTools input:hover,
.faqTools select:hover {
	border-color: rgba(255, 255, 255, .55);
}

.faqTools input:focus,
.faqTools select:focus {
	background: rgba(255, 255, 255, .15);
	border-color: #ebe4a4;
	box-shadow: 0 0 0 4px rgba(235, 228, 164, .13);
}

.faqCounter {
	margin: 0 0 14px;
	font-size: 14px;
	color: #d2d2d2;
}

.faqCounter span {
	font-weight: 800;
	color: #ebe4a4;
}

/* Список вопросов */

.faqList {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.faqListItem {
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, .5);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 6px;
	box-shadow: 0 12px 35px rgba(0, 0, 0, .17);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition:
		border-color .2s ease,
		background .2s ease,
		transform .2s ease;
}

.faqListItem:hover {
	background: rgba(0, 0, 0, .62);
	border-color: rgba(235, 228, 164, .58);
	transform: translateY(-1px);
}

.faqListItem[hidden] {
	display: none !important;
}

.faqListItem details {
	margin: 0;
}

.faqListItem summary {
	position: relative;
	display: block;
	padding: 22px 68px 22px 24px;
	font-size: clamp(17px, 1.7vw, 21px);
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: color .2s ease;
}

.faqListItem summary::-webkit-details-marker {
	display: none;
}

.faqListItem summary::after {
	position: absolute;
	top: 50%;
	right: 22px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	content: "+";
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .6);
	border-radius: 50%;
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
	transition:
		color .2s ease,
		background .2s ease,
		border-color .2s ease,
		transform .2s ease;
}

.faqListItem details[open] {
	background: rgba(0, 0, 0, .18);
}

.faqListItem details[open] summary {
	color: #ebe4a4;
}

.faqListItem details[open] summary::after {
	content: "−";
	color: #111;
	background: #ebe4a4;
	border-color: #ebe4a4;
	transform: translateY(-50%) rotate(180deg);
}

/* Ответ */

.faqAnswer {
	padding: 0 24px 22px;
	font-size: 16px;
	line-height: 1.72;
	color: #e1e1e1;
}

.faqAnswer p {
	margin: 0 0 14px;
}

.faqAnswer p:last-child,
.faqAnswer ul:last-child,
.faqAnswer ol:last-child {
	margin-bottom: 0;
}

.faqAnswer ul,
.faqAnswer ol {
	margin: 12px 0 18px;
	padding-left: 24px;
}

.faqAnswer li + li {
	margin-top: 7px;
}

.faqAnswer strong {
	color: #fff;
}

.faqAnswer a {
	color: #ebe4a4;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.faqAnswer a:hover {
	color: #fff;
}

/* Метаданные и кнопки */

.faqMeta {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	align-items: center;
	padding: 14px 24px 18px;
	border-top: 1px solid rgba(255, 255, 255, .13);
}

.faqMeta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	box-sizing: border-box;
	padding: 8px 13px;
	color: #e5e5e5;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition:
		color .2s ease,
		background .2s ease,
		border-color .2s ease;
}

.faqMeta a:hover {
	color: #111;
	background: #fff;
	border-color: #fff;
}

.faqMeta .faqCta {
	margin-left: auto;
	color: #111;
	background: #fff;
	border-color: #fff;
}

.faqMeta .faqCta:hover {
	color: #fff;
	background: transparent;
	border-color: rgba(255, 255, 255, .75);
}

.faqEmpty {
	padding: 24px;
	color: #ddd;
	background: rgba(0, 0, 0, .5);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 6px;
	font-size: 17px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.faqEmpty[hidden] {
	display: none !important;
}

/* Отдельная страница ответа */

.faqBreadcrumbs {
	margin: 0 0 25px;
	font-size: 15px;
	color: #d0d0d0;
}

.faqBreadcrumbs a {
	color: #ebe4a4;
	font-weight: 700;
	text-decoration: none;
}

.faqBreadcrumbs a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.faqSingle {
	padding: clamp(24px, 4vw, 54px);
	background: rgba(0, 0, 0, .52);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 6px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
	backdrop-filter: blur(9px);
	-webkit-backdrop-filter: blur(9px);
}

.faqSingle .question {
	margin-bottom: 28px;
	color: #fff;
	font-size: clamp(30px, 4.5vw, 56px);
}

.faqSingle .faqAnswer {
	max-width: 900px;
	padding: 0;
	color: #e5e5e5;
	font-size: clamp(17px, 1.55vw, 20px);
	line-height: 1.75;
}

.faqSingle .faqMeta {
	margin-top: 30px;
	padding: 20px 0 0;
}

.faqTaxonomy {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
}

.faqTaxonomy span {
	display: inline-flex;
	padding: 7px 11px;
	color: #ebe4a4;
	background: rgba(235, 228, 164, .08);
	border: 1px solid rgba(235, 228, 164, .42);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .045em;
	text-transform: uppercase;
}

.faqRelated {
	margin-top: 28px;
	padding: clamp(22px, 3vw, 34px);
	background: rgba(0, 0, 0, .5);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 6px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.faqRelated h2 {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(23px, 2.6vw, 32px);
	line-height: 1.2;
}

.faqRelated ul {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.faqRelated li {
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.faqRelated li:first-child {
	border-top: 0;
}

.faqRelated a {
	display: block;
	padding: 14px 0;
	color: #eee;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: color .2s ease;
}

.faqRelated a:hover {
	color: #ebe4a4;
}

/* Планшет */

@media (max-width: 900px) {
	.faqPage {
		padding: 105px 5vw 120px;
	}

	.faqPage .faq h1 {
		font-size: clamp(38px, 10vw, 64px);
	}

	.faqTools {
		grid-template-columns: 1fr 1fr;
	}

	.faqSearchWrap {
		grid-column: 1 / -1;
	}
}

/* Телефон */

@media (max-width: 620px) {
	.faqPage {
		padding: 95px 20px 120px;
	}

	.faqPage .faq h1 {
		margin-bottom: 24px;
		font-size: 32px;
		line-height: 1;
	}

	.faqTools {
		grid-template-columns: 1fr;
		gap: 13px;
		padding: 16px;
	}

	.faqSearchWrap {
		grid-column: auto;
	}

	.faqListItem summary {
		padding: 18px 58px 18px 18px;
	}

	.faqListItem summary::after {
		right: 16px;
		width: 30px;
		height: 30px;
		font-size: 22px;
	}

	.faqAnswer {
		padding: 0 18px 18px;
		font-size: 15px;
		line-height: 1.65;
	}

	.faqMeta {
		align-items: stretch;
		padding: 13px 18px 17px;
	}

	.faqMeta a,
	.faqMeta .faqCta {
		width: 100%;
		margin-left: 0;
	}

	.faqSingle {
		padding: 22px 18px;
	}

	.faqSingle .faqAnswer {
		font-size: 16px;
	}

	.faqRelated {
		padding: 22px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.faqPage *,
	.faqPage *::before,
	.faqPage *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}