/*--------------------------------------------------------------
# Book a Call — Before You Book
# Section heading over a panel of two requirement cards. Same
# language as .consult-prep, which does the same job on the
# consultation page: white cards, rounded icon tile, title, one
# short paragraph.
--------------------------------------------------------------*/

.bac-prep {
	background: var(--tpp-white);
	/* Bottom only — .bac-sizer above, bottom-only too, supplies the gap. */
	padding: 0 0 100px;
}

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

.bac-prep__panel {
	background: var(--tpp-off-white);
	border: 1px solid var(--tpp-border-light);
	border-radius: 20px;
	padding: 32px;
}

/* Section heading, matching .bac-options__heading above it and the theme's
   other section headings — centred, weight 600, the -0.03em tracking the
   larger sizes take. It was a small left-aligned label inside the panel,
   which read as a caption on a box rather than as the section's title. */
.bac-prep__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;
}

/* Second line in the lighter grey — the two-tone heading the About and FAQ
   heroes, the trust bar and the VIP breakdown all use. */
.bac-prep__heading-accent {
	display: block;
	color: var(--tpp-text-light);
	font-weight: 600;
}


/* ── Grid ── */

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


/* ── Card ── */

.bac-prep__card {
	display: flex;
	flex-direction: column;
	background: var(--tpp-white);
	border: 1px solid var(--tpp-border-light);
	border-radius: 16px;
	padding: 28px 26px;
	transition:
		border-color 0.3s ease,
		box-shadow 0.3s ease,
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);

	/* Scroll-reveal, staggered by --prep-index from the partial. */
	opacity: 0;
	transform: translateY(18px);
}

.bac-prep.is-visible .bac-prep__card {
	opacity: 1;
	transform: translateY(0);
	transition-delay: calc(var(--prep-index, 0) * 0.1s);
}

.bac-prep__card:hover {
	border-color: rgba(0, 0, 0, 0.12);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

/* No tile behind these. .consult-prep__icon sits a monochrome stroke icon on
   an off-white square, which needs the tile to give it presence — these are
   full-colour illustrations that carry their own, and a tinted square behind
   them just reads as a second border. Same treatment .m-trust__icon-img gets
   on the membership trust bar, which is the theme's other colour-PNG icon. */
.bac-prep__icon {
	display: flex;
	/* The card is a column flex container with the default align-items:
	   stretch, so a span with no explicit width fills its whole width. The
	   old tile had width: 44px, which held it back; without that the span
	   spanned the card and centred the image inside itself. flex-start makes
	   the box hug the illustration again so it sits with the text. */
	align-self: flex-start;
	flex-shrink: 0;
	margin-bottom: 18px;
}

/* Square source art, so the box is square and object-fit guards against a
   non-square file being swapped in later. The width/height attributes in the
   markup are the intrinsic 512px, which reserves the right space before the
   file lands; these override the rendered size. */
.bac-prep__icon-img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	display: block;
}

.bac-prep__card-title {
	font-family: var(--tpp-font-heading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: var(--tpp-black);
	margin: 0 0 8px;
}

.bac-prep__card-desc {
	font-family: var(--tpp-font-body);
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--tpp-text-light);
	margin: 0;
}


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

@media (prefers-reduced-motion: reduce) {
	.bac-prep__card {
		transition: none;
	}

	.bac-prep.is-visible .bac-prep__card {
		transition-delay: 0s;
	}
}


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

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

	.bac-prep__heading {
		margin-bottom: 40px;
	}

	.bac-prep__panel {
		padding: 24px;
	}

	.bac-prep__card {
		padding: 24px 22px;
	}
}


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

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

	/* Two across on a phone leaves each card too narrow for a title that
	   runs to two lines over a short paragraph. */
	.bac-prep__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.bac-prep__panel {
		padding: 18px;
		border-radius: 18px;
	}

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

	.bac-prep__card {
		padding: 22px 20px;
	}

	.bac-prep__icon {
		margin-bottom: 14px;
	}

	.bac-prep__icon-img {
		width: 44px;
		height: 44px;
	}
}


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

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

	.bac-prep__panel {
		padding: 14px;
		border-radius: 16px;
	}

	.bac-prep__card {
		padding: 20px 18px;
	}
}
