/* =========================================================
   home-footer.css — فوتر اختصاصی صفحهٔ اصلی
   ========================================================= */

.jf {
	position: relative;
	padding: 60px 0 0;
	background: var(--jw-navy-dark);
	color: #fff;
}

/* ---------- بلوک بالا ---------- */
.jf-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 50px; }

.jf-block__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.jf-block__title span { display: block; font-size: 26px; font-weight: 900; line-height: 1.4; }
.jf-block__title span:last-child { color: var(--jw-lime); }
.jf-block__arrow {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-radius: 16px;
	transition: background .2s, border-color .2s;
}
.jf-block__arrow svg { stroke: #fff; }
.jf-block__arrow:hover { background: var(--jw-lime); border-color: var(--jw-lime); }
.jf-block__arrow:hover svg { stroke: var(--jw-navy); }

.jf-block__text { margin: 0; font-size: 13.5px; line-height: 2.2; color: rgba(255, 255, 255, .78); text-align: justify; }

.jf-contacts { display: flex; flex-direction: column; gap: 14px; }
.jf-contacts li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.jf-contacts__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--jw-lime);
}
.jf-contacts__icon svg { stroke: var(--jw-navy); }

.jf-social { display: flex; gap: 10px; margin-top: 22px; }
.jf-social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .12);
	transition: background .2s, transform .2s var(--jw-ease);
}
.jf-social a:hover { background: var(--jw-lime); transform: translateY(-3px); }
.jf-social img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); transition: filter .2s; }
.jf-social a:hover img { filter: none; }

/* ---------- بلوک پایین ---------- */
.jf-bottom { padding-bottom: 30px; }
.jf-bottom__card {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr) 260px;
	gap: 34px;
	align-items: center;
	padding: 34px;
	border-radius: 24px;
	background: rgba(255, 255, 255, .06);
}
.jf-brand img { max-height: 56px; width: auto; object-fit: contain; }

.jf-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.jf-cols li + li { margin-top: 12px; }
.jf-cols a { font-size: 13px; color: rgba(255, 255, 255, .8); transition: color .2s; }
.jf-cols a:hover { color: var(--jw-lime); }

.jf-licences { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.jf-licences__title span { display: block; font-size: 15px; font-weight: 800; line-height: 1.5; }
.jf-licences__title span:last-child { color: var(--jw-lime); }
.jf-licences img { width: 68px; height: 68px; object-fit: contain; border-radius: 10px; background: #fff; padding: 4px; }

.jf-copy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 12.5px;
	color: rgba(255, 255, 255, .7);
}

/* ---------- بازگشت به بالا ---------- */
.jf-totop {
	position: fixed;
	inset-inline-end: 18px;
	bottom: 18px;
	z-index: 700;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--jw-lime);
	box-shadow: 0 8px 24px rgba(17, 32, 122, .25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .25s, transform .25s var(--jw-ease), visibility .25s;
}
.jf-totop.is-show { opacity: 1; visibility: visible; transform: none; }
.jf-totop svg { stroke: var(--jw-navy); }

/* ---------- واکنش‌گرایی ---------- */
@media (max-width: 992px) {
	.jf-top { grid-template-columns: 1fr; gap: 34px; }
	.jf-bottom__card { grid-template-columns: 1fr; gap: 26px; text-align: center; }
	.jf-brand { display: flex; justify-content: center; }
	.jf-licences { justify-content: center; }
}

@media (max-width: 560px) {
	.jf { padding-top: 42px; }
	.jf-block__title span { font-size: 21px; }
	.jf-cols { grid-template-columns: 1fr; text-align: start; }
	.jf-copy { flex-direction: column; gap: 4px; }
}
