/*
Theme Name: Hesabix
Theme URI: https://hesabix.ir
Author: Hesabix
Author URI: https://hesabix.ir
Description: قالب خالی Hesabix - آماده برای سفارشی‌سازی
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hesabix
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, translation-ready
*/

/* Overrideهای قالب Hesabix (استایل اصلی از Tailwind لوکال لود می‌شود) */

/* فونت پیش‌فرض: Yekan Bakh FaNum (لود از روت پروژه در functions.php) */
body {
	font-family: 'Yekan Bakh FaNum', Tahoma, system-ui, sans-serif;
}

/* چیدمان اصلی صفحه — همیشه عمودی (هدر، محتوا، فوتر زیر هم) */
#page.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
#page .site-header,
#page .site-footer {
	width: 100%;
	flex-shrink: 0;
}
#page .site-main {
	flex: 1 0 auto;
	width: 100%;
}

/* وقتی نوار مدیریت وردپرس نمایش داده می‌شود (لاگین با اکانت مدیر) — فاصله تا هدر و محتوا */
body.admin-bar #page {
	padding-top: 32px !important;
}
@media screen and (max-width: 782px) {
	body.admin-bar #page {
		padding-top: 46px !important;
	}
}

/* لینک‌های منو */
.primary-menu a,
.header__menu a {
	text-decoration: none;
	color: inherit;
}
.primary-menu a:hover,
.header__menu a:hover {
	opacity: 0.8;
}

/* ========== هدر رسپانسیو ========== */
.header {
	position: relative;
	width: 100%;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	z-index: 100;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.25rem;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.header__brand {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.header__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	line-height: 0;
}
.header__brand a {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.header__logo-img,
.header .custom-logo {
	display: block;
	max-height: 3.25rem;
	width: auto;
	height: auto;
	min-height: 2.25rem;
	object-fit: contain;
	vertical-align: middle;
}

/* آیکون سایت (مربعی) در هدر — اندازه بزرگ‌تر و وسط‌چین عمودی */
.header__logo-img--icon {
	width: 3rem;
	height: 3rem;
	min-width: 3rem;
	min-height: 3rem;
	max-width: 3rem;
	max-height: 3rem;
	object-fit: contain;
}

.header__nav {
	display: none;
}

.header__menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header__menu a {
	display: block;
	padding: 0.5rem 0.75rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #1e293b;
	border-radius: 0.5rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.header__menu a:hover {
	background: #f1f5f9;
	color: #0f172a;
	opacity: 1;
}

/* دکمه همبرگر — فقط موبایل */
.header__toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: none;
	background: transparent;
	color: #334155;
	cursor: pointer;
	border-radius: 0.5rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.header__toggle:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.header__toggle-bar {
	display: block;
	width: 1.25rem;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.is-open .header__toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.header.is-open .header__toggle-bar:nth-child(2) {
	opacity: 0;
}
.header.is-open .header__toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* کشوی منو — موبایل */
.header__drawer {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(6px);
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.25s ease, opacity 0.25s ease;
	z-index: 99;
	padding-top: 4.5rem;
}

body.rtl .header__drawer {
	right: 0;
	left: 0;
}

.header.is-open .header__drawer {
	visibility: visible;
	opacity: 1;
}

.header__drawer-inner {
	background: #fff;
	max-height: calc(100vh - 5rem);
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.header__drawer-menu {
	list-style: none;
	margin: 0;
	padding: 1rem 0;
}

.header__drawer-menu li {
	margin: 0;
	border-bottom: 1px solid #f1f5f9;
}

.header__drawer-menu a {
	display: block;
	padding: 1rem 1.25rem;
	font-size: 1rem;
	font-weight: 500;
	color: #1e293b;
	transition: background 0.2s ease;
}

.header__drawer-menu a:hover {
	background: #f8fafc;
	opacity: 1;
}

/* دسکتاپ: منو نمایش، همبرگر مخفی */
@media (min-width: 1024px) {
	.header__nav {
		display: flex;
		align-items: center;
	}

	.header__toggle {
		display: none;
	}

	.header__drawer {
		display: none !important;
	}
}

/* صفحه نخست: هدر شفاف روی هیرو */
.home .header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	border-bottom-color: rgba(255, 255, 255, 0.1);
	background: rgba(7, 40, 73, 0.5);
	backdrop-filter: blur(12px);
}

/* هدر صفحهٔ نخست زیر نوار ادمین وقتی لاگین هستید */
body.admin-bar .home .header {
	top: 32px !important;
}
@media screen and (max-width: 782px) {
	body.admin-bar .home .header {
		top: 46px !important;
	}
}

.home .header__menu a {
	color: rgba(255, 255, 255, 0.9);
}

.home .header__menu a:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	opacity: 1;
}

.home .header__toggle {
	color: rgba(255, 255, 255, 0.95);
}

.home .header__toggle:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.home .header.is-open .header__drawer-inner {
	background: #fff;
}

.home .header.is-open .header__drawer-menu a {
	color: #1e293b;
}

/* لوگو روی هیرو تیره: فقط برای لوگوی قالب (logo.png) فیلتر روشن اعمال می‌شود تا روی پس‌زمینه تیره دیده شود. لوگوی سفارشی و آیکون سایت بدون فیلتر نمایش داده می‌شوند. */
.home .header__logo-img:not(.header__logo-img--icon) {
	filter: brightness(0) invert(1);
}
.home .header .custom-logo {
	/* لوگوی سفارشی وردپرس بدون فیلتر تا درست نمایش داده شود */
}

/* ========== صفحه نخست — طراحی حرفه‌ای ========== */
:root {
	--fp-blue-50: #f0f7ff;
	--fp-blue-100: #e0effe;
	--fp-blue-200: #bae0fd;
	--fp-blue-300: #7cc4fa;
	--fp-blue-400: #36a5f5;
	--fp-blue-500: #0c8ce9;
	--fp-blue-600: #006dc6;
	--fp-blue-700: #0159a8;
	--fp-blue-800: #064a8c;
	--fp-blue-900: #0b3d73;
	--fp-blue-950: #072849;
	--fp-white: #ffffff;
	--fp-shadow-sm: 0 1px 2px rgba(7, 40, 73, 0.06);
	--fp-shadow: 0 4px 6px -1px rgba(7, 40, 73, 0.08), 0 2px 4px -2px rgba(7, 40, 73, 0.06);
	--fp-shadow-lg: 0 10px 25px -5px rgba(7, 40, 73, 0.1), 0 4px 10px -5px rgba(7, 40, 73, 0.06);
	--fp-radius: 0.75rem;
	--fp-radius-lg: 1rem;
	--fp-radius-xl: 1.5rem;
}

/* ---- هیرو ---- */
.fp-hero {
	position: relative;
	min-height: 88vh;
	display: flex;
	align-items: center;
	padding: 5rem 0 4rem;
	overflow: hidden;
}

.fp-hero__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, var(--fp-blue-950) 0%, var(--fp-blue-900) 25%, var(--fp-blue-800) 55%, var(--fp-blue-700) 80%, var(--fp-blue-600) 100%);
}

.fp-hero__grid {
	position: absolute;
	inset: 0;
	opacity: 0.06;
	background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
	background-size: 64px 64px;
}

.fp-hero__inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	animation: fp-fade-up 0.7s ease-out;
}

@keyframes fp-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fp-hero__badge {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--fp-blue-200);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 0.375rem 0.875rem;
	border-radius: 9999px;
	margin-bottom: 1.5rem;
}

.fp-hero__title {
	font-size: clamp(2.75rem, 8vw, 4.25rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--fp-white);
	margin: 0 0 1rem;
}

.fp-hero__subtitle {
	font-size: 1.25rem;
	color: var(--fp-blue-200);
	margin: 0 0 0.5rem;
}

.fp-hero__lead {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--fp-blue-200);
	margin: 0 0 1.75rem;
	opacity: 0.95;
}

.fp-hero__stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem 3rem;
	margin-bottom: 2rem;
}

.fp-hero__stat {
	text-align: center;
}

.fp-hero__stat-num {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	color: var(--fp-white);
	line-height: 1.2;
}

.fp-hero__stat-label {
	font-size: 0.875rem;
	color: var(--fp-blue-200);
}

.fp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.fp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--fp-radius);
	padding: 0.75rem 1.5rem;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.fp-btn--primary {
	background: var(--fp-white);
	color: var(--fp-blue-700);
	box-shadow: var(--fp-shadow-lg);
}

.fp-btn--primary:hover {
	background: var(--fp-blue-50);
	color: var(--fp-blue-800);
	transform: translateY(-1px);
}

.fp-btn--ghost {
	background: transparent;
	color: var(--fp-white);
	border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.fp-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.6);
}

.fp-btn--lg {
	padding: 0.875rem 1.75rem;
	font-size: 1rem;
}

.fp-btn--sm {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

.fp-btn__badge {
	display: inline-block;
	margin-right: 0.35rem;
	font-size: 0.7em;
	background: var(--fp-blue-500);
	color: var(--fp-white);
	padding: 0.15rem 0.4rem;
	border-radius: 4px;
}

.fp-hero__visual {
	display: flex;
	justify-content: center;
}

.fp-mockup {
	width: 100%;
	max-width: 320px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--fp-radius-lg);
	padding: 1rem 1.25rem;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.fp-mockup__bar {
	height: 8px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	width: 40%;
	margin-bottom: 1.25rem;
}

.fp-mockup__row {
	height: 10px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 4px;
	margin-bottom: 0.75rem;
}

.fp-mockup__row--short {
	width: 75%;
}

/* ---- ویژگی‌ها ---- */
.fp-features {
	padding: 5.5rem 0;
	background: var(--fp-blue-50);
	scroll-margin-top: 2rem;
}

#about {
	scroll-margin-top: 2rem;
}

#cta {
	scroll-margin-top: 2rem;
}

.fp-section-header {
	text-align: center;
	margin-bottom: 3rem;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.fp-section-header__title {
	font-size: 1.875rem;
	font-weight: 700;
	color: var(--fp-blue-900);
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
}

.fp-section-header__desc {
	font-size: 1rem;
	color: var(--fp-blue-700);
	line-height: 1.6;
	margin: 0;
}

.fp-features__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.fp-features__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.fp-features__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
}

.fp-card {
	background: var(--fp-white);
	border-radius: var(--fp-radius-lg);
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--fp-blue-100);
	box-shadow: var(--fp-shadow-sm);
	transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.fp-card:hover {
	box-shadow: var(--fp-shadow-lg);
	border-color: var(--fp-blue-200);
	transform: translateY(-2px);
}

.fp-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: var(--fp-blue-100);
	color: var(--fp-blue-600);
	border-radius: var(--fp-radius);
	margin-bottom: 1.25rem;
}

.fp-card__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.fp-card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--fp-blue-900);
	margin: 0 0 0.5rem;
	letter-spacing: -0.01em;
}

.fp-card__text {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--fp-blue-700);
	margin: 0;
}

/* ---- درباره ---- */
.fp-about {
	padding: 5.5rem 0;
	background: var(--fp-white);
}

.fp-about__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.fp-about__layout {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
}

.fp-about__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--fp-blue-900);
	margin: 0 0 1.25rem;
	letter-spacing: -0.02em;
}

.fp-about__p {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--fp-blue-800);
	margin: 0 0 1rem;
}

.fp-about__p strong {
	color: var(--fp-blue-900);
	font-weight: 600;
}

.fp-about__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2rem;
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
}

.fp-about__stat-num {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: var(--fp-blue-600);
	margin-bottom: 0.25rem;
}

.fp-about__stat-label {
	font-size: 0.8125rem;
	color: var(--fp-blue-600);
	opacity: 0.85;
}

.fp-about__visual {
	display: flex;
	justify-content: center;
	align-items: center;
}

.fp-about__block {
	width: 100%;
	max-width: 380px;
	aspect-ratio: 4/3;
	background: linear-gradient(145deg, var(--fp-blue-600) 0%, var(--fp-blue-500) 50%, var(--fp-blue-400) 100%);
	border-radius: var(--fp-radius-xl);
	box-shadow: 0 25px 50px -12px rgba(12, 140, 233, 0.35);
}

/* ---- CTA ---- */
.fp-cta {
	position: relative;
	padding: 5rem 0;
	overflow: hidden;
}

.fp-cta__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, var(--fp-blue-800) 0%, var(--fp-blue-700) 40%, var(--fp-blue-600) 100%);
}

.fp-cta__inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.fp-cta__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--fp-white);
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
}

.fp-cta__desc {
	font-size: 1rem;
	color: var(--fp-blue-200);
	margin: 0 0 2rem;
}

.fp-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.fp-cta .fp-btn--ghost {
	color: var(--fp-blue-100);
	border-color: rgba(255, 255, 255, 0.35);
}

.fp-cta .fp-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--fp-white);
}

/* ---- بخش‌های مشترک صفحه نخست ---- */
.fp-section {
	padding: 4rem 0;
}

.fp-section--light {
	background: var(--fp-blue-50);
}

.fp-section__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--fp-blue-900);
	text-align: center;
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.fp-section__title--white {
	color: var(--fp-white);
}

.fp-section__subtitle {
	text-align: center;
	font-size: 1.125rem;
	color: var(--fp-blue-700);
	margin: 0 0 0.5rem;
}

.fp-section__desc {
	text-align: center;
	font-size: 0.9375rem;
	color: var(--fp-blue-700);
	line-height: 1.65;
	max-width: 42rem;
	margin: 0 auto 2rem;
}

.fp-section__brand {
	color: var(--fp-blue-600);
}

.fp-section__note {
	text-align: center;
	font-size: 0.8125rem;
	color: var(--fp-blue-600);
	margin: 0 0 1.5rem;
}

/* ---- معرفی ---- */
.fp-intro__text {
	text-align: center;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--fp-blue-800);
	max-width: 48rem;
	margin: 0 auto;
}

/* ---- حامیان ---- */
.fp-supporters__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}

.fp-supporters__name {
	display: inline-block;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--fp-blue-700);
	padding: 0.75rem 1.5rem;
	background: var(--fp-white);
	border-radius: var(--fp-radius);
	border: 1px solid var(--fp-blue-100);
}

/* ---- سه مرحله ---- */
.fp-steps__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 1rem;
}

@media (min-width: 768px) {
	.fp-steps__list {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
}

.fp-step {
	background: var(--fp-white);
	border-radius: var(--fp-radius-lg);
	padding: 1.5rem 1.25rem;
	border: 1px solid var(--fp-blue-100);
	box-shadow: var(--fp-shadow-sm);
}

.fp-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	background: var(--fp-blue-600);
	color: var(--fp-white);
	font-weight: 700;
	font-size: 1.125rem;
	border-radius: 50%;
	margin-bottom: 0.75rem;
}

.fp-step__title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--fp-blue-900);
	margin: 0 0 0.5rem;
}

.fp-step__text {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--fp-blue-700);
	margin: 0 0 0.75rem;
}

.fp-step__done {
	display: inline-block;
	font-size: 0.75rem;
	color: var(--fp-blue-600);
	font-weight: 600;
}

/* ---- دانلود اپ ---- */
.fp-download {
	position: relative;
	padding: 4rem 0;
	overflow: hidden;
}

.fp-download__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, var(--fp-blue-800) 0%, var(--fp-blue-700) 50%, var(--fp-blue-600) 100%);
}

.fp-download__inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.fp-download__sub {
	font-size: 1rem;
	color: var(--fp-blue-200);
	margin: 0 0 0.5rem;
}

.fp-download__note {
	font-size: 0.8125rem;
	color: var(--fp-blue-300);
	margin: 0 0 1.5rem;
}

.fp-download__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.fp-download .fp-btn--ghost {
	color: var(--fp-blue-100);
	border-color: rgba(255, 255, 255, 0.35);
}

.fp-download .fp-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--fp-white);
}

/* ---- افزونه‌ها ---- */
.fp-plugins__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.fp-plugins__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.fp-plugin-card {
	background: var(--fp-white);
	border-radius: var(--fp-radius-lg);
	padding: 1.5rem 1.25rem;
	border: 1px solid var(--fp-blue-100);
	box-shadow: var(--fp-shadow-sm);
}

.fp-plugin-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.fp-plugin-card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--fp-blue-900);
	margin: 0;
}

.fp-plugin-card__status {
	font-size: 0.75rem;
	color: var(--fp-blue-600);
	background: var(--fp-blue-100);
	padding: 0.2rem 0.5rem;
	border-radius: 4px;
}

.fp-plugin-card__status--active {
	background: #d1fae5;
	color: #065f46;
}

.fp-plugin-card__text {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--fp-blue-700);
	margin: 0 0 0.75rem;
}

.fp-plugin-card__feature {
	font-size: 0.8125rem;
	color: var(--fp-blue-600);
}

/* ---- وبلاگ ---- */
.fp-blog__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.fp-blog__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.fp-blog__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.fp-blog-card {
	background: var(--fp-white);
	border-radius: var(--fp-radius-lg);
	padding: 1.25rem 1.25rem;
	border: 1px solid var(--fp-blue-100);
	box-shadow: var(--fp-shadow-sm);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fp-blog-card:hover {
	box-shadow: var(--fp-shadow-lg);
	border-color: var(--fp-blue-200);
}

.fp-blog-card__date {
	display: block;
	font-size: 0.8125rem;
	color: var(--fp-blue-600);
	margin-bottom: 0.5rem;
}

.fp-blog-card__title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	line-height: 1.4;
}

.fp-blog-card__title a {
	color: var(--fp-blue-900);
	text-decoration: none;
}

.fp-blog-card__title a:hover {
	color: var(--fp-blue-600);
}

.fp-blog-card__excerpt {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--fp-blue-700);
	margin: 0 0 0.75rem;
}

.fp-blog-card__link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--fp-blue-600);
	text-decoration: none;
}

.fp-blog-card__link:hover {
	text-decoration: underline;
}

.fp-blog__more {
	text-align: center;
	margin: 1.5rem 0 0;
}

.fp-blog__more a {
	color: var(--fp-blue-600);
	font-weight: 600;
	text-decoration: none;
}

.fp-blog__more a:hover {
	text-decoration: underline;
}

/* ---- نظرات مشتریان ---- */
.fp-testimonials__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.fp-testimonials__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.fp-testimonial {
	background: var(--fp-white);
	border-radius: var(--fp-radius-lg);
	padding: 1.5rem 1.25rem;
	border: 1px solid var(--fp-blue-100);
	margin: 0;
}

.fp-testimonial__text {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--fp-blue-800);
	margin: 0 0 1rem;
}

.fp-testimonial__author {
	font-size: 0.875rem;
	color: var(--fp-blue-700);
}

.fp-testimonial__initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	background: var(--fp-blue-100);
	color: var(--fp-blue-700);
	font-weight: 700;
	border-radius: 50%;
	margin-left: 0.35rem;
}

.fp-testimonial__role {
	display: block;
	font-size: 0.8125rem;
	color: var(--fp-blue-600);
	margin-top: 0.25rem;
}

/* ---- فوتر لینک‌ها ---- */
.fp-footer-links {
	padding: 3rem 0;
	background: var(--fp-blue-900);
}

.fp-footer-links__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 1.25rem;
}

.fp-footer-links__grid a {
	color: var(--fp-blue-200);
	font-size: 0.875rem;
	text-decoration: none;
}

.fp-footer-links__grid a:hover {
	color: var(--fp-white);
}

.fp-footer-links__note,
.fp-footer-links__love {
	text-align: center;
	font-size: 0.8125rem;
	color: var(--fp-blue-300);
	margin: 1rem 0 0;
}

.fp-footer-links__love {
	margin-top: 0.5rem;
}

.fp-footer-links__heart {
	display: inline-block;
	vertical-align: middle;
	color: #e25555;
	font-size: 1.2em;
}
.fp-footer-links__heart svg {
	display: block;
}

/* ---- فوتر صفحه نخست ---- */
.home .site-footer {
	border-top: 1px solid var(--fp-blue-100);
	background: var(--fp-blue-50);
}

.home .site-footer .site-info {
	color: var(--fp-blue-700);
}

/* ========== صفحه تماس با ما ========== */
.contact-hero {
	position: relative;
	padding: 4rem 0 3rem;
	overflow: hidden;
}

.contact-hero__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, var(--fp-blue-950) 0%, var(--fp-blue-900) 40%, var(--fp-blue-800) 100%);
}

.contact-hero__inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.contact-hero__title {
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	font-weight: 700;
	color: var(--fp-white);
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.contact-hero__lead {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--fp-blue-200);
	margin: 0;
	max-width: 42ch;
	margin-left: auto;
	margin-right: auto;
}

.contact-content {
	padding: 3rem 0 4rem;
	background: var(--fp-blue-50);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.contact-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.contact-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
	.contact-card--wide {
		grid-column: span 3;
	}
}

.contact-card {
	background: var(--fp-white);
	border-radius: var(--fp-radius-lg);
	padding: 1.5rem 1.25rem;
	border: 1px solid var(--fp-blue-100);
	box-shadow: var(--fp-shadow-sm);
	transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.contact-card:hover {
	box-shadow: var(--fp-shadow-lg);
	border-color: var(--fp-blue-200);
	transform: translateY(-2px);
}

.contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: var(--fp-blue-100);
	color: var(--fp-blue-600);
	border-radius: var(--fp-radius);
	margin-bottom: 1rem;
}

.contact-card__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.contact-card__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--fp-blue-900);
	margin: 0 0 0.5rem;
	letter-spacing: -0.01em;
}

.contact-card__text {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--fp-blue-700);
	margin: 0;
}

.contact-card__text address {
	font-style: normal;
}

.contact-card__link {
	color: var(--fp-blue-600);
	text-decoration: none;
	transition: color 0.2s ease;
}

.contact-card__link:hover {
	color: var(--fp-blue-800);
	text-decoration: underline;
}

.contact-hours__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-hours__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--fp-blue-100);
}

.contact-hours__row:last-child {
	border-bottom: none;
}

.contact-hours__row dt {
	font-size: 0.9375rem;
	color: var(--fp-blue-700);
	margin: 0;
	font-weight: 500;
}

.contact-hours__row dd {
	font-size: 0.9375rem;
	color: var(--fp-blue-600);
	margin: 0;
	font-weight: 600;
}

.contact-editor-content {
	margin-top: 2rem;
	padding: 1.5rem;
	background: var(--fp-white);
	border-radius: var(--fp-radius-lg);
	border: 1px solid var(--fp-blue-100);
}

.contact-editor-content p:first-child {
	margin-top: 0;
}

.contact-editor-content p:last-child {
	margin-bottom: 0;
}

/* ========== وبلاگ — صفحه لیست و تک‌نوشته ========== */

/* ---- آرشیو وبلاگ (home) ---- */
.blog-archive__hero {
	position: relative;
	padding: 4rem 0 3rem;
	overflow: hidden;
}

.blog-archive__hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, var(--fp-blue-950) 0%, var(--fp-blue-900) 40%, var(--fp-blue-800) 100%);
}

.blog-archive__hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.blog-archive__title {
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	font-weight: 700;
	color: var(--fp-white);
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.blog-archive__lead {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--fp-blue-200);
	margin: 0;
	max-width: 42ch;
	margin-left: auto;
	margin-right: auto;
}

.blog-archive__grid {
	margin-top: 0;
}

/* در صفحه آرشیو همیشه از __inner برای متن استفاده می‌شود */
.blog-archive__grid .fp-blog-card {
	padding: 0;
}

.blog-archive__grid .fp-blog-card__inner {
	padding: 1.25rem 1.25rem;
}

/* کارت وبلاگ با تصویر شاخص (صفحه آرشیو) */
.fp-blog-card__img-link {
	display: block;
	border-radius: var(--fp-radius-lg) var(--fp-radius-lg) 0 0;
	overflow: hidden;
	background: var(--fp-blue-50);
}

.fp-blog-card__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.fp-blog-card:hover .fp-blog-card__img {
	transform: scale(1.02);
}

.fp-blog-card__inner {
	/* وقتی تصویر هست، پد کارت فقط برای این بخش */
}

.blog-archive__pagination {
	margin-top: 2.5rem;
	display: flex;
	justify-content: center;
}

.blog-archive__pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.blog-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--fp-blue-700);
	background: var(--fp-white);
	border: 1px solid var(--fp-blue-100);
	border-radius: var(--fp-radius);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-archive__pagination .page-numbers:hover,
.blog-archive__pagination .page-numbers.current {
	background: var(--fp-blue-600);
	color: var(--fp-white);
	border-color: var(--fp-blue-600);
}

.blog-archive__empty {
	text-align: center;
	font-size: 1rem;
	color: var(--fp-blue-700);
	padding: 3rem 1rem;
	margin: 0;
}

/* ---- تک‌نوشته (single) ---- */
.blog-single__hero {
	position: relative;
	padding: 4rem 0 3rem;
	overflow: hidden;
}

.blog-single__hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, var(--fp-blue-950) 0%, var(--fp-blue-900) 40%, var(--fp-blue-800) 100%);
}

.blog-single__hero-inner {
	position: relative;
	z-index: 2;
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

.blog-single__back {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--fp-blue-200);
	text-decoration: none;
	margin-bottom: 1.25rem;
	transition: color 0.2s ease;
}

.blog-single__back:hover {
	color: var(--fp-white);
}

.blog-single__title {
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	font-weight: 700;
	color: var(--fp-white);
	line-height: 1.25;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.blog-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.5rem;
	font-size: 0.9375rem;
	color: var(--fp-blue-200);
}

.blog-single__sep {
	opacity: 0.7;
}

.blog-single__thumb-wrap {
	margin-top: -1.5rem;
	position: relative;
	z-index: 3;
}

.blog-single__thumb {
	margin: 0;
	border-radius: var(--fp-radius-lg);
	overflow: hidden;
	box-shadow: var(--fp-shadow-lg);
	border: 1px solid var(--fp-blue-100);
}

.blog-single__thumb-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 28rem;
	object-fit: cover;
}

.blog-single__body {
	padding: 2.5rem 0 3rem;
	background: var(--fp-blue-50);
}

.blog-single__content-wrap {
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

.blog-single__content {
	background: var(--fp-white);
	padding: 2rem 1.75rem;
	border-radius: var(--fp-radius-lg);
	border: 1px solid var(--fp-blue-100);
	box-shadow: var(--fp-shadow-sm);
}

/* تایپوگرافی محتوای نوشته */
.blog-single__content p {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: var(--fp-blue-800);
	margin: 0 0 1.25rem;
}

.blog-single__content p:last-child {
	margin-bottom: 0;
}

.blog-single__content h2 {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--fp-blue-900);
	margin: 2rem 0 0.75rem;
	letter-spacing: -0.01em;
}

.blog-single__content h2:first-child {
	margin-top: 0;
}

.blog-single__content h3 {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--fp-blue-900);
	margin: 1.5rem 0 0.5rem;
}

.blog-single__content ul,
.blog-single__content ol {
	margin: 0 0 1.25rem;
	padding-right: 1.5rem;
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--fp-blue-800);
}

.blog-single__content li {
	margin-bottom: 0.35rem;
}

.blog-single__content a {
	color: var(--fp-blue-600);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.blog-single__content a:hover {
	color: var(--fp-blue-800);
}

.blog-single__content blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border-right: 4px solid var(--fp-blue-400);
	background: var(--fp-blue-50);
	border-radius: 0 var(--fp-radius) var(--fp-radius) 0;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--fp-blue-800);
}

.blog-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--fp-radius);
}

.blog-single__content pre,
.blog-single__content code {
	font-size: 0.9em;
	background: var(--fp-blue-50);
	color: var(--fp-blue-800);
	border-radius: 4px;
}

.blog-single__content pre {
	padding: 1rem 1.25rem;
	overflow-x: auto;
	margin: 1.25rem 0;
	border: 1px solid var(--fp-blue-100);
}

.blog-single__content code {
	padding: 0.15rem 0.4rem;
}

.blog-single__content pre code {
	padding: 0;
	background: none;
}

.blog-single__footer {
	padding: 0 0 3rem;
	max-width: 48rem;
	margin-left: auto;
	margin-right: auto;
}

.blog-single__pages-title {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--fp-blue-700);
	margin: 0 0 0.5rem;
}

.blog-single__pages-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.blog-single__pages-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--fp-blue-700);
	background: var(--fp-blue-50);
	border: 1px solid var(--fp-blue-100);
	border-radius: var(--fp-radius);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.blog-single__pages-list a:hover {
	background: var(--fp-blue-100);
	color: var(--fp-blue-800);
}

.blog-single__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
	border-top: 1px solid var(--fp-blue-100);
}

.blog-single__nav-link {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--fp-blue-600);
	text-decoration: none;
	max-width: 45%;
	transition: color 0.2s ease;
}

.blog-single__nav-link:hover {
	color: var(--fp-blue-800);
	text-decoration: underline;
}

.blog-single__nav-link--next {
	text-align: left;
	margin-right: auto;
}

.blog-single__comments {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--fp-blue-100);
}
