/*--------------------------------------------------------------
# Book Travel — Pricing
# One table: the two booking services and the extra-traveler
# add-on, non-member and member side by side. Deliberately spare:
# a name, one line of copy and two prices per row. Extra fees are
# a single line of fine print beneath, then one button.
--------------------------------------------------------------*/

/* ── Section ── */
.bt-pricing {
	background: var(--tpp-white);
	/* Sets this page's 100px rhythm. Both sides: .bt-boarding-pass above has
	   no bottom padding, so the top one is the gap between them. */
	padding: 100px 0;
}

/* ── Container ── */
.bt-pricing__container {
	width: 100%;
	max-width: var(--tpp-container-max);
	margin: 0 auto;
	padding: 0 var(--tpp-container-padding);
}


/* ──────────────────────────────────────────────
   Heading
   ────────────────────────────────────────────── */

.bt-pricing__heading {
	text-align: center;
	font-family: var(--tpp-font-heading);
	font-size: clamp(2rem, 4.5vw + 0.5rem, 3.5rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--tpp-black);
	margin: 0 0 12px;
}

.bt-pricing__sub {
	text-align: center;
	max-width: 520px;
	font-family: var(--tpp-font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--tpp-text-light);
	margin: 0 auto 56px;
}


/* ──────────────────────────────────────────────
   Price table
   ────────────────────────────────────────────── */

/* The same border, radius and shadow the two price cards had. overflow
   clips the member column's tint to the rounded corners. */
.bt-pricing__table-wrap {
	max-width: 940px;
	margin: 0 auto;
	background: var(--tpp-white);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
	overflow: hidden;
}

/* margin: 0 undoes the 1.5em that style.css gives every table. */
.bt-pricing__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
}

/* ── Column labels ── */
.bt-pricing__th {
	width: 24%;
	padding: 24px 24px 14px;
	font-family: var(--tpp-font-body);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	color: var(--tpp-text-light);
}

.bt-pricing__th--service {
	width: auto;
}

/* The member column is the point of the comparison, so it carries the
   emphasis: a black label and a light tint down the whole column. Kept
   monochrome, like the membership panel further down. */
.bt-pricing__th--member {
	color: var(--tpp-black);
}

/* The member column in the pale sky wash (29 Nov 2026; it was the warm
   off-white), the flights page's touch of Owen's blue. */
.bt-pricing__th--member,
.bt-pricing__price--member {
	background: var(--tpp-sky-tint);
}

/* ── Rows ── */
.bt-pricing__row > th,
.bt-pricing__row > td {
	border-top: 1px solid var(--tpp-border-light);
	vertical-align: middle;
}

/* A <th>, so the row is announced by name; font-weight and text-align undo
   the browser's header defaults. */
.bt-pricing__service {
	padding: 26px 24px 26px 36px;
	font-weight: 400;
	text-align: left;
}

/* text-wrap evens out the line breaks once the column narrows on a phone —
   "Find & book / for me" rather than leaving "me" on a line of its own.
   Browsers without it simply wrap as normal. */
.bt-pricing__name {
	display: block;
	font-family: var(--tpp-font-heading);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--tpp-black);
	text-wrap: balance;
}

.bt-pricing__desc {
	display: block;
	max-width: 360px;
	margin-top: 6px;
	font-family: var(--tpp-font-body);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--tpp-text-light);
	text-wrap: pretty;
}

/* ── Prices ── */
.bt-pricing__price {
	padding: 26px 24px;
	text-align: center;
	white-space: nowrap;
	font-family: var(--tpp-font-heading);
	font-size: clamp(1.75rem, 1.5vw + 1rem, 2.25rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--tpp-text-light);
}

.bt-pricing__price--member {
	color: var(--tpp-black);
}


/* ──────────────────────────────────────────────
   Fine print + CTA
   ────────────────────────────────────────────── */

.bt-pricing__fineprint {
	text-align: center;
	max-width: 620px;
	font-family: var(--tpp-font-body);
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--tpp-text-light);
	margin: 24px auto 0;
}

.bt-pricing__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 32px;
}

/* The page's black pill, as on the member card (.bt-member-card__cta). */
.bt-pricing__cta {
	padding: 14px 30px;
	font-size: 0.9375rem;
	border-radius: var(--tpp-radius-pill);
	background: var(--tpp-accent); /* orange key button, black until 29 Nov 2026 */
	color: var(--tpp-black);
	border: 1.5px solid var(--tpp-accent);
}

.bt-pricing__cta:hover {
	background: var(--tpp-accent-dark);
	border-color: var(--tpp-accent-dark);
	color: var(--tpp-black);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Restated so a visited link doesn't take the browser's purple — and the
   hover animation's letters inherit this colour. */
.bt-pricing__cta:visited,
.bt-pricing__cta:hover:visited,
.bt-pricing__cta:focus,
.bt-pricing__cta:active {
	color: var(--tpp-black);
}


/* ──────────────────────────────────────────────
   Scroll-reveal
   ────────────────────────────────────────────── */

.bt-pricing__heading,
.bt-pricing__sub,
.bt-pricing__table-wrap,
.bt-pricing__fineprint,
.bt-pricing__actions {
	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);
}

.bt-pricing.is-visible .bt-pricing__heading,
.bt-pricing.is-visible .bt-pricing__sub,
.bt-pricing.is-visible .bt-pricing__table-wrap,
.bt-pricing.is-visible .bt-pricing__fineprint,
.bt-pricing.is-visible .bt-pricing__actions {
	opacity: 1;
	transform: translateY(0);
}

.bt-pricing.is-visible .bt-pricing__sub {
	transition-delay: 0.08s;
}

.bt-pricing.is-visible .bt-pricing__table-wrap {
	transition-delay: 0.16s;
}

.bt-pricing.is-visible .bt-pricing__fineprint {
	transition-delay: 0.28s;
}

.bt-pricing.is-visible .bt-pricing__actions {
	transition-delay: 0.36s;
}


/* ──────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────── */

/* Tablet (≤991px) — this page steps 100 / 80 / 72 / 56px. */
@media screen and (max-width: 991px) {
	.bt-pricing {
		padding: 80px 0;
	}
}

/* Mobile (≤767px) — the table keeps its three columns; it just tightens.
   Stacking it into cards would cost the row and column headers that make
   it read as one comparison. */
@media screen and (max-width: 767px) {
	.bt-pricing {
		padding: 72px 0;
	}

	.bt-pricing__heading {
		font-size: clamp(1.75rem, 7vw, 2.5rem);
	}

	.bt-pricing__sub {
		font-size: 0.875rem;
		margin-bottom: 36px;
	}

	.bt-pricing__table-wrap {
		border-radius: 20px;
	}

	.bt-pricing__th {
		padding: 20px 12px 12px;
		font-size: 0.625rem;
		letter-spacing: 0.1em;
	}

	.bt-pricing__service {
		padding: 20px 12px 20px 22px;
	}

	.bt-pricing__name {
		font-size: 0.9375rem;
	}

	.bt-pricing__desc {
		font-size: 0.8125rem;
		line-height: 1.5;
	}

	.bt-pricing__price {
		padding: 20px 12px;
		font-size: 1.5rem;
	}

	.bt-pricing__fineprint {
		margin-top: 20px;
	}

	.bt-pricing__actions {
		margin-top: 26px;
	}

	.bt-pricing__cta {
		width: 100%;
		justify-content: center;
	}
}

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

	.bt-pricing__th {
		padding: 18px 8px 10px;
	}

	.bt-pricing__service {
		padding: 18px 8px 18px 16px;
	}

	.bt-pricing__price {
		padding: 18px 8px;
		font-size: 1.25rem;
	}
}


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

@media (prefers-reduced-motion: reduce) {
	.bt-pricing__heading,
	.bt-pricing__sub,
	.bt-pricing__table-wrap,
	.bt-pricing__fineprint,
	.bt-pricing__actions,
	.bt-pricing__cta {
		transition: none;
	}

	.bt-pricing.is-visible .bt-pricing__sub,
	.bt-pricing.is-visible .bt-pricing__table-wrap,
	.bt-pricing.is-visible .bt-pricing__fineprint,
	.bt-pricing.is-visible .bt-pricing__actions {
		transition-delay: 0s;
	}
}
