/* ==========================================================================
   عیناکتو — فوتر اختصاصی
   ========================================================================== */

:root {
	--ey-brand: #780000;
}

.ey-footer {
	position: relative;
	margin-inline: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	background:
		radial-gradient(1200px 380px at 85% -10%, rgba(120, 0, 0, .38), transparent 60%),
		linear-gradient(180deg, #101827 0%, #0b1220 100%);
	color: #cdd5e1;
	padding-block: clamp(34px, 5vw, 58px) 0;
	font-size: .88rem;
	line-height: 1.9;
	overflow: hidden;
}

.ey-footer a {
	color: inherit;
	text-decoration: none;
	transition: color .18s var(--ey-ease);
}

.ey-footer a:hover {
	color: #fff;
}

.ey-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
	gap: clamp(22px, 3vw, 42px);
	align-items: start;
}

.ey-footer__col {
	min-width: 0;
}

/* ---------- ستون برند ---------- */

.ey-footer__logo {
	margin-bottom: 14px;
}

.ey-footer__logo img {
	max-height: 46px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: .95;
}

.ey-footer__about {
	margin: 0 0 16px;
	color: #9fabbf;
	font-size: .84rem;
	line-height: 2;
	max-width: 34ch;
}

.ey-footer__contact {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.ey-footer__contact li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: .84rem;
	color: #b9c3d3;
}

.ey-footer__ico {
	display: grid;
	place-items: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: rgba(255, 255, 255, .07);
	color: #e3b98a;
}

/* ---------- ستون‌های لینک ---------- */

.ey-footer__title {
	margin: 0 0 14px;
	font-size: .95rem;
	font-weight: 800;
	color: #fff;
	letter-spacing: .01em;
}

.ey-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
}

.ey-footer__links a {
	display: inline-block;
	font-size: .84rem;
	color: #a9b4c6;
}

.ey-footer__links a:hover {
	color: #fff;
	transform: translateX(-2px);
}

/* ---------- ستون اعتماد ---------- */

.ey-footer__badges {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ey-footer__badge {
	display: inline-block;
	padding: 6px 11px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	font-size: .72rem;
	color: #d7dde8;
	background: rgba(255, 255, 255, .04);
	white-space: nowrap;
}

.ey-footer__social {
	display: flex;
	gap: 9px;
}

.ey-footer__social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, .14);
	color: #d7dde8;
	transition: background .18s var(--ey-ease), color .18s var(--ey-ease), transform .18s var(--ey-ease);
}

.ey-footer__social a:hover {
	background: var(--ey-brand);
	border-color: var(--ey-brand);
	color: #fff;
	transform: translateY(-2px);
}

/* ---------- نوار پایانی ---------- */

.ey-footer__bar {
	margin-top: clamp(26px, 4vw, 44px);
	border-top: 1px solid rgba(255, 255, 255, .1);
	background: rgba(0, 0, 0, .25);
}

.ey-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block: 14px;
	font-size: .76rem;
	color: #8f9cb0;
}

.ey-footer__bar-inner p {
	margin: 0;
}

.ey-footer__pay {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ey-footer__pay span {
	padding: 4px 9px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .08);
	font-size: .7rem;
}

/* ---------- کوچک‌سازی داخل ویجت شورت‌کد المنتور ---------- */

.elementor-widget-shortcode .ey-footer {
	margin-block-end: 0;
}

/* ==========================================================================
   ریسپانسیو
   ========================================================================== */

@media (max-width: 1024px) {
	.ey-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px 24px;
	}

	.ey-footer__col--brand {
		grid-column: 1 / -1;
	}

	.ey-footer__about {
		max-width: 52ch;
	}
}

@media (max-width: 640px) {
	.ey-footer {
		padding-block-start: 24px;
		font-size: .84rem;
	}

	.ey-footer__grid {
		grid-template-columns: 1fr;
		gap: 18px;
		text-align: start;
	}

	.ey-footer__col--brand {
		grid-column: auto;
	}

	.ey-footer__logo {
		margin-bottom: 10px;
	}

	.ey-footer__logo img {
		max-height: 38px;
	}

	.ey-footer__about {
		max-width: none;
		font-size: .8rem;
		line-height: 1.9;
		margin-bottom: 12px;
	}

	.ey-footer__contact {
		gap: 8px;
	}

	/* لینک‌ها در موبایل دو ستونه می‌شوند تا فوتر بی‌نهایت بلند نشود */
	.ey-footer__links {
		grid-template-columns: 1fr 1fr;
		gap: 8px 10px;
	}

	.ey-footer__links a {
		display: flex;
		align-items: center;
		min-height: 32px;
		padding: 0 9px;
		border-radius: 8px;
		background: rgba(255, 255, 255, .05);
		font-size: .78rem;
	}

	.ey-footer__title {
		margin-bottom: 9px;
		font-size: .88rem;
	}

	.ey-footer__badges {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 7px;
		margin-bottom: 12px;
	}

	.ey-footer__badge {
		text-align: center;
		font-size: .68rem;
		padding: 5px 8px;
	}

	.ey-footer__bar {
		margin-top: 18px;
	}

	.ey-footer__bar-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding-block: 12px;
		text-align: start;
	}

	.ey-footer__pay {
		gap: 6px;
	}

	.ey-footer__pay span {
		font-size: .66rem;
	}
}

@media (max-width: 380px) {
	.ey-footer__links {
		grid-template-columns: 1fr;
	}
}
