/**
 * Главный блок главной (Figma 2006:66)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;600;700&display=swap');

.hero_home {
	position: relative;
	z-index: 1;
	overflow-x: clip;
	overflow-y: visible;
	isolation: isolate;
	font-family: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
	color: #394454;
	min-height: clamp(440px, 46vw, 620px);
	background-color: #eef4fc;
	background-image: url('/images/hero_home/hero-banner.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.hero_home__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		102deg,
		rgba(248, 250, 253, 0.97) 0%,
		rgba(248, 250, 253, 0.9) 34%,
		rgba(248, 250, 253, 0.55) 52%,
		rgba(248, 250, 253, 0.18) 72%,
		rgba(248, 250, 253, 0.04) 100%
	);
}

.hero_home__bg::after {
	content: none;
}

.hero_home__container {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px 88px;
}

.hero_home__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: 28px 56px;
	align-items: center;
}

.hero_home__eyebrow {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b7c92;
}

.hero_home__title {
	margin: 0;
	font-size: clamp(32px, 4vw, 56px);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.02em;
	color: #151c27;
}

.hero_home__title-line {
	display: block;
}

.hero_home__title-line--accent {
	color: #1766d2;
}

.hero_home__lead {
	margin: 22px 0 0;
	max-width: 520px;
	font-size: 16px;
	line-height: 1.55;
	color: #5c6878;
}

.hero_home__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
}

.hero_home__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero_home__btn--primary {
	background: #1766d2;
	border: 1px solid #1766d2;
	color: #fff;
	box-shadow: 0 8px 20px rgba(23, 102, 210, 0.22);
}

.hero_home__btn--primary:hover,
.hero_home__btn--primary:focus {
	background: #1257b8;
	border-color: #1257b8;
	color: #fff;
	text-decoration: none;
}

.hero_home__btn--ghost {
	background: #fff;
	border: 1px solid #dce3ec;
	color: #151c27;
}

.hero_home__btn--ghost:hover,
.hero_home__btn--ghost:focus {
	border-color: #c8d4e3;
	color: #1766d2;
	text-decoration: none;
}

button.hero_home__btn {
	cursor: pointer;
	font-family: inherit;
}

.hero_home__btn-icon {
	flex: 0 0 auto;
}

.hero_home__media {
	position: static;
}

.hero_home__media-panel {
	position: static;
	display: block;
	min-height: 0;
	padding: 0;
}

.hero_home__media-stage {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hero_home__product {
	display: block;
	width: 1px;
	height: 1px;
}

.hero_home__badge {
	position: absolute;
	z-index: 2;
	right: 20px;
	bottom: 28px;
	left: auto;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: min(100%, 292px);
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e6edf5;
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(21, 36, 64, 0.1);
}

.hero_home__badge-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #e8f1fd;
	color: #1766d2;
}

.hero_home__badge strong {
	display: block;
	font-size: 14px;
	line-height: 1.25;
	color: #151c27;
}

.hero_home__badge > div > span {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.35;
	color: #5c6878;
}

.hero_home__features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 28px;
	margin-top: 32px;
	padding-top: 22px;
	border-top: 1px solid #e3e9f0;
}

.hero_home__feature {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
}

.hero_home__feature-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #eef4fc;
	color: #1766d2;
}

.hero_home__feature-text {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #394454;
}

@media (max-width: 1199px) {
	.hero_home__container {
		padding-top: 36px;
	}

	.hero_home__content {
		position: relative;
		z-index: 2;
	}
}

@media (max-width: 1100px) {
	.hero_home__layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.hero_home__lead {
		max-width: none;
	}

	.hero_home__media {
		display: block;
	}
}

/* Мобильный hero — tornado-mobile-home.css (Figma 2011:184) */

@media (max-width: 479px) {
	.hero_home__title {
		font-size: 28px;
	}

	.hero_home__badge {
		flex-direction: row;
		align-items: center;
	}
}