/*--------------------------------------------------------------
# About CTA Banner Section
# Dark card with ambient glow, a small travel illustration behind
# the copy, heading, and CTA buttons.
--------------------------------------------------------------*/

/* ── Section wrapper ── */
.about-cta-banner {
	padding: 0 0 120px;
	overflow: hidden;
}

/* ── Container ── */
.about-cta-banner__container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--tpp-container-padding);

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

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

/* ── Dark card ── */
.about-cta-banner__card {
	position: relative;
	background: #0a0a0a;
	border-radius: 28px;
	padding: 80px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	min-height: 420px;
	background-image: url('../../images/cta-bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Blur overlay */
.about-cta-banner__card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	z-index: 0;
}

/* ── Travel illustration ──
   A small travel-reward cutout centred behind the heading and buttons,
   at full strength with a little extra brightness and colour so it reads
   clearly against the dark card. Its z-index sits above the blur overlay
   (0), so the overlay doesn't darken it, and it comes before the copy
   (also 1) in the DOM, so the copy paints on top of it. The heading's
   shadow and the secondary button's dark fill keep the copy readable
   where it crosses the bright parts of the picture. */
.about-cta-banner__card::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	width: min(600px, 82%);
	aspect-ratio: 3 / 2;
	background: url('../../images/about/travel-reward.webp') center / contain no-repeat;
	filter: brightness(1.06) saturate(1.12);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

/* ── Ambient glow (left side) ── */
.about-cta-banner__glow {
	position: absolute;
	top: -20%;
	left: -10%;
	width: 50%;
	height: 140%;
	background: radial-gradient(
		ellipse at center,
		rgba(255, 180, 80, 0.12) 0%,
		rgba(255, 160, 60, 0.05) 40%,
		transparent 70%
	);
	filter: blur(60px);
	pointer-events: none;
	z-index: 1;
}

/* ── Heading ── */
.about-cta-banner__heading {
	position: relative;
	z-index: 1;
	font-family: var(--tpp-font-heading);
	font-size: clamp(2rem, 4vw + 0.5rem, 3.4rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #ffffff;
	margin: 0 0 40px;
	max-width: 700px;
	/* A tight shadow for the letter edges plus a wide soft halo, so the
	   heading holds up over the white plane and rings behind it. */
	text-shadow:
		0 2px 10px rgba(0, 0, 0, 0.55),
		0 0 36px rgba(0, 0, 0, 0.45);
}

/* ── Button group ── */
.about-cta-banner__actions {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

/* ── Shared button base ── */
.about-cta-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: var(--tpp-radius-pill);
	font-family: var(--tpp-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	border: 1.5px solid transparent;
	transition: all var(--tpp-transition);
}

/* ── Primary: white filled ── */
/* Orange: the banner's key button (white until 29 Nov 2026) */
.about-cta-banner__btn--primary {
	background: var(--tpp-accent);
	border-color: var(--tpp-accent);
}

.about-cta-banner__btn--primary,
.about-cta-banner__btn--primary:visited,
.about-cta-banner__btn--primary:hover,
.about-cta-banner__btn--primary:focus,
.about-cta-banner__btn--primary:active {
	color: var(--tpp-black);
}

.about-cta-banner__btn--primary:hover {
	background: var(--tpp-accent-dark);
	border-color: var(--tpp-accent-dark);
}

/* ── Secondary: white outline ──
   A dark frosted fill rather than a fully transparent one, because it
   sits over the rubber ring in the picture behind it. */
.about-cta-banner__btn--secondary {
	background: rgba(10, 10, 10, 0.45);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--tpp-white) !important;
	border-color: rgba(255, 255, 255, 0.4);
}

.about-cta-banner__btn--secondary:hover {
	color: var(--tpp-white);
	border-color: rgba(255, 255, 255, 0.6);
}

/* ── Arrow ──
   On hover the arrow slides out to the right while a second copy (the
   ::before) slides in from the left, the sideways twin of the label's
   upward character slide, on the same timing.
   The glyph is nested one span deep on purpose: hover-text-animate.js
   only splits text sitting directly inside a span, so the nesting keeps
   the arrow out of the label's vertical slide.
   The ➜ comes from a fallback symbol font with no bold of its own, so
   normal weight and no synthesis stop the button's 600 weight from
   fake-bolding it. */
.about-cta-banner__btn-arrow {
	position: relative;
	display: inline-flex;
	overflow: hidden;
	font-size: 1.1em;
	font-weight: 400;
	font-synthesis: none;
	line-height: 1.2;
}

.about-cta-banner__btn-arrow-glyph {
	display: block;
}

.about-cta-banner__btn-arrow::before {
	content: '\279C';
	position: absolute;
	top: 0;
	left: 0;
	transform: translateX(-100%);
}

.about-cta-banner__btn-arrow-glyph,
.about-cta-banner__btn-arrow::before {
	transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1) 0.08s;
}

.about-cta-banner__btn:hover .about-cta-banner__btn-arrow-glyph,
.about-cta-banner__btn:focus-visible .about-cta-banner__btn-arrow-glyph {
	transform: translateX(100%);
}

.about-cta-banner__btn:hover .about-cta-banner__btn-arrow::before,
.about-cta-banner__btn:focus-visible .about-cta-banner__btn-arrow::before {
	transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
	.about-cta-banner__btn-arrow-glyph,
	.about-cta-banner__btn-arrow::before {
		transition: none;
	}
}


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

/* Large desktop (≥1280px) */
@media screen and (min-width: 1280px) {
	.about-cta-banner__card {
		padding: 100px 60px;
		min-height: 480px;
	}
}

/* Tablet (≤991px) */
@media screen and (max-width: 991px) {
	.about-cta-banner__card {
		padding: 64px 32px;
		min-height: 360px;
		border-radius: 22px;
	}
}

/* Mobile (≤767px) */
@media screen and (max-width: 767px) {
	.about-cta-banner {
		padding: 0 0 80px;
	}

	.about-cta-banner__card {
		padding: 56px 24px;
		min-height: 320px;
		border-radius: 18px;
	}

	.about-cta-banner__heading {
		font-size: clamp(1.6rem, 5vw, 2.2rem);
	}

	.about-cta-banner__btn {
		padding: 12px 28px;
		font-size: 0.9rem;
	}
}
