/*
 * صفحات بازاریابی سایت مرکزی: صفحهٔ اول و صفحهٔ نمایندگی.
 *
 * این فایل در بستهٔ قالب مشتری نیست و فقط روی صفحاتی بار می‌شود که
 * minisites_theme_is_marketing_page() تأیید کند (inc/front-page.php).
 *
 * رنگ اصلی و رنگ تیره از سفارشی‌ساز می‌آیند (--vb-brand و
 * --vb-brand-dark)؛ بقیهٔ رنگ‌ها خنثی‌های گرم همان پالت‌اند. مشکی
 * عمداً هیچ‌جا نیست — تیره‌ترین سطح، زرشکی تیره است.
 */

.mf {
	--mf-accent: var(--vb-brand, #c2385a);
	--mf-deep: var(--vb-brand-dark, #8e2340);
	--mf-deeper: color-mix(in srgb, var(--mf-deep) 82%, #4a0f20);
	--mf-pink: #e15672;
	--mf-bg: #fff9f7;
	--mf-line: #f0dfe3;
	--mf-ink: #33212b;
	--mf-soft: #5e4a55;
	--mf-muted: #7a6670;
	--mf-tint: #fdeef2;
	--mf-on-deep: #f6d3dd;
	--mf-green: #0b6e5c;
	--mf-green-tint: #e6f2ef;
	--mf-r: 20px;

	max-width: none !important;
	margin-inline: 0 !important;
	background: var(--mf-bg);
	color: var(--mf-ink);
	font-size: 16px;
	line-height: 1.8;
}

.mf *,
.mf-fab * { box-sizing: border-box; }

.mf a { text-decoration: none; }
.mf h1,
.mf h2,
.mf h3,
.mf h4 { color: inherit; font-weight: 700; }
.mf p { margin: 0; }

.mf-wrap { width: min(100% - 32px, 1180px); margin-inline: auto; }
.mf-wrap--narrow { width: min(100% - 32px, 1000px); }
.mf-wrap--text { width: min(100% - 32px, 820px); }

.mf-section { padding: 88px 0; }
.mf-section--white { background: #fff; border-block: 1px solid var(--mf-line); }
.mf-section--tight { padding-top: 0; }
.mf-section--deep { background: var(--mf-deep); color: #fff5f7; }

.mf-head { margin-bottom: 40px; max-width: 760px; }
.mf-head--center { text-align: center; margin-inline: auto; }

.mf-h2 {
	margin: 0 0 12px;
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.35;
}

.mf-h3 { margin: 56px 0 24px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; }
.mf-h3--center { text-align: center; }

.mf-lead { font-size: 18px; color: var(--mf-soft); }
.mf-section--deep .mf-lead { color: var(--mf-on-deep); }

.mf-accent,
.mf .vb-accent { color: var(--mf-pink); } /* vb-accent: عنوان ذخیره‌شده از نسخهٔ قبل */

.mf-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px !important;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--mf-tint);
	color: var(--mf-deep);
	font-size: 14px;
	font-weight: 700;
}

.mf-pill--deep { background: color-mix(in srgb, var(--mf-deep) 80%, #fff); color: #fff; }

/* ---- دکمه‌ها ---- */

.mf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 20px;
	border: 1.5px solid transparent;
	border-radius: 14px;
	background: var(--mf-accent);
	color: #fff !important;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	text-align: center;
	transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.mf-btn:hover { background: var(--mf-deep); }
.mf-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--mf-accent) 45%, #fff); outline-offset: 2px; }
.mf-btn svg { flex: none; }

.mf-btn--lg { min-height: 56px; padding: 0 26px; font-size: 18px; }
.mf-btn--xl { min-height: 64px; padding: 0 32px; font-size: 24px; }
.mf-btn--block { display: flex; width: 100%; min-height: 52px; }

.mf-btn--outline { background: #fff; border-color: var(--mf-deep); color: var(--mf-deep) !important; }
.mf-btn--outline:hover { background: var(--mf-tint); }

.mf-btn--light { background: #fff; color: var(--mf-deep) !important; }
.mf-btn--light:hover { background: var(--mf-tint); }

.mf-btn--wa { background: var(--mf-green); }
.mf-btn--wa:hover { background: color-mix(in srgb, var(--mf-green) 82%, #04382f); }

.mf-btn--wa-ghost { background: #fff; border-color: var(--mf-green); color: var(--mf-green) !important; }
.mf-btn--wa-ghost:hover { background: var(--mf-green-tint); }

.mf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.mf-actions--center { justify-content: center; margin-bottom: 0; }

/* ---- فهرست تیک‌دار ---- */

.mf-checks { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mf-checks li { display: flex; gap: 10px; align-items: flex-start; }
.mf-checks svg { flex: none; margin-top: 4px; color: var(--mf-green); }
.mf-checks--light svg { color: #fff; }

/* ---- هیرو ---- */

.mf-hero { padding: 72px 0 88px; }

.mf-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.mf-hero__body { flex: 1 1 480px; min-width: 0; }
.mf-hero__visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }

.mf-hero__title {
	margin: 0 0 22px;
	font-size: clamp(34px, 4.6vw, 58px);
	line-height: 1.3;
	letter-spacing: -.5px;
}

.mf-hero__text { margin-bottom: 32px !important; font-size: 19px; color: var(--mf-soft); max-width: 580px; }

.mf-hero__perks { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; margin: 0; color: var(--mf-soft); font-size: 15px; }

.mf-stage { position: relative; width: 100%; max-width: 460px; padding: 24px 0; }

.mf-phone { margin: 0 auto; width: 280px; border-radius: 40px; background: var(--mf-deep); padding: 12px; }
.mf-phone__screen { border-radius: 30px; overflow: hidden; background: #fff; min-height: 420px; }
.mf-phone__screen img { display: block; width: 100%; height: auto; }

.mf-demo__cover {
	height: 168px;
	background: #f9dce4;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 18px;
}

.mf-demo__cover span { font-size: 12px; font-weight: 700; color: var(--mf-deep); }
.mf-demo__cover strong { font-size: 24px; line-height: 1.3; }

.mf-demo__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mf-demo__btns { display: flex; gap: 8px; }
.mf-demo__btns span { flex: 1; text-align: center; padding: 10px 0; border-radius: 10px; font-size: 13px; font-weight: 700; }
.mf-demo__call { background: var(--mf-accent); color: #fff; }
.mf-demo__wa { background: var(--mf-green-tint); color: var(--mf-green); }
.mf-demo__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mf-demo__gallery span { height: 58px; border-radius: 10px; background: #fbe7df; }
.mf-demo__gallery span:nth-child(2) { background: #f3ddec; }
.mf-demo__gallery span:nth-child(3) { background: #e3edf3; }
.mf-demo__tags { font-size: 13px; font-weight: 700; }
.mf-demo__line { height: 8px; width: 85%; border-radius: 4px; background: #f6ecee; }
.mf-demo__line--short { width: 62%; }

.mf-float {
	position: absolute;
	width: 220px;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--mf-line);
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(142, 35, 64, .12);
	font-size: 12px;
	line-height: 1.7;
}

.mf-float span,
.mf-float strong,
.mf-float em { display: block; font-style: normal; }
.mf-float span { color: var(--mf-muted); }
.mf-float strong { font-size: 14px; }
.mf-float em { color: var(--mf-accent); font-weight: 700; }
.mf-float .mf-ok,
.mf .mf-ok { color: var(--mf-green); font-weight: 700; }

.mf-float--lead { top: 40px; inset-inline-start: 0; }
.mf-float--club { bottom: 52px; inset-inline-end: 0; }

.mf-float--badge {
	width: auto;
	bottom: 0;
	inset-inline-start: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--mf-deep);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.mf-float--badge span { color: #fff; }

/* ---- شبکه‌ها و کارت‌ها ---- */

.mf-grid { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.mf-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.mf-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.mf-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.mf-grid--features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; }

.mf-card {
	display: block;
	padding: 26px;
	border-radius: var(--mf-r);
	background: #fff;
	border: 1px solid var(--mf-line);
	color: var(--mf-ink);
}

.mf-card--soft { background: var(--mf-bg); border-color: transparent; }
.mf-section:not(.mf-section--white) .mf-card--soft { background: #fff; border-color: var(--mf-line); }
.mf-card--line strong { display: block; margin-bottom: 4px; }
.mf-card--line > span { font-size: 15px; color: var(--mf-soft); }

.mf-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.5; }
.mf-card h4 { margin: 0 0 6px; font-size: 18px; line-height: 1.5; }
.mf-card p { font-size: 15px; color: var(--mf-soft); }

.mf-card--deep { background: var(--mf-deep); border-color: var(--mf-deep); color: #fff; }

.mf-icon {
	flex: none;
	width: 48px;
	height: 48px;
	margin-bottom: 16px;
	border-radius: 14px;
	background: var(--mf-tint);
	color: var(--mf-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.mf-icon--deep { background: var(--mf-deep); color: #fff; }
.mf-icon--green { background: var(--mf-green-tint); color: var(--mf-green); }

.mf-steps { counter-reset: none; }
.mf-step-n {
	display: inline-flex;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 999px;
	background: var(--mf-accent);
	color: #fff;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
}

.mf-num {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--mf-tint);
	color: var(--mf-deep);
	font-size: 13px;
	font-weight: 700;
}

.mf-feature {
	display: flex;
	gap: 14px;
	padding: 22px;
	border: 1px solid var(--mf-line);
	border-radius: 18px;
	background: #fff;
}

.mf-feature .mf-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.mf-feature h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.5; }
.mf-feature p { font-size: 15px; color: var(--mf-soft); }

.mf-tag { font-size: 12px; font-weight: 700; color: var(--mf-accent); }

.mf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.mf-chips li { padding: 8px 16px; border-radius: 999px; background: var(--mf-tint); color: var(--mf-deep); font-weight: 700; }

/* ---- دو ستونه ---- */

.mf-split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.mf-split--reverse { flex-wrap: wrap-reverse; }
.mf-split__text { flex: 1 1 440px; min-width: 0; }
.mf-split__media { flex: 1 1 440px; min-width: 0; }
.mf-split .mf-h2 { margin-bottom: 18px; }
.mf-split .mf-lead { margin-bottom: 28px; }

/* ---- نمای پنل ---- */

.mf-panel {
	background: #fff;
	color: var(--mf-ink);
	border-radius: 22px;
	padding: 22px;
	box-shadow: 0 30px 60px color-mix(in srgb, var(--mf-deep) 30%, transparent);
	font-size: 14px;
}

.mf-panel--float { width: 100%; max-width: 480px; border: 1px solid var(--mf-line); box-shadow: 0 24px 50px rgba(142, 35, 64, .12); }

.mf-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mf-panel__top strong { font-size: 18px; }
.mf-panel__top span { font-size: 13px; color: var(--mf-muted); }

.mf-panel__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.mf-panel__stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mf-panel__stats div { background: var(--mf-bg); border-radius: 14px; padding: 12px; }
.mf-panel__stats span { display: block; font-size: 12px; color: var(--mf-muted); }
.mf-panel__stats strong { font-size: 22px; }
.mf-panel__stats .is-hot { background: var(--mf-tint); color: var(--mf-deep); }
.mf-panel__stats .is-hot span { color: var(--mf-deep); }

.mf-panel__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 700; }
.mf-panel__chips span { padding: 4px 12px; border-radius: 999px; background: #f8eef1; color: var(--mf-soft); }
.mf-panel__chips .is-on { background: var(--mf-accent); color: #fff; }

.mf-panel__label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--mf-soft); }

.mf-panel__list { border: 1px solid var(--mf-line); border-radius: 14px; overflow: hidden; }
.mf-panel__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.mf-panel__row + .mf-panel__row { border-top: 1px solid var(--mf-line); }
.mf-panel__row strong { display: block; font-size: 14px; }
.mf-panel__row div span { font-size: 12px; color: var(--mf-muted); }
.mf-panel__act { flex: none; padding: 6px 12px; border-radius: 10px; background: var(--mf-green); color: #fff; font-size: 12px; font-weight: 700; }

/* ---- پیامک ---- */

.mf-phone--sms { width: 300px; border-radius: 36px; }
.mf-sms { background: #faf3f4; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.mf-sms__head { text-align: center; font-size: 12px; font-weight: 700; color: var(--mf-muted); }
.mf-sms__bubble {
	align-self: flex-start;
	max-width: 92%;
	padding: 12px 14px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(142, 35, 64, .08);
	font-size: 14px;
	line-height: 1.8;
}

.mf-split__media .mf-phone { display: block; }

/* ---- صنف‌ها ---- */

.mf-ind-cta { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.mf-ind-cta strong { font-size: 18px; line-height: 1.5; }
.mf-ind-cta > span { color: #ffd9e3; font-weight: 700; }
.mf-ind-cta:hover { background: var(--mf-deeper); }

/* ---- جدول مقایسه ---- */

.mf-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--mf-line); border-radius: 22px; }

.mf-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; margin: 0; }
.mf-table th,
.mf-table td { padding: 16px; text-align: center; border: 0; border-top: 1px solid var(--mf-line); }
.mf-table thead th { border-top: 0; background: var(--mf-bg); font-weight: 700; }
.mf-table th[scope="row"],
.mf-table thead th:first-child { text-align: start; padding-inline: 20px; width: 30%; font-weight: 700; }
.mf-table .is-muted { color: var(--mf-muted); }
.mf-table td.is-us { background: var(--mf-tint); color: var(--mf-deep); font-weight: 700; }
.mf-table thead th.is-us { background: var(--mf-accent); color: #fff; }

/* ---- شبکه ---- */

.mf-addresses { display: flex; flex-direction: column; gap: 14px; }

.mf-address {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 20px;
	border: 1px solid var(--mf-line);
	border-radius: 18px;
	background: var(--mf-bg);
}

.mf-address .mf-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.mf-address strong,
.mf-address span { display: block; }
.mf-address span { font-size: 15px; color: var(--mf-soft); }
.mf-address .mf-url { font-size: 14px; color: var(--mf-muted); text-align: right; }

.mf-showcase { margin-top: 56px; }
.mf-showcase .mf-h3 { margin-top: 0; }

.mf-shot { display: block; overflow: hidden; border: 1px solid var(--mf-line); border-radius: 18px; background: #fff; color: var(--mf-ink); transition: border-color .16s ease, transform .16s ease; }
.mf-shot:hover { border-color: var(--mf-accent); transform: translateY(-2px); }
.mf-shot__img { display: block; aspect-ratio: 16 / 9; background: var(--mf-tint); }
.mf-shot__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-shot__body { display: block; padding: 14px 16px; }
.mf-shot__body strong,
.mf-shot__body span { display: block; }
.mf-shot__body span { font-size: 14px; color: var(--mf-muted); }

/* ---- پلن‌ها و مدل‌های همکاری ---- */

.mf-plans { align-items: stretch; gap: 20px; }

.mf-plan {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	border: 1px solid var(--mf-line);
	border-radius: 24px;
	background: #fff;
}

.mf-plan h3 { margin: 0 0 6px; font-size: 22px; }
.mf-plan p { color: var(--mf-soft); }
.mf-plan__price strong { font-size: 34px; line-height: 1.3; }
.mf-plan__price span { color: var(--mf-muted); }
.mf-plan__list { margin: 0; flex-grow: 1; }

.mf-plan__badge {
	display: inline-flex;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--mf-pink);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.mf-plan--featured { background: var(--mf-deep); border: 2px solid var(--mf-pink); color: #fff5f7; }
.mf-plan--featured p,
.mf-plan--featured .mf-plan__price span { color: var(--mf-on-deep); }
.mf-plan--featured .mf-checks svg { color: #fff; }

/* ---- نوار نمایندگی ---- */

.mf-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 40px;
	border-radius: 28px;
	background: var(--mf-tint);
}

.mf-band > div { flex: 1 1 480px; min-width: 0; }
.mf-band .mf-h2 { margin-bottom: 8px; font-size: clamp(22px, 2.8vw, 32px); color: var(--mf-deep); }
.mf-band p { font-size: 17px; color: var(--mf-soft); }

/* ---- پرسش‌ها ---- */

.mf-faq { display: flex; flex-direction: column; gap: 12px; }

.mf-faq__item { border: 1px solid var(--mf-line); border-radius: 16px; padding: 18px 20px; background: #fff; }
.mf-faq__item summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; }
.mf-faq__item summary::-webkit-details-marker { display: none; }
.mf-faq__item summary::after { content: "+"; float: left; color: var(--mf-accent); font-weight: 700; }
.mf-faq__item[open] summary::after { content: "−"; }
.mf-faq__item p { margin-top: 12px; color: var(--mf-soft); }

/* ---- دعوت پایانی و تماس ---- */

.mf-final { padding: 88px 0; background: var(--mf-accent); color: #fff; text-align: center; }
.mf-final h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 48px); line-height: 1.3; color: #fff; }
.mf-final p { margin-bottom: 32px; font-size: 19px; }
.mf-final .mf-final__alt { margin: 18px 0 0; }
.mf-final__alt a { color: #fff; font-weight: 700; text-decoration: underline; }

.mf-contact { padding: 56px 32px; border-radius: 28px; background: var(--mf-deep); color: #fff5f7; text-align: center; }
.mf-contact h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.35; color: #fff; }
.mf-contact p { max-width: 620px; margin: 0 auto 32px; font-size: 18px; color: var(--mf-on-deep); }

/* ---- دکمه‌های شناور ---- */

.mf-fab {
	position: fixed;
	inset-inline-end: 20px;
	bottom: 20px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mf-fab__btn {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: var(--vb-brand, #c2385a);
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(194, 56, 90, .35);
	transition: transform .16s ease;
}

.mf-fab__btn:hover { transform: translateY(-2px); color: #fff; }
.mf-fab__btn--wa { background: #0b6e5c; box-shadow: 0 10px 24px rgba(11, 110, 92, .35); }

/* ---- موبایل ---- */

@media (max-width: 782px) {
	.mf-section { padding: 64px 0; }
	.mf-hero { padding: 48px 0 64px; }
	.mf-hero__inner,
	.mf-split { gap: 40px; }
	.mf-hero__text,
	.mf-lead { font-size: 17px; }
	.mf-actions .mf-btn { flex: 1 1 100%; }
	.mf-float { width: 190px; }
	.mf-float--lead { top: 8px; }
	.mf-band,
	.mf-plan { padding: 26px; }
	.mf-btn--xl { font-size: 20px; padding: 0 22px; }
	.mf-fab { inset-inline-end: 14px; bottom: 14px; }
	.mf-fab__btn { width: 52px; height: 52px; }
}

@media (max-width: 420px) {
	.mf-phone { width: 250px; }
	.mf-float { position: static; width: auto; margin-top: 12px; }
	.mf-stage { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.mf-btn,
	.mf-shot,
	.mf-fab__btn { transition: none; }
}
