/**
 * Fixed Departures — extends shared conversion styles.
 *
 * @package HilaireExperiences
 */

@import url("bespoke-journeys.css");

.he-fixed-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;
}

/* Flush hero under global header: remove .site-main top padding from global.css */
.page-template-fixed-departures #primary.site-main {
	padding-top: 0;
}

.page-template-fixed-departures .he-tab-content.block {
	display: block;
}

.page-template-fixed-departures .he-tab-content.hidden {
	display: none !important;
}

.page-template-fixed-departures .border-b-2 {
	border-bottom-width: 2px;
	border-bottom-style: solid;
}

.page-template-fixed-departures .border-black {
	border-bottom-color: #000000;
}

.page-template-fixed-departures .border-transparent {
	border-bottom-color: transparent;
}

.page-template-fixed-departures .text-white {
	color: #ffffff !important;
}

.page-template-fixed-departures .font-bold {
	font-weight: 700;
}

/* Hero overlay title ("Fixed Departures" only) */
.page-template-fixed-departures .he-fixed-hero__headline.he-conv-hero__title {
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.15;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
	max-width: 20ch;
	margin-inline: auto;
}

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

.he-fixed-teaser__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
	margin-top: 2rem;
}

@media (max-width: 800px) {
	.he-fixed-teaser__split {
		grid-template-columns: 1fr;
	}
}

.he-fixed-teaser__media img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 2px;
}

.he-fixed-facts {
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

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

.he-fixed-facts__item {
	background: var(--he-cream);
	border: 1px solid var(--he-mist);
	border-radius: 2px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	align-items: flex-start;
}

.he-fixed-facts__icon {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.he-fixed-facts__label {
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--he-navy);
}

.he-fixed-facts__value {
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	font-weight: 500;
	color: var(--he-charcoal);
}

/* —— Route pills —— */
.he-fixed-route {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-top: 2.5rem;
}

.he-fixed-route__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--he-white);
	border: 1px solid var(--he-mist);
	border-radius: 999px;
	padding: 0.4rem 0.85rem 0.4rem 0.4rem;
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.9rem;
	color: var(--he-navy);
}

.he-fixed-route__thumb {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.he-fixed-route__name {
	font-weight: 600;
}

.he-fixed-route__note {
	font-size: 0.8rem;
	color: var(--he-charcoal);
	opacity: 0.85;
}

.he-fixed-route__arrow {
	color: var(--he-terracotta);
	font-size: 1rem;
}

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

.he-email-capture__inner {
	text-align: center;
	max-width: 36rem;
	margin-inline: auto;
}

.he-section-intro {
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 0 2rem;
}

.he-section-intro--light {
	color: rgba(255, 255, 255, 0.92);
}

.he-lead-form__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-bottom: 1rem;
}

.he-lead-form__input {
	font-family: Inter, system-ui, sans-serif;
	font-size: 1rem;
	padding: 0.75rem 1rem;
	min-width: min(100%, 220px);
	border-radius: 2px;
	border: 1px solid var(--he-mist);
	background: var(--he-white);
	color: var(--he-charcoal);
}

.he-lead-form__gdpr {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	text-align: left;
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.85rem;
	line-height: 1.45;
	margin: 1rem auto 1.25rem;
	max-width: 36rem;
	color: rgba(255, 255, 255, 0.92);
}

.he-lead-form__gdpr input {
	margin-top: 0.2rem;
}

.he-email-capture .he-conv-btn--primary {
	margin-top: 0.25rem;
}

.he-lead-form__message {
	margin-top: 1rem;
	font-family: Inter, system-ui, sans-serif;
	font-size: 0.95rem;
}

.he-lead-form__message--success {
	color: var(--he-gold);
}

.he-lead-form__message--error {
	color: #ffb4a8;
}

/* —— Fixed Departures hero (image only; height aligned with Bespoke) —— */
.page-template-fixed-departures .hero-section.he-conv-hero {
	min-height: min(60vh, 600px);
	max-height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* —— Sticky sub-navigation (tab triggers; same interaction model as Bespoke) —— */
.page-template-fixed-departures .sticky-sub-nav {
	position: sticky;
	top: var(--site-header-height, 76px);
	z-index: 99;
	background-color: #ffffff;
	border-bottom: 1px solid #eaeaea;
	width: 100%;
	padding: 15px 0;
}

.page-template-fixed-departures .he-fixed-sub-nav__tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 40px;
	max-width: 1120px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 4vw, 2rem);
}

.page-template-fixed-departures .he-fixed-sub-nav__tabs .he-tab-btn {
	font-family: Inter, system-ui, sans-serif;
	text-decoration: none;
	color: #122738;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition:
		color 0.3s ease,
		border-color 0.2s ease;
	background: transparent;
	border-top: none;
	border-right: none;
	border-left: none;
	cursor: pointer;
	padding: 0.25rem 0.125rem;
}

.page-template-fixed-departures .he-fixed-sub-nav__tabs .he-tab-btn:hover,
.page-template-fixed-departures .he-fixed-sub-nav__tabs .he-tab-btn:focus-visible {
	color: #d1b37b;
	outline: none;
}
