/* Homepage - FAQ */
.faq-section {
	background: #ffffff;
	color: var(--el-primary, #0c2e54);
	padding: clamp(72px, 7vw, 102px) 0;
}

.faq-section__inner {
	width: min(900px, calc(100% - 48px));
	margin-inline: auto;
}

.faq-section__content {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}

.faq-section__content .section-eyebrow {
	justify-content: center;
	margin-bottom: 16px;
}

.faq-section__title {
	margin: 0;
	color: var(--el-primary, #0c2e54);
	font-family: var(--el-heading-font, Poppins, system-ui, sans-serif);
	font-size: clamp(34px, 3.5vw, 44px);
	line-height: 1.08;
	letter-spacing: -0.05em;
	font-weight: 700;
}

.faq-section__media {
	max-width: 620px;
	margin: 32px auto 0;
	overflow: hidden;
	border-radius: 18px;
}

.faq-section__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.faq-accordion {
	display: grid;
	gap: 8px;
	max-width: 720px;
	max-height: 520px;
	margin: 38px auto 0;
	overflow-y: auto;
	padding-right: 18px;
	scrollbar-width: thin;
	scrollbar-color: var(--el-primary, #0c2e54) #eef1f4;
}

.faq-accordion::-webkit-scrollbar {
	width: 6px;
}

.faq-accordion::-webkit-scrollbar-track {
	background: #eef1f4;
	border-radius: 999px;
}

.faq-accordion::-webkit-scrollbar-thumb {
	background: var(--el-primary, #0c2e54);
	border-radius: 999px;
}

.faq-item {
	border-radius: 14px;
	background: transparent;
	color: var(--el-primary, #0c2e54);
}

.faq-item.is-open {
	background: #f4f6f8;
}

.faq-item__button {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 20px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: var(--el-primary, #0c2e54);
	text-align: left;
	font: inherit;
	cursor: pointer;
}

.faq-item__button span:first-child {
	max-width: 620px;
	font-family: var(--el-heading-font, Poppins, system-ui, sans-serif);
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.025em;
	font-weight: 700;
}

.faq-item__icon {
	position: relative;
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	border-radius: 7px;
	background: #e8edf2;
	color: var(--el-primary, #0c2e54);
	transition:
			background-color 160ms ease,
			color 160ms ease,
			transform 160ms ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 11px;
	height: 2px;
	border-radius: 99px;
	background: currentColor;
	transform: translate(-50%, -50%);
}

.faq-item__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon {
	background: var(--el-primary, #0c2e54);
	color: #ffffff;
}

.faq-item.is-open .faq-item__icon::after {
	opacity: 0;
}

.faq-item__panel {
	overflow: hidden;
}

.faq-item__answer {
	padding: 0 20px 20px;
}

.faq-item__answer p {
	max-width: 620px;
	margin: 0;
	color: #71859a;
	font-size: 14px;
	line-height: 1.55;
}

@media (max-width: 700px) {
	.faq-section {
		padding: 64px 0;
	}

	.faq-section__inner {
		width: calc(100% - 36px);
	}

	.faq-section__title {
		font-size: 34px;
	}

	.faq-section__title br {
		display: none;
	}

	.faq-accordion {
		max-height: none;
		overflow-y: visible;
		padding-right: 0;
	}

	.faq-item__button {
		padding: 17px 16px;
	}

	.faq-item__answer {
		padding: 0 16px 18px;
	}
}
