/* Hero-баннер главной: фон + градиент + текст */

.home-hero {
	--hero-gold: #f8b34b;
	--hero-green: #21302f;
	--hero-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1920 / 520;
	min-height: clamp(280px, 28vw, 520px);
	max-height: 540px;
	overflow: hidden;
	background: #0a0a0a;
	border-bottom: 3px solid var(--hero-gold);
}

.home-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.home-hero__bg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

.home-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.88) 0%,
		rgba(0, 0, 0, 0.65) 22%,
		rgba(0, 0, 0, 0.2) 42%,
		transparent 62%
	);
}

.home-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: inherit;
	height: 100%;
	padding: clamp(1.5rem, 4vh, 2.75rem) clamp(1.25rem, 8vw, 8vw);
	box-sizing: border-box;
}

.home-hero__inner {
	width: 100%;
	max-width: 760px;
	font-family: var(--hero-font);
	color: #fff;
}

.home-hero__brand {
	margin: 0 0 0.65rem;
	font-size: clamp(0.68rem, 1.8vw, 0.78rem);
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--hero-gold);
}

.home-hero__title {
	margin: 0 0 0.55rem;
	font-size: clamp(1.85rem, 4.2vw, 3.25rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.home-hero__title-line {
	display: block;
	color: #fff;
}

.home-hero__title-line--accent {
	color: var(--hero-gold);
}

/* Поверх глобальной типографики (body h1 { color: … !important }) */
section.home-hero .home-hero__title,
section.home-hero .home-hero__title .home-hero__title-line {
	color: #fff !important;
}

section.home-hero .home-hero__title .home-hero__title-line--accent {
	color: var(--hero-gold) !important;
}

.home-hero__subtitle {
	margin: 0 0 1.1rem;
	font-size: clamp(0.95rem, 2vw, 1.15rem);
	font-weight: 400;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.92);
}

.home-hero__benefits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem 0.85rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.home-hero__benefits li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
}

.home-hero__benefit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.15rem;
	height: 2.15rem;
	font-size: 0.95rem;
	line-height: 1;
	color: var(--hero-gold);
	background: rgba(248, 179, 75, 0.12);
	border: 1px solid rgba(248, 179, 75, 0.35);
	border-radius: 2px;
}

/* Иконки SVG (аналог fa-cogs, fa-th-large, fa-wrench, fa-shield) */
.home-hero__benefit-icon .home-hero__benefit-svg {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	color: var(--hero-gold);
	flex-shrink: 0;
}

.home-hero__benefit-text {
	font-size: clamp(0.68rem, 1.2vw, 0.8rem);
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.88);
}

.home-hero__actions {
	margin-bottom: 0.85rem;
}

.home-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.75rem 1.5rem;
	font-family: var(--hero-font);
	font-size: clamp(0.72rem, 1.6vw, 0.82rem);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #0a0a0a;
	background: var(--hero-gold);
	border: 1px solid var(--hero-gold);
	border-radius: 2px;
	transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.home-hero__btn:hover {
	background: #fff;
	border-color: #fff;
	color: #0a0a0a;
}

.home-hero__tagline {
	margin: 0;
	font-size: clamp(0.75rem, 1.5vw, 0.88rem);
	font-style: italic;
	color: rgba(255, 255, 255, 0.6);
}

/* Desktop wide — чуть выше только на очень широких */
@media (min-width: 1400px) {
	.home-hero {
		max-height: 500px;
		min-height: 400px;
	}
}

/* Tablet */
@media (max-width: 991px) {
	.home-hero {
		aspect-ratio: 16 / 9;
		min-height: clamp(260px, 38vw, 420px);
		max-height: 440px;
	}

	.home-hero__benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.85rem 1rem;
	}

	.home-hero__benefits li {
		flex-direction: row;
		align-items: flex-start;
		gap: 0.6rem;
	}
}

/* Mobile: фото сверху без затемнения, текст на сплошном фоне */
@media (max-width: 767px) {
	.home-hero {
		display: flex;
		flex-direction: column;
		aspect-ratio: auto;
		min-height: 0;
		max-height: none;
		overflow: visible;
		background: var(--hero-green);
	}

	.home-hero__media {
		position: relative;
		flex: 0 0 auto;
		width: 100%;
		height: clamp(160px, 38vw, 220px);
	}

	.home-hero__bg {
		object-position: center center;
	}

	.home-hero__shade {
		display: none;
	}

	.home-hero__content {
		position: relative;
		flex: 1 1 auto;
		height: auto;
		min-height: 0;
		align-items: stretch;
		padding: 1.35rem 1.15rem 1.5rem;
		background: var(--hero-green);
	}

	.home-hero__inner {
		max-width: none;
	}

	.home-hero__title {
		font-size: clamp(1.65rem, 8vw, 2.15rem);
		margin-bottom: 0.45rem;
	}

	.home-hero__subtitle {
		margin-bottom: 1rem;
		font-size: 0.95rem;
	}

	.home-hero__benefits {
		grid-template-columns: 1fr;
		gap: 0.65rem;
		margin-bottom: 1.15rem;
	}

	.home-hero__benefits li {
		flex-direction: row;
		align-items: center;
		gap: 0.75rem;
	}

	.home-hero__benefit-icon {
		width: 2.35rem;
		height: 2.35rem;
	}

	.home-hero__benefit-svg {
		width: 1.2rem;
		height: 1.2rem;
	}

	.home-hero__benefit-text {
		font-size: 0.86rem;
	}

	.home-hero__btn {
		width: 100%;
		min-height: 50px;
	}

	.home-hero__tagline {
		font-size: 0.8rem;
	}
}

/* Каталог под hero */
.home-catalog {
	scroll-margin-top: 88px;
}

html.home-snap-catalog {
	scroll-behavior: smooth;
}
