:root {
	--asayesh-font: "Vazirmatn", Tahoma, Arial, sans-serif;
	--asayesh-navy: #0B3D91;
	--asayesh-navy-dark: #082E6B;
	--asayesh-teal: #0F998F;
	--asayesh-turquoise: #00C7C2;
	--asayesh-mint: #E6F5F4;
	--asayesh-bg: #F7FAFB;
	--asayesh-ink: #10385B;
	--asayesh-muted: #557080;
	--asayesh-border: #D5E8E7;
	--asayesh-white: #FFFFFF;
}

html, body, button, input, select, textarea,
.elementor, .elementor-widget, .elementor-heading-title {
	font-family: var(--asayesh-font) !important;
}

body {
	color: var(--asayesh-ink);
	background: var(--asayesh-bg);
}

.asayesh-topbar {
	background: linear-gradient(90deg, var(--asayesh-navy-dark), var(--asayesh-navy), var(--asayesh-teal));
	color: #fff;
	font-size: 12px;
}

.asayesh-topbar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 7px 24px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
	direction: rtl;
}

.asayesh-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.asayesh-topbar a:hover { text-decoration: underline; }

.asayesh-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--asayesh-border);
	box-shadow: 0 10px 34px rgba(11,61,145,.07);
}

.asayesh-header__inner {
	max-width: 1200px;
	min-height: 88px;
	margin: 0 auto;
	padding: 10px 24px;
	display: flex;
	align-items: center;
	gap: 28px;
	direction: rtl;
}

.asayesh-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--asayesh-ink);
	margin-left: auto;
}

.asayesh-brand__logo {
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
	display: grid;
	place-items: center;
}

.asayesh-brand__logo img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	display: block;
	border-radius: 14px;
	filter: drop-shadow(0 4px 9px rgba(11,61,145,.12));
}

.asayesh-brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.asayesh-brand__text strong { font-size: 19px; font-weight: 800; color: var(--asayesh-navy); }
.asayesh-brand__text small { margin-top: 4px; font-size: 11px; color: var(--asayesh-teal); font-weight: 600; }

.asayesh-nav { display: flex; align-items: center; }
.asayesh-menu,
.asayesh-nav .menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 24px;
}

.asayesh-menu a,
.asayesh-nav .menu a {
	color: var(--asayesh-ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 650;
	transition: color .2s ease;
}

.asayesh-menu a:hover,
.asayesh-nav .menu a:hover { color: var(--asayesh-teal); }

.asayesh-header__cta,
.asayesh-footer__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 13px;
	background: linear-gradient(135deg, var(--asayesh-turquoise), var(--asayesh-teal));
	color: #fff;
	text-decoration: none;
	font-weight: 750;
	box-shadow: 0 8px 22px rgba(0,199,194,.18);
	transition: transform .2s ease, box-shadow .2s ease;
}

.asayesh-header__cta:hover,
.asayesh-footer__cta:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 26px rgba(11,61,145,.20);
}

.asayesh-mobile-nav { display: none; position: relative; }
.asayesh-mobile-nav summary {
	cursor: pointer;
	list-style: none;
	border: 1px solid var(--asayesh-border);
	border-radius: 11px;
	padding: 9px 13px;
	font-weight: 700;
	color: var(--asayesh-navy);
	background: #fff;
}
.asayesh-mobile-nav summary::-webkit-details-marker { display: none; }

.asayesh-mobile-nav__panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	width: 240px;
	background: #fff;
	border: 1px solid var(--asayesh-border);
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(11,61,145,.13);
	padding: 14px;
}

.asayesh-mobile-nav__panel .asayesh-menu,
.asayesh-mobile-nav__panel .menu {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
}

.asayesh-mobile-nav__panel a {
	display: block;
	padding: 10px 12px;
	border-radius: 9px;
	text-decoration: none;
	color: var(--asayesh-ink);
}

.asayesh-mobile-nav__panel a:hover { background: var(--asayesh-mint); }

.asayesh-footer {
	background:
		radial-gradient(circle at 10% 5%, rgba(0,199,194,.16), transparent 30%),
		linear-gradient(135deg, #06275B, var(--asayesh-navy-dark) 48%, #075E67);
	color: #ECF8F8;
	direction: rtl;
}

.asayesh-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 58px 24px 44px;
	display: grid;
	grid-template-columns: 1.45fr .7fr .85fr;
	gap: 48px;
}

.asayesh-footer__brand {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 18px;
	align-items: start;
}

.asayesh-footer__logo {
	width: 92px;
	height: 92px;
	object-fit: contain;
	background: #fff;
	border-radius: 24px;
	padding: 9px;
	box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

.asayesh-footer h2 { color: #fff; font-size: 17px; margin: 0 0 18px; font-weight: 800; }
.asayesh-footer__brand strong { display: block; color: #fff; font-size: 22px; font-weight: 800; }

.asayesh-footer p {
	color: #CDE6E7;
	line-height: 1.95;
	margin: 10px 0 20px;
	font-size: 14px;
}

.asayesh-footer a { color: #EFFFFF; }

.asayesh-footer-menu,
.asayesh-footer .menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.asayesh-footer-menu a,
.asayesh-footer .menu a { color: #E4F4F5; text-decoration: none; font-size: 14px; }
.asayesh-footer-menu a:hover,
.asayesh-footer .menu a:hover { color: #fff; }

.asayesh-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px 24px;
}

.asayesh-footer__bottom p { margin: 0; font-size: 12px; color: #B9D4D8; }

/* Brand overrides for the current Elementor homepage */
body.home .elementor-heading-title { color: var(--asayesh-navy) !important; }
body.home .elementor-widget-text-editor { color: var(--asayesh-muted); }
body.home .elementor-button {
	font-family: var(--asayesh-font) !important;
	background: linear-gradient(135deg, var(--asayesh-turquoise), var(--asayesh-teal)) !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: 0 8px 20px rgba(0,199,194,.16);
}
body.home .elementor-element[data-id="a1b2c3d4"] { background: linear-gradient(135deg, #F7FAFB 0%, #ECF8F7 100%) !important; }
body.home .elementor-element[data-id="f1a2b3c4"] { background: #E6F5F4 !important; border-color: #C3E6E3 !important; }
body.home .elementor-element[data-id="c4d5e6f7"] { background: #F4F9FA !important; }
body.home .elementor-element[data-id="a5b6c7d8"],
body.home .elementor-element[data-id="d5e6f7a8"] { background: #EAF7F6 !important; }
body.home .elementor-element[data-id="b7c8d9e0"] {
	background: linear-gradient(135deg, var(--asayesh-navy-dark), var(--asayesh-navy), #075E67) !important;
}
body.home .elementor-element[data-id="b7c8d9e0"] .elementor-heading-title,
body.home .elementor-element[data-id="b7c8d9e0"] .elementor-widget-text-editor { color: #fff !important; }
body.home .elementor-element[data-id="b7c8d9e0"] .elementor-button {
	background: #fff !important;
	color: var(--asayesh-navy) !important;
}

@media (max-width: 900px) {
	.asayesh-nav--desktop { display: none; }
	.asayesh-mobile-nav { display: block; }
	.asayesh-header__cta { display: none; }
	.asayesh-header__inner { min-height: 76px; padding: 9px 16px; gap: 12px; }
	.asayesh-brand__text small { display: none; }
	.asayesh-footer__inner { grid-template-columns: 1fr 1fr; gap: 34px; }
	.asayesh-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
	.asayesh-topbar__inner { padding: 7px 14px; gap: 10px; flex-wrap: wrap; }
	.asayesh-topbar__inner a:last-child { display: none; }
	.asayesh-brand__logo,
	.asayesh-brand__logo img { width: 56px; height: 56px; flex-basis: 56px; }
	.asayesh-brand__text strong { font-size: 15px; }
	.asayesh-footer__inner { grid-template-columns: 1fr; padding: 44px 18px 32px; }
	.asayesh-footer__brand { grid-template-columns: 72px 1fr; }
	.asayesh-footer__logo { width: 72px; height: 72px; border-radius: 19px; }
	.asayesh-footer__bottom { padding-inline: 18px; }
}
