.npb-footer {
	--npb-footer-blue: #294d9b;
	--npb-footer-gray: #ebebeb;
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	box-sizing: border-box;
	color: #171717;
	font-family: IRANYekanWebFaNum, inherit;
}

.npb-footer *, .npb-footer *::before, .npb-footer *::after { box-sizing: inherit; }
.npb-footer__main { display: grid; grid-template-columns: 1fr 1fr; direction: rtl; background: #fff; }
.npb-footer__company,
.npb-footer__identity { min-height: 300px; padding: 52px clamp(36px, 8vw, 150px); }

.npb-footer__company {
	order: 1;
	border-radius: 58px 0 0 0;
	background: var(--npb-footer-blue);
	color: #fff;
}

.npb-footer__title {
	margin: 0 0 24px;
	color: inherit;
	font-family: inherit !important;
	font-size: clamp(22px, 1.7vw, 30px);
	font-weight: 700;
	line-height: 1.45;
}

.npb-footer__company p,
.npb-footer__phones {
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 500;
	line-height: 2;
}

.npb-footer__phones { display: flex; flex-direction: column; gap: 4px; margin-bottom: 0; }
.npb-footer__identity {
	order: 2;
	display: grid;
	grid-template-columns: minmax(130px, 1fr) minmax(170px, .9fr);
	align-items: center;
	gap: 48px;
	border-radius: 0 58px 0 0;
	background: var(--npb-footer-gray);
}

.npb-footer__marks { display: flex; align-items: center; justify-content: center; gap: 22px; }
.npb-footer__mark { display: block; width: auto; max-width: 125px; max-height: 155px; object-fit: contain; }
.npb-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.npb-footer__links a { display: inline-flex; align-items: center; gap: 12px; color: #222; font-size: 15px; font-weight: 400; text-decoration: none; }
.npb-footer__links a span { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; background: #b9b9b9; }

.npb-footer__bottom { background: #fff; }
.npb-footer__bottom-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: min(calc(100% - 40px), 77rem);
	min-height: 64px;
	margin-inline: auto;
	padding-top: 3px;
}
.npb-footer__bottom-inner::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, #ef312f 0%, #d01854 43%, #224a9f 100%);
}
.npb-footer__copyright { order: 1; margin: 0; color: #999; font-size: 13px; line-height: 1.8; }
.npb-footer__socials { order: 2; display: flex; align-items: center; gap: 17px; direction: ltr; }
.npb-footer__socials a,
.npb-footer__social-icon { display: grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; color: #aaa; text-decoration: none; }
.npb-footer__socials a:hover { color: #294d9b; }
.npb-footer__socials svg, .npb-footer__socials i { display: block; width: 16px; height: 16px; font-size: 16px; fill: currentColor; }

body.npb-global-footer-active footer.wd-footer.footer-container { display: none !important; }

@media (max-width: 47.99rem) {
	.npb-footer { width: 100%; margin-inline: 0; }
	.npb-footer__main { display: flex; flex-direction: column; }
	.npb-footer__company,
	.npb-footer__identity { min-height: 0; padding: 34px 24px; }
	.npb-footer__company { order: 1; min-height: 330px; border-radius: 58px 0 0 0; }
	.npb-footer__title { margin-bottom: 18px; font-size: 23px; line-height: 1.55; }
	.npb-footer__company p, .npb-footer__phones { margin-bottom: 18px; font-size: 13px; line-height: 2.05; }
	.npb-footer__identity {
		order: 2;
		display: flex;
		flex-direction: column-reverse;
		align-items: stretch;
		gap: 32px;
		min-height: 350px;
		margin-top: 0;
		border-radius: 0 58px 0 0;
		padding-top: 42px;
	}
	.npb-footer__links { align-items: flex-start; gap: 14px; padding-right: 0; }
	.npb-footer__links a { gap: 10px; font-size: 14px; }
	.npb-footer__links a span { flex-basis: 16px; width: 16px; height: 16px; }
	.npb-footer__marks { justify-content: center; gap: 28px; margin-top: auto; }
	.npb-footer__mark { max-width: 94px; max-height: 105px; }
	.npb-footer__bottom-inner { flex-direction: column; justify-content: flex-start; gap: 20px; width: 100%; min-height: 145px; padding: 38px 20px 24px; }
	.npb-footer__socials { order: 1; flex-wrap: wrap; justify-content: center; gap: 18px; }
	.npb-footer__copyright { order: 2; width: 100%; padding-top: 14px; border-top: 1px solid #244a9d; font-size: 12px; line-height: 2; text-align: center; }
	.npb-footer__bottom-inner::before { right: 20px; left: 20px; width: auto; }
}

.npb-footer__phones .npb-footer__phone-link { color: inherit; font: inherit; text-decoration: none; }
.npb-footer__phones .npb-footer__phone-link:hover { color: inherit; text-decoration: underline; }
.npb-footer__phones .npb-footer__phone-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.npb-footer__badge { display: flex; align-items: center; justify-content: center; max-width: 125px; }
.npb-footer__badge img { display: block; width: auto; height: auto; max-width: 125px; max-height: 155px; object-fit: contain; }
