/* ==========================================================================
   PakSanat — پاک‌صنعت | استایل اصلی قالب
   کانسپت: «فولادِ تمیز» — گرافیت + آبی فولادی + نارنجی ایمنی
   موبایل‌فرست، منطقی (logical properties)، بدون وابستگی خارجی
   ========================================================================== */

/* ---------- 1) فونت‌ها ---------- */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/vazirmatn-arabic-400-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/vazirmatn-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/vazirmatn-arabic-500-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/vazirmatn-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/vazirmatn-arabic-700-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/vazirmatn-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/vazirmatn-arabic-900-normal.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/vazirmatn-latin-900-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 2) توکن‌ها ---------- */
:root {
  --ps-ink: #0A1620;
  --ps-steel: #12242F;
  --ps-steel-2: #1B3341;
  --ps-primary: #0B6E93;
  --ps-primary-dark: #08506D;
  --ps-accent: #FF6A13;
  --ps-accent-dark: #DE5705;
  --ps-amber: #FFC53D;
  --ps-bg: #F4F7F9;
  --ps-line: #DDE5EA;
  --ps-muted: #5A6B77;
  --ps-white: #FFFFFF;
  --ps-ok: #1E9E6A;
  --ps-err: #D64545;

  --ps-radius: 4px;
  --ps-radius-lg: 8px;
  --ps-shadow-1: 0 2px 8px rgba(10, 22, 32, 0.06);
  --ps-shadow-2: 0 14px 34px rgba(10, 22, 32, 0.12);
  --ps-shadow-3: 0 24px 60px rgba(10, 22, 32, 0.22);
  --ps-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ps-header-h: 76px;
  --ps-container: 1180px;
  --ps-gutter: clamp(16px, 4vw, 28px);
}

/* ---------- 3) ریست و پایه ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ps-ink);
  background-color: var(--ps-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin-block: 0 0.6em;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -0.01em;
}

p {
  margin-block: 0 1em;
}

a {
  color: var(--ps-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ps-accent);
}

ul, ol {
  margin-block: 0;
  padding-inline-start: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--ps-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--ps-amber);
  color: var(--ps-ink);
}

/* ---------- 4) ابزارها ---------- */
.container {
  width: 100%;
  max-width: var(--ps-container);
  margin-inline: auto;
  padding-inline: var(--ps-gutter);
}

.ps-main {
  display: block;
  min-height: 40vh;
}

.ps-section {
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;
}

.ps-section--tint {
  background-color: #EDF2F5;
  border-block: 1px solid var(--ps-line);
}

.ps-section--dark {
  background-color: var(--ps-ink);
  color: #DCE4EA;
  background-image:
    radial-gradient(circle at 85% -10%, rgba(11, 110, 147, 0.35), transparent 45%),
    radial-gradient(circle at -10% 110%, rgba(255, 106, 19, 0.14), transparent 40%);
}

.ps-section--dark .ps-section-title {
  color: var(--ps-white);
}

.ps-section--plain {
  padding-block: clamp(32px, 4vw, 56px);
}

.ps-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ps-skip {
  position: fixed;
  inset-block-start: -60px;
  inset-inline-start: 16px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ps-ink);
  color: #fff;
  border-radius: 0 0 var(--ps-radius) var(--ps-radius);
  transition: inset-block-start 0.2s ease;
}

.ps-skip:focus {
  inset-block-start: 0;
  color: #fff;
}

/* هدر بخش */
.ps-section-head {
  max-width: 720px;
  margin-block-end: clamp(28px, 4vw, 46px);
}

.ps-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.ps-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ps-primary);
  margin-block-end: 10px;
  letter-spacing: 0.02em;
}

.ps-eyebrow::before {
  content: '';
  inline-size: 22px;
  block-size: 3px;
  background: var(--ps-amber);
  border-radius: 3px;
}

.ps-eyebrow--light {
  color: var(--ps-amber);
}

.ps-section-title {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem);
  font-weight: 900;
  color: var(--ps-ink);
  line-height: 1.45;
}

.ps-section-desc {
  color: var(--ps-muted);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  margin-block: 12px 0;
}

.ps-section--dark .ps-section-desc {
  color: #A9B7C1;
}

.ps-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-start: 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ps-primary);
}

.ps-more-link .ps-icon {
  transition: transform 0.25s var(--ps-ease);
}

.ps-more-link:hover .ps-icon {
  transform: translateX(-4px);
}

/* دکمه‌ها */
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85em 1.7em;
  border: 2px solid transparent;
  border-radius: var(--ps-radius);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.4;
  cursor: pointer;
  transition: transform 0.22s var(--ps-ease), box-shadow 0.22s var(--ps-ease), background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  min-block-size: 46px;
  text-align: center;
}

.ps-btn:hover {
  transform: translateY(-3px);
}

.ps-btn .ps-icon {
  transition: transform 0.25s var(--ps-ease);
}

.ps-btn:hover .ps-icon {
  transform: translateX(-4px);
}

.ps-btn--accent {
  background: var(--ps-accent);
  color: var(--ps-ink);
  box-shadow: 0 8px 22px rgba(255, 106, 19, 0.32);
}

.ps-btn--accent:hover {
  background: var(--ps-amber);
  color: var(--ps-ink);
  box-shadow: 0 12px 28px rgba(255, 197, 61, 0.38);
}

/* برق کشویی روی دکمهٔ اصلی */
.ps-btn--accent {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ps-btn--accent::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.ps-btn--accent:hover::after {
  transform: translateX(130%);
}

.ps-btn--accent > * {
  position: relative;
  z-index: 2;
}

.ps-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.ps-btn--dark {
  background: var(--ps-ink);
  color: #fff;
}

.ps-btn--dark:hover {
  background: var(--ps-primary-dark);
  color: #fff;
  box-shadow: var(--ps-shadow-2);
}

.ps-btn--outline {
  border-color: var(--ps-ink);
  color: var(--ps-ink);
  background: transparent;
}

.ps-btn--outline:hover {
  background: var(--ps-ink);
  color: #fff;
}

.ps-btn--outline-light {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.ps-btn--outline-light:hover {
  background: #fff;
  color: var(--ps-ink);
  border-color: #fff;
}

.ps-btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
  padding: 0.6em 1.2em;
  font-size: 0.9rem;
}

.ps-btn--ghost-light:hover {
  border-color: var(--ps-accent);
  background: rgba(255, 106, 19, 0.16);
  color: #fff;
}

.ps-btn--lg {
  padding: 1em 2em;
  min-block-size: 54px;
  font-size: 1.02rem;
}

.ps-btn--block {
  inline-size: 100%;
}

/* چیپ‌ها */
.ps-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-block-end: 34px;
}

.ps-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ps-ink);
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-chip:hover,
.ps-chip.is-active {
  background: var(--ps-ink);
  border-color: var(--ps-ink);
  color: #fff;
}

/* گرید */
.ps-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.ps-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ps-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* جلوگیری از اسکرول افقی در RTL (منوی بستهٔ کشویی چند پیکسل از لبهٔ چپ بیرون می‌زند) */
html,
body {
  overflow-x: clip;
}

/* انیمیشن ورود — فقط وقتی JS فعال است مخفی می‌شود (بدون JS محتوا قابل مشاهده است).
   واریانت‌ها با data-ps-anim: up (پیش‌فرض) | left | right | zoom | blur */
html.js .ps-reveal {
  opacity: 0;
  transform: var(--ps-from, translate3d(0, 26px, 0));
}

html.js .ps-reveal[data-ps-anim='left'] {
  --ps-from: translate3d(-38px, 0, 0);
}

html.js .ps-reveal[data-ps-anim='right'] {
  --ps-from: translate3d(38px, 0, 0);
}

html.js .ps-reveal[data-ps-anim='zoom'] {
  --ps-from: scale(0.93) translate3d(0, 14px, 0);
}

html.js .ps-reveal[data-ps-anim='blur'] {
  --ps-from: translate3d(0, 18px, 0);
  filter: blur(10px);
}

html.js .ps-reveal.is-visible {
  /* حالت نهایی به‌صورت ایستا؛ حتی اگر انیمیشن لغو شود محتوا ناپدید نمی‌شود. */
  opacity: 1;
  transform: none;
  filter: blur(0);
  /* ورود با انیمیشن (نه transition) تا ترنزیشن هاور المان‌های داخلی مثل کارت‌ها
     با تاخیرِ reveal گیر نکند و حس نرمی لمس حفظ شود. */
  animation: ps-reveal-in 1s var(--ps-ease) both;
  animation-delay: var(--ps-delay, 0s);
}

html.js .ps-reveal[data-ps-anim='blur'].is-visible {
  animation-name: ps-reveal-blur;
  animation-duration: 1.1s;
}

@keyframes ps-reveal-in {
  from {
    opacity: 0;
    transform: var(--ps-from, translate3d(0, 26px, 0));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ps-reveal-blur {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* ---------- 5) هدر ---------- */
.ps-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
}

.ps-topbar {
  background: var(--ps-ink);
  color: #B9C6CF;
  font-size: 0.82rem;
  padding-block: 7px;
  /* جای خالی برای ریسپانسیو‌سازی زیر 700px (اطلاعات تماس در هدر و نوار موبایل هست) */
}

@media (max-width: 700px) {
  .ps-topbar {
    display: none;
  }
}

.ps-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ps-topbar__text {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-topbar__side {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.ps-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #B9C6CF;
}

.ps-topbar__item:hover {
  color: var(--ps-amber);
}

.ps-topbar__socials {
  display: inline-flex;
  gap: 6px;
}

.ps-socials {
  display: flex;
  gap: 8px;
}

.ps-socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 36px;
  block-size: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--ps-radius);
  color: #DCE4EA;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-socials__link:hover {
  background: var(--ps-accent);
  border-color: var(--ps-accent);
  color: var(--ps-ink);
}

.ps-topbar__socials .ps-socials__link {
  inline-size: 26px;
  block-size: 26px;
  border: 0;
}

.ps-header__main {
  background: var(--ps-white);
  border-block-end: 1px solid var(--ps-line);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.ps-header.is-scrolled .ps-header__main {
  box-shadow: 0 8px 26px rgba(10, 22, 32, 0.1);
}

.ps-header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-block-size: var(--ps-header-h);
  transition: min-block-size 0.3s ease;
}

.ps-header.is-scrolled .ps-header__inner {
  min-block-size: 62px;
}

.ps-logo {
  flex: none;
}

.ps-logo a {
  color: var(--ps-ink);
}

.custom-logo-link {
  display: flex;
  align-items: center;
  max-inline-size: 260px;
}

/* لوگو همیشه مربعی (1:1) — عکس مربع را پر می‌کند تا مستطیل دیده نشود. */
.custom-logo {
  inline-size: 52px;
  block-size: 52px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  flex: none;
  border-radius: 10px;
}

.ps-logo--sm .custom-logo {
  inline-size: 36px;
  block-size: 36px;
}

.ps-logo--lg .custom-logo {
  inline-size: 68px;
  block-size: 68px;
}

.ps-header.is-scrolled .custom-logo {
  inline-size: 40px;
  block-size: 40px;
}

.ps-header.is-scrolled .ps-logo--sm .custom-logo {
  inline-size: 32px;
  block-size: 32px;
}

.ps-header.is-scrolled .ps-logo--lg .custom-logo {
  inline-size: 52px;
  block-size: 52px;
}

.ps-logo__text {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* لوگوی آپلودی + متن سایت کنار هم (لوگو مربعی 1:1). */
.ps-logo__with-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ps-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  background: var(--ps-ink);
  color: var(--ps-amber);
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: var(--ps-radius);
  position: relative;
  overflow: hidden;
}

.ps-logo__mark::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline: 12px;
  block-size: 3px;
  border-radius: 3px;
  background: var(--ps-amber);
}

.ps-logo__name {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.ps-logo__name strong {
  font-size: 1.14rem;
  font-weight: 900;
}

.ps-footer .ps-logo__name strong {
  color: #ffffff;
}

.ps-logo__name small {
  font-size: 0.72rem;
  color: var(--ps-muted);
  font-weight: 500;
}

/* منو */
.ps-nav {
  margin-inline-start: auto;
}

.ps-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ps-menu > li {
  position: relative;
  /* جلوگیری از فشرده‌شدن آیتم‌ها و شکستن کلمات (مثلاً «درباره ما» در دو خط) */
  flex: none;
}

.ps-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 12px 14px;
  color: var(--ps-ink);
  font-weight: 700;
  font-size: 0.96rem;
  border-radius: var(--ps-radius);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ps-menu > li > a:hover,
.ps-menu > li.current-menu-item > a,
.ps-menu > li.current_page_item > a {
  color: var(--ps-primary);
  background: rgba(11, 110, 147, 0.07);
}

.ps-menu > li.menu-item-has-children > a::after {
  content: '';
  inline-size: 7px;
  block-size: 7px;
  border-inline-end: 2px solid currentColor;
  border-block-end: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
  transition: transform 0.25s ease;
}

.ps-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(-135deg) translateY(-1px);
}

/* زیرمنو / مگامنو */
.ps-menu .sub-menu {
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-start: 0;
  min-inline-size: 240px;
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow-2);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
  columns: 2;
  column-gap: 8px;
}

.ps-menu li:hover > .sub-menu,
.ps-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ps-menu .sub-menu li {
  break-inside: avoid;
}

.ps-menu .sub-menu a {
  display: block;
  padding: 9px 12px;
  color: var(--ps-ink);
  font-size: 0.9rem;
  border-radius: var(--ps-radius);
  white-space: nowrap;
}

.ps-menu .sub-menu a::before {
  content: '';
  display: inline-block;
  inline-size: 5px;
  block-size: 5px;
  border-radius: 50%;
  background: var(--ps-accent);
  margin-inline-end: 9px;
  vertical-align: middle;
  opacity: 0;
  transform: scale(0.2);
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-menu .sub-menu a:hover {
  background: var(--ps-bg);
  color: var(--ps-primary);
}

.ps-menu .sub-menu a:hover::before {
  opacity: 1;
  transform: none;
}

.ps-menu .sub-menu .sub-menu {
  display: none;
}

/* اکشن‌های هدر */
.ps-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.ps-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  background: transparent;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  color: var(--ps-ink);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-icon-btn:hover {
  background: var(--ps-ink);
  border-color: var(--ps-ink);
  color: #fff;
}

.ps-header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ps-ink);
  padding: 6px 12px;
  border-inline-start: 1px solid var(--ps-line);
}

.ps-header__phone .ps-icon {
  color: var(--ps-accent);
}

.ps-header__phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.ps-header__phone-text small {
  font-size: 0.7rem;
  color: var(--ps-muted);
}

.ps-header__phone-text strong {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.ps-header__phone:hover .ps-header__phone-text strong {
  color: var(--ps-primary);
}

.ps-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.ps-burger__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ps-burger__lines i {
  display: block;
  inline-size: 22px;
  block-size: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ps-ease), opacity 0.2s ease;
}

.ps-burger[aria-expanded="true"] i:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.ps-burger[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}

.ps-burger[aria-expanded="true"] i:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.ps-searchbar {
  background: var(--ps-white);
  border-block-end: 1px solid var(--ps-line);
  padding-block: 14px;
}

.ps-searchbar[hidden] {
  display: none;
}

.ps-searchform {
  display: flex;
  gap: 8px;
  inline-size: 100%;
}

.ps-searchform__input {
  flex: 1;
  min-inline-size: 0;
  padding: 12px 16px;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  background: var(--ps-bg);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ps-searchform__input:focus {
  border-color: var(--ps-primary);
  background: #fff;
  outline: none;
}

.ps-searchform__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 50px;
  border: 0;
  border-radius: var(--ps-radius);
  background: var(--ps-ink);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ps-searchform__submit:hover {
  background: var(--ps-accent);
  color: var(--ps-ink);
}

.ps-header__scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 32, 0.55);
  backdrop-filter: blur(2px);
  z-index: -1;
}

.ps-header__scrim[hidden] {
  display: none;
}

.ps-nav__mobile-extra {
  display: none;
}

/* ---------- 6) هیرو ---------- */
.ps-hero {
  position: relative;
  min-block-size: clamp(520px, 78vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ps-ink);
  color: #fff;
}

.ps-hero__media {
  position: absolute;
  inset: 0;
}

.ps-hero__video,
.ps-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 7s linear;
  /* پس‌زمینه عقب می‌نشیند: نه با متن رقابت می‌کند نه با تصویر شناور */
  filter: brightness(0.62) saturate(0.8);
}

.ps-hero__video {
  opacity: 1;
  transform: none;
}

.ps-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.ps-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to left, rgba(10, 22, 32, 0.25) 0%, rgba(10, 22, 32, 0.82) 62%, rgba(10, 22, 32, 0.94) 100%),
    linear-gradient(to top, rgba(10, 22, 32, 0.7), transparent 40%);
}

.ps-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

.ps-hero__content {
  position: relative;
  z-index: 4;
  padding-block: clamp(70px, 10vw, 110px);
}

.ps-hero__layout {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}

.ps-hero__inner {
  flex: 1 1 58%;
  min-width: 0;
  max-inline-size: 760px;
}

.ps-hero__visual {
  flex: 0 1 42%;
  min-width: 0;
  max-inline-size: 520px;
  margin-inline-start: auto;
  position: relative;
  z-index: 4;
  perspective: 1100px;
}

/* هالهٔ نورانی پشت تصویر شناور */
.ps-hero__visual::before {
  content: '';
  position: absolute;
  inset: -12% -18%;
  z-index: 0;
  background:
    radial-gradient(ellipse 62% 46% at 50% 58%, rgba(255, 106, 19, 0.22), transparent 70%),
    radial-gradient(ellipse 52% 40% at 50% 40%, rgba(11, 110, 147, 0.35), transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

@media (max-width: 960px) {
  .ps-hero__layout {
    flex-direction: column;
    text-align: center;
  }

  .ps-hero__inner {
    max-inline-size: 640px;
  }

  .ps-hero__visual {
    order: -1;
    max-inline-size: min(300px, 70vw);
    margin-inline-start: auto;
    margin-inline-end: auto;
  }

  .ps-hero__ctas,
  .ps-hero__badges {
    justify-content: center;
  }
}

.ps-hero__title {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem);
  line-height: 1.35;
  color: #fff;
  font-weight: 900;
  margin-block: 6px 18px;
}

.ps-hero__text {
  font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.18rem);
  color: #C6D2DA;
  max-inline-size: 620px;
  margin-block-end: 28px;
}

.ps-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-end: 34px;
}

.ps-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.ps-hero__badges li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  color: #DCE4EA;
}

.ps-hero__badges .ps-icon {
  color: var(--ps-amber);
}

.ps-hero__dots {
  position: absolute;
  z-index: 5;
  inset-block-end: 26px;
  /* فیزیکال و جهت‌ناخودآگاه: در LTR و RTL یکسان وسط‌چین می‌شود. */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}

.ps-hero__dot {
  inline-size: 30px;
  block-size: 5px;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, inline-size 0.3s ease;
}

.ps-hero__dot.is-active {
  background: var(--ps-accent);
  inline-size: 46px;
}

.ps-hero__scroll {
  position: absolute;
  z-index: 5;
  inset-block-end: 22px;
  inset-inline-end: clamp(18px, 4vw, 44px);
  inline-size: 28px;
  block-size: 46px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  display: flex;
  justify-content: center;
}

.ps-hero__scroll span {
  inline-size: 4px;
  block-size: 8px;
  margin-block-start: 8px;
  background: var(--ps-amber);
  border-radius: 2px;
  animation: ps-scroll 1.7s infinite;
}

@keyframes ps-scroll {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 6-ب) تصویر شناور هیرو (PNG بدون پس‌زمینه + حس 3D) ---------- */
.ps-hero__float {
  margin: 0;
  position: relative;
  z-index: 1;
}

html.js .ps-hero__float {
  opacity: 0;
  /* تور امنیت: اگر JS دیر/خراب لود شد، تصویر حداکثر بعد از ~۴ ثانیه خودش ظاهر شود. */
  animation: ps-float-safety 0.6s ease 4s forwards;
}

@keyframes ps-float-safety {
  to { opacity: 1; }
}

html.js .ps-hero__float.is-in {
  animation: ps-float-in 1.15s var(--ps-ease) 0.4s both;
}

html.js .ps-hero__float.is-static {
  opacity: 1;
  animation: none;
}

html.js .ps-hero__float.is-static img,
html.js .ps-hero__float.is-static .ps-float__shadow {
  animation: none;
}

.ps-float__tilt {
  display: block;
  transform: perspective(950px) rotateX(var(--ps-rx, 0deg)) rotateY(var(--ps-ry, 0deg));
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.ps-hero__float img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  /* سایهٔ واقعی زیر محصول + بازتاب نارنجی ملایم برند */
  filter:
    drop-shadow(0 38px 42px rgba(0, 0, 0, 0.5))
    drop-shadow(0 8px 16px rgba(255, 106, 19, 0.16));
}

.ps-hero__float.is-in img {
  animation: ps-float-idle 4.5s ease-in-out 1.7s infinite;
}

/* سایهٔ بیضوی روی زمین زیر محصول */
.ps-float__shadow {
  position: absolute;
  inset-inline: 10%;
  inset-block-end: -7%;
  block-size: 44px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 68%);
  filter: blur(7px);
  pointer-events: none;
}

.ps-hero__float.is-in .ps-float__shadow {
  animation: ps-float-shadow 4.5s ease-in-out 1.7s infinite;
  transform-origin: center;
}

@keyframes ps-float-in {
  from {
    opacity: 0;
    transform: translateY(52px) scale(0.93);
  }
  55% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ps-float-idle {
  0%, 100% { transform: translateY(-9px); }
  50% { transform: translateY(11px); }
}

@keyframes ps-float-shadow {
  0%, 100% { transform: scaleX(1); opacity: 0.85; }
  50% { transform: scaleX(0.82); opacity: 0.55; }
}

/* ---------- 7) آمار ---------- */
.ps-stats {
  background: var(--ps-steel);
  color: #fff;
  border-block-start: 3px solid transparent;
  border-image: linear-gradient(to left, var(--ps-accent), var(--ps-amber)) 1;
}

.ps-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-block: clamp(30px, 4vw, 46px);
}

.ps-stats__item {
  text-align: center;
  padding-inline: 10px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
}

.ps-stats__item:last-child {
  border-inline-end: 0;
}

.ps-stats__num {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  font-weight: 900;
  color: var(--ps-amber);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.ps-stats__label {
  font-size: 0.92rem;
  color: #A9B7C1;
}

/* ---------- 8) دو جهان محصولات ---------- */
.ps-worlds__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
}

.ps-world {
  position: relative;
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  transition: transform 0.3s var(--ps-ease), box-shadow 0.3s var(--ps-ease), border-color 0.3s ease;
}

.ps-world:hover {
  transform: translateY(-6px);
  box-shadow: var(--ps-shadow-2);
  border-color: transparent;
}

.ps-world__bg {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  inline-size: 280px;
  block-size: 210px;
  background:
    radial-gradient(170px 150px at 82% 6%, rgba(11, 110, 147, 0.17), transparent 70%),
    radial-gradient(190px 130px at 98% 42%, rgba(255, 106, 19, 0.11), transparent 70%);
  pointer-events: none;
}

.ps-world__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block-end: 12px;
}

.ps-world__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 68px;
  block-size: 68px;
  background: linear-gradient(150deg, #12222e 0%, #0a1620 70%);
  color: var(--ps-amber);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(10, 22, 32, 0.22);
  position: relative;
  flex: none;
}

/* تمایز دو جهان: نظافت = آبی فولادی، جابجایی = نارنجی ایمنی */
.ps-world--cleaning .ps-world__icon {
  background: linear-gradient(150deg, #0b6e93 0%, #074860 100%);
  color: #ffd97a;
}
.ps-world--material-handling .ps-world__icon {
  background: linear-gradient(150deg, #ff7a1f 0%, #c24e04 100%);
  color: #fff;
}

.ps-world__icon .ps-icon {
  stroke-width: 2;
}

.ps-world__icon::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  inline-size: 100%;
  block-size: 4px;
  background: var(--ps-accent);
}

.ps-world__title {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.65rem);
  margin: 0;
}

.ps-world__desc {
  color: var(--ps-muted);
  margin-block-end: 18px;
}

.ps-world__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: 22px;
}

.ps-world__list a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--ps-bg);
  border: 1px solid var(--ps-line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ps-ink);
}

.ps-world__list a:hover {
  background: var(--ps-ink);
  color: #fff;
  border-color: var(--ps-ink);
}

.ps-world__cta {
  margin-block-start: 0;
}

/* ---------- 9) کارت‌ها ---------- */
.ps-card {
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ps-ease), box-shadow 0.45s var(--ps-ease), border-color 0.3s ease;
}

.ps-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--ps-shadow-2);
  border-color: transparent;
}

.ps-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E7EDF1;
}

.ps-card__media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ps-ease);
}

.ps-card:hover .ps-card__media img {
  transform: scale(1.06);
}

.ps-card__noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9FB0BC;
}

.ps-tag {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  background: var(--ps-ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.ps-tag--ok {
  background: var(--ps-ok);
  color: var(--ps-ink);
}

.ps-card__body {
  padding: clamp(16px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ps-card__cat {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ps-primary);
  margin-block-end: 8px;
}

.ps-card__cat:hover {
  color: var(--ps-accent);
}

.ps-card__title {
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.6;
  margin-block: 0 8px;
}

.ps-card__title a {
  color: var(--ps-ink);
}

.ps-card__title a:hover {
  color: var(--ps-primary);
}

.ps-card__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--ps-muted);
  font-size: 0.86rem;
  margin-block-end: 14px;
}

.ps-card__spec span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ps-card__spec span::before {
  content: '';
  inline-size: 5px;
  block-size: 5px;
  background: var(--ps-amber);
  border-radius: 50%;
}

.ps-card__foot {
  margin-block-start: auto;
  padding-block-start: 14px;
  border-block-start: 1px dashed var(--ps-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ps-card__price {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--ps-ink);
  font-variant-numeric: tabular-nums;
}

.ps-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 36px;
  block-size: 36px;
  border-radius: 50%;
  background: var(--ps-bg);
  color: var(--ps-ink);
  transition: transform 0.25s var(--ps-ease), opacity 0.25s var(--ps-ease), color 0.25s var(--ps-ease), background-color 0.25s var(--ps-ease), border-color 0.25s var(--ps-ease), box-shadow 0.25s var(--ps-ease);
}

.ps-card:hover .ps-card__more {
  background: var(--ps-accent);
  color: var(--ps-ink);
  transform: translateX(-4px);
}

.ps-card__excerpt {
  color: var(--ps-muted);
  font-size: 0.93rem;
}

.ps-card--post .ps-card__body .ps-more-link {
  margin-block-start: auto;
}

.ps-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 0.8rem;
  color: var(--ps-muted);
  margin-block-end: 10px;
}

.ps-post-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ps-muted);
}

a.ps-post-meta__item:hover {
  color: var(--ps-primary);
}

/* ---------- 10) صنایع ---------- */
.ps-grid .ps-industry {
  position: relative;
  display: block;
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform 0.3s var(--ps-ease), box-shadow 0.3s var(--ps-ease), border-color 0.3s ease;
}

.ps-industry:hover {
  transform: translateY(-5px);
  box-shadow: var(--ps-shadow-2);
  border-color: var(--ps-primary);
}

.ps-industry__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 54px;
  block-size: 54px;
  border-radius: var(--ps-radius);
  background: rgba(11, 110, 147, 0.1);
  color: var(--ps-primary);
  margin-block-end: 16px;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ps-industry:hover .ps-industry__icon {
  background: var(--ps-ink);
  color: var(--ps-amber);
}

.ps-industry__name {
  font-size: 1.08rem;
  margin-block: 0 6px;
}

.ps-industry__desc {
  color: var(--ps-muted);
  font-size: 0.9rem;
  margin: 0;
}

.ps-industry__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 36px;
  block-size: 36px;
  border-radius: 50%;
  background: var(--ps-bg);
  color: var(--ps-ink);
  margin-block-start: 14px;
  transition: transform 0.25s var(--ps-ease), opacity 0.25s var(--ps-ease), color 0.25s var(--ps-ease), background-color 0.25s var(--ps-ease), border-color 0.25s var(--ps-ease), box-shadow 0.25s var(--ps-ease);
}

.ps-industry:hover .ps-industry__go {
  background: var(--ps-accent);
  transform: translateX(-4px);
}

/* ---------- 11) دربارهٔ ما ---------- */
.ps-about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.ps-about__media {
  position: relative;
}

.ps-about__figure {
  margin: 0;
  border-radius: var(--ps-radius-lg);
  overflow: hidden;
  box-shadow: var(--ps-shadow-2);
  aspect-ratio: 32 / 26;
  background: #E7EDF1;
}

.ps-about__figure img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.ps-about__experience {
  position: absolute;
  inset-block-end: -24px;
  inset-inline-end: -18px;
  background: var(--ps-accent);
  color: var(--ps-ink);
  border-radius: var(--ps-radius);
  padding: 18px 26px;
  text-align: center;
  box-shadow: var(--ps-shadow-2);
  border-block-end: 5px solid var(--ps-ink);
}

.ps-about__experience strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.ps-about__experience span {
  font-size: 0.82rem;
  font-weight: 700;
}

.ps-about__body .ps-section-head {
  margin-block-end: 8px;
}

.ps-about__text {
  color: var(--ps-muted);
}

.ps-checklist {
  display: grid;
  gap: 12px;
  margin-block: 20px;
}

.ps-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.ps-checklist .ps-icon {
  color: var(--ps-ok);
  margin-block-start: 6px;
}

.ps-about__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-end: 26px;
}

.ps-cert {
  display: inline-flex;
  padding: 7px 15px;
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--ps-steel);
  border-block-end: 3px solid var(--ps-amber);
}

/* ---------- 12) خدمات ---------- */
.ps-service {
  display: flex;
  flex-direction: column;
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  padding: clamp(22px, 2.6vw, 32px);
  color: var(--ps-ink);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ps-ease), box-shadow 0.3s var(--ps-ease);
}

.ps-service::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 4px;
  background: var(--ps-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ps-ease);
}

.ps-service:hover {
  transform: translateY(-6px);
  box-shadow: var(--ps-shadow-2);
}

.ps-service:hover::before {
  transform: scaleX(1);
}

.ps-service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 62px;
  block-size: 62px;
  border-radius: var(--ps-radius);
  background: var(--ps-ink);
  color: var(--ps-amber);
  margin-block-end: 18px;
  transition: transform 0.3s var(--ps-ease);
}

.ps-service:hover .ps-service__icon {
  transform: rotate(-6deg) scale(1.05);
}

.ps-service__title {
  font-size: 1.14rem;
  margin-block: 0 10px;
}

.ps-service__desc {
  color: var(--ps-muted);
  font-size: 0.93rem;
  margin-block-end: 18px;
}

.ps-service__more {
  margin-block-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ps-primary);
}

.ps-service:hover .ps-service__more {
  color: var(--ps-accent);
}

/* ---------- 13) فرآیند ---------- */
.ps-process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
  counter-reset: ps-step;
}

.ps-process__step {
  position: relative;
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
}

.ps-process__step::after {
  content: '';
  position: absolute;
  inset-block-start: 44px;
  inset-inline-start: -14px;
  inline-size: 14px;
  block-size: 2px;
  background: var(--ps-accent);
}

.ps-process__step:last-child::after {
  display: none;
}

.ps-process__num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 110, 147, 0.55);
  line-height: 1;
  margin-block-end: 14px;
  font-variant-numeric: tabular-nums;
}

.ps-process__title {
  font-size: 1.05rem;
  margin-block: 0 8px;
}

.ps-process__desc {
  color: var(--ps-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- 14) نظرات ---------- */
.ps-tst {
  position: relative;
  max-inline-size: 820px;
  margin-inline: auto;
}

.ps-tst__track {
  position: relative;
  min-block-size: 300px;
}

.ps-tst__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  transition: opacity 0.55s var(--ps-ease), transform 0.55s var(--ps-ease), visibility 0.55s;
  padding-inline: clamp(0px, 3vw, 40px);
}

.ps-tst__slide.is-active {
  position: relative;
  opacity: 1;
  transform: none;
  visibility: visible;
}

.ps-tst__quote {
  color: var(--ps-accent);
  display: inline-block;
  margin-block-end: 6px;
  opacity: 0.9;
}

.ps-tst__text p {
  font-size: clamp(1.05rem, 0.98rem + 0.6vw, 1.3rem);
  line-height: 2;
  color: #E5ECF1;
}

.ps-tst__who {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-block-start: 22px;
}

.ps-tst__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 52px;
  block-size: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ps-primary), var(--ps-accent));
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
}

.ps-tst__meta {
  display: flex;
  flex-direction: column;
  text-align: start;
  line-height: 1.5;
}

.ps-tst__meta strong {
  color: #fff;
}

.ps-tst__meta small {
  color: #A9B7C1;
  font-size: 0.85rem;
}

.ps-tst__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-block-start: 30px;
}

.ps-tst__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ps-tst__arrow:hover {
  background: var(--ps-accent);
  border-color: var(--ps-accent);
  color: var(--ps-ink);
}

.ps-tst__dots {
  display: flex;
  gap: 8px;
}

.ps-tst__dots button {
  inline-size: 9px;
  block-size: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ps-tst__dots button.is-active {
  background: var(--ps-accent);
  transform: scale(1.3);
}

/* ---------- 15) فرم مشاوره ---------- */
.ps-consult__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.ps-consult__desc {
  color: var(--ps-muted);
}

.ps-section--dark .ps-consult__desc {
  color: #A9B7C1;
}

.ps-consult__contacts {
  display: grid;
  gap: 14px;
  margin-block-start: 26px;
}

.ps-consult__contacts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.ps-consult__contacts .ps-icon {
  color: var(--ps-accent);
}

.ps-consult__contacts a {
  color: var(--ps-ink);
}

.ps-section--dark .ps-consult__contacts a {
  color: #E5ECF1;
}

.ps-consult__contacts a:hover {
  color: var(--ps-accent);
}

.ps-consult__form-wrap {
  background: var(--ps-white);
  border-radius: var(--ps-radius-lg);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: var(--ps-shadow-3);
  border-block-start: 5px solid var(--ps-accent);
  /* کارت فرم روشن است؛ رنگ‌ها را از تم تیرهٔ بخش اطراف بازنشانی می‌کنیم (کنتراست WCAG) */
  color: var(--ps-ink);
}

.ps-consult__form-wrap .ps-field label,
.ps-consult__form-wrap input,
.ps-consult__form-wrap select,
.ps-consult__form-wrap textarea {
  color: var(--ps-ink);
}

.ps-consult__form-wrap input::placeholder,
.ps-consult__form-wrap textarea::placeholder {
  color: var(--ps-muted);
}

.ps-alert {
  padding: 13px 17px;
  border-radius: var(--ps-radius);
  font-weight: 700;
  font-size: 0.93rem;
  margin-block-end: 18px;
}

.ps-alert--ok {
  background: rgba(30, 158, 106, 0.12);
  color: #14724b;
  border: 1px solid rgba(30, 158, 106, 0.4);
}

.ps-alert--err {
  background: rgba(214, 69, 69, 0.1);
  color: #a52f2f;
  border: 1px solid rgba(214, 69, 69, 0.4);
}

.ps-form {
  display: grid;
  gap: 16px;
}

.ps-form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ps-field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.ps-field label {
  font-size: 0.87rem;
  font-weight: 700;
}

.ps-field input,
.ps-field select,
.ps-field textarea {
  width: 100%;
  font-size: 16px; /* جلوگیری از زوم خودکار iOS هنگام تایپ */
  padding: 12px 15px;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  background: var(--ps-bg);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-field input:focus,
.ps-field select:focus,
.ps-field textarea:focus {
  outline: none;
  border-color: var(--ps-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 110, 147, 0.12);
}

.ps-field input.is-invalid,
.ps-field textarea.is-invalid {
  border-color: var(--ps-err);
  background: rgba(214, 69, 69, 0.05);
}

.ps-field textarea {
  resize: vertical;
  min-block-size: 110px;
}

.ps-hp {
  /* مخفی‌سازی استاندارد بدون جابه‌جایی: تکنیک ‎-9999px‎ در RTL عرض چیدمان را باز می‌کند. */
  position: absolute !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  clip-path: inset(50%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.ps-form__submit {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ps-form__note {
  font-size: 0.78rem;
  color: var(--ps-muted);
  max-inline-size: 260px;
  line-height: 1.7;
}

.ps-form .ps-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- 16) فوتر ---------- */
.ps-footer {
  position: relative;
  background: var(--ps-ink);
  color: #A9B7C1;
  padding-block-start: clamp(46px, 6vw, 72px);
}

.ps-footer__wave {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  block-size: 3px;
  background: linear-gradient(to left, var(--ps-accent), var(--ps-amber), var(--ps-primary));
  opacity: 1;
}

.ps-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: clamp(26px, 3.4vw, 48px);
  padding-block-end: clamp(34px, 4vw, 52px);
}

.ps-footer .custom-logo {
  inline-size: 46px;
  block-size: 46px;
}

.ps-footer .custom-logo img {
  inline-size: 46px;
  block-size: 46px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  filter: brightness(0) invert(1);
}

.ps-footer__logo {
  margin-block-end: 14px;
}

.ps-footer__about {
  font-size: 0.93rem;
  line-height: 2;
  margin-block-end: 20px;
}

.ps-footer__socials {
  margin-block-start: 4px;
}

.ps-footer__title {
  color: #fff;
  font-size: 1.05rem;
  position: relative;
  padding-block-end: 12px;
  margin-block-end: 18px;
}

.ps-footer__title::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  inline-size: 42px;
  block-size: 3px;
  background: var(--ps-accent);
  border-radius: 2px;
}

.ps-footer__menu {
  display: grid;
  gap: 11px;
}

.ps-footer__menu a {
  color: #A9B7C1;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ps-footer__menu a::before {
  content: '';
  inline-size: 5px;
  block-size: 5px;
  border-inline-end: 2px solid var(--ps-accent);
  border-block-end: 2px solid var(--ps-accent);
  transform: rotate(-45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ps-footer__menu a:hover {
  color: #fff;
}

.ps-footer__menu a:hover::before {
  opacity: 1;
}

.ps-footer__contact {
  display: grid;
  gap: 13px;
  margin-block-end: 20px;
}

.ps-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.92rem;
}

.ps-footer__contact .ps-icon {
  color: var(--ps-accent);
  margin-block-start: 5px;
}

.ps-footer__contact a {
  color: #DCE4EA;
}

.ps-footer__contact a:hover {
  color: var(--ps-amber);
}

.ps-footer__bottom {
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 18px;
}

.ps-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.ps-copy {
  margin: 0;
}

.ps-legal-menu {
  display: flex;
  gap: 20px;
}

.ps-legal-menu a {
  color: #A9B7C1;
}

.ps-legal-menu a:hover {
  color: #fff;
}

.ps-to-top {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  inline-size: 46px;
  block-size: 46px;
  border: 0;
  border-radius: var(--ps-radius);
  background: var(--ps-accent);
  color: var(--ps-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ps-shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: transform 0.3s var(--ps-ease), opacity 0.3s var(--ps-ease), color 0.3s var(--ps-ease), background-color 0.3s var(--ps-ease), border-color 0.3s var(--ps-ease), box-shadow 0.3s var(--ps-ease);
}

.ps-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* حالت پارک: وقتی فوتر دیده می‌شود دکمه محو می‌ماند تا روی متن کپی‌رایت نیفتد. */
.ps-to-top.is-parked {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
}

.ps-to-top:hover {
  background: var(--ps-amber);
}

/* ---------- 17) صفحات داخلی ---------- */
.ps-page {
  padding-block: clamp(26px, 4vw, 48px) clamp(50px, 6vw, 90px);
}

.ps-page--narrow {
  max-inline-size: 940px;
}

.ps-page__head {
  margin-block-end: 18px;
}

.ps-page__title {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem);
  margin-block: 0 10px;
}

.ps-page__title span {
  color: var(--ps-primary);
}

.ps-page__desc {
  color: var(--ps-muted);
  max-inline-size: 760px;
}

.ps-breadcrumb {
  margin-block: 6px 26px;
}

.ps-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 0.84rem;
}

.ps-breadcrumb li {
  display: flex;
  align-items: center;
  color: var(--ps-muted);
}

.ps-breadcrumb li:not(:last-child)::after {
  content: '';
  inline-size: 6px;
  block-size: 6px;
  border-inline-end: 2px solid #9FB0BC;
  border-block-end: 2px solid #9FB0BC;
  transform: rotate(-45deg);
  margin-inline: 10px;
  opacity: 0.7;
}

.ps-breadcrumb a {
  color: var(--ps-muted);
}

.ps-breadcrumb a:hover {
  color: var(--ps-primary);
}

.ps-breadcrumb li:last-child {
  color: var(--ps-ink);
  font-weight: 700;
}

/* ورودی/مقاله */
.ps-entry__head {
  margin-block-end: 22px;
}

.ps-entry__title {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
}

.ps-entry__thumb {
  margin: 0 0 26px;
  border-radius: var(--ps-radius-lg);
  overflow: hidden;
  box-shadow: var(--ps-shadow-1);
}

.ps-entry__content {
  font-size: 1.04rem;
  line-height: 2.1;
}

.ps-entry__content h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  margin-block: 1.6em 0.7em;
}

.ps-entry__content h3 {
  font-size: 1.25rem;
  margin-block: 1.5em 0.6em;
}

.ps-entry__content ul,
.ps-entry__content ol {
  padding-inline-start: 1.4em;
  margin-block-end: 1.2em;
}

.ps-entry__content ul {
  list-style: none;
}

.ps-entry__content ul li {
  position: relative;
  padding-inline-start: 1.3em;
  margin-block-end: 0.5em;
}

.ps-entry__content ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.85em;
  inline-size: 7px;
  block-size: 7px;
  background: var(--ps-accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

.ps-entry__content ol {
  list-style: decimal;
}

.ps-entry__content ol li {
  margin-block-end: 0.5em;
}

.ps-entry__content img {
  border-radius: var(--ps-radius);
}

.ps-entry__content blockquote {
  margin: 1.6em 0;
  padding: 16px 22px;
  border-inline-start: 4px solid var(--ps-accent);
  background: var(--ps-white);
  border-radius: var(--ps-radius);
  color: var(--ps-steel);
  font-weight: 500;
}

.ps-entry__content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.4em;
}

.ps-entry__content th,
.ps-entry__content td {
  border: 1px solid var(--ps-line);
  padding: 10px 14px;
  text-align: start;
}

.ps-entry__content th {
  background: var(--ps-bg);
}

.ps-entry__foot {
  margin-block-start: 34px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--ps-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ps-entry__cats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.ps-entry__tags {
  display: flex;
  gap: 12px;
  font-size: 0.86rem;
}

.ps-entry__tags a {
  color: var(--ps-muted);
}

.ps-entry__tags a:hover {
  color: var(--ps-accent);
}

.ps-related {
  margin-block-start: clamp(40px, 5vw, 64px);
}

.ps-related__title {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
  margin-block-end: 24px;
  position: relative;
  padding-block-end: 12px;
}

.ps-related__title::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  inline-size: 56px;
  block-size: 4px;
  background: var(--ps-accent);
}

/* پیجینیشن */
.navigation.pagination,
.ps-page .pagination {
  margin-block-start: 36px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding-inline: 12px;
  margin-inline: 3px;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  background: var(--ps-white);
  color: var(--ps-ink);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-numbers:hover {
  border-color: var(--ps-ink);
}

.page-numbers.current {
  background: var(--ps-ink);
  border-color: var(--ps-ink);
  color: #fff;
}

.page-numbers.dots {
  border: 0;
  background: transparent;
}

/* ---------- 18) آرشیو محصولات / فیلتر ---------- */
.ps-shop {
  display: grid;
  grid-template-columns: 275px 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.ps-filters {
  position: sticky;
  inset-block-start: calc(var(--ps-header-h) + 20px);
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  overflow: hidden;
}

.ps-filters__form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2vw, 24px);
}

.ps-filters__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin: 0;
  padding-block-end: 14px;
  border-block-end: 2px solid var(--ps-ink);
}

.ps-filters__title .ps-icon {
  color: var(--ps-accent);
}

.ps-filters__field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.ps-filters__field label {
  font-size: 0.85rem;
  font-weight: 700;
}

.ps-filters__field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  background: var(--ps-bg);
  cursor: pointer;
}

.ps-filters__field select:focus {
  outline: none;
  border-color: var(--ps-primary);
}

.ps-filters__actions {
  display: grid;
  gap: 12px;
}

.ps-filters__reset {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ps-muted);
}

.ps-filters__reset:hover {
  color: var(--ps-err);
}

.ps-shop__count {
  font-size: 0.9rem;
  color: var(--ps-muted);
  margin-block-end: 18px;
}

/* ---------- 19) محصول تکی ---------- */
.ps-product__top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 3.4vw, 48px);
  margin-block-end: clamp(34px, 4vw, 56px);
}

.ps-product__figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  overflow: hidden;
  background: var(--ps-white);
  aspect-ratio: 4 / 3;
}

.ps-product__figure img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.ps-product__title {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
  margin-block: 8px 16px;
}

.ps-product__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: var(--ps-white);
  border: 1px dashed var(--ps-line);
  border-radius: var(--ps-radius);
  padding: 13px 18px;
  margin-block-end: 20px;
}

.ps-product__price strong {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ps-primary);
  font-variant-numeric: tabular-nums;
}

.ps-product__price span {
  font-size: 0.82rem;
  color: var(--ps-muted);
}

.ps-product__quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-block-end: 24px;
}

.ps-product__quick div {
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  padding: 12px 15px;
}

.ps-product__quick dt {
  font-size: 0.78rem;
  color: var(--ps-muted);
  margin-block-end: 3px;
}

.ps-product__quick dd {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.ps-product__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-start: 8px;
}

.ps-product__body {
  display: grid;
  gap: clamp(30px, 4vw, 46px);
}

.ps-product__body h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem);
  padding-block-end: 12px;
  border-block-end: 3px solid var(--ps-accent);
  display: inline-block;
}

.ps-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  overflow: hidden;
}

.ps-spec-table tr {
  border-block-end: 1px solid var(--ps-line);
}

.ps-spec-table tr:last-child {
  border-block-end: 0;
}

.ps-spec-table th,
.ps-spec-table td {
  padding: 13px 18px;
  text-align: start;
  font-size: 0.95rem;
}

.ps-spec-table th {
  inline-size: 40%;
  background: var(--ps-bg);
  font-weight: 700;
  color: var(--ps-steel);
}

.ps-spec-table td {
  font-variant-numeric: tabular-nums;
}

/* ---------- 20) جستجو / 404 / خالی ---------- */
.ps-empty {
  text-align: center;
  max-inline-size: 560px;
  margin-inline: auto;
  padding-block: 30px;
}

.ps-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 84px;
  block-size: 84px;
  border-radius: 50%;
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  color: var(--ps-muted);
  margin-block-end: 18px;
}

.ps-empty__title {
  font-size: 1.5rem;
}

.ps-empty__text {
  color: var(--ps-muted);
}

.ps-empty .ps-searchform {
  margin-block: 20px;
}

.ps-404 {
  text-align: center;
  padding-block: clamp(50px, 8vw, 110px);
}

.ps-404__code {
  display: block;
  font-size: clamp(5rem, 3rem + 12vw, 11rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(11, 110, 147, 0.4);
  font-variant-numeric: tabular-nums;
}

.ps-404__title {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
}

.ps-404__text {
  color: var(--ps-muted);
  max-inline-size: 520px;
  margin-inline: auto;
}

.ps-404 .ps-searchform {
  max-inline-size: 480px;
  margin-inline: auto;
  margin-block: 24px;
}

.ps-404__links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 21) دیدگاه‌ها ---------- */
.ps-comments {
  margin-block-start: clamp(40px, 5vw, 60px);
}

.ps-comments__title {
  font-size: 1.3rem;
}

.ps-comment-list {
  display: grid;
  gap: 18px;
}

.ps-comment-list .comment-body {
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  padding: 18px 20px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  background: var(--ps-bg);
}

/* ---------- 22) محتوای Gutenberg ---------- */
.alignwide {
  max-inline-size: 1320px;
  margin-inline: auto;
}

.alignfull {
  inline-size: 100vw;
  margin-inline: calc(50% - 50vw);
}

.wp-block-image figcaption {
  font-size: 0.85rem;
  color: var(--ps-muted);
  text-align: center;
}

.ps-entry .wp-block-button__link {
  background: var(--ps-ink);
  color: #fff;
  border-radius: var(--ps-radius);
  font-weight: 700;
}

/* دکمه «فیلترها» فقط موبایل است — در دسکتاپ همیشه مخفی (سایدبار دیده می‌شود). */
@media (min-width: 961px) {
  .ps-filters__toggle {
    display: none;
  }
}

/* ---------- 23) ریسپانسیو ---------- */
@media (max-width: 1100px) {
  .ps-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-process__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-process__step::after {
    display: none;
  }

  .ps-header__phone {
    display: none;
  }

  .ps-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .ps-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-about__grid,
  .ps-consult__grid,
  .ps-product__top {
    grid-template-columns: 1fr;
  }

  .ps-about__experience {
    inset-inline-end: 14px;
    inset-block-end: -18px;
  }

  .ps-shop {
    grid-template-columns: 1fr;
  }

  .ps-filters {
    position: static;
  }

/* دکمه فیلترها — فقط موبایل (الگوی باتم‌شیت ابزارمارت/ترب). */
.ps-filters__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  inline-size: 100%;
  padding: 12px;
  margin-block-end: 14px;
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius);
  background: var(--ps-white);
  color: var(--ps-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.ps-filters__dot {
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--ps-accent);
}

.ps-filters__close {
  display: none;
}

@media (max-width: 960px) {
  .ps-filters__toggle {
    display: inline-flex;
  }

  /* پنل فیلتر در موبایل به باتم‌شیت تبدیل می‌شود. */
  .ps-shop .ps-filters {
    position: fixed;
    inset-inline: 0;
    inset-block: auto 0;
    z-index: 120;
    max-block-size: 82vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 40px rgba(10, 22, 32, 0.25);
    transform: translateY(105%);
    transition: transform 0.35s var(--ps-ease);
    visibility: hidden;
  }

  .ps-shop .ps-filters.is-open {
    transform: none;
    visibility: visible;
  }

  .ps-filters__form {
    position: relative;
    padding-block-start: 20px;
  }

  .ps-filters__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 12px;
    inline-size: 36px;
    block-size: 36px;
    border: 1px solid var(--ps-line);
    border-radius: 50%;
    background: var(--ps-white);
    color: var(--ps-ink);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
  }
}

  .ps-topbar__text {
    display: none;
  }

  .ps-topbar__inner {
    justify-content: center;
  }

  /* موبایل: منوی کشویی */
  /* لوگو گوشهٔ راست، آیکون‌های جستجو/منو گوشهٔ چپ (به‌جای چسبیدن به لوگو وسط صفحه) */
  .ps-header__inner {
    justify-content: space-between;
  }

  .ps-burger {
    display: inline-flex;
  }

  .ps-nav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    inline-size: min(340px, 88vw);
    background: var(--ps-white);
    box-shadow: var(--ps-shadow-3);
    padding: 22px;
    transform: translateX(-100%);
    transition: transform 0.35s var(--ps-ease), visibility 0.35s;
    /* بسته = نامرئی و بدون تأثیر بر چیدمان؛ وگرنه translate بیرون صفحه در کروم گوشی
       عرض چیدمان را باز می‌کند (حس زوم/تکان افقی). contain جلوی سرایت اندازه را می‌گیرد.
       (display:none ممکن نیست چون transition بازشدن را می‌کشد.) */
    visibility: hidden;
    contain: layout size style;
    overflow-y: auto;
    z-index: 120;
    margin: 0;
  }

  .ps-ltr .ps-nav {
    transform: translateX(100%);
  }

  .ps-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .ps-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .ps-menu > li > a {
    padding: 14px 12px;
    font-size: 1rem;
    border-block-end: 1px solid var(--ps-line);
    border-radius: 0;
    justify-content: space-between;
  }

  .ps-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    columns: initial;
    display: none;
    padding: 4px 0 10px 14px;
    min-inline-size: 0;
  }

  .ps-menu li.is-expanded > .sub-menu {
    display: block;
  }

  .ps-menu > li.menu-item-has-children > a::after {
    order: 2;
  }

  .ps-nav__mobile-extra {
    display: grid;
    gap: 14px;
    margin-block-start: 22px;
    padding-block-start: 18px;
    border-block-start: 1px solid var(--ps-line);
  }

  .ps-nav__tel {
    text-align: center;
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--ps-primary);
  }

  .ps-header__scrim:not([hidden]) {
    z-index: 110;
    display: block;
  }

  .ps-header__cta {
    display: none;
  }

  .ps-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 8px;
  }

  .ps-stats__item:nth-child(2) {
    border-inline-end: 0;
  }
}

@media (max-width: 720px) {
  .ps-grid--3,
  .ps-grid--4 {
    grid-template-columns: 1fr;
  }

  /* الگوی فروشگاه‌های ایرانی (ترب/دیجی‌کالا/ابزارمارت/سام‌تجهیز): گرید محصولات در موبایل ۲ ستونه. */
  .ps-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  /* کارت مینیمال موبایل: تصویر مربعی یکدست + تیتر ۲خطی + حذف مشخصات از کارت. */
  .ps-grid--products .ps-card__media {
    aspect-ratio: 1 / 1;
  }

  .ps-grid--products .ps-card__media img {
    object-fit: contain;
    padding: 10px;
  }

  .ps-grid--products .ps-card__body {
    padding: 10px 12px 12px;
  }

  .ps-grid--products .ps-card__cat {
    font-size: 0.72rem;
    margin-block-end: 4px;
  }

  .ps-grid--products .ps-card__title {
    font-size: 0.86rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
  }

  .ps-grid--products .ps-card__spec {
    display: none;
  }

  .ps-grid--products .ps-card__foot {
    padding-block-start: 8px;
  }

  .ps-grid--products .ps-card__price {
    font-size: 0.82rem;
  }

  .ps-worlds__grid {
    grid-template-columns: 1fr;
  }

  .ps-form__row {
    grid-template-columns: 1fr;
  }

  .ps-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ps-footer__bottom-inner {
    justify-content: center;
    text-align: center;
  }

  .ps-hero {
    min-block-size: 560px;
  }

  .ps-hero__content {
    text-align: center;
  }

  .ps-hero__inner {
    margin-inline: auto;
  }

  .ps-hero__ctas,
  .ps-hero__badges {
    justify-content: center;
  }

  .ps-hero__text {
    margin-inline: auto;
  }

  .ps-hero__scroll {
    display: none;
  }

  .ps-about__experience {
    position: static;
    display: block;
    width: fit-content;
    max-inline-size: 100%;
    margin-block-start: 14px;
  }

  .ps-process__list {
    grid-template-columns: 1fr;
  }

  .ps-tst__track {
    min-block-size: 400px;
  }

  .ps-product__quick {
    grid-template-columns: 1fr;
  }

  .ps-topbar__side {
    gap: 12px;
    font-size: 0.78rem;
  }

  .ps-logo__name small {
    display: none;
  }
}

@media (max-width: 480px) {
  .ps-stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ps-btn {
    inline-size: 100%;
  }

  .ps-hero__ctas .ps-btn {
    inline-size: auto;
    flex: 1 1 100%;
  }

  .ps-form__submit {
    flex-direction: column;
    align-items: stretch;
  }

  .ps-form__note {
    max-inline-size: none;
    text-align: center;
  }
}

/* در موبایل: هدر چسبان بدون تغییر ارتفاع هنگام اسکرول — تغییر مداوم min-block-size
   و اندازه لوگو در گوشی‌های میان‌رده «تکان» عمودی/افقی حس می‌شود. هدر ثابت می‌ماند. */
@media (max-width: 960px) {
  .ps-header__inner {
    min-block-size: var(--ps-header-h);
    transition: none;
  }
  .ps-header.is-scrolled .ps-header__inner {
    min-block-size: var(--ps-header-h);
  }
  .ps-header.is-scrolled .custom-logo {
    inline-size: 52px;
    block-size: 52px;
  }
  .ps-header.is-scrolled .ps-logo--sm .custom-logo {
    inline-size: 36px;
    block-size: 36px;
  }
  .ps-header.is-scrolled .ps-header__main {
    box-shadow: 0 8px 26px rgba(10, 22, 32, 0.1);
  }
}
/* در موبایل: انیمیشن‌های بی‌پایان هیرو (شناوری + سایه) خاموش تا GPU گوشی خلوت شود.
   با prefers-reduced-motion هم همین‌ها قبلاً غیرفعال می‌شدند. */
@media (max-width: 600px) {
  html.js .ps-hero__float.is-in img,
  html.js .ps-hero__float.is-in .ps-float__shadow {
    animation: none;
  }
  .ps-hero__float {
    transform: none;
  }
  /* زوم ۷ثانیه‌ای پس‌زمینه اسلایدها در گوشی خاموش — فقط محو شدن */
  .ps-hero__video,
  .ps-hero__slide,
  .ps-hero__slide.is-active {
    transform: none;
    transition: opacity 0.9s ease;
  }
  /* ماسک گرادیانی گرید هیرو روی GPU گوشی گران است — حذف */
  .ps-hero__grid {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.55;
  }
  /* ورود سریع‌تر در گوشی: حس لگ کم می‌شود */
  html.js .ps-reveal.is-visible {
    animation-duration: 0.55s;
  }
  html.js .ps-reveal[data-ps-anim='blur'].is-visible {
    animation-duration: 0.6s;
  }
}

/* ---------- 24) حرکت کم‌تر ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js .ps-reveal,
  html.js .ps-reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  html.js .ps-hero__float {
    opacity: 1;
    animation: none !important;
  }

  html.js .ps-hero__float img,
  html.js .ps-hero__float .ps-float__shadow,
  html.js .ps-float__tilt {
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- 25) چاپ ---------- */
@media print {
  .ps-header,
  .ps-footer,
  .ps-to-top,
  .ps-breadcrumb,
  .ps-hero__scroll,
  .ps-filters {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }
}

/* ================= تب‌های صفحهٔ محصول ================= */
.ps-tabs__list {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--ps-line);
  overflow-x: auto;
  scrollbar-width: thin;
}

.ps-tabs__tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.9rem 1.15rem;
  font: inherit;
  font-weight: 700;
  color: var(--ps-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ps-tabs__tab:hover {
  color: var(--ps-ink);
}

.ps-tabs__tab[aria-selected='true'] {
  color: var(--ps-ink);
  border-bottom-color: var(--ps-accent);
}

.ps-tabs__tab:focus-visible {
  outline: 2px solid var(--ps-primary);
  outline-offset: -2px;
}

html.js .ps-tabs__panel:not(.is-active) {
  display: none;
}

.ps-tabs__panel {
  padding-top: 1.5rem;
  animation: psFadeUp 0.35s ease both;
}

@keyframes psFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ================= سؤالات متداول ================= */
.ps-faq__list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.75rem;
}

.ps-faq__item {
  background: var(--ps-white);
  border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-faq__item[open] {
  border-color: var(--ps-primary);
  box-shadow: var(--ps-shadow-1);
}

.ps-faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.ps-faq__q::-webkit-details-marker {
  display: none;
}

.ps-faq__q::after {
  content: '+';
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ps-accent);
  line-height: 1;
  transition: transform 0.25s ease;
}

.ps-faq__item[open] .ps-faq__q::after {
  content: '\2212';
}

.ps-faq__q:hover {
  color: var(--ps-primary);
}

.ps-faq__a {
  padding: 0 1.25rem 1.15rem;
  color: var(--ps-muted);
  animation: psFadeUp 0.3s ease both;
}

.ps-faq__a p {
  margin: 0;
  line-height: 1.9;
}

/* ================= نوار CTA ثابت موبایل ================= */
.ps-mobilebar {
  display: none;
}

@media (max-width: 600px) {
  body {
    padding-bottom: 66px;
  }

  /* دکمه بازگشت به بالا، بالای نوار CTA ثابت موبایل (سمت مخالف دکمه‌ها) */
  .ps-to-top {
    inset-block-end: calc(84px + env(safe-area-inset-bottom));
    inset-inline-end: 14px;
    z-index: 95;
  }

  /* دات‌های اسلایدر هیرو: در موبایل از حالت شناور خارج و در ردیف جدا زیر محتوا
     تا روی متن‌ها نیفتند. */
  .ps-hero {
    flex-wrap: wrap;
  }

  .ps-hero__dots {
    position: static;
    transform: none;
    inset-inline-start: auto;
    flex: 1 1 100%;
    justify-content: center;
    padding-block: 6px 26px;
  }

  /* لمس راحت‌تر لینک‌های کوچک (حداقل ~36px) */
  .ps-post-meta__item,
  .ps-nav__tel,
  .ps-footer a:not(.ps-socials__link),
  .ps-more-link,
  .ps-card__title a {
    display: inline-block;
    padding-block: 8px;
  }

  .ps-breadcrumb a {
    display: inline-block;
    padding: 7px;
    margin-inline: -7px;
  }

  .ps-card__cat {
    padding-block: 8px;
  }

  /* دات‌های اسلایدر نظرات: ناحیهٔ لمس بزرگ */
  .ps-tst__dots button {
    position: relative;
  }

  .ps-tst__dots button::after {
    content: "";
    position: absolute;
    inset: -14px -14px;
  }

  /* لینک‌های تماس در کارت مشاوره */
  .ps-consult__contacts a {
    display: inline-block;
    padding-block: 4px;
  }

  /* ناحیهٔ لمس بزرگ برای دات‌های باریک اسلایدر */
  .ps-hero__dot {
    position: relative;
  }

  .ps-hero__dot::after {
    content: "";
    position: absolute;
    inset: -16px -8px;
  }

  .ps-mobilebar {
    display: flex;
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 90;
    background: var(--ps-ink);
    gap: 0.5rem;
    padding: 0.5rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(10, 22, 32, 0.2);
  }

  .ps-mobilebar__btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.3;
    border-radius: 10px;
    padding: 0.62rem 0.35rem;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .ps-mobilebar__btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ps-mobilebar__btn:active {
    transform: scale(0.97);
  }

  .ps-mobilebar__btn--wa {
    background: #0e7a41;
  }

  .ps-mobilebar__btn--cta {
    background: var(--ps-accent);
    color: var(--ps-ink);
  }

  .ps-footer__bottom-inner {
    padding-inline-end: 58px;
  }
}

@media print {
  .ps-mobilebar {
    display: none !important;
  }
}


/* حالت «بدون انیمیشن» از پنل سفارشی‌سازی */
body.ps-no-anim .ps-reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

body.ps-no-anim .ps-hero__float,
body.ps-no-anim .ps-hero__float img,
body.ps-no-anim .ps-hero__float .ps-float__shadow,
body.ps-no-anim .ps-float__tilt {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

/* تب‌های صفحهٔ محصول: جلوگیری از بسط min-content در RTL (اسکرول افقی صفحه) */
.ps-product__body,
.ps-tabs {
  min-width: 0;
}

.ps-tabs__list {
  max-width: 100%;
}


/* اسکرول افقی جدول مشخصات در موبایل (به‌جای برش خوردن) */
@media (max-width: 600px) {
  .ps-spec-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* لمس بدون استیک‌شدن هاور (تجربهٔ موبایل) */
@media (hover: none) {
  .ps-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--ps-line);
  }

  .ps-card:hover .ps-card__media img {
    transform: none;
  }

  .ps-card:hover .ps-card__more {
    transform: none;
  }
}

/* جای لنگرها زیر هدر چسبنده و نوار CTA موبایل */
html {
  scroll-padding-top: 96px;
}

@media (max-width: 600px) {
  html {
    scroll-padding-bottom: 88px;
  }
}

/* ---------- موج ۳: تیم / شعب / دانلود / مقایسه / ماشین‌حساب ---------- */
.ps-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ps-team__card {
  border: 1px solid var(--ps-border, #e3e8ee);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  text-align: center;
}
.ps-team__photo img {
  inline-size: 96px;
  block-size: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.ps-team__name {
  font-size: 1rem;
  margin: 10px 0 2px;
}
.ps-team__role {
  font-weight: 700;
  font-size: 0.86rem;
  margin: 0;
}
.ps-team__field {
  color: var(--ps-muted, #5b6b7a);
  font-size: 0.84rem;
  margin: 2px 0 8px;
}
.ps-team__phone {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ps-branches__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ps-branches__card {
  border: 1px solid var(--ps-border, #e3e8ee);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}
.ps-branches__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin: 0 0 4px;
}
.ps-branches__city {
  font-weight: 700;
  margin: 0 0 4px;
}
.ps-branches__addr {
  color: var(--ps-muted, #5b6b7a);
  font-size: 0.88rem;
  margin: 0 0 8px;
}
.ps-branches__phone {
  font-weight: 700;
}
.ps-downloads__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ps-downloads__item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ps-border, #e3e8ee);
  border-radius: 12px;
  padding: 12px 16px;
  background: #fff;
}
.ps-downloads__name {
  flex: 1;
  font-weight: 700;
}
.ps-downloads__link {
  font-weight: 700;
  white-space: nowrap;
}
.ps-compare__table {
  inline-size: 100%;
  border-collapse: collapse;
}
.ps-compare__table th,
.ps-compare__table td {
  border: 1px solid var(--ps-border, #e3e8ee);
  padding: 10px 12px;
  text-align: start;
  vertical-align: top;
}
.ps-compare__table thead th {
  background: var(--ps-ink);
  color: #fff;
}
.ps-compare__empty {
  text-align: center;
  padding: 30px 10px;
  color: var(--ps-muted, #5b6b7a);
}
.ps-calc {
  border: 1px solid var(--ps-border, #e3e8ee);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  display: grid;
  gap: 14px;
  max-inline-size: 560px;
}
.ps-calc label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.ps-calc input,
.ps-calc select {
  padding: 10px 12px;
  border: 1px solid var(--ps-border, #e3e8ee);
  border-radius: 10px;
  font: inherit;
}
.ps-calc__result {
  background: var(--ps-bg);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0;
}
@media (max-width: 960px) {
  .ps-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ps-branches__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .ps-team__grid,
  .ps-branches__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .ps-compare__wrap {
    overflow-x: auto;
  }
}
/* ---------- موج ۲: بنر اطلاع‌رسانی / مگامنو / پاپ‌آپ / فوتر ستونی / فونت / هدر غیرچسبان ---------- */
.ps-announce {
  background: var(--ps-accent);
  color: #fff;
  font-size: 0.86rem;
}
.ps-announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-block: 8px;
}
.ps-announce__link,
.ps-announce__text {
  color: #fff;
  margin: 0;
  font-weight: 700;
}
.ps-announce__link:hover {
  text-decoration: underline;
}
.ps-announce__close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: 6px;
  inline-size: 24px;
  block-size: 24px;
  cursor: pointer;
  line-height: 1;
  font-size: 16px;
}
.ps-announce.is-hidden {
  display: none;
}
body.ps-no-sticky .ps-header {
  position: static;
}
li.ps-mega > .sub-menu {
  min-inline-size: min(640px, 90vw);
  columns: 3;
}
.ps-footer__grid--3 {
  grid-template-columns: 1.3fr 1fr 1.2fr;
}
.ps-footer__grid--2 {
  grid-template-columns: 1.3fr 1.2fr;
}
body.ps-font-90 {
  font-size: 0.9rem;
}
body.ps-font-110 {
  font-size: 1.1rem;
}
body.ps-catalog .ps-btn--buy,
body.ps-catalog .ps-card__buy {
  display: none;
}
.ps-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 22, 32, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ps-popup[hidden] {
  display: none;
}
.ps-popup__box {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  max-inline-size: 420px;
  inline-size: 100%;
  text-align: center;
  position: relative;
}
.ps-popup__close {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 12px;
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.ps-popup__title {
  margin: 0 0 8px;
}
.ps-popup__text {
  margin: 0 0 16px;
  color: var(--ps-muted, #5b6b7a);
}
@media (max-width: 960px) {
  .ps-footer__grid--4,
  .ps-footer__grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .ps-footer__grid--4,
  .ps-footer__grid--3,
  .ps-footer__grid--2 {
    grid-template-columns: 1fr;
  }
  li.ps-mega > .sub-menu {
    columns: 1;
    min-inline-size: 200px;
  }
}
.ps-brands__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}
.ps-brands__item {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  opacity: 0.82;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.ps-brands__item img {
  max-width: 150px;
  height: auto;
  object-fit: contain;
}
.ps-brands__item:hover {
  opacity: 1;
  filter: none;
}
.ps-certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.ps-certs__card {
  border: 1px solid var(--ps-border, #e3e8ee);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}
.ps-certs__thumb img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}
.ps-certs__title {
  font-size: 1.02rem;
  margin: 10px 0 4px;
}
.ps-certs__no {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 4px;
}
.ps-certs__meta {
  color: var(--ps-muted, #5b6b7a);
  font-size: 0.86rem;
  margin: 0 0 8px;
}
.ps-certs__dl {
  font-weight: 700;
  font-size: 0.88rem;
}
.ps-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ps-projects__client {
  color: var(--ps-muted, #5b6b7a);
  font-size: 0.88rem;
  margin: 0 0 4px;
}
.ps-projects__result {
  font-weight: 700;
  color: var(--ps-primary);
  font-size: 0.92rem;
  margin: 0 0 8px;
}
.ps-projects__more {
  font-weight: 700;
}
@media (max-width: 960px) {
  .ps-projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .ps-projects__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
