/* ═══════════════════════════════════════════════════════════════
   INTELLEGY HUB — Footer
   ═══════════════════════════════════════════════════════════════ */

.site-footer {
	background: var(--ihl-footer-bg, var(--color-bg-secondary));
	border-top: 1px solid var(--color-border);
	padding: var(--ihl-footer-pad-top, var(--space-20)) 0 var(--space-8);
	position: relative;
	z-index: 1;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	column-gap: 30px;
	row-gap: var(--space-8);
	margin-bottom: var(--space-16);
}
.footer-grid > * { grid-column: span 3; }

.site-footer h4,
.footer-widget h4,
.footer-widget .widget-title {
	font-family: var(--font-heading);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--color-text);
	margin-bottom: var(--space-6);
	font-weight: 600;
}

.site-footer ul,
.footer-widget ul { list-style: none; margin: 0; padding: 0; }

.site-footer li,
.footer-widget li { margin-bottom: var(--space-3); }

.site-footer a,
.footer-widget a {
	color: var(--color-text-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 300;
	transition: color var(--transition-fast);
}
.site-footer a:hover,
.footer-widget a:hover { color: var(--color-primary); }

.footer-widget p {
	font-size: 14px;
	color: var(--color-text-muted);
	line-height: 1.7;
}

/* SOCIAL LINKS */
.footer-social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}
.footer-social a {
	color: var(--color-text-muted);
	transition: color 0.2s, transform 0.2s;
	display: inline-flex;
}
.footer-social a:hover { transform: translateY(-2px); }
.footer-social svg { width: 24px; height: 24px; }

/* CONTACT WIDGET */
.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: var(--space-3);
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* NEWSLETTER WIDGET */
.footer-newsletter form { display: flex; gap: 8px; margin-top: var(--space-3); flex-wrap: wrap; }
.footer-newsletter input[type="email"] {
	flex: 1;
	min-width: 140px;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 14px;
}
.footer-newsletter input::placeholder { color: var(--color-text-muted); }
.footer-newsletter button {
	background: var(--color-primary);
	border: none;
	border-radius: var(--radius-sm);
	padding: 10px 18px;
	color: var(--color-bg);
	font-family: var(--font-heading);
	font-weight: 700;
	cursor: pointer;
	font-size: 13px;
}
.footer-newsletter .newsletter-msg { font-size: 12px; margin-top: 6px; }

/* LOGO WIDGET */
.footer-logo-widget img { max-width: 160px; margin-bottom: var(--space-4); }
.footer-logo-widget .logo-text {
	font-family: var(--font-heading);
	font-weight: 700;
	letter-spacing: 3px;
	font-size: 16px;
	color: var(--color-text);
	display: inline-block;
	margin-bottom: var(--space-4);
}

/* BOTTOM BAR */
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: var(--space-8);
	border-top: 1px solid var(--color-border);
	flex-wrap: wrap;
	gap: var(--space-4);
	font-size: 13px;
	color: var(--color-text-muted);
}
.footer-bottom a { color: var(--color-text-muted); }
.footer-bottom a:hover { color: var(--color-primary); }

@media (max-width: 900px) {
	.footer-grid > * { grid-column: span 6; }
}
@media (max-width: 768px) {
	.footer-grid { gap: var(--space-8); }
	.footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
	.footer-grid > * { grid-column: span 12; }
}
