/* فوتر صفحه اصلی */
@import url('site-social-links.css');

.home-footer {
	position: relative;
	background: #1a1d18;
	color: #c8cec4;
	overflow: hidden;
}

.home-footer__inner {
	position: relative;
	z-index: 1;
	padding-top: 3rem;
	padding-bottom: 0;
}

@media (min-width: 1024px) {
	.home-footer__inner {
		padding-top: 4.5rem;
	}
}

.home-footer__top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	width: 100%;
}

@media (min-width: 1024px) {
	.home-footer__top {
		grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
		gap: 2rem 2.5rem;
		align-items: start;
	}
}

/* موبایل: فقط برند، وسط‌چین */
.home-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

@media (min-width: 1024px) {
	.home-footer__brand {
		align-items: flex-start;
		text-align: right;
	}
}

.home-footer__col--nav {
	display: none;
}

@media (min-width: 1024px) {
	.home-footer__col--nav {
		display: block;
	}
}

.home-footer__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	text-decoration: none;
	color: #f3f4f1;
	margin-bottom: 1rem;
}

.home-footer__logo-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.85rem;
	background: linear-gradient(145deg, #8b2db0 0%, #720ba1 100%);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 900;
	box-shadow: 0 8px 24px rgba(91, 33, 182, 0.35);
}

.home-footer__logo-text {
	font-size: 1.35rem;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.home-footer__tagline {
	margin: 0 0 1.25rem;
	font-size: 0.88rem;
	line-height: 1.8;
	color: #9ca89e;
	max-width: 22rem;
}

.home-footer__social {
	margin-bottom: 1.25rem;
}

.home-footer__social.site-social .site-social__list {
	justify-content: center;
}

@media (min-width: 1024px) {
	.home-footer__social.site-social .site-social__list {
		justify-content: flex-start;
	}
}

.home-footer__meta {
	margin: 0;
	font-size: 0.72rem;
	color: #7d877c;
	line-height: 1.5;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.5rem;
}

@media (min-width: 1024px) {
	.home-footer__meta {
		justify-content: flex-start;
		font-size: 0.78rem;
	}
}

.home-footer__meta strong {
	color: #b8c0b6;
	font-weight: 700;
}

.home-footer__meta-sep {
	opacity: 0.45;
}

.home-footer__meta-link {
	color: #a8b0a6;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}

.home-footer__meta-link:hover {
	color: #e8ebe6;
}

.home-footer__meta-url {
	font-weight: 500;
}

.home-footer__col-title {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	font-weight: 800;
	color: #eef0ec;
}

.home-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.home-footer__links a {
	color: #9ca89e;
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	transition: color 0.2s ease;
}

.home-footer__links a:hover {
	color: #e8ebe6;
}

/* متن بزرگ پایین — وسط و بهینه موبایل */
.home-footer__marquee {
	position: relative;
	margin-top: 0.25rem;
	padding: 0.5rem 0 0;
	overflow: hidden;
	line-height: 1;
	user-select: none;
	pointer-events: none;
	width: 100%;
	text-align: center;
}

.home-footer__marquee-text {
	margin: 0 auto;
	padding: 0;
	font-weight: 900;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: rgba(232, 235, 230, 0.9);
	white-space: nowrap;
	display: block;
	width: 100%;
	text-align: center;
	font-size: clamp(2.4rem, 14vw, 11rem);
	transform: translateY(12%);
}

html[data-theme="dark"] .home-footer {
	background: #141712;
}

html[data-theme="dark"] .home-footer__marquee-text {
	color: rgba(220, 225, 218, 0.88);
}

.home-footer.is-visible .home-footer__top > * {
	animation: homeFooterFadeUp 0.6s ease both;
}

@keyframes homeFooterFadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.home-footer.is-visible .home-footer__top > * {
		animation: none;
	}
}
