/* =========================================================
   Балашиха Лифт — основные стили
   Метафора: лифтовая шахта. Графит + фирменный зелёный.
   ========================================================= */

:root {
	--ink: #08141a;
	--graphite: #122831;
	--graphite-2: #1a343f;
	--graphite-3: #24505f;
	--steel: #7f9aa5;
	--steel-2: #b9cbd2;
	--mist: #e7eef0;
	--paper: #f6f9f9;
	--white: #fff;

	--green: #028920;
	--green-2: #0fa82f;
	--green-3: #2ecb53;
	--green-soft: rgba(15, 168, 47, 0.12);
	--green-glow: rgba(46, 203, 83, 0.45);

	--font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--radius-lg: 22px;

	--shadow-sm: 0 2px 10px rgba(8, 20, 26, 0.06);
	--shadow: 0 18px 40px -22px rgba(8, 20, 26, 0.45);
	--shadow-lg: 0 40px 80px -40px rgba(8, 20, 26, 0.65);

	--header-h: 84px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--graphite);
	background: var(--white);
	overflow-x: hidden;
}

body.is-locked {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	color: var(--graphite);
}

h1 {
	font-size: clamp(34px, 5.4vw, 64px);
}

h2 {
	font-size: clamp(28px, 3.9vw, 46px);
}

h3 {
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

ul {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

.wrap {
	width: min(var(--wrap), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--green);
	color: #fff;
	padding: 12px 18px;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
}

/* ---------------------------------------------------------
   Кнопки
   --------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	border-radius: 999px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.01em;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
		color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
	position: relative;
	overflow: hidden;
	line-height: 1.2;
}

.btn__arrow {
	transition: transform 0.35s var(--ease);
	flex: none;
}

.btn:hover .btn__arrow {
	transform: translateX(4px);
}

.btn--primary {
	background: var(--green);
	color: #fff;
	box-shadow: 0 14px 30px -14px rgba(2, 137, 32, 0.9);
}

.btn--primary:hover {
	background: var(--green-2);
	transform: translateY(-2px);
	box-shadow: 0 20px 40px -16px rgba(2, 137, 32, 0.95);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(6px);
}

.btn--ghost:hover {
	border-color: var(--green-3);
	background: rgba(46, 203, 83, 0.12);
	transform: translateY(-2px);
}

.btn--dark {
	background: var(--graphite);
	color: #fff;
}

.btn--dark:hover {
	background: var(--graphite-2);
	transform: translateY(-2px);
}

.btn--outline {
	border-color: rgba(18, 40, 49, 0.2);
	color: var(--graphite);
}

.btn--outline:hover {
	border-color: var(--green);
	color: var(--green);
}

.btn--wide {
	width: 100%;
	justify-content: center;
}

/* ---------------------------------------------------------
   Шапка
   --------------------------------------------------------- */

.header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
		height 0.4s var(--ease), border-color 0.4s var(--ease);
	border-bottom: 1px solid transparent;
}

.header__inner {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.5vw, 38px);
	width: min(var(--wrap), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.header--solid {
	background: rgba(18, 40, 49, 0.92);
	backdrop-filter: blur(14px);
	border-bottom-color: rgba(255, 255, 255, 0.08);
	height: 68px;
	box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.9);
}

.is-inner .header {
	background: var(--graphite);
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.logo__mark {
	width: 42px;
	height: 42px;
	flex: none;
	transition: transform 0.5s var(--ease);
}

.logo:hover .logo__mark {
	transform: translateY(-3px);
}

.logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	font-family: var(--font-head);
}

.logo__top {
	font-weight: 800;
	font-size: 19px;
	letter-spacing: 0.02em;
	color: #fff;
}

.logo__bottom {
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.34em;
	color: var(--green-3);
	margin-top: 3px;
}

.nav {
	margin-left: auto;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 1.8vw, 28px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__list a {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	font-size: 15px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	transition: color 0.3s var(--ease);
	white-space: nowrap;
}

.nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--green-3);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s var(--ease);
}

.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__list .current-menu-parent > a,
.nav__list .current-menu-ancestor > a {
	color: #fff;
}

.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current-menu-parent > a::after,
.nav__list .current-menu-ancestor > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav__list .menu-item-has-children {
	position: relative;
}

.nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: -18px;
	min-width: 290px;
	background: var(--graphite-2);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	padding: 10px;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
	box-shadow: var(--shadow-lg);
}

.nav__list .menu-item-has-children:hover > .sub-menu,
.nav__list .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav__list .sub-menu a {
	display: block;
	padding: 10px 14px;
	border-radius: 9px;
	white-space: normal;
	font-size: 14.5px;
}

.nav__list .sub-menu a::after {
	display: none;
}

.nav__list .sub-menu a:hover {
	background: rgba(46, 203, 83, 0.14);
	color: #fff;
}

.header__phone {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 16px;
	color: #fff;
	white-space: nowrap;
	transition: color 0.3s var(--ease);
}

.header__phone:hover {
	color: var(--green-3);
}

.header__cta {
	padding: 12px 22px;
	font-size: 14px;
	flex: none;
	white-space: nowrap;
}

/* Между 980 и 1200px кнопка уже не помещается рядом с меню и телефоном. */
@media (max-width: 1200px) {
	.header__cta {
		display: none;
	}
}

.burger {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: transparent;
	cursor: pointer;
	padding: 0;
	position: relative;
	flex: none;
}

.burger span {
	position: absolute;
	left: 13px;
	width: 20px;
	height: 2px;
	background: #fff;
	transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}

.burger span:nth-child(1) {
	top: 17px;
}

.burger span:nth-child(2) {
	top: 22px;
}

.burger span:nth-child(3) {
	top: 27px;
}

.burger.is-open span:nth-child(1) {
	transform: translateY(5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
	opacity: 0;
}

.burger.is-open span:nth-child(3) {
	transform: translateY(-5px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: var(--graphite);
	padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.mobile-menu.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-menu > ul > li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	opacity: 0;
	transform: translateY(14px);
}

.mobile-menu.is-open > ul > li {
	animation: menuIn 0.5s var(--ease) forwards;
}

@keyframes menuIn {
	to {
		opacity: 1;
		transform: none;
	}
}

.mobile-menu a {
	display: block;
	padding: 16px 0;
	color: #fff;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 20px;
}

.mobile-menu .sub-menu a {
	font-size: 16px;
	font-weight: 500;
	color: var(--steel-2);
	padding: 9px 0 9px 16px;
	border-left: 2px solid rgba(46, 203, 83, 0.4);
	margin-bottom: 4px;
}

.mobile-menu__foot {
	margin-top: 28px;
	display: grid;
	gap: 14px;
}

.mobile-menu__phone {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 24px;
	color: var(--green-3);
}

/* ---------------------------------------------------------
   Индикатор этажей (фирменная фишка)
   --------------------------------------------------------- */

.floors {
	position: fixed;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 60;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
	opacity: 0;
	transition: opacity 0.5s var(--ease);
	pointer-events: none;
}

.floors.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.floors__item {
	display: flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-family: var(--font-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--steel);
	transition: color 0.35s var(--ease);
}

.floors__label {
	opacity: 0;
	transform: translateX(6px);
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
	white-space: nowrap;
	font-size: 11px;
	text-transform: uppercase;
}

.floors__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	flex: none;
	transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
		transform 0.35s var(--ease);
}

.floors__item:hover .floors__label {
	opacity: 1;
	transform: none;
}

.floors__item.is-active {
	color: var(--green-2);
}

.floors__item.is-active .floors__dot {
	background: var(--green-2);
	box-shadow: 0 0 0 4px rgba(15, 168, 47, 0.18), 0 0 14px var(--green-glow);
	transform: scale(1.15);
}

.floors__item.is-active .floors__label {
	opacity: 1;
	transform: none;
}

/* ---------------------------------------------------------
   Первый экран
   --------------------------------------------------------- */

.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	background: var(--ink);
	color: #fff;
	overflow: hidden;
	padding: calc(var(--header-h) + 40px) 0 60px;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__poster,
.hero__video {
	position: absolute;
	inset: 0;
	display: block;
}

.hero__media video,
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
}

/* Видео перекрывает постер, когда действительно загрузилось. */
.hero__video {
	z-index: 1;
}

.hero__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(105deg, rgba(8, 20, 26, 0.94) 0%, rgba(8, 20, 26, 0.78) 42%, rgba(8, 20, 26, 0.34) 100%),
		linear-gradient(to top, rgba(8, 20, 26, 0.95) 0%, rgba(8, 20, 26, 0) 45%);
}

.hero__grid {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 100% 88px, 88px 100%;
	mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, #000 20%, transparent 78%);
}

.hero__inner {
	position: relative;
	z-index: 3;
	width: min(var(--wrap), 100% - var(--gutter) * 2);
	margin-inline: auto;
}

.hero__content {
	max-width: 780px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--green-3);
	margin-bottom: 22px;
}

.eyebrow::before {
	content: "";
	width: 34px;
	height: 2px;
	background: var(--green-2);
	display: block;
}

.hero h1 {
	color: #fff;
	margin-bottom: 24px;
}

.hero h1 .accent {
	color: var(--green-3);
}

.hero__lead {
	font-size: clamp(17px, 1.6vw, 20px);
	color: rgba(255, 255, 255, 0.82);
	max-width: 620px;
	margin-bottom: 36px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 54px;
}

.hero__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	max-width: 760px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-top: 26px;
}

.fact__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(17px, 1.9vw, 21px);
	color: #fff;
	margin-bottom: 4px;
}

.fact__title .icon {
	color: var(--green-3);
	flex: none;
}

.fact__text {
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.62);
	line-height: 1.5;
}

/* Направляющая шахты со «скользящей» кабиной */
.shaft {
	position: absolute;
	left: clamp(14px, 3vw, 46px);
	top: 0;
	bottom: 0;
	width: 2px;
	z-index: 2;
	background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.16) 18%, rgba(255, 255, 255, 0.16) 82%, transparent);
}

.shaft__car {
	position: absolute;
	left: 50%;
	top: 12%;
	width: 10px;
	height: 44px;
	margin-left: -5px;
	border-radius: 5px;
	background: linear-gradient(to bottom, var(--green-3), var(--green));
	box-shadow: 0 0 22px var(--green-glow);
	animation: shaftRide 7s var(--ease) infinite;
}

@keyframes shaftRide {
	0% {
		top: 8%;
	}
	45% {
		top: 72%;
	}
	55% {
		top: 72%;
	}
	100% {
		top: 8%;
	}
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	font-family: var(--font-head);
	font-weight: 700;
}

.hero__scroll span::after {
	content: "";
	display: block;
	width: 1px;
	height: 40px;
	margin: 8px auto 0;
	background: linear-gradient(to bottom, var(--green-3), transparent);
	animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
	0%,
	100% {
		opacity: 0.3;
		transform: scaleY(0.6);
	}
	50% {
		opacity: 1;
		transform: scaleY(1);
	}
}

/* ---------------------------------------------------------
   Секции
   --------------------------------------------------------- */

.section {
	padding: clamp(64px, 8vw, 118px) 0;
	position: relative;
}

.section--dark {
	background: var(--graphite);
	color: rgba(255, 255, 255, 0.78);
}

.section--dark h2,
.section--dark h3 {
	color: #fff;
}

.section--mist {
	background: var(--paper);
}

.section__head {
	max-width: 760px;
	margin-bottom: clamp(34px, 5vw, 62px);
}

.section__head--center {
	margin-inline: auto;
	text-align: center;
}

.section__head p {
	font-size: 17.5px;
	color: var(--graphite-3);
	margin: 0;
}

.section--dark .section__head p {
	color: rgba(255, 255, 255, 0.66);
}

/* ---------------------------------------------------------
   Услуги
   --------------------------------------------------------- */

.services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 22px;
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 34px 30px 30px;
	border-radius: var(--radius-lg);
	background: var(--white);
	border: 1px solid var(--mist);
	overflow: hidden;
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
	min-height: 100%;
}

.service-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(150deg, rgba(2, 137, 32, 0.07), transparent 55%);
	opacity: 0;
	transition: opacity 0.5s var(--ease);
}

.service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(2, 137, 32, 0.35);
	box-shadow: var(--shadow);
}

.service-card:hover::before {
	opacity: 1;
}

.service-card__icon {
	position: relative;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: var(--green-soft);
	color: var(--green);
	margin-bottom: 22px;
	transition: background-color 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease);
}

.service-card:hover .service-card__icon {
	background: var(--green);
	color: #fff;
	transform: rotate(-6deg) scale(1.05);
}

.service-card h3 {
	position: relative;
	margin-bottom: 12px;
	font-size: 20px;
}

.service-card p {
	position: relative;
	font-size: 15.5px;
	color: var(--graphite-3);
	line-height: 1.6;
	flex: 1;
	margin-bottom: 20px;
}

.service-card__more {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
	color: var(--green);
}

.service-card__more .icon {
	transition: transform 0.4s var(--ease);
}

.service-card:hover .service-card__more .icon {
	transform: translateX(5px);
}

.service-card__num {
	position: absolute;
	top: 22px;
	right: 26px;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 44px;
	color: rgba(18, 40, 49, 0.06);
	line-height: 1;
	transition: color 0.5s var(--ease);
}

.service-card:hover .service-card__num {
	color: rgba(2, 137, 32, 0.12);
}

/* ---------------------------------------------------------
   Акцентный блок «Диспетчеризация»
   --------------------------------------------------------- */

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.split__media {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.split__media img {
	width: 100%;
	transition: transform 1.2s var(--ease);
}

.split__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: inherit;
	pointer-events: none;
}

.split__media:hover img {
	transform: scale(1.04);
}

.checklist {
	list-style: none;
	padding: 0;
	margin: 26px 0 32px;
	display: grid;
	gap: 13px;
}

.checklist li {
	display: flex;
	gap: 13px;
	align-items: flex-start;
	font-size: 16px;
	line-height: 1.55;
}

.checklist .icon {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--green-2);
}

.section--dark .checklist li {
	color: rgba(255, 255, 255, 0.82);
}

/* ---------------------------------------------------------
   Преимущества
   --------------------------------------------------------- */

.advantages {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.advantage {
	background: var(--graphite);
	padding: 36px 30px;
	position: relative;
	transition: background-color 0.45s var(--ease);
}

.advantage::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--green-2);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.5s var(--ease);
}

.advantage:hover {
	background: var(--graphite-2);
}

.advantage:hover::before {
	transform: scaleY(1);
}

.advantage__icon {
	color: var(--green-3);
	margin-bottom: 18px;
	display: block;
}

.advantage h3 {
	font-size: 19px;
	margin-bottom: 9px;
}

.advantage p {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.62);
	margin: 0;
	line-height: 1.6;
}

/* ---------------------------------------------------------
   Марки лифтов
   --------------------------------------------------------- */

.brands {
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	padding: 8px 0;
}

.brands__track {
	display: flex;
	gap: 64px;
	width: max-content;
	animation: brandsRun 34s linear infinite;
	align-items: center;
}

.brands:hover .brands__track {
	animation-play-state: paused;
}

@keyframes brandsRun {
	to {
		transform: translateX(-50%);
	}
}

.brands__item {
	flex: none;
	height: 74px;
	min-width: 160px;
	display: grid;
	place-items: center;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.45s var(--ease), opacity 0.45s var(--ease);
}

.brands__item img {
	height: auto;
	width: auto;
	max-height: 62px;
	max-width: 132px;
	object-fit: contain;
}

.brands__item:hover {
	filter: none;
	opacity: 1;
}

/* ---------------------------------------------------------
   Этапы работы — вертикальная шахта
   --------------------------------------------------------- */

.process {
	position: relative;
	display: grid;
	gap: 0;
	max-width: 860px;
	margin-inline: auto;
}

.process::before {
	content: "";
	position: absolute;
	left: 27px;
	top: 18px;
	bottom: 18px;
	width: 2px;
	background: rgba(255, 255, 255, 0.12);
}

.process__fill {
	position: absolute;
	left: 27px;
	top: 18px;
	width: 2px;
	height: 0;
	background: linear-gradient(to bottom, var(--green-3), var(--green));
	box-shadow: 0 0 16px var(--green-glow);
	transition: height 0.9s var(--ease);
}

.step {
	position: relative;
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 22px;
	padding: 22px 0;
	align-items: start;
}

.step__num {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--graphite);
	border: 2px solid rgba(255, 255, 255, 0.16);
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 15px;
	color: var(--steel);
	position: relative;
	z-index: 2;
	transition: border-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.step.is-lit .step__num {
	border-color: var(--green-2);
	color: #fff;
	box-shadow: 0 0 0 5px rgba(15, 168, 47, 0.14);
}

.step h3 {
	margin-bottom: 7px;
	font-size: 20px;
}

.step p {
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 15.5px;
}

/* ---------------------------------------------------------
   Районы
   --------------------------------------------------------- */

.districts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.district {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 20px;
	border-radius: 999px;
	background: var(--white);
	border: 1px solid var(--mist);
	font-size: 15.5px;
	font-weight: 500;
	transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
		box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}

.district .icon {
	width: 18px;
	height: 18px;
	color: var(--green-2);
	flex: none;
}

.district:hover {
	transform: translateY(-3px);
	border-color: rgba(2, 137, 32, 0.4);
	box-shadow: var(--shadow-sm);
	color: var(--green);
}

.section--dark .district {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.85);
}

.section--dark .district:hover {
	background: rgba(46, 203, 83, 0.12);
	border-color: var(--green-2);
	color: #fff;
}

/* ---------------------------------------------------------
   Форма заявки
   --------------------------------------------------------- */

.lead {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: clamp(28px, 5vw, 60px);
	align-items: start;
}

.lead__aside p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 17px;
}

.lead__contacts {
	display: grid;
	gap: 16px;
	margin-top: 28px;
	list-style: none;
	padding: 0;
}

.lead__contacts li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.lead__contacts .icon {
	color: var(--green-3);
	flex: none;
	margin-top: 3px;
}

.lead__contacts a {
	transition: color 0.3s var(--ease);
}

.lead__contacts a:hover {
	color: var(--green-3);
}

.lead__label {
	display: block;
	font-size: 12.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: 3px;
	font-family: var(--font-head);
	font-weight: 700;
}

.form {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-lg);
	padding: clamp(24px, 3.4vw, 38px);
	backdrop-filter: blur(8px);
}

.section--mist .form,
.page-body .form {
	background: var(--white);
	border-color: var(--mist);
	box-shadow: var(--shadow);
}

.form__row {
	display: grid;
	gap: 16px;
	margin-bottom: 16px;
}

.form__row--2 {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.field {
	position: relative;
}

.field label {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	margin-bottom: 7px;
	color: rgba(255, 255, 255, 0.72);
}

.section--mist .field label,
.page-body .field label {
	color: var(--graphite-3);
}

.field input,
.field textarea,
.field select {
	width: 100%;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-family: var(--font-body);
	font-size: 16px;
	transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}

.section--mist .field input,
.section--mist .field textarea,
.section--mist .field select,
.page-body .field input,
.page-body .field textarea,
.page-body .field select {
	background: var(--paper);
	border-color: var(--mist);
	color: var(--graphite);
}

.field input::placeholder,
.field textarea::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.section--mist .field input::placeholder,
.page-body .field input::placeholder {
	color: var(--steel);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
	outline: none;
	border-color: var(--green-2);
	box-shadow: 0 0 0 4px rgba(15, 168, 47, 0.16);
}

.field textarea {
	min-height: 118px;
	resize: vertical;
}

.field.has-error input,
.field.has-error textarea {
	border-color: #e5484d;
	box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.14);
}

.field__hint {
	display: none;
	margin-top: 6px;
	font-size: 13px;
	color: #ff9ea1;
}

.field.has-error .field__hint {
	display: block;
}

.form__pot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.form__consent {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	font-size: 13.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.6);
	margin: 6px 0 20px;
}

.section--mist .form__consent,
.page-body .form__consent {
	color: var(--graphite-3);
}

.form__consent input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex: none;
	accent-color: var(--green);
}

.form__consent a {
	color: var(--green-3);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.section--mist .form__consent a,
.page-body .form__consent a {
	color: var(--green);
}

.form__note {
	margin: 14px 0 0;
	font-size: 14px;
	min-height: 21px;
}

.form__note--ok {
	color: var(--green-3);
}

.form__note--err {
	color: #ff9ea1;
}

.section--mist .form__note--ok,
.page-body .form__note--ok {
	color: var(--green);
}

.section--mist .form__note--err,
.page-body .form__note--err {
	color: #c4292e;
}

.btn[disabled] {
	opacity: 0.6;
	pointer-events: none;
}

/* ---------------------------------------------------------
   Внутренние страницы
   --------------------------------------------------------- */

.page-hero {
	position: relative;
	padding: calc(var(--header-h) + 58px) 0 58px;
	background: var(--graphite);
	color: #fff;
	overflow: hidden;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 100% 74px, 74px 100%;
	mask-image: radial-gradient(ellipse 70% 100% at 80% 40%, #000, transparent 75%);
	pointer-events: none;
}

.page-hero__inner {
	position: relative;
	z-index: 2;
}

.page-hero h1 {
	color: #fff;
	max-width: 900px;
	margin-bottom: 14px;
}

.page-hero__lead {
	max-width: 720px;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
}

.crumbs {
	margin-bottom: 20px;
}

.crumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.5);
}

.crumbs__item + .crumbs__item::before {
	content: "/";
	margin-right: 8px;
	color: rgba(255, 255, 255, 0.28);
}

.crumbs__item a:hover {
	color: var(--green-3);
}

.crumbs__item--current {
	color: rgba(255, 255, 255, 0.85);
}

.page-body {
	padding: clamp(50px, 6vw, 86px) 0;
}

.page-body .content {
	max-width: 780px;
}

.content h2 {
	margin-top: 1.6em;
}

.content h3 {
	margin-top: 1.4em;
}

.content ul,
.content ol {
	padding-left: 1.3em;
}

.content li {
	margin-bottom: 0.5em;
}

.content a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.aside {
	position: sticky;
	top: calc(var(--header-h) + 18px);
	display: grid;
	gap: 18px;
}

.card {
	background: var(--white);
	border: 1px solid var(--mist);
	border-radius: var(--radius-lg);
	padding: 26px;
	box-shadow: var(--shadow-sm);
}

.card--dark {
	background: var(--graphite);
	border-color: transparent;
	color: rgba(255, 255, 255, 0.76);
}

.card--dark h3 {
	color: #fff;
}

.card h3 {
	font-size: 18px;
	margin-bottom: 12px;
}

.card p {
	font-size: 15px;
	margin-bottom: 16px;
}

.aside__phone {
	display: block;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 23px;
	color: var(--green-3);
	margin-bottom: 6px;
}

.aside__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 4px;
}

.aside__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 13px;
	border-radius: 11px;
	font-size: 15px;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.aside__list a:hover {
	background: var(--green-soft);
	color: var(--green);
}

.aside__list .is-current a {
	background: var(--green);
	color: #fff;
	font-weight: 600;
}

.aside__list .icon {
	flex: none;
	width: 18px;
	height: 18px;
	opacity: 0.7;
}

/* Контакты */
.contacts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 42px;
}

.contact-tile {
	padding: 28px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--mist);
	background: var(--white);
	transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.contact-tile:hover {
	transform: translateY(-4px);
	border-color: rgba(2, 137, 32, 0.3);
	box-shadow: var(--shadow);
}

.contact-tile .icon {
	color: var(--green);
	margin-bottom: 14px;
}

.contact-tile__label {
	font-size: 12.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--steel);
	font-weight: 700;
	font-family: var(--font-head);
	margin-bottom: 6px;
}

.contact-tile__value {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 19px;
	color: var(--graphite);
	line-height: 1.35;
}

.contact-tile__value a:hover {
	color: var(--green);
}

.map {
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--mist);
	line-height: 0;
	box-shadow: var(--shadow-sm);
}

.map iframe {
	width: 100%;
	height: 430px;
	border: 0;
}

.requisites {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.requisites th,
.requisites td {
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid var(--mist);
	vertical-align: top;
}

.requisites th {
	width: 210px;
	color: var(--steel);
	font-weight: 500;
}

/* ---------------------------------------------------------
   Подвал
   --------------------------------------------------------- */

.footer {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.6);
	padding: clamp(48px, 6vw, 76px) 0 26px;
	font-size: 15px;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: clamp(24px, 3vw, 46px);
	padding-bottom: 38px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer h4 {
	font-family: var(--font-head);
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 18px;
	font-weight: 700;
}

.footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.footer a {
	transition: color 0.3s var(--ease);
}

.footer a:hover {
	color: var(--green-3);
}

.footer__about p {
	margin: 18px 0 0;
	max-width: 330px;
	line-height: 1.6;
}

.footer__dispatch {
	margin-top: 16px;
	padding: 16px 18px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.09);
}

.footer__dispatch span {
	display: block;
	font-size: 12.5px;
	color: var(--steel);
	margin-bottom: 4px;
}

.footer__dispatch strong {
	font-family: var(--font-head);
	font-size: 19px;
	color: #fff;
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
	align-items: center;
	padding-top: 22px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.42);
}

/* Плавающая кнопка звонка на мобильных */
.call-fab {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 90;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: none;
	place-items: center;
	background: var(--green);
	color: #fff;
	box-shadow: 0 12px 28px -10px rgba(2, 137, 32, 0.9);
	animation: fabPulse 2.6s ease-in-out infinite;
}

@keyframes fabPulse {
	0%,
	100% {
		box-shadow: 0 12px 28px -10px rgba(2, 137, 32, 0.9), 0 0 0 0 rgba(46, 203, 83, 0.5);
	}
	50% {
		box-shadow: 0 12px 28px -10px rgba(2, 137, 32, 0.9), 0 0 0 14px rgba(46, 203, 83, 0);
	}
}

/* ---------------------------------------------------------
   Анимации появления
   --------------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
	will-change: opacity, transform;
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

.reveal--left {
	transform: translateX(-28px);
}

.reveal--right {
	transform: translateX(28px);
}

.reveal--scale {
	transform: scale(0.96);
}

.reveal.is-in.reveal--left,
.reveal.is-in.reveal--right,
.reveal.is-in.reveal--scale {
	transform: none;
}

.word {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.5em);
	animation: wordIn 0.75s var(--ease) forwards;
}

@keyframes wordIn {
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------------------------------------------------------
   Адаптив
   --------------------------------------------------------- */

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

	.aside {
		position: static;
	}

	.footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.advantages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.nav,
	.header__cta {
		display: none;
	}

	.burger {
		display: block;
	}

	.header__phone {
		margin-left: auto;
		width: 46px;
		height: 46px;
		justify-content: center;
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-radius: 12px;
		flex: none;
	}

	.header__phone span {
		display: none;
	}

	.floors {
		display: none;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}

	.hero {
		min-height: auto;
		padding: calc(var(--header-h) + 54px) 0 72px;
	}

	.hero__facts {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.hero__scroll {
		display: none;
	}

	.shaft {
		display: none;
	}

	.hero__actions .btn {
		flex: 1 1 100%;
		justify-content: center;
	}

	.call-fab {
		display: grid;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.advantages {
		grid-template-columns: 1fr;
	}

	.map iframe {
		height: 320px;
	}

	.requisites th {
		width: auto;
		display: block;
		border: 0;
		padding-bottom: 0;
	}

	.requisites td {
		display: block;
		padding-top: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.reveal,
	.word {
		opacity: 1 !important;
		transform: none !important;
	}
}
