/* =========================================================================
   سامانه تجربه کارکنان یوچک — main.css
   Tokens mirror design/tokens.css (Phase 4). RTL-first, logical properties.
   ========================================================================= */

:root {
	--c-plum-950: #24132E; --c-plum-900: #2F193B; --c-plum-700: #4A2E5C; --c-plum-50: #F2ECF4;
	--c-coral-500: #EF404C; --c-coral-700: #C2303B; --c-coral-50: #FDE8EA;
	--c-cyan-500: #00C0F3; --c-cyan-800: #00739A; --c-cyan-50: #DFF6FD; --c-mustard: #E2A13B;
	--c-bg: #FAF7F2; --c-bg-alt: #F3EEE6; --c-surface: #FFFFFF; --c-line: #E9E2D7; --c-line-strong: #D8CEC0;
	--c-text: #4A4152; --c-muted: #6E6475; --c-heading: #2F193B;
	--fs-display: 54px; --fs-h1: 44px; --fs-h2: 38px; --fs-h3: 20px; --fs-lead: 19px; --fs-body: 16.5px; --fs-small: 14.5px;
	--r-control: 12px; --r-card: 18px; --r-panel: 24px;
	--sh-md: 0 20px 50px -20px rgba(47, 25, 59, .40); --sh-lg: 0 40px 90px -40px rgba(47, 25, 59, .45);
	--container: 1200px; --gutter: 32px; --sec: 104px; --header-h: 80px;
}
@media (max-width: 960px) {
	:root { --fs-display: 34px; --fs-h1: 30px; --fs-h2: 27px; --fs-body: 16px; --fs-lead: 17px; --gutter: 20px; --sec: 64px; --header-h: 64px; }
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
html.px-lock { overflow: hidden; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-size: var(--fs-body); line-height: 1.95; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: var(--c-plum-900); }
a:hover { color: var(--c-coral-700); }
:focus-visible { outline: 3px solid rgba(0, 192, 243, .55); outline-offset: 2px; border-radius: 6px; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
main.wp-block-group { margin: 0; }
.px-wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; width: 100%; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ---------- typography helpers ---------- */
.px-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: var(--c-coral-700); font-weight: 800; font-size: 17px; line-height: 1.6; }
.px-eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--c-coral-500); }
.px-display { font-size: var(--fs-display) !important; line-height: 1.32 !important; font-weight: 800; margin: 0; color: var(--c-heading); }
.px-h1 { font-size: var(--fs-h1) !important; line-height: 1.4 !important; margin: 0; }
.px-h2 { font-size: var(--fs-h2) !important; line-height: 1.45 !important; margin: 0; }
.px-h3 { font-size: var(--fs-h3) !important; line-height: 1.6 !important; font-weight: 700 !important; margin: 0; }
.px-lead { font-size: var(--fs-lead); line-height: 1.9; margin: 0; }
.px-tagline { font-size: 22px; font-weight: 600; color: var(--c-heading); margin: 0; }
.px-sm { font-size: var(--fs-small); line-height: 1.85; color: var(--c-muted); margin: 0; }
.px-num { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 800; color: var(--c-coral-700); }
.px-more { margin: 0; }
.px-more a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--c-coral-500); padding-bottom: 1px; }
.px-center { text-align: center; }

/* ---------- sections ---------- */
.px-sec { padding-block: var(--sec); margin: 0 !important; }
.px-sec--tight { padding-block: calc(var(--sec) * .6); }
.px-sec--top0 { padding-top: 0; }
.px-bg-white { background: var(--c-surface); }
.px-bg-alt { background: var(--c-bg-alt); }
.px-bg-dark { background: var(--c-plum-900); color: #E9E1EE; }
.px-bg-dark :is(h1, h2, h3, .px-h2, .px-h3, strong) { color: #fff; }
.px-bg-dark .px-lead, .px-bg-dark .px-sm { color: #D9CFE0; }
.px-bg-dark .px-eyebrow { color: #FF8A92; }
.px-bg-dark .px-more a { color: #fff; }
.px-head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-bottom: 44px !important; }
.px-head > * { margin: 0 !important; }
.px-head--center { margin-inline: auto; text-align: center; align-items: center; }
.px-head--split { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: end; }
.px-stack { display: flex; flex-direction: column; gap: 18px; }
.px-stack > * { margin: 0 !important; }

/* ---------- grids ---------- */
.px-grid { display: grid; gap: 24px; }
.px-grid > * { margin: 0 !important; }
.px-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.px-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.px-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.px-grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.px-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.px-split--wide-visual { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.px-split--visual-first { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.px-split > * { margin: 0 !important; }

/* ---------- cards ---------- */
.px-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 28px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; }
.px-card > * { margin: 0 !important; }
.px-card--sand { background: var(--c-bg); }
.px-card--accent { border-top: 3px solid var(--c-coral-500); }
.px-card--link { text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.px-card--link:hover { border-color: var(--c-plum-900); transform: translateY(-2px); box-shadow: var(--sh-md); color: inherit; }
.px-card--row { flex-direction: row; align-items: flex-start; gap: 16px; }
.px-stat { text-align: center; padding: 20px; }
.px-stat__value { font-size: 30px !important; line-height: 1.5 !important; font-weight: 800; color: var(--c-heading); margin: 0; }
.px-ico-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--c-plum-50); color: var(--c-plum-900); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.px-ico-tile--coral { background: var(--c-coral-50); color: var(--c-coral-700); }
.px-ico-tile--cyan { background: var(--c-cyan-50); color: var(--c-cyan-800); }
.px-ico-tile--dark { background: var(--c-plum-900); color: #fff; }

/* cycle (on dark) */
.px-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.px-steps > * { margin: 0 !important; }
.px-step { border-top: 2px solid var(--c-coral-500); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.px-step:nth-child(3n+2) { border-color: var(--c-mustard); }
.px-step:nth-child(3n) { border-color: var(--c-cyan-500); }
.px-step > * { margin: 0 !important; }
.px-step__en { font-size: 13px; direction: ltr; text-align: right; color: var(--c-muted); }
.px-bg-dark .px-step__en { color: #B9AAC4; }
.px-step__title { font-size: 19px; font-weight: 700; color: var(--c-heading); }
.px-bg-dark .px-step__title { color: #fff; }

/* ---------- chips & lists ---------- */
ul.px-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
ul.px-chips li { margin: 0; }
ul.px-chips li > a, ul.px-chips li > span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1px solid #E2D9CC; color: var(--c-heading); font-size: 15px; font-weight: 500; text-decoration: none; }
ul.px-chips li > a:hover { border-color: var(--c-plum-900); }
ul.px-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
ul.px-checks li { position: relative; padding-inline-start: 34px; margin: 0; }
ul.px-checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-plum-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- buttons ---------- */
.px-btn, .wp-block-button[class*="is-style-px-"] .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-control);
	font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none; box-sizing: border-box; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s;
}
.px-btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.px-btn--primary, .is-style-px-primary .wp-block-button__link { background: var(--c-plum-900); color: #fff; }
.px-btn--primary:hover, .is-style-px-primary .wp-block-button__link:hover { background: var(--c-plum-700); color: #fff; }
.px-btn--secondary, .is-style-px-secondary .wp-block-button__link { background: #fff; color: var(--c-plum-900); box-shadow: inset 0 0 0 1.5px var(--c-plum-900); }
.px-btn--secondary:hover, .is-style-px-secondary .wp-block-button__link:hover { background: #F7F3F8; color: var(--c-plum-900); }
.px-btn--light, .is-style-px-light .wp-block-button__link { background: #fff; color: var(--c-plum-900); }
.px-btn--light:hover, .is-style-px-light .wp-block-button__link:hover { background: var(--c-bg-alt); color: var(--c-plum-900); }
.px-btn--outline, .is-style-px-outline .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .65); }
.px-btn--outline:hover, .is-style-px-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.wp-block-buttons { gap: 14px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button__link .px-ico, .px-btn .px-ico { width: 20px; height: 20px; }

/* ---------- images / screenshots ---------- */
.px-shot, .wp-block-image.is-style-px-shot { margin: 0; border-radius: var(--r-card); border: 1px solid #E6DED2; box-shadow: var(--sh-lg); background: #fff; overflow: hidden; }
.px-shot img, .wp-block-image.is-style-px-shot img { display: block; width: 100%; height: auto; border-radius: 0; }
.wp-block-image.px-photo { margin: 0; }
.wp-block-image.px-photo img { border-radius: var(--r-panel); display: block; }
.px-ph { background: repeating-linear-gradient(45deg, #EAE3D8 0 10px, #F3EEE6 10px 20px); border: 1px dashed var(--c-line-strong); border-radius: var(--r-card); padding: 40px; text-align: center; color: var(--c-muted); }

/* ---------- table ---------- */
.wp-block-table.px-table { margin: 0; overflow-x: auto; }
.wp-block-table.px-table table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; font-size: 15.5px; }
.wp-block-table.px-table th { background: var(--c-plum-900); color: #fff; font-weight: 700; text-align: right; padding: 16px 22px; border: 0; }
.wp-block-table.px-table td { padding: 16px 22px; border: 0; border-top: 1px solid #EFE8DE; vertical-align: top; }
.wp-block-table.px-table td:first-child { font-weight: 700; color: var(--c-heading); }

/* ---------- FAQ ---------- */
.px-faqs { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.px-faqs > * { margin: 0 !important; }
.wp-block-details.px-faq { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; padding: 20px 24px; }
.wp-block-details.px-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; color: var(--c-heading); font-size: 17px; cursor: pointer; }
.wp-block-details.px-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.px-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--c-coral-700); }
.wp-block-details.px-faq[open] summary::after { content: "−"; }
.wp-block-details.px-faq > p { margin: 12px 0 0; color: var(--c-text); font-size: 15.5px; }

/* ---------- header ---------- */
.px-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid #EAE3D8; transition: box-shadow .2s; }
.admin-bar .px-header { top: 32px; }
.px-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(47, 25, 59, .35); }
.px-header__bar { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.px-header__end { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.px-logo { display: block; direction: ltr; }
.px-logo img { height: 40px; width: auto; display: block; }
.px-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.px-nav__item { position: relative; margin: 0; }
.px-nav__link, .px-nav__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 10px; background: none; border: 0; font: inherit; font-size: 15.5px; font-weight: 500; color: var(--c-heading); text-decoration: none; cursor: pointer; }
.px-nav__link:hover, .px-nav__toggle:hover, .px-nav__toggle[aria-expanded="true"] { background: var(--c-plum-50); color: var(--c-heading); }
.px-nav__link[aria-current="page"] { font-weight: 700; }
.px-nav__toggle .px-ico { transition: transform .15s; }
.px-nav__toggle[aria-expanded="true"] .px-ico { transform: rotate(180deg); }
.px-sub { position: absolute; top: calc(100% + 10px); inset-inline-start: 0; background: #fff; border: 1px solid var(--c-line); border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(47, 25, 59, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.px-nav__item.has-sub:hover > .px-sub, .px-nav__item.has-sub:focus-within > .px-sub, .px-nav__toggle[aria-expanded="true"] + .px-sub { opacity: 1; visibility: visible; transform: none; }
.px-drop { list-style: none; margin: 0; padding: 12px; min-width: 280px; }
.px-drop li { margin: 0; }
.px-drop a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--c-heading); }
.px-drop a:hover { background: #F7F3F8; }
.px-nav__item.is-mega { position: static; }
.px-mega { inset-inline: var(--gutter); max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.px-mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .9fr); gap: 32px; padding: 28px 32px; }
.px-mega__heading { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--c-coral-700); }
.px-mega__link { display: block; padding: 8px 12px; margin-inline: -12px; border-radius: 10px; text-decoration: none; color: var(--c-heading); font-weight: 600; font-size: 15.5px; }
.px-mega__link:hover { background: #F7F3F8; color: var(--c-heading); }
.px-mega__link small { display: block; font-weight: 400; color: var(--c-muted); font-size: 13px; line-height: 1.6; }
.px-mega__promo { display: block; align-self: start; border-radius: 14px; overflow: hidden; box-shadow: var(--sh-md); transition: transform .15s; }
.px-mega__promo:hover { transform: translateY(-3px); }
.px-mega__promo img { display: block; width: 100%; height: 270px; object-fit: cover; object-position: top; }
.px-mega__promo p { margin: 0; }
.px-mega__promo-title { color: #fff; font-weight: 700; font-size: 16px; }
.px-mega__promo a { margin-top: auto; color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--c-coral-500); align-self: flex-start; }
.px-mega__foot { display: flex; justify-content: space-between; gap: 16px; padding: 14px 32px; border-top: 1px solid #EFE8DE; background: var(--c-bg); border-radius: 0 0 18px 18px; font-size: 13.5px; color: var(--c-muted); }
.px-mega__foot a { font-weight: 700; text-decoration: none; font-size: 15px; }
.px-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #E2D9CC; background: #fff; color: var(--c-heading); align-items: center; justify-content: center; cursor: pointer; }
.px-mmenu { border-top: 1px solid var(--c-line); background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.px-mmenu__group, .px-mmenu__link { display: block; border-bottom: 1px solid #EFE8DE; }
.px-mmenu__group summary, .px-mmenu__link { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 20px; font-weight: 700; color: var(--c-heading); text-decoration: none; font-size: 17px; cursor: pointer; }
.px-mmenu__group summary::-webkit-details-marker { display: none; }
.px-mmenu__group summary::after { content: "+"; color: var(--c-coral-700); font-size: 20px; }
.px-mmenu__group[open] summary::after { content: "−"; }
.px-mmenu__sub { background: var(--c-bg); padding: 4px 0 12px; }
.px-mmenu__sub a { display: flex; align-items: center; min-height: 46px; padding: 0 20px; color: var(--c-heading); text-decoration: none; font-size: 15.5px; }
.px-mmenu__heading { margin: 12px 20px 2px; font-size: 12.5px; font-weight: 700; color: var(--c-coral-700); }
.px-mmenu__cta { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.px-mmenu__login { text-align: center; color: var(--c-muted); font-size: 14px; }
@media (min-width: 961px) { .px-mmenu { display: none !important; } }
@media (max-width: 960px) {
	.px-nav, .px-header__end .px-btn { display: none; }
	.px-burger { display: inline-flex; }
	.px-header__bar { gap: 10px; }
	.px-logo img { height: 32px; }
	.admin-bar .px-header { top: 46px; }
}

/* ---------- breadcrumbs ---------- */
.px-crumbs { padding-top: 22px; font-size: 13.5px; color: var(--c-muted); }
.px-crumbs .rank-math-breadcrumb p { margin: 0; }
.px-crumbs a { color: var(--c-muted); text-decoration: none; }
.px-crumbs .last { color: var(--c-heading); }

/* ---------- hero ---------- */
.px-hero { padding-top: 80px; overflow: hidden; }
.px-hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 880px; margin-inline: auto; }
.px-hero__copy > * { margin: 0 !important; }
.px-hero-visual { position: relative; margin-top: 56px; }
.px-page-hero { padding-top: 36px; }
.px-pattern { display: grid; position: absolute; pointer-events: none; }
.px-pattern i { display: block; width: 56px; height: 56px; }
.px-pattern--hero { grid-template-columns: repeat(3, 56px); inset-inline-end: -28px; top: -28px; z-index: 0; }
.px-pattern--hero i:nth-child(1) { background: var(--c-plum-900); border-radius: 56px 0 0 0; }
.px-pattern--hero i:nth-child(2) { background: var(--c-coral-500); }
.px-pattern--hero i:nth-child(3) { background: radial-gradient(circle, var(--c-cyan-500) 0 44%, var(--c-bg-alt) 45%); }
.px-pattern--hero i:nth-child(4) { background: linear-gradient(135deg, var(--c-mustard) 50%, var(--c-bg-alt) 50%); }
.px-pattern--hero i:nth-child(5) { background: repeating-linear-gradient(0deg, var(--c-plum-900) 0 5px, var(--c-bg-alt) 5px 12px); }
.px-pattern--hero i:nth-child(6) { background: var(--c-cyan-500); border-radius: 0 0 0 56px; }
.px-hero-visual .px-shot { position: relative; z-index: 1; }
.px-float { position: absolute; z-index: 2; inset-inline-start: -24px; bottom: 56px; display: flex; gap: 14px; align-items: center; max-width: 340px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-card); padding: 16px 20px; box-shadow: var(--sh-md); }
.px-float__ico { width: 46px; height: 46px; border-radius: 14px; background: var(--c-plum-900); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.px-float strong { display: block; color: var(--c-heading); font-size: 15px; }
.px-float small { display: block; color: var(--c-muted); font-size: 13.5px; line-height: 1.7; }

/* animated heatmap layer */
.px-hm { position: relative; }
.px-hm__layer { position: absolute; inset: 0; pointer-events: none; }
.px-hm__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.px-hm__ring { fill: none; stroke: var(--c-coral-500); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; vector-effect: non-scaling-stroke; animation: 16s ease-in-out infinite; }
.px-hm__ring--1 { animation-name: pxRing1; } .px-hm__ring--2 { animation-name: pxRing2; } .px-hm__ring--3 { animation-name: pxRing3; } .px-hm__ring--4 { animation-name: pxRing4; }
.px-hm__label { position: absolute; background: var(--c-plum-900); color: #fff; font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(47, 25, 59, .55); opacity: 0; animation: 16s infinite; }
.px-hm__label--1 { animation-name: pxLab1; } .px-hm__label--2 { animation-name: pxLab2; } .px-hm__label--3 { animation-name: pxLab3; } .px-hm__label--4 { animation-name: pxLab4; }
.px-hm__cursor { position: absolute; width: 30px; height: 30px; margin: -3px 0 0 -3px; filter: drop-shadow(0 4px 6px rgba(47, 25, 59, .35)); animation: pxCursor 16s infinite; }
@keyframes pxCursor { 0% { left: 55%; top: 77%; } 6%, 25% { left: 72.4%; top: 65%; } 31%, 50% { left: 13%; top: 65%; } 56%, 75% { left: 45%; top: 34%; } 81%, 100% { left: 55%; top: 77%; } }
@keyframes pxRing1 { 0%, 6% { stroke-dashoffset: 100; opacity: 1; } 13%, 23% { stroke-dashoffset: 0; opacity: 1; } 26%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pxRing2 { 0%, 31% { stroke-dashoffset: 100; opacity: 1; } 38%, 48% { stroke-dashoffset: 0; opacity: 1; } 51%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pxRing3 { 0%, 56% { stroke-dashoffset: 100; opacity: 1; } 63%, 73% { stroke-dashoffset: 0; opacity: 1; } 76%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pxRing4 { 0%, 81% { stroke-dashoffset: 100; opacity: 1; } 88%, 97% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pxLab1 { 0%, 12% { opacity: 0; transform: translateY(8px); } 15%, 23% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; } }
@keyframes pxLab2 { 0%, 37% { opacity: 0; transform: translateY(8px); } 40%, 48% { opacity: 1; transform: none; } 51%, 100% { opacity: 0; } }
@keyframes pxLab3 { 0%, 62% { opacity: 0; transform: translateY(8px); } 65%, 73% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; } }
@keyframes pxLab4 { 0%, 87% { opacity: 0; transform: translateY(8px); } 90%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.px-hm__layer * { animation: none !important; }
	.px-hm__ring { stroke-dashoffset: 0; opacity: 1; }
	.px-hm__label { opacity: 1; }
	.px-hm__cursor { display: none; }
	html { scroll-behavior: auto; }
}

/* ---------- logos ---------- */
.px-logos__title { text-align: center; color: var(--c-muted); font-size: 14.5px; margin: 0 0 22px; }
.px-logos__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: center; }
.px-logos__list li { position: relative; height: 72px; display: flex; align-items: center; justify-content: center; margin: 0; }
.px-logos__list img { height: auto; max-height: var(--h); width: auto; max-width: 100%; display: block; transition: opacity .2s; }
.px-logos__color { position: absolute; opacity: 0; }
.px-logos__list li:hover .px-logos__mono { opacity: 0; }
.px-logos__list li:hover .px-logos__color { opacity: 1; }

/* ---------- ISO band ---------- */
.px-band { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-panel); padding: 44px 48px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.px-band > * { margin: 0 !important; }
.px-band__copy { flex: 1 1 560px; display: flex; flex-direction: column; gap: 12px; }
.px-band__copy > * { margin: 0 !important; }

/* ---------- CTA band ---------- */
.px-cta { position: relative; overflow: hidden; background: var(--c-plum-900); color: #CFC3D8; }
.px-cta__inner { position: relative; z-index: 1; padding-block: 96px; display: flex; flex-direction: column; gap: 20px; }
.px-cta__inner > * { max-width: 760px; }
.px-cta__title { margin: 0; color: #fff; font-size: 40px; font-weight: 800; line-height: 1.45; }
.px-cta__phone { color: #fff; font-size: 44px; font-weight: 800; text-decoration: none; align-self: flex-start; }
.px-cta__phone:hover { color: #fff; }
.px-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.px-cta__meta { margin: 0; font-size: 15px; }
.px-pattern--cta { inset-inline-start: 0; top: 0; grid-template-columns: repeat(2, 96px); grid-auto-rows: 96px; opacity: .9; }
.px-pattern--cta i { width: 96px; height: 96px; }
.px-pattern--cta i:nth-child(1) { background: var(--c-coral-500); border-radius: 0 0 96px 0; }
.px-pattern--cta i:nth-child(2) { background: radial-gradient(circle, var(--c-cyan-500) 0 40%, transparent 41%); }
.px-pattern--cta i:nth-child(3) { background: repeating-linear-gradient(90deg, var(--c-plum-700) 0 6px, transparent 6px 14px); }
.px-pattern--cta i:nth-child(4) { background: var(--c-mustard); border-radius: 96px 0 0 0; }
.px-pattern--cta i:nth-child(5) { background: linear-gradient(135deg, var(--c-cyan-500) 50%, transparent 50%); }
.px-pattern--cta i:nth-child(6) { background: var(--c-plum-700); border-radius: 50%; }
@media (max-width: 1200px) { .px-pattern--cta { opacity: .25; } }

/* ---------- contact ---------- */
.px-contact { display: flex; flex-direction: column; gap: 20px; }
.px-contact__call { position: relative; overflow: hidden; background: var(--c-plum-900); border-radius: var(--r-panel); padding: 40px 44px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.px-contact__ico { position: relative; width: 64px; height: 64px; border-radius: 16px; background: #fff; color: var(--c-plum-900); display: flex; align-items: center; justify-content: center; flex: none; }
.px-contact__num { position: relative; flex: 1 1 320px; display: flex; flex-direction: column; color: #CFC3D8; font-size: 15px; }
.px-contact__num a { color: #fff; font-size: 48px; font-weight: 800; line-height: 1.4; text-decoration: none; align-self: flex-start; }
.px-pattern--corner { inset-inline-start: 0; top: 0; grid-template-columns: repeat(2, 72px); grid-auto-rows: 72px; }
.px-pattern--corner i { width: 72px; height: 72px; }
.px-pattern--corner i:nth-child(1) { background: var(--c-coral-500); border-radius: 0 0 72px 0; }
.px-pattern--corner i:nth-child(2) { background: radial-gradient(circle, var(--c-cyan-500) 0 40%, transparent 41%); }
.px-pattern--corner i:nth-child(3) { background: var(--c-mustard); border-radius: 72px 0 0 0; }
.px-pattern--corner i:nth-child(4) { background: repeating-linear-gradient(90deg, var(--c-plum-700) 0 6px, transparent 6px 14px); }
.px-contact__call .px-btn { position: relative; min-width: 220px; }
.px-contact__item { flex-direction: row; align-items: center; gap: 16px; }
.px-contact__item strong { display: block; color: var(--c-heading); font-size: 19px; }
.px-contact__item small { display: block; color: var(--c-muted); font-size: 14.5px; }
.px-map-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* forms (Fluent Forms) */
.fluentform .ff-el-form-control { border: 1px solid var(--c-line-strong) !important; border-radius: var(--r-control) !important; min-height: 50px; font-family: inherit !important; font-size: 16px !important; }
.fluentform .ff-el-form-control:focus { border-color: var(--c-cyan-800) !important; box-shadow: 0 0 0 3px rgba(0, 192, 243, .35) !important; }
.fluentform .ff-btn-submit { background: #fff !important; color: var(--c-plum-900) !important; box-shadow: inset 0 0 0 1.5px var(--c-plum-900) !important; border-radius: var(--r-control) !important; min-height: 52px; padding: 0 26px !important; font-weight: 700 !important; font-family: inherit !important; }
.fluentform .ff-el-input--label label { font-weight: 600; color: var(--c-heading); }

/* ---------- mobile bar ---------- */
.px-mbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid #E2D9CC; box-shadow: 0 -10px 30px -12px rgba(47, 25, 59, .25); transform: translateY(110%); transition: transform .25s; }
.px-mbar .px-btn { flex: 1; }
.px-mbar.is-visible { transform: none; }
@media (max-width: 960px) {
	.px-mbar { display: flex; }
	body:has(.px-mbar) .px-footer { padding-bottom: 96px; }
}

/* ---------- footer ---------- */
.px-footer { background: var(--c-plum-950); color: #CFC3D8; padding-top: 64px; font-size: 14.5px; }
.px-footer a { color: #CFC3D8; text-decoration: none; }
.px-footer a:hover { color: #fff; }
.px-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 28px; }
.px-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.px-footer__brand p { margin: 0; line-height: 1.9; }
.px-footer__brand img { height: 36px; width: auto; align-self: flex-start; }
.px-footer__phone { color: #fff !important; font-size: 24px; font-weight: 800; direction: ltr; text-align: right; }
.px-footer__addr { font-size: 13.5px; }
.px-footer__heading { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: 15px; }
.px-footer__col ul { list-style: none; margin: 0; padding: 0; }
.px-footer__col li { margin: 0; padding: 4px 0; }
.px-footer__badges { display: flex; gap: 12px; margin-top: 32px; }
.px-badge { min-width: 84px; height: 84px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--c-muted); font-size: 12.5px; text-align: center; padding: 6px; box-sizing: border-box; }
.px-footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- blog / archives ---------- */
.px-archive-head { padding-block: 56px 40px; }
.px-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.px-posts .wp-block-post { margin: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.px-posts .wp-block-post-featured-image { margin: 0; aspect-ratio: 16 / 9; background: var(--c-bg-alt); }
.px-posts .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.px-posts .wp-block-post-title { font-size: 19px !important; line-height: 1.6; margin: 18px 22px 6px; }
.px-posts .wp-block-post-title a { text-decoration: none; }
.px-posts .wp-block-post-excerpt { margin: 0 22px 22px; font-size: 14.5px; color: var(--c-muted); }
.px-empty { padding: 40px; text-align: center; background: #fff; border: 1px dashed var(--c-line-strong); border-radius: var(--r-card); color: var(--c-muted); }
.px-article { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); padding-block: 32px 72px; }
.px-article .wp-block-post-title { font-size: var(--fs-h1); line-height: 1.5; margin: 12px 0; }
.px-article .wp-block-post-content > * + * { margin-top: 1.1em; }
.px-article .wp-block-post-content h2 { font-size: 28px; margin-top: 1.6em; }
.px-article .wp-block-post-content h3 { font-size: 21px; margin-top: 1.4em; }
.px-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--c-muted); font-size: 14px; }
.px-meta > * { margin: 0 !important; }
.wp-block-query-pagination { margin-top: 40px; gap: 12px; justify-content: center; }
.px-search { display: flex; gap: 10px; max-width: 560px; }
.px-search .wp-block-search__input { border: 1px solid var(--c-line-strong); border-radius: var(--r-control); min-height: 50px; padding: 0 14px; font: inherit; }
.px-search .wp-block-search__button { background: var(--c-plum-900); color: #fff; border-radius: var(--r-control); border: 0; min-height: 50px; padding: 0 22px; font: inherit; font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
	.px-grid-2, .px-grid-3, .px-grid-4, .px-split, .px-split--wide-visual, .px-split--visual-first, .px-head--split { grid-template-columns: 1fr; }
	.px-grid-6, .px-logos__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.px-steps { grid-template-columns: 1fr; }
	.px-hero { padding-top: 40px; }
	.px-hero__copy { align-items: stretch; text-align: right; }
	.px-hero__copy .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.px-hero__copy .wp-block-button, .px-hero__copy .wp-block-button__link { width: 100%; }
	.px-hm__label { font-size: 11px; padding: 4px 9px; }
	.px-float { position: static; margin-top: 16px; max-width: none; }
	.px-pattern--hero { display: none; }
	.px-band { padding: 28px 24px; }
	.px-cta__title { font-size: 27px; }
	.px-cta__phone { font-size: 32px; }
	.px-cta__btns .px-btn { flex: 1 1 100%; }
	.px-contact__call { padding: 28px 24px; }
	.px-contact__num a { font-size: 34px; }
	.px-footer__grid { grid-template-columns: 1fr 1fr; }
	.px-footer__brand { grid-column: 1 / -1; }
	.px-posts { grid-template-columns: 1fr; }
	.px-card { padding: 22px; }
}
@media (max-width: 560px) {
	.px-hm__label, .px-hm__cursor { display: none; }
	.px-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- 360 rater comparison (demo illustration) ---------- */
.px-raters { background: var(--c-bg-alt); border-radius: var(--r-panel); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.px-raters__title { margin: 0; font-weight: 700; color: var(--c-heading); font-size: 14.5px; }
.px-raters__title span { color: var(--c-muted); font-weight: 400; }
.px-raters__row { display: grid; grid-template-columns: 110px 1fr 40px; gap: 14px; align-items: center; color: var(--c-heading); font-weight: 600; }
.px-raters__row i { height: 12px; background: #E6DDD0; border-radius: 6px; overflow: hidden; display: block; }
.px-raters__row b { display: block; height: 12px; border-radius: 6px; background: var(--c-plum-900); }
.px-raters__row em { font-style: normal; font-weight: 800; }

/* stretched link for link cards */
.px-card--link { position: relative; }
.px-card--link .px-h3 a { text-decoration: none; }
.px-card--link .px-h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.px-card--link .px-more { position: relative; z-index: 1; }
@media (max-width: 960px) { .px-pattern--corner { opacity: .18; } }

/* ---------- v1.1 feedback ---------- */
.px-wrap > .px-grid + .px-chips, .px-wrap > .px-grid + ul.px-chips, .px-stack + ul.px-chips { margin-top: 40px !important; }
.px-badge img { max-width: 100%; max-height: 64px; width: auto; height: auto; display: block; }
.px-footer__badges { align-items: center; }
ul.px-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
ul.px-social li { margin: 0; }
.px-social--footer a { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff !important; }
.px-social--footer a:hover { background: var(--c-coral-500); }
.px-social--footer span, .px-social--footer small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.px-social--contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.px-social--contact a { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-heading); font-weight: 700; }
.px-social--contact a:hover { border-color: var(--c-plum-900); }
.px-social--contact .px-ico { width: 24px; height: 24px; color: var(--c-coral-700); }
.px-social--contact small { margin-inline-start: auto; color: var(--c-muted); font-weight: 400; }
@media (max-width: 960px) { .px-social--contact { grid-template-columns: 1fr; } }
.px-ico-tile--mustard { background: #FBEFD9; color: #9A6312; }
.px-qlist { list-style: none; margin: 0; padding: 0; counter-reset: q; display: flex; flex-direction: column; gap: 10px; }
.px-qlist li { counter-increment: q; position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 14px 18px 14px 18px; padding-inline-start: 56px; margin: 0; color: var(--c-heading); }
.px-qlist li::before { content: counter(q, persian); position: absolute; inset-inline-start: 18px; top: 14px; width: 26px; height: 26px; border-radius: 8px; background: var(--c-plum-50); color: var(--c-plum-900); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.px-qlist li small { display: block; color: var(--c-muted); font-size: 13px; }
.px-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.px-scale > * { margin: 0 !important; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 10px; text-align: center; font-size: 13.5px; color: var(--c-heading); }
.px-enps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.px-enps > * { margin: 0 !important; }
.px-enps .px-card { border-top-width: 4px; }
.px-enps .is-pro { border-top-color: #3E7BD6; } .px-enps .is-pas { border-top-color: var(--c-mustard); } .px-enps .is-det { border-top-color: var(--c-coral-500); }
.px-formula { background: var(--c-plum-900); color: #fff; border-radius: var(--r-card); padding: 26px 28px; font-size: 20px; font-weight: 800; text-align: center; }
.px-formula span { color: #FF8A92; }
.px-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.px-gallery > * { margin: 0 !important; }
.px-gallery figcaption, .px-caption { margin-top: 10px; font-size: 14px; color: var(--c-muted); text-align: center; }
@media (max-width: 960px) { .px-gallery, .px-enps, .px-scale { grid-template-columns: 1fr; } }

/* v1.2 — screenshot zoom */
img[data-px-zoom] { cursor: zoom-in; transition: transform .2s ease; }
img[data-px-zoom]:focus-visible { outline: 3px solid var(--c-cyan, #00C0F3); outline-offset: -3px; }
@media (hover: hover) { .wp-block-image.is-style-px-shot:hover img[data-px-zoom] { transform: scale(1.01); } }
.px-zoom { padding: 0; border: 0; border-radius: 12px; max-width: min(96vw, 1800px); max-height: 94vh; background: #fff; box-shadow: 0 30px 80px rgba(20, 8, 30, .45); overflow: auto; }
.px-zoom::backdrop { background: rgba(26, 12, 34, .78); }
.px-zoom img { display: block; width: 100%; height: auto; max-width: none; }
@media (max-width: 960px) { .px-zoom { max-width: 100vw; max-height: 100vh; width: 100vw; border-radius: 0; } .px-zoom img { width: 200%; } }
.px-zoom__close { position: sticky; top: 8px; float: left; margin: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--c-plum, #2F193B); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; z-index: 1; }
.px-demo-note { margin-top: 14px; font-size: 13px; color: var(--c-muted); text-align: center; }
/* Tall screenshots (reports, mobile, forms) stay compact in galleries; zoom shows the full image. */
.px-gallery .is-style-px-shot img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top center; }

/* v1.3 — articles */
.px-callout { margin-block: 1.6em; padding: 20px 22px; border-radius: 14px; background: var(--c-sand-2, #F3EEE6); border-inline-start: 4px solid var(--c-coral, #EF404C); }
.px-callout p { margin: 0; }
.px-callout p + p { margin-top: 6px; }
.px-callout__title { color: var(--c-plum, #2F193B); }
.px-sources { font-size: 14.5px; color: var(--c-muted); }
.px-sources a { word-break: break-word; }
.px-article .wp-block-table table { width: 100%; }
.px-article .px-table { overflow-x: auto; }
.wp-block-post-template .wp-block-post-featured-image img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top center; }
/* Contact form: comfortable tap target for the privacy checkbox */
.fluentform .ff_tc_checkbox input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--c-plum, #2F193B); vertical-align: middle; margin-inline-end: 6px; cursor: pointer; }
.fluentform .ff_tc_label { cursor: pointer; line-height: 1.9; }
.px-badge--enamad img { width: 72px; height: auto; display: block; }
