:root {
	--dark: #0e1c2b;
	--dark-2: #132537;
	--dark-3: #1a3049;
	--orange: #f4761a;
	--orange-dark: #dd6610;
	--text: #33404c;
	--muted: #5f6d7a;
	--line: #e3e8ee;
	--bg-gray: #f4f6f9;
	--radius: 8px;
	--font: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--dark); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; width: 100%; height: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 26px;
	border: 0;
	border-radius: 6px;
	font: 700 14px/1 var(--font);
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, transform .1s;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--primary:active { transform: translateY(1px); }
.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn__icon { width: 18px; height: 18px; flex: none; }

/* ---------- Шапка ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 44px; height: 40px; }
/* Надпись — геометрический гротеск, как в фирменном логотипе. */
.logo__text { font-family: 'Poppins', var(--font); font-size: 27px; font-weight: 500; color: #273037; letter-spacing: .02em; }
/* В тёмном футере буква белая, а «зазоры» вокруг доски — цвета фона. */
.site-footer .logo__a { fill: #fff; }
.site-footer .logo__board { stroke: #0a1520; }
.site-header__contacts { display: flex; align-items: center; gap: 22px; }
.site-header__phone {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; font-size: 17px; color: var(--dark); text-decoration: none; white-space: nowrap;
}
.site-header__phone-icon { width: 18px; height: 18px; color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	color: #fff;
	background:
		radial-gradient(900px 420px at 78% 8%, rgba(63, 96, 133, .55), transparent 65%),
		radial-gradient(700px 380px at 15% 90%, rgba(244, 118, 26, .12), transparent 60%),
		linear-gradient(160deg, var(--dark-2) 0%, var(--dark) 60%, #0a1520 100%);
	overflow: hidden;
}
.hero--photo { background: var(--dark); }
.hero--photo::before {
	content: ""; position: absolute; inset: 0;
	background-image: var(--hero-bg);
	background-size: cover; background-position: center;
	opacity: .38;
}
.hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10, 21, 32, .85) 0%, rgba(10, 21, 32, .45) 55%, rgba(10, 21, 32, .15) 100%);
	pointer-events: none;
}
.hero__grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px;
	padding-top: 72px; padding-bottom: 72px; align-items: center;
}
.hero__title {
	color: #fff; font-size: 44px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .01em; margin-bottom: 20px;
}
.hero__accent { color: var(--orange); }
.hero__subtitle { max-width: 480px; font-size: 17px; color: #cfd9e3; margin-bottom: 28px; }
.hero__features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-bottom: 34px; max-width: 560px; }
.hero__features li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #e7edf3; }
.hero__feature-icon { width: 30px; height: 30px; flex: none; color: var(--orange); }
.hero__stats {
	background: rgba(13, 27, 42, .78);
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 10px;
	backdrop-filter: blur(4px);
	display: grid; grid-template-columns: 1fr 1fr;
	align-self: end;
	margin-top: 110px;
}
.hero__stat {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 26px 22px;
}
.hero__stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
.hero__stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hero__stat-icon { width: 30px; height: 30px; flex: none; color: var(--orange); margin-top: 2px; }
.hero__stat-value { font-size: 20px; font-weight: 800; color: var(--orange); line-height: 1.25; }
.hero__stat-label { font-size: 13.5px; color: #c3cedb; margin-top: 3px; }

/* ---------- Секции ---------- */
.section { padding: 72px 0; }
.section--gray { background: var(--bg-gray); }
.section__title {
	text-align: center;
	font-size: 30px; font-weight: 800; text-transform: uppercase;
	margin-bottom: 14px; position: relative; padding-bottom: 20px;
}
.section__title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 48px; height: 3px; background: var(--orange); border-radius: 2px;
}
.section__title--left { text-align: left; }
.section__title--left::after { left: 0; transform: none; }

/* ---------- Почему мы ---------- */
.why__grid {
	margin-top: 40px;
	display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
}
.why__card { text-align: center; padding: 8px 18px; }
.why__card + .why__card { border-left: 1px solid var(--line); }
.why__icon { display: inline-block; width: 46px; height: 46px; color: var(--orange); margin-bottom: 14px; }
.why__card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 10px; }
.why__card p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Производство ---------- */
.production__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.production__intro { color: var(--muted); margin: 18px 0 22px; max-width: 420px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 15.5px; }
.checklist__icon { width: 20px; height: 20px; flex: none; color: var(--orange); }
.production__media img { border-radius: 10px; width: 100%; object-fit: cover; }

.media-placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	min-height: 320px; border-radius: 10px; text-align: center;
	background: linear-gradient(150deg, #dfe6ee 0%, #c8d3df 100%);
	color: #5f7189; font-size: 15px; font-weight: 600;
}
.media-placeholder small { font-weight: 400; opacity: .8; }
.media-placeholder__icon { width: 54px; height: 54px; opacity: .55; }
.media-placeholder--dark { background: linear-gradient(150deg, #1a3049 0%, #0e1c2b 100%); color: #9fb0c2; }

/* ---------- География ---------- */
.geo__grid {
	display: grid;
	grid-template-columns: 0.95fr 1.15fr 0.9fr;
	gap: 40px; align-items: start;
}
.geo__intro { color: var(--muted); margin: 18px 0 20px; }
.geo__clients li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15.5px; }
.geo__client-icon { width: 24px; height: 24px; flex: none; color: var(--orange); }
.geo__map img { border-radius: 10px; }
.geo__map-abstract {
	position: relative; min-height: 340px; border-radius: 10px;
	background-color: var(--bg-gray);
	background-image: radial-gradient(#c9d4e0 1.6px, transparent 1.6px);
	background-size: 18px 18px;
	overflow: hidden;
}
.geo__pin { position: absolute; width: 26px; height: 26px; color: var(--orange); transform: translate(-50%, -100%); filter: drop-shadow(0 2px 3px rgba(14, 28, 43, .25)); }
.geo__results {
	background: var(--dark-2); color: #fff; border-radius: 10px; padding: 28px 26px;
}
.geo__results h3 {
	color: #fff; font-size: 17px; font-weight: 800; text-transform: uppercase;
	margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.geo__results li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 14.5px; color: #dbe4ed; }
.geo__result-icon { width: 24px; height: 24px; flex: none; color: var(--orange); }

/* ---------- CTA / форма ---------- */
.cta { background: linear-gradient(160deg, var(--dark-2) 0%, var(--dark) 70%); color: #fff; }
.cta__grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.cta__media img { border-radius: 10px; }
.cta__content h2 { color: #fff; font-size: 28px; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.cta__content > p { color: #c3cedb; max-width: 560px; margin-bottom: 26px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.lead-form input[type="text"],
.lead-form input[type="tel"] {
	width: 100%; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px;
	background: #fff; color: var(--dark); font: 400 15px var(--font);
}
.lead-form input:focus { outline: 2px solid var(--orange); outline-offset: 0; }
.lead-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lead-form__submit { width: 100%; justify-content: center; margin-bottom: 16px; }
.lead-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #a9b7c6; cursor: pointer; }
.lead-form__consent input { margin-top: 3px; accent-color: var(--orange); }
.lead-form__consent a { color: var(--orange); }
.lead-form__status { margin: 12px 0 0; font-size: 14px; min-height: 20px; }
.lead-form__status.is-ok { color: #7fd98d; }
.lead-form__status.is-error { color: #ff9d7a; }

/* ---------- Футер ---------- */
.site-footer { background: #0a1520; color: #b9c5d2; font-size: 14px; }
.site-footer .logo__text { color: #fff; }
.site-footer__grid {
	display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 1.1fr; gap: 36px;
	padding-top: 48px; padding-bottom: 32px;
}
.site-footer__grid--3col { grid-template-columns: 1.4fr 1fr 1.2fr; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer__about p { margin-top: 16px; max-width: 300px; }
.site-footer__list li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; }
.site-footer__li-icon { width: 17px; height: 17px; flex: none; color: var(--orange); margin-top: 2px; }
.site-footer a { color: #b9c5d2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; padding-bottom: 18px; }
.site-footer__bottom p { margin: 0; font-size: 13px; color: #7c8b9a; }

/* ---------- Модалка документов ---------- */
.doc-modal {
	position: fixed; inset: 0; z-index: 200;
	display: flex; align-items: center; justify-content: center;
	padding: 24px;
	background: rgba(10, 21, 32, .65);
}
.doc-modal[hidden] { display: none; }
.doc-modal__sheet {
	display: flex; flex-direction: column;
	width: min(960px, 100%); height: min(84vh, 900px);
	background: #fff; border-radius: 14px; overflow: hidden;
	box-shadow: 0 20px 60px rgba(10, 21, 32, .45);
}
.doc-modal__head {
	display: flex; align-items: center; gap: 12px;
	padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.doc-modal__head-icon {
	width: 38px; height: 38px; flex: none; border-radius: 9px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(244, 118, 26, .12); color: var(--orange); padding: 8px;
}
.doc-modal__title { font-size: 17px; font-weight: 700; color: var(--dark); flex: 1; }
.doc-modal__close {
	width: 36px; height: 36px; flex: none; border: 0; border-radius: 8px;
	background: var(--bg-gray); color: var(--muted);
	font-size: 20px; line-height: 1; cursor: pointer;
}
.doc-modal__close:hover { background: var(--line); color: var(--dark); }
.doc-modal__body { flex: 1; background: #525659; }
.doc-modal__body iframe { width: 100%; height: 100%; border: 0; display: block; }
.doc-modal__foot {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	padding: 14px 20px; border-top: 1px solid var(--line);
}
.doc-modal__label {
	flex: 1; font-size: 12px; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--muted);
}
.doc-modal .btn--dark { background: var(--dark-2); color: #fff; }
.doc-modal .btn--dark:hover { background: var(--dark-3); }
@media (max-width: 640px) {
	.doc-modal { padding: 10px; }
	.doc-modal__sheet { height: 92vh; }
	.doc-modal__label { display: none; }
	.doc-modal__foot .btn { flex: 1; justify-content: center; }
}

/* ---------- Печать (для генерации PDF документов) ---------- */
@media print {
	.site-header, .site-footer, .cookie-bar, .doc-modal { display: none !important; }
	.page-main { padding: 0; }
	body { font-size: 12px; }
}

/* ---------- Cookie ---------- */
.cookie-bar[hidden] { display: none; }
.cookie-bar {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
	max-width: 720px; margin: 0 auto; padding: 16px 20px;
	background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(10, 21, 32, .25);
}
.cookie-bar p { margin: 0; font-size: 13.5px; flex: 1 1 320px; }
.cookie-bar .btn { padding: 10px 20px; }

/* ---------- Внутренние страницы ---------- */
.page-main { padding: 56px 0 72px; }
.page-title { font-size: 30px; margin-bottom: 24px; }
.page-content { font-size: 15.5px; }
.page-content h2 { font-size: 21px; margin: 28px 0 12px; }
.page-content h3 { font-size: 17px; margin: 22px 0 10px; }
.page-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.page-content ol { padding-left: 22px; margin-bottom: 1em; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
	.hero__title { font-size: 36px; }
	.why__grid { grid-template-columns: repeat(3, 1fr); gap: 28px 0; }
	.why__card:nth-child(4) { border-left: 0; }
	.geo__grid { grid-template-columns: 1fr 1fr; }
	.geo__results { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; padding-bottom: 52px; }
	.hero__stats { margin-top: 0; align-self: stretch; }
	.production__grid, .cta__grid { grid-template-columns: 1fr; gap: 32px; }
	.cta__media { order: 2; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.site-header__cta { display: none; }
	.hero__title { font-size: 28px; }
	.hero__features { grid-template-columns: 1fr; }
	.hero__stats, .lead-form__row { grid-template-columns: 1fr; }
	.hero__stat { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.08); }
	.hero__stat:last-child { border-bottom: 0; }
	.why__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
	.why__card { border-left: 0 !important; padding: 0; }
	.geo__grid { grid-template-columns: 1fr; }
	.section { padding: 48px 0; }
	.section__title { font-size: 23px; }
	.cta__content h2 { font-size: 22px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
}
