/* ==========================================================================
   FAQ accordion — pill style (navy closed / red open, +/x icons)
   Fonts: Roboto (already enqueued). Icons: Font Awesome 7 (already enqueued).
   Tweak the :root variables to match your brand.
   ========================================================================== */

.faq {
	--faq-red: #ED1B24;
	--faq-navy: #0A2540;
	--faq-badge-bg: #ECECEC;
	--faq-badge-text: #1a1a1a;
	--faq-answer-text: #1a1a1a;
	--faq-radius: 44px;

	max-width: 960px;
	margin: 3rem auto;
	padding: 0 1rem;
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --- Heading --- */
.faq__head {
	text-align: center;
	margin-bottom: 2.5rem;
}

.faq__badge {
	display: inline-block;
	background: var(--faq-badge-bg);
	color: var(--faq-badge-text);
	font-size: 1rem;
	font-weight: 500;
	padding: 0.5rem 1.5rem;
	border-radius: 999px;
	margin-bottom: 1.5rem;
}

.faq__badge::before {
	content: "\2022"; /* bullet */
	margin-right: 0.5rem;
}

.faq__title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
	color: #0d0d0d;
}

/* --- List --- */
.faq__list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.faq__question {
	margin: 0;
}

.faq__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	background: var(--faq-navy);
	color: #fff;
	border: 0;
	border-radius: var(--faq-radius);
	padding: 1.4rem 2rem;
	font-family: inherit;
	font-size: clamp(1.05rem, 2vw, 1.5rem);
	font-weight: 800;
	text-align: left;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease;
}

.faq__trigger:hover { background: #0e2f52; }

.faq__trigger:focus-visible {
	outline: 3px solid var(--faq-red);
	outline-offset: 3px;
}

.faq__icon {
	flex: 0 0 auto;
	font-size: 1.2em;
	line-height: 1;
}

/* --- Open state --- */
.faq__item.is-open .faq__trigger { background: var(--faq-red); }
.faq__item.is-open .faq__trigger:hover { background: #d81620; }

/* Icon swap: + closed, x open */
.faq__icon .fa-xmark { display: none; }
.faq__item.is-open .faq__icon .fa-plus { display: none; }
.faq__item.is-open .faq__icon .fa-xmark { display: inline-block; }

/* --- Answer --- */
.faq__panel {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease;
}
.faq__item.is-open .faq__panel { max-height: 1500px; }

.faq__answer {
	padding: 1.75rem 2rem 0.5rem;
	font-size: clamp(1.05rem, 1.6vw, 1.4rem);
	font-weight: 400;
	line-height: 1.55;
	color: var(--faq-answer-text);
}
.faq__answer > *:first-child { margin-top: 0; }
.faq__answer > *:last-child { margin-bottom: 0; }

/* --- Mobile --- */
@media (max-width: 600px) {
	.faq__trigger { padding: 1.15rem 1.5rem; border-radius: 30px; }
	.faq__answer { padding: 1.25rem 0.5rem 0.5rem; }
}
