.faq-page {
	background: #f7fafc;
	color: #222;
}

.faq-container {
	width: min(1120px, calc(100% - 40px));
	margin-inline: auto;
}

.faq-hero {
	padding: 160px 0 48px;
	background-image: linear-gradient(135deg, rgba(234, 248, 255, 0.55) 0%, rgba(234, 234, 234, 0.4) 100%), url('../img/head_bg_image.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.faq-hero__eyebrow {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .12em;
	color: #1688b8;
	margin: 0 4px 10px;
}

.faq-hero__title {
	font-size: clamp(28px, 3.5vw, 46px);
	font-weight: bold;
	line-height: 1.25;
	margin: 0;
}

.faq-hero__lead {
	max-width: 760px;
	margin: 22px 0 0;
	font-size: 17px;
	line-height: 1.8;
}

.faq-hero__updated {
	margin: 14px 0 0;
	font-size: 14px;
	color: #5f6b72;
}

.faq-layout {
	padding-block: 64px 96px;
}

.faq-nav {
	margin-bottom: 56px;
	padding: 20px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.faq-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.faq-nav a {
	display: inline-flex;
	padding: 10px 16px;
	border: 1px solid #d5e4eb;
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
	background: #fff;
}

.faq-nav a:hover,
.faq-nav a:focus-visible {
	border-color: #1688b8;
	color: #1688b8;
}

.faq-section {
	scroll-margin-top: 100px;
}

.faq-section + .faq-section {
	margin-top: 64px;
}

.faq-section__title {
	margin: 0 0 24px;
	padding-left: 16px;
	border-left: 5px solid #ffd633;
	font-size: clamp(20px, 3vw, 32px);
	line-height: 1.4;
}

.faq-list {
	display: grid;
	gap: 14px;
}

.faq-item {
	background: #fff;
	border: 1px solid #dce8ed;
	border-radius: 14px;
	overflow: clip;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .035);
}

.faq-item__question {
	display: grid;
	grid-template-columns: 42px 1fr 24px;
	gap: 14px;
	align-items: center;
	padding: 22px 24px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.65;
	cursor: pointer;
	list-style: none;
}

.faq-item__question::-webkit-details-marker {
	display: none;
}

.faq-item__question::after {
	content: "+";
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	color: #1688b8;
}

.faq-item[open] .faq-item__question::after {
	content: "−";
}

.faq-item__mark {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #1688b8;
	color: #fff;
	font-family: Arial, sans-serif;
	font-weight: 700;
}

.faq-item__mark--answer {
	background: #ffd633;
	color: #222;
}

.faq-item__answer {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 14px;
	padding: 0 24px 24px;
	border-top: 1px solid #edf3f5;
}

.faq-item__answer > .faq-item__mark {
	margin-top: 22px;
}

.faq-item__content {
	padding-top: 18px;
	font-size: 16px;
	line-height: 1.9;
}

.faq-item__content > :first-child {
	margin-top: 0;
}

.faq-item__content > :last-child {
	margin-bottom: 0;
}

.faq-contact {
	margin-top: 80px;
	padding: 42px;
	text-align: center;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
}

.faq-contact h2 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: clamp(20px, 3vw, 32px);
	line-height: 1.4;
}

.faq-contact p {
	line-height: 1.6;
	font-size: clamp(12px, 2.5vw, 16px);
}

.faq-contact__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.faq-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	padding: 14px 24px;
	border: 2px solid var(--accent-color);
	border-radius: 999px;
	color: var(--accent-color);
	font-weight: 700;
	text-decoration: none;
	background: #fff;
}

.faq-button:hover,
.faq-button:focus-visible {
	color: #fff;
	background: var(--accent-color);
}

a.faq-button--primary {
	color: #fff;
	background: var(--accent-color);
	border-color: var(--accent-color);
}

.faq-empty {
	padding: 40px;
	text-align: center;
	background: #fff;
	border-radius: 14px;
}

@media (max-width: 767px) {
	.faq-container {
		width: min(100% - 28px, 1120px);
	}

	.faq-layout {
		padding-block: 42px 72px;
	}

	.faq-nav {
		margin-bottom: 42px;
		padding: 16px;
	}

	.faq-item__question {
		grid-template-columns: 34px 1fr 20px;
		gap: 10px;
		padding: 18px 16px;
		font-size: 16px;
	}

	.faq-item__mark {
		width: 32px;
		height: 32px;
	}

	.faq-item__answer {
		grid-template-columns: 34px 1fr;
		gap: 10px;
		padding: 0 16px 20px;
	}

	.faq-contact {
		padding: 30px 20px;
	}

	.faq-button {
		width: 100%;
		min-width: 0;
	}
}
@media(max-width: 480px) {
	.faq-hero {
		padding: 120px 0 32px;
	}

	.faq-hero__eyebrow {
		font-size: 16px;
	}

	.faq-hero__title {
		font-size: clamp(20px, 5vw, 32px);
	}

	.faq-hero__lead {
		font-size: clamp(14px, 3.5vw, 16px);
	}

	.faq-nav {
		font-size: 14px;
	}
	.faq-layout {
		padding-block: 32px 48px;
	}

	.faq-nav__list {
		gap: 6px;
	}

	.faq-section + .faq-section {
		margin-top: 42px;
	}
	.faq-item__question {
		font-size: 14px;
		line-height: 1.6;
	}
	.faq-item__content {
    font-size: 14px;
    line-height: 1.8;
}
}