/**
 * Bespoke Journeys — conversion page (scoped tokens + shared conversion UI).
 *
 * @package HilaireExperiences
 */

.he-bespoke-page {
	--he-navy: #1b3a4b;
	--he-gold: #c9a96e;
	--he-cream: #faf8f5;
	--he-white: #ffffff;
	--he-charcoal: #2d2d2d;
	--he-mist: #e8e4df;
	--he-terracotta: #c17c4e;
	--he-reveal-duration: 0.6s;
	--he-reveal-shift: 20px;
	--he-bespoke-nav-h: 3.25rem;
}

.he-bespoke-page .text-white {
	color: var(--he-white);
}

.he-bespoke-page .font-bold {
	font-weight: 700;
}

.he-bespoke-page .block {
	display: block;
}

.he-bespoke-page .hidden {
	display: none !important;
}

.he-bespoke-page .border-b-2 {
	border-bottom-width: 2px;
	border-bottom-style: solid;
}

.he-bespoke-page .border-black {
	border-bottom-color: #000000;
}

.he-bespoke-page .border-transparent {
	border-bottom-color: transparent;
}

.he-conv-container {
	width: 100%;
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.he-conv-section-title {
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-weight: 600;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--he-navy);
	text-align: center;
	margin: 0 0 1.25rem;
}

.he-conv-section-title--light {
	color: var(--he-white);
}

.he-conv-section-intro {
	font-family: Inter, system-ui, sans-serif;
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--he-charcoal);
	text-align: center;
	max-width: 52ch;
	margin: 0 auto 2.5rem;
}

.he-conv-prose {
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--he-charcoal);
}

.he-reveal {
	opacity: 0;
	transform: translateY(var(--he-reveal-shift));
	transition:
		opacity var(--he-reveal-duration) ease,
		transform var(--he-reveal-duration) ease;
}

.he-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* —— Hero —— */
.he-conv-hero {
	position: relative;
	min-height: min(60vh, 600px);
	max-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
	background-color: var(--he-navy);
	background-image: var(--he-conv-hero-bg, none);
	background-size: cover;
	background-position: center;
	color: var(--he-white);
}

.he-conv-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(27, 58, 75, 0.3),
		rgba(27, 58, 75, 0.72)
	);
	pointer-events: none;
}

.he-conv-hero__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	width: 100%;
	max-width: 56rem;
	margin-inline: auto;
}

.he-conv-hero__title {
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: clamp(2.25rem, 6vw, 3.75rem);
	line-height: 1.1;
	margin: 0;
	max-width: 22ch;
	margin-inline: auto;
}

.he-conv-hero__title.font-bold {
	font-weight: 700;
}

.he-conv-hero__title.text-white {
	color: var(--he-white);
}

/* —— Sticky mini-nav (below hero) —— */
.he-bespoke-mini-nav {
	position: sticky;
	top: var(--site-header-height, 76px);
	z-index: 50;
	background-color: var(--he-white);
	border-bottom: 1px solid #e5e7eb;
}

.he-bespoke-mini-nav__inner {
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.he-bespoke-mini-nav__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: clamp(1rem, 4vw, 2.75rem);
	margin: 0;
	padding: 0.875rem 0;
	min-height: var(--he-bespoke-nav-h);
	box-sizing: border-box;
}

.he-bespoke-mini-nav__tabs .he-tab-btn {
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--he-navy);
	background: transparent;
	border-top: none;
	border-right: none;
	border-left: none;
	cursor: pointer;
	padding: 0.25rem 0.125rem;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.he-bespoke-mini-nav__tabs .he-tab-btn:hover,
.he-bespoke-mini-nav__tabs .he-tab-btn:focus-visible {
	color: var(--he-gold);
	outline: none;
}

.he-conv-hero__sub {
	font-family: Inter, system-ui, sans-serif;
	font-size: 1.1rem;
	line-height: 1.65;
	max-width: 40ch;
	margin: 0 0 1.75rem;
	opacity: 0.95;
}

.he-conv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Inter, system-ui, sans-serif;
	font-weight: 500;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 2px;
	padding: 0.85rem 1.75rem;
	border: 2px solid transparent;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.he-conv-btn--primary {
	background-color: var(--he-gold);
	color: var(--he-navy);
	border-color: var(--he-gold);
}

.he-conv-btn--primary:hover,
.he-conv-btn--primary:focus-visible {
	background-color: var(--he-navy);
	color: var(--he-gold);
	border-color: var(--he-gold);
}

.he-conv-btn--outline {
	background-color: transparent;
	color: var(--he-navy);
	border-color: var(--he-gold);
}

.he-conv-btn--outline:hover,
.he-conv-btn--outline:focus-visible {
	background-color: var(--he-gold);
	color: var(--he-navy);
}

/* —— Social proof —— */
.he-conv-proof {
	background: var(--he-cream);
	padding: clamp(4rem, 10vw, 6rem) 0;
}

.he-conv-proof__narrative {
	max-width: 70ch;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.he-conv-testimonials {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

@media (max-width: 900px) {
	.he-conv-testimonials {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 1rem;
		padding-bottom: 0.5rem;
		-webkit-overflow-scrolling: touch;
	}

	.he-conv-testimonial {
		flex: 0 0 min(85vw, 320px);
		scroll-snap-align: start;
	}
}

.he-conv-testimonial {
	background: var(--he-white);
	border: 1px solid var(--he-mist);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.he-conv-testimonial__photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}

.he-conv-testimonial__quote {
	margin: 0;
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--he-charcoal);
}

.he-conv-testimonial__name {
	font-style: normal;
	font-family: Inter, system-ui, sans-serif;
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	color: var(--he-navy);
}

/* —— Destination mosaic —— */
.he-conv-mosaic {
	background: var(--he-white);
	padding: clamp(4rem, 10vw, 6rem) 0;
}

.he-conv-mosaic--placeholder {
	outline: 1px dashed rgba(27, 58, 75, 0.2);
	outline-offset: 0.5rem;
}

.he-conv-country-group {
	margin-bottom: clamp(3rem, 8vw, 5rem);
}

.he-conv-country-heading {
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: 1.5rem;
	color: var(--he-navy);
	margin: 0 0 1.25rem;
}

.he-conv-dest-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1rem;
}

.he-conv-dest-card {
	position: relative;
	min-height: 220px;
	border-radius: 2px;
	overflow: hidden;
	text-decoration: none;
	color: var(--he-white);
	background-color: var(--he-navy);
	background-image: var(--he-conv-card-bg, none);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
}

.he-conv-dest-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(27, 58, 75, 0.88),
		rgba(27, 58, 75, 0.15)
	);
}

.he-conv-dest-card__body {
	position: relative;
	z-index: 1;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.he-conv-dest-card__name {
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 600;
}

.he-conv-dest-card__desc {
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.85rem;
	line-height: 1.45;
	opacity: 0.92;
}

/* —— Process —— */
.he-conv-process {
	background: var(--he-navy);
	color: var(--he-white);
	padding: clamp(4rem, 10vw, 6rem) 0;
}

.he-conv-process__timeline {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 700px) {
	.he-conv-process__timeline {
		grid-template-columns: 1fr;
	}
}

.he-conv-process__step {
	border-top: 2px solid var(--he-gold);
	padding-top: 1rem;
}

.he-conv-process__icon {
	width: 48px;
	height: 48px;
	object-fit: contain;
	margin-bottom: 0.5rem;
}

.he-conv-process__num {
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--he-gold);
	display: block;
	margin-bottom: 0.35rem;
}

.he-conv-process__title {
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
}

.he-conv-process__desc {
	font-size: 0.9rem;
	opacity: 0.92;
}

.he-conv-process__desc p {
	margin: 0 0 0.5rem;
}

/* —— Final CTA —— */
.he-conv-final-cta {
	background: var(--he-cream);
	padding: clamp(4rem, 10vw, 5.5rem) 0;
	text-align: center;
}

.he-conv-final-cta__title {
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	color: var(--he-navy);
	margin: 0 0 1.25rem;
}

.he-conv-final-cta__contact {
	margin: 1.5rem 0 0;
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.95rem;
}

.he-conv-final-cta__contact a {
	color: var(--he-navy);
}

/* —— Crossover —— */
.he-conv-crossover {
	position: relative;
	padding: clamp(4rem, 10vw, 6rem) 0;
	background-color: var(--he-mist);
	background-image: var(--he-conv-cross-bg, none);
	background-size: cover;
	background-position: center;
}

.he-conv-crossover__overlay {
	position: absolute;
	inset: 0;
	background: rgba(250, 248, 245, 0.88);
	pointer-events: none;
}

.he-conv-crossover__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 56ch;
	margin-inline: auto;
}

.he-conv-crossover__text {
	margin: 0 auto 1.5rem;
}

.he-conv-crossover .he-conv-btn {
	margin-top: 0.5rem;
}

/* ─── Circuits Privatifs (slug page) — GSAP process refactor ─── */
.he-cp-page .he-bespoke-mini-nav__tabs {
	gap: clamp(1rem, 3vw, 2.75rem);
}

.he-cp-page .he-cp-anchor {
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.69rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--he-navy);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	padding: 0.25rem 0.15rem;
}

.he-cp-page .he-cp-anchor:hover,
.he-cp-page .he-cp-anchor:focus-visible {
	color: var(--he-gold);
	border-bottom-color: var(--he-gold);
}

.he-cp-process {
	background: var(--he-navy);
	color: var(--he-white);
	padding: clamp(4rem, 10vw, 6rem) 0;
}

.he-cp-process .he-conv-section-title {
	margin-bottom: 2rem;
}

.he-cp-process__pin {
	position: relative;
	min-height: 100vh;
}

.he-cp-process__layout {
	display: grid;
	grid-template-columns: minmax(300px, 44%) minmax(0, 56%);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	min-height: 100vh;
}

.he-cp-process__steps {
	position: relative;
	min-height: 320px;
}

.he-cp-process__step {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(22px);
	pointer-events: none;
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.he-cp-process__step.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.he-cp-process__num {
	display: block;
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--he-gold);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.he-cp-process__title {
	margin: 0 0 0.8rem;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: clamp(1.7rem, 3.2vw, 2.45rem);
	line-height: 1.15;
	color: var(--he-white);
}

.he-cp-process__desc {
	margin: 0;
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.9);
	max-width: 46ch;
}

.he-cp-process__media {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 2px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
}

.he-cp-process__media-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.he-cp-process__media-item.is-active {
	opacity: 1;
}

.he-cp-process__media-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.he-cp-process__pin {
		min-height: auto;
	}

	.he-cp-process__layout {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.he-cp-process__steps {
		min-height: auto;
		display: grid;
		gap: 1rem;
	}

	.he-cp-process__step {
		position: static;
		opacity: 1;
		transform: none;
		pointer-events: auto;
		border-top: 1px solid rgba(255, 255, 255, 0.2);
		padding-top: 1rem;
	}

	.he-cp-process__step:first-child {
		border-top: 0;
		padding-top: 0;
	}

	.he-cp-process__media {
		aspect-ratio: 16 / 10;
	}
}
