/**
 * Tour archive — post-listing engagement section
 */

.tt-tours-engage {
	position: relative;
	padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5rem);
	overflow: hidden;
	isolation: isolate;
}

.tt-tours-engage__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, #faf5ff 0%, #ede9fe 35%, #fef3c7 70%, #fce7f3 100%);
	z-index: 0;
}

.tt-tours-engage__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.55;
	pointer-events: none;
}

.tt-tours-engage__orb--1 {
	width: min(420px, 55vw);
	height: min(420px, 55vw);
	top: -12%;
	left: -8%;
	background: rgba(124, 58, 237, 0.45);
	animation: tt-engage-orb-1 14s ease-in-out infinite;
}

.tt-tours-engage__orb--2 {
	width: min(360px, 48vw);
	height: min(360px, 48vw);
	bottom: -18%;
	right: -6%;
	background: rgba(20, 184, 166, 0.4);
	animation: tt-engage-orb-2 16s ease-in-out infinite 1s;
}

.tt-tours-engage__orb--3 {
	width: min(280px, 38vw);
	height: min(280px, 38vw);
	top: 35%;
	right: 28%;
	background: rgba(251, 191, 36, 0.35);
	animation: tt-engage-orb-3 12s ease-in-out infinite 2s;
}

@keyframes tt-engage-orb-1 {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(30px, 20px, 0) scale(1.08);
	}
}

@keyframes tt-engage-orb-2 {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(-24px, -16px, 0) scale(1.06);
	}
}

@keyframes tt-engage-orb-3 {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}
	50% {
		transform: translate3d(18px, -22px, 0);
	}
}

.tt-tours-engage .container {
	position: relative;
	z-index: 1;
}

.tt-tours-engage__head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 2.25rem;
}

.tt-tours-engage__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--tt-primary) 0%, var(--tt-primary-dark) 100%);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
	box-shadow: 0 8px 24px rgba(var(--tt-primary-rgb), 0.35);
}

.tt-tours-engage__title {
	font-size: clamp(1.65rem, 3.5vw, 2.35rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--tt-dark);
	margin: 0 0 0.75rem;
}

.tt-tours-engage__subtitle {
	font-size: clamp(0.98rem, 1.6vw, 1.1rem);
	line-height: 1.65;
	color: var(--tt-muted);
	margin: 0;
}

.tt-tours-engage__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 1.15rem;
}

.tt-tours-engage__card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.35rem 1.35rem 1.25rem;
	border-radius: 1.25rem;
	text-decoration: none;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow:
		0 4px 16px rgba(15, 23, 42, 0.08),
		0 16px 40px rgba(15, 23, 42, 0.1);
	transition:
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.35s ease;
	overflow: hidden;
	position: relative;
}

.tt-tours-engage__card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, transparent 55%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.tt-tours-engage__card:hover {
	transform: translateY(-6px);
	box-shadow:
		0 8px 24px rgba(15, 23, 42, 0.12),
		0 24px 56px rgba(15, 23, 42, 0.16);
	color: #fff;
}

.tt-tours-engage__card:hover::before {
	opacity: 1;
}

.tt-tours-engage__card--violet {
	background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 52%, #5b21b6 100%);
}

.tt-tours-engage__card--teal {
	background: linear-gradient(145deg, #2dd4bf 0%, #0d9488 52%, #0f766e 100%);
}

.tt-tours-engage__card--gold {
	background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 52%, #d97706 100%);
	color: var(--tt-dark);
}

.tt-tours-engage__card--gold .tt-tours-engage__card-text {
	color: rgba(30, 16, 51, 0.78);
}

.tt-tours-engage__card--gold .tt-tours-engage__card-link {
	color: var(--tt-dark);
}

.tt-tours-engage__card--green {
	background: linear-gradient(145deg, #34d399 0%, #059669 52%, #047857 100%);
}

.tt-tours-engage__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 1rem;
	background: rgba(255, 255, 255, 0.2);
	font-size: 1.35rem;
	flex-shrink: 0;
}

.tt-tours-engage__card--gold .tt-tours-engage__card-icon {
	background: rgba(30, 16, 51, 0.12);
	color: var(--tt-dark);
}

.tt-tours-engage__card-body {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1;
}

.tt-tours-engage__card-title {
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.tt-tours-engage__card-text {
	font-size: 0.875rem;
	line-height: 1.55;
	opacity: 0.92;
	color: rgba(255, 255, 255, 0.9);
}

.tt-tours-engage__card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: auto;
	padding-top: 0.65rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--tt-accent);
	transition: gap 0.25s ease;
}

.tt-tours-engage__card:hover .tt-tours-engage__card-link {
	gap: 0.55rem;
}

.tt-tours-engage__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.5rem;
	margin-top: 2rem;
	padding-top: 1.75rem;
	border-top: 1px dashed rgba(var(--tt-primary-rgb), 0.2);
}

.tt-tours-engage__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.7rem 1.25rem;
	border: none;
	border-radius: 999px;
	background: #fff;
	color: var(--tt-primary);
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(var(--tt-primary-rgb), 0.15);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		background 0.25s ease;
}

.tt-tours-engage__pill:hover {
	transform: translateY(-2px);
	background: var(--tt-primary);
	color: #fff;
	box-shadow: 0 10px 28px rgba(var(--tt-primary-rgb), 0.3);
}

.tt-tours-engage__trust {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--tt-muted);
}

.tt-tours-engage__trust i {
	color: var(--tt-primary);
}

@media (max-width: 575.98px) {
	.tt-tours-engage__footer {
		flex-direction: column;
		text-align: center;
	}

	.tt-tours-engage__pill {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tt-tours-engage__orb {
		animation: none;
	}

	.tt-tours-engage__card {
		transition: none;
	}
}
