/**
 * Footer: grid layout + bottom bar.
 */

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

.site-footer {
	background: linear-gradient(180deg, var(--bg-card), var(--bg-primary));
	border-top: 1px solid var(--border);
	padding: 60px 0 0;
	margin-top: 60px;
}

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

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
}

.footer-col .logo {
	font-size: 26px;
	display: inline-block;
	margin-bottom: 16px;
}

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

.footer-col .widget-title {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14px;
	color: var(--text-primary);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-bottom: 16px;
}

.footer-col .widget ul {
	list-style: none;
}

.footer-col .widget ul li {
	margin-bottom: 8px;
}

.footer-col .widget ul li a {
	color: var(--text-muted);
	font-size: 14px;
	transition: color var(--transition-fast);
}

.footer-col .widget ul li a:hover {
	color: var(--cyan);
}

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

.footer-contact {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.footer-contact li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-muted);
	font-size: 13px;
	margin-bottom: 6px;
}

.footer-contact li .icon {
	color: var(--cyan);
	flex-shrink: 0;
}

.footer-contact li a {
	color: var(--text-muted);
	transition: color var(--transition-fast);
}

.footer-contact li a:hover {
	color: var(--cyan);
}

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

.footer-socials {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.footer-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	color: var(--text-muted);
	transition: all var(--transition-fast);
}

.footer-social:hover {
	color: var(--cyan);
	border-color: var(--cyan);
	background: var(--cyan-soft);
}

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

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	border-top: 1px solid var(--border);
	font-size: 13px;
	color: var(--text-muted);
}

/* ==================== Payment icons ==================== */

.footer-payments {
	display: flex;
	gap: 8px;
}

.pay-icon {
	width: 42px;
	height: 28px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
}

.pay-icon svg {
	width: 100%;
	height: 100%;
}

/* ==================== Responsive ==================== */

@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}

@media (max-width: 768px) {
	.site-footer {
		padding: 40px 0 0;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
}
