/* Первые экраны ключевых страниц · дизайн-система МИТРАКС. */
.mx-key-hero {
	position: relative;
	margin-top: calc(-1 * var(--mxs-bar-h));
	padding: var(--mxs-bar-h) 0 84px;
	background: var(--ink);
	color: #fff;
	font: 400 16px/1.5 var(--font-text);
}
.mx-key-hero *, .mx-key-hero *::before, .mx-key-hero *::after { box-sizing: border-box; }
.mx-key-wrap { padding-top: 28px; }
.mx-key-crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: #A9B8C6; font-size: 13px; }
.mx-key-crumbs a { color: inherit; text-decoration: none; }
.mx-key-crumbs a:hover { color: #4DA9E4; }
.mx-key-crumbs [aria-current] { color: #fff; }
.mx-key-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: center; gap: 40px; padding: 20px 0 32px; }
.mx-key-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mx-key-hero h1 { margin: 0; color: #fff; font: 800 68px var(--font-display); line-height: 1.02 !important; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: anywhere; }
.mx-key-hero.is-short h1 { font-size: 88px; line-height: .95 !important; }
.mx-key-hero.is-long h1 { font-size: 54px; }
.mx-key-hero .mx-key-kicker { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 13px/1.2 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: #A9B8C6; }
.mx-key-mark { display: inline-flex; flex: none; gap: 4px; }
.mx-key-mark i { width: 22px; height: 9px; background: #258ACA; transform: skewX(-32deg); }
.mx-key-mark i + i { width: 9px; background: #E53729; }
.mx-key-hero .mx-key-lead { max-width: 560px; margin: 0; font: 400 18px/1.45 var(--font-text); color: #E3EAF0; text-wrap: pretty; }
.mx-key-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.mx-key-links span { margin-right: 6px; color: #A9B8C6; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mx-key-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; font: 600 14px/1.3 var(--font-text); text-decoration: none; }
.mx-key-links a:hover { border-color: #4DA9E4; color: #9CD0F2; }
.mx-key-hero a:focus-visible { outline: 3px solid #4DA9E4; outline-offset: 3px; }
.mx-key-art { position: relative; height: 340px; isolation: isolate; }
.mx-key-red, .mx-key-blue, .mx-key-photo { position: absolute; top: 0; bottom: 0; transform: skewX(-14deg); }
.mx-key-red { left: 0; width: 14px; background: #E53729; border-radius: 4px; }
.mx-key-blue { left: 25px; width: 64px; background: #1969A9; border-radius: 16px; }
.mx-key-photo { left: 100px; right: 45px; overflow: hidden; border-radius: 22px; background: #16273A; }
.mx-key-photo img { display: block; width: calc(100% + 100px); max-width: none !important; height: 100%; margin-left: -50px; object-fit: cover; transform: skewX(14deg); }
.mx-key-paper { position: relative; height: 40px; margin-top: -40px; border-radius: 40px 40px 0 0; background: #F1F4F7; }
.mx-key-hero.is-tech .mx-key-grid { display: block; padding-bottom: 12px; }
.mx-key-hero.is-tech .mx-key-copy { max-width: 980px; }
.mx-key-hero.is-tech h1 { font-size: 44px; line-height: 1.06 !important; }
.mx-key-followup { padding: 24px 0; background: #F1F4F7; font: 400 16px/1.5 var(--font-text); }
.mx-key-followup .mx-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.mx-key-followup .promo__more-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px; border-radius: 14px; background: #E3EEF7; color: #1969A9; font: 600 15px/1.3 var(--font-text); text-decoration: none; }
.mx-key-followup .about-company__desc { margin: 0; max-width: 650px; }
.mx-key-followup .about-company__btn { flex: none; margin: 0; }
.mx-key-page .mx-key-contact-info { padding-top: 24px; }
.mx-key-contact-info .contacts-promo__content { margin-top: 0; }
.mx-key-page .mx-key-company-details { padding-top: 24px; }
.mx-key-page [id^="key-"], .mx-key-page #centers { scroll-margin-top: 24px; }
.mx-key-page.privacy-policy .description__column_left:has(> p:only-child:empty) { display: none; }
.mx-key-page.privacy-policy .description__column_right { width: 100%; max-width: 920px; margin: 0 auto; }

@media (max-width: 1100px) and (min-width: 901px) {
	.mx-key-hero.is-short h1 { font-size: 70px; }
	.mx-key-hero h1 { font-size: 54px; }
	.mx-key-hero.is-long h1 { font-size: 44px; }
	.mx-key-hero.is-tech h1 { font-size: 44px; }
}

@media (max-width: 900px) {
	.mx-key-hero { padding-bottom: 56px; }
	.mx-key-wrap { padding-top: 12px; }
	.mx-key-crumbs { display: none; }
	.mx-key-grid { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 0 0 20px; }
	.mx-key-copy { gap: 14px; }
	.mx-key-hero h1 { font-size: 40px; }
	.mx-key-hero.is-short h1 { font-size: 52px; }
	.mx-key-hero.is-long h1 { font-size: 34px; }
	.mx-key-hero .mx-key-lead { font-size: 16px; }
	.mx-key-links a { min-height: 32px; padding: 4px 12px; font-size: 13px; }
	.mx-key-art { height: 190px; }
	.mx-key-red { left: 24px; width: 9px; }
	.mx-key-blue { left: 42px; width: 37px; border-radius: 11px; }
	.mx-key-photo { left: 89px; right: 24px; border-radius: 16px; }
	.mx-key-paper { height: 28px; margin-top: -28px; border-radius: 28px 28px 0 0; }
	.mx-key-hero.is-tech .mx-key-grid { padding-bottom: 4px; }
	.mx-key-hero.is-tech h1 { font-size: 28px; }
}

/* Соседние одноцветные секции с собственными полями. Второй блок задаёт интервал. */
.mx-key-page main > .description_white:has(+ #key-catalog-features),
.mx-key-page main > #key-gallery:has(+ #key-industry),
.mx-key-page main > #key-industry:has(+ #key-grounds),
.mx-key-page main > #key-production:has(+ .history),
.mx-key-page main > .team:has(+ #centers.service-centers),
.mx-key-page main > #centers.service-centers:has(+ .clients),
.mx-key-page main > #key-phones:has(+ #key-departments),
.mx-key-page main > .contacts-info:has(+ #key-requisites),
.mx-key-page main > #key-delivery-process:has(+ #key-delivery-faq) { padding-bottom: 0; }

/* У этих пар интервал задаёт первый блок. */
.mx-key-page main > #key-text-reviews + .video-technology,
.mx-key-page main > #key-delivery-faq + #key-delivery-steps { padding-top: 0; }
