/* fg-footer-global.css — portable copy of body.lp .fg-footer rules
   для использования вне landing_proj scope (главная geniled.ru и др.).
   Источник: landing_proj/figma-style.css lines 1023-1226.
   Создано 2026-05-25. */

/* font-policy: ack: Museo Sans Cyrl для footer-копии с landing_proj (по согласованию с Димой 2026-05-25, фигма 1:1228) */
@font-face {
	font-family: 'Museo Sans Cyrl';
	src: url('/local/templates/landing_proj/fonts/museo_sans_cyrl_300.woff2') format('woff2'),
	     url('/local/templates/landing_proj/fonts/museo_sans_cyrl_300.woff')  format('woff');
	font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Museo Sans Cyrl';
	src: url('/local/templates/landing_proj/fonts/museo_sans_cyrl_500.woff2') format('woff2'),
	     url('/local/templates/landing_proj/fonts/museo_sans_cyrl_500.woff')  format('woff');
	font-weight: 400 500; font-style: normal; font-display: swap;
}
@font-face {
	font-family: 'Museo Sans Cyrl';
	src: url('/local/templates/landing_proj/fonts/museo_sans_cyrl_700.woff2') format('woff2'),
	     url('/local/templates/landing_proj/fonts/museo_sans_cyrl_700.woff')  format('woff');
	font-weight: 600 700; font-style: normal; font-display: swap;
}

/* Локальные переменные внутри .fg-footer (не зависят от :root landing_proj) */
.fg-footer {
	--fg-font:      'Museo Sans Cyrl', 'Manrope', 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--fg-accent-2:  #9E4DAB;
}

/* === FOOTER (figma 1-в-1 — 3 nav-колонки + контакты + bottom row) === */
.fg-footer {
	background: #171819;
	border-top-left-radius: 32px;
	border-top-right-radius: 32px;
	margin-top: 0;
	position: relative;
	overflow: hidden;
	color: #FFFFFF;
	font-family: var(--fg-font);
}
.fg-footer__decor {
	position: absolute;
	pointer-events: none;
	z-index: 0;
}
.fg-footer__decor--1 {
	inset: 0;
	background: linear-gradient(135deg, rgba(141,144,153,.02) 0%, rgba(47,48,51,.02) 100%);
}
.fg-footer__decor--2 {
	top: 0; right: 0; bottom: 0;
	width: 50%;
	background: linear-gradient(225deg, rgba(141,144,153,.02) 0%, rgba(47,48,51,.02) 100%);
}

.fg-footer__inner {
	position: relative;
	z-index: 1;
	padding-top: 61px;
	padding-bottom: 28px;
	max-width: 1260px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.fg-footer__top {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, auto);
	gap: 32px 56px;
	padding-bottom: 60px;
}

/* Nav-колонки */
.fg-footer__col { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.fg-footer__col-title {
	font-family: var(--fg-font);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	color: #FFFFFF;
	margin: 0;
}
.fg-footer__col-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
/* Aspro каскад навешивает li::before с em-dash маркером — глушим */
.fg-footer__col-list li {
	padding: 0 !important;
	margin: 0 !important;
}
.fg-footer__col-list li::before,
.fg-footer__col-list li:before {
	content: none !important;
	display: none !important;
	padding: 0 !important;
}
.fg-footer__col-list a {
	font-family: var(--fg-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: #8D9099;
	text-decoration: none;
	transition: color .2s;
}
.fg-footer__col-list a:hover { color: #FFFFFF; }

/* Контакты — справа, right-align */
.fg-footer__contacts {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	gap: 14px;
}
.fg-footer__wordmark {
	display: inline-flex;
	color: #FFFFFF;
	margin-bottom: 22px;
	transition: color .2s;
	text-decoration: none;
}
.fg-footer__wordmark svg { width: 87px; height: 26px; display: block; }
.fg-footer__wordmark:hover { color: var(--fg-accent-2); }

/* Контакты CTA — копия из landing_proj */
.fg-footer__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 24px;
	border-radius: 8px;
	background: #AC2DC3;
	color: #FFFFFF;
	font-family: 'Raleway', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s;
}
.fg-footer__cta:hover { background: #92289a; color: #FFFFFF; }

.fg-footer__email {
	font-family: var(--fg-font);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.25;
	color: #FFFFFF;
	text-decoration: none;
	margin-top: 4px;
	transition: color .2s;
}
.fg-footer__email:hover { color: var(--fg-accent-2); }
.fg-footer__address {
	font-family: var(--fg-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	color: #8D9099;
	margin: 0;
}

.fg-footer__bigmark {
	position: relative;
	z-index: 0;
	width: 100%;
	overflow: hidden;
	margin-top: -20px;
}
.fg-footer__bigmark svg {
	width: 100%;
	height: auto;
	display: block;
}

.fg-footer__hairline {
	height: 1px;
	background: #2F3033;
	margin-top: 16px;
	margin-bottom: 28px;
}

.fg-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding-bottom: 28px;
	font-family: var(--fg-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	color: #8D9099;
}
.fg-footer__copy { color: #8D9099; }
.fg-footer__legal { display: flex; gap: 32px; flex-wrap: wrap; }
.fg-footer__legal a {
	color: #8D9099;
	text-decoration: none;
	transition: color .2s;
}
.fg-footer__legal a:hover { color: #FFFFFF; }

@media (max-width: 1100px) {
	.fg-footer__top {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}
	.fg-footer__contacts { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
}

@media (max-width: 600px) {
	.fg-footer { border-top-left-radius: 24px; border-top-right-radius: 24px; }
	.fg-footer__inner { padding-top: 44px; }
	.fg-footer__top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
	.fg-footer__bottom { flex-direction: column; align-items: flex-start; padding-top: 16px; }
	.fg-footer__legal { gap: 16px; }
}
