/* ==========================================================================
   ORIGIN Estimations: FAQ accordion
   Every selector is scoped to .ce-faq (root) or ce-faq__* children.
   Palette: Charcoal #202B2B · Forest #52796F · Gold #D4B483 · Off-white #FAF9F6
   Breakpoints (Elementor defaults): tablet ≤1024px, mobile ≤767px.
   ========================================================================== */

/* ---------- Tokens (Elementor controls override these variables) ---------- */
.ce-faq {
	--ce-faq-bg: #FAF9F6;
	--ce-faq-heading: #202B2B;
	--ce-faq-eyebrow: #86693A;      /* deeper gold: AA contrast for text on off-white */
	--ce-faq-accent: #D4B483;       /* brand gold: rules, bar, borders, button */
	--ce-faq-text: #5B625F;
	--ce-faq-focus: #52796F;

	--ce-faq-item-bg: #FFFFFF;
	--ce-faq-border: #E7E5DF;
	--ce-faq-border-hover: #D4B483;
	--ce-faq-border-open: #D4B483;
	--ce-faq-border-w: 1px;
	--ce-faq-radius: 6px;
	--ce-faq-gap: 14px;

	--ce-faq-q: #202B2B;
	--ce-faq-q-hover: #52796F;
	--ce-faq-q-open: #202B2B;
	--ce-faq-num: #52796F;
	--ce-faq-a: #5B625F;
	--ce-faq-link: #52796F;
	--ce-faq-divider: #E7E5DF;

	--ce-faq-icon: 32px;
	--ce-faq-icon-color: #52796F;
	--ce-faq-icon-bg: rgba(82, 121, 111, 0);
	--ce-faq-icon-ring: rgba(82, 121, 111, 0.4);
	--ce-faq-icon-color-open: #FFFFFF;
	--ce-faq-icon-bg-open: #52796F;

	--ce-faq-cta-bg: #202B2B;
	--ce-faq-cta-border: rgba(212, 180, 131, 0.35);
	--ce-faq-cta-radius: 6px;
	--ce-faq-cta-title: #FAF9F6;
	--ce-faq-cta-text: #D9E0DC;
	--ce-faq-cta-gap: 48px;
	--ce-faq-btn-bg: #D4B483;
	--ce-faq-btn-color: #202B2B;
	--ce-faq-btn-bg-hover: #FAF9F6;
	--ce-faq-btn-color-hover: #202B2B;

	--ce-faq-max-w: 860px;
	--ce-faq-head-gap: 52px;
	--ce-faq-num-w: 28px;
	--ce-faq-q-gap: 16px;
	--ce-faq-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* Alignment helpers (set by the alignment classes below) */
	--ce-faq-ta: center;
	--ce-faq-ml: auto;
	--ce-faq-mr: auto;

	position: relative;
	width: 100%;
	padding: 104px 32px;
	background: var(--ce-faq-bg);
	color: var(--ce-faq-text);
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
}

.ce-faq *,
.ce-faq *::before,
.ce-faq *::after {
	box-sizing: border-box;
}

.ce-faq p {
	margin: 0;
}

.ce-faq .ce-faq__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ce-faq__inner {
	width: 100%;
	max-width: var(--ce-faq-max-w);
	margin-inline: auto;
}

/* ---------- Header ---------- */
.ce-faq__head {
	margin-bottom: var(--ce-faq-head-gap);
	text-align: var(--ce-faq-ta);
}

.ce-faq .ce-faq__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	color: var(--ce-faq-eyebrow);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ce-faq .ce-faq__eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 36px;
	height: 2px;
	background: var(--ce-faq-accent);
}

.ce-faq-align-center .ce-faq .ce-faq__eyebrow::after {
	content: "";
	flex: 0 0 auto;
	width: 36px;
	height: 2px;
	background: var(--ce-faq-accent);
}

.ce-faq .ce-faq__heading {
	max-width: 22ch;
	margin: 0;
	margin-left: var(--ce-faq-ml);
	margin-right: var(--ce-faq-mr);
	padding: 0;
	color: var(--ce-faq-heading);
	font-family: inherit;
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.02em;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.ce-faq .ce-faq__lead {
	max-width: 58ch;
	margin-top: 18px;
	margin-left: var(--ce-faq-ml);
	margin-right: var(--ce-faq-mr);
	color: var(--ce-faq-text);
	font-size: 1.0625rem;
	line-height: 1.7;
}

/* ---------- List + item ---------- */
.ce-faq .ce-faq__list {
	display: grid;
	gap: var(--ce-faq-gap);
}

.ce-faq details.ce-faq__item {
	position: relative;
	overflow: hidden;
	background: var(--ce-faq-item-bg);
	border: var(--ce-faq-border-w) solid var(--ce-faq-border);
	border-radius: var(--ce-faq-radius);
	transition: border-color 0.25s ease;
}

.ce-faq details.ce-faq__item:hover {
	border-color: var(--ce-faq-border-hover);
}

.ce-faq details.ce-faq__item[open]:not(.is-closing) {
	border-color: var(--ce-faq-border-open);
}

/* Thin gold bar on the open item (toggle: "Gold Bar on Open Item") */
.ce-faq details.ce-faq__item::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 3px;
	background: var(--ce-faq-accent);
	opacity: 0;
	transform: scaleY(0.4);
	transform-origin: center;
	transition: opacity 0.25s ease, transform 0.35s var(--ce-faq-ease);
	pointer-events: none;
}

.ce-faq-bar-yes .ce-faq details.ce-faq__item[open]:not(.is-closing)::before {
	opacity: 1;
	transform: scaleY(1);
}

/* ---------- Summary (the question row) ---------- */
.ce-faq .ce-faq__summary {
	display: flex;
	align-items: center;
	gap: var(--ce-faq-q-gap);
	padding: 22px 26px;
	list-style: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.ce-faq .ce-faq__summary::-webkit-details-marker {
	display: none;
}

.ce-faq .ce-faq__summary::marker {
	content: "";
}

/* Inset focus ring (the item clips overflow, so an outer outline would be cut off) */
.ce-faq .ce-faq__summary:focus {
	outline: none;
}

.ce-faq .ce-faq__summary:focus-visible {
	outline: 2px solid var(--ce-faq-focus);
	outline-offset: -4px;
	border-radius: var(--ce-faq-radius);
}

.ce-faq .ce-faq__num {
	flex: 0 0 var(--ce-faq-num-w);
	color: var(--ce-faq-num);
	font-size: 0.8125rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
	line-height: 1;
}

.ce-faq .ce-faq__q {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: var(--ce-faq-q);
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.005em;
	overflow-wrap: break-word;
	transition: color 0.2s ease;
}

.ce-faq .ce-faq__summary:hover .ce-faq__q {
	color: var(--ce-faq-q-hover);
}

.ce-faq details.ce-faq__item[open]:not(.is-closing) .ce-faq__q {
	color: var(--ce-faq-q-open);
}

/* ---------- Plus / minus icon ---------- */
.ce-faq .ce-faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: var(--ce-faq-icon);
	height: var(--ce-faq-icon);
	margin-left: auto;
	background: var(--ce-faq-icon-bg);
	border: 1px solid var(--ce-faq-icon-ring);
	border-radius: 50%;
	color: var(--ce-faq-icon-color);
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ce-faq .ce-faq__icon::before,
.ce-faq .ce-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 42%;
	height: 2px;
	margin: -1px 0 0 -21%;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.3s var(--ce-faq-ease), opacity 0.2s ease;
}

.ce-faq .ce-faq__icon::after {
	transform: rotate(90deg);
}

.ce-faq details.ce-faq__item[open]:not(.is-closing) .ce-faq__icon {
	background: var(--ce-faq-icon-bg-open);
	border-color: var(--ce-faq-icon-bg-open);
	color: var(--ce-faq-icon-color-open);
}

.ce-faq details.ce-faq__item[open]:not(.is-closing) .ce-faq__icon::after {
	transform: rotate(0deg);
}

/* ---------- Panel + answer ---------- */
.ce-faq .ce-faq__panel {
	overflow: hidden;
}

.ce-faq .ce-faq__answer {
	max-width: 70ch;
	padding: 4px 26px 26px;
	color: var(--ce-faq-a);
	font-size: 1rem;
	line-height: 1.75;
	overflow-wrap: break-word;
}

/* Align the answer text under the question text when numbers are shown */
.ce-faq--numbers .ce-faq__answer {
	margin-left: calc(var(--ce-faq-num-w) + var(--ce-faq-q-gap));
}

.ce-faq .ce-faq__answer > *:first-child {
	margin-top: 0;
}

.ce-faq .ce-faq__answer > *:last-child {
	margin-bottom: 0;
}

.ce-faq .ce-faq__answer p {
	margin: 0 0 1em;
}

.ce-faq .ce-faq__answer ul,
.ce-faq .ce-faq__answer ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

.ce-faq .ce-faq__answer ul {
	list-style: disc;
}

.ce-faq .ce-faq__answer ol {
	list-style: decimal;
}

.ce-faq .ce-faq__answer li {
	margin: 0 0 0.4em;
	padding: 0;
	list-style: inherit;
}

.ce-faq .ce-faq__answer li::marker {
	color: var(--ce-faq-num);
}

.ce-faq .ce-faq__answer a {
	color: var(--ce-faq-link);
	text-decoration: underline;
	text-decoration-color: var(--ce-faq-accent);
	text-underline-offset: 3px;
}

.ce-faq .ce-faq__answer a:hover,
.ce-faq .ce-faq__answer a:focus-visible {
	text-decoration-thickness: 2px;
}

.ce-faq .ce-faq__answer a:focus-visible {
	outline: 2px solid var(--ce-faq-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

.ce-faq .ce-faq__notice {
	padding: 14px 18px;
	border: 1px dashed var(--ce-faq-border);
	color: var(--ce-faq-text);
	font-size: 0.875rem;
}

/* ---------- CTA panel ---------- */
.ce-faq__cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 36px;
	margin-top: var(--ce-faq-cta-gap);
	padding: 30px 34px;
	overflow: hidden;
	background: var(--ce-faq-cta-bg);
	border: 1px solid var(--ce-faq-cta-border);
	border-radius: var(--ce-faq-cta-radius);
}

.ce-faq__cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--ce-faq-accent);
}

.ce-faq__cta-body {
	min-width: 0;
}

.ce-faq .ce-faq__cta-title {
	margin: 0 0 6px;
	padding: 0;
	color: var(--ce-faq-cta-title);
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

.ce-faq .ce-faq__cta-text {
	max-width: 52ch;
	color: var(--ce-faq-cta-text);
	font-size: 0.96875rem;
	line-height: 1.6;
}

.ce-faq a.ce-faq__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 10px;
	min-height: 50px;
	padding: 16px 28px;
	background: var(--ce-faq-btn-bg);
	border: 1px solid transparent;
	border-radius: 3px;
	color: var(--ce-faq-btn-color);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ce-faq-ease);
}

.ce-faq a.ce-faq__btn:hover,
.ce-faq a.ce-faq__btn:focus-visible {
	background: var(--ce-faq-btn-bg-hover);
	color: var(--ce-faq-btn-color-hover);
	text-decoration: none;
	transform: translateY(-1px);
}

.ce-faq a.ce-faq__btn:focus-visible {
	outline: 2px solid #FAF9F6;
	outline-offset: 4px;
}

.ce-faq .ce-faq__arrow {
	flex: 0 0 auto;
	transition: transform 0.25s var(--ce-faq-ease);
}

.ce-faq a.ce-faq__btn:hover .ce-faq__arrow,
.ce-faq a.ce-faq__btn:focus-visible .ce-faq__arrow {
	transform: translateX(3px);
}

/* ==========================================================================
   Header alignment (Elementor "Header Text Alignment" → wrapper classes)
   ========================================================================== */
.ce-faq-align-left   .ce-faq { --ce-faq-ta: left;   --ce-faq-ml: 0;    --ce-faq-mr: auto; }
.ce-faq-align-center .ce-faq { --ce-faq-ta: center; --ce-faq-ml: auto; --ce-faq-mr: auto; }

/* ==========================================================================
   Tablet (≤1024px)
   ========================================================================== */
@media (max-width: 1024px) {
	.ce-faq-tablet-align-left   .ce-faq { --ce-faq-ta: left;   --ce-faq-ml: 0;    --ce-faq-mr: auto; }
	.ce-faq-tablet-align-center .ce-faq { --ce-faq-ta: center; --ce-faq-ml: auto; --ce-faq-mr: auto; }

	.ce-faq .ce-faq__heading {
		max-width: 26ch;
	}
}

/* ==========================================================================
   Mobile (≤767px)
   ========================================================================== */
@media (max-width: 767px) {
	.ce-faq-mobile-align-left   .ce-faq { --ce-faq-ta: left;   --ce-faq-ml: 0;    --ce-faq-mr: auto; }
	.ce-faq-mobile-align-center .ce-faq { --ce-faq-ta: center; --ce-faq-ml: auto; --ce-faq-mr: auto; }

	.ce-faq {
		--ce-faq-num-w: 22px;
		--ce-faq-q-gap: 12px;
	}

	.ce-faq .ce-faq__eyebrow {
		gap: 10px;
		margin-bottom: 14px;
		font-size: 0.75rem;
		letter-spacing: 0.14em;
	}

	.ce-faq .ce-faq__eyebrow::before,
	.ce-faq-align-center .ce-faq .ce-faq__eyebrow::after {
		width: 24px;
	}

	.ce-faq .ce-faq__lead {
		font-size: 1rem;
	}

	.ce-faq .ce-faq__q {
		font-size: 1.0625rem;
	}

	.ce-faq .ce-faq__num {
		font-size: 0.75rem;
	}

	.ce-faq .ce-faq__answer {
		font-size: 0.96875rem;
		line-height: 1.7;
	}

	.ce-faq__cta {
		flex-direction: column;
		align-items: stretch;
		padding: 26px 22px;
	}

	.ce-faq a.ce-faq__btn {
		width: 100%;
		white-space: normal;
		text-align: center;
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.ce-faq *,
	.ce-faq *::before,
	.ce-faq *::after {
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.ce-faq a.ce-faq__btn:hover,
	.ce-faq a.ce-faq__btn:focus-visible,
	.ce-faq a.ce-faq__btn:hover .ce-faq__arrow,
	.ce-faq a.ce-faq__btn:focus-visible .ce-faq__arrow {
		transform: none;
	}
}