.gecko-hero-slider {
	position: relative;
	width: 100%;
	height: var(--gecko-hero-height, 543px);
	overflow: hidden;
	background: #111;
}

.gecko-hero-slider__viewport {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.gecko-hero-slider__track {
	display: flex;
	width: 100%;
	height: 100%;
	transform: translate3d(0, 0, 0);
	transition: transform 0.7s ease;
	will-change: transform;
}

.gecko-hero-slider.is-instant .gecko-hero-slider__track {
	transition: none;
}

.gecko-hero-slider__slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
}

.gecko-hero-slider__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	user-select: none;
	-webkit-user-drag: none;
}

.gecko-hero-slider__thumbs {
	position: absolute;
	left: 50%;
	bottom: 20px;
	z-index: 5;
	display: flex;
	gap: 10px;
	transform: translateX(-50%);
}

.gecko-hero-slider__thumb {
	width: 100px;
	height: 50px;
	padding: 0;
	border: 3px solid rgba(252, 138, 62, 0.25);
	border-radius: 2px;
	background-color: #222;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	opacity: 0.85;
	transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.gecko-hero-slider__thumb:hover,
.gecko-hero-slider__thumb:focus-visible {
	opacity: 1;
	border-color: #ffffff;
	outline: none;
}

.gecko-hero-slider__thumb.is-active {
	opacity: 1;
	border-color: #ffffff;
	transform: translateY(-2px);
}

@media (max-width: 767px) {
	.gecko-hero-slider__thumbs {
		bottom: 12px;
		gap: 8px;
	}

	.gecko-hero-slider__thumb {
		width: 72px;
		height: 40px;
		border-width: 2px;
	}
}

.gecko-hero-slider--home {
	height: var(--gecko-hero-height, 620px);
}

.gecko-hero-slider--home .gecko-hero-slider__slide img {
	object-position: 80% center;
}

.gecko-hero-slider--home .gecko-hero-slider__viewport::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	/* Text wash only; gorilla (right) stays fully clear */
	background: linear-gradient(
		90deg,
		rgba(255, 252, 247, 0.92) 0%,
		rgba(255, 252, 247, 0.72) 16%,
		rgba(255, 252, 247, 0.28) 28%,
		rgba(255, 252, 247, 0.06) 36%,
		rgba(255, 252, 247, 0) 42%,
		transparent 100%
	);
}

.gecko-hero-slider__overlay {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: min(580px, 46%);
	padding: 56px 24px 56px 7%;
	color: #1c3b2a;
}

.gecko-hero-slider__eyebrow {
	margin: 0 0 10px;
	font-family: "Great Vibes", "Playfair Display", serif;
	font-size: 38px;
	line-height: 1.1;
	color: #c4a35a;
}

.gecko-hero-slider__eyebrow::after {
	content: "";
	display: block;
	width: 78px;
	height: 8px;
	margin-top: 8px;
	background: repeating-linear-gradient(-45deg, #c4a35a, #c4a35a 2px, transparent 2px, transparent 5px);
}

.gecko-hero-slider__title {
	margin: 0 0 6px !important;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.7rem, 3.2vw, 2.7rem) !important;
	font-weight: 700;
	line-height: 1.15 !important;
	text-transform: uppercase;
	color: #145c32 !important;
	letter-spacing: 0.01em;
	border: 0 !important;
	padding: 0 !important;
	background: none;
}

.gecko-hero-slider__title::after {
	display: none !important;
}

.gecko-hero-slider__byline {
	margin: 0 0 14px;
	font-family: "Playfair Display", Georgia, serif;
	font-style: italic;
	font-size: 18px;
	color: #c4a35a;
}

.gecko-hero-slider__excerpt {
	margin: 0 0 22px;
	max-width: 34em;
	font-size: 14px;
	line-height: 1.65;
	color: #2f4338;
}

.gecko-hero-slider__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin-bottom: 22px;
	padding: 12px 22px;
	background: #145c32;
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	border-radius: 0;
}

.gecko-hero-slider__cta::after {
	content: "\2192";
	font-size: 14px;
}

.gecko-hero-slider__cta:hover {
	background: #0e4626;
	color: #fff !important;
}

.gecko-hero-slider__trust {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gecko-hero-slider__trust li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	flex: 1;
	min-width: 0;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.3;
	color: #1c3b2a;
}

.gecko-hero-slider__trust i {
	color: #c4a35a;
	font-size: 16px;
}

.gecko-hero-slider__video {
	position: absolute;
	right: 7%;
	top: 40%;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: inherit;
	text-align: left;
	text-decoration: none !important;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
	cursor: pointer;
	appearance: none;
}

.gecko-hero-slider__video:hover,
.gecko-hero-slider__video:focus-visible {
	color: #fff;
}

.gecko-hero-slider__video-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	color: #c4a35a;
}

.gecko-hero-slider__video-text small {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.gecko-hero-slider__play {
	display: inline-flex;
	width: 46px;
	height: 46px;
	border: 2px solid #c4a35a;
	border-radius: 50%;
	box-shadow: 0 0 0 8px rgba(196, 163, 90, 0.18);
	background: rgba(255, 255, 255, 0.12);
}

.gecko-hero-slider__play::before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin: auto;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent #c4a35a;
	transform: translateX(2px);
}

.gecko-hero-slider--home .gecko-hero-slider__thumbs {
	left: auto;
	right: 7%;
	bottom: 28px;
	transform: none;
	z-index: 6;
}

@media (max-width: 991px) {
	.gecko-hero-slider--home {
		height: auto;
	}

	.gecko-hero-slider--home .gecko-hero-slider__viewport {
		height: 360px;
	}

	.gecko-hero-slider--home .gecko-hero-slider__viewport::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(255, 252, 247, 0.2) 100%);
	}

	.gecko-hero-slider__overlay {
		position: relative;
		width: 100%;
		padding: 28px 20px 20px;
		background: #fffdf8;
	}

	.gecko-hero-slider__video {
		position: absolute;
		top: 280px;
		right: 20px;
	}

	.gecko-hero-slider--home .gecko-hero-slider__thumbs {
		right: 20px;
		bottom: auto;
		top: 300px;
	}
}

@media (max-width: 767px) {
	.gecko-hero-slider__trust {
		flex-wrap: wrap;
	}

	.gecko-hero-slider__trust li {
		flex: 1 1 42%;
	}

	.gecko-hero-slider__eyebrow {
		font-size: 28px;
	}

	.gecko-hero-slider__video {
		top: 220px;
		right: 16px;
	}
}

.gecko-hero-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.gecko-hero-video-modal[hidden] {
	display: none !important;
}

.gecko-hero-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
}

.gecko-hero-video-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(1280px, calc(100vw - 32px), calc((100dvh - 32px) * 16 / 9));
	aspect-ratio: 16 / 9;
	height: auto;
	max-height: calc(100dvh - 32px);
	background: #000;
	border-radius: 8px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
	overflow: hidden;
}

.gecko-hero-video-modal__frame {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #000;
}

.gecko-hero-video-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.gecko-hero-video-modal__player {
	position: absolute;
	left: 50%;
	top: 50%;
	width: auto;
	height: 177.7778%;
	aspect-ratio: 9 / 16;
	object-fit: contain;
	object-position: center;
	background: #000;
	transform: translate(-50%, -50%) rotate(-90deg);
	transform-origin: center center;
	pointer-events: none;
}

.gecko-hero-video-modal__player::-webkit-media-controls,
.gecko-hero-video-modal__player::-webkit-media-controls-enclosure,
.gecko-hero-video-modal__player::-webkit-media-controls-panel {
	display: none !important;
	-webkit-appearance: none;
}

@media (orientation: landscape) and (max-height: 520px) {
	.gecko-hero-video-modal {
		padding: 8px;
	}

	.gecko-hero-video-modal__dialog {
		width: min(1280px, calc(100vw - 16px), calc((100dvh - 16px) * 16 / 9));
		max-height: calc(100dvh - 16px);
		border-radius: 4px;
	}
}

body.gecko-hero-video-open {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.gecko-hero-slider__track,
	.gecko-hero-slider__thumb {
		transition: none;
	}
}
