/*--------------------------------------------------------------
# Contact — Quick answers
# Four questions pulled from the FAQ page's own content, shown
# open in a two-by-two grid, with a link to the rest.
--------------------------------------------------------------*/

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

.contact-faq__container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 var(--tpp-container-padding);
}

/* The theme's section-heading treatment, as on every page. */
.contact-faq__heading {
	text-align: center;
	font-family: var(--tpp-font-heading);
	font-size: clamp(1.9rem, 4vw + 0.5rem, 3rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--tpp-black);
	margin: 0 0 48px;
	text-wrap: balance;

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

.contact-faq__heading-accent {
	display: block;
	color: var(--tpp-text-light);
}


/* ── Cards ── */

.contact-faq__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-faq__card {
	padding: 28px 28px 30px;
	border: 1px solid var(--tpp-border-light);
	border-radius: 20px;
	background: var(--tpp-white);

	/* Scroll-reveal, staggered by --faq-index from the partial. */
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-faq__q {
	font-family: var(--tpp-font-heading);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: var(--tpp-black);
	margin: 0 0 10px;
}

.contact-faq__a {
	font-family: var(--tpp-font-body);
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--tpp-text);
	margin: 0;
}


/* ── Link to the rest ── */

.contact-faq__actions {
	display: flex;
	justify-content: center;
	margin-top: 36px;

	opacity: 0;
	transition: opacity 0.6s ease;
}

/* The theme's .btn-outline, one size up; doubled class so it outranks .btn
   without depending on load order. */
.btn.contact-faq__cta {
	padding: 14px 28px;
	font-size: 0.9375rem;
}


/* ── Revealed ── */

.contact-faq.is-visible .contact-faq__heading,
.contact-faq.is-visible .contact-faq__card {
	opacity: 1;
	transform: translateY(0);
}

.contact-faq.is-visible .contact-faq__card {
	transition-delay: calc(0.12s + var(--faq-index, 0) * 0.08s);
}

.contact-faq.is-visible .contact-faq__actions {
	opacity: 1;
	transition-delay: 0.5s;
}


/* ──────────────────────────────────────────────
   Tablet (≤991px)
   ────────────────────────────────────────────── */

@media screen and (max-width: 991px) {
	.contact-faq {
		padding: 0 0 80px;
	}

	.contact-faq__heading {
		margin-bottom: 40px;
	}
}


/* ──────────────────────────────────────────────
   Mobile (≤767px)
   ────────────────────────────────────────────── */

@media screen and (max-width: 767px) {
	.contact-faq {
		padding: 0 0 72px;
	}

	.contact-faq__heading {
		font-size: clamp(1.65rem, 7vw, 2.4rem);
		margin-bottom: 28px;
	}

	.contact-faq__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.contact-faq__card {
		padding: 22px 22px 24px;
		border-radius: 18px;
	}

	.contact-faq__q {
		font-size: 1rem;
	}

	.contact-faq__a {
		font-size: 0.9063rem;
	}

	.contact-faq__actions {
		margin-top: 28px;
	}
}


/* ──────────────────────────────────────────────
   Small mobile (≤480px)
   ────────────────────────────────────────────── */

@media screen and (max-width: 480px) {
	.contact-faq {
		padding: 0 0 56px;
	}

	.btn.contact-faq__cta {
		width: 100%;
	}
}


/* ──────────────────────────────────────────────
   Reduced motion
   ────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	.contact-faq__heading,
	.contact-faq__card,
	.contact-faq__actions {
		transition: none;
	}
}
