/* ============================================================
   Айдентика MGM (Figma дизайнера): шапка и первый экран
   Montserrat · тёмно-синий #3B4372 · персиковый #DFAEA1 · белые дуги
   ============================================================ */

:root {
	--mgm-navy: #3b4372;
	--mgm-peach: #dfaea1;
	--mgm-peach-hover: #e8bfb4;
	--mgm-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- шапка: тёмно-синяя полоса, белый логотип ---------- */

.site-header {
	height: 72px;
	background: var(--mgm-navy);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	font-family: var(--mgm-font);
}

.site-header .gn__inner { max-width: 1200px; gap: 24px; }

.site-header .brand { height: 72px; padding-right: 20px; opacity: 1; color: #fff; }
.site-header .brand { gap: 10px; font-family: var(--mgm-font); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.brand__mark { display: block; width: 22px; height: 31px; }

.site-header .nav ul { justify-content: flex-start; gap: 0 26px; margin: 0; max-width: none; }
.site-header .nav a { padding: 0; line-height: 72px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: #fff; opacity: .92; }
.site-header .nav a:hover { opacity: 1; }

.site-header .lang a, .site-header .lang span { color: #fff; font-family: var(--mgm-font); font-size: 12px; }
.site-header .burger span { background: #fff; }

@media (max-width: 833px) {
	.site-header, .site-header .brand { height: 60px; }
	.site-header .nav { top: 60px; background: var(--mgm-navy); }
	.admin-bar .site-header .nav { top: 106px; }
	.site-header:has(.nav.is-open) { background: var(--mgm-navy); }
	.site-header .nav ul { padding: 16px 28px 32px; }
	.site-header .nav a { line-height: 1.2; font-size: 22px; font-weight: 600; }
}

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

.mh {
	position: relative;
	overflow: hidden;
	min-height: min(100svh - 72px, 62vw);
	min-height: calc(100svh - 72px);
	display: flex;
	align-items: center;
	color: #fff;
	font-family: var(--mgm-font);
	background: #3a2d33;
}

.mh__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 62%;
}

/* затемнение как в макете: текст читается, горы остаются яркими сверху */
.mh::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(20, 16, 24, .45) 0%, rgba(20, 16, 24, .15) 55%, rgba(20, 16, 24, 0) 75%),
		linear-gradient(180deg, rgba(20, 16, 24, .1) 0%, rgba(20, 16, 24, .25) 100%);
}

.mh__rings {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	height: 100%;
	width: auto;
	max-width: 34%;
	transform: translateX(10%);
	pointer-events: none;
}

.mh__content {
	position: relative;
	z-index: 3;
	width: 100%;
	padding: clamp(64px, 9vw, 120px) 24px clamp(64px, 8vw, 110px) clamp(24px, 19.8vw, 380px);
	max-width: calc(19.8vw + 760px);
}

.mh__title { margin: 0; font-family: var(--mgm-font); color: #fff; font-size: clamp(30px, 2.6vw, 50px); line-height: 1.5; text-transform: uppercase; letter-spacing: 0; }
.mh__title span { display: block; font-weight: 800; }
.mh__title strong { display: block; font-weight: 600; }

.mh__sub {
	margin: clamp(22px, 2.2vw, 40px) 0 0;
	max-width: 30em;
	font-size: clamp(15px, 1.05vw, 20px);
	line-height: 1.8;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0;
}

.mh__note {
	margin: 12px 0 0;
	max-width: 36em;
	font-size: clamp(13px, .8vw, 15px);
	line-height: 2;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0;
	opacity: .95;
}

.mh__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	margin-top: clamp(32px, 3.4vw, 64px);
}

.mh__btn {
	border: 0;
	cursor: pointer;
	font-family: var(--mgm-font);
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 10px 24px;
	border-radius: 999px;
	background: var(--mgm-peach);
	color: #fff;
	font-size: clamp(13px, .8vw, 15px);
	font-weight: 600;
	letter-spacing: 0;
	transition: background .25s ease;
}
.mh__btn:hover { background: var(--mgm-peach-hover); text-decoration: none; }

.mh__aside { color: #fff; font-size: clamp(13px, .8vw, 15px); letter-spacing: 0; line-height: 1.6; }
.mh__aside::after { content: " →"; }

.mh__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.mh__links a { color: #fff; opacity: .85; font-size: 13px; letter-spacing: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.mh__links a:hover { opacity: 1; text-decoration-color: #fff; }

@media (max-width: 1280px) {
	.mh__rings { max-width: 28%; transform: translateX(18%); }
}

@media (max-width: 733px) {
	.mh { min-height: calc(100svh - 60px); align-items: flex-end; }
	.mh__bg { object-position: 40% 50%; }
	.mh::before { background: linear-gradient(180deg, rgba(20, 16, 24, .1) 0%, rgba(20, 16, 24, .55) 70%); }
	.mh__rings { max-width: 80%; opacity: .35; transform: translateX(30%); }
	.mh__content { padding: 56px 22px 48px; }
	.mh__title { font-size: 28px; line-height: 1.4; }
	.mh__btn { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- окно «Получить технологию» ---------- */

.mgm-dialog {
	width: min(520px, calc(100vw - 32px));
	padding: 40px 36px 36px;
	border: 0;
	border-radius: 20px;
	background: #fff;
	color: #1d1d1f;
	font-family: var(--mgm-font);
	box-shadow: 0 30px 80px rgba(20, 16, 40, .35);
}
.mgm-dialog::backdrop { background: rgba(28, 30, 60, .55); backdrop-filter: blur(4px); }
.mgm-dialog[open] { animation: dlg-in .3s ease; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mgm-dialog__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f2f0f3; color: #1d1d1f; font-size: 22px; line-height: 1; cursor: pointer; }
.mgm-dialog__eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mgm-navy); }
.mgm-dialog h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.3; font-weight: 700; text-transform: uppercase; }
.mgm-dialog p { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: #515154; }
.mgm-dialog__tg { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 999px; background: #229ed9; color: #fff; font-size: 16px; font-weight: 600; }
.mgm-dialog__tg:hover { background: #1c8cc2; text-decoration: none; }
