/* =============================================================
   PIARNYA — Footer Styles
   Зависит от: variables.css, base.css
   ============================================================= */

.site-footer {
	position: relative;
	/* Фирменный градиент — как топбар хедера */
	background: var(--gradient-brand);
	color: rgba(255, 255, 255, .75);
	margin-top: var(--sp-20);
}

/* Тонкая белая полоска сверху — визуальный разделитель */
.site-footer::before {
	content: '';
	display: block;
	height: 1px;
	background: rgba(255, 255, 255, .2);
}

/* ── ВЕРХНЯЯ ЧАСТЬ ФУТЕРА ────────────────────────────────────── */
.footer__top {
	padding: var(--sp-16) 0;
}

.footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: var(--sp-10);
	align-items: start;
}

/* ── КОЛОНКА БРЕНДА ─────────────────────────────────────────── */
.footer__col--brand {
	padding-right: var(--sp-8);
}

.footer__logo {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-3);
	margin-bottom: var(--sp-4);
	transition: opacity var(--dur-fast) var(--ease);
}

.footer__logo:hover {
	opacity: .85;
}

.footer__logo a,
.footer__logo > a {
	display: flex;
	align-items: center;
}

.footer__logo img,
.footer__logo svg {
	height: 64px;
	width: 64px;
	object-fit: contain;
}

/* На градиентном фоне gradient-text теряется → белый */
.footer__logo-name {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -.02em;
	line-height: 1;
	color: #fff;
	/* Сбрасываем gradient-text если браузер его применил */
	background: none;
	-webkit-text-fill-color: #fff;
}

.footer__tagline {
	font-size: var(--text-sm);
	line-height: 1.7;
	color: rgba(255, 255, 255, .65);
	max-width: 28ch;
	margin-bottom: var(--sp-6);
}

/* ── ЗАГОЛОВКИ КОЛОНОК ──────────────────────────────────────── */
.footer__heading {
	font-size: var(--text-xs);
	font-weight: 800;
	/* На gradient bg белый заголовок — чёткий контраст */
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: var(--sp-4);
	font-family: var(--font-body);
}

/* ── ССЫЛКИ В КОЛОНКАХ ──────────────────────────────────────── */
.footer__col ul {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}

.footer__col a {
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, .7);
	transition:
		color        var(--dur-fast) var(--ease),
		padding-left var(--dur-fast) var(--ease);
}

.footer__col a:hover {
	color: #fff;
	padding-left: var(--sp-1);
}

/* ── КОНТАКТЫ ───────────────────────────────────────────────── */
.footer__contacts {
	font-style: normal;
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}

/* ── НИЖНЯЯ ПОЛОСКА ─────────────────────────────────────────── */
.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .2);
	padding: var(--sp-6) 0;
}

.footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
}

.footer__copy {
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, .6);
}

.footer__bottom nav a {
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, .6);
	transition: color var(--dur-fast) var(--ease);
}

.footer__bottom nav a:hover {
	color: #fff;
}
