/* ============================================================
	 ПЕРЕМЕННЫЕ
	 ============================================================ */
:root {
	--max-w:				1380px;
	--pad-desktop:	60px;
	--pad-tablet:	 40px;
	--pad-mobile:	 24px;

	--color-bg-header:	#eef2f5;
	--color-bg-stats:	 #d9d9d9;
	--color-bg-footer:	#eef1f4;
	--color-navy:			 #1a2659;
	--color-accent:		 #1e3aa8;
	--color-text:			 #1a1a1a;
	--color-muted:			#8a8f96;

	--font-base: "Mariupol", Helvetica, Arial, sans-serif;
}

@font-face {
	font-family: 'Mariupol';
	src: url('../fonts/Mariupol-Bold.woff') format('woff'),
	url('../fonts/Mariupol-Bold.otf') format("opentype");
	font-weight: 700;
	font-style: normal;
}
@font-face {
	font-family: 'Mariupol';
	src: url('../fonts/Mariupol-Medium.woff') format('woff'),
	url('../fonts/Mariupol-Medium.otf') format("opentype");
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: 'Mariupol';
	src: url('../fonts/Mariupol-Regular.woff') format('woff'),
	url('../fonts/Mariupol-Regular.otf') format("opentype");
	font-weight: 400;
	font-style: normal;
}

/* ============================================================
	 RESET
	 ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; overflow-x: hidden; }
body {
	font-family: "Mariupol", Helvetica, Arial, sans-serif;
	color: var(--color-text);
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #fff;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
	 УТИЛИТА: единый центрирующий контейнер
	 ============================================================ */
.container {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 var(--pad-desktop);
}

/* ============================================================
	 HEADER
	 ============================================================ */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: var(--color-bg-header);
	padding: 25px var(--pad-desktop);
	z-index: 100;
	transition: padding .35s ease, box-shadow .35s ease;
}
.header.is-scrolled {
	padding-top: 14px;
	padding-bottom: 14px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.header__inner {
	max-width: var(--max-w);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Логотип — квадрат плавно уменьшается вместе с шапкой */
.logo-desktop__square {
	transition: width .35s ease, height .35s ease;
}
.header.is-scrolled .logo-desktop__square {
	width: 44px;
	height: 44px;
}

/* Компенсация fixed-шапки: высота шапки в исходном состоянии ~120px (70px квадрат + 50px паддинги) */
body { padding-top: 120px; }

/* Логотип — десктоп */
.logo-desktop {
	display: flex;
	align-items: center;
}
.logo-desktop__text {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-navy);
	letter-spacing: 0.05em;
	padding: 10px 0;
	white-space: nowrap;
}
.logo-desktop__text .holding {
	font-weight: 400;
	color: var(--color-text);
	margin-left: 4px;
}
.logo-desktop__square {
	width: 70px;
	height: 70px;
	border: 1.5px solid var(--color-navy);
	margin-left: -32px;
	position: relative;
	z-index: -1;
	flex-shrink: 0;
}

/* Логотип — мобайл */
.logo-mobile {
	display: none;
	font-size: 22px;
	font-weight: 800;
	color: var(--color-navy);
	letter-spacing: 0.08em;
}

/* Навигация — десктоп */
.nav-desktop {
	display: flex;
	align-items: center;
	gap: 48px;
}
.nav-desktop a {
	font-size: 15px;
	transition: color .2s ease;
}
.nav-desktop a:hover { color: var(--color-navy); }

/* Бургер */
.burger {
	display: none;
	width: 34px;
	height: 24px;
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	z-index: 110;
	flex-shrink: 0;
}
.burger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--color-text);
	transition: transform .3s ease, opacity .3s ease;
}
.burger span:nth-child(1) { top: 4px; }
.burger span:nth-child(2) { top: 17px; }

/* ============================================================
	 HERO
	 ============================================================ */
.hero {
	width: 100%;
	background: #939393;
	min-height: 640px;
	padding: 100px var(--pad-desktop);
	display: flex;
	align-items: flex-start;
}
.hero__title {
	color: #fff;
	font-size: 72px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	max-width: 1200px;
	margin-left: 14%;
}
.hero__title .line2 {
	display: block;
	padding-left: 1.4em;
}

/* ============================================================
	 STATS
	 ============================================================ */
.stats {
	width: 100%;
	background: var(--color-bg-stats);
	padding: 80px var(--pad-desktop);
}
.stats__grid {
	max-width: var(--max-w);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number-wrap {
	display: flex;
	align-items: flex-start;
	margin-bottom: 18px;
}
.stat-number {
	font-size: 110px;
	font-weight: 300;
	color: #fff;
	line-height: 1;
	letter-spacing: -0.03em;
}
.stat-unit {
	font-size: 18px;
	color: #fff;
	text-transform: lowercase;
	margin-top: 8px;
	margin-left: 6px;
}
.stat-label {
	font-size: 16px;
	color: #fff;
	line-height: 1.35;
}

/* ============================================================
	 MAIN CONTENT BLOCK (бывший ZERO BLOCK)
	 ============================================================ */
.content-block {
	font-family: 'Inter', var(--font-base);
	font-feature-settings: "kern" 1, "liga" 1;
	color: #0a0a0a;
	background: #fff;
	padding: 80px 0 120px;
	width: 100%;
	overflow: hidden;
}

/* Контейнер с дополнительным смещением для дизайна */
.content-block__container {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 var(--pad-desktop);
}

/* Верхний абзац */
.cb-intro {
	font-size: 18px;
	line-height: 1.45;
	font-weight: 400;
	color: #0a0a0a;
}
.cb-intro__brand { font-weight: 700; }

/* Заголовок «Проекты» */
.cb-head { margin-top: 140px; }

.cb-title {
	font-size: 84px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0a0a0a;
	margin-bottom: 20px;
}
.cb-subtitle {
	font-size: 20px;
	line-height: 1.4;
	color: #9a9a9a;
}

/* Сетка карточек */
.cb-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin-top: 80px;
}

.cb-card {
	display: block;
	cursor: pointer;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cb-card:hover { transform: translateY(-6px); }

.cb-card__media {
	width: 100%;
	aspect-ratio: 16 / 11;
	background: #c8c8c8;
	border-radius: 24px;
	margin-bottom: 32px;
	overflow: hidden;
	transition: background 0.4s ease;
}
.cb-card:hover .cb-card__media { background: #bababa; }

.cb-card__title {
	font-size: 44px;
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #0a0a0a;
	margin-bottom: 14px;
}
.cb-card__desc {
	font-size: 20px;
	line-height: 1.4;
	color: #9a9a9a;
}

/* ============================================================
	 АНИМАЦИЯ ПОЯВЛЕНИЯ
	 ============================================================ */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition:
	opacity	0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
	transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.cb-grid .cb-card:nth-child(1).is-visible { transition-delay: 0s; }
.cb-grid .cb-card:nth-child(2).is-visible { transition-delay: 0.15s; }

@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	.cb-card { transition: none; }
}

/* ============================================================
	 FOOTER
	 ============================================================ */
.shk-footer {
	background: var(--color-bg-footer);
	width: 100%;
	padding: 72px var(--pad-desktop);
}
.shk-footer__inner {
	max-width: var(--max-w);
	margin: 0 auto;
}

/* Десктопная сетка */
.shk-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.shk-brand {
	display: flex;
	flex-direction: column;
	gap: 56px;
}
.shk-brand__logo {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.shk-brand__logo-mark {
	font-weight: 800;
	font-size: 22px;
	letter-spacing: 0.5px;
	color: var(--color-accent);
	text-transform: uppercase;
}
.shk-brand__logo-frame {
	display: inline-block;
	border: 1.5px solid var(--color-accent);
	padding: 8px 16px;
	font-weight: 400;
	font-size: 15px;
	color: var(--color-text);
	text-transform: uppercase;
	letter-spacing: 2px;
}
.shk-brand__copy {
	font-size: 14px;
	line-height: 1.7;
	color: var(--color-muted);
}
.shk-brand__copy span { display: block; }

.shk-col { display: flex; flex-direction: column; gap: 18px; }
.shk-col__title {
	font-weight: 700;
	font-size: 16px;
	color: var(--color-text);
	margin-bottom: 6px;
	letter-spacing: 0.2px;
}
.shk-col__link {
	font-size: 15px;
	color: var(--color-muted);
	line-height: 1.4;
	transition: color 0.2s ease;
	width: fit-content;
}
.shk-col__link:hover { color: var(--color-accent); }

.shk-col--bold .shk-col__link {
	font-weight: 700;
	font-size: 16px;
	color: var(--color-text);
}
.shk-col--bold .shk-col__link:hover { color: var(--color-accent); }

/* Мобильная версия футера */
.shk-footer__mobile { display: none; }

/* ============================================================
	 МОБИЛЬНОЕ МЕНЮ
	 ============================================================ */
.mobile-menu {
	position: fixed;
	top: 0; right: 0;
	width: 100%;
	max-width: 420px;
	height: 100vh;
	background: var(--color-navy);
	transform: translateX(100%);
	transition: transform .4s cubic-bezier(.7,0,.2,1);
	z-index: 105;
	display: flex;
	flex-direction: column;
	padding: 25px 30px;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255,255,255,0.18);
}
.mobile-menu-header .logo-mobile-menu {
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 0.08em;
}
.close-btn {
	background: none;
	border: none;
	cursor: pointer;
	width: 32px;
	height: 32px;
	position: relative;
}
.close-btn::before,
.close-btn::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 3px;
	background: #fff;
}
.close-btn::before { transform: rotate(45deg); }
.close-btn::after	{ transform: rotate(-45deg); }

.mobile-nav {
	margin-top: 22px;
	display: flex;
	flex-direction: column;
}
.mobile-nav li {
	padding: 14px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.mobile-nav a {
	color: #fff;
	font-size: 22px;
	font-weight: 600;
}
.mobile-nav .has-sub::after {
	content: '';
	width: 18px;
	height: 18px;
	border-right: 3px solid #fff;
	border-top: 3px solid #fff;
	transform: rotate(-45deg);
	margin-top: 4px;
}

/* Затемнение под меню */
.menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.4);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
	z-index: 104;
}
.menu-overlay.active { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

/* ============================================================
	 АДАПТИВ
	 ============================================================ */

/* Средний десктоп */
@media (max-width: 1280px) {
	.content-block__inner {
	padding-left: 120px;
	padding-right: 20px;
	}
	.cb-title { font-size: 72px; }
	.cb-card__title { font-size: 38px; }
}

/* Небольшой десктоп / ноутбук */
@media (max-width: 1200px) {
	.nav-desktop { gap: 32px; }
	.hero__title { font-size: 56px; margin-left: 8%; }
	.stat-number { font-size: 90px; }
}

/* Планшет */
@media (max-width: 1024px) {
	.content-block { padding: 60px 0 90px; }
	.content-block__container { padding: 0 var(--pad-tablet); }
	.content-block__inner {
	padding-left: var(--pad-tablet);
	padding-right: 0;
	}
	.cb-head { margin-top: 100px; }
	.cb-grid { margin-top: 60px; gap: 32px; }
	.cb-title { font-size: 60px; }
	.cb-subtitle { font-size: 18px; }
	.cb-card__title { font-size: 32px; }
	.cb-card__desc { font-size: 18px; }
	.cb-intro { font-size: 17px; }

	.shk-footer__grid {
	grid-template-columns: 1fr 1fr;
	gap: 48px 32px;
	}
	.shk-brand { grid-column: 1 / -1; }
}

/* Планшет-мобайл */
@media (max-width: 900px) {
	body { padding-top: 92px; }
	.header {
	padding: 20px 30px;
	height: 92px;
	transition: none;
	}
	.header.is-scrolled {
	padding-top: 20px;
	padding-bottom: 20px;
	box-shadow: none;
	}
	.logo-desktop { display: none; }
	.logo-mobile	{ display: block; }
	.nav-desktop	{ display: none; }
	.burger			 { display: block; }

	.hero { padding: 60px 30px 80px; min-height: 70vh; }
	.hero__title	{ font-size: 38px; margin-left: 0; }

	.stats { padding: 50px 30px; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
	.stat-number { font-size: 80px; }
	.stat-unit	 { font-size: 14px; margin-top: 6px; }
	.stat-label	{ font-size: 15px; }
}

/* Мобайл */
@media (max-width: 720px) {
	.content-block { padding: 32px 0 60px; }
	.content-block__container { padding: 0 var(--pad-mobile); }
	.content-block__inner { padding-left: 0; padding-right: 0; }

	.cb-intro { font-size: 20px; line-height: 1.4; }
	.cb-head	{ margin-top: 64px; }
	.cb-title { font-size: 48px; margin-bottom: 16px; }
	.cb-subtitle { font-size: 20px; }
	.cb-grid {
	grid-template-columns: 1fr;
	gap: 56px;
	margin-top: 48px;
	}
	.cb-card__media { aspect-ratio: 5 / 4; border-radius: 18px; margin-bottom: 24px; }
	.cb-card__title { font-size: 36px; margin-bottom: 12px; }
	.cb-card__desc	{ font-size: 18px; }

	.shk-footer { padding: 56px var(--pad-mobile); }
	.shk-footer__grid	{ display: none; }
	.shk-footer__mobile {
	display: flex;
	flex-direction: column;
	gap: 48px;
	}
	.shk-mobile-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 24px;
	row-gap: 28px;
	}
	.shk-mobile-nav__link {
	font-size: 22px;
	font-weight: 500;
	color: var(--color-text);
	line-height: 1.2;
	transition: color 0.2s ease;
	}
	.shk-mobile-nav__link:hover,
	.shk-mobile-nav__link:active { color: var(--color-accent); }

	.shk-mobile-logo {
	font-weight: 800;
	font-size: 44px;
	letter-spacing: 2px;
	color: var(--color-accent);
	line-height: 1;
	margin-top: 8px;
	}
	.shk-mobile-copy {
	font-size: 16px;
	color: var(--color-muted);
	line-height: 1.6;
	margin-top: -16px;
	}
	.shk-mobile-copy span { display: block; }
	.shk-mobile-copy__year { color: var(--color-text); }
}

/* Узкие мобайл */
@media (max-width: 480px) {
	body { padding-top: 92px; }
	.header { padding: 18px 22px; height: 92px; }
	.header.is-scrolled { padding-top: 18px; padding-bottom: 18px; box-shadow: none; }
	.logo-mobile { font-size: 19px; }
	.hero { padding: 50px 22px 70px; min-height: 75vh; }
	.hero__title { font-size: 32px; }
	.stats { padding: 40px 22px 60px; }
	.stat-number { font-size: 72px; }
	.stat-label	{ font-size: 14px; }
	.mobile-menu { padding: 22px 24px; }
	.mobile-nav a { font-size: 20px; }
}

@media (max-width: 380px) {
	.content-block__container { padding: 0 20px; }
	.cb-title { font-size: 42px; }
	.cb-card__title { font-size: 32px; }
	.shk-mobile-nav__link { font-size: 19px; }
	.shk-mobile-logo { font-size: 38px; }
}
