/*--------------------------------------------------------------
# FAQ Closing CTA
# Dark box in the same language as .consult-cta and .ic-cta.
--------------------------------------------------------------*/

.faq-cta {
	background: var(--tpp-white);
	/* Bottom only — .faq-list above supplies the gap. */
	padding: 0 0 100px;
}

.faq-cta__container {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 var(--tpp-container-padding);
}

.faq-cta__box {
	background: var(--tpp-black);
	border-radius: 24px;
	padding: 72px 40px;
	text-align: center;

	/* Scroll-reveal */
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-cta.is-visible .faq-cta__box {
	opacity: 1;
	transform: translateY(0);
}

.faq-cta__heading {
	font-family: var(--tpp-font-heading);
	font-size: clamp(1.6rem, 3vw + 0.5rem, 2.4rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: var(--tpp-white);
	margin: 0;
}

.faq-cta__desc {
	font-family: var(--tpp-font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.65);
	max-width: 420px;
	margin: 14px auto 0;
}

.faq-cta__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.faq-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border-radius: var(--tpp-radius-pill);
	font-family: var(--tpp-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: all var(--tpp-transition);
}

/* Primary — white fill. :visited restated because a link the reader has
   already followed would otherwise take the browser's purple. */
/* Orange: the closing key button (white until 29 Nov 2026) */
.faq-cta__btn--primary {
	background: var(--tpp-accent);
	border-color: var(--tpp-accent);
	color: var(--tpp-black);
}

.faq-cta__btn--primary:hover,
.faq-cta__btn--primary:visited,
.faq-cta__btn--primary:hover:visited,
.faq-cta__btn--primary:focus,
.faq-cta__btn--primary:active {
	color: var(--tpp-black);
}

.faq-cta__btn--primary:hover {
	background: var(--tpp-accent-dark);
	border-color: var(--tpp-accent-dark);
	box-shadow: 0 8px 26px rgba(255, 153, 0, 0.25);
}

/* Secondary — outline */
.faq-cta__btn--secondary {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--tpp-white);
}

.faq-cta__btn--secondary:hover,
.faq-cta__btn--secondary:visited,
.faq-cta__btn--secondary:hover:visited,
.faq-cta__btn--secondary:focus,
.faq-cta__btn--secondary:active {
	color: var(--tpp-white);
}

.faq-cta__btn--secondary:hover {
	border-color: rgba(255, 255, 255, 0.6);
}

.faq-cta__btn:focus-visible {
	outline: 2px solid var(--tpp-white);
	outline-offset: 3px;
}


/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.faq-cta__box {
		transition: none;
	}
}


/* ── Tablet (≤991px) ── */
@media screen and (max-width: 991px) {
	.faq-cta {
		padding: 0 0 80px;
	}

	.faq-cta__box {
		padding: 56px 32px;
		border-radius: 20px;
	}
}


/* ── Mobile (≤767px) ── */
@media screen and (max-width: 767px) {
	.faq-cta {
		padding: 0 0 72px;
	}

	.faq-cta__box {
		padding: 44px 24px;
		border-radius: 18px;
	}

	/* Side by side these wrap to two very narrow pills; stacked they stay
	   full-width tap targets. */
	.faq-cta__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin-top: 26px;
	}

	.faq-cta__btn {
		width: 100%;
	}
}


/* ── Small mobile (≤480px) ── */
@media screen and (max-width: 480px) {
	.faq-cta {
		padding: 0 0 56px;
	}

	.faq-cta__box {
		padding: 36px 20px;
	}
}
