/* =========================================================
   FA Luxury Transport — FAQ accordion ([fa_faq] shortcode)
   ========================================================= */

:root {
	--faq-gold: #f4ae17;
}

.fa-faq *,
.fa-faq *::before,
.fa-faq *::after {
	box-sizing: border-box;
}

.fa-faq__inner {
	max-width: var(--fa-container-max, 1440px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	gap: 48px 80px;
	align-items: start;
}

/* -----------------------------------------------------------
   Intro column
   ----------------------------------------------------------- */

.fa-faq__eyebrow {
	margin: 0;
	color: var(--faq-gold);
	font-size: 13px;
	font-family: var(--fa-font-sans);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.3em;
}

.fa-faq__title {
	margin: 16px 0 0;
	color: var(--fa-white, #fff);
	font-size: 44px;
	font-family: var(--fa-font-serif);
	font-weight: 500;
	line-height: 1.1;
}

.fa-faq__subtitle {
	margin: 24px 0 0;
	max-width: 380px;
	color: var(--fa-gray-400, #99a1af);
	font-size: 14px;
	font-family: var(--fa-font-sans);
	line-height: 1.6;
}

/* -----------------------------------------------------------
   Accordion list
   ----------------------------------------------------------- */

.fa-faq__list {
	border-top: 1px solid var(--fa-border, rgba(255, 255, 255, 0.1));
}

.fa-faq__item {
	border-bottom: 1px solid var(--fa-border, rgba(255, 255, 255, 0.1));
}

.fa-faq__question {
	margin: 0;
}

.fa-faq__trigger,
.fa-faq__trigger:hover,
.fa-faq__trigger:focus,
.fa-faq__trigger:focus-visible,
.fa-faq__trigger:active {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
	background: none;
	border: none;
	color: var(--fa-white, #fff);
	font-size: 18px;
	font-family: var(--fa-font-serif);
	font-weight: 500;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: color 0.2s ease;
}

.fa-faq__trigger:hover,
.fa-faq__trigger:focus-visible {
	color: var(--faq-gold);
}

.fa-faq__trigger:focus-visible {
	outline: 1px solid var(--faq-gold);
	outline-offset: 4px;
}

.fa-faq__icon {
	width: 20px;
	height: 20px;
	color: var(--faq-gold);
	flex-shrink: 0;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fa-faq__item.is-open .fa-faq__icon {
	transform: rotate(180deg);
}

/* Grid-rows trick animates height without JS measuring the content, and
   adapts automatically if the answer text wraps to more lines. Panels are
   visible by default (progressive enhancement) — faq.js adds "is-enhanced"
   to the section once it's ready to drive the collapse/expand behavior,
   so a no-JS visitor simply sees every answer expanded. */
.fa-faq__panel {
	display: grid;
	grid-template-rows: 1fr;
	opacity: 1;
	transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.3s ease;
}

.fa-faq.is-enhanced .fa-faq__item:not(.is-open) .fa-faq__panel {
	grid-template-rows: 0fr;
	opacity: 0;
}

.fa-faq__answer {
	min-height: 0;
	overflow: hidden;
	padding-bottom: 24px;
	color: var(--fa-gray-400, #99a1af);
	font-size: 14px;
	font-family: var(--fa-font-sans);
	line-height: 1.6;
}

.fa-faq__answer p {
	margin: 0 0 16px;
}

.fa-faq__answer p:last-child {
	margin-bottom: 0;
}

/* -----------------------------------------------------------
   Responsive
   ----------------------------------------------------------- */

@media (max-width: 1023px) {
	.fa-faq__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.fa-faq__subtitle {
		max-width: 520px;
	}
}

@media (max-width: 640px) {
	.fa-faq__title {
		font-size: 34px;
	}

	.fa-faq__trigger {
		font-size: 16px;
		padding: 20px 0;
		gap: 16px;
	}
}
