/* ==========================================================================
   Home hero slider (partials/hero-slider.blade.php + js/hero-slider.js)
   Crossfading slides, slow zoom on photos, staggered text, glass navigation with progress.
   ========================================================================== */
.vx-hero {
	--hero-ease: cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
	height: clamp(640px, 100svh, 920px);
	overflow: hidden;
	background: rgb(var(--primary-dark-rgb));
	color: #fff;
	isolation: isolate;
}

.vx-hero-slides,
.vx-hero-slide,
.vx-hero-media,
.vx-hero-shade {
	position: absolute;
	inset: 0;
}

/* Slides crossfade */
.vx-hero-slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s var(--hero-ease), visibility 0s linear 1s;
	z-index: 1;
}

.vx-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 1s var(--hero-ease), visibility 0s;
	z-index: 2;
}

/* Media */
.vx-hero-img,
.vx-hero-video,
.vx-hero-embed,
.vx-hero-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.vx-hero-img {
	transform: scale(1.12);
	transition: transform 9s linear;
	will-change: transform;
}

.vx-hero-slide.is-active .vx-hero-img {
	transform: scale(1);
}

.vx-hero-video {
	opacity: 0;
	transition: opacity .8s ease;
}

.vx-hero-video.is-playing {
	opacity: 1;
}

/* Embedded YouTube/Vimeo: oversize so the 16:9 player always covers the area, no clicks */
.vx-hero-embed {
	overflow: hidden;
	pointer-events: none;
}

.vx-hero-embed iframe {
	inset: 50% auto auto 50%;
	width: max(100%, 177.78vh);
	height: max(100%, 56.25vw);
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 1s ease .6s;
}

.vx-hero-embed iframe.is-loaded {
	opacity: 1;
}

/* Readability overlay: navy from the left + soft fade at the bottom for the navigation */
.vx-hero-shade {
	background:
		linear-gradient(90deg, rgba(var(--primary-dark-rgb), var(--shade-l, .82)) 0%, rgba(var(--primary-dark-rgb), var(--shade-m, .55)) 45%, rgba(var(--primary-dark-rgb), var(--shade-r, .15)) 100%),
		linear-gradient(0deg, rgba(var(--primary-dark-rgb), .75) 0%, rgba(var(--primary-dark-rgb), 0) 32%);
}

.vx-ov-light { --shade-l: .62; --shade-m: .35; --shade-r: .05; }
.vx-ov-strong { --shade-l: .9; --shade-m: .72; --shade-r: .35; }

/* Content */
.vx-hero-inner {
	position: relative;
	z-index: 3;
	height: 100%;
	display: flex;
	align-items: center;
	padding-top: 150px;   /* room for the transparent header */
	padding-bottom: 130px; /* room for the navigation bar */
}

.vx-hero-inner > .row {
	width: 100%;
	margin-inline: 0;
}

.vx-hero-copy {
	padding-left: 0;
}

.vx-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	color: #fff;
}

.vx-hero-kicker i {
	color: var(--main-color);
	font-size: 12px;
}

.vx-hero-title {
	margin: 18px 0 16px;
	font-family: var(--heading-font);
	font-size: clamp(34px, 4.2vw, 64px);
	line-height: 1.06;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
	text-wrap: balance;
}

.vx-hero-title span {
	color: var(--main-color);
}

.vx-hero-text {
	max-width: 60ch;
	margin: 0 0 28px;
	font-size: clamp(15px, 1.15vw, 18px);
	line-height: 1.65;
	color: rgba(255, 255, 255, .86);
}

.vx-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
}

.vx-hero-actions .sis-btn-default {
	display: inline-flex;
}

.vx-hero-ghost {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1.5px solid rgba(255, 255, 255, .55);
	color: #fff;
	font-family: var(--heading-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.vx-hero-ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--primary-color);
}

.vx-hero-points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: 10px 28px;
	margin: 30px 0 0;
	padding: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, .9);
}

.vx-hero-points li {
	display: flex;
	align-items: center;
	gap: 9px;
}

.vx-hero-points i {
	color: var(--main-color);
}

.vx-hero-fg {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
}

.vx-hero-fg img {
	max-height: min(620px, 62vh);
	width: auto;
	max-width: 100%;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35));
}

/* Staggered entrance of the active slide's content */
.vx-hero-copy > *,
.vx-hero-fg {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s var(--hero-ease), transform .8s var(--hero-ease);
}

.vx-hero-fg {
	transform: translateX(40px);
}

.vx-hero-slide.is-active .vx-hero-copy > *,
.vx-hero-slide.is-active .vx-hero-fg {
	opacity: 1;
	transform: none;
}

.vx-hero-slide.is-active .vx-hero-copy > :nth-child(1) { transition-delay: .25s; }
.vx-hero-slide.is-active .vx-hero-copy > :nth-child(2) { transition-delay: .38s; }
.vx-hero-slide.is-active .vx-hero-copy > :nth-child(3) { transition-delay: .5s; }
.vx-hero-slide.is-active .vx-hero-copy > :nth-child(4) { transition-delay: .62s; }
.vx-hero-slide.is-active .vx-hero-copy > :nth-child(5) { transition-delay: .74s; }
.vx-hero-slide.is-active .vx-hero-fg { transition-delay: .45s; transition-duration: 1.1s; }

/* Navigation: glass bar with numbered tabs and progress lines */
.vx-hero-nav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 28px;
	z-index: 5;
}

.vx-hero-bar {
	display: flex;
	align-items: stretch;
	gap: 8px;
	padding: 8px;
	border-radius: 18px;
	background: rgba(var(--primary-dark-rgb), .45);
	border: 1px solid rgba(255, 255, 255, .14);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
}

.vx-hero-tabs {
	flex: 1;
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.vx-hero-tabs li {
	flex: 1;
	min-width: 0;
}

.vx-hero-tab {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px 14px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: rgba(255, 255, 255, .62);
	text-align: left;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease;
}

.vx-hero-tab:hover,
.vx-hero-tab:focus-visible {
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.vx-hero-tab.is-active {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.vx-hero-tab-num {
	font-family: var(--heading-font);
	font-weight: 700;
	font-size: 13px;
	color: var(--main-color);
}

.vx-hero-tab-label {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vx-hero-progress {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 7px;
	height: 3px;
	border-radius: 3px;
	background: rgba(255, 255, 255, .18);
	overflow: hidden;
}

.vx-hero-progress i {
	position: absolute;
	inset: 0;
	background: var(--main-color);
	transform: scaleX(0);
	transform-origin: left;
}

.vx-hero-tab.is-active .vx-hero-progress i {
	animation: vx-hero-progress var(--hero-duration, 7s) linear forwards;
}

.vx-hero.is-paused .vx-hero-tab.is-active .vx-hero-progress i {
	animation-play-state: paused;
}

.vx-hero-tab.is-done .vx-hero-progress i {
	transform: scaleX(1);
}

@keyframes vx-hero-progress {
	to { transform: scaleX(1); }
}

.vx-hero-arrow {
	flex: 0 0 48px;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 15px;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease;
}

.vx-hero-arrow:hover,
.vx-hero-arrow:focus-visible {
	background: var(--main-color);
	color: var(--primary-color);
}

/* Desktop: keep the bar clear of the floating WhatsApp button in the bottom-left corner */
@media (min-width: 1025px) {
	.vx-hero-bar { margin-left: 72px; }
}

/* Tablet & phone: slides stack in one grid cell so the slider grows to fit the tallest slide
   (the header is in the page flow here, so no room needs reserving for it). */
@media (max-width: 1024px) {
	.vx-hero { height: auto; }
	.vx-hero-slides { position: relative; display: grid; }
	.vx-hero-slide { position: relative; grid-area: 1 / 1; inset: auto; }
	.vx-hero-inner { height: auto; min-height: 560px; padding-top: 56px; padding-bottom: 120px; }
	.vx-hero-copy { max-width: 720px; }
}

@media (max-width: 767px) {
	.vx-hero-inner { min-height: 540px; padding-top: 40px; padding-bottom: 104px; align-items: flex-end; }
	.vx-hero-shade {
		background: linear-gradient(0deg, rgba(var(--primary-dark-rgb), .92) 0%, rgba(var(--primary-dark-rgb), .7) 55%, rgba(var(--primary-dark-rgb), .35) 100%);
	}
	.vx-hero-text { margin-bottom: 22px; }
	.vx-hero-points { grid-template-columns: 1fr; gap: 8px; margin-top: 22px; font-size: 13px; }
	.vx-hero-nav { bottom: 16px; }
	.vx-hero-bar { padding: 6px; gap: 6px; border-radius: 14px; }
	.vx-hero-tab { justify-content: center; padding: 10px 6px 12px; }
	.vx-hero-tab-label { display: none; }
	.vx-hero-progress { left: 8px; right: 8px; bottom: 5px; }
	.vx-hero-arrow { flex-basis: 42px; }
	.vx-hero-pause { display: none; }
}

/* Reduced motion: no zoom, no slide-ins, no auto-advance (set in JS) */
@media (prefers-reduced-motion: reduce) {
	.vx-hero-img { transform: none !important; transition: none; }
	.vx-hero-copy > *, .vx-hero-fg { transform: none !important; transition: opacity .3s ease; }
	.vx-hero-slide { transition-duration: .3s; }
}

/* ==========================================================================
   Calmer banner: fits short screens, compact dot navigation, stronger shade
   ========================================================================== */
@media (min-width: 1025px) { .vx-hero { height: clamp(560px, 100svh, 860px); } }
@media (min-width: 1025px) { .vx-hero-inner { padding-top: 140px; padding-bottom: 90px; } }
.vx-hero-copy { max-width: 640px; }
.vx-hero-title { font-size: clamp(34px, min(4.4vw, 8vh), 66px); line-height: 1.05; margin: 16px 0 14px; }
.vx-hero-text { font-size: clamp(16px, 1.25vw, 19px); max-width: 46ch; margin-bottom: 30px; }
.vx-hero-shade {
	background:
		linear-gradient(90deg, rgba(var(--primary-dark-rgb), .9) 0%, rgba(var(--primary-dark-rgb), .72) 45%, rgba(var(--primary-dark-rgb), .35) 100%),
		linear-gradient(0deg, rgba(var(--primary-dark-rgb), .6) 0%, rgba(var(--primary-dark-rgb), 0) 30%);
}

/* Navigation: small dots + arrows at the bottom instead of a full-width tab bar. */
.vx-hero-nav .container { display: flex; justify-content: center; } /* centred: the corners hold the floating WhatsApp and call buttons */
.vx-hero-bar { flex: none; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; }
.vx-hero-tabs { flex: none; gap: 4px; padding: 0 6px; }
.vx-hero-tabs li { flex: none; }
.vx-hero-tab { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; }
.vx-hero-tab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vx-hero-tab-num { font-size: 12px; color: rgba(255, 255, 255, .7); }
.vx-hero-tab.is-active { background: var(--main-color); }
.vx-hero-tab.is-active .vx-hero-tab-num { color: var(--on-main); }
.vx-hero-progress { left: 6px; right: 6px; bottom: 3px; height: 2px; }
.vx-hero-arrow { width: 38px; height: 38px; }

/* Short screens (laptops ~720 px tall): tighter spacing so nothing runs into the menu. */
@media (min-width: 1025px) and (max-height: 820px) {
	.vx-hero-inner { padding-top: 125px; padding-bottom: 70px; }
	.vx-hero-title { margin: 12px 0 10px; }
	.vx-hero-text { margin-bottom: 22px; }
	.vx-hero-nav { bottom: 18px; }
}
