/* پین‌یار - استایل اصلی. RTL با ویژگی‌های منطقی؛ بدون وابستگی خارجی. */

@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--py-bg: #F6FAF7;
	--py-surface: #fff;
	--py-ink: #1E2623;
	--py-muted: #5B6A63;
	--py-primary: #0F5C3E;
	--py-primary-ink: #fff;
	--py-primary-dark: #0A4430;
	--py-primary-soft: #E7F1EB;
	--py-accent: #C8F03C;
	--py-accent-ink: #1E2623;
	--py-accent-soft: #EEF9C8;
	--py-line: #DCE7E0;
	--py-danger: #B3261E;
	--py-radius: 14px;
	--py-radius-sm: 10px;
	--py-shadow: 0 1px 2px rgba(15, 60, 40, .06), 0 10px 28px -14px rgba(15, 60, 40, .22);
	--py-shadow-lg: 0 2px 4px rgba(15, 60, 40, .06), 0 24px 48px -20px rgba(15, 60, 40, .3);
	--py-font: "Vazirmatn", Tahoma, system-ui, -apple-system, "Segoe UI", sans-serif;
	--py-gutter: 16px;
	--py-wide: 1160px;
	--py-narrow: 780px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--py-bg);
	color: var(--py-ink);
	font-family: var(--py-font);
	font-size: 1rem;
	line-height: 1.9;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--py-primary); text-underline-offset: .2em; }
a:hover { color: var(--py-primary-dark); }
h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 .5em; font-weight: 800; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.4em; }
:focus-visible { outline: 3px solid var(--py-primary); outline-offset: 3px; border-radius: 4px; }
.py-footer :focus-visible, .py-cta--primary :focus-visible, .py-cta--dark :focus-visible { outline-color: var(--py-accent); }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.py-skip {
	position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100;
	background: var(--py-ink); color: #fff; padding: 12px 18px; border-radius: var(--py-radius-sm); text-decoration: none; font-weight: 700;
}
.py-skip:focus { top: 12px; color: #fff; }

.py-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
.py-container { width: 100%; max-width: calc(var(--py-wide) + 2 * var(--py-gutter)); margin-inline: auto; padding-inline: var(--py-gutter); }
.py-container--narrow { max-width: calc(var(--py-narrow) + 2 * var(--py-gutter)); }
.py-container .py-container { padding-inline: 0; max-width: none; }

/* ---------- دکمه‌ها ---------- */
.py-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .55em 1.4em; border: 2px solid transparent; border-radius: 999px;
	font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.4; text-decoration: none; cursor: pointer;
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.py-btn--primary { background: var(--py-primary); color: var(--py-primary-ink); box-shadow: 0 8px 18px -10px var(--py-primary); }
.py-btn--primary:hover { background: var(--py-primary-dark); color: var(--py-primary-ink); transform: translateY(-1px); }
.py-btn--accent { background: var(--py-accent); color: var(--py-accent-ink); }
.py-btn--accent:hover { color: var(--py-accent-ink); filter: brightness(.96); transform: translateY(-1px); }
.py-btn--ghost { background: transparent; border-color: var(--py-line); color: var(--py-ink); }
.py-btn--sm { min-height: 44px; padding: .4em 1.15em; font-size: .95rem; }
.py-btn--block { width: 100%; }
.py-link-arrow {
	display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--py-primary);
}
.py-link-arrow:hover span { text-decoration: underline; text-underline-offset: .25em; }
.py-link-arrow .py-icon { transition: transform .18s ease; }
.py-link-arrow:hover .py-icon { transform: translateX(-3px); }
.py-link-arrow--sm { font-size: .95rem; }

/* ---------- سربرگ ---------- */
.py-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 250, 247, .94); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--py-line);
}
.admin-bar .py-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .py-header { top: 46px; } }
.py-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 64px; }
.py-brand { display: flex; align-items: center; min-height: 44px; }
.py-brand .custom-logo-link { display: inline-flex; }
.py-brand .custom-logo { max-height: 44px; width: auto; }
.py-wordmark { display: inline-flex; align-items: center; gap: 8px; color: var(--py-primary); text-decoration: none; font-weight: 900; font-size: 1.45rem; line-height: 1; }
.py-wordmark:hover { color: var(--py-primary-dark); }
.py-wordmark__mark { width: 28px; height: 32px; }
.py-wordmark__text { color: var(--py-ink); }

.py-menu-toggle {
	display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
	background: var(--py-surface); border: 1px solid var(--py-line); border-radius: 999px; color: var(--py-ink); font: inherit; font-weight: 700; cursor: pointer;
}
.js .py-menu-toggle { display: inline-flex; }
.py-menu-toggle__close { display: none; }
.is-open .py-menu-toggle__close { display: inline-block; }
.is-open .py-menu-toggle__open { display: none; }

.py-nav-panel { flex: 1 1 100%; padding-block: 4px 14px; }
.js .py-nav-panel { display: none; }
.js .is-open .py-nav-panel { display: block; }
.py-menu, .py-footer__menu { list-style: none; margin: 0; padding: 0; }
.py-menu a {
	display: flex; align-items: center; min-height: 48px; padding: 6px 4px; color: var(--py-ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--py-line);
}
.py-menu a:hover, .py-menu .current-menu-item > a, .py-menu a[aria-current] { color: var(--py-primary); }
.py-menu .sub-menu { list-style: none; margin: 0; padding: 0 16px 0 0; padding-inline-start: 16px; padding-inline-end: 0; }
.py-menu .sub-menu a { font-weight: 500; color: var(--py-muted); min-height: 44px; }
.py-header__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.py-header__actions--app { margin: 0; flex-direction: row; }
.py-account-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; font-weight: 700; color: var(--py-ink); text-decoration: none; }
.py-account-link:hover { color: var(--py-primary); }
.py-header--app .py-header__in { flex-wrap: nowrap; }

@media (min-width: 900px) {
	.py-header__in { flex-wrap: nowrap; }
	.js .py-menu-toggle, .py-menu-toggle { display: none; }
	.js .py-nav-panel, .py-nav-panel { display: flex !important; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 20px; padding: 0; }
	.py-nav { margin-inline-start: 18px; }
	.py-menu { display: flex; align-items: center; gap: 2px; }
	.py-menu > li { position: relative; }
	.py-menu a { border: 0; padding: 6px 12px; border-radius: 999px; font-size: .97rem; }
	.py-menu a:hover { background: var(--py-primary-soft); }
	.py-menu > li.menu-item-has-children > a::after {
		content: ""; width: 7px; height: 7px; margin-inline-start: 8px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
	}
	.py-menu .sub-menu {
		position: absolute; inset-inline-start: 0; top: 100%; min-width: 230px; padding: 8px; margin: 0;
		background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); box-shadow: var(--py-shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s;
	}
	.py-menu li:hover > .sub-menu, .py-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.py-menu .sub-menu a { color: var(--py-ink); border-radius: var(--py-radius-sm); }
	.py-header__actions { flex-direction: row; align-items: center; margin: 0; gap: 14px; }
}

/* ---------- قهرمان ---------- */
.py-hero {
	position: relative; overflow: hidden; padding-block: 32px 44px;
	background: var(--py-bg) url("../img/map-pattern.svg") center top / cover no-repeat;
}
.py-hero::after {
	content: ""; position: absolute; inset-inline-end: -140px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(closest-side, var(--py-accent-soft), transparent); pointer-events: none; opacity: .8;
}
.py-hero__grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.py-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 4px 14px 4px 12px; min-height: 36px;
	background: var(--py-surface); border: 1px solid var(--py-line); border-radius: 999px; font-size: .9rem; font-weight: 700; color: var(--py-primary);
	box-shadow: var(--py-shadow);
}
.py-eyebrow .py-icon { color: var(--py-primary); }
.py-hero__title { font-size: clamp(1.9rem, 6.2vw, 3.2rem); font-weight: 900; line-height: 1.35; margin-bottom: .45em; text-wrap: balance; }
.py-hero__title::after { content: ""; display: block; width: 84px; height: 8px; margin-top: 14px; border-radius: 99px; background: var(--py-accent); }
.py-hero__lead { font-size: 1.08rem; color: var(--py-muted); max-width: 34em; margin-bottom: 1.4em; }
.py-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.py-hero__points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--py-muted); font-size: .9rem; font-weight: 600; }
.py-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.py-hero__points .py-icon { color: var(--py-primary); width: 1.1em; height: 1.1em; }
.py-hero__visual { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.py-hero__img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--py-shadow-lg); }
@media (min-width: 900px) {
	.py-hero { padding-block: 64px 80px; }
	.py-hero__grid { grid-template-columns: 1.02fr .98fr; gap: 56px; }
}

.py-illus { position: relative; padding: 0 0 18px; }
.py-illus__svg { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--py-shadow-lg); transform: rotate(-1.2deg); }
.py-illus__chip {
	position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 40px;
	background: var(--py-surface); border: 1px solid var(--py-line); border-radius: 999px; box-shadow: var(--py-shadow);
	font-size: .85rem; font-weight: 700; color: var(--py-ink); white-space: nowrap;
}
.py-illus__chip .py-icon { color: var(--py-primary); }
.py-illus__chip--link { inset-inline-start: -4px; bottom: 28px; }
.py-illus__chip--qr { inset-inline-end: -4px; top: 22px; }
.py-illus__chip--maps { inset-inline-end: 8%; bottom: 0; background: var(--py-accent); border-color: transparent; color: var(--py-accent-ink); }
.py-illus__chip--maps .py-icon { color: var(--py-accent-ink); }
@media (min-width: 900px) { .py-illus__chip--link { inset-inline-start: -28px; } .py-illus__chip--qr { inset-inline-end: -22px; } }
@media (max-width: 420px) { .py-illus__chip { font-size: .78rem; padding: 6px 10px; min-height: 36px; } .py-illus__chip--link { inset-inline-start: 0; } .py-illus__chip--qr { inset-inline-end: 0; } }
.py-illus__pulse { transform-box: fill-box; transform-origin: center; animation: py-pulse 2.6s ease-out 3; }
.py-illus__route { animation: py-dash 1.6s linear 3; }
@keyframes py-pulse { 0% { transform: scale(.7); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes py-dash { to { stroke-dashoffset: -26; } }
.py-illus__chip { animation: py-rise .6s ease both; }
.py-illus__chip--qr { animation-delay: .15s; }
.py-illus__chip--maps { animation-delay: .3s; }
@keyframes py-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- بخش‌ها ---------- */
.py-flow { display: block; }
.py-flow > .py-section:nth-of-type(even):not(.py-cta-section):not(.py-notes-section) { background: var(--py-surface); border-block: 1px solid var(--py-line); }
.py-section { padding-block: 44px; }
.py-section__head { max-width: 720px; margin-bottom: 26px; }
.py-section__title { font-size: clamp(1.45rem, 4.4vw, 2.1rem); font-weight: 900; margin-bottom: .3em; }
.py-section__intro { color: var(--py-muted); font-size: 1.04rem; margin: 0; }
@media (min-width: 900px) { .py-section { padding-block: 72px; } }

.py-pagehead {
	padding-block: 18px 30px; border-bottom: 1px solid var(--py-line);
	background: var(--py-bg) url("../img/map-pattern.svg") center top / cover no-repeat;
}
.py-pagehead__title { font-size: clamp(1.7rem, 5.4vw, 2.7rem); font-weight: 900; margin-bottom: .35em; text-wrap: balance; }
.py-pagehead__lead { max-width: 46em; color: var(--py-muted); font-size: 1.06rem; margin: 0; }
@media (min-width: 900px) { .py-pagehead { padding-block: 26px 46px; } }

.py-breadcrumb { margin: 6px 0 14px; font-size: .88rem; }
.py-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.py-breadcrumb li { display: inline-flex; align-items: center; }
.py-breadcrumb li + li::before {
	content: ""; width: 6px; height: 6px; margin-inline: 10px; border-inline-start: 2px solid var(--py-muted); border-bottom: 2px solid var(--py-muted); transform: rotate(45deg); opacity: .6;
}
.py-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--py-muted); text-decoration: none; }
.py-breadcrumb a:hover { color: var(--py-primary); text-decoration: underline; }
.py-breadcrumb [aria-current] { color: var(--py-ink); font-weight: 700; }

/* ---------- کارت‌ها و شبکه ---------- */
.py-card { background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); box-shadow: var(--py-shadow); }
.py-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .py-grid--cards, .py-grid--posts, .py-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .py-grid--cards, .py-grid--posts { grid-template-columns: repeat(3, 1fr); } .py-grid { gap: 22px; } }

.py-service { display: flex; flex-direction: column; padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.py-service:hover { transform: translateY(-3px); box-shadow: var(--py-shadow-lg); }
.py-service__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 14px;
	background: var(--py-primary-soft); color: var(--py-primary); border-radius: 16px;
}
.py-service__icon .py-icon { width: 26px; height: 26px; }
.py-service__title { font-size: 1.15rem; margin-bottom: .35em; }
.py-service__summary { color: var(--py-muted); font-size: .96rem; }
.py-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; }
.py-tags li { padding: 2px 12px; background: var(--py-primary-soft); color: var(--py-primary-dark); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.py-checks { list-style: none; margin: 0 0 16px; padding: 0; font-size: .94rem; }
.py-checks li { display: flex; gap: 8px; align-items: flex-start; padding-block: 3px; }
.py-checks .py-icon { color: var(--py-primary); margin-top: .35em; width: 1.1em; height: 1.1em; }
.py-service__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--py-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.py-price { margin: 0; display: flex; flex-direction: column; line-height: 1.5; }
.py-price__cap { font-size: .78rem; color: var(--py-muted); }
.py-price strong { font-size: 1.12rem; color: var(--py-primary); }
.py-price--soon strong { color: var(--py-muted); font-weight: 700; }
.py-service--pricing .py-price strong { font-size: 1.3rem; }
.py-fineprint { display: flex; gap: 8px; align-items: flex-start; margin: 22px 0 0; color: var(--py-muted); font-size: .9rem; }
.py-fineprint .py-icon { margin-top: .3em; color: var(--py-primary); }

.py-empty {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 20px;
	background: var(--py-surface); border: 1.5px dashed #BBD1C3; border-radius: var(--py-radius); color: var(--py-muted);
}
.py-empty .py-icon { width: 34px; height: 34px; color: var(--py-primary); }
.py-empty p { margin: 0; max-width: 34em; font-weight: 600; }

/* مراحل */
.py-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: py-step; }
@counter-style py-fa { system: numeric; symbols: "۰" "۱" "۲" "۳" "۴" "۵" "۶" "۷" "۸" "۹"; }
.py-step { position: relative; counter-increment: py-step; padding: 20px 20px 16px; padding-inline-start: 74px; min-height: 84px; }
.py-step::before {
	content: counter(py-step, py-fa); position: absolute; inset-inline-start: 18px; top: 18px; width: 42px; height: 42px;
	display: grid; place-items: center; background: var(--py-primary); color: var(--py-primary-ink); border-radius: 14px 14px 14px 4px;
	font-weight: 900; font-size: 1.15rem;
}
.py-step__title { font-size: 1.08rem; margin-bottom: .3em; }
.py-step__body { color: var(--py-muted); font-size: .96rem; }
.py-step__body > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
	.py-steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
	.py-step { padding: 74px 20px 20px; }
	.py-step::before { inset-inline-start: 20px; top: 20px; }
	.py-steps > .py-step:not(:last-child)::after {
		content: ""; position: absolute; top: 40px; inset-inline-start: 72px; inset-inline-end: -18px; border-top: 2px dashed #A9C7B5; z-index: 0;
	}
}

/* جدول مقایسه */
.py-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--py-line); border-radius: var(--py-radius); background: var(--py-surface); box-shadow: var(--py-shadow); -webkit-overflow-scrolling: touch; }
.py-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.py-table caption { caption-side: top; text-align: start; padding: 12px 16px; color: var(--py-muted); font-size: .85rem; white-space: normal; position: sticky; inset-inline-start: 0; max-width: calc(100vw - 2 * var(--py-gutter, 16px) - 2px); box-sizing: border-box; }
.py-table tfoot .py-btn { white-space: nowrap; }
.py-table th, .py-table td { padding: 12px 14px; text-align: center; border-top: 1px solid var(--py-line); vertical-align: middle; }
.py-table thead th { background: var(--py-primary); color: var(--py-primary-ink); font-weight: 800; border-top: 0; }
.py-table tbody th[scope="row"], .py-table tfoot th[scope="row"] { text-align: start; font-weight: 600; position: sticky; inset-inline-start: 0; background: var(--py-surface); min-width: 150px; }
.py-table tbody .py-table__group th { background: var(--py-primary-soft); color: var(--py-primary-dark); text-align: start; position: static; font-weight: 800; font-size: .85rem; }
.py-table tfoot td, .py-table tfoot th { background: var(--py-bg); }
.py-yes { color: var(--py-primary); } .py-no { color: #9AA9A1; }
.py-yes .py-icon, .py-no .py-icon { width: 22px; height: 22px; }
.py-table-wrap:focus-visible { outline-offset: -3px; }

/* سؤال و جواب */
.py-faq { display: grid; gap: 10px; }
.py-faq__item { background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); }
.py-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 10px 18px; cursor: pointer; list-style: none; font-weight: 700;
}
.py-faq__item summary::-webkit-details-marker { display: none; }
.py-faq__item summary .py-icon { color: var(--py-primary); transition: transform .2s ease; }
.py-faq__item[open] summary .py-icon { transform: rotate(180deg); }
.py-faq__item[open] { box-shadow: var(--py-shadow); border-color: #BBD1C3; }
.py-faq__answer { padding: 0 18px 14px; color: var(--py-muted); }
.py-faq__answer > :last-child { margin-bottom: 0; }

/* فراخوان */
.py-cta { display: flex; flex-direction: column; gap: 18px; padding: 28px 22px; border-radius: 22px; position: relative; overflow: hidden; }
.py-cta h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); margin-bottom: .3em; }
.py-cta p { margin: 0; }
.py-cta--primary { background: var(--py-primary) url("../img/map-pattern.svg") center / cover; color: var(--py-primary-ink); }
.py-cta--dark { background: var(--py-ink); color: #fff; }
.py-cta--soft { background: var(--py-primary-soft); border: 1px solid var(--py-line); }
.py-cta--soft .py-btn--accent { background: var(--py-primary); color: var(--py-primary-ink); }
.py-cta .py-btn { align-self: flex-start; }
@media (min-width: 760px) { .py-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 44px; } .py-cta .py-btn { align-self: center; flex: none; } }

/* یادداشت */
.py-notes { display: flex; gap: 14px; padding: 20px; background: var(--py-surface); border: 1px solid var(--py-line); border-inline-start: 5px solid var(--py-primary); border-radius: var(--py-radius); box-shadow: var(--py-shadow); }
.py-notes--warning { border-inline-start-color: #B7791F; background: #FFFBF0; }
.py-notes__icon { color: var(--py-primary); padding-top: 4px; }
.py-notes--warning .py-notes__icon { color: #8A5A0B; }
.py-notes__icon .py-icon { width: 26px; height: 26px; }
.py-notes__title { font-size: 1.08rem; margin-bottom: .4em; }
.py-notes .py-prose { font-size: .96rem; }
.py-notes .py-prose > :last-child { margin-bottom: 0; }

/* نمونه‌کار */
.py-work { overflow: hidden; display: flex; flex-direction: column; }
.py-work__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.py-work__body { padding: 18px; }
.py-work__title { font-size: 1.08rem; }

/* تماس */
.py-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.py-contact-list a, .py-contact-list__hours { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; }
.py-contact-list--cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.py-contact-list--cards a, .py-contact-list--cards .py-contact-list__hours { padding: 10px 16px; background: var(--py-surface); border: 1px solid var(--py-line); border-radius: var(--py-radius); color: var(--py-ink); box-shadow: var(--py-shadow); }
.py-contact-list--cards .py-icon { color: var(--py-primary); }
.py-contact-list__label { font-weight: 700; }
.py-contact-list__text { color: var(--py-muted); margin-inline-start: auto; }
.py-contact-list__hours .py-contact-list__text { margin-inline-start: auto; text-align: end; }

/* ---------- محتوای متنی ---------- */
.py-page-wrap { padding-block: 14px 56px; }
.py-page__head { margin-bottom: 26px; }
.py-page__title { font-size: clamp(1.7rem, 5.2vw, 2.5rem); font-weight: 900; text-wrap: balance; }
.py-page__lead { color: var(--py-muted); font-size: 1.08rem; }
.py-kicker { margin: 0 0 6px; color: var(--py-primary); font-weight: 800; font-size: .88rem; }
.py-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--py-muted); font-size: .9rem; margin: 0; }
.py-prose { font-size: 1.04rem; line-height: 2; }
.py-prose h2 { font-size: clamp(1.3rem, 4vw, 1.65rem); margin-top: 1.8em; }
.py-prose h3 { font-size: 1.18rem; margin-top: 1.5em; }
.py-prose ul, .py-prose ol { margin-bottom: 1.2em; }
.py-prose li { margin-bottom: .3em; }
.py-prose a { font-weight: 600; }
.py-prose blockquote { margin: 1.4em 0; padding: 4px 18px; border-inline-start: 4px solid var(--py-accent); background: var(--py-surface); border-radius: 0 var(--py-radius-sm) var(--py-radius-sm) 0; color: var(--py-muted); }
.py-prose table { width: 100%; border-collapse: collapse; }
.py-prose th, .py-prose td { border: 1px solid var(--py-line); padding: 8px 10px; }
.py-page .entry-content > .py-section { padding-inline: 0; }
.py-article__cover { margin: 20px 0 0; } .py-article__cover img { display: block; width: 100%; height: auto; border-radius: var(--py-radius); }
.py-article__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 34px; padding: 14px 16px; background: var(--py-primary-soft); border-radius: var(--py-radius); color: var(--py-primary-dark); font-size: .92rem; }
.py-article__note p { margin: 0; } .py-article__note .py-icon { margin-top: .3em; }
.py-related { margin-top: 44px; }
.py-related h2 { font-size: 1.3rem; }
.alignwide { max-width: none; } .alignfull { width: 100%; }
.wp-block-image img, .entry-content img { border-radius: var(--py-radius-sm); }
.entry-content > .wp-block-image { margin-block: 1.4em; }

.py-listing { padding-block: 32px 56px; }
.py-post-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.py-post-card:hover { transform: translateY(-3px); box-shadow: var(--py-shadow-lg); }
.py-post-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.py-post-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.py-post-card__title { font-size: 1.1rem; margin-bottom: .4em; } .py-post-card__title a { color: var(--py-ink); text-decoration: none; }
.py-post-card__title a:hover { color: var(--py-primary); }
.py-post-card__excerpt { color: var(--py-muted); font-size: .95rem; }
.py-post-card__foot { margin: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-links a, .nav-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; background: var(--py-surface); border: 1px solid var(--py-line); border-radius: 999px; text-decoration: none; font-weight: 700; }
.nav-links .current { background: var(--py-primary); color: var(--py-primary-ink); border-color: var(--py-primary); }

.py-search { display: flex; gap: 8px; margin-top: 16px; max-width: 520px; }
.py-input {
	flex: 1; min-width: 0; min-height: 48px; padding: 8px 16px; background: var(--py-surface); color: var(--py-ink); border: 1.5px solid #B9CDC0; border-radius: 999px; font: inherit;
}
.py-input:focus { border-color: var(--py-primary); outline: 3px solid rgba(15, 92, 62, .25); outline-offset: 0; }
.py-404 { padding-block: 40px 64px; text-align: center; }
.py-404 .py-search { margin-inline: auto; }
.py-404__pin { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 12px; background: var(--py-primary); color: var(--py-accent); border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); }
.py-404__pin .py-icon { width: 40px; height: 40px; transform: rotate(45deg); }
.py-404__actions { display: flex; gap: 8px 20px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 24px; }

/* برنامه (درخواست / حساب) */
.py-app { padding-block: 24px 56px; max-width: calc(880px + 2 * var(--py-gutter)); }
.py-app__title { font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 900; }
.py-app__lead { color: var(--py-muted); }
.py-app__content { margin-top: 18px; }
.py-app__content input, .py-app__content select, .py-app__content textarea, .py-app__content button { font-family: inherit; }

/* ---------- پاورقی ---------- */
.py-footer { margin-top: 24px; background: #0B3D2A; color: #DCEBE2; padding-block: 44px 28px; }
.py-footer a { color: #fff; }
.py-footer a:hover { color: var(--py-accent); }
.py-footer__grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .py-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; } }
.py-footer .py-wordmark, .py-footer .py-wordmark__text { color: #fff; }
.py-footer .py-wordmark__mark { color: var(--py-accent); }
.py-footer__tag { margin: 12px 0 6px; font-weight: 700; color: #fff; }
.py-footer__text { color: #C3D8CB; font-size: .94rem; }
.py-footer__h { font-size: 1rem; color: var(--py-accent); margin-bottom: .7em; }
.py-footer__menu a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.py-footer__menu a:hover { text-decoration: underline; }
.py-footer .py-contact-list a, .py-footer .py-contact-list__hours { color: #fff; }
.py-footer .py-contact-list .py-icon { color: var(--py-accent); }
.py-footer .py-contact-list__text { color: #C3D8CB; }
.py-footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; }
.py-footer--app { padding-block: 20px; margin-top: 0; }
.py-footer--app .py-footer__legal { margin-top: 0; padding-top: 0; border: 0; }
.py-disclaimer { color: #C3D8CB; max-width: 60em; }
.py-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; margin: 0; }
.py-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.py-copy { margin-inline-start: auto; color: #A7C2B2; }

/* CTA چسبان موبایل */
.py-sticky-cta {
	display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px var(--py-gutter) calc(10px + env(safe-area-inset-bottom));
	background: rgba(246, 250, 247, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--py-line); box-shadow: 0 -8px 24px -16px rgba(15, 60, 40, .35);
}
@media (max-width: 759px) {
	.py-sticky-cta { display: block; }
	body.py-has-sticky { padding-bottom: 76px; }
	body.py-app-page .py-sticky-cta, body.py-consent-open .py-sticky-cta, body.py-menu-open .py-sticky-cta { display: none; }
	body.py-app-page.py-has-sticky, body.py-consent-open.py-has-sticky { padding-bottom: 0; }
}

/* ---------- حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .py-header, .py-footer, .py-sticky-cta { display: none; } }
.py-textblock{padding-block:36px 8px}
.py-textblock + .py-section{padding-top:28px}
