.jah-hero-carousel {
	position: relative;
	min-height: var(--jah-hero-h, 90vh);
	overflow: hidden;
	background: #023e74;
	color: #fff;
}

.jah-hero__track,
.jah-hero__slide {
	min-height: inherit;
}

.jah-hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	background-color: #023e74;
	background-position: center center;
	background-size: cover;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--jah-hero-ms, 600ms) ease, visibility var(--jah-hero-ms, 600ms) ease;
}

.jah-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.jah-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(2, 28, 58, 0.88) 0%, rgba(2, 28, 58, 0.62) 48%, rgba(2, 28, 58, 0.28) 100%);
}

.jah-hero-carousel--light .jah-hero__veil {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 55%, rgba(255, 255, 255, 0.55) 100%);
}

.jah-hero-carousel--light {
	color: #023e74;
	background: #f4f7fb;
}

.jah-hero__content {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: min(1280px, calc(100% - 2rem));
	margin-inline: auto;
	padding-top: clamp(6.5rem, 14vh, 11rem);
	padding-bottom: 5.5rem;
}

.jah-hero-carousel .jah-hero__title {
	margin: 0 0 0.7rem;
	max-width: 760px;
	color: var(--jah-title, #fff);
	font-family: Poppins, "Plus Jakarta Sans", sans-serif;
	font-size: clamp(1.7rem, 1rem + 2.4vw, 2.9rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.jah-hero-carousel .jah-hero__title .resalta {
	color: var(--jah-highlight, #b9ddf5);
}

.jah-hero-carousel .jah-hero__subtitle {
	margin: 0 0 0.75rem;
	max-width: 760px;
	color: var(--jah-subtitle, #fff);
	font-family: Poppins, "Plus Jakarta Sans", sans-serif;
	font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem);
	font-weight: 600;
	line-height: 1.35;
}

.jah-hero-carousel .jah-hero__text {
	margin: 0;
	max-width: 62ch;
	color: var(--jah-text, #fff);
	font-size: clamp(0.95rem, 0.88rem + 0.25vw, 1.05rem);
	line-height: 1.55;
}

.jah-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.4rem;
}

.jah-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	font-family: Poppins, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.jah-hero-carousel a.jah-hero__btn--primary {
	background: var(--jah-btn1-bg, #0069a6);
	color: var(--jah-btn1-color, #fff);
}

.jah-hero__btn--primary:hover,
.jah-hero__btn--ghost:hover {
	filter: brightness(0.92);
}

.jah-hero-carousel a.jah-hero__btn--ghost {
	background: var(--jah-btn2-bg, transparent);
	color: var(--jah-btn2-color, #fff);
	box-shadow: inset 0 0 0 2px var(--jah-btn2-border, #fff);
}

.jah-hero__btn:focus {
	outline: none;
}

.jah-hero__btn:focus-visible,
.jah-hero__arrow:focus-visible,
.jah-hero__dot:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.jah-hero-carousel--light .jah-hero__btn:focus-visible,
.jah-hero-carousel--light .jah-hero__arrow:focus-visible,
.jah-hero-carousel--light .jah-hero__dot:focus-visible {
	outline-color: #023e74;
}

.jah-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #023e74;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.jah-hero__arrow--prev { left: 16px; }
.jah-hero__arrow--next { right: 16px; }

.jah-hero__arrow:hover { background: #fff; }

.jah-hero__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.jah-hero__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
}

.jah-hero__dot.is-active {
	background: #fff;
	box-shadow: 0 0 0 2px rgba(2, 62, 116, 0.35);
}

.jah-hero-carousel--light .jah-hero__dot { background: rgba(2, 62, 116, 0.35); }
.jah-hero-carousel--light .jah-hero__dot.is-active { background: #0069a6; }

@media (max-width: 767px) {
	.jah-hero__content {
		width: min(1280px, calc(100% - 2rem));
		padding-top: 6.5rem;
		padding-bottom: 5rem;
	}
	.jah-hero__veil {
		background: linear-gradient(180deg, rgba(2, 28, 58, 0.55) 0%, rgba(2, 28, 58, 0.82) 45%, rgba(2, 28, 58, 0.88) 100%);
	}
	.jah-hero__arrow {
		top: auto;
		bottom: 58px;
		margin-top: 0;
	}
	.jah-hero__actions { flex-direction: column; align-items: stretch; }
	.jah-hero__btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.jah-hero__slide { transition: none; }
}

@media print {
	.jah-hero__arrow,
	.jah-hero__dots { display: none; }
	.jah-hero__slide { display: none; position: relative; }
	.jah-hero__slide.is-active { display: flex; }
}
