/*--------------------------------------------------------------
# Book Travel — Final CTA
# Dark rounded box closing the page, matching .consult-cta and
# .ic-cta. Deliberately bare: a question and two buttons.
--------------------------------------------------------------*/

/* ── Section ── */
.bt-cta {
	background: var(--tpp-white);
	/* No top padding — .bt-lie-flat above supplies the page's 100px rhythm. */
	padding: 0 0 100px;
}

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


/* ──────────────────────────────────────────────
   Box
   ────────────────────────────────────────────── */

.bt-cta__box {
	position: relative;
	text-align: center;
	/* Also the fallback if the photo fails to load — the heading and the
	   outlined button are white, so the box must stay dark either way. */
	background: var(--tpp-black);
	border-radius: 24px;
	padding: 106px 40px;
	overflow: hidden;
	isolation: isolate;

	/* 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);
}

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


/* Background photo. Negative z-index paints it above the box's own
   background but below the in-flow content, so the heading and buttons
   need no z-index of their own (same approach as .ic-vault__tile). */
.bt-cta__box::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: url('../../images/card-on-cloud.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Dark wash. Not optional — the photo is bright, and the copy over it is
   white. Lower this toward 0.6 for more image, raise for more contrast. */
.bt-cta__box::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(10, 10, 10, 0.2);
}


/* ── Heading ── */
.bt-cta__heading {
	font-family: var(--tpp-font-heading);
	font-size: clamp(1.875rem, 4vw + 0.5rem, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--tpp-white);
	margin: 0 0 34px;
}


/* ──────────────────────────────────────────────
   Buttons
   ────────────────────────────────────────────── */

.bt-cta__buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}

.bt-cta__btn {
	padding: 15px 32px;
	font-size: 0.9375rem;
	border-radius: var(--tpp-radius-pill);
}

/* Primary — white pill */
/* Orange: the closing key button (white until 29 Nov 2026) */
.bt-cta__btn--primary {
	background: var(--tpp-accent);
	border: 1.5px solid var(--tpp-accent);
}

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

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

/* Secondary — outlined; the membership route to the member rate */
.bt-cta__btn--secondary {
	background: transparent;
	color: var(--tpp-white);
	border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.bt-cta__btn--secondary:hover {
	border-color: rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.06);
	color: var(--tpp-white);
}

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


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

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

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

	.bt-cta__box {
		padding: 52px 24px;
		border-radius: 20px;
	}

	.bt-cta__heading {
		font-size: clamp(1.625rem, 6.5vw, 2.25rem);
		margin-bottom: 28px;
	}

	.bt-cta__buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

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

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

	.bt-cta__box {
		padding: 42px 20px;
	}
}


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

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