

/* Start:/history/style.css?179144500948326*/
/* /history/ — company history landing */

/* Bitrix chrome — full-bleed history page */
.left_block {
	display: none !important;
}

.wrapper_inner:has(.history_page),
.main-wrapper:has(.history_page) .container {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body:has(.history_page) .page-top,
body:has(.history_page) .topic,
body:has(.history_page) #navigation,
body:has(.history_page) .breadcrumbs,
body:has(.history_page) h1#pagetitle {
	display: none !important;
}

/* Футер поверх тёмного фона истории (раньше fixed_bg его перекрывал) */
body:has(.history_page) .site-footer,
body:has(.history_page) #footer,
body:has(.history_page) .footer_wrap {
	position: relative;
	z-index: 20;
}


:root {
	--history-bg: #1b1b1b;
	--history-text: #f2f2f2;
	--history-muted: #a8a8a8;
	--history-accent: #e63223;
	--history-accent-2: #f9af19;
	--history-light: #ffffff;
	--history-dark: #1b1b1b;
	--history-year: #333436;
	--history-max: 1360px;
	--orbit-r: 290px;
	--design-w: 1920;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
}

body:has(.history_page) {
	/* Не красим весь body — иначе футер «тонет» в том же фоне */
	overflow-x: hidden;
}

img {
	display: block;
	height: auto;
}

.history_page {
	position: relative;
	overflow-x: hidden;
	font-family: "Montserrat", sans-serif;
	color: var(--history-text);
	background: var(--history-bg);
	isolation: isolate;
}

/* Глава 1–3: не клипаем бочку внутри главы */
.history_chapter--origin {
	position: relative;
	z-index: 1;
	background: var(--history-bg);
	overflow: visible;
}

/* Только внутри .history_page — не position:fixed на весь viewport */
.history_fixed_bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% 0%, rgba(230, 50, 35, 0.08), transparent 60%),
		var(--history-bg);
	pointer-events: none;
}

.content_width {
	max-width: var(--history-max);
	width: 100%;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Scenes — обычный поток, без sticky/поэкранного скролла */
.history_scene {
	position: relative;
	z-index: 1;
	min-height: 0;
	padding: 96px 0 80px;
}

.history_scene--pin {
	/* отключено: не используем sticky-слайды */
	position: relative;
	top: auto;
	box-shadow: none;
}

.history_scene--2020 {
	z-index: 1;
	padding: 0;
	min-height: 860px;
	background: var(--history-bg);
	overflow: visible;
}

.history_scene--hero.history_scene--2020 {
	z-index: 12;
	background: transparent;
}

.history_scene--2021 {
	z-index: 1;
	padding: 0;
	min-height: 1073px;
	background: var(--history-bg);
	overflow: visible;
}

.history_scene--products {
	z-index: 1;
	min-height: 0;
	padding: 80px 0 120px;
	background: var(--history-bg);
	box-shadow: none;
	overflow: visible;
}

.history_scene--2022a,
.history_scene--2022b,
.history_scene--2022c,
.history_scene--2023,
.history_scene--marketplace,
.history_scene--logo-evolution,
.history_scene--2024,
.history_scene--industries,
.history_scene--warehouse,
.history_scene--today,
.history_scene--finale {
	z-index: 1;
	background: var(--history-bg);
	box-shadow: none;
}

.history_scene--light,
.history_scene--marketplace,
.history_scene--logo-evolution {
	background: var(--history-light);
}

.history_scene--warehouse {
	background: var(--history-bg);
	/* место под «2025», который по Figma наполовину выше фото */
	padding: clamp(72px, 6.6vw, 126px) 0 clamp(48px, 5vw, 80px);
	overflow: visible;
}

.history_scene--today {
	/* без базовых 96/80 у .history_scene — иначе двойной отступ с .history_today */
	padding: 0;
}

.history_scene--finale {
	background: linear-gradient(180deg, #0a0a0a 0%, var(--history-bg) 100%);
	padding-bottom: 120px;
	overflow: visible;
}

.history_scene_inner {
	position: relative;
}

.history_scene_inner--bleed {
	overflow: visible;
}

.history_year_bg {
	position: absolute;
	top: 0;
	right: 24px;
	font-size: clamp(72px, 10.4vw, 200px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--history-year);
	pointer-events: none;
	user-select: none;
}

.history_year_bg--left {
	right: auto;
	left: max(24px, calc(50% - 680px));
}

.history_year_bg--center {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
	top: -31px;
}

.history_year_bg--dark {
	color: rgba(212, 215, 218, 0.35);
}

.history_year_bg--finale {
	left: auto;
	right: max(24px, calc(50% - 680px));
	color: var(--history-year);
}

/* Typography — !important: Aspro красит h1/h2 в серый после встраивания в шаблон */
.history_page h1,
.history_page h2,
.history_page h3,
.history_page .history_title,
.history_page .history_title--section,
.history_page .history_title--md,
.history_page .history_title--finale,
.history_page .history_polaroid_title,
.history_page .history_polaroid_title span,
.history_page .history_today_title,
.history_page .history_finale_title,
.history_page .history_hero_title_main,
.history_page .history_hero_title_sub,
.history_page .history_orbit_heading,
.history_page .history_industries_title {
	color: #ffffff !important;
}

.history_page .history_text,
.history_page .history_text--light,
.history_page .history_text--lead,
.history_page .history_polaroid_lead,
.history_page .history_hero_lead,
.history_page .history_today_lead,
.history_page .history_finale_sub,
.history_page .history_avtovaz_text,
.history_page .history_belaz_copy,
.history_page .history_cert_text {
	color: #ffffff !important;
}

/* Светлые секции — тёмный текст (не белый!) */
.history_page .history_scene--light,
.history_page .history_scene--marketplace,
.history_page .history_scene--logo-evolution {
	color: #333436;
}

.history_page .history_scene--light p,
.history_page .history_scene--light h1,
.history_page .history_scene--light h2,
.history_page .history_scene--light h3,
.history_page .history_scene--marketplace p,
.history_page .history_scene--marketplace h1,
.history_page .history_scene--marketplace h2,
.history_page .history_scene--marketplace h3,
.history_page .history_scene--marketplace .history_text,
.history_page .history_scene--marketplace .history_title,
.history_page .history_scene--marketplace .history_marketplace_heading,
.history_page .history_scene--marketplace .history_marketplace_revenue,
.history_page .history_scene--marketplace .history_marketplace_revenue strong,
.history_page .history_scene--logo-evolution p,
.history_page .history_scene--logo-evolution h1,
.history_page .history_scene--logo-evolution h2,
.history_page .history_scene--logo-evolution h3,
.history_page .history_scene--logo-evolution .history_text,
.history_page .history_scene--logo-evolution .history_title,
.history_page .history_scene--logo-evolution .history_logo_evolution_caption,
.history_page .history_text--dark,
.history_page .history_text--lead-dark {
	color: #333436 !important;
}

.history_page .history_btn--pill,
.history_page .history_btn--pill .history_btn__inner {
	color: #ffffff !important;
}

.history_title {
	margin: 0 0 20px;
	font-size: clamp(32px, 5vw, 62px);
	line-height: 1.15;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #ffffff;
}

.history_title--md {
	font-size: clamp(26px, 3.5vw, 44px);
}

.history_title--finale {
	font-size: clamp(24px, 3.2vw, 40px);
	font-weight: 600;
	text-transform: none;
	max-width: 720px;
}

.history_title--section {
	font-size: clamp(28px, 3.2vw, 62px);
	line-height: 1.44;
	font-weight: 600;
}

.history_text--light {
	color: #ffffff;
	max-width: 786px;
	font-size: clamp(16px, 1.15vw, 22px);
	line-height: 1.5;
	letter-spacing: 0.03em;
}

.history_text--lead,
.history_text--lead-dark {
	font-size: clamp(22px, 1.9vw, 36px);
	line-height: 1.44;
	font-weight: 600;
	color: #ffffff;
	max-width: 747px;
}

.history_text--lead-dark {
	color: var(--history-dark);
}

/* Hero — First Screen (Figma 1920×860)
   transparent bg + z-index > barrel float → текст поверх бочки,
   сама бочка видна в «дырах» между заголовками */
.history_scene--hero {
	display: block;
	min-height: 860px;
	height: 860px;
	background: transparent;
	overflow: visible;
	z-index: 12;
}

.history_hero {
	position: relative;
	width: 100%;
	max-width: 1920px;
	height: 860px;
	margin: 0 auto;
	z-index: 1;
}

/* Figma left: 278 → relative to 1920; content inset ≈ 280 */
.history_hero_title {
	margin: 0;
}

.history_hero_title_main,
.history_hero_title_sub {
	display: block;
	font-size: clamp(32px, 3.23vw, 62px);
	line-height: 1.4;
	text-transform: uppercase;
	color: #ffffff;
}

.history_hero_title_main {
	position: absolute;
	left: max(24px, calc(50% - 960px + 278px));
	top: 126px;
	width: min(487px, 42vw);
	font-weight: 700;
	z-index: 2;
}

.history_hero_title_sub {
	position: absolute;
	left: max(24px, calc(50% - 960px + 1237px));
	top: 332px;
	width: min(365px, 32vw);
	font-weight: 400;
	text-align: right;
	z-index: 2;
}

/* Figma: top 645 — ниже низа бочки (~613); поверх float-бочки */
.history_hero_lead {
	position: absolute;
	left: 50%;
	top: 645px;
	transform: translateX(-50%);
	width: min(985px, calc(100% - 48px));
	margin: 0;
	font-size: clamp(18px, 1.875vw, 36px);
	line-height: 1.44;
	font-weight: 600;
	text-align: center;
	color: #ffffff;
	z-index: 2;
}

/* Slot matching Figma barrel box 335.95×562 @ top≈51 — keeps layout height */
.history_hero_barrel_slot {
	position: absolute;
	left: 50%;
	top: 51px;
	width: 336px;
	height: 562px;
	transform: translateX(-50%);
	pointer-events: none;
}

/* Block 2 — 2021 (Figma text block 1920×1073) */
.history_scene--2021 .history_scene_inner {
	padding-top: 216px;
	padding-bottom: 120px;
}

.history_2021_layout {
	display: grid;
	grid-template-columns: minmax(0, 868px) minmax(280px, 1fr);
	gap: 24px;
	align-items: start;
}

.history_2021_copy {
	max-width: 868px;
}

.history_deal {
	position: relative;
	margin-top: 120px;
	max-width: 583px;
}

.history_deal_row {
	position: relative;
	display: flex;
	align-items: flex-start;
	min-height: 120px;
}

.history_deal_amount {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: "Fira Sans", sans-serif;
	font-style: italic;
	font-weight: 300;
	font-size: clamp(40px, 3.33vw, 64px);
	line-height: 1.5;
	letter-spacing: 0.01em;
	color: #ffffff;
}

.history_deal_podpis {
	position: absolute;
	left: 250px;
	top: -68px;
	width: 294px;
	height: auto;
	max-width: none;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.8s ease 0.35s;
}

.history_reveal--delay-2.is-visible .history_deal_podpis {
	opacity: 1;
}

.history_deal_line {
	display: block;
	width: 517px;
	max-width: 100%;
	margin: 12px 0 16px;
	border: 0;
	border-top: 2px solid #ffffff;
}

.history_deal_note {
	margin: 0;
	max-width: 515px;
	font-family: "Fira Sans", sans-serif;
	font-style: italic;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.01em;
	color: #ffffff;
}

.history_barrel_slot {
	position: relative;
	min-height: 720px;
	width: min(520px, 36vw);
	max-width: 520px;
	margin-left: auto;
	margin-right: max(24px, calc((100vw - 1920px) / 2 + 48px));
	flex-shrink: 0;
}

/* Floating barrel — выше сцен истории, ниже футера сайта */
.history_barrel_float {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 8;
	overflow: visible;
}

body:has(.history_page) .history_barrel_float {
	/* не накрывать футер */
	z-index: 5;
}

.history_barrel_float_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 585px;
	max-width: none;
	height: auto;
	filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
	will-change: transform, opacity;
	transform-origin: center center;
	/* стартовое состояние до JS — hero scale 335.95/585 */
	transform: translate(50vw, 332px) translate(-50%, -50%) scale(0.5743);
}

.history_text {
	margin: 0;
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.6;
	color: var(--history-muted);
	max-width: 560px;
}

.history_lead {
	margin: 0;
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.6;
	color: var(--history-muted);
	max-width: 560px;
}

.history_highlight {
	color: var(--history-accent-2);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
}

/* Layout grids */
.history_scene_grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	min-height: 0;
}

.history_scene_grid--hero,
.history_scene_grid--2021 {
	min-height: 0;
}

.history_scene_grid--belaz {
	align-items: end;
	min-height: 0;
}

/* Products & certs (2021) — бочка % от stage, меньше и выше, чтобы не вылезала снизу */
.history_scene_grid--products {
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	align-items: center;
	gap: 32px;
	min-height: 0;
}

.history_products_stage {
	position: relative;
	z-index: 4;
	isolation: isolate;
	width: 100%;
	max-width: 999px;
	margin: 0 auto;
}

.history_products_barrel_slot {
	position: absolute;
	/* 27.3% × 1.2 ≈ 32.8% stage */
	left: 50%;
	top: 4%;
	width: 32.8%;
	aspect-ratio: 585 / 979;
	height: auto;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 1;
}

.history_products_barrel {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0;
	filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.history_products_group {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 999px;
	margin: 0 auto;
}

.history_certs {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 20px;
	z-index: 5;
}

.history_cert_logos {
	width: min(100%, 340px);
}

.history_cert_text {
	margin: 0;
	max-width: 549px;
}

.history_stamp--under-text {
	width: min(100%, 320px);
	margin-top: 8px;
	transform: rotate(-8.65deg);
	transform-origin: left center;
}

/* Polaroids — ассеты уже с полароид-рамкой; без CSS border.
   handshake.png уже повёрнут в файле — не крутить повторно. */
.history_polaroid_block {
	display: grid;
	grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
	gap: 48px 40px;
	align-items: start;
	padding: 48px 0 80px;
	min-height: 640px;
}

.history_polaroid_copy {
	max-width: 520px;
	padding-top: 24px;
}

.history_polaroid_title {
	display: flex;
	flex-direction: column;
	margin: 0 0 28px;
	text-transform: uppercase;
	line-height: 1.15;
}

.history_polaroid_title span {
	font-weight: 400;
}

.history_polaroid_title_strong {
	font-weight: 700 !important;
}

.history_polaroid_lead {
	margin: 0;
	max-width: 420px;
}

.history_polaroids {
	position: relative;
	justify-self: end;
	width: min(100%, 720px);
	height: 580px;
	margin-right: max(-12px, calc((100vw - 1920px) / 2 * 0.15));
}

.history_polaroid {
	position: absolute;
	border: 0;
	border-radius: 0;
	background: transparent;
	width: auto;
	height: auto;
	max-width: none;
}

.history_polaroid--left {
	left: 0;
	top: 0;
	width: min(58%, 380px);
	transform: none;
	z-index: 1;
}

.history_polaroid--right {
	right: -2%;
	top: 72px;
	width: min(62%, 420px);
	/* наклон уже в PNG */
	transform: none;
	margin-top: 0;
	z-index: 2;
}

/* AvtoVAZ — Figma 7729:30708 + drops Group 1171276914 */
.history_scene--2022c {
	position: relative;
	padding: 0;
	margin: 0;
	overflow: visible;
	z-index: 2;
}

.history_avtovaz_block {
	position: relative;
	/* space below logo before seam ≈ 210px @1920; keep content clear of drops */
	padding: 48px 0 200px;
	min-height: 0;
	display: flex;
	align-items: center;
}

.history_avtovaz_row {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	width: 100%;
}

/* Лого + слово «АВТОВАЗ» одним слоем (Figma: слово выше овала, лого поверх) */
.history_avtovaz_visual {
	position: relative;
	flex: 0 1 auto;
	width: min(55%, 560px);
	max-width: 560px;
	isolation: isolate;
	overflow: visible;
	will-change: transform;
}

.history_avtovaz_word {
	position: absolute;
	left: 0;
	/* Figma: y_word 1089 / y_logo 1119 → слово чуть выше верха лого */
	top: -0.28em;
	margin: 0;
	font-size: clamp(64px, 9.2vw, 176px);
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--history-year);
	pointer-events: none;
	user-select: none;
	z-index: 1;
	white-space: nowrap;
}

.history_avtovaz {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.history_avtovaz_text {
	position: relative;
	z-index: 3;
	flex: 0 1 639px;
	margin: 0;
	margin-top: 48px; /* Figma: text center lower than logo center */
	padding-left: 8px;
	text-align: left;
	max-width: 639px;
	font-size: clamp(22px, 1.9vw, 36px) !important;
	font-weight: 600 !important;
	line-height: 1.44 !important;
}

/* Oil drips — Figma Vector 119/120: 425×226 & 498×192, overlap dark ~78px only */
.history_oil_drops {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 0;
	pointer-events: none;
	z-index: 1; /* below logo/text */
	line-height: 0;
}

.history_oil_drops__left,
.history_oil_drops__right {
	position: absolute;
	top: 0;
	display: block;
	height: auto;
	max-width: none;
	/* ~78/226 ≈ 35% into dark — only seam overlap, not covering logo */
	transform: translateY(-34%);
}

.history_oil_drops__left {
	/* Figma: x=150, w=425 @1920 */
	left: max(0px, calc(50% - 810px));
	width: min(22vw, 425px);
	max-width: 425px;
}

.history_oil_drops__right {
	/* Figma: x=1271.5, w=498 → right inset ≈150.5 */
	right: max(0px, calc(50% - 810px));
	width: min(26vw, 498px);
	max-width: 498px;
}

/* 2023 light */
.history_scene--light {
	background: var(--history-light);
	color: var(--history-dark);
}

.history_scene--2023 {
	overflow: visible;
	padding-top: 120px;
	margin-top: 0;
}

/* Figma 7726:30657 — «2023» не у правого края, а левее центра */
.history_scene--2023 > .history_year_bg {
	right: auto;
	left: max(24px, calc(50% - 220px));
	top: 48px;
	z-index: 0;
}

.history_drip {
	position: absolute;
	top: -56px;
	left: 0;
	right: 0;
	height: 88px;
	background: var(--history-light);
	clip-path: ellipse(58% 100% at 50% 100%);
}

.history_drip--hidden {
	display: none !important;
}

.history_alrosa_logo {
	width: min(100%, 342px);
	max-width: 342px;
	height: auto;
	margin-bottom: 20px;
}

.history_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 28px;
	padding: 0 28px;
	border-radius: 12px;
	background: linear-gradient(60deg, var(--history-accent) 46%, var(--history-accent-2) 100%);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: opacity 0.2s;
}

.history_btn:hover {
	opacity: 0.88;
}

/* Figma Frame 1597878985 — pill revenue badge */
.history_btn--pill {
	position: relative;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	margin-top: 68px;
	padding: 18px;
	border-radius: 119px;
	background: linear-gradient(53deg, #e63223 3.23%, #f9af19 109%);
	color: #fff;
	font-size: clamp(18px, 1.9vw, 36px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	text-transform: none;
	text-decoration: none;
	cursor: default;
	pointer-events: none;
}

.history_btn__inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 20px 24px;
	border: 3px solid #fff;
	border-radius: 400px;
	white-space: nowrap;
}

.history_btn--pill:hover {
	opacity: 1;
	filter: none;
}

/* BelAZ — полное изображение без обрезки */
.history_belaz_wrap {
	position: relative;
	overflow: visible;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	min-height: 420px;
}

.history_belaz {
	width: 1050px;
	max-width: none;
	height: auto;
	flex-shrink: 0;
	margin-right: calc(50% - 50vw + 120px);
	will-change: transform;
	filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.15));
}

/* Marketplace — Figma: visual left, revenue + copy right */
.history_scene--marketplace {
	padding-top: 48px;
	padding-bottom: 80px;
}

.history_marketplace {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	align-items: center;
	gap: clamp(24px, 4vw, 64px);
	width: 100%;
}

.history_marketplace_visual {
	position: relative;
	width: 100%;
	max-width: 720px;
	aspect-ratio: 720 / 670;
	min-height: 0;
	margin: 0;
}

.history_marketplace_ozon,
.history_marketplace_wb {
	position: absolute;
	height: auto;
	z-index: 1;
}

.history_marketplace_ozon {
	left: 0;
	bottom: 0;
	width: min(51%, 366px);
}

.history_marketplace_wb {
	right: 0;
	top: 0;
	width: min(53%, 383px);
}

.history_marketplace_products {
	position: absolute;
	z-index: 2;
	left: 12%;
	top: 6%;
	width: min(95%, 685px);
	margin: 0;
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
}

.history_marketplace_copy {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	max-width: 547px;
	padding-top: 24px;
}

.history_marketplace_revenue {
	margin: 0;
	font-size: clamp(36px, 3.2vw, 62px);
	line-height: 1.44;
	font-weight: 600;
	text-align: left;
	color: var(--history-dark);
}

.history_marketplace_revenue strong {
	font-weight: 600;
}

.history_marketplace_line {
	display: block;
	width: min(100%, 420px);
	height: 2px;
	margin: 0;
	background: var(--history-accent);
	border-radius: 1px;
}

.history_marketplace_heading {
	max-width: 547px;
	margin: 0;
	font-size: clamp(22px, 1.9vw, 36px);
	line-height: 1.44;
	font-weight: 600;
	text-align: left;
	color: var(--history-dark);
}

.history_text--dark {
	color: #333436;
}

.history_orbit_copy {
	max-width: 609px;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.history_orbit_heading {
	text-align: left;
	text-transform: uppercase;
	margin: 0;
}

.history_orbit_heading .history_title_strong {
	font-weight: 600;
}

.history_orbit_heading .history_title_light {
	font-weight: 400;
}

.history_orbit_lead {
	max-width: 552px;
	margin: 0;
	font-size: clamp(16px, 1.15vw, 22px);
	letter-spacing: 0.03em;
	line-height: 1.5;
}

.history_logo_evolution_caption {
	margin: 0 auto 39px;
	max-width: 707px;
	font-size: clamp(22px, 1.9vw, 36px);
	font-weight: 600;
	line-height: 1.44;
	color: #333436;
	text-align: center;
}

.history_industries_sub {
	max-width: 655px;
	margin: 0 auto 24px;
}

/* Logo evolution — Figma: подпись + логотип 991×347 на белом, без «капсулы» */
.history_scene--logo-evolution {
	padding: 48px 0 80px;
}

.history_logo_evolution {
	display: flex;
	justify-content: center;
	padding: 0;
	text-align: center;
	will-change: transform;
}

.history_logo_evolution_img {
	display: block;
	width: min(100%, 991px);
	height: auto;
	margin: 0 auto;
}

/* Orbit — Figma: центр 280px light, партнёры 200px, радиус ~290 */
.history_scene--2024 {
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(48px, 6vw, 80px);
	overflow: hidden;
}

.history_scene--2024 .history_scene_inner {
	display: grid;
	grid-template-columns: minmax(0, 609px) minmax(320px, 755px);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	position: relative;
	z-index: 1;
}

.history_orbit_wrap {
	padding: 0;
	justify-self: end;
	width: 100%;
	max-width: 755px;
}

.history_orbit {
	position: relative;
	width: min(100%, 680px);
	aspect-ratio: 1;
	margin: 0 auto;
}

.history_orbit_spin {
	position: absolute;
	inset: 0;
	animation: history-orbit-spin 36s linear infinite;
}

.history_orbit_center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: clamp(160px, 22vw, 280px);
	height: clamp(160px, 22vw, 280px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8%;
	background: #f6f6f6;
	border-radius: 50%;
	box-shadow: none;
}

.history_orbit_center img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.history_orbit_item {
	position: absolute;
	top: 50%;
	left: 50%;
	width: clamp(110px, 14vw, 200px);
	height: clamp(110px, 14vw, 200px);
	margin: calc(clamp(110px, 14vw, 200px) / -2) 0 0 calc(clamp(110px, 14vw, 200px) / -2);
	transform: rotate(calc(var(--i) * 60deg)) translateY(calc(-1 * var(--orbit-r)));
}

.history_orbit_badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 18%;
	border-radius: 50%;
	background: #f6f6f6;
	border: 1px solid #9a9ea1;
	box-sizing: border-box;
	animation: history-orbit-counter 36s linear infinite;
	overflow: hidden;
}

.history_orbit_badge img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	animation: none;
}

.history_orbit_badge--cover {
	padding: 0;
	border: none;
	background: transparent;
}

.history_orbit_badge--cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.history_orbit_badge--nlmk {
	flex-direction: column;
	gap: 6%;
	padding: 22% 12%;
	background: #f6f6f6;
}

.history_orbit_badge--nlmk img {
	transform: rotate(180deg);
}

.history_orbit_nlmk_a {
	width: 34% !important;
	height: auto !important;
	flex: 0 0 auto;
}

.history_orbit_nlmk_b {
	width: 90% !important;
	height: auto !important;
	flex: 0 0 auto;
}

@keyframes history-orbit-spin {
	to { transform: rotate(360deg); }
}

@keyframes history-orbit-counter {
	to { transform: rotate(-360deg); }
}

/* Industries marquee — Figma 7813:28077: плотное поле «НОВЫЕ ПРОДУКТЫ» */
.history_scene--industries {
	--history-marquee-size: clamp(22px, 1.875vw, 36px);
	--history-marquee-lh: 1.44;
	--history-marquee-rows: 17;
	--history-marquee-h: calc(var(--history-marquee-rows) * var(--history-marquee-lh) * var(--history-marquee-size));
	overflow-x: hidden;
	overflow-y: visible;
	padding: clamp(100px, 11vw, 180px) 0 clamp(64px, 6vw, 96px);
	isolation: isolate;
}

.history_marquee_bg {
	position: absolute;
	left: 50%;
	top: clamp(200px, 28vw, 420px);
	bottom: auto;
	transform: translateX(-50%);
	width: max(100vw, 2061px);
	height: var(--history-marquee-h);
	overflow-x: hidden;
	overflow-y: visible;
	pointer-events: none;
	z-index: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0;
}

.history_marquee_row {
	display: flex;
	flex-shrink: 0;
	width: max-content;
	gap: 0.35em;
	white-space: nowrap;
	font-size: var(--history-marquee-size);
	font-weight: 600;
	text-transform: uppercase;
	color: #333436;
	line-height: var(--history-marquee-lh);
	letter-spacing: 0;
	will-change: transform;
}

.history_marquee_row span {
	flex: 0 0 auto;
}

.history_marquee_row .is-accent {
	color: #f8863a;
}

.history_marquee_row--left {
	animation: history-marquee-left 58s linear infinite;
}

.history_marquee_row--right {
	animation: history-marquee-right 64s linear infinite;
}

.history_marquee_row:nth-child(3n) {
	animation-duration: 72s;
}

.history_marquee_row:nth-child(4n) {
	animation-duration: 52s;
}

@keyframes history-marquee-left {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@keyframes history-marquee-right {
	from { transform: translateX(-50%); }
	to { transform: translateX(0); }
}

.history_industries {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	/* заголовок + поле строк целиком (чтобы нижняя строка не резалась) */
	min-height: calc(clamp(200px, 28vw, 420px) + var(--history-marquee-h));
}

.history_industries_title {
	margin: 0;
	text-transform: uppercase;
}

.history_industries_sub {
	margin: 0;
}

.history_bucket {
	width: min(100%, 504px);
	/* опускаем в середину поля бегущих строк (под заголовком/подзаголовком) */
	margin: clamp(160px, 18vw, 160px) auto clamp(24px, 3vw, 48px);
	filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

@media (prefers-reduced-motion: reduce) {
	.history_marquee_row--left,
	.history_marquee_row--right {
		animation: none;
	}
}

/* Warehouse 2025 — скругления как у standarts; позиции из Figma 8477:24020–24022 */
.history_warehouse {
	position: relative;
	display: block;
	width: 100%;
	min-height: 845px;
	background-image: url("/history/assets/warehouse-2025.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.history_warehouse_mask {
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	height: auto;
	pointer-events: none;
	z-index: 1;
}

.history_warehouse_mask--top {
	top: -10px;
}

.history_warehouse_mask--bottom {
	bottom: -10px;
}

.history_warehouse_content {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
}

.history_warehouse_year {
	position: absolute;
	/* Figma 8477:24021 — left 265, center Y = imageTop+25, 180 Bold / lh 1.4 */
	top: 25px;
	left: max(24px, calc(50% - 695px));
	margin: 0;
	transform: translateY(-50%);
	font-size: clamp(72px, 9.375vw, 180px);
	font-weight: 700;
	line-height: 1.4;
	color: #ffffff;
	white-space: nowrap;
	user-select: none;
	pointer-events: none;
}

.history_warehouse_text_wrap {
	position: absolute;
	/* Figma 8477:24022 — left 50%+41, center Y = imageTop+292 (=34.556% of 845), w 710 */
	top: 34.556%;
	left: max(24px, calc(50% + 41px));
	width: min(710px, calc(100% - 48px));
	max-width: 710px;
	transform: translateY(-50%);
	pointer-events: auto;
}

.history_warehouse_text {
	margin: 0;
	font-size: clamp(18px, 1.875vw, 36px);
	font-weight: 600;
	line-height: 1.44;
	color: #ffffff;
	text-align: left;
}

@media (max-width: 1024px) {
	.history_warehouse {
		min-height: clamp(360px, 48vw, 520px);
	}

	.history_warehouse_year {
		top: 10%;
		transform: translateY(-40%);
		left: max(24px, calc(50% - 360px));
	}

	.history_warehouse_text_wrap {
		top: 42%;
		left: max(24px, calc(50% + 8px));
		width: min(420px, calc(100% - 48px));
	}
}

/* Today — Figma 8477:24033 + 8477:24023 */
.history_today {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 1.05fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	padding: clamp(32px, 4vw, 56px) 0;
	text-align: left;
}

.history_today_title {
	display: block;
	margin: 0 0 28px;
	font-size: clamp(28px, 3.2vw, 62px);
	line-height: 1.44;
	text-transform: uppercase;
	white-space: nowrap;
}

.history_today_title .history_title_strong {
	font-weight: 600;
}

.history_today_title .history_title_light {
	font-weight: 400;
}

.history_today_lead {
	max-width: 552px;
	margin: 0;
}

.history_today_brand {
	position: relative;
	display: grid;
	place-items: center;
	justify-self: center;
	width: min(100%, 640px);
	margin: 0;
	isolation: isolate;
}

.history_today_glow {
	position: absolute;
	inset: -5%;
	border-radius: 50%;
	background: radial-gradient(
		circle at 50% 48%,
		rgba(255, 210, 90, 1) 0%,
		rgba(249, 175, 25, 0.92) 16%,
		rgba(235, 110, 20, 0.65) 34%,
		rgba(200, 70, 10, 0.35) 50%,
		rgba(120, 40, 5, 0.12) 64%,
		transparent 74%
	);
	z-index: 0;
	pointer-events: none;
}

.history_glow_logo {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

/* Finale — Figma 8477:24036–24038 */
.history_finale_copy {
	text-align: center;
	margin-bottom: clamp(20px, 3vw, 40px);
}

.history_finale_title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	margin: 0 0 20px;
	font-size: clamp(28px, 3.2vw, 62px);
	line-height: 1.44;
	font-weight: 400;
	color: #ffffff;
	text-transform: uppercase;
}

.history_finale_title_line {
	display: block;
}

.history_finale_title .history_title_strong {
	font-weight: 700;
}

.history_finale_sub {
	margin: 0 auto;
	max-width: 1378px;
	font-size: clamp(22px, 1.9vw, 36px);
	line-height: 1.44;
	font-weight: 600;
	color: #ffffff;
}

.history_finale_stage {
	position: relative;
	width: min(100%, 1100px);
	margin: 0 auto clamp(8px, 2vw, 28px);
	aspect-ratio: 2.15 / 1;
	overflow: hidden;
	isolation: isolate;
}

.history_finale_canvas {
	position: absolute;
	inset: 0;
}

/* Погрузчик + бочка: заезд слева, под продукцией */
.history_finale_rig {
	position: absolute;
	inset: 0;
	z-index: 1;
	transform: translate3d(-70%, 0, 0);
	transition: transform 1.45s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
}

.history_finale_rig.is-in {
	transform: translate3d(0, 0, 0);
}

.history_finale_forklift {
	position: absolute;
	left: 0;
	top: 4%;
	width: 62%;
	height: auto;
	max-width: none;
	pointer-events: none;
	user-select: none;
}

.history_finale_barrel {
	position: absolute;
	left: 44%;
	top: 21%;
	width: 16%;
	height: auto;
	max-width: none;
	pointer-events: none;
	user-select: none;
	z-index: 1;
}

/* Ведра/банки — статичный передний план */
.history_finale_products {
	position: absolute;
	left: 50%;
	top: 22%;
	width: 44%;
	height: auto;
	max-width: none;
	transform: translateX(-50%);
	z-index: 3;
	pointer-events: none;
	user-select: none;
}

.history_features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: clamp(24px, 3vw, 40px);
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	align-items: flex-start;
	text-align: center;
}

.history_feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 600;
}

.history_feature img {
	width: 120px;
	height: auto;
}

.history_feature span {
	font-size: clamp(16px, 1.15vw, 22px);
	line-height: 1.5;
	color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
	.history_finale_rig {
		transform: none;
		transition: none;
	}
}

/* Reveal */
.history_reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.history_reveal--delay {
	transition-delay: 0.15s;
}

.history_reveal--delay-1 {
	transition-delay: 0.1s;
}

.history_reveal--delay-2 {
	transition-delay: 0.22s;
}

.history_reveal.is-visible {
	opacity: 1;
	transform: translate(0, 0);
}

@media (max-width: 1024px) {
	:root {
		--orbit-r: 200px;
	}

	.content_width {
		padding-left: 40px;
		padding-right: 40px;
	}

	/* Планшет (Figma ~834): сохраняем 2 колонки, но плотнее */
	.history_2021_layout {
		grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.7fr);
		gap: 20px;
	}

	.history_scene_grid--products {
		grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
		gap: 24px;
	}

	.history_polaroid_block {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
		gap: 28px;
		min-height: 0;
	}

	.history_today {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
		gap: 28px;
		padding: clamp(28px, 4vw, 48px) 0;
	}

	.history_today_title {
		white-space: normal;
		font-size: clamp(28px, 4.2vw, 44px);
	}

	.history_today_brand {
		width: min(100%, 440px);
	}

	.history_marketplace {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.history_scene--2024 .history_scene_inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.history_avtovaz_block {
		padding: 40px 0 160px;
		min-height: 0;
	}

	.history_avtovaz_row {
		flex-wrap: wrap;
		gap: 12px 24px;
	}

	.history_avtovaz_visual {
		width: min(60%, 420px);
		max-width: 420px;
	}

	.history_avtovaz_text {
		flex: 1 1 280px;
		max-width: 480px;
		margin-top: 24px;
		font-size: clamp(18px, 2.4vw, 28px) !important;
	}

	.history_avtovaz_word {
		font-size: clamp(48px, 9vw, 120px);
		top: -0.3em;
	}

	.history_oil_drops__left,
	.history_oil_drops__right {
		transform: translateY(-30%);
	}

	.history_oil_drops__left {
		left: 0;
		width: min(36vw, 260px);
		max-width: 260px;
	}

	.history_oil_drops__right {
		right: 0;
		width: min(40vw, 280px);
		max-width: 280px;
	}

	.history_scene--2023 {
		padding-top: 100px;
	}

	.history_polaroids {
		justify-self: end;
		margin-right: 0;
		width: min(100%, 340px);
		height: 380px;
	}

	.history_polaroid--left {
		width: min(62%, 210px);
	}

	.history_polaroid--right {
		width: min(66%, 220px);
		top: 48px;
		right: 0;
	}

	.history_scene--hero,
	.history_scene--2020 {
		height: auto;
		min-height: 0;
		overflow: visible;
	}

	/* Планшет: заголовок → бочка → «с малого» → лид (бочка в потоке, не поверх текста) */
	.history_hero {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		height: auto;
		min-height: 0;
		padding: 72px 40px 56px;
	}

	.history_hero_title {
		display: contents;
	}

	.history_barrel_float_img {
		filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
	}

	.history_hero_title_main {
		order: 1;
		position: static;
		left: auto;
		top: auto;
		width: auto;
		max-width: none;
		margin: 0 0 24px;
		text-align: left;
		font-size: clamp(32px, 5.2vw, 48px);
	}

	.history_hero_barrel_slot {
		order: 2;
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: 200px;
		height: 334px;
		margin: 4px auto 36px;
	}

	.history_hero_title_sub {
		order: 3;
		position: static;
		left: auto;
		top: auto;
		width: auto;
		max-width: none;
		margin: 0 0 24px;
		text-align: right;
		font-size: clamp(32px, 5.2vw, 48px);
	}

	.history_hero_lead {
		order: 4;
		position: static;
		left: auto;
		top: auto;
		transform: none;
		width: 100%;
		max-width: 560px;
		margin: 0 auto;
		padding: 0 8px;
		text-align: center;
		font-size: clamp(16px, 2.2vw, 22px);
	}

	/* Убираем десктопный min-height 1073px — иначе на iPad пустой «провал» до 2021 */
	.history_scene--2021 {
		min-height: 0;
	}

	.history_scene--2021 .history_scene_inner {
		padding-top: 80px;
		padding-bottom: 32px;
	}

	.history_barrel_slot {
		width: min(28vw, 220px);
		max-width: 220px;
		min-height: 300px;
		margin-right: 0;
	}

	.history_scene--products {
		padding-top: 40px;
		padding-bottom: 80px;
	}

	.history_deal {
		margin-top: 48px;
	}

	.history_deal_podpis {
		left: 180px;
		top: -48px;
		width: 200px;
	}

	.history_scene_grid {
		min-height: auto;
	}

	.history_belaz {
		width: min(900px, 120vw);
		margin-right: calc(50% - 50vw + 48px);
	}

	.history_scene--2023 > .history_year_bg {
		left: max(16px, calc(50% - 280px));
		top: 24px;
		font-size: clamp(64px, 14vw, 120px);
	}

	.history_features {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}

	.history_marketplace_visual {
		max-width: 560px;
		margin: 0 auto;
	}

	.history_marketplace_copy {
		max-width: none;
		padding-top: 0;
		text-align: center;
	}

	.history_btn--pill {
		margin-top: 32px;
		font-size: clamp(16px, 4.5vw, 24px);
		padding: 12px;
	}

	.history_btn__inner {
		padding: 14px 18px;
		border-width: 2px;
	}

	.history_alrosa_logo {
		width: min(70%, 260px);
	}

	.history_orbit_wrap {
		justify-self: center;
	}

	.history_finale_stage {
		width: min(100%, 900px);
	}

	.history_warehouse_year {
		font-size: clamp(64px, 10vw, 120px);
	}

	.history_warehouse_text {
		font-size: clamp(18px, 2.4vw, 28px);
	}

	.history_2021_copy {
		max-width: none;
	}

	.history_barrel_slot {
		width: min(28vw, 220px);
		max-width: 220px;
		min-height: 300px;
		margin-right: 0;
	}

	.history_title--section {
		font-size: clamp(28px, 4vw, 44px);
	}

	.history_text--light {
		font-size: clamp(16px, 2vw, 22px);
	}

	.history_products_stage {
		max-width: 100%;
	}

	.history_cert_logos {
		max-width: min(100%, 260px);
	}

	.history_stamp--under-text {
		max-width: min(100%, 280px);
	}

	.history_finale_title {
		font-size: clamp(28px, 4vw, 44px);
	}

	.history_finale_sub {
		font-size: clamp(18px, 2.4vw, 28px);
	}

	.history_feature img {
		width: 96px;
	}
}

@media (max-width: 767px) {
	.content_width {
		padding-left: 20px;
		padding-right: 20px;
	}

	.history_scene {
		padding: 64px 0 48px;
	}

	.history_scene--today {
		padding: 0;
	}

	.history_scene--2022c {
		padding: 0;
	}

	/* Hero — макет 402 / iPhone: стек без перекрытия текста бочкой */
	.history_scene--hero,
	.history_scene--2020 {
		min-height: 0;
		padding: 0;
	}

	.history_barrel_float_img {
		filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
	}

	.history_hero {
		padding: 56px 24px 40px;
		padding-left: max(24px, env(safe-area-inset-left, 0px));
		padding-right: max(24px, env(safe-area-inset-right, 0px));
	}

	.history_hero_title_main {
		margin: 0 0 20px;
		padding-right: 12px;
		font-size: clamp(26px, 7.5vw, 34px);
		line-height: 1.2;
	}

	.history_hero_barrel_slot {
		width: 132px;
		height: 220px;
		margin: 0 auto 40px;
	}

	.history_hero_title_sub {
		margin: 0 0 20px;
		font-size: clamp(26px, 7.5vw, 34px);
		line-height: 1.2;
	}

	.history_hero_lead {
		max-width: none;
		padding: 0 8px;
		font-size: clamp(15px, 4vw, 17px);
		line-height: 1.5;
	}

	.content_width {
		padding-left: max(24px, env(safe-area-inset-left, 0px));
		padding-right: max(24px, env(safe-area-inset-right, 0px));
	}

	.history_scene--2021 {
		min-height: 0;
	}

	/* 2020 idea — макет 402: текст слева, маленькая бочка справа (~130px) */
	.history_2021_layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(110px, 34%);
		gap: 8px 12px;
		align-items: start;
		text-align: left;
	}

	.history_2021_copy {
		display: block;
		max-width: none;
	}

	.history_2021_copy > .history_title {
		margin-bottom: 12px;
	}

	.history_barrel_slot {
		width: min(34vw, 130px);
		max-width: 130px;
		min-height: 220px;
		margin: 48px 0 0 auto;
	}

	.history_deal {
		margin-top: 28px;
		max-width: 100%;
		width: 100%;
		text-align: left;
	}

	.history_deal_podpis {
		left: 120px;
		top: -36px;
		width: 140px;
	}

	.history_deal_amount {
		font-size: clamp(28px, 8vw, 40px);
	}

	.history_scene--2021 .history_scene_inner {
		padding-top: 56px;
		padding-bottom: 40px;
	}

	/* 2021 products */
	.history_scene_grid--products {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		gap: 28px;
	}

	.history_certs {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.history_cert_text {
		max-width: 100%;
	}

	.history_stamp {
		margin-left: auto;
		margin-right: auto;
	}

	/* Polaroids — макет 402: заметно меньше */
	.history_polaroid_block {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: left;
		gap: 20px;
		padding: 24px 0 40px;
		min-height: 0;
	}

	.history_polaroid_copy {
		text-align: left;
		width: 100%;
		padding-top: 0;
	}

	.history_polaroids {
		justify-self: center;
		width: min(78vw, 280px);
		height: 320px;
		margin-right: 0;
	}

	.history_polaroid--left {
		width: min(72%, 180px);
	}

	.history_polaroid--right {
		width: min(76%, 190px);
		top: 40px;
		right: 0;
	}

	.history_polaroid {
		width: auto;
		margin-top: 0 !important;
	}

	/* AvtoVAZ / oil — Figma 8003:29655: без огромной пустоты снизу */
	.history_avtovaz_block {
		padding: 24px 0 40px;
		flex-direction: column;
		align-items: stretch;
	}

	.history_avtovaz_row {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.history_avtovaz_visual {
		width: min(78%, 300px);
		max-width: 300px;
	}

	.history_avtovaz_text {
		max-width: none;
		width: 100%;
		margin-top: 0;
		padding-left: 0;
	}

	.history_avtovaz_word {
		font-size: clamp(36px, 12vw, 72px);
		top: -0.32em;
		left: 0;
	}

	/* Капли на мобилке в макете 402 не показываем */
	.history_oil_drops {
		display: none;
	}

	/* ALROSA + BelAZ — Figma 8003:29670: стек, БелАЗ снизу по центру */
	.history_scene--2023 {
		padding: 48px 0 0;
		overflow: visible;
	}

	.history_scene--2023 > .history_year_bg {
		left: 16px;
		top: 16px;
		font-size: clamp(56px, 18vw, 96px);
	}

	.history_scene_grid--belaz {
		grid-template-columns: 1fr;
		gap: 16px;
		justify-items: stretch;
		align-items: start;
	}

	.history_scene--2023 .history_copy {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		text-align: left;
		width: 100%;
	}

	.history_alrosa_logo {
		width: min(70%, 220px);
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 16px;
	}

	.history_btn--pill {
		box-sizing: border-box;
		margin-top: 24px;
		margin-bottom: 8px;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		max-width: 100%;
		font-size: clamp(14px, 3.8vw, 18px);
		padding: 8px;
		letter-spacing: -0.02em;
	}

	.history_btn__inner {
		box-sizing: border-box;
		width: 100%;
		padding: 14px 10px;
		border-width: 2px;
		border-radius: 400px;
		white-space: nowrap;
		text-align: center;
		justify-content: center;
	}

	.history_belaz_wrap {
		min-height: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		margin: 8px 0 0;
		overflow: visible;
	}

	.history_belaz {
		width: min(100%, 360px);
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}

	/* Industries — меньше верх/низ, ведро ближе к тексту */
	.history_scene--industries {
		--history-marquee-rows: 11;
		--history-marquee-size: clamp(16px, 4.2vw, 22px);
		padding: 48px 0 40px;
	}

	.history_industries {
		min-height: 0;
		gap: 16px;
	}

	.history_marquee_bg {
		top: clamp(140px, 38vw, 200px);
	}

	.history_bucket {
		width: min(72%, 280px);
		margin: clamp(48px, 14vw, 80px) auto 16px;
	}

	/* Warehouse */
	.history_warehouse {
		min-height: 360px;
	}

	.history_warehouse_year {
		font-size: clamp(56px, 16vw, 96px);
		top: 14%;
		left: 20px;
		transform: none;
	}

	.history_warehouse_text_wrap {
		top: auto;
		bottom: 14%;
		left: 20px;
		right: 20px;
		width: auto;
		max-width: none;
		transform: none;
	}

	.history_warehouse_text {
		font-size: clamp(18px, 4.5vw, 24px);
	}

	/* Today */
	.history_today {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 24px;
		padding: 28px 0;
		text-align: center;
	}

	.history_today_copy {
		text-align: center;
		width: 100%;
	}

	.history_today_title {
		white-space: normal;
		font-size: clamp(26px, 7vw, 36px);
		margin-bottom: 20px;
	}

	.history_today_lead {
		max-width: none;
		margin: 0 auto;
	}

	.history_today_brand {
		width: min(100%, 320px);
	}

	/* Finale */
	.history_finale_copy {
		padding: 0 12px;
	}

	.history_finale_stage {
		width: 100%;
		aspect-ratio: 1.55 / 1;
	}

	.history_finale_products {
		width: 70%;
		top: 24%;
	}

	.history_finale_barrel {
		width: 22%;
		left: 41%;
		top: 14%;
	}

	.history_finale_forklift {
		width: 82%;
		left: -4%;
		top: 4%;
	}

	.history_finale_rig {
		transform: translate3d(-85%, 0, 0);
	}

	.history_finale_rig.is-in {
		transform: translate3d(0, 0, 0);
	}

	.history_features {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.history_title--section {
		font-size: clamp(26px, 7vw, 36px);
	}

	.history_marketplace_copy {
		text-align: center;
	}

	.history_btn--pill {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.history_scene {
		padding: 56px 0 40px;
	}

	.history_scene--today {
		padding: 0;
	}

	.history_scene--2023 {
		padding: 40px 0 0;
	}

	.history_scene--industries {
		padding: 40px 0 32px;
	}

	.history_avtovaz_block {
		padding: 20px 0 32px;
	}

	.history_hero {
		padding-top: 48px;
		padding-bottom: 32px;
	}

	.history_hero_barrel_slot {
		width: 124px;
		height: 208px;
		margin: 0 auto 36px;
	}

	.history_hero_title_main,
	.history_hero_title_sub {
		font-size: clamp(24px, 7.2vw, 30px);
	}

	.history_hero_lead {
		font-size: 15px;
		line-height: 1.5;
	}

	.history_barrel_slot {
		width: min(32vw, 120px);
		max-width: 120px;
		min-height: 200px;
	}

	.history_polaroids {
		width: min(74vw, 260px);
		height: 300px;
	}

	.history_polaroid--left {
		width: min(70%, 168px);
	}

	.history_polaroid--right {
		width: min(74%, 176px);
	}

	.history_finale_copy {
		padding: 0 8px;
	}
}


/* End */
/* /history/style.css?179144500948326 */
