/**
 * Homepage layout variations — Heritage, Split, Glass + variant switcher
 */

/* ── Variant switcher bar ─────────────────────────────────────────────────── */
.st-variant-bar {
	position: sticky;
	top: calc(var(--st-header-height) + 0.5rem);
	z-index: 40;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
	margin: 0.75rem 1rem 0;
	padding: 0.55rem 0.85rem;
	background: var(--st-ink);
	color: #fff;
	border-radius: var(--st-radius-pill);
	box-shadow: var(--st-shadow);
	max-width: var(--st-container-wide);
	margin-inline: auto;
}

.st-variant-bar-label {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgb(255 255 255 / 0.55);
}

.st-variant-bar-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.st-variant-bar-link {
	padding: 0.35rem 0.85rem;
	border-radius: var(--st-radius-pill);
	font-size: 0.75rem;
	font-weight: 600;
	color: rgb(255 255 255 / 0.75);
	text-decoration: none;
	border: 1px solid transparent;
	transition: background var(--st-duration), color var(--st-duration);
}

.st-variant-bar-link:hover {
	color: #fff;
	background: rgb(255 255 255 / 0.1);
}

.st-variant-bar-link.is-active {
	background: #fff;
	color: var(--st-ink);
}

/* ═══ HERITAGE — original site structure ═══════════════════════════════════ */
.st-home--heritage {
	background: var(--st-bg);
}

.hg-hero {
	position: relative;
	min-height: clamp(22rem, 50vh, 32rem);
	margin-top: calc(var(--st-header-height) * -1);
	padding-top: var(--st-header-height);
}

.hg-hero > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hg-hero-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(26 24 20 / 0.75) 0%, rgb(26 24 20 / 0.25) 50%, rgb(26 24 20 / 0.35) 100%);
}

.hg-hero-inner {
	position: relative;
	z-index: 1;
	padding: 4rem 1rem 3rem;
	text-align: center;
	max-width: 42rem;
	margin-inline: auto;
}

.hg-hero-kicker {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.8);
}

.hg-hero-title {
	margin: 0;
	font-family: var(--st-font-serif);
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 600;
	line-height: 1.08;
	color: #fff;
}

.hg-hero-lead {
	margin: 1rem auto 0;
	max-width: 32rem;
	font-size: var(--st-text-sm);
	line-height: 1.65;
	color: rgb(255 255 255 / 0.82);
}

.hg-hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.hg-duo {
	display: grid;
	gap: 2rem;
	padding: var(--st-section-y) 1rem;
}

@media (min-width: 900px) {
	.hg-duo {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

.hg-duo-block h2 {
	margin: 0 0 1rem;
	font-family: var(--st-font-serif);
	font-size: var(--st-h2);
	font-weight: 600;
	color: var(--st-accent);
}

.hg-duo-block p {
	margin: 0 0 0.85rem;
	font-size: var(--st-text-sm);
	line-height: 1.7;
	color: var(--st-muted);
}

.hg-phone {
	display: inline-block;
	margin-top: 0.5rem;
	font-weight: 700;
	color: var(--st-accent);
	text-decoration: none;
}

.hg-section-title {
	margin: 0 0 1.5rem;
	font-family: var(--st-font-serif);
	font-size: var(--st-h2);
	font-weight: 600;
}

.hg-destinations {
	padding: var(--st-section-y) 0;
	background: var(--st-surface);
	border-block: 1px solid var(--st-line);
}

.hg-dest-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.hg-dest-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.hg-dest-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: var(--st-bg);
	border-radius: var(--st-radius);
	overflow: hidden;
	border: 1px solid var(--st-line);
	transition: transform var(--st-duration), box-shadow var(--st-duration);
}

.hg-dest-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--st-shadow);
}

.hg-dest-img {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.hg-dest-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s var(--st-ease);
}

.hg-dest-card:hover .hg-dest-img img {
	transform: scale(1.04);
}

.hg-dest-body {
	padding: 1.25rem;
}

.hg-dest-body h3 {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--st-ink);
}

.hg-dest-body p {
	margin: 0 0 0.75rem;
	font-size: var(--st-text-sm);
	line-height: 1.6;
	color: var(--st-muted);
}

.hg-dest-link {
	font-size: var(--st-text-sm);
	font-weight: 600;
	color: var(--st-accent);
}

.hg-tours {
	padding-bottom: var(--st-section-y);
}

.hg-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.hg-awards {
	padding-bottom: var(--st-section-y);
}

.hg-awards-row {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.hg-awards-row {
		grid-template-columns: repeat(2, 1fr);
	}
}

.hg-awards-row a {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	background: var(--st-surface);
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	text-decoration: none;
	color: var(--st-ink);
	font-size: var(--st-text-sm);
	font-weight: 500;
}

.hg-awards-row img {
	width: 4rem;
	height: auto;
}

.hg-cta {
	padding-bottom: var(--st-section-y);
}

.hg-cta-inner {
	padding: 2.5rem;
	text-align: center;
	background: linear-gradient(135deg, var(--st-accent) 0%, var(--st-accent-2) 100%);
	border-radius: var(--st-radius-lg);
	color: #fff;
}

.hg-cta-inner h2 {
	margin: 0 0 0.5rem;
	font-family: var(--st-font-serif);
	font-size: var(--st-h2);
	font-weight: 600;
}

.hg-cta-inner p {
	margin: 0 0 1.25rem;
	opacity: 0.9;
}

.hg-cta-inner .st-m-btn {
	background: #fff;
	color: var(--st-accent-2);
	box-shadow: none;
}

/* ═══ SPLIT ════════════════════════════════════════════════════════════════ */
.sp-hero {
	padding: calc(var(--st-header-height) + 1.5rem) 1rem var(--st-section-y);
}

.sp-hero-grid {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 960px) {
	.sp-hero-grid {
		grid-template-columns: 1fr 1.05fr;
		gap: 3rem;
	}
}

.sp-hero-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.08;
	color: var(--st-ink);
}

.sp-phone {
	display: inline-block;
	margin-top: 1rem;
	font-weight: 700;
	color: var(--st-accent);
	text-decoration: none;
}

.sp-hero-visual {
	position: relative;
}

.sp-hero-visual > img {
	width: 100%;
	border-radius: var(--st-radius-lg);
	aspect-ratio: 4 / 5;
	object-fit: cover;
	box-shadow: var(--st-shadow);
}

.sp-enquiry-card {
	margin-top: -3rem;
	margin-inline: 1.25rem;
	padding: 1.5rem;
	background: var(--st-surface);
	border-radius: var(--st-radius-lg);
	border: 1px solid var(--st-line);
	box-shadow: var(--st-shadow-lg);
}

.sp-enquiry-card h2 {
	margin: 0 0 0.35rem;
	font-size: 1.125rem;
	font-weight: 700;
}

.sp-enquiry-card > p {
	margin: 0 0 1rem;
	font-size: var(--st-text-sm);
	color: var(--st-muted);
}

.sp-why {
	padding-bottom: var(--st-section-y);
}

.sp-why-grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 900px) {
	.sp-why-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.sp-why-p {
	margin: 0 0 0.85rem;
	font-size: var(--st-text-sm);
	line-height: 1.7;
	color: var(--st-muted);
}

.sp-tours {
	padding-bottom: var(--st-section-y);
	background: var(--st-bg-alt);
}

.sp-regions {
	padding-bottom: var(--st-section-y);
}

.sp-region-pills {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.85rem;
}

@media (min-width: 768px) {
	.sp-region-pills {
		grid-template-columns: repeat(4, 1fr);
	}
}

.sp-region-pill {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	border-radius: var(--st-radius);
	overflow: hidden;
	border: 1px solid var(--st-line);
	background: var(--st-surface);
	transition: transform var(--st-duration);
}

.sp-region-pill:hover {
	transform: translateY(-2px);
}

.sp-region-pill img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.sp-region-pill span {
	padding: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-align: center;
}

/* ═══ GLASS — chosen homepage layout ═══════════════════════════════════════ */
.st-home--glass {
	background: var(--st-bg);
}

.gl-hero {
	position: relative;
	min-height: clamp(34rem, 92vh, 48rem);
	display: flex;
	align-items: flex-end;
	margin-top: calc(var(--st-header-height) * -1);
	padding-top: var(--st-header-height);
	overflow: hidden;
}

.gl-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	transform: scale(1.02);
}

.gl-hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to right, rgb(26 24 20 / 0.55) 0%, rgb(26 24 20 / 0.2) 55%, rgb(26 24 20 / 0.35) 100%),
		linear-gradient(to top, rgb(26 24 20 / 0.9) 0%, rgb(26 24 20 / 0.35) 45%, rgb(26 24 20 / 0.15) 100%);
}

.gl-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--st-container-wide);
	margin-inline: auto;
	padding: 2.5rem clamp(1rem, 3vw, 2rem) 4rem;
}

.gl-hero-kicker {
	margin: 0 0 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.72);
}

.gl-hero-title {
	margin: 0;
	font-family: var(--st-font-serif);
	font-size: clamp(2.5rem, 6vw, 4.25rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: #fff;
	max-width: 13ch;
}

.gl-hero-lead {
	max-width: 32rem;
	margin: 1.15rem 0 0;
	font-size: var(--st-text-sm);
	line-height: 1.75;
	color: rgb(255 255 255 / 0.8);
}

.gl-hero-search {
	margin-top: 2rem;
	max-width: 44rem;
}

.gl-hero-search .hz-search-panel {
	padding: 0.85rem;
	background: rgb(255 255 255 / 0.94);
	border: 1px solid rgb(255 255 255 / 0.98);
	border-radius: var(--st-radius-lg);
	box-shadow: 0 24px 64px rgb(26 24 20 / 0.22);
}

.gl-hero-search .hz-search-fields {
	gap: 0.65rem;
}

.gl-hero-search .hz-field label {
	font-size: 0.625rem;
	letter-spacing: 0.12em;
}

.gl-hero-search .hz-search-links {
	margin-top: 0.65rem;
	padding-top: 0.65rem;
	border-top-color: rgb(26 24 20 / 0.07);
}

.gl-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.35rem;
}

.gl-hero-actions .st-m-btn--ghost {
	border-color: rgb(255 255 255 / 0.45);
	color: #fff;
	background: rgb(255 255 255 / 0.08);
}

.gl-hero-actions .st-m-btn--ghost:hover {
	background: rgb(255 255 255 / 0.16);
	border-color: rgb(255 255 255 / 0.65);
}

/* Why Tibet + Why Us */
.gl-duo {
	display: grid;
	gap: 2.5rem;
	padding: var(--st-section-y) 1rem;
}

@media (min-width: 900px) {
	.gl-duo {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
}

.gl-duo-block h2 {
	margin: 0 0 1rem;
	font-family: var(--st-font-serif);
	font-size: var(--st-h2);
	font-weight: 600;
	color: var(--st-accent);
}

.gl-duo-block p {
	margin: 0 0 0.85rem;
	font-size: var(--st-text-sm);
	line-height: 1.75;
	color: var(--st-muted);
}

.gl-phone {
	display: inline-block;
	margin-top: 0.35rem;
	font-weight: 700;
	color: var(--st-accent);
	text-decoration: none;
}

/* Destinations — old site cards, modern overlay */
.gl-destinations {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: var(--st-section-y);
	padding-bottom: var(--st-section-y);
	background-image: url("../branding/deco/about_deco-1.png");
	background-repeat: no-repeat;
	background-position: right -6% top 12%;
	background-size: min(28vw, 18rem) auto;
}

.gl-destinations > .st-m-container {
	position: relative;
	z-index: 1;
}

.gl-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
}

.gl-dest-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.gl-dest-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.gl-dest-card {
	position: relative;
	display: block;
	min-height: 18rem;
	border-radius: var(--st-radius-lg);
	overflow: hidden;
	text-decoration: none;
	box-shadow: var(--st-shadow-sm);
	transition: transform var(--st-duration) var(--st-ease), box-shadow var(--st-duration);
}

.gl-dest-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--st-shadow);
}

.gl-dest-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--st-ease);
}

.gl-dest-card:hover img {
	transform: scale(1.05);
}

.gl-dest-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem;
	background: linear-gradient(
		to top,
		rgb(10 9 8 / 0.9) 0%,
		rgb(10 9 8 / 0.55) 42%,
		transparent 78%
	);
	color: #fff;
}

.gl-dest-overlay h3 {
	margin: 0 0 0.35rem;
	font-family: var(--st-font-serif);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.15;
}

.gl-dest-overlay p {
	margin: 0 0 0.65rem;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: rgb(255 255 255 / 0.78);
	max-width: 32ch;
}

.gl-dest-overlay span {
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgb(255 255 255 / 0.95);
}

/* Horizontal tour scroll */
.gl-scroll-section {
	padding: 0 0 var(--st-section-y);
	background: var(--st-surface);
	border-block: 1px solid var(--st-line);
}

.gl-hscroll {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	padding: 0 1rem 1.25rem;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 1rem;
	-webkit-overflow-scrolling: touch;
}

.gl-hscroll::-webkit-scrollbar {
	height: 5px;
}

.gl-hscroll::-webkit-scrollbar-thumb {
	background: var(--st-line-strong);
	border-radius: 999px;
}

.gl-hcard {
	flex: 0 0 min(82vw, 300px);
	scroll-snap-align: start;
	position: relative;
	border-radius: var(--st-radius-lg);
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	min-height: 24rem;
	box-shadow: var(--st-shadow-sm);
	transition: transform var(--st-duration);
}

.gl-hcard:hover {
	transform: translateY(-3px);
}

.gl-hcard > img {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	transition: transform 0.5s var(--st-ease);
}

.gl-hcard:hover > img {
	transform: scale(1.04);
}

.gl-hcard-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.35rem;
	background: linear-gradient(to top, rgb(26 24 20 / 0.85) 0%, transparent 55%);
}

.gl-hcard-region,
.gl-hcard-dur {
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
}

.gl-hcard-overlay h3 {
	margin: 0.4rem 0 0;
	font-family: var(--st-font-serif);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.25;
}

/* Awards */
.gl-awards-band {
	display: grid;
	gap: 0.85rem;
	padding-bottom: var(--st-section-y);
}

@media (min-width: 640px) {
	.gl-awards-band {
		grid-template-columns: repeat(2, 1fr);
	}
}

.gl-award-chip {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.15rem;
	background: var(--st-surface);
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	text-decoration: none;
	color: var(--st-ink);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
	transition: border-color var(--st-duration);
}

.gl-award-chip:hover {
	border-color: var(--st-accent);
}

.gl-award-chip img {
	width: 3.5rem;
	height: auto;
	flex-shrink: 0;
}

/* CTA — old site contact strip */
.gl-cta {
	padding: var(--st-section-y) 1rem;
	background: linear-gradient(135deg, var(--st-accent) 0%, var(--st-accent-2) 100%);
}

.gl-cta-inner {
	text-align: center;
	color: #fff;
}

.gl-cta-inner h2 {
	margin: 0 0 0.65rem;
	font-family: var(--st-font-serif);
	font-size: var(--st-h2);
	font-weight: 600;
}

.gl-cta-email {
	display: block;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgb(255 255 255 / 0.95);
	text-decoration: none;
}

.gl-cta-email:hover {
	text-decoration: underline;
}

.gl-cta-inner .st-m-btn--white {
	background: #fff;
	color: var(--st-accent-2);
	box-shadow: none;
}

/* Glass FAQ tweaks */
.st-home--glass .st-m-section--muted {
	background: var(--st-bg);
}

.st-home--glass .st-m-heading {
	font-family: var(--st-font-serif);
	font-weight: 600;
}
