/* Karshenas theme — base styles & design tokens (extracted from Figma) */

:root {
	--ks-primary: #2b1d9a;
	--ks-primary-dark: #1f156d;
	--ks-gold: #caa05c;
	--ks-pink: #d92d77;
	--ks-text: #040404;
	--ks-gray: #828282;
	--ks-border: #d8d8d8;
	--ks-light: #ededed;
	--ks-bg-soft: #f7f7f7;
	--ks-lavender: #eae8f5;
	--ks-white: #ffffff;
	--ks-font: 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif;
	--ks-radius: 16px;
	--ks-radius-lg: 24px;
	--ks-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	--ks-container: 1320px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--ks-font);
	color: var(--ks-text);
	background: var(--ks-white);
	line-height: 1.8;
	/* جلوگیری از اسکرول افقی ناشی از بخش‌های تمام‌عرض (100vw شامل عرض اسکرول‌بار است) */
	overflow-x: clip;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ks-container {
	max-width: var(--ks-container);
	margin-inline: auto;
	padding-inline: 20px;
}

/* ---------- Buttons ---------- */
.ks-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	border-radius: 12px;
	font-family: var(--ks-font);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.25s ease;
}

.ks-btn--gold {
	background: var(--ks-gold);
	color: var(--ks-white);
}

.ks-btn--gold:hover {
	background: #b58c48;
	color: var(--ks-white);
}

.ks-btn--primary {
	background: var(--ks-primary);
	color: var(--ks-white);
}

.ks-btn--primary:hover {
	background: var(--ks-primary-dark);
	color: var(--ks-white);
}

.ks-btn--outline {
	background: transparent;
	color: var(--ks-white);
	border: 1px solid rgba(255, 255, 255, 0.4);
}

.ks-btn--outline:hover {
	border-color: var(--ks-gold);
	color: var(--ks-gold);
}

/* ---------- Header ----------
   هندسهٔ دقیق طرح فیگما: کانتینر ۱۳۲۰px، ارتفاع ۴۸px، فاصله از بالا ۲۰px */
.ks-header {
	background: var(--ks-primary-dark);
	color: var(--ks-white);
	position: relative;
	z-index: 100;
	height: 88px;
	padding-top: 20px;
	box-sizing: border-box;
}

.ks-header__inner {
	display: flex;
	align-items: center;
	height: 48px;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 0;
}

@media (max-width: 1367px) {
	.ks-header__inner {
		padding-inline: 24px;
	}
}

/* برند (راست) */
.ks-header__brand {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	height: 46px;
	flex: 0 0 auto;
	color: var(--ks-white);
}

.ks-header__logo {
	flex: 0 0 auto;
	display: block;
	margin-top: 2px;
	width: 35.5px;
	height: 40px;
}

img.ks-header__logo {
	width: auto;
	max-width: 120px;
	object-fit: contain;
}

.ks-header__brand-text {
	display: block;
	min-width: 128px;
	text-align: right;
	white-space: nowrap;
}

.ks-header__brand-title {
	display: block;
	font-size: 16px;
	font-weight: 800;
	line-height: 20px;
	color: var(--ks-white);
}

.ks-header__brand-sub {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	color: var(--ks-white);
}

.ks-header__sep {
	flex: 0 0 1px;
	width: 1px;
	height: 48px;
	margin-inline: 24px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0));
}

/* منو */
.ks-nav ul {
	display: flex;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ks-nav a {
	display: flex;
	flex-direction: row-reverse; /* برچسب چپ، آیکن راست — مطابق دمو */
	align-items: center;
	gap: 4px;
	height: 48px;
	box-sizing: border-box;
	padding: 0 16px;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: var(--ks-white);
	white-space: nowrap;
}

.ks-nav__ic {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
}

.ks-nav a:hover {
	color: var(--ks-gold);
}

.ks-nav .sub-menu {
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	min-width: 200px;
	background: var(--ks-white);
	border-radius: 12px;
	box-shadow: var(--ks-shadow);
	padding: 8px;
	display: none;
	flex-direction: column;
	gap: 0;
	z-index: 110;
}

.ks-nav li {
	position: relative;
}

.ks-nav li:hover > .sub-menu {
	display: flex;
}

.ks-nav .sub-menu a {
	color: var(--ks-text);
	height: auto;
	padding: 8px 14px;
	border-radius: 8px;
	display: block;
	font-size: 14px;
}

.ks-nav .sub-menu a:hover {
	background: var(--ks-lavender);
	color: var(--ks-primary);
}

/* تماس (چپ) */
.ks-header__cta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-inline-start: auto;
	padding: 0;
	background: transparent;
}

.ks-header__phone {
	display: flex;
	direction: ltr;
	align-items: center;
	gap: 8px;
	color: var(--ks-white);
}

.ks-header__phone-icon {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
}

.ks-header__phone-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 103px;
	height: 36px;
}

.ks-header__phone-number {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 16px;
	text-align: left;
	white-space: nowrap;
	color: var(--ks-white);
}

.ks-header__phone-number b {
	font-weight: 700;
	color: var(--ks-gold);
}

.ks-header__phone-label {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	text-align: right;
	white-space: nowrap;
	color: var(--ks-white);
}

.ks-header__btn {
	font-size: 14px;
	padding: 10px 20px;
}

/* Overlay header (front page): transparent, floats over the hero shape */
.ks-header-overlay .ks-header {
	position: absolute;
	top: 0;
	inset-inline: 0;
	background: transparent;
}

/* وقتی نوار ادمین وردپرس فعال است، هدر زیر آن قرار بگیرد */
body.admin-bar .ks-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .ks-header {
		top: 46px;
	}
}

/* صفحهٔ اصلی: تلفن روی زمینهٔ سفید سمت چپ هیرو است → متن تیره */
.ks-header-overlay:not(.ks-header-dark) .ks-header__phone-label,
.ks-header-overlay:not(.ks-header-dark) .ks-header__phone-number {
	color: #040404;
}

.ks-header-overlay:not(.ks-header-dark) .ks-header__phone-number b {
	color: var(--ks-gold);
}

/* Mobile menu */
.ks-header__toggle {
	display: none;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 10px;
	width: 44px;
	height: 44px;
	cursor: pointer;
	padding: 0;
	align-items: center;
	justify-content: center;
}

.ks-header__toggle span,
.ks-header__toggle span::before,
.ks-header__toggle span::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--ks-white);
	position: relative;
	content: '';
	transition: transform 0.25s ease;
}

.ks-header__toggle span::before {
	position: absolute;
	top: -6px;
}

.ks-header__toggle span::after {
	position: absolute;
	top: 6px;
}

@media (max-width: 1024px) {
	.ks-header__toggle {
		display: inline-flex;
	}

	.ks-nav {
		display: none;
		position: absolute;
		top: 100%;
		inset-inline: 0;
		background: var(--ks-primary-dark);
		padding: 16px 20px 24px;
		box-shadow: var(--ks-shadow);
	}

	.ks-nav.is-open {
		display: block;
	}

	.ks-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.ks-header__sep {
		display: none;
	}

	.ks-header__toggle {
		margin-inline-start: auto;
	}

	.ks-nav a {
		height: auto;
		padding: 10px 4px;
		border-radius: 0;
	}

	.ks-nav .sub-menu {
		position: static;
		display: flex;
		background: transparent;
		box-shadow: none;
		padding-inline-start: 16px;
	}

	.ks-nav .sub-menu a {
		color: rgba(255, 255, 255, 0.8);
	}

	.ks-header__cta {
		display: none;
	}
}

/* ---------- Footer ---------- */
.ks-prefooter {
	background: var(--ks-bg-soft);
	padding-block: 56px;
}

.ks-prefooter__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.ks-prefooter__title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 8px;
}

.ks-prefooter__text {
	color: var(--ks-gray);
	margin: 0;
	max-width: 560px;
}

/* ردیف معرفی بالای فوتر (برند + متن درباره) — روی زمینه روشن مثل دمو */

/* شکل تیز لَوَندری تزئینی سمت راست نوار معرفی */

/* تصویر پس‌زمینه فوتر، کم‌رنگ زیر لایه سرمه‌ای */

/* مجسمه زن قاضی، کم‌رنگ سمت راست فوتر آبی */

/* بولت‌های لینک فوتر (عین دمو) */

/* شعار پایین ستون تماس (پیل با حاشیه) */

/* نمادهای اعتماد */

/* ---------- Generic content (blog etc.) ---------- */
.ks-main {
	min-height: 40vh;
}

.ks-page-content {
	padding-block: 48px;
}

/* Elementor full-width pages: let Elementor control layout */
.elementor-page .ks-page-content {
	padding-block: 0;
}

/* مجسمهٔ تزئینی فوتر روی موبایل بیرون می‌زند — محدودش می‌کنیم */


/* ==========================================================================
   Footer + CTA — هندسهٔ دقیق طرح فیگما (۱۵۱۲ × ۶۳۵، کانتینر ۱۳۲۰)
   ========================================================================== */
.ks-footer {
	position: relative;
	height: 635px;
	direction: rtl;
	font-family: var(--ks-font, 'Yekan Bakh FaNum', Vazirmatn, Tahoma, sans-serif);
	background: none;
	color: #fff;
	padding: 0;
	overflow: hidden;
	isolation: isolate;
}

.ks-footer *,
.ks-footer *::before,
.ks-footer *::after {
	box-sizing: border-box;
}

.ks-footer__band {
	position: absolute;
	inset: 62px 0 auto 0;
	height: 218px;
	background: #f7f7f7;
}

.ks-footer__photo {
	position: absolute;
	inset: 280px 0 auto 0;
	height: 309px;
	overflow: hidden;
	background: #2b1d9a;
}

.ks-footer__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ks-footer__photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: #2b1d9a;
	opacity: 0.94;
}

.ks-footer__bar {
	position: absolute;
	inset: 589px 0 auto 0;
	height: 46px;
	background: #1f156d;
}

.ks-footer .ks-footer__stage {
	position: relative;
	width: 1320px;
	height: 635px;
	margin-inline: auto;
}

.ks-footer .ks-footer__stage > *,
.ks-footer .ks-f-top > *,
.ks-footer .ks-f-cta > *,
.ks-footer .ks-f-cta__text > *,
.ks-footer .ks-f-brand > *,
.ks-footer .ks-f-contact > *,
.ks-footer .ks-f-row > *,
.ks-footer .ks-f-trust > * {
	position: absolute;
	margin: 0;
}

.ks-footer .ks-f-cta {
	left: 0;
	top: 0;
	width: 1320px;
	height: 124px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
	z-index: 2;
}

.ks-footer .ks-f-cta__text {
	left: 587px;
	top: 32px;
	width: 701px;
	height: 60px;
}

.ks-footer .ks-f-cta__text h3 {
	left: 0;
	top: 0;
	width: 701px;
	font-size: 20px;
	line-height: 24px;
	font-weight: 800;
	color: #000;
	text-align: right;
	white-space: nowrap;
}

.ks-footer .ks-f-cta__text p {
	left: 0;
	top: 36px;
	width: 701px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #828282;
	text-align: right;
	white-space: nowrap;
}

.ks-footer .ks-f-cta__btn {
	left: 32px;
	top: 38px;
	width: 295px;
	height: 48px;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px #2b1d9a;
	color: #2b1d9a;
	text-decoration: none;
	transition: background 0.25s, color 0.25s;
}

.ks-footer .ks-f-cta__btn span {
	position: absolute;
	left: 32px;
	top: 12px;
	width: 215px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	text-align: left;
	white-space: nowrap;
}

.ks-footer .ks-f-cta__btn svg {
	position: absolute;
	left: 251px;
	top: 14px;
	width: 20px;
	height: 20px;
}

.ks-footer .ks-f-cta__btn svg path {
	transition: fill 0.25s, stroke 0.25s;
}

.ks-footer .ks-f-cta__btn:hover {
	background: #2b1d9a;
	color: #fff;
}

.ks-footer .ks-f-cta__btn:hover svg path {
	fill: #fff;
}

.ks-footer .ks-f-about {
	left: 0;
	top: 174px;
	width: 984px;
	height: 56px;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: #828282;
	text-align: justify;
}

.ks-footer .ks-f-brand {
	left: 1130px;
	top: 174px;
	width: 189.7px;
	height: 56px;
}

.ks-footer .ks-f-brand__text {
	left: 0;
	top: 5px;
	width: 128px;
	height: 46px;
}

.ks-footer .ks-f-brand__text b,
.ks-footer .ks-f-brand__text i {
	position: absolute;
	left: 0;
	width: 128px;
	font-style: normal;
	color: #040404;
	text-align: right;
	white-space: nowrap;
}

.ks-footer .ks-f-brand__text b {
	top: 0;
	font-size: 16px;
	line-height: 20px;
	font-weight: 800;
}

.ks-footer .ks-f-brand__text i {
	top: 28px;
	font-size: 12px;
	line-height: 18px;
	font-weight: 400;
}

.ks-footer .ks-f-brand__logo {
	left: 140px;
	top: 0;
	width: 49.7px;
	height: 56px;
}

.ks-footer .ks-f-brand__logo svg,
.ks-footer .ks-f-brand__logo img {
	display: block;
	width: 49.7px;
	height: 56px;
	object-fit: contain;
}

/* عنوان ستون‌ها */
.ks-footer .ks-f-title {
	top: 330px;
	height: 24px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color: #fff;
	text-align: right;
	white-space: nowrap;
}

.ks-footer .ks-f-title b {
	color: #caa05c;
	font-weight: 700;
}

.ks-footer .ks-f-title--1 { left: 1102px; width: 218px; font-weight: 400; line-height: 24.8px; }
.ks-footer .ks-f-title strong { font-weight: 700; }
.ks-footer .ks-f-title--2 { left: 840px; width: 144px; }
.ks-footer .ks-f-title--3 { left: 557px; width: 91px; }
.ks-footer .ks-f-title--4 { left: 152px; width: 160px; }
.ks-footer .ks-f-title--5 { left: 501px; top: 480px; width: 147px; }

/* فهرست‌های لینک با نقطهٔ سفید */
.ks-footer .ks-f-list {
	top: 373px;
	width: 312px;
}

.ks-footer .ks-f-list--1 { left: 1008px; }
.ks-footer .ks-f-list--2 { left: 672px; }

.ks-footer .ks-f-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ks-footer .ks-f-list li {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	height: 24px;
	margin: 0 0 16px;
	padding: 0;
}

.ks-footer .ks-f-list--2 li {
	margin-bottom: 15px;
}

.ks-footer .ks-f-list li::before {
	content: '';
	flex: none;
	width: 6px;
	height: 6px;
	margin: 9px 0 0 4px;
	border-radius: 50%;
	background: #fff;
}

.ks-footer .ks-f-list--2 li::before {
	margin-left: 8px;
}

.ks-footer .ks-f-list li > a {
	order: 1;
	margin-inline-start: 0;
}

.ks-footer .ks-f-list a {
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s;
}

.ks-footer .ks-f-list a:hover {
	color: #caa05c;
}

/* نمادهای اعتماد */
.ks-footer .ks-f-trust {
	left: 336px;
	top: 375px;
	width: 312px;
	height: 90px;
}

.ks-footer .ks-f-trust__item {
	top: 0;
	width: 80px;
	height: 90px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}

.ks-footer .ks-f-trust__item:nth-child(1) { left: 32px; }
.ks-footer .ks-f-trust__item:nth-child(2) { left: 132px; }
.ks-footer .ks-f-trust__item:nth-child(3) { left: 232px; }

.ks-footer .ks-f-trust__item img {
	position: absolute;
	left: 10px;
	top: 10px;
	width: 60px;
	height: 70px;
	object-fit: cover;
}

/* شبکه‌های اجتماعی */
.ks-footer .ks-f-social {
	left: 504px;
	top: 515px;
	width: 144px;
	height: 24px;
}

.ks-footer .ks-f-social svg {
	display: block;
	width: 144px;
	height: 24px;
}

.ks-footer .ks-f-social a {
	position: absolute;
	top: 0;
	width: 24px;
	height: 24px;
}

.ks-footer .ks-f-social a:nth-of-type(1) { left: 0; }
.ks-footer .ks-f-social a:nth-of-type(2) { left: 24px; }
.ks-footer .ks-f-social a:nth-of-type(3) { left: 48px; }
.ks-footer .ks-f-social a:nth-of-type(4) { left: 72px; }
.ks-footer .ks-f-social a:nth-of-type(5) { left: 96px; }
.ks-footer .ks-f-social a:nth-of-type(6) { left: 120px; }

/* اطلاعات تماس */
.ks-footer .ks-f-contact {
	left: 0;
	top: 375px;
	width: 312px;
	height: 164px;
}

.ks-footer .ks-f-row {
	left: 0;
	width: 312px;
}

.ks-footer .ks-f-row--1 { top: 0; height: 30px; }
.ks-footer .ks-f-row--2 { top: 40px; height: 30px; }
.ks-footer .ks-f-row--3 { top: 80px; height: 46px; }

.ks-footer .ks-f-val {
	left: 0;
	top: 3px;
	width: 134px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	text-align: left;
	white-space: nowrap;
}

.ks-footer .ks-f-lab {
	position: absolute;
	top: 0;
	height: 30px;
}

.ks-footer .ks-f-row--1 .ks-f-lab { left: 185px; width: 127px; }
.ks-footer .ks-f-row--2 .ks-f-lab { left: 194px; width: 118px; }
.ks-footer .ks-f-row--3 .ks-f-lab { left: 213px; width: 99px; }

.ks-footer .ks-f-lab b {
	position: absolute;
	left: 0;
	top: 3px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	text-align: right;
	white-space: nowrap;
}

.ks-footer .ks-f-row--1 .ks-f-lab b { width: 89px; }
.ks-footer .ks-f-row--2 .ks-f-lab b { width: 80px; }
.ks-footer .ks-f-row--3 .ks-f-lab b { width: 61px; }

.ks-footer .ks-f-lab svg {
	position: absolute;
	top: 0;
	width: 30px;
	height: 30px;
}

.ks-footer .ks-f-row--1 .ks-f-lab svg { left: 97px; }
.ks-footer .ks-f-row--2 .ks-f-lab svg { left: 88px; }
.ks-footer .ks-f-row--3 .ks-f-lab svg { left: 69px; }

.ks-footer .ks-f-addr {
	left: 0;
	top: 30px;
	width: 274px;
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
	text-align: right;
	white-space: nowrap;
}

.ks-footer .ks-f-tag {
	position: absolute;
	left: 0;
	top: 136px;
	width: 312px;
	height: 24px;
	background: #fff;
	border-radius: 15px;
}

.ks-footer .ks-f-tag span {
	position: absolute;
	left: 31px;
	top: 4px;
	width: 250px;
	font-size: 12px;
	line-height: 16px;
	color: #2b1d9a;
	text-align: right;
	white-space: nowrap;
}

.ks-footer .ks-f-copy {
	left: 422px;
	top: 604px;
	width: 476px;
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
	color: #fff;
	text-align: center;
	white-space: nowrap;
}

/* ---------- واکنش‌گرا: زیر ۱۴۰۰ پیکسل چیدمان ستونی ---------- */
@media (max-width: 1100px) {
	.ks-footer {
		height: auto;
		padding-bottom: 0;
	}

	.ks-footer__band { inset: 62px 0 auto 0; height: 360px; }
	.ks-footer__photo { inset: 422px 0 0 0; height: auto; }
	.ks-footer__bar { inset: auto 0 0 0; }

	.ks-footer .ks-footer__stage {
		width: auto;
		height: auto;
		max-width: 1320px;
		padding: 0 20px 70px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 32px;
	}

	.ks-footer .ks-footer__stage > *,
	.ks-footer .ks-f-top > *,
	.ks-footer .ks-f-cta > *,
	.ks-footer .ks-f-cta__text > *,
	.ks-footer .ks-f-brand > *,
	.ks-footer .ks-f-contact > *,
	.ks-footer .ks-f-trust > *,
	.ks-footer .ks-f-row > * {
		position: static;
	}

	.ks-footer .ks-f-cta {
		grid-column: 1 / -1;
		width: auto;
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 16px;
		padding: 24px;
	}

	.ks-footer .ks-f-cta__text { width: auto; height: auto; }
	.ks-footer .ks-f-cta__text h3,
	.ks-footer .ks-f-cta__text p { width: auto; white-space: normal; margin-bottom: 8px; }

	.ks-footer .ks-f-cta__btn {
		position: relative;
		align-self: flex-start;
	}

	.ks-footer .ks-f-cta__btn span,
	.ks-footer .ks-f-cta__btn svg { position: absolute; }

	.ks-footer .ks-f-about { grid-column: 1 / -1; width: auto; height: auto; }
	.ks-footer .ks-f-brand { grid-column: 1 / -1; display: flex; gap: 12px; width: auto; height: auto; align-items: center; }
	.ks-footer .ks-f-brand__text { width: auto; height: auto; display: flex; flex-direction: column; }
	.ks-footer .ks-f-brand__text b,
	.ks-footer .ks-f-brand__text i { position: static; width: auto; }

	.ks-footer .ks-f-title,
	.ks-footer .ks-f-list,
	.ks-footer .ks-f-trust,
	.ks-footer .ks-f-social,
	.ks-footer .ks-f-contact {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
	}

	.ks-footer .ks-f-trust { display: flex; gap: 12px; }
	.ks-footer .ks-f-trust__item { position: relative; flex: none; left: auto !important; }
	.ks-footer .ks-f-trust__item img { position: static; }
	.ks-footer .ks-f-trust__item { display: flex; align-items: center; justify-content: center; }

	.ks-footer .ks-f-social { position: relative; left: auto; top: auto; width: 144px; height: 24px; }
	.ks-footer .ks-f-social a { position: absolute; }

	.ks-footer .ks-f-contact { display: flex; flex-direction: column; gap: 10px; }
	.ks-footer .ks-f-row { position: relative; left: auto; width: 312px; max-width: 100%; }
	.ks-footer .ks-f-row--3 { height: 46px; }
	.ks-footer .ks-f-lab { position: absolute; }
	.ks-footer .ks-f-lab b,
	.ks-footer .ks-f-lab svg { position: absolute; }
	.ks-footer .ks-f-val,
	.ks-footer .ks-f-addr { position: absolute; }
	.ks-footer .ks-f-tag { position: relative; max-width: 100%; }

	.ks-footer .ks-f-copy {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 15px;
		width: auto;
		padding-inline: 16px;
		white-space: normal;
	}
}

@media (max-width: 782px) {
	.ks-footer .ks-footer__stage { grid-template-columns: 1fr; }
	.ks-footer__band { height: 520px; }
	.ks-footer__photo { inset: 582px 0 0 0; }
}


/* ==================================================================
   بزرگ‌نمایی متناسب در عرض > ۱۵۱۲px — طرح دقیقاً مثل فریم فیگما کل عرض را پر می‌کند.
   --ksz = عرض صفحه / ۱۵۱۲ (اسکریپت داخل head). نوار مدیریت وردپرس و ویرایشگر المنتور مستثنا هستند.
   در این حالت عرض «ویوپورت» در مختصات بزرگ‌نمایی‌شده دقیقاً ۱۵۱۲px است.
   ================================================================== */
html.ks-zoom body:not(.elementor-editor-active) > *:not(#wpadminbar) {
	zoom: var(--ksz, 1);
}
html.ks-zoom body:not(.elementor-editor-active) .ksc-phead,
html.ks-zoom body:not(.elementor-editor-active) .ksc-barch,
html.ks-zoom body:not(.elementor-editor-active) .ksc-single,
html.ks-zoom body:not(.elementor-editor-active) .ksc-lw,
html.ks-zoom body:not(.elementor-editor-active) .ksc-lwlist {
	width: 1512px;
	max-width: 1512px;
	margin-inline: calc(50% - 756px);
}

/* آیکن تماس هدر — در فیگمای نهایی داخل کادر ۴۸×۴۸ با خط طلایی ۱px و گوشهٔ ۱۲px است */
.ks-header__phone-icon {
	box-sizing: border-box;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px #caa05c;
}

/* ---------- فوتر موبایل: پس‌زمینه‌ها به جریان محتوا وصل می‌شوند ---------- */
.ks-footer .ks-f-top { display: contents; }
@media (max-width: 1100px) {
	.ks-footer { background: #2b1d9a; }
	.ks-footer__band { display: none; }
	.ks-footer__photo { inset: 0; height: auto; }
	.ks-footer .ks-footer__stage { padding: 0 0 70px; row-gap: 20px; position: relative; z-index: 1; }
	.ks-footer .ks-f-top { display: block; grid-column: 1 / -1; position: relative; margin-top: 0; padding: 62px 20px 24px; background: #f7f7f7; }
	.ks-footer .ks-f-top .ks-f-cta { margin: 0 0 20px; }
	.ks-footer .ks-f-top .ks-f-about { margin: 0 0 16px; }
	.ks-footer .ks-f-top .ks-f-brand { margin: 0; }
	.ks-footer .ks-f-top { background: linear-gradient(#fff 0, #fff 62px, #f7f7f7 62px); padding-top: 24px; padding-bottom: 24px; }
	.ks-footer .ks-footer__stage > *:not(.ks-f-top) { margin-inline: 20px; }
	.ks-footer .ks-f-cta__btn { position: relative; left: auto; top: auto; width: 100%; max-width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; }
	.ks-footer .ks-f-cta__btn span, .ks-footer .ks-f-cta__btn svg { position: static; width: auto; }
	.ks-footer .ks-f-cta__btn svg { width: 20px; height: 20px; }
}
@media (max-width: 1100px) {
	.ks-footer .ks-f-copy { top: auto; left: 0; right: 0; margin-inline: 0; }
}
@media (max-width: 1100px) {
	.ks-footer__bar { display: none; }
	.ks-footer .ks-footer__stage { padding-bottom: 0; }
	.ks-footer .ks-f-copy { position: static; grid-column: 1 / -1; width: auto; margin: 12px 0 0; padding: 16px 20px; background: #1f156d; text-align: center; white-space: normal; }
	.ks-footer .ks-f-row--3 { height: 74px; }
}
@media (max-width: 1100px) {
	.ks-footer .ks-footer__stage > .ks-f-copy { margin: 12px 0 0; }
}

/* جلوگیری از اسکرول افقی ناخواسته (انیمیشن‌های ورود/المان‌های تزئینی) */
@media (max-width: 1024px) {
	html, body { overflow-x: clip; }
}
@media (max-width: 1024px) {
	.ks-nav.is-open .menu a { justify-content: flex-end; }
}


/* ==================================================================
   لپ‌تاپ (۱۱۰۱ تا ۱۳۶۷px): همان طرح دسکتاپ فیگما، کوچک‌شده (مثل هیرو) به‌جای چیدمان ستونی.
   زیر ۱۱۰۰px چیدمان ستونی/موبایل فعال می‌شود. کنار ۱۳۶۸ به بالا بدون کوچک‌نمایی (کانتینر ۱۳۲۰ جا می‌شود).
   ================================================================== */
@media (min-width: 1101px) and (max-width: 1367px) {
	body > *:not(#wpadminbar):not(script):not(style):not(link) { zoom: 0.9; }
}
@media (min-width: 1101px) and (max-width: 1250px) {
	body > *:not(#wpadminbar):not(script):not(style):not(link) { zoom: 0.8; }
}

/* بدون اسکرول افقی در عرض لپ‌تاپ (شکل‌های تزئینی هیرو/خدمات از لبه بیرون می‌زنند) */
@media (max-width: 1512px) {
	html, body { overflow-x: clip; }
}
