/* =========================================================
   Импэкснефтехим — основные стили
   ========================================================= */

:root {
	--navy-950: #07142a;
	--navy-900: #0b1d38;
	--navy-800: #10294b;
	--navy-700: #173863;
	--ink: #0c1a2e;
	--text: #2c3a4e;
	--muted: #66768b;
	--num: #b4bfcf;
	--line: #dfe5ed;
	--soft: #f3f6fa;
	--soft-2: #eaf0f7;
	--accent: #2a63ad;
	--accent-soft: #e6eef8;
	--white: #fff;
	--danger: #c0392b;
	--success: #1f7a4d;

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1240px;
	--gutter: clamp(16px, 3vw, 32px);
	--header-h: 76px;
	--radius: 4px;
	--shadow: 0 1px 2px rgba(12, 26, 46, .04), 0 8px 24px rgba(12, 26, 46, .06);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
strong, b { font-weight: 600; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 13px; height: 13px; vertical-align: -1px; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; background: var(--navy-900); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.muted { color: var(--muted); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); line-height: 1.6; }
.caps { text-transform: uppercase; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 1.8em 0 .6em; }
.prose a { color: var(--accent); text-decoration: underline; }

/* ---------- Типографика секций ---------- */
.eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 16px;
}
.eyebrow::after { content: ""; width: clamp(48px, 10vw, 128px); height: 1px; background: currentColor; opacity: .5; }
.eyebrow--light { color: rgba(255, 255, 255, .75); }

.section-title {
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--ink);
}
.section-title--lg { font-size: clamp(28px, 3.3vw, 42px); font-weight: 400; letter-spacing: -.02em; }
.section-title--ruled::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 20px; background: var(--ink); }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--flush-top { padding-top: 0; }
.section--soft { background: var(--soft); }

.section-head { margin-bottom: clamp(28px, 3vw, 40px); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row .eyebrow { margin-bottom: 0; }
.section-head--row > div .eyebrow { margin-bottom: 16px; }

/* ---------- Сетки ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); }
.split--divided > :last-child { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 48px); }
.split--divided > :first-child .section-title { margin-bottom: 24px; }
.split--head { align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.split--head .section-title { margin: 0; }
.split--flush { margin-bottom: 0; }
.split--center { align-items: center; }

/* ---------- Кнопки и ссылки ---------- */
.arrow-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
.arrow-link__circle {
	display: grid; place-items: center;
	width: 44px; height: 44px; flex: none;
	border: 1px solid currentColor; border-radius: 50%;
	transition: background .25s, color .25s, border-color .25s;
}
.arrow-link__circle .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.arrow-link:hover { color: var(--ink); }
.arrow-link:hover .arrow-link__circle { background: var(--ink); border-color: var(--ink); color: #fff; }
.arrow-link:hover .arrow-link__circle .icon { transform: translateX(2px); }
.arrow-link--light, .arrow-link--light:hover { color: #fff; }
.arrow-link--light:hover .arrow-link__circle { background: #fff; border-color: #fff; color: var(--ink); }
.arrow-link--reverse { flex-direction: row-reverse; }

.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink); }
.text-link .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	min-height: 52px; padding: 0 28px;
	font-size: 15px; font-weight: 500;
	border: 1px solid transparent; border-radius: 2px;
	transition: background .25s, color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--navy-900); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--accent-soft); color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }

.round-btn {
	display: grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: rgba(255, 255, 255, .9); color: var(--ink);
	box-shadow: 0 2px 10px rgba(12, 26, 46, .12);
	transition: background .2s, color .2s;
}
.round-btn .icon { width: 18px; height: 18px; }
.round-btn:hover { background: var(--ink); color: #fff; }

.icon-badge {
	display: grid; place-items: center; flex: none;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--accent-soft); color: var(--navy-800);
}
.icon-badge .icon { width: 22px; height: 22px; }

/* ---------- Шапка ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(12, 26, 46, .05); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.logo { display: flex; flex-direction: column; gap: 3px; flex: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__name { font-size: 21px; font-weight: 800; letter-spacing: .01em; line-height: 1; text-transform: uppercase; }
.logo__tagline { font-size: 9px; font-weight: 500; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; color: var(--muted); max-width: 230px; }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo__tagline { color: rgba(255, 255, 255, .6); }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); }
.main-nav__link { position: relative; display: block; padding: 8px 0; font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.main-nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav__link:hover { color: var(--ink); }
.main-nav__link:hover::after, .main-nav__link.is-active::after { transform: scaleX(1); }
.main-nav__contacts { display: none; }

.site-header__contacts {
	display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none;
	padding-left: 24px; border-left: 1px solid var(--line);
	font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.35;
}
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; color: var(--ink); margin-right: -10px; }
.nav-toggle__close { display: none; }

@media (max-width: 1239px) {
	.nav-toggle { display: grid; }
	.site-header__contacts { margin-left: auto; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0 0;
		background: #fff; padding: 24px var(--gutter) 40px;
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s, transform .25s var(--ease), visibility .25s;
	}
	.main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav__link { padding: 16px 0; font-size: 20px; font-weight: 400; border-bottom: 1px solid var(--line); }
	.main-nav__link::after { display: none; }
	.main-nav__link.is-active { color: var(--accent); }
	.main-nav__contacts { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; font-size: 17px; font-weight: 500; color: var(--ink); }
	.main-nav__contacts a { display: inline-flex; align-items: center; gap: 12px; }
	.main-nav__contacts .icon { width: 20px; height: 20px; color: var(--muted); }
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
	:root { --header-h: 64px; }
	.site-header__contacts { display: none; }
	.nav-toggle { margin-left: auto; }
	.logo__name { font-size: 18px; }
	.logo__tagline { font-size: 8px; }
}

/* ---------- Главный слайдер ---------- */
.hero { position: relative; overflow: hidden; color: var(--ink); background: var(--navy-900); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { background-size: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background:
		linear-gradient(90deg, rgba(246, 248, 251, .96) 0%, rgba(246, 248, 251, .86) 34%, rgba(246, 248, 251, .15) 56%, rgba(7, 20, 42, .1) 64%, rgba(7, 20, 42, .7) 100%);
}
.hero__inner {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: center;
	min-height: clamp(480px, 62vh, 600px); padding-top: 56px; padding-bottom: 56px;
}
.hero__title { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; max-width: 620px; }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: var(--text); max-width: 460px; }
.hero__controls { display: flex; align-items: center; gap: 12px; margin-top: 48px; }
.hero__counter { font-size: 14px; color: var(--muted); margin-right: 18px; }
.hero__counter b { font-size: 20px; font-weight: 600; color: var(--ink); }
.hero__points {
	display: flex; flex-direction: column; gap: 4px; color: #fff;
	padding: 12px 24px; border-radius: var(--radius);
	background: rgba(7, 20, 42, .55); backdrop-filter: blur(6px);
}
.hero__point button {
	display: grid; grid-template-columns: 52px 1fr; gap: 0; width: 100%;
	padding: 14px 0; text-align: left; color: inherit;
	opacity: .6; transition: opacity .3s;
}
.hero__point.is-active button, .hero__point button:hover { opacity: 1; }
.hero__point-num { font-size: 22px; font-weight: 300; line-height: 1.1; }
.hero__point-text { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; }
.hero__point-text::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: rgba(255, 255, 255, .45); }
.hero__point-text::after { content: ""; position: absolute; left: -3px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.hero__point.is-active .hero__point-text::before { background: #fff; }

@media (max-width: 900px) {
	.hero::before { background: linear-gradient(180deg, rgba(246, 248, 251, .95) 0%, rgba(246, 248, 251, .85) 55%, rgba(7, 20, 42, .55) 100%); }
	.hero__inner { grid-template-columns: 1fr; gap: 24px; }
	.hero__points { display: none; }
	.hero__controls { margin-top: 32px; }
}

/* ---------- Первый экран внутренних страниц ---------- */
.page-hero { position: relative; overflow: hidden; background: #f6f3ef; color: var(--ink); }
.page-hero__media { position: absolute; inset: 0; background-size: cover; background-position: center right; }
.page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(247, 248, 250, .97) 0%, rgba(247, 248, 250, .9) 32%, rgba(247, 248, 250, .35) 54%, rgba(247, 248, 250, 0) 70%);
}
.page-hero--side .page-hero__media { left: auto; width: 52%; }
.page-hero--side::before { background: linear-gradient(90deg, #f7f5f1 0%, #f7f5f1 46%, rgba(247, 245, 241, 0) 62%); }
.page-hero__inner { position: relative; z-index: 2; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); min-height: clamp(380px, 46vh, 460px); }
.page-hero__inner > * { max-width: 600px; }
.page-hero__title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; }
.page-hero__title--xl { font-size: clamp(38px, 5.4vw, 66px); }
.page-hero__title--caps { text-transform: uppercase; letter-spacing: -.01em; font-weight: 800; }
.page-hero__subtitle { margin-top: 8px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; color: var(--ink); font-weight: 400; }
.page-hero__rule { display: block; width: 40px; height: 2px; margin: 24px 0 20px; background: var(--ink); }
.page-hero__lead { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.5; color: var(--text); max-width: 520px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs__sep { opacity: .6; }

@media (max-width: 900px) {
	.page-hero::before { background: linear-gradient(90deg, rgba(247, 248, 250, .95) 0%, rgba(247, 248, 250, .8) 70%, rgba(247, 248, 250, .45) 100%); }
	.page-hero--side .page-hero__media { width: 100%; }
}

/* ---------- Карточки компетенций (главная) ---------- */
.comp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.comp-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12, 26, 46, .1); }
.comp-card__body { display: flex; gap: 16px; padding: 24px 20px; flex: 1; }
.comp-card__title { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-top: 4px; }
.comp-card__text { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.comp-card__img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; }

/* ---------- Показатели ---------- */
.stats { position: relative; padding: clamp(40px, 5vw, 64px) 0; background: var(--navy-900) right center / cover no-repeat; color: #fff; overflow: hidden; }
/* фон из макета уже тёмный — лишь слегка притеняем зону под текстом */
.stats::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 20, 42, .35) 0%, rgba(7, 20, 42, .15) 55%, rgba(7, 20, 42, 0) 80%); }
.stats .container { position: relative; }
.stats__list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.stats__item { padding: 4px clamp(16px, 3vw, 40px); border-left: 1px solid rgba(255, 255, 255, .25); }
.stats__item:first-child { padding-left: 0; border-left: 0; }
.stats__value { font-size: clamp(36px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.stats__value small { font-size: .6em; font-weight: 500; letter-spacing: -.01em; }
.stats__caption { margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.stats--light { background: var(--soft); color: var(--ink); }
.stats--light::before { display: none; }
.stats--light .stats__item { border-color: var(--line); }
.stats--light .stats__caption { color: var(--muted); }

@media (max-width: 760px) {
	.stats__list { grid-template-columns: 1fr; gap: 24px; }
	.stats__item { padding: 0 0 0 20px; }
	.stats__item:first-child { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .25); }
	.stats--light .stats__item:first-child { border-color: var(--line); }
}

/* ---------- Направления (главная) ---------- */
.dir-card {
	position: relative; display: flex; flex-direction: column;
	min-height: 290px; padding: 18px 18px 20px;
	background: var(--soft); border: 1px solid var(--line); overflow: hidden;
	color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s;
}
.dir-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12, 26, 46, .12); }
.dir-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.dir-card:hover .dir-card__img { transform: scale(1.05); }
.dir-card::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(246, 248, 251, .98) 0%, rgba(246, 248, 251, .9) 38%, rgba(246, 248, 251, .25) 70%, rgba(246, 248, 251, 0) 100%);
}
.dir-card > :not(.dir-card__img) { position: relative; z-index: 2; }
.dir-card__num { font-size: 26px; font-weight: 300; line-height: 1; color: var(--num); }
.dir-card__title { margin-top: 10px; font-size: 16px; font-weight: 600; line-height: 1.25; }
.dir-card__items { margin-top: 10px; font-size: 12px; color: var(--muted); }
.dir-card__arrow { margin-top: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); transition: background .25s, color .25s; }
.dir-card__arrow .icon { width: 18px; height: 18px; }
.dir-card:hover .dir-card__arrow { background: var(--ink); color: #fff; }

/* ---------- Промо-пара (главная) ---------- */
.promo-pair { display: grid; grid-template-columns: 1fr 1fr; }
.promo { position: relative; min-height: 320px; display: flex; align-items: center; background-size: cover; background-position: center; overflow: hidden; }
.promo::before { content: ""; position: absolute; inset: 0; }
.promo--dark { color: #fff; }
.promo--dark::before { background: linear-gradient(90deg, rgba(7, 20, 42, .95) 0%, rgba(11, 29, 56, .82) 60%, rgba(11, 29, 56, .6) 100%); }
.promo--light { color: var(--ink); background-position: right center; }
.promo--light::before { background: linear-gradient(90deg, rgba(243, 246, 250, .98) 0%, rgba(243, 246, 250, .92) 45%, rgba(243, 246, 250, .2) 80%); }
.promo__inner { position: relative; padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px); max-width: 600px; }
.promo-pair .promo:first-child .promo__inner { margin-left: auto; }
.promo__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.promo__text { margin: 16px 0 28px; font-size: 14.5px; line-height: 1.6; opacity: .85; max-width: 440px; }

/* ---------- Тизеры (главная) ---------- */
.teaser { position: relative; min-height: 260px; background: var(--soft); border: 1px solid var(--line); overflow: hidden; }
.teaser__img { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; background-size: cover; background-position: center; }
.teaser::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--soft) 0%, var(--soft) 42%, rgba(243, 246, 250, .6) 60%, rgba(243, 246, 250, 0) 80%); }
.teaser__body { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; padding: 22px 24px 24px; }
.teaser .eyebrow { max-width: 52%; line-height: 1.5; }
.teaser .eyebrow::after { display: none; }
.teaser__icon { color: var(--navy-800); margin-top: 4px; }
.teaser__icon .icon { width: 36px; height: 36px; stroke-width: 1.3; }
.teaser__text { margin: 12px 0 24px; max-width: 220px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.teaser .arrow-link { margin-top: auto; align-self: flex-start; }
.teaser .arrow-link__circle { width: 36px; height: 36px; }

/* ---------- Тёмная лента ---------- */
.band { position: relative; padding: clamp(48px, 6vw, 80px) 0; background: var(--navy-900) center / cover no-repeat; color: #fff; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 20, 42, .96) 0%, rgba(11, 29, 56, .86) 45%, rgba(11, 29, 56, .5) 100%); }
.band > .container { position: relative; }
.band--tall { padding: clamp(56px, 7vw, 104px) 0; }
.band__inner { max-width: 560px; }
.band__inner--wide { max-width: 680px; }
.band__title { font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 20px; }
.band__text { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; color: rgba(255, 255, 255, .82); margin-bottom: 32px; }
.band__text:last-child { margin-bottom: 0; }
.band__rule { display: block; width: 40px; height: 2px; background: rgba(255, 255, 255, .8); margin: 4px 0 20px; }
.band__split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band__points { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.ring-point { display: flex; gap: 18px; align-items: flex-start; }
.ring-point__icon {
	display: grid; place-items: center; flex: none;
	width: 72px; height: 72px; border-radius: 50%;
	border: 1px solid rgba(110, 170, 240, .7);
	box-shadow: 0 0 0 6px rgba(110, 170, 240, .08), inset 0 0 18px rgba(110, 170, 240, .15);
	color: #fff;
}
.ring-point__icon .icon { width: 30px; height: 30px; stroke-width: 1.3; }
.ring-point__title { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin: 6px 0 8px; }
.ring-point__text { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .78); }

/* ---------- О компании ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: var(--line); }
.timeline__item { position: relative; padding-top: 36px; }
.timeline__dot { position: absolute; top: 2px; left: 0; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; }
.timeline__item--first .timeline__dot { top: -3px; width: 24px; height: 24px; border: 0; background: var(--ink); }
.timeline__title { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.timeline__item--first .timeline__title { font-size: 30px; font-weight: 500; line-height: 1; }
.timeline__text { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.features { margin-top: 40px; gap: 0; }
.feature { padding: 4px clamp(16px, 2.5vw, 32px); border-left: 1px solid var(--line); }
.feature:first-child { padding-left: 0; border-left: 0; }
.feature__icon { color: var(--ink); }
.feature__icon .icon { width: 44px; height: 44px; stroke-width: 1.2; }
.feature__title { margin: 18px 0 12px; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.feature__text { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Направления (страница) ---------- */
.with-aside { display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.side-nav a {
	display: block; padding: 16px 0 16px 20px; margin-left: -1px;
	border-left: 2px solid transparent; border-bottom: 1px solid var(--line);
	font-size: 15px; line-height: 1.35; color: var(--ink);
	transition: border-color .25s, color .25s;
}
.side-nav ol { border-left: 1px solid var(--line); }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.side-nav a.is-active { border-left-color: var(--accent); }
.side-nav a:hover { color: var(--accent); }

.dir-list { display: flex; flex-direction: column; gap: 16px; }
.dir-row {
	display: grid; grid-template-columns: 96px 96px 1fr; align-items: center; gap: 16px;
	padding: 28px 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
	transition: box-shadow .3s;
}
.dir-row:hover { box-shadow: 0 16px 40px rgba(12, 26, 46, .1); }
.dir-row__num { align-self: start; font-size: 44px; font-weight: 300; line-height: 1; color: var(--num); }
.dir-row__icon { color: var(--ink); }
.dir-row__icon .icon { width: 64px; height: 64px; stroke-width: 1; }
.dir-row__title { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; line-height: 1.25; color: var(--ink); }
.dir-row__items { margin-top: 4px; font-size: 15px; color: var(--text); }
.dir-row__text { margin-top: 10px; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 520px; }

/* ---------- Преимущества ---------- */
.adv-grid { gap: 0; }
.adv-card { display: flex; flex-direction: column; padding: 8px clamp(16px, 2vw, 24px) clamp(32px, 4vw, 48px); border-left: 1px solid var(--line); }
.adv-grid .adv-card:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.adv-grid .adv-card:nth-child(3n) { padding-right: 0; }
.adv-card__head { display: flex; align-items: flex-start; justify-content: space-between; }
.adv-card__num { font-size: 42px; font-weight: 300; line-height: 1; color: var(--num); }
.adv-card__icon { color: var(--ink); }
.adv-card__icon .icon { width: 40px; height: 40px; stroke-width: 1.2; }
.adv-card__text { margin: 18px 0 24px; min-height: 4.6em; font-size: 16px; line-height: 1.5; color: var(--ink); }
.adv-card__img { margin-top: auto; aspect-ratio: 16 / 9.5; background-size: cover; background-position: center; box-shadow: var(--shadow); }

/* ---------- Инвестиции ---------- */
.big-fact { display: flex; align-items: center; gap: 24px; }
.big-fact__icon { color: var(--navy-800); }
.big-fact__icon .icon { width: 64px; height: 64px; stroke-width: 1.1; }
.big-fact__value { font-size: clamp(36px, 4vw, 48px); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.big-fact__value small { font-size: .7em; }
.big-fact__text { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.big-fact__text--lg { margin: 0; font-size: 16px; color: var(--text); }
.big-fact__text strong { color: var(--ink); }

.priorities { margin-top: 40px; gap: 0; }
.priority { display: flex; gap: 20px; padding: 0 clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.priority:first-child { padding-left: 0; border-left: 0; }
.priority__icon { color: var(--navy-800); }
.priority__icon .icon { width: 40px; height: 40px; stroke-width: 1.2; }
.priority__num { display: block; font-size: 40px; font-weight: 300; line-height: 1; color: var(--num); margin-bottom: 14px; }
.priority__text { font-size: 15px; line-height: 1.55; color: var(--text); }

.project { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.project__img { aspect-ratio: 16 / 9.5; background-size: cover; background-position: center; }
.project__img--contain { background-size: auto 85%; background-repeat: no-repeat; background-color: #fff; border-bottom: 1px solid var(--line); }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.project__title { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.project__text { margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.project__capacity { margin-top: auto; padding-top: 18px; }
.project__label { padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.project__values { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 10px; }
.project__value { display: flex; align-items: center; gap: 10px; }
.project__value b { font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.project__value span { font-size: 12px; line-height: 1.3; color: var(--muted); max-width: 90px; }
.project__more { margin-top: 20px; }
.project__more summary { display: inline-flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); }
.project__more summary::-webkit-details-marker { display: none; }
.project__more summary .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.project__more[open] summary .icon { transform: rotate(-90deg); }
.project__more-close, .project__more[open] .project__more-open { display: none; }
.project__more[open] .project__more-close { display: inline; }
.project__details { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--text); }
.project__details p + p { margin-top: .8em; }

/* ---------- Партнёры ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logos__item {
	display: grid; place-items: center; height: 120px; padding: 20px 28px;
	background: var(--soft); border: 1px solid transparent;
	transition: background .3s, border-color .3s, box-shadow .3s;
}
.logos__item img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.logos__item:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.logos__item:hover img { filter: none; opacity: 1; }

.inline-features { gap: 0; }
.inline-feature { display: flex; gap: 20px; align-items: flex-start; padding: 0 clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.inline-feature:first-child { padding-left: 0; border-left: 0; }
.inline-feature__icon { color: var(--ink); }
.inline-feature__icon .icon { width: 44px; height: 44px; stroke-width: 1.2; }
.inline-feature h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.inline-feature p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.chain__step { position: relative; display: flex; flex-direction: column; align-items: center; }
.chain__step:not(:last-child)::after {
	content: ""; position: absolute; top: 36px; left: calc(50% + 52px); right: calc(-50% + 52px - 24px);
	border-top: 1px dashed rgba(110, 170, 240, .6);
}
.chain__title { margin: 20px 0 8px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.chain__text { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .78); max-width: 220px; }

/* ---------- Благотворительность ---------- */
.media-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.media-row .section-title { margin-bottom: 24px; }
.media-row .prose { font-size: 16px; color: var(--text); }
.media-row__img { min-height: 380px; aspect-ratio: 4 / 3.3; background-size: cover; background-position: center; }
.wide-photo { margin-top: clamp(40px, 5vw, 64px); }
.wide-photo img { width: 100%; }

/* ---------- Контакты ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); }
.contact-card { padding: 4px clamp(16px, 2.5vw, 32px); border-left: 1px solid var(--line); }
.contact-card:first-of-type { padding-left: 0; border-left: 0; }
.contact-card .icon-badge { width: 56px; height: 56px; }
.contact-card__label { margin: 22px 0 10px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { display: block; font-size: 17px; line-height: 1.45; color: var(--ink); }

.map { position: relative; height: 460px; background: var(--soft-2); }
.map > ymaps, .map iframe { display: block; }

.band__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; }
.band__actions .btn:hover .icon { transform: none; }

/* ---------- Текстовые страницы ---------- */
.text-page { max-width: 860px; }
.text-page .section-title { margin-bottom: 32px; }
.sitemap-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.sitemap-list a:hover { color: var(--accent); }
.not-found { text-align: left; }
.not-found__code { font-size: clamp(80px, 12vw, 140px); font-weight: 200; line-height: 1; color: var(--num); }
.not-found .lead { margin-bottom: 32px; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .8); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: 1.1fr 1.6fr auto auto; gap: 40px; align-items: start; padding: 48px 0 40px; }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 32px; justify-content: start; }
.site-footer__nav a.is-active { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.site-footer__contacts { display: flex; flex-direction: column; gap: 10px; color: #fff; font-weight: 500; }
.site-footer__contacts a { display: inline-flex; align-items: center; gap: 12px; }
.site-footer__contacts .icon { width: 18px; height: 18px; opacity: .7; }
.to-top { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); color: #fff; transition: background .25s, color .25s; }
.to-top .icon { width: 18px; height: 18px; }
.to-top:hover { background: #fff; color: var(--ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.site-footer__requisites span { margin: 0 10px; }
.site-footer__links { display: flex; gap: 32px; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.hero__slide { transition: opacity .3s; transform: none !important; }
}

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1100px) {
	.grid--5 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.features { gap: 32px 0; }
	.features .feature:nth-child(odd) { padding-left: 0; border-left: 0; }
	.dir-row { grid-template-columns: 72px 72px 1fr; }
	.dir-row__icon .icon { width: 52px; height: 52px; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__nav { grid-column: span 2; grid-row: 2; }
	.to-top { justify-self: end; grid-column: 2; grid-row: 1; }
	.site-footer__contacts { grid-row: 3; }
	.contact-cards { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
	.contact-card:nth-of-type(odd) { padding-left: 0; border-left: 0; }
	.timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.timeline::before { display: none; }
}

@media (max-width: 900px) {
	.split, .media-row, .band__split, .promo-pair { grid-template-columns: 1fr; }
	.split--divided > :last-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
	.split--head { gap: 16px; }
	.grid--3 { grid-template-columns: 1fr 1fr; }
	.adv-grid .adv-card { padding: 8px 20px 40px !important; border-left: 1px solid var(--line) !important; }
	.adv-grid .adv-card:nth-child(odd) { padding-left: 0 !important; border-left: 0 !important; }
	.priorities, .inline-features { grid-template-columns: 1fr; gap: 28px; }
	.priority, .inline-feature { padding: 0; border-left: 0; }
	.with-aside { grid-template-columns: 1fr; }
	.side-nav { display: none; }
	.promo-pair .promo:first-child .promo__inner { margin-left: 0; }
	.chain { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.chain__step::after { display: none; }
	.band__actions { justify-content: flex-start; }
	.media-row__img { min-height: 280px; }
	.band::before { background: linear-gradient(90deg, rgba(7, 20, 42, .95), rgba(11, 29, 56, .8)); }
}

@media (max-width: 640px) {
	.grid--3, .grid--4, .grid--5, .logos, .contact-cards, .timeline, .band__points, .chain { grid-template-columns: 1fr; }
	.grid--5 { gap: 12px; }
	.dir-card { min-height: 220px; }
	.logos { grid-template-columns: 1fr 1fr; gap: 10px; }
	.logos__item { height: 96px; padding: 16px; }
	.features .feature, .contact-card { padding-left: 0 !important; border-left: 0 !important; }
	.adv-grid .adv-card { padding: 0 0 40px !important; border-left: 0 !important; }
	.adv-card__text { min-height: 0; }
	.dir-row { grid-template-columns: 1fr auto; gap: 12px; padding: 22px 20px; }
	.dir-row__num { grid-column: 1; font-size: 34px; }
	.dir-row__icon { grid-column: 2; grid-row: 1; }
	.dir-row__icon .icon { width: 44px; height: 44px; }
	.dir-row__body { grid-column: 1 / -1; }
	.teaser__img { width: 50%; }
	.site-footer__top { grid-template-columns: 1fr auto; gap: 28px; }
	.site-footer__nav ul { grid-template-columns: repeat(2, auto); }
	.site-footer__bottom { flex-direction: column; }
	.site-footer__links { gap: 20px; }
	.big-fact { align-items: flex-start; }
	.big-fact__icon .icon { width: 48px; height: 48px; }
	.hero__title br { display: none; }
}
