/*--------------------------------------------------------------
# Book a Call — Call Options
# Four duration cards inside a rounded outline panel, spaced apart
# rather than packed. Follows the dark hero the way .bt-pricing
# follows Book Travel's dark photo hero.
--------------------------------------------------------------*/

.bac-options {
	/* Duration label colours, scoped here rather than added to the global
	   token set — they are this section's only use.

	   Neither is the theme's own value, because neither of those is legible
	   as text on white. --tpp-accent (orange, #FF9900) manages about 2.1:1;
	   the blue already in membership-comparison.css (#3B82F6) manages
	   3.68:1, which is fine for the check icons it colours there (graphics
	   need 3:1) but not for a 15px semibold label, which needs 4.5:1.

	   These are the same two hues taken darker: the theme's --tpp-blue
	   (#1565C0, 5.7:1) for the blue, and --tpp-accent-ink (#B45309) at about
	   5:1 for the orange, both past AA. (The featured label was a dark green
	   until the accent changed from lime to orange on 29 Nov 2026, and the
	   blue was #2563EB until the theme got its own blue the same day.) */
	--bac-duration: var(--tpp-blue);
	--bac-duration-featured: var(--tpp-accent-ink);

	background: var(--tpp-white);

	/* .bac-next's CTA jumps back up here. Reserve exactly the sticky header's
	   height; the section's own top padding below is then the breathing room,
	   which is why this is a flat 72px rather than tracking the four padding
	   steps. Visual rendering is unaffected — scroll-margin only moves where
	   an anchor jump comes to rest. */
	scroll-margin-top: var(--tpp-header-height);

	/* Both sides here, unlike the bottom-only chain the white-on-white pages
	   use. .bac-captain above has top padding only, so this top padding is
	   the gap between the two (it was first the gap under the dark hero).
	   Sections after this one are white-on-white and go bottom-only. */
	padding: 96px 0 100px;
}

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

.bac-options__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;
}


/* ── Panel ── */

/* No fill. The cards carry their own borders, so the panel is now just the
   outline that groups them — which is also why the gap below opened up: on
   the off-white ground the fill separated the cards, and without it that job
   falls to the spacing. */
.bac-options__panel {
	padding: 32px;
}


/* ── Grid ── */

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


/* ── Card ── */

.bac-options__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--tpp-white);
	border: 1px solid var(--tpp-border-light);
	border-radius: 16px;
	padding: 28px 20px 24px;
	transition:
		border-color 0.3s ease,
		box-shadow 0.35s 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 --card-index from the partial. */
	opacity: 0;
	transform: translateY(20px);
}

.bac-options.is-visible .bac-options__card {
	opacity: 1;
	transform: translateY(0);
	transition-delay: calc(var(--card-index, 0) * 0.08s);
}

.bac-options__card:hover {
	border-color: rgba(0, 0, 0, 0.14);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

/* Featured — the confirmed price, and the one most people take. Black border
   and black badge, matching .m-hero__card--featured, rather than the
   reference's blue: there is no blue anywhere in this theme. */
.bac-options__card--featured {
	border: 1.5px solid var(--tpp-black);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.09);
	padding-top: 34px;
}

.bac-options__card--featured:hover {
	border-color: var(--tpp-black);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.13);
}

.bac-options__badge {
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	padding: 5px 16px;
	background: var(--tpp-black);
	color: var(--tpp-white);
	font-family: var(--tpp-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	border-radius: var(--tpp-radius-pill);
	white-space: nowrap;
}


/* ── Card content ── */

.bac-options__duration {
	font-family: var(--tpp-font-heading);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--bac-duration);
	letter-spacing: 0.01em;
}

/* Green on the featured card, so the one most people take is marked by its
   duration as well as by the badge and the border. */
.bac-options__card--featured .bac-options__duration {
	color: var(--bac-duration-featured);
}

.bac-options__price {
	font-family: var(--tpp-font-heading);
	font-size: 2.1rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.04em;
	color: var(--tpp-black);
	margin-top: 8px;
}

.bac-options__desc {
	font-family: var(--tpp-font-body);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--tpp-text-light);
	margin-top: 10px;
	/* Pushes the button to the bottom, so all four line up however many
	   lines the description runs to. */
	margin-bottom: auto;
	padding-bottom: 20px;
}


/* ── Button ── */

.bac-options__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 18px;
	border-radius: var(--tpp-radius-pill);
	font-family: var(--tpp-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	border: 1.5px solid var(--tpp-border);
	background: transparent;
	color: var(--tpp-black);
	transition: all var(--tpp-transition);
}

.bac-options__cta:hover,
.bac-options__cta:visited,
.bac-options__cta:hover:visited {
	color: var(--tpp-black);
}

.bac-options__cta:hover {
	border-color: var(--tpp-black);
	background: var(--tpp-white);
}

.bac-options__cta:focus-visible {
	outline: 2px solid var(--tpp-black);
	outline-offset: 2px;
}

/* The featured card's button is solid, so the eye lands on it first. */
/* Orange: the featured call's key button (black until 29 Nov 2026) */
.bac-options__card--featured .bac-options__cta {
	background: var(--tpp-accent);
	border-color: var(--tpp-accent);
	color: var(--tpp-black);
}

.bac-options__card--featured .bac-options__cta:hover,
.bac-options__card--featured .bac-options__cta:visited,
.bac-options__card--featured .bac-options__cta:hover:visited {
	color: var(--tpp-black);
}

.bac-options__card--featured .bac-options__cta:hover {
	background: var(--tpp-accent-dark);
	border-color: var(--tpp-accent-dark);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* No booking link configured yet. Reads as unavailable rather than broken —
   it is a <span>, so it is not focusable and cannot be clicked. */
.bac-options__cta--pending {
	border-style: dashed;
	border-color: var(--tpp-border);
	color: var(--tpp-text-light);
	cursor: default;
}

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

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

	.bac-options.is-visible .bac-options__card {
		transition-delay: 0s;
	}
}


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

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

	/* Four across at this width leaves roughly 150px a card, which a price
	   and a four-word line cannot share comfortably. */
	.bac-options__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.bac-options__panel {
		padding: 24px;
	}

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


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

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

	/* Two across on a phone puts ~130px a card once the panel and container
	   padding come off — enough for the price, not for the line under it. */
	.bac-options__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

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

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

	/* Stacked, the cards read as a list, so the content goes left-aligned
	   with the button full width beneath it. */
	.bac-options__card {
		align-items: flex-start;
		text-align: left;
		padding: 20px;
	}

	.bac-options__card--featured {
		padding-top: 26px;
	}

	/* Off-centre once the card content is left-aligned. */
	.bac-options__badge {
		left: 20px;
		transform: none;
	}

	.bac-options__desc {
		padding-bottom: 16px;
	}
}


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

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

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

	.bac-options__price {
		font-size: 1.9rem;
	}
}
