/**
 * ZeltaCode FAQ — front-end styles.
 */

.zcfaq {
	--zcfaq-open-speed: 0.32s;
	--zcfaq-num-width: 34px;
	--zcfaq-hatch-color: rgba(255, 255, 255, 0.028);
	--zcfaq-hatch-angle: 135deg;
	--zcfaq-hatch-line: 3px;
	--zcfaq-hatch-gap: 8px;

	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 60px;
	width: 100%;
	background: #000;
}

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

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

.zcfaq__intro {
	flex: 0 0 42%;
	max-width: 42%;
	min-width: 0;
}

.zcfaq .zcfaq__eyebrow {
	margin: 0 0 14px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.8px;
	line-height: 1;
	text-transform: uppercase;
	color: #5e9eff;
}

.zcfaq .zcfaq__heading {
	margin: 0 0 18px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -1px;
	color: #fff;
}

.zcfaq .zcfaq__desc {
	margin: 0 0 34px;
	max-width: 82%;
	font-size: 13.5px;
	line-height: 1.65;
	color: #8a90a0;
}

/* ------------------------------------------------------------------ */
/* CTA card                                                            */
/* ------------------------------------------------------------------ */

.zcfaq__cta {
	position: relative;
	padding: 18px 18px 20px;
	border: 1px solid #1c1f26;
	border-left: 2px solid #3a4150;
	background-color: #0c0e12;
	overflow: hidden;
}

/* Hatch lives on a pseudo-element so it never tints the card's own text. */
.zcfaq-hatch-yes .zcfaq__cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		var(--zcfaq-hatch-angle),
		var(--zcfaq-hatch-color) 0,
		var(--zcfaq-hatch-color) var(--zcfaq-hatch-line),
		transparent var(--zcfaq-hatch-line),
		transparent calc(var(--zcfaq-hatch-line) + var(--zcfaq-hatch-gap))
	);
	pointer-events: none;
}

.zcfaq__cta > * {
	position: relative;
	z-index: 1;
}

.zcfaq .zcfaq__cta-title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.zcfaq .zcfaq__cta-text {
	margin: 0 0 18px;
	font-size: 11.5px;
	line-height: 1.6;
	color: #7a8190;
}

/**
 * Locked across every state. Theme and Elementor Kit link rules
 * ( .elementor-kit-N a:hover, .entry-content a, … ) outrank a single-class
 * reset and would repaint this on hover.
 */
.zcfaq .zcfaq__cta-btn,
.zcfaq .zcfaq__cta-btn:link,
.zcfaq .zcfaq__cta-btn:visited,
.zcfaq .zcfaq__cta-btn:hover,
.zcfaq .zcfaq__cta-btn:focus,
.zcfaq .zcfaq__cta-btn:active {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 16px;
	border: 0 none;
	border-radius: 2px;
	box-shadow: none;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.zcfaq .zcfaq__cta-btn {
	background-color: #fff;
	color: #0a0a0c;
}

.zcfaq .zcfaq__cta-btn:hover {
	background-color: #5e9eff;
	color: #fff;
}

.zcfaq .zcfaq__cta-btn:focus-visible {
	outline: 2px solid #5e9eff;
	outline-offset: 3px;
}

.zcfaq__cta-btn-icon {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.zcfaq__cta-btn-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ------------------------------------------------------------------ */
/* Accordion panel                                                     */
/* ------------------------------------------------------------------ */

.zcfaq__list {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid #1a1d23;
	border-radius: 4px;
	background-color: #0b0d11;
	overflow: hidden;
}

.zcfaq__item {
	position: relative;
	padding: 16px 18px;
	border-top: 0 solid #1a1d23;
	transition: background-color 0.25s ease;
}

.zcfaq__item + .zcfaq__item {
	border-top-style: solid;
}

.zcfaq__item.is-open {
	background-color: #14161b;
}

/* Left marker, shown only while the row is open. */
.zcfaq__item::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 2px;
	background-color: #2f6bff;
	opacity: 0;
	transition: opacity var(--zcfaq-open-speed) ease;
	pointer-events: none;
}

.zcfaq__item.is-open::before {
	opacity: 1;
}

/* ------------------------------------------------------------------ */
/* Question row                                                        */
/* ------------------------------------------------------------------ */

/**
 * This is a real <button>, so theme and Elementor Kit button rules apply to
 * it and outrank a single-class reset — that is how a kit accent colour ends
 * up painting the row on hover. Every state is covered here and the
 * commonly-forced properties are locked. No control targets this element
 * (row background lives on .zcfaq__item, the icon on .zcfaq__toggle), so
 * nothing here can fight the user's own settings.
 */
.zcfaq .zcfaq__q,
.zcfaq .zcfaq__q:link,
.zcfaq .zcfaq__q:visited,
.zcfaq .zcfaq__q:hover,
.zcfaq .zcfaq__q:focus,
.zcfaq .zcfaq__q:active {
	display: flex;
	align-items: flex-start;
	gap: 0;
	width: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	appearance: none;
	border: 0 none !important;
	border-radius: 0 !important;
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: inherit !important;
	text-align: left;
	text-decoration: none !important;
	text-transform: none;
	letter-spacing: normal;
	font: inherit;
	line-height: inherit;
	cursor: pointer;
	transform: none;
	filter: none;
	-webkit-tap-highlight-color: transparent;
	/* Dragging across a row would otherwise flash the theme's selection
	   highlight, which reads as a stray colour. */
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

/* Themes that underline or shadow everything inside a hovered button. Colour
   is deliberately untouched so the widget's own colour controls win. */
.zcfaq .zcfaq__q:hover *,
.zcfaq .zcfaq__q:focus * {
	text-decoration: none;
	box-shadow: none;
}

.zcfaq .zcfaq__q:focus {
	outline: none;
}

.zcfaq .zcfaq__q:focus-visible {
	outline: 2px solid #5e9eff;
	outline-offset: 3px;
}

.zcfaq .zcfaq__num {
	flex: 0 0 var(--zcfaq-num-width);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	/* Nudged so it sits on the question's first baseline. */
	line-height: 1.95;
	color: #4e5561;
	transition: color 0.25s ease;
}

.zcfaq .zcfaq__item.is-open .zcfaq__num {
	color: #5e9eff;
}

.zcfaq .zcfaq__question {
	flex: 1 1 auto;
	padding-right: 16px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -0.1px;
	color: #d8dbe0;
	transition: color 0.25s ease;
}

.zcfaq .zcfaq__item.is-open .zcfaq__question {
	color: #fff;
}

.zcfaq .zcfaq__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border: 0 solid transparent;
	color: #5a6270;
	font-size: 9px;
	line-height: 1;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.zcfaq .zcfaq__item.is-open .zcfaq__toggle {
	color: #5e9eff;
}

.zcfaq__toggle-icon {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.zcfaq .zcfaq__toggle svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* One icon per state. */
.zcfaq__item .zcfaq__toggle-icon--open,
.zcfaq__item.is-open .zcfaq__toggle-icon--closed {
	display: none;
}

.zcfaq__item.is-open .zcfaq__toggle-icon--open {
	display: inline-flex;
}

/* ------------------------------------------------------------------ */
/* Answer                                                              */
/* ------------------------------------------------------------------ */

/**
 * grid-template-rows 0fr → 1fr animates to the answer's natural height
 * without JavaScript having to measure anything.
 */
.zcfaq__body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows var(--zcfaq-open-speed) ease;
}

.zcfaq__item.is-open .zcfaq__body {
	grid-template-rows: 1fr;
}

.zcfaq__body-inner {
	overflow: hidden;
	min-height: 0;
}

/* Indent tracks the number column so the answer lines up under the question. */
.zcfaq .zcfaq__answer {
	padding-top: 10px;
	padding-left: var(--zcfaq-num-width);
	padding-right: 28px;
	font-size: 12.5px;
	line-height: 1.7;
	color: #7a8190;
}

.zcfaq .zcfaq__answer > *:first-child {
	margin-top: 0;
}

.zcfaq .zcfaq__answer > *:last-child {
	margin-bottom: 0;
}

.zcfaq .zcfaq__answer a {
	color: #5e9eff;
}

/* ------------------------------------------------------------------ */
/* Motion                                                              */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.zcfaq__body,
	.zcfaq__item,
	.zcfaq__item::before,
	.zcfaq__num,
	.zcfaq__question,
	.zcfaq__toggle,
	.zcfaq__cta-btn {
		transition: none !important;
	}
}

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

@media (max-width: 1024px) {
	.zcfaq-stack-tablet .zcfaq {
		flex-direction: column !important;
	}

	.zcfaq-stack-tablet .zcfaq__intro {
		flex: 1 1 auto !important;
		max-width: 100% !important;
		width: 100%;
	}

	.zcfaq-stack-tablet .zcfaq__list {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.zcfaq-stack-mobile .zcfaq {
		flex-direction: column !important;
	}

	.zcfaq-stack-mobile .zcfaq__intro {
		flex: 1 1 auto !important;
		max-width: 100% !important;
		width: 100%;
	}

	.zcfaq-stack-mobile .zcfaq__list {
		width: 100%;
	}

	.zcfaq .zcfaq__desc {
		max-width: 100%;
	}

	.zcfaq .zcfaq__answer {
		padding-right: 0;
	}
}
