/*
 * Etalon Group — страница «О компании» (тестовый маршрут /company_new/)
 * Визуальный стиль: крупные скругления и тонкие рамки вместо теней; палитра — фирменная Etalon
 * (синий #217EC2, тёмно-синий #142F43, светлый серо-голубой холст).
 * Все правила ограничены контейнером .eg-company: стили темы Aspro Allcorp2 не затрагиваются.
 * Без !important и глобальных reset. Адаптивность — container queries (ширина контентной колонки).
 */

.eg-company {
	/* Цвета */
	--eg-obsidian: #16232f;   /* заголовки, основной текст (фирменный тёмный) */
	--eg-graphite: #142f43;   /* тёмно-синие блоки, текст */
	--eg-slate: #1c3d55;      /* карточки внутри тёмно-синих блоков */
	--eg-iron: #3d4b57;       /* вторичные подписи */
	--eg-steel: #46535f;      /* приглушённый текст (7.6:1) */
	--eg-fog: #667583;        /* метаданные (4.8:1 на белом) */
	--eg-mist: #cfdbe5;
	--eg-cloud: #e4eaf0;      /* рамки 1px */
	--eg-paper: #f3f6f9;      /* фон-холст */
	--eg-subtle: #f8fafc;
	--eg-snow: #ffffff;
	--eg-brand: #207eed;      /* синий из логотипа — линии, иконки, крупные акценты */
	--eg-primary: #1b68c8;    /* синий логотипа, затемнён до 5.6:1 — кнопки и текст на белом */
	--eg-primary-hover: #1553a0;
	--eg-yellow: #edb320;     /* жёлтый из логотипа — бейджи (текст на нём тёмный), фокус */
	--eg-green: #5bed20;      /* зелёный из логотипа — только декоративные отметки */
	--eg-on-dark: #d4e1eb;    /* приглушённый текст на тёмно-синем (11:1) */
	--eg-accent: var(--eg-yellow);
	--eg-accent-text: #16232f;
	--eg-focus: #edb320;

	/* Форма */
	--eg-r-card: 36px;
	--eg-r-media: 28px;
	--eg-r-btn: 14px;
	--eg-r-badge: 12px;
	--eg-r-pill: 10000px;
	--eg-gap: 16px;
	--eg-card-pad: clamp(20px, 3cqi, 28px);
	--eg-font: "Onest", Roboto, Arial, sans-serif;

	container-type: inline-size;
	container-name: eg;
	font-family: var(--eg-font);
	color: var(--eg-graphite);
	font-size: 16px;
	line-height: 1.5;
	background: var(--eg-paper);
	border-radius: var(--eg-r-card);
	padding: clamp(16px, 4cqi, 48px);
}

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

.eg-company h2,
.eg-company h3,
.eg-company p,
.eg-company figure,
.eg-company ol,
.eg-company ul,
.eg-company dl,
.eg-company dd { margin: 0; padding: 0; }

.eg-company ol,
.eg-company ul { list-style: none; }
.eg-company ul li,
.eg-company ol li { margin: 0; padding: 0; background: none; }
/* гасим маркеры списков темы; собственные ::before ниже имеют большую специфичность */
.eg-company ul li::before,
.eg-company ol li::before { content: none; }

.eg-company img { display: block; max-width: 100%; height: auto; border: 0; }

.eg-company a { color: var(--eg-obsidian); text-decoration: none; }
.eg-company a:hover { color: var(--eg-obsidian); }

.eg-company a:focus-visible,
.eg-company button:focus-visible {
	outline: 2px solid var(--eg-focus);
	outline-offset: 3px;
}

/* ---------- Типографика ---------- */

.eg-company .eg-kicker {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 4px 10px;
	margin-bottom: 16px;
	border: 1px solid var(--eg-mist);
	border-radius: var(--eg-r-badge);
	background: var(--eg-snow);
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
	color: var(--eg-iron);
}
.eg-company .eg-kicker--accent {
	background: var(--eg-accent);
	border-color: var(--eg-accent);
	color: var(--eg-accent-text);
}

.eg-company .eg-h2 {
	font-size: clamp(30px, 20px + 2.2cqi, 48px);
	line-height: 1.15;
	font-weight: 600;
	letter-spacing: -.02em;
	color: var(--eg-obsidian);
}

.eg-company .eg-h3 {
	font-size: 20px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--eg-obsidian);
}

.eg-company .eg-lead {
	margin-top: 16px;
	max-width: 44em;
	color: var(--eg-steel);
	font-size: 18px;
	line-height: 1.5;
}

.eg-company .eg-small {
	font-size: 14px;
	line-height: 1.55;
	color: var(--eg-steel);
}

/* ---------- Кнопки и ссылки ---------- */

.eg-company .eg-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
}

.eg-company .eg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--eg-r-btn);
	background: var(--eg-primary);
	color: #fff;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 500;
	text-align: center;
	box-shadow: inset 0 .5px 0 0 rgba(255, 255, 255, .45), inset 0 9px 14px -5px rgba(255, 255, 255, .18), 0 0 0 1.5px var(--eg-primary-hover), 0 4px 6px 0 rgba(20, 47, 67, .16);
	transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.eg-company .eg-btn:hover { background: var(--eg-primary-hover); color: #fff; }
.eg-company .eg-btn:active { transform: translateY(1px); }

.eg-company .eg-btn--ghost {
	background: var(--eg-snow);
	color: var(--eg-graphite);
	box-shadow: inset 0 0 0 1px var(--eg-cloud), 0 1px 2px rgba(0, 0, 0, .04);
}
.eg-company .eg-btn--ghost:hover { background: var(--eg-subtle); color: var(--eg-obsidian); box-shadow: inset 0 0 0 1px var(--eg-mist); }

.eg-company .eg-btn--light {
	background: var(--eg-snow);
	color: var(--eg-primary);
	box-shadow: none;
}
.eg-company .eg-btn--light:hover { background: var(--eg-paper); color: var(--eg-obsidian); }

.eg-company .eg-btn--outline-light {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.eg-company .eg-btn--outline-light:hover { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }

.eg-company .eg-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: var(--eg-r-pill);
	background: var(--eg-snow);
	box-shadow: inset 0 0 0 1px var(--eg-cloud);
	font-size: 15px;
	font-weight: 500;
	color: var(--eg-graphite);
}
.eg-company .eg-link::after { content: "→"; transition: transform .15s ease; }
.eg-company .eg-link:hover { box-shadow: inset 0 0 0 1px var(--eg-mist); }
.eg-company .eg-link:hover::after { transform: translateX(3px); }
.eg-company .eg-link--light,
.eg-company .eg-link--light:hover {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

/* ---------- Секции и карточки ---------- */

.eg-company .eg-section { margin-top: clamp(64px, 8cqi, 80px); }

.eg-company .eg-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: clamp(24px, 3cqi, 36px);
}
.eg-company .eg-head__link { align-self: flex-start; }

@container eg (min-width: 760px) {
	.eg-company .eg-head {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 32px;
	}
	.eg-company .eg-head__link { align-self: auto; flex-shrink: 0; }
}

.eg-company .eg-figure img {
	width: 100%;
	border-radius: var(--eg-r-card);
	background: var(--eg-mist);
	object-fit: cover;
}
.eg-company .eg-figure figcaption {
	margin-top: 12px;
	padding: 0 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--eg-steel);
}

/* ---------- 1. Представление ---------- */

.eg-company .eg-hero {
	display: grid;
	gap: 32px;
	align-items: center;
}
.eg-company .eg-hero__title {
	font-size: clamp(38px, 22px + 4cqi, 64px);
	line-height: 1.08;
	font-weight: 600;
	letter-spacing: -.03em;
	color: var(--eg-obsidian);
}
.eg-company .eg-hero__title span { color: var(--eg-primary); }
.eg-company .eg-hero .eg-lead { margin-top: 20px; }
.eg-company .eg-hero__media img { aspect-ratio: 3 / 2; }

@container eg (min-width: 900px) {
	.eg-company .eg-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
	.eg-company .eg-hero__media img { aspect-ratio: 4 / 3; }
}

.eg-company .eg-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 32px;
}
.eg-company .eg-facts li {
	padding: var(--eg-card-pad);
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: 28px;
}
.eg-company .eg-facts__value {
	display: block;
	font-size: clamp(36px, 26px + 2cqi, 56px);
	line-height: 1;
	font-weight: 600;
	letter-spacing: -.03em;
	color: var(--eg-obsidian);
}
.eg-company .eg-facts__value--text { font-size: clamp(22px, 18px + .8cqi, 26px); line-height: 1.15; letter-spacing: -.01em; }
.eg-company .eg-facts__label {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--eg-steel);
}
@container eg (min-width: 760px) {
	.eg-company .eg-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 2. Направления ---------- */

.eg-company .eg-groups { display: grid; gap: var(--eg-gap); }
@container eg (min-width: 900px) {
	.eg-company .eg-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.eg-company .eg-group {
	display: flex;
	flex-direction: column;
	padding: var(--eg-card-pad);
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: var(--eg-r-card);
}
.eg-company .eg-group__label {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: var(--eg-r-badge);
	background: var(--eg-paper);
	font-size: 14px;
	font-weight: 500;
	color: var(--eg-iron);
}
.eg-company .eg-group .eg-h3 { margin-top: 16px; }
.eg-company .eg-group__text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--eg-steel); }
.eg-company .eg-group__list { margin-top: auto; padding-top: 20px; display: grid; gap: 6px; }
.eg-company .eg-group__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 48px;
	padding: 10px 16px;
	border-radius: var(--eg-r-btn);
	background: var(--eg-subtle);
	box-shadow: inset 0 0 0 1px var(--eg-cloud);
	color: var(--eg-graphite);
	font-size: 15px;
	font-weight: 500;
	transition: background-color .15s ease;
}
.eg-company .eg-group__list a::after { content: "→"; color: var(--eg-primary); transition: transform .15s ease, color .15s ease; }
.eg-company .eg-group__list a:hover { background: var(--eg-paper); }
.eg-company .eg-group__list a:hover::after { transform: translateX(3px); color: var(--eg-primary-hover); }

/* ---------- 3. Процесс ---------- */

.eg-company .eg-steps {
	counter-reset: eg-step;
	display: grid;
	padding: var(--eg-card-pad);
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: var(--eg-r-card);
}
.eg-company .eg-steps li {
	counter-increment: eg-step;
	position: relative;
	padding: 0 0 24px 60px;
	min-height: 64px;
}
.eg-company .eg-steps li:last-child { padding-bottom: 0; min-height: 44px; }
.eg-company .eg-steps li::before {
	content: counter(eg-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: var(--eg-r-btn);
	background: var(--eg-paper);
	box-shadow: inset 0 0 0 1px var(--eg-cloud);
	color: var(--eg-obsidian);
	font-weight: 600;
	font-size: 16px;
	z-index: 1;
}
.eg-company .eg-steps li::after {
	content: "";
	position: absolute;
	left: 21px;
	top: 44px;
	bottom: 0;
	width: 1px;
	background: var(--eg-mist);
}
.eg-company .eg-steps li:last-child::after { content: none; }
.eg-company .eg-steps li:last-child::before { background: var(--eg-green); box-shadow: none; color: var(--eg-obsidian); }
.eg-company .eg-steps b { display: block; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--eg-obsidian); padding-top: 10px; }
.eg-company .eg-steps span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--eg-steel); }

@container eg (min-width: 980px) {
	.eg-company .eg-steps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 16px; }
	.eg-company .eg-steps li,
	.eg-company .eg-steps li:last-child { padding: 60px 0 0; min-height: 0; }
	.eg-company .eg-steps li::after { left: 44px; right: -16px; top: 22px; bottom: auto; width: auto; height: 1px; }
	.eg-company .eg-steps b { padding-top: 0; font-size: 16px; }
}

/* ---------- 4. Люди и база ---------- */

.eg-company .eg-dark {
	background: var(--eg-graphite);
	color: #fff;
	border-radius: var(--eg-r-card);
	padding: clamp(24px, 4.5cqi, 56px);
}
.eg-company .eg-dark .eg-kicker { background: transparent; border-color: rgba(255, 255, 255, .25); color: #8fd0f7; }
.eg-company .eg-dark .eg-h2,
.eg-company .eg-dark .eg-h3 { color: #fff; }
.eg-company .eg-dark .eg-lead,
.eg-company .eg-dark .eg-small,
.eg-company .eg-dark figcaption { color: var(--eg-on-dark); }

.eg-company .eg-split { display: grid; gap: 32px; align-items: center; }
@container eg (min-width: 900px) {
	.eg-company .eg-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}
.eg-company .eg-split .eg-figure img { aspect-ratio: 4 / 3; border-radius: var(--eg-r-media); background: var(--eg-slate); }

.eg-company .eg-base {
	display: grid;
	gap: 8px;
	margin-top: clamp(28px, 4cqi, 40px);
}
@container eg (min-width: 700px) {
	.eg-company .eg-base { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.eg-company .eg-base li {
	padding: 24px;
	background: var(--eg-slate);
	border-radius: var(--eg-r-media);
}
.eg-company .eg-base__num { font-size: 14px; font-weight: 500; color: var(--eg-on-dark); }
.eg-company .eg-base .eg-h3 { margin-top: 8px; font-size: 20px; }
.eg-company .eg-base p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--eg-on-dark); }

.eg-company .eg-video {
	position: relative;
	margin-top: 8px;
	aspect-ratio: 16 / 9;
	border-radius: var(--eg-r-media);
	overflow: hidden;
	background: var(--eg-graphite);
}
.eg-company .eg-video img,
.eg-company .eg-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}
.eg-company .eg-video img { opacity: .75; }
.eg-company .eg-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px;
	text-align: center;
	color: #fff;
	background: linear-gradient(0deg, rgba(20, 47, 67, .75), rgba(20, 47, 67, .08));
}
.eg-company .eg-video__play:hover { color: #fff; }
.eg-company .eg-video__icon {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	transition: transform .15s ease;
}
.eg-company .eg-video__icon svg { width: 22px; height: 22px; margin-left: 4px; fill: var(--eg-primary); }
.eg-company .eg-video__play:hover .eg-video__icon { transform: scale(1.06); }
.eg-company .eg-video__title { font-size: clamp(16px, 14px + .5cqi, 20px); font-weight: 600; }
.eg-company .eg-video__meta { font-size: 14px; color: var(--eg-mist); }

/* История */
.eg-company .eg-history {
	margin-top: var(--eg-gap);
	padding: var(--eg-card-pad);
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: var(--eg-r-card);
}
.eg-company .eg-timeline {
	display: grid;
	gap: 0 32px;
	margin-top: 12px;
}
@container eg (min-width: 760px) {
	.eg-company .eg-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.eg-company .eg-timeline li {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid var(--eg-cloud);
}
.eg-company .eg-timeline time {
	font-size: 18px;
	line-height: 1.35;
	font-weight: 600;
	color: var(--eg-primary);
}
.eg-company .eg-timeline p { font-size: 15px; line-height: 1.5; color: var(--eg-iron); }

/* ---------- 5. Сервис ---------- */

.eg-company .eg-band {
	padding: var(--eg-card-pad);
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: var(--eg-r-card);
	display: grid;
	gap: 28px;
}
@container eg (min-width: 900px) {
	.eg-company .eg-band { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 48px; }
}
.eg-company .eg-checks { display: grid; gap: 8px; }
.eg-company .eg-checks li {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 14px 20px;
	background: var(--eg-paper);
	border-radius: 20px;
	font-weight: 500;
	font-size: 17px;
	line-height: 1.35;
	color: var(--eg-obsidian);
}
.eg-company .eg-checks svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--eg-brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 6. Бренды и документы ---------- */

.eg-company .eg-proof { display: grid; gap: var(--eg-gap); }
@container eg (min-width: 900px) {
	.eg-company .eg-proof { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: stretch; }
}
.eg-company .eg-brands {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}
@container eg (min-width: 600px) {
	.eg-company .eg-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.eg-company .eg-brands li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 104px;
	padding: 16px;
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: 28px;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	color: var(--eg-fog);
}
.eg-company .eg-brands img,
.eg-company .eg-clients__list img {
	width: auto;
	max-width: 100%;
	max-height: 44px;
	object-fit: contain;
	transition: transform .3s ease;
}
.eg-company .eg-brands li:hover img,
.eg-company .eg-clients__list li:hover img { transform: scale(1.12); }
.eg-company .eg-clients__list img { max-height: 40px; max-width: 140px; }
.eg-company .eg-docs {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	padding: var(--eg-card-pad);
	background: var(--eg-slate);
	color: #fff;
	border-radius: var(--eg-r-card);
}
.eg-company .eg-docs .eg-h3 { color: #fff; }
.eg-company .eg-docs .eg-small { margin-top: 8px; color: var(--eg-on-dark); }
.eg-company .eg-docs ul { display: grid; gap: 10px; margin-top: 16px; }
.eg-company .eg-docs li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 16px;
	line-height: 1.45;
}
.eg-company .eg-docs li svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--eg-on-dark); stroke-width: 1.8; stroke-linejoin: round; }
.eg-company .eg-docs .eg-link { align-self: flex-start; background: #fff; box-shadow: none; color: var(--eg-primary); }

.eg-company .eg-docs-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 40px;
	margin-bottom: 16px;
}
.eg-company .eg-doclist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--eg-gap);
}
@container eg (min-width: 640px) {
	.eg-company .eg-doclist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container eg (min-width: 960px) {
	.eg-company .eg-doclist { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.eg-company .eg-doc {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px 12px 18px;
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: 28px;
	color: var(--eg-obsidian);
	transition: border-color .15s ease;
}
.eg-company .eg-doc:hover { color: var(--eg-obsidian); border-color: var(--eg-mist); }
.eg-company .eg-doc__img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 4;
	padding: 12px;
	background: var(--eg-paper);
	border-radius: 20px;
	overflow: hidden;
}
.eg-company .eg-doc__img img {
	max-height: 100%;
	width: auto;
	box-shadow: 0 4px 12px rgba(20, 47, 67, .12);
	transition: transform .3s ease;
}
.eg-company .eg-doc:hover .eg-doc__img img { transform: scale(1.04); }
.eg-company .eg-doc__brand { margin: 14px 6px 0; font-size: 14px; font-weight: 500; color: var(--eg-primary); }
.eg-company .eg-doc__title { margin: 4px 6px 0; font-size: 15px; line-height: 1.4; font-weight: 500; }

.eg-company .eg-brands img { max-height: 60px; max-width: 78%; }

/* ---------- 7. Объекты и клиенты ---------- */

.eg-company .eg-cards { display: grid; gap: var(--eg-gap); }
@container eg (min-width: 640px) {
	.eg-company .eg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container eg (min-width: 900px) {
	.eg-company .eg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.eg-company .eg-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-bottom: 24px;
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: var(--eg-r-card);
	overflow: hidden;
	color: var(--eg-graphite);
	transition: border-color .15s ease;
}
.eg-company .eg-card:hover { color: var(--eg-graphite); border-color: var(--eg-mist); }
.eg-company .eg-card > :not(.eg-card__img) { margin-left: 24px; margin-right: 24px; }
.eg-company .eg-card__img { overflow: hidden; background: var(--eg-mist); }
.eg-company .eg-card__img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .35s ease;
}
.eg-company .eg-card:hover .eg-card__img img { transform: scale(1.03); }
.eg-company .eg-card__type {
	align-self: flex-start;
	margin-top: 20px;
	padding: 4px 10px;
	border: 1px solid var(--eg-cloud);
	border-radius: var(--eg-r-badge);
	font-size: 14px;
	color: var(--eg-iron);
}
.eg-company .eg-card .eg-h3 { margin-top: 12px; }
.eg-company .eg-card__more {
	margin-top: auto;
	padding-top: 12px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 500;
	color: var(--eg-obsidian);
}
.eg-company .eg-card__more::after { content: "→"; transition: transform .15s ease; }
.eg-company .eg-card:hover .eg-card__more::after { transform: translateX(3px); }
.eg-company .eg-also { margin-top: 20px; padding: 0 8px; }

.eg-company .eg-clients {
	margin-top: var(--eg-gap);
	padding: var(--eg-card-pad);
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: var(--eg-r-card);
}
.eg-company .eg-clients .eg-head { margin-bottom: 0; align-items: center; }
.eg-company .eg-clients__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin-top: 16px;
}
.eg-company .eg-clients__list li {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -.01em;
	color: var(--eg-fog);
}

/* ---------- 8. Шоурумы, география и обращение ---------- */

.eg-company .eg-gallery { display: grid; gap: var(--eg-gap); }
@container eg (min-width: 640px) {
	.eg-company .eg-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.eg-company .eg-gallery img { aspect-ratio: 4 / 3; }
.eg-company .eg-gallery figcaption b { display: block; color: var(--eg-obsidian); font-size: 16px; font-weight: 600; }

/* Карта Казахстана с городами присутствия (SVG без библиотек; подписи — HTML поверх карты) */
.eg-company .eg-map {
	display: grid;
	gap: 8px 32px;
	margin-top: 24px;
	padding: var(--eg-card-pad);
	background:
		radial-gradient(60% 70% at 62% 45%, rgba(32, 126, 237, .08), transparent 70%),
		var(--eg-snow);
	border-radius: var(--eg-r-card);
	box-shadow: inset 0 0 0 1px var(--eg-cloud);
}
@container eg (min-width: 900px) {
	.eg-company .eg-map { grid-template-columns: minmax(0, 1fr) 260px; align-items: center; }
}
.eg-company .eg-map__canvas { position: relative; }
.eg-company .eg-map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.eg-company .eg-map__land { fill: #f2f7fe; stroke: var(--eg-brand); stroke-width: 1.4; stroke-linejoin: round; }
.eg-company .eg-map__dots { opacity: .5; }
.eg-company .eg-map__svg pattern circle { fill: var(--eg-brand); }
.eg-company .eg-map__sea { fill: var(--eg-fog); font: italic 13px/1 var(--eg-font); opacity: .8; }
.eg-company .eg-map__arc { fill: none; stroke: var(--eg-brand); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: .012 .014; opacity: .65; }
.eg-company .eg-map__dot { fill: var(--eg-brand); stroke: #fff; stroke-width: 3; transition: transform .25s ease; transform-box: fill-box; transform-origin: center; }
.eg-company .eg-map__pin--hq .eg-map__dot { fill: var(--eg-yellow); stroke: var(--eg-obsidian); stroke-width: 2.5; }
.eg-company .eg-map__pin--show .eg-map__dot { fill: var(--eg-primary); }
.eg-company .eg-map__pulse { fill: none; stroke: var(--eg-brand); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.eg-company .eg-map__pin--hq .eg-map__pulse { stroke: var(--eg-yellow); }
.eg-company .eg-map__pin.is-active .eg-map__dot { transform: scale(1.35); }

.eg-company .eg-map__label {
	position: absolute;
	display: flex;
	flex-direction: column;
	padding: 3px 9px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 1px 0 rgba(22, 35, 47, .06), inset 0 0 0 1px var(--eg-cloud);
	white-space: nowrap;
	line-height: 1.25;
	pointer-events: none;
	--eg-tx: -50%;
	--eg-ty: calc(-100% - 14px);
	transform: translate(var(--eg-tx), var(--eg-ty));
	transition: box-shadow .2s ease, background-color .2s ease;
}
.eg-company .eg-map__label--bottom { --eg-ty: 14px; }
.eg-company .eg-map__label--left { --eg-tx: calc(-100% - 14px); --eg-ty: -50%; }
.eg-company .eg-map__label--start { --eg-tx: -14px; }
.eg-company .eg-map__label--end { --eg-tx: calc(-100% + 14px); }
.eg-company .eg-map__label b { font-size: 14px; font-weight: 600; color: var(--eg-obsidian); }
.eg-company .eg-map__label small { font-size: 12px; color: var(--eg-steel); }
.eg-company .eg-map__label--main { background: #fff; }
.eg-company .eg-map__label.is-active { box-shadow: inset 0 0 0 2px var(--eg-brand); }

.eg-company .eg-map__title { margin-top: 12px; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--eg-obsidian); }
.eg-company .eg-map__list { margin-top: 16px; display: grid; gap: 2px; }
.eg-company .eg-map__item {
	display: grid;
	grid-template-columns: 12px 1fr;
	column-gap: 12px;
	align-items: center;
	padding: 8px 12px;
	border-radius: 12px;
	align-content: start;
	cursor: default;
	transition: background-color .2s ease;
}
.eg-company .eg-map__item::before,
.eg-company .eg-map__legend li::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--eg-brand);
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--eg-cloud);
}
.eg-company .eg-map__item::before { grid-row: span 2; }
.eg-company .eg-map__item--hq::before,
.eg-company .eg-map__legend .eg-map__key--hq::before { background: var(--eg-yellow); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--eg-obsidian); }
.eg-company .eg-map__item--show::before,
.eg-company .eg-map__legend .eg-map__key--show::before { background: var(--eg-primary); }
.eg-company .eg-map__item b { font-weight: 600; color: var(--eg-obsidian); }
.eg-company .eg-map__item span { grid-column: 2; font-size: 13px; color: var(--eg-steel); }
.eg-company .eg-map__item.is-active { background: var(--eg-paper); }
.eg-company .eg-map__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--eg-cloud); font-size: 12px; color: var(--eg-fog); }
.eg-company .eg-map__legend li { display: inline-flex; align-items: center; gap: 8px; }
.eg-company .eg-map__legend li::before { width: 8px; height: 8px; }

@container eg (max-width: 899px) {
	/* узкая колонка: заголовок → карта → список городов */
	.eg-company .eg-map__side { display: contents; }
	.eg-company .eg-map__side > .eg-kicker { order: -2; justify-self: start; }
	.eg-company .eg-map__title { order: -1; margin: 4px 0 8px; }
	.eg-company .eg-map__list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@container eg (max-width: 560px) {
	.eg-company .eg-map { padding: 16px; }
	.eg-company .eg-map__label { padding: 2px 6px; border-radius: 7px; --eg-ty: calc(-100% - 8px); }
	.eg-company .eg-map__label--bottom { --eg-ty: 8px; }
	/* на телефоне подписаны только офис и шоурум, остальные города — в списке под картой */
	.eg-company .eg-map__label:not(.eg-map__label--main) { display: none; }
	.eg-company .eg-map__label b { font-size: 11px; }
	.eg-company .eg-map__label small,
	.eg-company .eg-map__sea { display: none; }
	.eg-company .eg-map__list { grid-template-columns: 1fr; }
	.eg-company .eg-map__item { padding: 6px 8px; column-gap: 8px; }
	.eg-company .eg-map__item b { font-size: 14px; }
}

/* Анимация: дуги прорисовываются от Астаны, точки появляются, у офиса и шоурума — пульс */
.eg-company.eg-anim .eg-map__arc { stroke-dasharray: 1; stroke-dashoffset: 1; }
.eg-company.eg-anim .eg-map.eg-in .eg-map__arc { animation: eg-map-draw 1.1s cubic-bezier(.4, 0, .2, 1) calc(400ms + var(--eg-i, 0) * 140ms) forwards; }
.eg-company.eg-anim .eg-map:not(.eg-in) .eg-map__pin,
.eg-company.eg-anim .eg-map__label { opacity: 0; }
.eg-company.eg-anim .eg-map.eg-in .eg-map__pin { animation: eg-map-fade .3s ease calc(250ms + var(--eg-i, 0) * 160ms) backwards; }
.eg-company.eg-anim .eg-map.eg-in .eg-map__dot { animation: eg-map-pop .55s cubic-bezier(.3, 1.6, .5, 1) calc(250ms + var(--eg-i, 0) * 160ms) backwards; }
.eg-company.eg-anim .eg-map.eg-in .eg-map__label { opacity: 1; transition: opacity .4s ease 1.2s, box-shadow .2s ease; }
.eg-company.eg-anim .eg-map.eg-in .eg-map__pulse { animation: eg-map-pulse 2.6s ease-out 1.6s infinite; }
.eg-company.eg-anim .eg-map.eg-in .eg-map__pin--show .eg-map__pulse { animation-delay: 2.9s; }
@keyframes eg-map-draw {
	0% { stroke-dasharray: 1; stroke-dashoffset: 1; }
	99% { stroke-dasharray: 1; stroke-dashoffset: 0; }
	100% { stroke-dasharray: .012 .014; stroke-dashoffset: 0; }
}
@keyframes eg-map-fade { from { opacity: 0; } }
@keyframes eg-map-pop { from { transform: scale(0); } }
@keyframes eg-map-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.eg-company .eg-map__pulse { animation: none; }
	.eg-company .eg-map__dot { transition: none; }
}

.eg-company .eg-cities-note { margin-top: 12px; padding: 0 8px; }
.eg-company .eg-cities-note a { text-decoration: underline; text-underline-offset: 3px; }

.eg-company .eg-cta {
	margin-top: 40px;
	padding: clamp(24px, 4.5cqi, 56px);
	border-radius: var(--eg-r-card);
	background: var(--eg-primary);
	color: #fff;
	display: grid;
	gap: 32px;
}
@container eg (min-width: 900px) {
	.eg-company .eg-cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
}
.eg-company .eg-cta .eg-kicker { background: var(--eg-yellow); border-color: var(--eg-yellow); color: var(--eg-obsidian); }
.eg-company .eg-cta .eg-h2 { color: #fff; }
.eg-company .eg-cta .eg-lead { color: #eef6fc; }
.eg-company .eg-contacts {
	display: grid;
	gap: 18px;
	padding: var(--eg-card-pad);
	background: var(--eg-primary-hover);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--eg-r-media);
}
.eg-company .eg-contacts dt { font-size: 14px; color: #d6ecfb; }
.eg-company .eg-contacts dd { margin-top: 2px; font-size: 16px; line-height: 1.45; }
.eg-company .eg-contacts a { color: #fff; }
.eg-company .eg-contacts a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.eg-company .eg-contacts .eg-phone { font-size: clamp(24px, 20px + 1cqi, 30px); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }

/* ---------- Наш офис ---------- */

.eg-company .eg-office {
	display: grid;
	gap: var(--eg-gap);
	margin-top: clamp(48px, 6cqi, 72px);
	padding: var(--eg-card-pad);
	background: var(--eg-snow);
	border: 1px solid var(--eg-cloud);
	border-radius: var(--eg-r-card);
}
.eg-company .eg-office__facts { display: grid; gap: 12px; margin-top: 20px; }
.eg-company .eg-office__facts dt { font-size: 14px; color: var(--eg-steel); }
.eg-company .eg-office__facts dd { margin-top: 2px; font-size: 17px; font-weight: 500; }
.eg-company .eg-office .eg-figure img { border-radius: var(--eg-r-media); }
.eg-company .eg-office__main img { aspect-ratio: 4 / 3; }
.eg-company .eg-office__side img { aspect-ratio: 16 / 9; }
@container eg (min-width: 900px) {
	.eg-company .eg-office {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-areas: "text main" "side main";
		align-items: start;
		padding: 40px;
	}
	.eg-company .eg-office__text { grid-area: text; }
	.eg-company .eg-office__main { grid-area: main; }
	.eg-company .eg-office__side { grid-area: side; }
}

/* ---------- Анимации (включаются скриптом, только если не выбрано «уменьшить движение») ---------- */

.eg-company { position: relative; overflow: clip; }

/* фирменная трёхцветная черта под заголовками — цвета логотипа */
.eg-company .eg-h2::after {
	content: "";
	display: block;
	width: 72px;
	height: 4px;
	margin-top: 16px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--eg-brand) 0 33.3%, var(--eg-green) 33.3% 66.6%, var(--eg-yellow) 66.6% 100%);
	transform-origin: left center;
}

/* мягкие цветные «пятна» за первым экраном */
.eg-company .eg-hero { position: relative; isolation: isolate; }
.eg-company .eg-hero::before,
.eg-company .eg-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	filter: blur(70px);
	opacity: .28;
	pointer-events: none;
}
.eg-company .eg-hero::before { top: -80px; left: -60px; background: var(--eg-brand); }
.eg-company .eg-hero::after { bottom: -60px; left: 30%; background: var(--eg-yellow); opacity: .22; }

.eg-company.eg-anim .eg-hero::before { animation: eg-drift 14s ease-in-out infinite alternate; }
.eg-company.eg-anim .eg-hero::after { animation: eg-drift 18s ease-in-out infinite alternate-reverse; }
@keyframes eg-drift {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(60px, 30px) scale(1.15); }
}

/* появление при прокрутке */
.eg-company.eg-anim .eg-rv {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--eg-d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--eg-d, 0ms);
}
.eg-company.eg-anim .eg-rv.eg-in { opacity: 1; transform: none; }
.eg-company.eg-anim .eg-hero__media.eg-rv { transform: scale(.96); }
.eg-company.eg-anim .eg-hero__media.eg-rv.eg-in { transform: none; }

.eg-company.eg-anim .eg-h2::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1) .25s; }
.eg-company.eg-anim .eg-in .eg-h2::after,
.eg-company.eg-anim .eg-h2.eg-in::after { transform: scaleX(1); }

/* этапы: линия прорисовывается, кружки «включаются» по очереди */
.eg-company.eg-anim .eg-steps li::before { transform: scale(.6); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--eg-i, 0) * 160ms), opacity .3s ease calc(var(--eg-i, 0) * 160ms); }
.eg-company.eg-anim .eg-steps li::after { transform: scaleY(0); transform-origin: top; transition: transform .45s ease calc(var(--eg-i, 0) * 160ms + 120ms); }
.eg-company.eg-anim .eg-steps.eg-in li::before { transform: none; opacity: 1; }
.eg-company.eg-anim .eg-steps.eg-in li::after { transform: none; }
@container eg (min-width: 980px) {
	.eg-company.eg-anim .eg-steps li::after { transform: scaleX(0); transform-origin: left; }
	.eg-company.eg-anim .eg-steps.eg-in li::after { transform: none; }
}

/* бегущая лента логотипов клиентов */
.eg-company .eg-marquee {
	overflow: hidden;
	margin-top: 16px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.eg-company .eg-marquee .eg-clients__list {
	flex-wrap: nowrap;
	width: max-content;
	margin-top: 0;
	gap: 0;
	animation: eg-marquee 32s linear infinite;
}
.eg-company .eg-marquee .eg-clients__list li { padding: 0 28px; }
.eg-company .eg-marquee:hover .eg-clients__list { animation-play-state: paused; }
@keyframes eg-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
	.eg-company .eg-hero::before,
	.eg-company .eg-hero::after,
	.eg-company .eg-marquee .eg-clients__list { animation: none; }
}

/* ---------- 3. Процесс v2: иконки, цветная дорожка, карточки ---------- */

.eg-company .eg-flow {
	--eg-track: linear-gradient(90deg, var(--eg-brand), var(--eg-green) 55%, var(--eg-yellow));
	position: relative;
	display: grid;
	gap: 12px;
	counter-reset: none;
}
.eg-company .eg-flow::before {
	content: "";
	position: absolute;
	left: 31px;
	top: 32px;
	bottom: 32px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--eg-brand), var(--eg-green) 55%, var(--eg-yellow));
	transform-origin: top;
}
.eg-company .eg-flow li {
	position: relative;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	grid-template-areas: "icon num" "icon title" "icon text";
	column-gap: 16px;
	align-items: start;
	padding: 16px 20px 16px 0;
	background: transparent;
}
.eg-company .eg-flow__icon {
	grid-area: icon;
	position: relative;
	z-index: 1;
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
	border-radius: 20px;
	background: var(--eg-snow);
	box-shadow: 0 0 0 1px var(--eg-cloud), 0 8px 20px rgba(20, 47, 67, .08);
	color: var(--eg-primary);
	transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.eg-company .eg-flow__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eg-company .eg-flow li:nth-child(3n+2) .eg-flow__icon { color: #2f8a0c; }
.eg-company .eg-flow li:nth-child(3n) .eg-flow__icon { color: #a87700; }
.eg-company .eg-flow li:last-child .eg-flow__icon {
	background: linear-gradient(135deg, var(--eg-brand), var(--eg-primary-hover));
	color: #fff;
	box-shadow: 0 10px 24px rgba(32, 126, 237, .35);
}
.eg-company .eg-flow li:hover .eg-flow__icon { transform: translateY(-4px) rotate(-4deg); box-shadow: 0 0 0 1px var(--eg-mist), 0 14px 28px rgba(20, 47, 67, .14); }
.eg-company .eg-flow__num { grid-area: num; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--eg-fog); padding-top: 6px; }
.eg-company .eg-flow b { grid-area: title; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--eg-obsidian); }
.eg-company .eg-flow__text { grid-area: text; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--eg-steel); }

@container eg (min-width: 980px) {
	.eg-company .eg-flow {
		grid-template-columns: repeat(7, minmax(0, 1fr));
		gap: 12px;
		padding: 36px 28px 28px;
		background: var(--eg-snow);
		border: 1px solid var(--eg-cloud);
		border-radius: var(--eg-r-card);
	}
	.eg-company .eg-flow::before {
		left: 60px;
		right: 60px;
		top: 68px;
		bottom: auto;
		width: auto;
		height: 3px;
		background: var(--eg-track);
		transform-origin: left;
	}
	.eg-company .eg-flow li {
		grid-template-columns: 1fr;
		grid-template-areas: "icon" "num" "title" "text";
		justify-items: start;
		padding: 0 4px 8px;
	}
	.eg-company .eg-flow__num { padding-top: 18px; }
	.eg-company .eg-flow b { margin-top: 2px; font-size: 17px; }
	.eg-company .eg-flow__text { font-size: 14px; }
}

.eg-company.eg-anim .eg-flow::before { transform: scaleY(0); transition: transform 1.4s cubic-bezier(.4, 0, .2, 1) .2s; }
.eg-company.eg-anim .eg-flow.eg-in::before { transform: none; }
@container eg (min-width: 980px) {
	.eg-company.eg-anim .eg-flow::before { transform: scaleX(0); }
	.eg-company.eg-anim .eg-flow.eg-in::before { transform: none; }
}
.eg-company.eg-anim .eg-flow li { opacity: 0; transform: translateY(16px); transition: opacity .5s ease calc(var(--eg-i, 0) * 170ms + 150ms), transform .5s cubic-bezier(.2, .7, .2, 1) calc(var(--eg-i, 0) * 170ms + 150ms); }
.eg-company.eg-anim .eg-flow.eg-in li { opacity: 1; transform: none; }
.eg-company.eg-anim .eg-flow .eg-flow__icon { transform: scale(.5); transition: transform .55s cubic-bezier(.3, 1.6, .5, 1) calc(var(--eg-i, 0) * 170ms + 150ms), background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.eg-company.eg-anim .eg-flow.eg-in .eg-flow__icon { transform: none; }
.eg-company.eg-anim .eg-flow.eg-in li:hover .eg-flow__icon { transform: translateY(-4px) rotate(-4deg); transition-delay: 0s; }

/* ---------- 4. Тёмный блок v2: свечение, сетка, бейдж, цветные карточки ---------- */

.eg-company .eg-dark {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(600px 380px at 85% -10%, rgba(32, 126, 237, .45), transparent 70%),
		radial-gradient(520px 360px at -10% 110%, rgba(91, 237, 32, .16), transparent 70%),
		linear-gradient(160deg, #173a55, #0f2536 70%);
}
.eg-company .eg-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%);
	pointer-events: none;
}

.eg-company .eg-team-photo { position: relative; }
.eg-company .eg-team-photo img { position: relative; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.eg-company .eg-team-photo::before {
	content: "";
	position: absolute;
	inset: -10px -10px auto auto;
	width: 60%;
	height: 60%;
	border-radius: var(--eg-r-media);
	background: linear-gradient(135deg, var(--eg-brand), var(--eg-green) 60%, var(--eg-yellow));
	opacity: .9;
}
.eg-company .eg-team-photo__badge {
	position: absolute;
	z-index: 2;
	left: -12px;
	bottom: 48px;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 260px;
	padding: 12px 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
	color: var(--eg-obsidian);
	font-size: 14px;
	line-height: 1.35;
}
.eg-company .eg-team-photo__badge b { font-size: 34px; line-height: 1; font-weight: 700; color: var(--eg-primary); }
@container eg (max-width: 600px) {
	.eg-company .eg-team-photo__badge { left: 10px; top: 10px; bottom: auto; gap: 8px; max-width: 200px; padding: 8px 12px; border-radius: 14px; font-size: 12px; }
	.eg-company .eg-team-photo__badge b { font-size: 24px; }
	.eg-company .eg-video { aspect-ratio: 4 / 3; }
	.eg-company .eg-video__meta { display: none; }
	.eg-company .eg-team-photo::before { inset: -6px -6px auto auto; }
}

.eg-company .eg-base li {
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.eg-company .eg-base li::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--eg-brand);
}
.eg-company .eg-base li:nth-child(2)::before { background: var(--eg-green); }
.eg-company .eg-base li:nth-child(3)::before { background: var(--eg-yellow); }
.eg-company .eg-base li:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.eg-company .eg-base__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	border-radius: 16px;
	background: rgba(32, 126, 237, .2);
	color: #8fd0f7;
}
.eg-company .eg-base li:nth-child(2) .eg-base__icon { background: rgba(91, 237, 32, .16); color: #a6f585; }
.eg-company .eg-base li:nth-child(3) .eg-base__icon { background: rgba(237, 179, 32, .18); color: #f6d27a; }
.eg-company .eg-base__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eg-company .eg-base__num { display: none; }

.eg-company .eg-video { margin-top: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.eg-company .eg-base { gap: 16px; }
.eg-company.eg-anim .eg-pulse::before,
.eg-company.eg-anim .eg-pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .7);
	animation: eg-pulse 2.4s ease-out infinite;
}
.eg-company.eg-anim .eg-pulse::after { animation-delay: 1.2s; }
.eg-company .eg-pulse { position: relative; }
@keyframes eg-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	.eg-company .eg-pulse::before,
	.eg-company .eg-pulse::after { animation: none; content: none; }
	.eg-company .eg-flow li:hover .eg-flow__icon,
	.eg-company .eg-base li:hover { transform: none; }
}


/* ---------- Размытое фото офиса на фоне блоков ---------- */

.eg-company .eg-cta { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #1b68c8, #134f9c); }
.eg-company .eg-bgphoto {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
}
.eg-company .eg-bgphoto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(14px) saturate(1.15);
	transform: scale(1.12);
	opacity: .5;
}
.eg-company .eg-bgphoto::after {
	content: "";
	position: absolute;
	inset: 0;
}
.eg-company .eg-dark .eg-bgphoto::after { background: linear-gradient(100deg, rgba(15, 37, 54, .92) 0%, rgba(15, 37, 54, .5) 55%, rgba(15, 37, 54, .22) 100%); }
.eg-company .eg-cta .eg-bgphoto img { opacity: .55; mix-blend-mode: luminosity; }
.eg-company .eg-cta .eg-bgphoto::after { background: linear-gradient(100deg, rgba(19, 79, 156, .9) 0%, rgba(27, 104, 200, .55) 60%, rgba(27, 104, 200, .3) 100%); }

/* Текст: заголовки на тёмном — чистый белый с мягкой тенью, вводные — светлее */
.eg-company .eg-dark .eg-h2,
.eg-company .eg-cta .eg-h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.eg-company .eg-dark .eg-lead,
.eg-company .eg-cta .eg-lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .2); }
.eg-company .eg-dark .eg-kicker { color: #a9dcff; border-color: rgba(169, 220, 255, .35); background: rgba(255, 255, 255, .06); }
.eg-company .eg-base p { color: var(--eg-on-dark); }

/* ---------- Доступность и печать ---------- */

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

@media (prefers-reduced-motion: reduce) {
	.eg-company *,
	.eg-company *::before,
	.eg-company *::after { transition: none; }
	.eg-company .eg-card:hover .eg-card__img img,
	.eg-company .eg-doc:hover .eg-doc__img img,
	.eg-company .eg-brands li:hover img,
	.eg-company .eg-clients__list li:hover img { transform: none; }
}

@media print {
	.eg-company .eg-bgphoto { display: none; }
	.eg-company { background: #fff; padding: 0; }
	.eg-company .eg-dark,
	.eg-company .eg-cta,
	.eg-company .eg-docs { background: #fff; color: #000; border: 1px solid #999; }
	.eg-company .eg-dark *,
	.eg-company .eg-cta *,
	.eg-company .eg-docs * { color: #000; }
	.eg-company .eg-video,
	.eg-company .eg-actions { display: none; }
	.eg-company .eg-section { break-inside: avoid; }
}
