/**
 * CTA section stylesheet.
 *
 * Design Direction: Premium immersive dark call-to-action
 * DFII Score: 18
 *
 * @package Vantage_Journeys
 */

.vj-cta {
	margin-inline: 8px;
	margin-block-end: 0; /* Let .site-main's padding-bottom handle footer transition spacing */
	position: relative;
	z-index: 1;
}

.vj-cta__wrapper {
	position: relative;
	z-index: 1;
	background-color: var(--surface-brand-default); /* Vantage brand blue canvas */
	border-radius: 15px;
	padding-top: 50px;
	overflow: hidden;
}

/* Align columns on desktop: traveler image rests on the border, text is vertically centered */
@media screen and (min-width: 992px) {
	.vj-cta__wrapper .row {
		align-items: stretch !important;
	}
	.vj-cta__wrapper .row > .col-lg-7 {
		align-self: center;
	}
	.vj-cta__wrapper .row > .col-lg-5 {
		align-self: flex-end;
	}
}

/* Background shapes & decorations (Z-index 1: in front of background color, behind content) */
.vj-cta__shape {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	will-change: transform;
}

@media screen and (max-width: 1199.98px) {
	.vj-cta__shape {
		display: none;
	}
}

.vj-cta__shape--one {
	top: 80px;
	left: 55px;
}

@media (max-width: 1650px) {
	.vj-cta__shape--one {
		top: 30px;
		left: 0;
	}
}

@media (max-width: 1399.98px) {
	.vj-cta__shape--one {
		top: 30px;
		left: 20px;
	}
	.vj-cta__shape--one img {
		width: 60%;
	}
}

.vj-cta__shape--two {
	top: 75px;
	right: 44px;
}

@media (max-width: 1399.98px) {
	.vj-cta__shape--two {
		display: none;
	}
}

.vj-cta__map-bg {
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 40px;
	width: 50%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left bottom;
	filter: brightness(0) invert(1); /* Invert black image to white for dark blue background contrast */
	opacity: 0.95; /* Faded styling for subtle premium layout */
	pointer-events: none;
}

/* Content Box layout (Z-index 2: in front of background shapes and map bg) */
.vj-cta__content {
	position: relative;
	z-index: 2;
	padding-bottom: 52px;
}

@media screen and (min-width: 992px) {
	.vj-cta__content {
		padding-bottom: 0;
	}
}

@media (max-width: 1399.98px) {
	.vj-cta__content {
		padding-right: 30px;
	}
}

@media screen and (max-width: 991.98px) {
	.vj-cta__content {
		margin-bottom: 20px;
		padding-right: 0;
		padding-bottom: 20px;
	}
}

.vj-cta__eyebrow {
	display: block;
	margin-block-end: var(--space-sm);
	font-family: var(--font-family-accent);
	font-size: var(--type-h3);
	font-weight: 700;
	letter-spacing: var(--ls-widest, 0.08em);
	color: var(--color-brand-secondary); /* Brand Gold accent */
}

.vj-cta__title {
	color: var(--color-white);
	margin-bottom: 15px;
	font-family: var(--font-family-primary);
	font-size: var(--type-h2);
	font-weight: var(--font-weight-extrabold);
	line-height: var(--lh-tight, 1.25);
}

@media (max-width: 1650px) {
	.vj-cta__title {
		font-size: 48px;
	}
}

@media (max-width: 1399.98px) {
	.vj-cta__title {
		font-size: 38px;
		line-height: 1.3;
	}
}

@media screen and (max-width: 1199.98px) {
	.vj-cta__title {
		font-size: 32px;
		line-height: 1.4;
	}
}

@media (max-width: 767.98px) {
	.vj-cta__title {
		font-size: 24px;
		line-height: 1.45;
	}
}

.vj-cta__description {
	color: var(--color-neutral-50);
	max-width: 575px;
	margin-bottom: 25px;
	font-family: var(--font-family-body);
	font-size: var(--font-size-md);
	line-height: var(--lh-relaxed, 1.6);
}

.vj-cta__button {
	display: inline-block;
}

/* Image Visual Box (Z-index 2: in front of shapes and map) */
.vj-cta__image-box {
	position: relative;
	z-index: 2;
	margin-top: -10px;
	will-change: transform;
}

.vj-cta__image-box img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-inline: auto;
}

@media screen and (max-width: 991.98px) {
	.vj-cta__image-box {
		margin-top: 20px;
	}
}

/* ─────────────────────────────────────────────────────────────
   Reduced Motion
   ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	.vj-cta__shape,
	.vj-cta__image-box {
		transform: none !important;
		transition: none !important;
	}
}
