/* Footer social — under «تماس با ما» */
.px-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.9rem;
}

.px-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.9);
	transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.px-footer__social a:hover {
	color: var(--px-olive-deep);
	background: var(--px-gold-soft);
	border-color: var(--px-gold-soft);
	transform: translateY(-2px);
}

.px-footer__social svg {
	width: 1.05rem;
	height: 1.05rem;
	fill: currentColor;
	display: block;
}

/* Homepage social band — before footer, matches olive/cream system */
.px-social-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(2.75rem, 6vw, 4.5rem) 0;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(187, 166, 135, 0.28), transparent 55%),
		radial-gradient(90% 80% at 0% 100%, rgba(221, 213, 200, 0.12), transparent 50%),
		linear-gradient(160deg, var(--px-olive-deep) 0%, #243024 48%, var(--px-olive) 100%);
	color: rgba(255, 255, 255, 0.9);
}

.px-social-band__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1.15rem;
	justify-items: start;
	max-width: var(--px-wrap);
	margin-inline: auto;
}

.px-social-band__kicker {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--px-gold-soft);
	direction: ltr;
	unicode-bidi: isolate;
}

.px-social-band__title {
	margin: 0;
	max-width: 18ch;
	font-size: clamp(1.55rem, 3.4vw, 2.35rem);
	line-height: 1.25;
	font-weight: 700;
	color: var(--px-white);
}

.px-social-band__lead {
	margin: 0;
	max-width: 36rem;
	font-size: 1rem;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.72);
}

.px-social-band__list {
	list-style: none;
	margin: 0.65rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	width: 100%;
}

.px-social-band__list a {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0.75rem;
	min-height: 4.4rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--px-radius-sm);
	background: rgba(255, 255, 255, 0.04);
	color: var(--px-white);
	text-decoration: none;
	backdrop-filter: blur(6px);
	transition:
		transform 0.22s ease,
		background 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease;
}

.px-social-band__list a:hover {
	transform: translateY(-3px);
	background: rgba(239, 233, 223, 0.12);
	border-color: rgba(187, 166, 135, 0.65);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
	color: var(--px-white);
}

.px-social-band__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	background: rgba(187, 166, 135, 0.18);
	color: var(--px-gold-soft);
}

.px-social-band__icon svg {
	width: 1.15rem;
	height: 1.15rem;
	fill: currentColor;
	display: block;
}

.px-social-band__meta {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}

.px-social-band__name {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
}

.px-social-band__handle {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.58);
	direction: ltr;
	unicode-bidi: isolate;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.px-social-band__glow {
	position: absolute;
	inset: auto -10% -40% 40%;
	height: 70%;
	background: radial-gradient(circle at center, rgba(187, 166, 135, 0.22), transparent 68%);
	pointer-events: none;
	z-index: 0;
	animation: px-social-glow 8s ease-in-out infinite alternate;
}

@keyframes px-social-glow {
	from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
	to { transform: translate3d(-6%, -4%, 0) scale(1.08); opacity: 1; }
}

.px-social-band.is-inview .px-social-band__list a {
	animation: px-social-rise 0.55s ease both;
}

.px-social-band.is-inview .px-social-band__list li:nth-child(1) a { animation-delay: 0.05s; }
.px-social-band.is-inview .px-social-band__list li:nth-child(2) a { animation-delay: 0.12s; }
.px-social-band.is-inview .px-social-band__list li:nth-child(3) a { animation-delay: 0.19s; }
.px-social-band.is-inview .px-social-band__list li:nth-child(4) a { animation-delay: 0.26s; }

@keyframes px-social-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
	.px-social-band__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.px-social-band__list {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.px-social-band__glow,
	.px-social-band.is-inview .px-social-band__list a,
	.px-footer__social a,
	.px-social-band__list a {
		animation: none !important;
		transition: none !important;
	}
}
