/* ============================================================
   Footer
   ============================================================ */

.site-footer {
	background: #121212;
	color: #ccc;
	padding: 56px 0 var(--space-5);
	margin-top: var(--space-9);
	font-family: var(--font-ui);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(4, 1fr);
	gap: var(--space-6);
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--gutter) var(--space-7);
	border-bottom: 1px solid #333;
}

/* ---------- Footer logo ---------- */
/* Footer background is always dark — color:#fff makes SVG text
   that uses fill="currentColor" render white. Brand-colour fills
   in the SVG (red, purple, etc.) are left untouched. */
.footer-brand .logo-light {
	display: inline-block;
	color: #ffffff;
	line-height: 0;
}
.footer-brand .logo-light svg,
.footer-brand .logo-light img {
	height: 56px;
	width: auto;
	display: block;
	max-width: 100%;
}

.footer-brand p {
	color: #888;
	font-size: var(--text-base);
	line-height: 1.5;
	margin-top: var(--space-4);
}

/* ---------- Social icons ---------- */
.footer-social {
	display: flex;
	gap: 10px;
	margin-top: var(--space-5);
	flex-wrap: wrap;
}
.footer-social .social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #333;
	color: #999;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
	flex-shrink: 0;
}
.footer-social .social-icon svg {
	width: 15px;
	height: 15px;
	display: block;
}
.footer-social .social-icon:hover {
	color: #fff;
	border-color: #fff;
	background: rgba(255,255,255,0.08);
}

.footer-col h4 {
	font-family: var(--font-ui);
	font-size: var(--text-sm);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: var(--space-4);
	font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a {
	font-size: var(--text-base);
	color: #999;
	transition: color var(--ease-quick);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: var(--space-4);
	max-width: var(--container-max);
	margin: 0 auto;
	padding: var(--space-5) var(--gutter) 0;
	font-size: 12px;
	color: #777;
}

@media (max-width: 900px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-bottom { flex-direction: column; }
}
