/* FAQ Content Block (accordion, no JS – native details/summary) */

.faq {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.faq__header {
	margin: 0 0 18px;
}
.faq__title {
	margin: 0;
	font-size: 1.4em;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #172983;
	position: relative;
}
.faq__title:after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 8px;
	background: linear-gradient(90deg, #172983, #1e3a8a);
	border-radius: 2px;
}

.faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Single item card */
.faq__item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq__item:hover {
	box-shadow: 0 6px 18px rgba(23, 41, 131, 0.12);
	border-color: rgba(23, 41, 131, 0.25);
}
.faq__item[open] {
	box-shadow: 0 8px 22px rgba(23, 41, 131, 0.15);
	border-color: rgba(23, 41, 131, 0.35);
}

/* Question / clickable summary row */
.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 18px;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	font-size: 1.02em;
	color: #172983;
	user-select: none;
	transition: background 0.25s ease;
}
.faq__question:hover {
	background: rgba(23, 41, 131, 0.04);
}
/* Remove default disclosure triangle */
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { content: ""; }

.faq__question-text { flex: 1; }

/* Plus / minus icon */
.faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, #172983 0%, #1e3a8a 100%);
	transition: transform 0.3s ease;
}
.faq__icon:before,
.faq__icon:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 2px;
	background: #fff;
	border-radius: 1px;
	transform: translate(-50%, -50%);
	transition: opacity 0.25s ease, transform 0.3s ease;
}
.faq__icon:after {
	transform: translate(-50%, -50%) rotate(90deg);
}
.faq__item[open] .faq__icon {
	transform: rotate(180deg);
}
.faq__item[open] .faq__icon:after {
	opacity: 0;
}

/* Answer body */
.faq__answer {
	padding: 0 18px 18px;
	font-size: 0.95em;
	line-height: 1.6;
	color: #555;
}
.faq__answer > *:first-child { margin-top: 0; }
.faq__answer > *:last-child { margin-bottom: 0; }
.faq__answer a {
	color: #172983;
	font-weight: 600;
	text-decoration: none;
}
.faq__answer a:hover { text-decoration: underline; }

/* Open animation */
.faq__item[open] .faq__answer {
	animation: faq-reveal 0.3s ease;
}
@keyframes faq-reveal {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
	.faq__question { padding: 14px 14px; font-size: 0.98em; }
	.faq__answer { padding: 0 14px 14px; }
}
