/*
Theme Name: بیمه‌نما
Theme URI: https://bimenama.ir
Author: DigitalAfarin
Description: قالب کلاسیک سفارشی سایت بیمه‌نما — راهنمای مقایسه و خرید بیمه شخص ثالث و بدنه. فارسی، راست‌به‌چپ، سریع و بدون وابستگی به صفحه‌ساز.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bimenama
*/

/* ------------------------------------------------------------
   فونت (self-host) و توکن‌های طراحی
   ------------------------------------------------------------ */
@font-face {
	font-family: 'Vazirmatn';
	src: url('assets/fonts/Vazirmatn-Variable.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--c-primary: #0B3B8C;
	--c-primary-tint: #EEF3FC;
	--c-teal: #14B8A6;
	--c-teal-dark: #0F766E;
	--c-teal-light: #5EEAD4;
	--c-teal-tint: #E6F7F5;
	--c-cta: #F97316;
	--c-cta-hover: #EA6A0C;
	--c-wash: #F2F7FF;
	--c-primary-deep: #0A2F6E;
	--c-ink: #0F172A;
	--c-body: #1E293B;
	--c-slate: #334155;
	--c-muted: #475569;
	--c-line: #E2E8F0;
	--c-bg: #F8FAFC;
	--c-field: #8091A7;
	--c-on-navy: #DBE5F5;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 18px;
	--container: 1200px;
	--font: 'Vazirmatn', Tahoma, sans-serif;
}

/* ------------------------------------------------------------
   پایه
   ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	direction: rtl;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.8;
	color: var(--c-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.5; }
p { margin: 0; }

:focus-visible {
	outline: 3px solid var(--c-teal);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	right: 16px;
	z-index: 100;
	background: var(--c-primary);
	color: #fff;
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	text-decoration: none;
}
.skip-link:focus { top: 12px; }

.bn-container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 24px;
}

/* ------------------------------------------------------------
   دکمه‌ها
   ------------------------------------------------------------ */
.bn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.bn-btn--cta { background: var(--c-cta); color: var(--c-ink); }
.bn-btn--cta:hover { background: var(--c-cta-hover); }
.bn-btn--lg { min-height: 52px; padding: 0 32px; font-size: 17px; font-weight: 800; }
.bn-btn--block { width: 100%; }

.bn-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 700;
	color: var(--c-primary);
	text-decoration: none;
}
.bn-link-arrow:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   هدر
   ------------------------------------------------------------ */
.bn-header {
	background: #fff;
	border-bottom: 1px solid var(--c-line);
}
.bn-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 32px;
	padding-block: 14px;
}
.bn-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--c-primary);
	text-decoration: none;
}
.bn-brand__name { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.bn-brand .custom-logo { display: block; max-height: 48px; width: auto; }

.bn-nav { flex: 1 1 360px; }
.bn-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
	font-weight: 500;
}
.bn-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--c-slate);
	text-decoration: none;
}
.bn-nav__list a:hover { color: var(--c-primary); }
.bn-nav__list .current-menu-item > a,
.bn-nav__list .current-menu-ancestor > a { color: var(--c-primary); font-weight: 700; }

.bn-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--c-ink);
	cursor: pointer;
}
.bn-nav-toggle .icon-close { display: none; }
.bn-nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.bn-nav-toggle[aria-expanded="true"] .icon-close { display: inline; }

/* ------------------------------------------------------------
   هیرو + فرم استعلام
   ------------------------------------------------------------ */
.bn-hero {
	position: relative;
	overflow: hidden;
	background: var(--c-primary);
	color: #fff;
}
.bn-hero__deco {
	position: absolute;
	left: -90px;
	bottom: -150px;
	opacity: 0.09;
	pointer-events: none;
}
.bn-hero__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
	padding-block: 72px 80px;
}
.bn-hero__text { flex: 1 1 440px; min-width: 0; }
.bn-hero__eyebrow { margin-bottom: 14px; font-size: 15px; font-weight: 600; color: var(--c-teal-light); }
.bn-hero__title { margin-bottom: 20px; font-size: 46px; line-height: 1.4; font-weight: 800; text-wrap: pretty; }
.bn-hero__lead { max-width: 540px; margin-bottom: 28px; font-size: 18px; line-height: 1.95; color: var(--c-on-navy); }
.bn-hero__points {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 16px;
}
.bn-hero__points li { display: flex; align-items: center; gap: 10px; }
.bn-hero__points svg { flex: none; color: var(--c-teal-light); }

.bn-quote {
	flex: 1 1 380px;
	max-width: 480px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 32px;
	background: #fff;
	color: var(--c-ink);
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 48px rgba(7, 28, 70, 0.28);
}
.bn-quote__title { font-size: 22px; font-weight: 800; }
.bn-quote fieldset {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}
.bn-quote legend {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
.bn-choice {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--c-field);
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.bn-choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-primary); }
.bn-choice:has(input:checked) {
	border: 2px solid var(--c-primary);
	background: var(--c-primary-tint);
	padding-inline: 13px;
}
.bn-field { display: flex; flex-direction: column; gap: 6px; }
.bn-field label { font-size: 14px; font-weight: 600; color: var(--c-slate); }
.bn-input {
	height: 48px;
	width: 100%;
	padding: 0 14px;
	border: 1px solid var(--c-field);
	border-radius: var(--radius-sm);
	background: #fff;
	font-size: 15px;
	color: var(--c-ink);
}
.bn-input--ltr { direction: ltr; text-align: right; }
.bn-quote__submit {
	height: 52px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--c-cta);
	color: var(--c-ink);
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
}
.bn-quote__submit:hover { background: #EA6A0C; }
.bn-quote__note { font-size: 13px; line-height: 1.8; color: var(--c-muted); }
.bn-quote__note a { color: var(--c-primary); font-weight: 600; }

/* ------------------------------------------------------------
   سکشن‌ها
   ------------------------------------------------------------ */
.bn-section { padding-block: 80px; }
.bn-section--alt { background: var(--c-bg); }
.bn-section__title { margin-bottom: 8px; font-size: 32px; font-weight: 800; }
.bn-section__lead { margin-bottom: 36px; font-size: 17px; color: var(--c-muted); }
.bn-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 36px;
}
.bn-section__head .bn-section__title { margin: 0; }

.bn-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}
.bn-grid--products { grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }

/* کارت محصول */
.bn-product {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}
.bn-product__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--c-teal-tint);
	color: var(--c-teal-dark);
}
.bn-product__title { font-size: 22px; font-weight: 800; }
.bn-product__text { font-size: 16px; line-height: 1.95; color: var(--c-muted); }
.bn-product .bn-link-arrow { margin-top: 4px; align-self: flex-start; }

/* سه قدم */
.bn-steps {
	display: grid;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.bn-step { display: flex; align-items: flex-start; gap: 18px; }
.bn-step__num {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--c-primary);
	color: #fff;
	font-size: 22px;
	font-weight: 800;
}
.bn-step__title { margin-bottom: 6px; font-size: 19px; font-weight: 700; }
.bn-step__text { font-size: 15px; line-height: 1.9; color: var(--c-muted); }

/* کارت مقاله */
.bn-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}
.bn-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 760 / 420;
	background: var(--c-teal-tint);
	color: var(--c-teal-dark);
	overflow: hidden;
}
.bn-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn-card__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.bn-card__title { font-size: 20px; font-weight: 800; line-height: 1.6; }
.bn-card__title a { text-decoration: none; }
.bn-card__title a:hover { color: var(--c-primary); }
.bn-card__excerpt { font-size: 15px; line-height: 1.9; color: var(--c-muted); }

.bn-pill {
	align-self: flex-start;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--c-primary-tint);
	color: var(--c-primary);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

/* مقاله شاخص آرشیو */
.bn-featured {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 32px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
}
.bn-featured__media {
	flex: 1 1 420px;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--c-teal-tint);
	color: var(--c-teal-dark);
	overflow: hidden;
}
.bn-featured__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn-featured__body {
	flex: 1 1 420px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 40px;
}
.bn-featured__title { font-size: 30px; font-weight: 800; line-height: 1.6; }
.bn-featured__title a { text-decoration: none; }
.bn-featured__excerpt { font-size: 16px; line-height: 2; color: var(--c-muted); }

/* سؤال‌های پرتکرار */
.bn-faq { max-width: 800px; margin-inline: auto; }
.bn-faq__title { margin-bottom: 28px; font-size: 32px; font-weight: 800; }
.bn-faq details { padding: 4px 0; border-bottom: 1px solid var(--c-line); }
.bn-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.bn-faq summary::-webkit-details-marker { display: none; }
.bn-faq summary svg { flex: none; color: var(--c-primary); transition: transform 0.2s; }
.bn-faq details[open] summary svg { transform: rotate(180deg); }
.bn-faq details p { margin-bottom: 16px; font-size: 16px; line-height: 1.95; color: var(--c-muted); }

/* نوار CTA */
.bn-cta-band { background: var(--c-teal-tint); padding-block: 56px; }
.bn-cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.bn-cta-band__text { flex: 1 1 400px; min-width: 0; }
.bn-cta-band__title { margin-bottom: 6px; font-size: 30px; font-weight: 800; color: var(--c-primary); }
.bn-cta-band__lead { font-size: 17px; color: var(--c-slate); }

/* ------------------------------------------------------------
   مسیر صفحه
   ------------------------------------------------------------ */
.bn-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--c-muted);
}
.bn-breadcrumb li + li::before { content: "/"; margin-inline-end: 8px; }
.bn-breadcrumb a { color: var(--c-muted); text-decoration: none; }
.bn-breadcrumb a:hover { color: var(--c-primary); text-decoration: underline; }

/* ------------------------------------------------------------
   سربرگ آرشیو
   ------------------------------------------------------------ */
.bn-archive-head {
	padding-block: 48px 40px;
	background: var(--c-bg);
	border-bottom: 1px solid var(--c-line);
}
.bn-archive-head .bn-breadcrumb { margin-bottom: 18px; }
.bn-archive-head__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}
.bn-archive-head__text { flex: 1 1 420px; min-width: 0; }
.bn-archive-head__title { margin-bottom: 10px; font-size: 40px; font-weight: 800; color: var(--c-primary); }
.bn-archive-head__lead { max-width: 560px; font-size: 18px; line-height: 1.9; color: var(--c-muted); }

.bn-search { flex: 1 1 320px; max-width: 420px; display: flex; gap: 8px; }
.bn-search .bn-input { flex: 1 1 auto; min-width: 0; }
.bn-search__btn {
	flex: none;
	height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--c-primary);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.bn-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.bn-chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid #CBD5E1;
	border-radius: 999px;
	background: #fff;
	color: var(--c-slate);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.bn-chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.bn-chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }

.bn-archive-body { padding-block: 56px 80px; }

/* صفحه‌بندی */
.navigation.pagination { margin-top: 48px; }
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #CBD5E1;
	border-radius: var(--radius-sm);
	color: var(--c-slate);
	font-weight: 600;
	text-decoration: none;
}
a.page-numbers:hover { border-color: var(--c-primary); color: var(--c-primary); }
.page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }
.page-numbers.dots { border: 0; }
.page-numbers.next, .page-numbers.prev { color: var(--c-primary); font-weight: 700; }

.bn-empty { padding: 48px 0; text-align: center; color: var(--c-muted); font-size: 18px; }

/* ------------------------------------------------------------
   مقاله و صفحه
   ------------------------------------------------------------ */
.bn-single__crumbs { padding-top: 28px; }
.bn-single__layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 56px;
	padding-block: 24px 80px;
}
.bn-single__main { flex: 1 1 620px; min-width: 0; max-width: 780px; }
.bn-single__aside {
	flex: 1 1 300px;
	max-width: 360px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.bn-single__head { margin-bottom: 28px; }
.bn-single__head .bn-pill { display: inline-block; margin-bottom: 16px; }
.bn-single__title { margin-bottom: 18px; font-size: 40px; line-height: 1.5; font-weight: 800; text-wrap: pretty; }
.bn-single__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--c-muted); }
.bn-single__thumb { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; }
.bn-single__thumb img { display: block; width: 100%; }

.bn-prose { font-size: 18px; line-height: 2.1; color: var(--c-body); overflow-wrap: break-word; }
.bn-prose > * + * { margin-top: 24px; }
.bn-prose h2 { margin-top: 40px; font-size: 28px; line-height: 1.6; font-weight: 800; color: var(--c-primary); scroll-margin-top: 24px; }
.bn-prose h3 { margin-top: 32px; font-size: 22px; font-weight: 800; scroll-margin-top: 24px; }
.bn-prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.bn-prose ul, .bn-prose ol { padding-inline-start: 24px; }
.bn-prose li + li { margin-top: 8px; }
.bn-prose img { border-radius: 12px; }
.bn-prose figure { margin-inline: 0; }
.bn-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--c-muted); text-align: center; }
.bn-prose blockquote {
	margin-inline: 0;
	padding: 16px 24px;
	background: var(--c-bg);
	border-radius: var(--radius-sm);
	color: var(--c-slate);
}
.bn-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.bn-prose th, .bn-prose td { padding: 10px 14px; border: 1px solid var(--c-line); text-align: right; }
.bn-prose th { background: var(--c-bg); font-weight: 700; }

/* کادر CTA داخل متن */
.bn-cta-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-block: 36px;
	padding: 28px 32px;
	background: var(--c-primary);
	color: #fff;
	border-radius: var(--radius);
}
.bn-cta-inline__text { flex: 1 1 280px; min-width: 0; }
.bn-cta-inline__title { margin: 0 0 4px; font-size: 20px; font-weight: 800; line-height: 1.7; color: #fff; }
.bn-cta-inline__lead { margin: 0; font-size: 15px; line-height: 1.9; color: var(--c-on-navy); }
.bn-prose a.bn-btn { text-decoration: none; color: var(--c-ink); }

/* باکس نویسنده */
.bn-author {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
	padding: 24px;
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}
.bn-author img { flex: none; width: 56px; height: 56px; border-radius: 50%; }
.bn-author__name { font-size: 16px; font-weight: 800; }
.bn-author__bio { font-size: 14px; line-height: 1.8; color: var(--c-muted); }

/* سایدبار */
.bn-toc { padding: 24px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.bn-toc__title { margin-bottom: 12px; font-size: 18px; font-weight: 800; }
.bn-toc ol { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.bn-toc a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--c-slate);
	font-size: 15px;
	text-decoration: none;
}
.bn-toc a:hover { color: var(--c-primary); }
.bn-side-cta { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--c-teal-tint); border-radius: var(--radius); }
.bn-side-cta__title { font-size: 20px; font-weight: 800; line-height: 1.6; color: var(--c-primary); }
.bn-side-cta__text { font-size: 15px; line-height: 1.9; color: var(--c-slate); }

.bn-related { padding-block: 64px; background: var(--c-bg); }
.bn-related__title { margin-bottom: 28px; font-size: 28px; font-weight: 800; }
.bn-related .bn-card__media { aspect-ratio: 760 / 330; }
.bn-related .bn-card__body { padding: 20px 24px 24px; gap: 8px; }
.bn-related .bn-card__title { font-size: 18px; line-height: 1.7; }

/* صفحه ساده */
.bn-page { padding-block: 24px 80px; }
.bn-page__head { padding-block: 24px 28px; }
.bn-page__title { font-size: 40px; font-weight: 800; color: var(--c-primary); }
.bn-page__content { max-width: 820px; }

/* 404 */
.bn-404 { padding-block: 96px; text-align: center; }
.bn-404__code { font-size: 96px; line-height: 1.2; font-weight: 800; color: var(--c-primary); }
.bn-404__title { margin-block: 8px 12px; font-size: 28px; font-weight: 800; }
.bn-404__text { max-width: 520px; margin: 0 auto 28px; font-size: 17px; color: var(--c-muted); }
.bn-404 .bn-search { margin: 0 auto 28px; }

/* ------------------------------------------------------------
   فوتر
   ------------------------------------------------------------ */
.bn-footer { padding-block: 64px 28px; background: var(--c-ink); color: #CBD5E1; }
.bn-footer__grid {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.bn-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.bn-footer__logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.bn-footer__logo span { font-size: 24px; font-weight: 800; }
.bn-footer__about { font-size: 15px; line-height: 1.95; }
.bn-footer__heading { margin-bottom: 8px; font-size: 16px; font-weight: 800; color: #fff; }
.bn-footer__list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.bn-footer__list a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	font-size: 15px;
	color: #CBD5E1;
	text-decoration: none;
}
.bn-footer__list a:hover { color: #fff; text-decoration: underline; }
.bn-footer__contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.bn-footer__contact a { color: #CBD5E1; }
.bn-footer__trust { margin-top: 8px; }
.bn-footer__trust img { max-width: 120px; height: auto; }
.bn-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 44px;
	padding-top: 20px;
	border-top: 1px solid #1E293B;
	font-size: 13px;
	line-height: 1.9;
	color: #94A3B8;
}

/* ------------------------------------------------------------
   واکنش‌گرایی
   ------------------------------------------------------------ */
@media (max-width: 860px) {
	.bn-nav-toggle { display: inline-flex; margin-inline-start: auto; }
	.bn-header__inner { gap: 12px 16px; }
	.bn-nav { order: 5; flex: 1 1 100%; display: none; }
	.bn-nav.is-open { display: block; }
	.bn-nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--c-line); padding-top: 8px; }
	.bn-nav__list a { width: 100%; }
}

@media (max-width: 640px) {
	.bn-hero__inner { padding-block: 48px 56px; gap: 36px; }
	.bn-hero__title { font-size: 32px; }
	.bn-hero__lead { font-size: 16px; }
	.bn-quote { padding: 24px; }
	.bn-section { padding-block: 56px; }
	.bn-section__title, .bn-faq__title { font-size: 26px; }
	.bn-product { padding: 24px; }
	.bn-single__title, .bn-page__title, .bn-archive-head__title { font-size: 30px; }
	.bn-featured__body { padding: 24px; }
	.bn-featured__title { font-size: 24px; }
	.bn-prose { font-size: 17px; }
	.bn-prose h2 { font-size: 24px; }
	.bn-cta-inline { padding: 24px; }
	.bn-cta-band__title { font-size: 24px; }
	.bn-single__layout { gap: 32px; padding-bottom: 56px; }
	.bn-brand__name { font-size: 22px; }
	.bn-header .bn-btn { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ------------------------------------------------------------
   قالب‌های صفحه: سربرگ، فرم تماس، کارت اطلاعات
   ------------------------------------------------------------ */
.bn-page-hero {
	padding-block: 48px 40px;
	background: var(--c-bg);
	border-bottom: 1px solid var(--c-line);
}
.bn-page-hero .bn-breadcrumb { margin-bottom: 18px; }
.bn-page-hero__title { margin-bottom: 10px; font-size: 40px; font-weight: 800; color: var(--c-primary); }
.bn-page-hero__lead { max-width: 640px; font-size: 18px; line-height: 1.9; color: var(--c-muted); }

.bn-contact__intro { margin-bottom: 32px; }

.bn-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 32px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
}
.bn-form__title { font-size: 24px; font-weight: 800; }
.bn-form__row {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.bn-form__hint { font-size: 13px; line-height: 1.8; color: var(--c-muted); }
.bn-input--area { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.9; resize: vertical; }
.bn-hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.bn-notice {
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.8;
}
.bn-notice--ok { background: var(--c-teal-tint); color: #0B5B54; border: 1px solid var(--c-teal-dark); }
.bn-notice--error { background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }

.bn-info-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}
.bn-info-card dt { font-size: 13px; font-weight: 600; color: var(--c-muted); }
.bn-info-card dd { margin: 0; font-size: 17px; font-weight: 700; color: var(--c-ink); }
.bn-info-card a { text-decoration: none; color: var(--c-primary); }
.bn-info-card a:hover { text-decoration: underline; }

@media (max-width: 640px) {
	.bn-page-hero__title { font-size: 30px; }
	.bn-form { padding: 24px; }
}

/* ------------------------------------------------------------
   جستجوی زنده (AJAX) در هدر
   ------------------------------------------------------------ */
.bn-search-trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: var(--c-bg);
	color: var(--c-muted);
	font-size: 14px;
	text-decoration: none;
	transition: border-color .15s, background .15s, color .15s;
}
.bn-search-trigger:hover,
.bn-search-trigger:focus-visible { border-color: var(--c-primary); background: #fff; color: var(--c-primary); }
.bn-search-trigger__kbd {
	min-width: 22px;
	padding: 1px 6px;
	border: 1px solid var(--c-line);
	border-radius: 6px;
	background: #fff;
	color: var(--c-muted);
	font: 600 12px/1.6 var(--font);
	text-align: center;
}

html.bn-ls-lock { overflow: hidden; }
.bn-ls[hidden] { display: none; }
.bn-ls { position: fixed; inset: 0; z-index: 1000; }
.bn-ls__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .55);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity .16s;
}
.bn-ls__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(680px, calc(100% - 32px));
	max-height: min(640px, calc(100dvh - 12vh - 16px));
	margin: 10vh auto 0;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 24px 64px rgba(15, 23, 42, .35);
	overflow: hidden;
	opacity: 0;
	transform: translateY(-10px) scale(.985);
	transition: opacity .16s, transform .16s;
}
.bn-ls.is-open .bn-ls__backdrop { opacity: 1; }
.bn-ls.is-open .bn-ls__panel { opacity: 1; transform: none; }

.bn-ls__form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 18px;
	border-bottom: 1px solid var(--c-line);
}
.bn-ls__icon { display: inline-flex; color: var(--c-primary); }
.bn-ls__input {
	flex: 1;
	min-width: 0;
	height: 60px;
	border: 0;
	background: transparent;
	color: var(--c-ink);
	font: 500 17px var(--font);
	outline: none;
}
.bn-ls__input::placeholder { color: var(--c-field); font-weight: 400; }
.bn-ls__input::-webkit-search-cancel-button { display: none; }
.bn-ls__clear,
.bn-ls__esc {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	color: var(--c-muted);
	cursor: pointer;
}
.bn-ls__clear { width: 36px; height: 36px; border-radius: 50%; }
.bn-ls__clear:hover { background: var(--c-bg); color: var(--c-ink); }
.bn-ls__esc {
	height: 28px;
	padding: 0 8px;
	border: 1px solid var(--c-line);
	border-radius: 6px;
	font: 600 12px var(--font);
}
.bn-ls__esc:hover { background: var(--c-bg); }
.bn-ls__spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid var(--c-line);
	border-top-color: var(--c-primary);
	border-radius: 50%;
	animation: bn-spin .7s linear infinite;
}
.bn-ls.is-loading .bn-ls__spinner { display: inline-block; }
@keyframes bn-spin { to { transform: rotate(360deg); } }

.bn-ls__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px 14px; }
.bn-ls__label {
	margin: 14px 8px 6px;
	color: var(--c-muted);
	font-size: 12.5px;
	font-weight: 700;
}
.bn-ls__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 8px;
	border-radius: 12px;
	color: var(--c-ink);
	text-decoration: none;
}
.bn-ls__item.is-active { background: var(--c-primary-tint); }
.bn-ls__media {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--c-bg);
}
.bn-ls__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bn-ls__media.is-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--c-teal-tint);
	color: var(--c-teal-dark);
	font-size: 22px;
	font-weight: 800;
}
.bn-ls__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bn-ls__title { font-size: 15px; font-weight: 700; line-height: 1.6; }
.bn-ls__excerpt {
	color: var(--c-muted);
	font-size: 13px;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bn-ls mark {
	padding: 0 2px;
	border-radius: 4px;
	background: #FFE9D2;
	color: inherit;
}
.bn-ls__cat { flex: 0 0 auto; align-self: flex-start; margin-top: 4px; }
.bn-ls__more {
	display: block;
	margin: 10px 8px 0;
	padding: 12px;
	border: 1px dashed var(--c-line);
	border-radius: 12px;
	color: var(--c-primary);
	font-weight: 700;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
}
.bn-ls__more:hover { background: var(--c-primary-tint); }

.bn-ls__empty { padding: 28px 12px; text-align: center; color: var(--c-muted); }
.bn-ls__empty strong { display: block; color: var(--c-ink); font-size: 16px; margin-bottom: 4px; }
.bn-ls__empty p { margin: 0; font-size: 14px; }
.bn-ls__empty[hidden], .bn-ls__results[hidden], .bn-ls__suggest[hidden] { display: none; }

.bn-ls__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
.bn-ls__quick-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 12px;
	background: var(--c-teal-tint);
	color: var(--c-teal-dark);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}
.bn-ls__quick-link:hover { background: #d3f0ec; }
.bn-ls__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
.bn-ls__recent { margin: 0; padding: 0; list-style: none; }
.bn-ls__recent a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 6px 8px;
	border-radius: 10px;
	color: var(--c-slate);
	font-size: 14.5px;
	text-decoration: none;
}
.bn-ls__recent a:hover { background: var(--c-bg); color: var(--c-primary); }
.bn-ls__recent svg { flex: 0 0 auto; color: var(--c-field); }

.bn-ls__foot {
	display: flex;
	gap: 18px;
	padding: 10px 18px;
	border-top: 1px solid var(--c-line);
	background: var(--c-bg);
	color: var(--c-muted);
	font-size: 12.5px;
}
.bn-ls__foot kbd {
	margin-inline-end: 4px;
	padding: 0 6px;
	border: 1px solid var(--c-line);
	border-radius: 5px;
	background: #fff;
	font: 600 11.5px/1.7 var(--font);
}

/* ترتیب هدر: لوگو، منو، جستجو، CTA */
@media (min-width: 861px) {
	.bn-search-trigger { order: 2; }
	.bn-header .bn-btn--cta { order: 3; }
}
@media (max-width: 860px) {
	.bn-search-trigger { order: 1; margin-inline-start: auto; width: 44px; padding: 0; justify-content: center; border-radius: var(--radius-sm); }
	.bn-search-trigger__label, .bn-search-trigger__kbd { display: none; }
	.bn-nav-toggle { order: 2; margin-inline-start: 0; }
	.bn-header .bn-btn--cta { order: 3; }
}
@media (max-width: 520px) {
	.bn-header .bn-btn--cta { order: 6; flex: 1 1 100%; justify-content: center; }
	.bn-ls__panel { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
	.bn-ls__foot { display: none; }
	.bn-ls__excerpt { -webkit-line-clamp: 1; }
}
@media (max-width: 860px) and (hover: none) { .bn-ls__foot { display: none; } }

/* ============================================================
   نسخه ۲ طراحی: مدرن و استارتاپی (روشن، گرد، فضای سفید زیاد)
   ============================================================ */
:root {
	--radius: 20px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .05);
	--shadow-md: 0 2px 4px rgba(15, 23, 42, .04), 0 14px 34px color-mix(in srgb, var(--c-primary) 10%, transparent);
	--shadow-cta: 0 8px 22px color-mix(in srgb, var(--c-cta) 32%, transparent);
}

/* هدر چسبان و شیشه‌ای */
.bn-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
}
body.admin-bar .bn-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .bn-header { top: 46px; } }

/* دکمه‌ها: کپسولی */
.bn-btn { border-radius: 999px; transition: transform .15s, box-shadow .15s, background .15s; }
.bn-btn--cta { box-shadow: var(--shadow-cta); }
.bn-btn--cta:hover { transform: translateY(-1px); }
.bn-btn--ghost { background: #fff; color: var(--c-primary); border: 1.5px solid var(--c-line); box-shadow: none; }
.bn-btn--ghost:hover { border-color: var(--c-primary); background: var(--c-primary-tint); }
.bn-quote__submit { border-radius: 999px; box-shadow: var(--shadow-cta); }

/* برچسب و عنوان کوچک بخش */
.bn-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 6px 14px 6px 16px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--c-line);
	box-shadow: var(--shadow-sm);
	color: var(--c-primary);
	font-size: 14px;
	font-weight: 700;
}
.bn-badge svg { color: var(--c-teal); }
.bn-eyebrow { margin-bottom: 10px; color: var(--c-teal-dark); font-size: 14px; font-weight: 800; letter-spacing: .2px; }
.bn-eyebrow--light { color: var(--c-teal-light); }

/* ---------- هیروی صفحه اصلی ---------- */
.bn-lhero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--c-wash) 0%, #fff 100%);
}
.bn-lhero__glow {
	position: absolute;
	inset-inline-end: -160px;
	top: -200px;
	width: 640px;
	height: 640px;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--c-teal) 20%, transparent), transparent);
	pointer-events: none;
}
.bn-lhero__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px 56px;
	padding-block: 64px 72px;
}
.bn-lhero__text { flex: 1 1 480px; min-width: 0; }
.bn-lhero__title {
	margin-bottom: 18px;
	font-size: 52px;
	line-height: 1.35;
	font-weight: 800;
	letter-spacing: -.5px;
	text-wrap: balance;
}
.bn-hl {
	background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c-teal) 30%, transparent) 62%);
	color: var(--c-primary);
}
.bn-lhero__lead { max-width: 560px; margin-bottom: 30px; font-size: 18px; line-height: 2; color: var(--c-muted); }
.bn-lhero__art { flex: 1 1 380px; max-width: 520px; min-width: 0; }
.bn-lhero__art svg { display: block; width: 100%; height: auto; }

.bn-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; max-width: 600px; margin-bottom: 26px; }
.bn-pick__card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1.5px solid var(--c-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
	color: var(--c-ink);
	text-decoration: none;
	transition: transform .18s, box-shadow .18s, border-color .18s;
}
.bn-pick__card:hover,
.bn-pick__card:focus-visible { transform: translateY(-3px); border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.bn-pick__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 16px;
	background: var(--c-primary-tint);
	color: var(--c-primary);
}
.bn-pick__icon--alt { background: var(--c-teal-tint); color: var(--c-teal-dark); }
.bn-pick__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bn-pick__body strong { font-size: 17px; font-weight: 800; }
.bn-pick__body small { font-size: 13px; color: var(--c-muted); }
.bn-pick__go { color: var(--c-primary); transition: transform .18s; }
.bn-pick__card:hover .bn-pick__go { transform: translateX(-4px); }
.bn-lhero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- نوار اعتماد ---------- */
.bn-trust { padding-block: 0 8px; background: #fff; }
.bn-trust__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 18px;
	list-style: none;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transform: translateY(-36px);
}
.bn-trust__list li { display: flex; align-items: center; gap: 12px; padding: 6px 8px; }
.bn-trust__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--c-teal-tint); color: var(--c-teal-dark); }
.bn-trust__list strong { display: block; font-size: 15px; font-weight: 800; }
.bn-trust__list small { display: block; font-size: 13px; color: var(--c-muted); line-height: 1.7; }

/* ---------- بخش‌ها ---------- */
.bn-section { padding-block: 72px; }
.bn-section--alt { background: var(--c-bg); }
.bn-section__intro { max-width: 640px; margin-bottom: 40px; }
.bn-section__title { font-size: 36px; line-height: 1.5; letter-spacing: -.3px; text-wrap: balance; }
.bn-section__lead { margin-bottom: 0; }

.bn-product {
	position: relative;
	overflow: hidden;
	padding: 36px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform .2s, box-shadow .2s;
}
.bn-product::after {
	content: "";
	position: absolute;
	inset-inline-end: -60px;
	bottom: -60px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: var(--c-primary-tint);
	z-index: 0;
}
.bn-product--alt::after { background: var(--c-teal-tint); }
.bn-product > * { position: relative; z-index: 1; }
.bn-product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bn-product__icon { width: 60px; height: 60px; border-radius: 18px; background: var(--c-primary); color: #fff; }
.bn-product--alt .bn-product__icon { background: var(--c-teal-dark); }

/* سه قدم: کارت‌های متصل */
.bn-steps2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.bn-step2 { position: relative; padding: 28px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.bn-step2__num {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--c-cta);
	color: var(--c-ink);
	font-size: 20px;
	font-weight: 800;
}
.bn-step2__title { margin-bottom: 8px; font-size: 19px; font-weight: 800; }
.bn-step2__text { font-size: 15px; line-height: 1.95; color: var(--c-muted); }

/* ---------- بخش فرم ---------- */
.bn-quote-band {
	position: relative;
	overflow: hidden;
	margin-block: 0;
	background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
	color: #fff;
}
.bn-quote-band::before {
	content: "";
	position: absolute;
	inset-inline-start: -120px;
	top: -140px;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--c-teal) 30%, transparent), transparent);
}
.bn-quote-band__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding-block: 72px; }
.bn-quote-band__text { flex: 1 1 420px; min-width: 0; }
.bn-quote-band__title { margin-bottom: 14px; font-size: 38px; line-height: 1.5; font-weight: 800; text-wrap: balance; }
.bn-quote-band__lead { max-width: 520px; margin-bottom: 24px; font-size: 17px; line-height: 2; color: var(--c-on-navy); }
.bn-quote-band .bn-hero__points { color: #fff; }
.bn-quote-band .bn-hero__points svg { color: var(--c-teal-light); }
.bn-quote-band .bn-quote { border-radius: var(--radius-lg); }

/* ---------- کارت مقاله ---------- */
.bn-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.bn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bn-card__media { aspect-ratio: 16 / 9; }

/* ---------- سؤال‌های پرتکرار ---------- */
.bn-faq details { margin-bottom: 12px; padding: 4px 22px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, border-color .2s; }
.bn-faq details[open] { border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.bn-faq__title { text-align: center; }

/* ---------- نوار CTA ---------- */
.bn-cta-band { padding-block: 72px; background: #fff; }
.bn-cta-band__inner {
	padding: 36px 40px;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--c-teal-tint) 0%, var(--c-wash) 100%);
	border: 1px solid color-mix(in srgb, var(--c-teal) 22%, #fff);
}

/* ---------- صفحه‌های داخلی ---------- */
.bn-page-hero,
.bn-archive-head { background: linear-gradient(180deg, var(--c-wash) 0%, #fff 100%); }
.bn-chip { border-radius: 999px; }
.bn-input { border-radius: 14px; }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 860px) {
	.bn-lhero__title { font-size: 40px; }
	.bn-lhero__art { max-width: 420px; margin-inline: auto; }
	.bn-section { padding-block: 56px; }
	.bn-section__title { font-size: 30px; }
	.bn-quote-band__title { font-size: 30px; }
}
@media (max-width: 560px) {
	.bn-lhero__inner { padding-block: 40px 48px; }
	.bn-lhero__title { font-size: 33px; }
	.bn-lhero__lead { font-size: 16px; }
	.bn-lhero__art { display: none; }
	.bn-lhero__actions .bn-btn { flex: 1 1 100%; }
	.bn-trust__list { transform: translateY(-20px); padding: 10px; }
	.bn-quote-band__inner { padding-block: 48px; }
	.bn-cta-band__inner { padding: 26px 22px; }
	.bn-product { padding: 26px; }
}
.bn-trust { margin-bottom: -20px; }
@media (max-width: 560px) { .bn-trust { margin-bottom: -4px; } }

/* ============================================================
   صفحه محصول (راهنمای بیمه) — نسخه ۲
   ============================================================ */
.bn-phero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--c-wash) 0%, #fff 100%); }
.bn-phero__glow {
	position: absolute;
	inset-inline-end: -140px;
	top: -180px;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--c-teal) 18%, transparent), transparent);
	pointer-events: none;
}
.bn-phero .bn-breadcrumb { position: relative; padding-top: 18px; }
.bn-phero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 36px 56px; padding-block: 36px 64px; }
.bn-phero__text { flex: 1 1 460px; min-width: 0; }
.bn-phero__title { margin-bottom: 16px; font-size: 46px; line-height: 1.45; font-weight: 800; letter-spacing: -.4px; text-wrap: balance; }
.bn-phero__lead { max-width: 580px; margin-bottom: 20px; font-size: 18px; line-height: 2; color: var(--c-muted); }
.bn-phero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--c-muted); font-size: 14px; }
.bn-phero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.bn-phero__meta svg { color: var(--c-teal); }
.bn-phero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.bn-glance {
	flex: 1 1 340px;
	max-width: 460px;
	min-width: 0;
	padding: 28px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-md);
}
.bn-glance__title { margin-bottom: 16px; font-size: 20px; font-weight: 800; }
.bn-glance__list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.bn-glance__item { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.85; }
.bn-glance__mark {
	flex: none;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--c-teal-tint);
	color: var(--c-teal-dark);
}
.bn-glance__item--no .bn-glance__mark { background: #FDECEC; color: #B42318; }
.bn-glance__item--info .bn-glance__mark { background: var(--c-primary-tint); color: var(--c-primary); }

.bn-section--tight { padding-top: 24px; }
.bn-prose--guide { font-size: 17.5px; }
.bn-prose--guide > p:first-child { font-size: 19px; color: var(--c-slate); }
.bn-prose--guide > p:has(> em:only-child) {
	padding: 16px 20px;
	border: 1px solid color-mix(in srgb, var(--c-teal) 22%, #fff);
	border-inline-start: 5px solid var(--c-teal);
	border-radius: var(--radius);
	background: var(--c-teal-tint);
	font-size: 15.5px;
	line-height: 2;
}
.bn-prose--guide > p > em:only-child { font-style: normal; color: var(--c-slate); }
.bn-prose--guide h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--c-line);
	font-size: 27px;
}
.bn-prose--guide h2::before {
	content: "";
	flex: none;
	width: 8px;
	height: 28px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--c-teal), var(--c-primary));
}
.bn-prose--guide ul, .bn-prose--guide ol { padding-inline-start: 0; list-style: none; counter-reset: li; }
.bn-prose--guide ul > li,
.bn-prose--guide ol > li {
	position: relative;
	padding: 12px 52px 12px 16px;
	border: 1px solid var(--c-line);
	border-radius: 14px;
	background: #fff;
}
.bn-prose--guide ul > li + li,
.bn-prose--guide ol > li + li { margin-top: 10px; }
.bn-prose--guide ul > li::before {
	content: "";
	position: absolute;
	inset-inline-start: auto;
	right: 18px;
	top: 21px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--c-teal);
	box-shadow: 0 0 0 4px var(--c-teal-tint);
}
.bn-prose--guide ol > li { counter-increment: li; }
.bn-prose--guide ol > li::before {
	content: counter(li, persian);
	position: absolute;
	right: 12px;
	top: 12px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--c-cta);
	color: var(--c-ink);
	font-size: 15px;
	font-weight: 800;
}
.bn-prose--guide details { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 4px 20px; background: #fff; }
.bn-prose--guide h3 { margin-top: 28px; padding: 12px 16px; border-radius: 12px; background: var(--c-bg); font-size: 19px; color: var(--c-ink); }

.bn-toc { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.bn-toc a { border-radius: 8px; }
.bn-toc a:hover { background: var(--c-primary-tint); }

.bn-xlink {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 56px;
	padding: 26px 28px;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--c-wash) 0%, var(--c-teal-tint) 100%);
	border: 1px solid var(--c-line);
}
.bn-xlink__eyebrow { margin-bottom: 4px; color: var(--c-teal-dark); font-size: 13.5px; font-weight: 800; }
.bn-xlink__title { margin: 0; font-size: 22px; font-weight: 800; color: var(--c-primary); }

.bn-help { padding-block: 24px 72px; }
.bn-help__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 32px 36px;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
	color: #fff;
}
.bn-help__title { margin-bottom: 4px; font-size: 26px; font-weight: 800; color: #fff; }
.bn-help__lead { margin: 0; color: var(--c-on-navy); }

@media (max-width: 860px) {
	.bn-phero__title { font-size: 36px; }
	.bn-prose--guide h2 { font-size: 23px; }
}
@media (max-width: 560px) {
	.bn-phero__inner { padding-block: 24px 44px; }
	.bn-phero__title { font-size: 30px; }
	.bn-phero__actions .bn-btn { flex: 1 1 100%; }
	.bn-glance { padding: 22px; }
	.bn-help__inner { padding: 24px; }
	.bn-prose--guide ul > li, .bn-prose--guide ol > li { padding-inline-end: 48px; }
}

/* رنگ‌های داینامیک در تصویر هیرو */
.bn-f-p { fill: var(--c-primary); } .bn-s-p { stroke: var(--c-primary); }
.bn-f-t { fill: var(--c-teal); }    .bn-s-t { stroke: var(--c-teal); }
.bn-f-c { fill: var(--c-cta); }     .bn-s-c { stroke: var(--c-cta); }

/* ------------------------------------------------------------
   دکمه شناور تماس
   ------------------------------------------------------------ */
.bn-float {
	position: fixed;
	inset-block-end: 18px;
	left: 18px;
	z-index: 60;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	transition: transform .25s ease, opacity .25s ease;
}
.bn-float--right { left: auto; right: 18px; align-items: flex-end; }
.bn-float.is-away { transform: translateY(90px); opacity: 0; pointer-events: none; }
.bn-float__btn {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--c-primary);
	color: #fff;
	cursor: pointer;
	opacity: .88;
	box-shadow: 0 4px 14px rgba(15, 23, 42, .22);
	transition: opacity .2s, transform .2s;
}
.bn-float__btn:hover, .bn-float__btn:focus-visible, .bn-float.is-open .bn-float__btn { opacity: 1; }
.bn-float__btn--wa { background: #1FA855; }
.bn-float__btn svg:last-child { display: none; }
.bn-float.is-open .bn-float__btn svg:first-child { display: none; }
.bn-float.is-open .bn-float__btn svg:last-child { display: block; }
.bn-float__menu { display: flex; flex-direction: column; gap: 8px; }
.bn-float__menu[hidden] { display: none; }
.bn-float__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--c-ink);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid var(--c-line);
	box-shadow: 0 4px 14px rgba(15, 23, 42, .14);
}
.bn-float__item svg { color: var(--c-primary); }
.bn-float__item--wa svg { color: #1FA855; }
.bn-float__item:hover { background: var(--c-bg); }
@media (max-width: 560px) {
	.bn-float { inset-block-end: 14px; left: 12px; }
	.bn-float--right { left: auto; right: 12px; }
	.bn-float__btn { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .bn-float, .bn-float__btn { transition: none; } }
@media print { .bn-float { display: none; } }

/* ============================================================
   سبک «ازکی»: هیرو وسط‌چین، شبکه آیکن بیمه‌ها، مگامنو، هاب بیمه‌ها
   ============================================================ */
.bn-lhero--center { text-align: center; padding-block: 56px 44px; }
.bn-lhero--center .bn-container { position: relative; }
.bn-lhero--center .bn-lhero__text { max-width: 780px; margin-inline: auto; }
.bn-lhero--center .bn-lhero__title { font-size: 46px; }
.bn-lhero--center .bn-lhero__lead { margin-inline: auto; max-width: 620px; margin-bottom: 0; }

.bn-hsearch {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 640px;
	height: 60px;
	margin: 30px auto 0;
	padding-inline: 22px;
	background: #fff;
	border: 1.5px solid var(--c-line);
	border-radius: 999px;
	color: var(--c-muted);
	font-size: 16px;
	text-decoration: none;
	box-shadow: var(--shadow-md);
	transition: border-color .18s, box-shadow .18s;
}
.bn-hsearch:hover,
.bn-hsearch:focus-visible { border-color: var(--c-primary); }
.bn-hsearch svg { flex: none; color: var(--c-primary); }

.bn-tiles {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	max-width: 1000px;
	margin: 36px auto 0;
	text-align: center;
}
.bn-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 26px 12px 22px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: 20px;
	color: var(--c-ink);
	text-decoration: none;
	transition: transform .18s, border-color .18s, box-shadow .18s;
}
.bn-tile:hover,
.bn-tile:focus-visible { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.bn-tile__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 8px;
	border-radius: 18px;
	background: var(--c-primary-tint);
	color: var(--c-primary);
}
.bn-tile:nth-child(even) .bn-tile__icon { background: var(--c-teal-tint); color: var(--c-teal-dark); }
.bn-tile__title { font-size: 16px; font-weight: 800; line-height: 1.6; }
.bn-tile__sub { font-size: 13px; line-height: 1.7; color: var(--c-muted); }
.bn-tiles__more { margin: 26px 0 0; text-align: center; }

.bn-section__title--sm { margin-bottom: 20px; font-size: 22px; text-align: center; }
.bn-section--tight { padding-block: 40px; }

.bn-whys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.bn-why {
	padding: 28px 24px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}
.bn-why__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; background: var(--c-teal-tint); color: var(--c-teal-dark); }
.bn-why__title { margin-bottom: 8px; font-size: 19px; font-weight: 800; }
.bn-why__text { margin: 0; font-size: 15px; line-height: 2; color: var(--c-muted); }

.bn-grid--types { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.bn-type {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 24px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
}
.bn-type__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c-primary-tint); color: var(--c-primary); }
.bn-type__title { margin: 0; font-size: 19px; font-weight: 800; }
.bn-type__text { margin: 0; flex: 1; font-size: 15px; line-height: 2; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.bn-companies { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bn-companies li { padding: 10px 20px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--c-slate); }

.bn-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.bn-review { margin: 0; padding: 26px 24px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.bn-review blockquote { margin: 0; flex: 1; }
.bn-review blockquote p { margin: 0; font-size: 15px; line-height: 2.1; color: var(--c-body); }
.bn-review figcaption { display: flex; align-items: center; gap: 12px; }
.bn-review figcaption strong { display: block; font-size: 15px; }
.bn-review figcaption small { display: block; font-size: 13px; color: var(--c-muted); }
.bn-review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-primary-tint); color: var(--c-primary); font-weight: 800; }

.bn-road { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.bn-road__step { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.bn-road__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 800; }
.bn-road__title { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.bn-road__text { margin: 0; font-size: 14.5px; line-height: 2; color: var(--c-muted); }

/* مگامنوی بیمه‌ها */
@media (min-width: 861px) { .bn-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; } }
.bn-mega__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--c-primary);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.bn-mega__btn svg { transition: transform .18s; }
.bn-mega__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.bn-mega__panel {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	z-index: 60;
	background: #fff;
	border-top: 1px solid var(--c-line);
	border-bottom: 1px solid var(--c-line);
	box-shadow: 0 24px 40px rgba(15, 23, 42, .10);
}
.bn-mega__panel[hidden] { display: none; }
.bn-mega__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 28px 32px; }
.bn-mega__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 800; color: var(--c-primary); }
.bn-mega__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.bn-mega__list a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin-inline: -8px; border-radius: 10px; color: var(--c-slate); font-size: 14.5px; text-decoration: none; }
.bn-mega__list a:hover,
.bn-mega__list a:focus-visible { background: var(--c-primary-tint); color: var(--c-primary); }
.bn-mega__list svg { flex: none; color: var(--c-teal-dark); }
.bn-mega__all { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--c-line); }

/* صفحه همه بیمه‌ها */
.bn-hub { padding-block: 48px 72px; }
.bn-hub__group { margin-bottom: 48px; }
.bn-hub__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.bn-hub__head h2 { margin: 0; font-size: 24px; font-weight: 800; }
.bn-hub__head span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--c-primary-tint); color: var(--c-primary); }
.bn-hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.bn-hubcard {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	color: var(--c-ink);
	text-decoration: none;
	transition: transform .18s, border-color .18s, box-shadow .18s;
}
.bn-hubcard:hover,
.bn-hubcard:focus-visible { transform: translateY(-3px); border-color: var(--c-primary); box-shadow: var(--shadow-md); }
.bn-hubcard__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-teal-tint); color: var(--c-teal-dark); }
.bn-hubcard strong { display: block; font-size: 16px; font-weight: 800; }
.bn-hubcard small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.8; color: var(--c-muted); }
.bn-hubcard--off { opacity: .55; pointer-events: none; }

/* محصولات مرتبط در صفحه بیمه */
.bn-related { margin-top: 48px; }
.bn-related__title { margin-bottom: 16px; font-size: 20px; font-weight: 800; }
.bn-related .bn-hub__grid { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }

@media (max-width: 960px) {
	.bn-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
	.bn-lhero--center .bn-lhero__title { font-size: 38px; }
	.bn-mega__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.bn-lhero--center { padding-block: 36px 28px; }
	.bn-lhero--center .bn-lhero__title { font-size: 30px; }
	.bn-hsearch { height: 54px; font-size: 15px; }
	.bn-tile { padding: 20px 8px 16px; }
	.bn-tile__icon { width: 56px; height: 56px; }
	.bn-section--tight { padding-block: 28px; }
}
/* مگامنو در موبایل: داخل منوی باز شده، به‌صورت آکاردئون */
@media (max-width: 860px) {
	.bn-mega { width: 100%; }
	.bn-mega__panel { position: static; box-shadow: none; border: 0; border-radius: var(--radius); background: var(--c-bg); margin-top: 6px; }
	.bn-mega__inner { grid-template-columns: 1fr; gap: 18px; padding: 18px 16px; }
}
@media print { .bn-mega__panel { display: none; } }
