/* Nova Hero Slider */
.nhs {
	--nhs-accent: #FF5A1F;
	--nhs-ease: cubic-bezier(.22, 1, .36, 1);
	--nhs-ease-io: cubic-bezier(.65, 0, .35, 1);
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: #F4F4F2;
	touch-action: pan-y;
	user-select: none;
	outline: none;
}
.nhs__track { position: absolute; inset: 0; }
.nhs__slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear 1.2s;
}
.nhs__slide.is-active { visibility: visible; pointer-events: auto; transition: visibility 0s linear 0s; z-index: 2; }
.nhs__slide.is-leaving { visibility: visible; z-index: 1; }

.nhs__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: calc(var(--nd-header-h, 76px) + 48px) clamp(24px, 4.4vw, 80px) 140px clamp(24px, 5.2vw, 96px);
}
.nhs__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(28px, 4vh, 56px); }
.nhs__brand { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #111214; }
.nhs__brand i { width: 8px; height: 8px; border-radius: 50%; background: #111214; }
.nhs__brand em { font-style: normal; padding: 5px 9px; border-radius: 999px; border: 1px solid #DCDCD8; letter-spacing: .1em; color: #4A4D55; }
.nhs__slide--gen6 .nhs__brand i { background: var(--nhs-accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .15); }
.nhs__slide--gen6 .nhs__brand em { border-color: rgba(255, 90, 31, .45); color: #E8460C; }
.nhs__count { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: #111214; font-variant-numeric: tabular-nums; }
.nhs__count span { color: #8A8D94; font-weight: 400; }
.nhs__eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #8A8D94; }
.nhs__title { margin: 0 0 24px; font-size: clamp(42px, 5.4vw, 92px); line-height: .98; letter-spacing: -.04em; font-weight: 600; color: #111214; }
.nhs__text { margin: 0 0 28px; max-width: 30em; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.6; color: #4A4D55; }
.nhs__specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; padding: 0; list-style: none; }
.nhs__specs li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid #E2E2DE; font-size: 13px; font-weight: 500; color: #111214; }
.nhs__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.nhs__media { position: relative; overflow: hidden; background: #E9E9E6; }
.nhs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.nhs__slide.is-active .nhs__img { transform: scale(1); }
.nhs__gen { position: absolute; right: clamp(16px, 3vw, 48px); bottom: clamp(8px, 2vw, 24px); font-size: clamp(80px, 14vw, 240px); font-weight: 700; line-height: .8; letter-spacing: -.06em; color: rgba(255, 255, 255, .55); pointer-events: none; mix-blend-mode: overlay; }

/* Transitions */
.nhs__content > * { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--nhs-ease), transform .9s var(--nhs-ease); }
.nhs__slide.is-active .nhs__content > * { opacity: 1; transform: none; }
.nhs__slide.is-active .nhs__content > *:nth-child(1) { transition-delay: .25s; }
.nhs__slide.is-active .nhs__content > *:nth-child(2) { transition-delay: .32s; }
.nhs__slide.is-active .nhs__content > *:nth-child(3) { transition-delay: .39s; }
.nhs__slide.is-active .nhs__content > *:nth-child(4) { transition-delay: .48s; }
.nhs__slide.is-active .nhs__content > *:nth-child(5) { transition-delay: .56s; }
.nhs__slide.is-active .nhs__content > *:nth-child(6) { transition-delay: .64s; }
.nhs__media { clip-path: inset(0 0 0 100%); transition: clip-path 1.15s var(--nhs-ease-io); }
.nhs__slide.is-active .nhs__media { clip-path: inset(0 0 0 0); }
.nhs__slide.is-leaving .nhs__media { clip-path: inset(0 0 0 0); }
.nhs.is-back .nhs__media { clip-path: inset(0 100% 0 0); }
.nhs.is-back .nhs__slide.is-active .nhs__media,
.nhs.is-back .nhs__slide.is-leaving .nhs__media { clip-path: inset(0 0 0 0); }
.nhs__slide.is-leaving .nhs__content > * { opacity: 0; transform: translateY(-16px); transition-delay: 0s; transition-duration: .4s; }

/* UI */
.nhs__ui {
	position: absolute;
	z-index: 5;
	left: clamp(24px, 5.2vw, 96px);
	bottom: clamp(28px, 5vh, 56px);
	width: calc(42% - clamp(24px, 5.2vw, 96px) - clamp(24px, 4.4vw, 80px));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.nhs__dots { display: flex; gap: 8px; flex: 1; }
.nhs__dot { position: relative; flex: 1; max-width: 72px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.nhs__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #DCDCD8; }
.nhs__dot i { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #111214; transform: scaleX(0); transform-origin: left; }
.nhs__dot.is-active i { background: var(--nhs-accent); animation: nhs-progress var(--nhs-interval, 6500ms) linear forwards; }
.nhs.is-paused .nhs__dot.is-active i, .nhs[data-autoplay="0"] .nhs__dot.is-active i { animation: none; transform: scaleX(1); }
.nhs__dot.is-done i { transform: scaleX(1); }
@keyframes nhs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.nhs__dot:focus-visible, .nhs__arrow:focus-visible { outline: 2px solid var(--nhs-accent); outline-offset: 3px; }

.nhs__arrows { display: flex; gap: 8px; }
.nhs__arrow {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #D2D2CE;
	background: rgba(255, 255, 255, .6);
	color: #111214;
	font-size: 18px;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: background-color .4s var(--nhs-ease), color .4s var(--nhs-ease), border-color .4s var(--nhs-ease), transform .4s var(--nhs-ease);
}
.nhs__arrow:hover { background: #111214; border-color: #111214; color: #fff; }
.nhs__arrow--prev:hover { transform: translateX(-3px); }
.nhs__arrow--next:hover { transform: translateX(3px); }

.nhs__scroll { position: absolute; z-index: 5; right: clamp(16px, 2vw, 32px); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateY(-50%); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #fff; writing-mode: vertical-rl; mix-blend-mode: difference; }
.nhs__scroll i { width: 1px; height: 56px; background: currentColor; transform-origin: top; animation: nhs-scroll 2.2s var(--nhs-ease-io) infinite; }
@keyframes nhs-scroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.nhs.is-dragging { cursor: grabbing; }

/* Tablet */
@media (max-width: 1024px) {
	.nhs { min-height: 0; }
	.nhs__track { position: relative; display: grid; }
	.nhs__slide { position: relative; grid-area: 1 / 1; grid-template-columns: 1fr; grid-template-rows: auto auto; }
	.nhs__media { order: -1; height: 56vh; min-height: 340px; margin-top: var(--nd-header-h, 68px); }
	.nhs__img { object-position: center 62%; }
	.nhs__content { padding: 40px 32px 120px; }
	.nhs__ui { left: 32px; right: 32px; width: auto; bottom: 32px; }
	.nhs__scroll { display: none; }
}

/* Mobile */
@media (max-width: 767px) {
	.nhs__media { height: 42vh; min-height: 260px; margin-top: var(--nd-header-h, 64px); }
	.nhs__content { padding: 28px 20px 108px; }
	.nhs__meta { margin-bottom: 20px; }
	.nhs__title { font-size: clamp(36px, 10vw, 48px); }
	.nhs__specs { margin-bottom: 26px; }
	.nhs__specs li { font-size: 12px; padding: 7px 12px; }
	.nhs__actions .nd-btn { flex: 1 1 auto; justify-content: center; }
	.nhs__ui { left: 20px; right: 20px; bottom: 24px; }
	.nhs__arrow { width: 44px; height: 44px; }
	.nhs__gen { font-size: 96px; }
}

@media (prefers-reduced-motion: reduce) {
	.nhs__img, .nhs__media, .nhs__content > * { transition: none !important; transform: none !important; }
	.nhs__dot.is-active i { animation: none; transform: scaleX(1); }
	.nhs__scroll i { animation: none; }
}

body.elementor-editor-active .nhs__slide:not(.is-active) { display: none; }
