/* ============================================================
   HERO (luxdrzwi) — новий hero-блок головної
   Зліва контент (без фону), справа фото (object-fit: cover).
   Один слайд = фото + кікер + заголовок + текст + кнопки + факти.
   1 слайд — пагінація не виводиться (розмітка її просто не має).
   ============================================================ */

@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-400-cyrillic.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-latin-ext.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-400-latin.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-500-cyrillic.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-latin-ext.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-500-latin.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-600-cyrillic.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-latin-ext.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-600-latin.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-700-cyrillic.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-latin-ext.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Unbounded';
	src: url('../fonts/unbounded/Unbounded-700-latin.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.lux-hero {
	--lux-gold: #F9FF85;
	--lux-dark: #111111;
	--lux-bg: #26221d;

	position: relative;
	display: flex;
	min-height: 80vh;
	min-height: 80svh;
	background: linear-gradient(180deg, #474644 0%, #5B5856 100%);
	overflow: hidden;
	color: #fff;
}

/* ---------- Медіа (права частина) ---------- */
.lux-hero__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 54%;
	overflow: hidden;
}

.lux-hero__media .lux-hero__swiper,
.lux-hero__media .swiper-wrapper,
.lux-hero__slide {
	height: 100%;
}

.lux-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* легке затемнення зверху/знизу для глибини кадру */
.lux-hero__shade {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(17, 17, 17, .25) 0%, rgba(17, 17, 17, 0) 22%, rgba(17, 17, 17, 0) 72%, rgba(17, 17, 17, .34) 100%);
}

/* ---------- Контентна панель (ліва) ---------- */
.lux-hero__panel {
	position: relative;
	z-index: 4;
	width: 46%;
	min-height: 80vh;
	min-height: 80svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 150px 60px 44px 65px;
}

.lux-hero__content {
	position: relative;
	max-width: 520px;
	width: 100%;
}

.lux-hero__item {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .55s ease, visibility .55s ease;
}

.lux-hero__item.is-active {
	position: relative;
	inset: auto;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.lux-hero__kicker {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--lux-gold);
	margin: 0 0 26px;
}

.lux-hero__title {
	font-family: 'Unbounded', 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: clamp(32px, 3.4vw, 50px);
	line-height: 1.18;
	text-wrap: balance;
	margin: 0 0 28px;
	color: #fff;
}

.lux-hero__text {
	font-size: clamp(17px, 1.4vw, 22px);
	line-height: 1.5;
	color: rgba(255, 255, 255, .92);
	margin: 0 0 40px;
}

.lux-hero__actions {
	display: flex;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap;
}

/* ---------- Кнопки ---------- */
.lux-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	background: var(--lux-gold);
	color: var(--lux-dark);
	font-weight: 600;
	font-size: 14px;
	padding: 13px 14px 13px 30px;
	border-radius: 65px;
	border: 2px solid var(--lux-gold);
	box-shadow: 0 6px 34px rgba(0, 0, 0, .4);
	transition: transform .25s, box-shadow .25s, color .25s;
}
.lux-hero__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 44px rgba(0, 0, 0, .5);
	color: var(--lux-dark);
}
.lux-hero__btn-circle {
	width: 23px;
	height: 23px;
	border-radius: 50%;
	background: #000;
	color: var(--lux-gold);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.lux-hero__btn-circle svg {
	width: 10px;
	height: 10px;
	transform: rotate(45deg);
}

.lux-hero__btn-ghost {
	font-weight: 600;
	font-size: 14px;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-color: rgba(255, 255, 255, .45);
	transition: color .25s, text-decoration-color .25s;
}
.lux-hero__btn-ghost:hover {
	color: var(--lux-gold);
	text-decoration-color: var(--lux-gold);
}

/* ---------- Факти (низ панелі) ---------- */
.lux-hero__facts {
	margin: 52px 0 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .16);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.7;
	color: rgba(255, 255, 255, .72);
}

/* ---------- Пагінація (правий край) ---------- */
.lux-hero__dots {
	position: absolute;
	right: 48px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 6;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}
.lux-hero__dots span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	cursor: pointer;
	transition: background .3s, transform .3s;
}
.lux-hero__dots span:hover {
	background: rgba(255, 255, 255, .85);
}
.lux-hero__dots span.is-active {
	background: var(--lux-gold);
	transform: scale(1.25);
}

/* ---------- Анімація появи ---------- */
@media (prefers-reduced-motion: no-preference) {
	.lux-hero__panel {
		animation: lux-hero-panel-in 1s cubic-bezier(.16, 1, .3, 1) both;
	}
	.lux-hero__item.is-active > * {
		animation: lux-hero-rise .8s cubic-bezier(.16, 1, .3, 1) both;
	}
	.lux-hero__item.is-active > *:nth-child(1) { animation-delay: .1s; }
	.lux-hero__item.is-active > *:nth-child(2) { animation-delay: .18s; }
	.lux-hero__item.is-active > *:nth-child(3) { animation-delay: .26s; }
	.lux-hero__item.is-active > *:nth-child(4) { animation-delay: .34s; }
	.lux-hero__item.is-active > *:nth-child(5) { animation-delay: .42s; }
	.lux-hero__item.is-active > *:nth-child(6) { animation-delay: .5s; }
}
@keyframes lux-hero-panel-in {
	from {
		opacity: 0;
		transform: translateX(-28px);
	}
}
@keyframes lux-hero-rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
}

/* ---------- Адаптив ---------- */
@media (max-width: 1250px) {
	.lux-hero__panel {
		padding: 50px 45px 40px 45px;
	}
	.lux-hero__media {
		width: 50%;
	}
}

@media (max-width: 991px) {
/* На сторінках з новим hero ховаємо старий декоративний watermark теми */
body:has(.lux-hero) .scroll-text-container,
body:has(.lux-hero) .scroll-text {
	display: none !important;
}

.lux-hero {
		flex-direction: column;
		min-height: 0;
	}

	/* текст зверху */
	.lux-hero__panel {
		width: 100%;
		min-height: 0;
		padding: 90px 30px 36px;
		order: 1;
	}
	.lux-hero__content {
		max-width: 640px;
	}
	.lux-hero__title {
		font-size: clamp(28px, 7.4vw, 40px);
	}
	.lux-hero__text {
		font-size: 17px;
		margin-bottom: 30px;
	}
	.lux-hero__actions {
		gap: 20px;
	}
	.lux-hero__facts {
		margin-top: 36px;
	}

	/* слайдер знизу */
	.lux-hero__media {
		position: relative;
		inset: auto;
		width: 100%;
		height: 62vh;
		min-height: 380px;
		order: 2;
	}

	.lux-hero__dots {
		flex-direction: row;
		justify-content: center;
		right: 0;
		left: 0;
		margin: auto;
		top: 0;
		bottom: 0;
		position: relative;
		order: 1;
		margin-bottom: -60px;
		padding-top: 50px;
	}
}

@media (max-width: 575px) {
	.lux-hero__panel {
		padding: 90px 20px 30px;
	}
	.lux-hero__media {
		height: 52vh;
		min-height: 320px;
	}
	.lux-hero__btn {
		padding: 11px 12px 11px 24px;
	}
}
