/*
Theme Name: Pars Zendehroud Plast — English
Theme URI: https://pzp-co.ir
Author: PZP Design Studio
Author URI: https://pzp-co.ir
Description: Pars Zendehroud Plast custom theme — UPVC pipe & fittings manufacturer. Glassmorphism / industrial-minimal design, left-to-right (LTR) English edition, ported from the original RTL (Persian) theme.
Version: 1.2.0-en
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pzp
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, editor-style
*/

/* ==========================================================================
   1) Design Tokens
   ========================================================================== */
:root {
  --color-ink-950: #0d1013;
  --color-ink-900: #1b2024;
  --color-ink-800: #333a40;
  --color-ink-700: #4c555d;
  --color-ink-600: #6c757d;
  --color-ice-50: #eef5f4;
  --color-ice-100: #e6f2f0;
  --color-ice-200: #cfe6e2;
  --color-ice-300: #a3c9c3;
  --color-teal-900: #04312f;
  --color-teal-700: #0d6b63;
  --color-teal-600: #10847a;
  --color-teal-500: #17a398;
  --color-teal-400: #34c4b6;
  --color-teal-100: #d7f3ef;
  --color-action-400: #34c4b6;
  --color-action-500: #0d6b63;
  --color-action-600: #04312f;

  /* Estedad/Vazirmatn are optimized for Persian glyphs; their Latin
     glyph set is noticeably weaker than a proper Latin-first stack.
     For the English site we lead with a system Latin stack and keep
     the original fonts only as a distant fallback (harmless if any
     Persian brand name/number ever appears in content). */
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Estedad", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Vazirmatn", sans-serif;

  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
  --duration-base: 500ms;
  --duration-slow: 900ms;
}

/* ==========================================================================
   2) Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ink-900);
  background: var(--color-ice-50);
  overflow-x: hidden;
  direction: ltr;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-smooth);
}

a:hover {
  color: var(--color-action-500);
}

button {
  font-family: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@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;
  }
}

/* ==========================================================================
   3) Typography
   ========================================================================== */
.display-xl {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-ink-950);
  margin: 0 0 0.75em 0;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 3.25rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; }

p {
  margin: 0 0 1em 0;
  color: var(--color-ink-700);
}

::selection {
  background: var(--color-action-500);
  color: white;
}

*:focus-visible {
  outline: 2px solid var(--color-action-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   4) Scrollbar
   ========================================================================== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--color-ice-100); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-action-500), var(--color-ink-900));
  border-radius: 999px;
}

/* ==========================================================================
   5) Glass & Surfaces
   ========================================================================== */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 10px 40px -12px rgba(27, 32, 36, 0.18);
}

.glass-dark {
  background: rgba(27, 32, 36, 0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 60px -20px rgba(0, 0, 0, 0.45);
}

.glass-accent {
  background: linear-gradient(135deg, rgba(52, 196, 182, 0.18), rgba(27, 32, 36, 0.12));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(52, 196, 182, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 14px 40px -16px rgba(23, 163, 152, 0.4);
}

/* ==========================================================================
   6) Layout Utilities
   ========================================================================== */
.container {
  max-width: 1500px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .container { padding-inline: 32px; }
}
@media (min-width: 1024px) {
  .container { padding-inline: 40px; }
}

.section {
  padding-block: 50px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .section { padding-block: 80px; }
}

/* اصلاح‌گرهای فاصله‌ی سکشن — به‌جای style="padding-top:0" پراکنده در فایل‌های PHP،
   همه‌جا از همین دو کلاس استفاده کن تا ریتم فاصله‌گذاری سایت یکدست و قابل نگهداری بمونه. */
.section--no-top { padding-top: 0; }
.section--no-bottom { padding-bottom: 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--color-ink-600);
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--color-action-500);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-ink-950);
  margin-bottom: 24px;
}

.section-title .accent {
  color: var(--color-ink-700);
}

/* ==========================================================================
   7) Background Layers
   ========================================================================== */
.bg-grid {
  background-image:
    linear-gradient(rgba(27, 32, 36, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 32, 36, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.bg-glow {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(52, 196, 182, 0.20), transparent 70%),
    radial-gradient(40% 40% at 85% 20%, rgba(52, 196, 182, 0.16), transparent 70%),
    radial-gradient(55% 45% at 10% 60%, rgba(27, 32, 36, 0.16), transparent 70%);
}

.shimmer-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(23, 163, 152, 0.5),
    rgba(27, 32, 36, 0.5),
    rgba(23, 163, 152, 0.5),
    transparent
  );
}

/* ==========================================================================
   8) Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition:
    transform var(--duration-base) var(--ease-smooth),
    box-shadow var(--duration-base) var(--ease-smooth),
    background var(--duration-base) var(--ease-smooth),
    color var(--duration-base) var(--ease-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-action-500), var(--color-action-600));
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 14px 30px -10px rgba(23, 163, 152, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 20px 40px -10px rgba(23, 163, 152, 0.7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(27, 32, 36, 0.12);
  color: var(--color-ink-900);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-ink-900);
}

.pill {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-action-500), var(--color-ink-900));
  color: white;
  font-weight: 500;
  font-size: 13.5px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 8px 24px -8px rgba(23, 163, 152, 0.6);
  transition: transform var(--duration-base) var(--ease-smooth);
}
.pill:hover {
  transform: translateY(-1px);
  color: white;
}

/* ==========================================================================
   9) Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 900ms var(--ease-smooth),
    transform 900ms var(--ease-smooth);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   10) Custom Cursor
   ========================================================================== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 250ms var(--ease-smooth), height 250ms var(--ease-smooth);
}
.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-ink-900);
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1.5px solid rgba(23, 163, 152, 0.55);
  backdrop-filter: blur(2px);
  z-index: 9998;
}
.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  background: rgba(23, 163, 152, 0.12);
  border-color: rgba(23, 163, 152, 0.8);
}
.cursor-hover .cursor-dot { width: 0; height: 0; }

@media (max-width: 900px), (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ==========================================================================
   10b) Spotlight Hover Cards (کارت‌های کاتالوگ و درباره‌ی ما)
   --------------------------------------------------------------------------
   افکتی که خواسته شده بود: یک نور نرم که دقیقاً زیر نوک ماوس، داخل کارت،
   حرکت می‌کند و لبه‌ی کارت را هم رنگی می‌کند — همون چیزی که در نمونه‌ی
   «Animated Card» (eldoraui) دیده می‌شه. موقعیت با --spot-x/--spot-y (که
   main.js با pointermove ست می‌کنه) کنترل می‌شه؛ خودِ رنگ/محو‌شدن کاملاً
   با CSS انجام می‌شه، پس سبک و بدون افت کارایی حتی با چند ده کارت هم‌زمانه.
   ========================================================================== */
.spotlight-card {
  position: relative;
  overflow: hidden;
  transition: border-color 320ms var(--ease-smooth), box-shadow 320ms var(--ease-smooth);
}
/* محتوای واقعی کارت باید بالاتر از لایه‌ی نور بنشیند */
.spotlight-card > * {
  position: relative;
  z-index: 1;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    280px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(23, 163, 152, 0.16),
    rgba(23, 163, 152, 0.05) 45%,
    transparent 70%
  );
  transition: opacity 420ms var(--ease-smooth);
}
.spotlight-card.is-spotlighted::before {
  opacity: 1;
}
.spotlight-card.is-spotlighted {
  border-color: rgba(23, 163, 152, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 20px 48px -18px rgba(23, 163, 152, 0.32);
}
@media (max-width: 900px), (hover: none) {
  .spotlight-card::before { display: none; }
}

/* ==========================================================================
   11) Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  padding: 16px 16px 0;
}

@media (min-width: 640px) {
  .site-header { padding: 20px 24px 0; }
}
@media (min-width: 1024px) {
  .site-header { padding: 20px 40px 0; }
}

.header-card {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 28px;
  clip-path: round(
    100% 50%, 0% 50%
  );
  transition: transform 700ms var(--ease-smooth), box-shadow 700ms var(--ease-smooth);
}

.header-card.is-scrolled {
  box-shadow: 0 20px 60px -20px rgba(27, 32, 36, 0.35);
  transform: scale(0.995);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 6px;
  font-size: 11px;
  color: var(--color-ink-700);
}

.header-top a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-top .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-action-500);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px 14px;
}

@media (min-width: 640px) {
  .header-main { padding: 14px 24px 16px; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1b2024 0%, #333a40 55%, #17a398 100%);
  box-shadow: 0 10px 30px -10px rgba(27, 32, 36, 0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 100%;
  height: 100%;
}

/* حالت لوگوی سفارشی (آپلود شده از Customizer): بدون پس‌زمینه‌ی گرادیانی، فقط خود تصویر
   نکته: از سلکتور دوکلاسه (.brand-logo.brand-logo--custom) استفاده شده تا اولویتش
   از قانون رسپانسیو موبایلِ «.brand-logo { width:44px; height:44px }» (پایین‌تر در فایل) بیشتر باشد. */
.brand-logo.brand-logo--custom {
  background: none;
  box-shadow: none;
  width: auto;
  height: 48px;
  border-radius: 0;
}
.brand-logo--custom img {
  width: auto;
  height: 100%;
  max-width: 160px;
  object-fit: contain;
}
@media (max-width: 639px) {
  .brand-logo.brand-logo--custom { width: auto; height: 40px; }
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-ink-950);
  line-height: 1.15;
}
@media (min-width: 640px) {
  .brand-name { font-size: 17px; }
}

.brand-tag {
  font-size: 10.5px;
  color: var(--color-ink-600);
  letter-spacing: 0.05em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.primary-nav a,
.primary-nav button {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-ink-700);
  transition: all 500ms var(--ease-smooth);
  position: relative;
}

.primary-nav a:hover,
.primary-nav button:hover {
  color: var(--color-ink-900);
  background: rgba(255, 255, 255, 0.5);
}

.primary-nav .current-menu-item > a,
.primary-nav .current > a,
.primary-nav a[aria-current="page"] {
  background: linear-gradient(135deg, var(--color-action-500), var(--color-ink-900));
  color: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 8px 24px -8px rgba(23, 163, 152, 0.6);
}


.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  margin-inline-start: auto;
  color: var(--color-ink-900);
}

@media (max-width: 900px) {
  .header-top { display: none; }
  .primary-nav { display: none; }
  .header-cta { display: none !important; }
  .menu-toggle { display: inline-flex; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 14px; }
  .brand-tag { font-size: 9.5px; }
}

/* ==========================================================================
   Mobile Drawer — کشویی از سمت چپ  (جایگزین کامل بلوک قبلی)
   --------------------------------------------------------------------------
   ★ تمام CSS قدیمی مربوط به .mobile-drawer را حذف کن — از
     .mobile-drawer {  تا  .mobile-drawer__list a.is-active {
   و این بلوک را جای آن بگذار. (هم‌رنگ توکن‌های قالب، بدون وابستگی)
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 16, 19, 0.42);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  opacity: 0;
  transition: opacity 420ms var(--ease-smooth);
}
.mobile-drawer.is-open .mobile-drawer__backdrop { opacity: 1; }

/* Panel — physically pinned so it always opens from the side where the
   hamburger button actually sits. In the RTL version the header's
   logical layout (brand at inline-start, nav/toggle pushed to
   inline-end via margin-inline-start:auto) puts the toggle button on
   the visual LEFT, so the drawer was hard-coded to the left.
   In this LTR version the same logical layout puts brand→left and
   nav/toggle→right, so the drawer is mirrored to the RIGHT to match —
   this is a deliberate re-derivation, not a blind flip. */
.mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  width: min(86vw, 380px);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px 0 0 28px;
  box-shadow: -20px 0 60px -20px rgba(27, 32, 36, 0.35);
  transform: translateX(100%);
  transition: transform 620ms var(--ease-smooth);
  overflow: hidden;
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }

/* ---------- سر کشو ---------- */
.mobile-drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(27, 32, 36, 0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(238,245,244,0.75));
}
.mobile-drawer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}
.mobile-drawer__brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1b2024 0%, #333a40 55%, #17a398 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 8px 22px -10px rgba(27,32,36,0.5);
  overflow: hidden;
}
.mobile-drawer__brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}
.mobile-drawer__brand-text { line-height: 1.15; }
.mobile-drawer__brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-ink-950);
  white-space: nowrap;
}
.mobile-drawer__brand-tag {
  display: block;
  font-size: 11px;
  color: var(--color-ink-600);
}
.mobile-drawer__close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(27, 32, 36, 0.06);
  color: var(--color-ink-900);
  border: 1px solid rgba(27, 32, 36, 0.08);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-smooth),
              color var(--duration-base) var(--ease-smooth),
              transform var(--duration-base) var(--ease-smooth);
}
.mobile-drawer__close:hover {
  background: var(--color-ink-900);
  color: #fff;
  transform: rotate(90deg);
}

/* ---------- بدنه‌ی اسکرولی ---------- */
.mobile-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 12px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-ice-300) transparent;
}
.mobile-drawer__body::-webkit-scrollbar { width: 5px; }
.mobile-drawer__body::-webkit-scrollbar-thumb {
  background: var(--color-ice-300);
  border-radius: 999px;
}

.mobile-drawer__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(27,32,36,0.08);
  color: var(--color-ink-600);
}
.mobile-drawer__search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: var(--color-ink-900);
}
.mobile-drawer__search input::placeholder { color: var(--color-ink-600); }

/* ---------- منو ---------- */
.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer__item {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(27, 32, 36, 0.06);
  transition: background var(--duration-base) var(--ease-smooth),
              border-color var(--duration-base) var(--ease-smooth);
}
.mobile-drawer__item:hover {
  background: #fff;
  border-color: rgba(27,32,36,0.1);
}
.mobile-drawer__item.is-active {
  background: linear-gradient(135deg, var(--color-ink-900), var(--color-action-500));
  border-color: transparent;
}
.mobile-drawer__item.is-open {
  background: #fff;
  border-color: rgba(52,196,182,0.25);
  box-shadow: 0 10px 30px -16px rgba(23,163,152,0.35);
}

.mobile-drawer__link,
.mobile-drawer__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-ink-800);
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--duration-base) var(--ease-smooth);
}
.mobile-drawer__item.is-active .mobile-drawer__link,
.mobile-drawer__item.is-active .mobile-drawer__toggle {
  color: #fff;
}
.mobile-drawer__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(23,163,152,0.1);
  color: var(--color-action-500);
  font-size: 14px;
  transition: background var(--duration-base) var(--ease-smooth),
              color var(--duration-base) var(--ease-smooth);
}
.mobile-drawer__item.is-active .mobile-drawer__icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.mobile-drawer__item.is-open .mobile-drawer__icon {
  background: var(--color-ink-900);
  color: #fff;
}
.mobile-drawer__label { flex: 1; min-width: 0; }
.mobile-drawer__chevron {
  flex-shrink: 0;
  color: var(--color-ink-600);
  display: inline-flex;
  transition: transform 380ms var(--ease-smooth), color var(--duration-base) var(--ease-smooth);
}
.mobile-drawer__item.is-open .mobile-drawer__chevron { transform: rotate(180deg); color: var(--color-action-500); }
.mobile-drawer__item.is-active .mobile-drawer__chevron { color: rgba(255,255,255,0.85); }

/* زیرمنو — grid trick برای انیمیشن ارتفاع بدون JS */
.mobile-drawer__submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms var(--ease-smooth);
}
.mobile-drawer__item.is-open .mobile-drawer__submenu { grid-template-rows: 1fr; }
.mobile-drawer__submenu-inner { overflow: hidden; }
.mobile-drawer__submenu-list {
  list-style: none;
  margin: 0;
  padding: 0 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(27,32,36,0.06);
  margin-top: 2px;
  padding-top: 10px;
}
.mobile-drawer__submenu-list li { list-style: none; }
.mobile-drawer__submenu-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink-700);
  background: rgba(238,245,244,0.7);
  text-decoration: none;
  transition: background var(--duration-base) var(--ease-smooth),
              color var(--duration-base) var(--ease-smooth);
}
.mobile-drawer__submenu-list a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-ice-300);
  flex-shrink: 0;
  transition: background var(--duration-base) var(--ease-smooth);
}
.mobile-drawer__submenu-list a:hover {
  background: var(--color-ink-900);
  color: #fff;
}
.mobile-drawer__submenu-list a:hover::before { background: var(--color-action-400); }

/* ---------- فوتر کشو ---------- */
.mobile-drawer__foot {
  flex-shrink: 0;
  padding: 14px 14px 18px;
  border-top: 1px solid rgba(27,32,36,0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), var(--color-ice-50));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-drawer__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mobile-drawer__contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 600;
  background: #fff;
  border: 1px solid rgba(27,32,36,0.07);
  color: var(--color-ink-800);
  text-decoration: none;
  transition: background var(--duration-base) var(--ease-smooth),
              color var(--duration-base) var(--ease-smooth);
}
.mobile-drawer__contact a:hover {
  background: var(--color-ink-900);
  color: #fff;
  border-color: transparent;
}
.mobile-drawer__social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-drawer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(27,32,36,0.06);
  color: var(--color-ink-700);
  text-decoration: none;
  transition: background var(--duration-base) var(--ease-smooth),
              color var(--duration-base) var(--ease-smooth),
              transform var(--duration-base) var(--ease-smooth);
}
.mobile-drawer__social a:hover {
  background: var(--color-action-500);
  color: #fff;
  transform: translateY(-2px);
}
.mobile-drawer__cta {
  width: 100%;
  justify-content: center;
  padding-block: 14px;
  border-radius: 16px;
  font-size: 14px;
  text-decoration: none;
}
.mobile-drawer__mail {
  text-align: center;
  font-size: 12px;
  color: var(--color-ink-600);
  text-decoration: none;
}
.mobile-drawer__mail:hover { color: var(--color-action-500); }

/* staggering */
.mobile-drawer.is-open .mobile-drawer__item {
  animation: pzp-drawer-in 480ms var(--ease-smooth) both;
}
.mobile-drawer.is-open .mobile-drawer__item:nth-child(1) { animation-delay: 60ms; }
.mobile-drawer.is-open .mobile-drawer__item:nth-child(2) { animation-delay: 90ms; }
.mobile-drawer.is-open .mobile-drawer__item:nth-child(3) { animation-delay: 120ms; }
.mobile-drawer.is-open .mobile-drawer__item:nth-child(4) { animation-delay: 150ms; }
.mobile-drawer.is-open .mobile-drawer__item:nth-child(5) { animation-delay: 180ms; }
.mobile-drawer.is-open .mobile-drawer__item:nth-child(6) { animation-delay: 210ms; }
.mobile-drawer.is-open .mobile-drawer__item:nth-child(7) { animation-delay: 240ms; }
.mobile-drawer.is-open .mobile-drawer__item:nth-child(8) { animation-delay: 270ms; }
.mobile-drawer.is-open .mobile-drawer__item:nth-child(9) { animation-delay: 300ms; }
@keyframes pzp-drawer-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}

body.drawer-open { overflow: hidden; }

@media (min-width: 901px) {
  .mobile-drawer { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-drawer__panel,
  .mobile-drawer__backdrop,
  .mobile-drawer__submenu { transition: none !important; }
  .mobile-drawer__item { animation: none !important; }
}

/* ==========================================================================
   12) Section Nav (desktop floating dots)
   ========================================================================== */
.section-nav {
  position: fixed;
  top: 50%;
  /* Mirrored left→right: in RTL, "left" is the reading-end edge
     (start=right, end=left). This rail sits at that end edge. In
     LTR the end edge is the right side, so it moves there too. */
  right: 25px;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
@media (min-width: 1280px) {
  .section-nav { display: flex; }
}

.section-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.section-nav__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-ink-700);
  opacity: 0;
  transform: translateX(8px);
  transition: all 500ms var(--ease-smooth);
}

.section-nav__item:hover .section-nav__label,
.section-nav__item.is-active .section-nav__label {
  opacity: 1;
  transform: none;
}

.section-nav__item.is-active .section-nav__label {
  color: var(--color-ink-900);
}

.section-nav__dot {
  order: -1;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(27, 32, 36, 0.3);
  transition: all 500ms var(--ease-smooth);
}

.section-nav__item:hover .section-nav__dot {
  background: rgba(27, 32, 36, 0.6);
}

.section-nav__item.is-active .section-nav__dot {
  width: 8px;
  height: 32px;
  background: linear-gradient(180deg, var(--color-action-500), var(--color-ink-900));
  border-radius: 999px;
}

/* ==========================================================================
   13) Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--site-header-h, 170px) + 40px);
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero { padding-top: calc(var(--site-header-h, 180px) + 40px); }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: 50px;
  }
}

.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--color-ink-700);
}
.badge-dark {
  background: var(--color-ink-900);
  color: white;
}

.badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-action-500);
  position: relative;
  animation: pulse-ring 2.4s ease-out infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(23, 163, 152, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(23, 163, 152, 0); }
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-ink-950);
  margin-bottom: 24px;
}

.hero__title .gradient-text {
  background: linear-gradient(270deg, var(--color-action-500), var(--color-action-400), var(--color-ink-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title .underline-svg {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
}

.hero__desc {
  max-width: 560px;
  font-size: 15.5px;
  line-height: 2;
  color: var(--color-ink-700);
  margin-bottom: 32px;
  text-align: justify;   /* همین خط رو اضافه کن */
  text-align-last: right; /* خط آخر پاراگراف رو راست‌چین نگه می‌داره، نه کشیده */
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 28px;
}
.hero__checks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--color-ink-700);
}
.hero__checks svg {
  color: var(--color-action-500);
  flex-shrink: 0;
}

/* hero product */
.hero__product {
  position: relative;
  height: 480px;
}
@media (min-width: 640px) {
  .hero__product { height: 560px; }
}
@media (min-width: 1024px) {
  .hero__product { height: 620px; }
}

.hero__product-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(52, 196, 182, 0.3);
  pointer-events: none;
}
.hero__product-ring:nth-child(2) {
  inset: 24px;
  border-color: rgba(52, 196, 182, 0.2);
}
.hero__product-ring:nth-child(3) {
  inset: 56px;
  border-color: rgba(52, 196, 182, 0.1);
}

.hero__product-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 60px -20px rgba(27, 32, 36, 0.5));
  animation: floaty 7s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(0.8deg); }
}

/* ==========================================================================
   6b) Glass Frame — قاب شیشه‌ای مشترک برای تصاویر (همون زبان بصری عکس هیرو)
   هرجای سایت که می‌خوای عکس دقیقاً با ظاهر عکس هیرو نشون داده بشه، همین
   سه‌تا کلاس رو استفاده کن:
   <div class="glass-frame" style="height:400px"> (یا هر ارتفاعی)
     <div class="glass-frame__inner"><img ...></div>
     <div class="glass-frame__overlay"></div>
   </div>
   ========================================================================== */
.glass-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 40px 80px -30px rgba(27, 32, 36, 0.45);
}
.glass-frame__inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-action-400), var(--color-ink-800));
}
.glass-frame__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.glass-frame__overlay {
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(27, 32, 36, 0) 45%, rgba(27, 32, 36, 0.35) 100%);
  pointer-events: none;
}

/* Image-based hero visual (replaces the SVG illustration; image comes from the Customizer) */
.hero__visual-frame {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 40px 80px -30px rgba(27, 32, 36, 0.45);
}
.hero__visual-frame-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
}
.hero__visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__visual-frame--empty .hero__visual-frame-inner {
  background: linear-gradient(135deg, var(--color-action-400), var(--color-ink-800));
}
.hero__visual-overlay {
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(27, 32, 36, 0) 45%, rgba(27, 32, 36, 0.35) 100%);
  pointer-events: none;
}

.hero__chip {
  position: absolute;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--color-ink-700);
  transition: transform 800ms var(--ease-smooth);
}

.hero__chip--top { top: -8px; left: 16px; }
.hero__chip--right { top: 96px; right: -16px; }

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-ink-700);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-action-500), transparent);
}

/* ==========================================================================
   14) Mission / About Grid
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}

.about__intro {
  font-size: 15.5px;
  line-height: 2.25;
  color: var(--color-ink-700);
  text-align: justify;
  text-align-last: right;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 64px;
  text-align: justify;
  text-align-last: right;
}
@media (min-width: 640px) {
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .mission-grid { grid-template-columns: repeat(4, 1fr); }
}

.mission-card {
  padding: 24px;
  border-radius: 24px;
}
@media (min-width: 640px) {
  .mission-card:nth-child(even) {
    transform: translateY(32px);
  }
}

.mission-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(23, 163, 152, 0.15), rgba(27, 32, 36, 0.08));
  color: var(--color-action-500);
}
.mission-card__icon svg { width: 20px; height: 20px; }

.mission-card__title {
  font-size: 17px;
  margin-bottom: 8px;
}

.mission-card__desc {
  font-size: 13.5px;
  line-height: 1.85;
}

/* ==========================================================================
   15) Products Grid
   ========================================================================== */
.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
}

.product-card__visual {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(52, 196, 182, 0.25), rgba(27, 32, 36, 0.05));
}

.product-card__visual--alt {
  background: linear-gradient(135deg, rgba(76, 85, 93, 0.2), rgba(27, 32, 36, 0.05));
}

.product-card__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(27, 32, 36, 0.85);
  color: white;
  font-size: 10.5px;
  backdrop-filter: blur(8px);
}

.product-card__icon-big {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-action-500);
}
.product-card__icon-circle svg { width: 32px; height: 32px; }

.product-card__body {
  padding: 20px 24px 10px;
}

.product-card__title {
  font-size: 19px;
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.product-card__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.product-card__specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-ink-700);
  margin-bottom: 8px;
}
.product-card__specs li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-action-500);
  flex-shrink: 0;
}

.product-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(244, 248, 253, 0.7);
  color: var(--color-ink-900);
  font-size: 13px;
  font-weight: 500;
  transition: all 500ms var(--ease-smooth);
}
.product-card__cta:hover {
  background: var(--color-ink-900);
  color: white;
}

/* ==========================================================================
   15b) Product Category Tiles (homepage — square cards + R&D panel)
   ========================================================================== */
.cats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
}

.cat-card:not(.cat-card--rnd) .cat-card__frame {
  max-width: 260px;
  margin-inline: auto;
}

.cat-card__frame {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(27, 32, 36, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 500ms var(--ease-smooth), box-shadow 500ms var(--ease-smooth);
}
a.cat-card__frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(27, 32, 36, 0.14);
}

.cat-card__img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-ice-100), var(--color-ice-300));
}
.cat-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 32, 36, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.cat-card__foot {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 8px 14px 14px;
  border-radius: 14px;
  background: linear-gradient(0deg, rgba(5, 11, 24, 0.55), rgba(5, 11, 24, 0));
}

.cat-card__title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.cat-card__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ink-900);
  transition: background 400ms var(--ease-smooth), color 400ms var(--ease-smooth);
}
a.cat-card__frame:hover .cat-card__arrow {
  background: var(--color-action-400);
  color: #fff;
}

/* R&D panel — same grid cell width, tall rectangle (not square) */
.cat-card--rnd .cat-card__frame {
  aspect-ratio: auto;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 24px;
  background: linear-gradient(155deg, var(--color-ink-900), var(--color-ink-700));
  border: none;
}
@media (min-width: 1024px) {
  .cat-card--rnd { grid-column: 3; grid-row: span 2; }
  .cat-card--rnd .cat-card__frame { min-height: 100%; }
}

/* ==========================================================================
   15c) Product Category Archive Page (/product/) — larger tile cards,
   نام دسته‌بندی به‌صورت پیش‌فرض روی کارت نوشته نمی‌شود؛ فقط با هاور،
   یک لایه‌ی تیره روی عکس می‌آید و اسم + فلش با هم ظاهر می‌شوند.
   محدود به .product-cats-grid تا کارت‌های صفحه‌ی اصلی دست‌نخورده بمانند.
   ========================================================================== */
.product-cats-grid.cats-grid {
  gap: 16px;
}
.product-cats-grid .cat-card:not(.cat-card--rnd) .cat-card__frame {
  max-width: none;
  margin-inline: 0;
}
.product-cats-grid .cat-card__tag {
  z-index: 3;
}
.product-cats-grid .cat-card__foot {
  inset: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(0deg, rgba(5, 11, 24, 0.82) 0%, rgba(5, 11, 24, 0.35) 55%, rgba(5, 11, 24, 0) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 380ms var(--ease-smooth), transform 380ms var(--ease-smooth);
}
.product-cats-grid a.cat-card__frame:hover .cat-card__foot,
.product-cats-grid a.cat-card__frame:focus-visible .cat-card__foot {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px), (hover: none) {
  /* روی موبایل/لمسی که هاور معنی نداره، اسم همیشه دیده بشه تا کاربر گم نشه */
  .product-cats-grid .cat-card__foot {
    opacity: 1;
    transform: none;
    background: linear-gradient(0deg, rgba(5, 11, 24, 0.75) 0%, rgba(5, 11, 24, 0) 100%);
  }
}

.cat-rnd__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-action-400);
}
.cat-rnd__title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.cat-rnd__desc {
  color: var(--color-ice-200);
  font-size: 13px;
  line-height: 1.9;
}

/* ==========================================================================
   15c) Circular Gallery (product categories — progressive enhancement)
   By default the plain .cats-grid above is what's shown. Only after
   circular-gallery.js finishes initialising without any error does it add
   .js-circular-ready to <html>, which is what actually swaps the two.
   ========================================================================== */
.circular-gallery { display: none; }
.js-circular-ready .cats-grid { display: none; }
.js-circular-ready .circular-gallery { display: block; }

.circular-gallery__stage {
  position: relative;
  height: 620px;
  perspective: 2600px;
  overflow: hidden;
  border-radius: 24px;
  cursor: grab;
  touch-action: pan-y;
}
.circular-gallery__stage.is-dragging { cursor: grabbing; }

.circular-gallery__track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.circular-gallery__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 390px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  box-shadow: 0 20px 45px rgba(27, 32, 36, 0.18);
  will-change: transform, opacity;
  cursor: pointer;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}
.circular-gallery__item:hover { box-shadow: 0 24px 54px rgba(27, 32, 36, 0.26); }

.circular-gallery__img {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--color-ice-100), var(--color-ice-300));
}
.circular-gallery__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.circular-gallery__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 11, 24, 0.8), rgba(5, 11, 24, 0) 60%);
  pointer-events: none;
}

.circular-gallery__title {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  pointer-events: none;
}

.circular-gallery__hint {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--color-ink-600);
}

@media (max-width: 767px) {
  .circular-gallery__stage { height: 440px; }
  .circular-gallery__item { width: 230px; }
}

/* ==========================================================================
   16) Catalog Grid
   ========================================================================== */
.catalog__carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog__track-wrap {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0; /* بدون این، فرزند فلکس اجازه‌ی جمع‌شدن کمتر از عرض محتوایش را نمی‌دهد و اسکرول خراب می‌شود */
}

.catalog__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}
.catalog__track::-webkit-scrollbar { display: none; }

.catalog__nav {
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(27, 32, 36, 0.14);
}


.catalog-card {
  padding: 16px;
  border-radius: 24px;
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 100%;
}
@media (min-width: 640px) {
  .catalog-card { width: calc(50% - 10px); }
}
@media (min-width: 1024px) {
  .catalog-card { width: calc(25% - 15px); }
}

.catalog-card__preview {
  aspect-ratio: 200 / 300; /* نسبت A4 عمودی — دقیقاً هم‌خوان با صفحه‌ی اول گواهینامه‌ها */
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
.catalog-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.catalog-card__title {
  font-size: 15px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.catalog-card__subtitle {
  font-size: 11.5px;
  color: var(--color-ink-700);
}

/* preview illustrations */
.preview-catalog {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-ink-900), var(--color-ink-700));
  position: relative;
}
.preview-catalog::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: rgba(244, 248, 253, 0.95);
}
.preview-price {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-action-500), var(--color-action-600));
  position: relative;
}
.preview-price::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: rgba(244, 248, 253, 0.95);
}
.preview-iso {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.preview-iso--9001 { background: linear-gradient(135deg, var(--color-ink-700), var(--color-ink-900)); }
.preview-iso--14001 { background: linear-gradient(135deg, var(--color-action-400), var(--color-ink-700)); }
.preview-iso::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: rgba(244, 248, 253, 0.95);
}
.preview-iso__badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--color-action-500);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  position: relative;
  z-index: 1;
  color: var(--color-action-500);
}
/* CTA banner */
.cta-banner {
  margin-top: 40px;
  padding: 24px 32px;
  border-radius: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-banner__content {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-banner__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--color-ink-900);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-banner__title {
  font-size: 17px;
  color: var(--color-ink-900);
  margin-bottom: 4px;
}
.cta-banner__desc {
  font-size: 13px;
  color: var(--color-ink-700);
  margin: 0;
  text-align: justify;
  text-align-last: right;
}

/* ==========================================================================
   17) News Carousel
   ========================================================================== */
.news__track-wrap {
  position: relative;
  overflow: hidden;
}

.news__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.news__track::-webkit-scrollbar { display: none; }

.news-card {
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  width: 85%;
}
@media (min-width: 640px) {
  .news-card { width: 420px; }
}
@media (min-width: 1024px) {
  .news-card { width: 460px; }
}

.news-card__visual {
  position: relative;
  height: 190px;
  background: linear-gradient(135deg, var(--color-action-400), var(--color-action-500));
  overflow: hidden;
}
.news-card__visual--alt {
  background: linear-gradient(135deg, var(--color-ink-700), var(--color-ink-900));
}
.news-card__visual--mix {
  background: linear-gradient(135deg, var(--color-action-400), var(--color-ink-700));
}

.news-card__cat {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 32, 36, 0.8);
  color: white;
  font-size: 11px;
  backdrop-filter: blur(8px);
}

.news-card__meta {
  position: absolute;
  bottom: 20px;
  inset-inline: 20px;
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}
.news-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-card__body {
  padding: 24px;
}
.news-card__title {
  font-size: 18px;
  line-height: 2;
  min-height: 72px;
  margin-bottom: 12px;
}
.news-card__excerpt {
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(27, 32, 36, 0.05);
}
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink-900);
}
.news-card__more:hover { color: var(--color-action-500); }

.news-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.news-dots button {
  height: 4px;
  border-radius: 999px;
  background: rgba(27, 32, 36, 0.15);
  width: 6px;
  transition: all 500ms var(--ease-smooth);
}
.news-dots button.is-active {
  width: 24px;
  background: var(--color-action-500);
}

.news-controls {
  display: flex;
  gap: 12px;
}
.news-control {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-900);
  transition: background 500ms var(--ease-smooth);
}
.news-control:hover { background: white; }

.newsletter {
  margin-top: 64px;
  padding: 32px 40px;
  border-radius: 24px;
}
.newsletter__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .newsletter__grid { grid-template-columns: 7fr 5fr; }
}
.newsletter__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-ink-900), var(--color-action-500));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.newsletter__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.newsletter__title {
  font-size: 22px;
  margin-bottom: 8px;
}
.newsletter__desc {
  font-size: 13.5px;
  line-height: 1.85;
  margin: 0;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 640px) {
  .newsletter__form { flex-direction: row; }
}
.newsletter__form input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(27, 32, 36, 0.08);
  color: var(--color-ink-900);
  font-family: inherit;
  font-size: 13.5px;
  transition: background 500ms var(--ease-smooth);
}
.newsletter__form input:focus {
  outline: none;
  background: white;
  border-color: var(--color-action-500);
}

/* Inquiry form */
.pzp-inquiry { margin-top: 24px; padding: clamp(24px, 4vw, 48px); border-radius: 28px; }
.pzp-inquiry__intro { max-width: 720px; margin-bottom: 28px; }
.pzp-inquiry__intro p { margin: 0; line-height: 1.9; }
.pzp-inquiry__form { display: grid; gap: 20px; }
.pzp-inquiry__types { border: 0; padding: 0; margin: 0; }
.pzp-inquiry__types legend { font-weight: 800; color: var(--color-ink-900); margin-bottom: 12px; }
.pzp-inquiry__type-grid, .pzp-inquiry__fields, .pzp-inquiry__conditional { display: grid; gap: 12px; }
.pzp-inquiry__type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pzp-inquiry__type { position: relative; cursor: pointer; }
.pzp-inquiry__type input { position: absolute; opacity: 0; }
.pzp-inquiry__type span { display: block; min-height: 58px; padding: 16px; border: 1px solid var(--color-ice-300); border-radius: 16px; background: rgba(255,255,255,.66); color: var(--color-ink-800); font-weight: 700; transition: .2s ease; }
.pzp-inquiry__type input:checked + span { background: var(--color-ink-900); color: #fff; border-color: var(--color-ink-900); box-shadow: 0 8px 22px rgba(27,32,36,.2); }
.pzp-inquiry__type input:focus-visible + span { outline: 2px solid var(--color-action-500); outline-offset: 3px; }
.pzp-inquiry__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pzp-inquiry__conditional { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; border: 1px solid var(--color-ice-200); border-radius: 18px; background: rgba(238,242,250,.72); }
.pzp-inquiry label > span { display: block; margin-bottom: 7px; color: var(--color-ink-800); font-size: 13px; font-weight: 700; }
.pzp-inquiry input:not([type="radio"]):not([type="checkbox"]), .pzp-inquiry select, .pzp-inquiry textarea { width: 100%; box-sizing: border-box; padding: 13px 15px; border: 1px solid var(--color-ice-300); border-radius: 13px; background: rgba(255,255,255,.86); color: var(--color-ink-900); font: inherit; }
.pzp-inquiry textarea { resize: vertical; min-height: 128px; }
.pzp-inquiry input:focus, .pzp-inquiry select:focus, .pzp-inquiry textarea:focus { outline: 2px solid rgba(52, 196, 182, .35); border-color: var(--color-action-500); }
.pzp-inquiry__message { display: block; }
.pzp-inquiry__consent { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.pzp-inquiry__consent input { margin-top: 4px; }
.pzp-inquiry__consent span { margin: 0 !important; font-weight: 400 !important; line-height: 1.75; }
.pzp-inquiry__submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pzp-inquiry__submit > span { color: var(--color-ink-600); font-size: 12px; }
.pzp-inquiry__notice { padding: 14px 16px; margin-bottom: 18px; border-radius: 14px; font-weight: 700; }
.pzp-inquiry__notice--success { background: #eaf8ef; color: #176b39; }
.pzp-inquiry__notice--error { background: #fff0f0; color: #9d2020; }
.pzp-inquiry__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media (max-width: 640px) { .pzp-inquiry__type-grid, .pzp-inquiry__fields, .pzp-inquiry__conditional { grid-template-columns: 1fr; } }

/* Dedicated request pages and Elementor contact-page cards */
.pzp-request { max-width: 1020px; margin: 28px auto; padding: clamp(22px, 4vw, 48px); border-radius: 28px; }
.pzp-request__intro { max-width: 720px; margin-bottom: 30px; }.pzp-request__intro p { line-height: 1.9; }
.pzp-request__form { display: grid; gap: 18px; }.pzp-request__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pzp-request__section-title { margin: 22px 0 0; font-size: 20px; color: var(--color-ink-900); }.pzp-request__experience { padding: 17px; border: 1px solid var(--color-ice-200); border-radius: 18px; background: rgba(238,242,250,.55); }.pzp-request__experience > strong { display: block; margin-bottom: 12px; }
.pzp-request__field > span { display: block; margin-bottom: 7px; color: var(--color-ink-800); font-size: 13px; font-weight: 700; }.pzp-request__field b, .pzp-request__rating b { color: #bd2335; }
.pzp-request input:not([type="radio"]):not([type="checkbox"]), .pzp-request select, .pzp-request textarea { box-sizing: border-box; width: 100%; padding: 13px 15px; background: rgba(255,255,255,.9); border: 1px solid var(--color-ice-300); border-radius: 13px; color: var(--color-ink-900); font: inherit; }.pzp-request textarea { resize: vertical; }.pzp-request small { display: block; margin-top: 6px; color: var(--color-ink-600); }
.pzp-request__rating { margin: 0; padding: 16px; border: 1px solid var(--color-ice-200); border-radius: 16px; }.pzp-request__rating legend { padding: 0 5px; font-weight: 700; color: var(--color-ink-800); }.pzp-request__rating > div { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 5px; }.pzp-request__rating label { cursor: pointer; }.pzp-request__rating input { accent-color: var(--color-action-500); }
.pzp-request__consent { display: flex; align-items: flex-start; gap: 9px; line-height: 1.75; cursor: pointer; }.pzp-request__consent input { margin-top: 5px; }.pzp-request__notice { max-width: 1020px; margin: 24px auto -24px; padding: 14px 16px; border-radius: 14px; font-weight: 700; }.pzp-request__notice--success { background: #eaf8ef; color: #176b39; }.pzp-request__notice--error { background: #fff0f0; color: #9d2020; }.pzp-request__honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.pzp-request-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }.pzp-request-card { display: flex; min-height: 170px; padding: 24px; border-radius: 22px; flex-direction: column; justify-content: space-between; color: var(--color-ink-900); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }.pzp-request-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(27,32,36,.12); }.pzp-request-card strong { font-size: 19px; }.pzp-request-card span { color: var(--color-ink-600); }.pzp-request-card b { color: var(--color-action-600); font-size: 13px; }
@media (max-width: 700px) { .pzp-request__grid, .pzp-request-cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   18) Contact & Footer
   ========================================================================== */
.contact-cta {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--color-ink-900), var(--color-ink-800), var(--color-ink-900));
  margin-bottom: 64px;
}

.contact-cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 32px;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  .contact-cta__grid { padding: 56px; }
}
@media (min-width: 1024px) {
  .contact-cta__grid { grid-template-columns: 7fr 5fr; }
}

.contact-cta .section-label { color: var(--color-ice-200);   line-height: 1.90; }
.contact-cta .section-title { color: white; }
.contact-cta .section-title .accent {
  background: linear-gradient(270deg, var(--color-action-400), var(--color-ice-200));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-cta__desc {
  color: rgba(207, 230, 226, 0.85);
  font-size: 14.5px;
  line-height: 2;
  max-width: 520px;
  text-align: justify;
  text-align-last: right;
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.contact-cta__btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}
.contact-cta__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

.contact-info {
  padding: 16px;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 500ms var(--ease-smooth);
}
.contact-info:hover { transform: translateY(-2px); }

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(23, 163, 152, 0.2);
  border: 1px solid rgba(52, 196, 182, 0.4);
  color: var(--color-action-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg { width: 16px; height: 16px; }

.contact-info__label {
  font-size: 11px;
  color: rgba(207, 230, 226, 0.6);
}
.contact-info__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: white;
  margin-top: 2px;
}
.contact-info__sub {
  font-size: 11px;
  color: rgba(207, 230, 226, 0.7);
  margin-top: 4px;
}

/* footer columns */
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(27, 32, 36, 0.1);
}
@media (min-width: 1024px) {
  .footer-columns { grid-template-columns: 4fr 2fr 2fr 2fr 2fr; }
}
/* موبایل/تبلت: به‌جای یک ستون بلند، بخش برند بالا و بقیه به‌صورت ۲×۲ کنار هم */
@media (max-width: 1023px) {
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-columns > div:first-child { grid-column: 1 / -1; }
}

.footer-brand__text {
  font-size: 13px;
  line-height: 1.85;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-col__title {
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-ink-700);
}
.footer-col__list a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(27, 32, 36, 0.2);
  transition: background 500ms var(--ease-smooth);
}
.footer-col__list a:hover::before { background: var(--color-action-500); }

.footer-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 140px;
}
.footer-badge {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink-700);
  transition: transform 300ms var(--ease-smooth), background 300ms var(--ease-smooth), color 300ms var(--ease-smooth);
}
.footer-badge svg { width: 20px; height: 20px; }
.footer-badge:hover { background: white; color: var(--color-action-500); transform: translateY(-2px); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11.5px;
  color: var(--color-ink-700);
}
.footer-bottom__links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-bottom__links a:hover { color: var(--color-ink-900); }

/* ==========================================================================
   19) Article / Post Layout
   ========================================================================== */
.article-wrap {
  padding-top: 180px;
  padding-bottom: 120px;
}

.article-head {
  margin-bottom: 38px;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--color-ink-600);
  margin-bottom: 24px;
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 24px;
}

.article-excerpt {
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-ink-700);
}

.article-thumb {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 48px;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: 280px 1fr;
    gap: 64px;
  }
}

.article-content {
  max-width: 760px;
  font-size: 16px;
  line-height: 2;
}
.article-content h2 { margin-top: 38px; }
.article-content h3 { margin-top: 22px; }
.article-content p { margin-bottom: 20px; }
.article-content img {
  border-radius: 16px;
  margin: 32px 0;
}
.article-content blockquote {
  border-inline-start: 3px solid var(--color-action-500);
  padding-inline-start: 10px;
  margin: 22px 0;
  font-style: italic;
  color: var(--color-ink-800);
}
.article-content ul,
.article-content ol {
  padding-inline-start: 14px;
  margin-bottom: 20px;
}
.article-content li { margin-bottom: 8px; }
.article-content a {
  color: var(--color-action-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sidebar */
.sidebar {
  display: none;
}
@media (min-width: 1024px) {
  .sidebar { display: block; }
}

.sidebar-widget {
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.sidebar-widget__title {
  font-size: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(27, 32, 36, 0.08);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-list li {
  margin-bottom: 8px;
}
.toc-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--color-ink-700);
  border-inline-start: 2px solid transparent;
  transition: all 500ms var(--ease-smooth);
}
.toc-list a:hover,
.toc-list a.is-active {
  background: rgba(23, 163, 152, 0.08);
  color: var(--color-action-500);
  border-inline-start-color: var(--color-action-500);
}

.sidebar-recent {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-recent li {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(27, 32, 36, 0.06);
}
.sidebar-recent li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.sidebar-recent a {
  font-size: 13px;
  color: var(--color-ink-900);
  font-weight: 500;
  line-height: 1.6;
}
.sidebar-recent .date {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--color-ink-600);
  font-weight: 400;
}

.sidebar-cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sidebar-cats a {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(23, 163, 152, 0.08);
  color: var(--color-ink-700);
  font-size: 12px;
}
.sidebar-cats a:hover {
  background: var(--color-action-500);
  color: white;
}

/* post cards grid (archive) */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
}

.post-card {
  border-radius: 24px;
  overflow: hidden;
  /* کارت‌ها داخل .posts-grid به‌صورت پیش‌فرض هم‌ارتفاع کشیده می‌شن (grid
     stretch)، ولی خودِ کارت باید flex باشه تا بدنه‌اش بتونه اون ارتفاع رو
     پر کنه و همه‌ی کارت‌ها (چه عکس داشته باشن چه نداشته باشن) هم‌اندازه و
     مرتب دیده بشن. */
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card__thumb {
  display: block;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-action-400), var(--color-ink-700));
  position: relative;
  overflow: hidden;
}
/* وقتی نوشته عکس شاخص نداره، <a class="post-card__thumb"> خالیه؛ به‌جای
   نمایش گرادیانِ جایگزین (که ظاهر ناهماهنگی به آرشیو می‌داد) کلاً از
   چیدمان حذفش می‌کنیم و کارت مستقیم با متن شروع می‌شه. */
.post-card__thumb:empty {
  display: none;
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__meta {
  font-size: 11px;
  color: var(--color-ink-600);
  margin-bottom: 8px;
}
.post-card__title {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 8px;
  /* حداکثر ۲ خط برای عنوان، تا عنوان‌های بلند و کوتاه هم ارتفاع یکسانی
     برای شروع خلاصه‌ی متن ایجاد کنن. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__excerpt {
  font-size: 13px;
  line-height: 1.85;
  /* پیش‌نمایش هر نوشته حداکثر ۵ خط؛ صرف‌نظر از طول واقعی خلاصه، اینجا
     بریده و «...» می‌شه تا همه‌ی کارت‌های یک ردیف هم‌اندازه دیده بشن. */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* حتی وقتی متن کوتاه‌تر از ۵ خطه، همین فضا رو نگه می‌داریم که کارت‌های
     یک ردیف با متن کوتاه هم به اندازه‌ی بقیه بلند به‌نظر برسن. */
  min-height: calc(1.85em * 5);
}

/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 13px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  color: var(--color-ink-700);
  border: 1px solid rgba(27, 32, 36, 0.08);
}
.pagination .current,
.pagination a:hover {
  background: var(--color-ink-900);
  color: white;
  border-color: transparent;
}

/* ==========================================================================
   20) Utilities & Responsive
   ========================================================================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-header-row__lead { max-width: 420px; }
.section-header-row__desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-ink-700);
  max-width: 400px;
}

.two-col-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 1024px) {
  .two-col-header {
    grid-template-columns: 6fr 6fr;
    gap: 40px;
    align-items: end;
  }
}

/* ==========================================================================
   جدول سایزبندی/مشخصات محصولات (spec-table) — بخش خودکارِ صفحه‌ی دسته‌بندی.
   قبلاً هیچ CSSای برای این کلاس‌ها نوشته نشده بود و جدول با استایل خام
   مرورگر نمایش داده می‌شد؛ این بخش همان جدول را با ظاهر بقیه‌ی سایت هماهنگ می‌کند.
   ========================================================================== */
.spec-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(27, 32, 36, 0.12);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 260px;
  color: var(--color-ink-600);
}
.spec-search input {
  border: none;
  outline: none;
  background: none;
  font: inherit;
  color: var(--color-ink-900);
  flex: 1;
  min-width: 0;
}
.spec-search input::placeholder { color: var(--color-ink-600); }

.spec-table-wrap {
  border-radius: 24px;
  overflow: hidden;
  padding: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.spec-table thead th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--color-ink-700);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(27, 32, 36, 0.12);
  white-space: nowrap;
}
.spec-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(27, 32, 36, 0.08);
  color: var(--color-ink-800);
  vertical-align: middle;
}
.spec-table tbody tr:hover { background: rgba(23, 163, 152, 0.05); }

/* حذف خط زیرِ آخرین ردیف فقط در حالت جدول واقعی (دسکتاپ)؛
   در موبایل (کارتی) باید همون‌طور که خودت خواستی، خط زیر آخرین آیتم هم بمونه. */
@media (min-width: 640px) {
  .spec-table tbody tr:last-child td { border-bottom: none; }
}

.spec-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-ink-950);
}

.variant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(23, 163, 152, 0.08);
  border: 1px solid rgba(23, 163, 152, 0.18);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  white-space: nowrap;
}
.variant-chip b {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-ink-950);
}
.variant-chip i {
  font-style: normal;
  color: var(--color-action-600);
  font-weight: 500;
}

/* موبایل: جدول به کارت‌های ردیفی تبدیل می‌شود تا اسکرول افقی لازم نباشد */
@media (max-width: 639px) {
  .spec-table thead { display: none; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table td { display: block; width: 100%; }
  .spec-table tr {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(27, 32, 36, 0.08);
  }
  .spec-table td {
    border-bottom: none;
    padding: 4px 0;
  }
  .spec-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    color: var(--color-ink-600);
    margin-bottom: 4px;
  }
  /* آخرین کارت هم باید مثل بقیه خط جداکننده داشته باشه، وگرنه بی‌قاعده به نظر می‌رسه */
  .spec-table tbody tr:last-child {
    border-bottom: 1px solid rgba(27, 32, 36, 0.08);
  }
  .spec-search { min-width: 0; width: 100%; }
}

/* hidden utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* page banner (for pages) */
.page-banner {
  padding-top: 180px;
  padding-bottom: 60px;
  text-align: center;
}
.page-banner__crumbs {
  font-size: 12px;
  color: var(--color-ink-600);
  margin-bottom: 16px;
}
.page-banner__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.page-banner__media {
  max-width: 1100px;
  margin: 40px auto 0;
  aspect-ratio: 21 / 8;
}
@media (max-width: 640px) {
  .page-banner__media { aspect-ratio: 4 / 3; margin-top: 28px; }
}

/* 404 */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 200px;
  padding-bottom: 100px;
  text-align: center;
}
.error-404__big {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-action-500), var(--color-ink-900));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

/* search form */
.search-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 24px auto;
}
.search-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(48, 76, 124, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  font-size: 14px;
}
.search-form input:focus {
  outline: none;
  border-color: var(--color-action-500);
}
.search-form button {
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--color-ink-900);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
}

/* wp-block compat */
.wp-block-image img { border-radius: 16px; }
.wp-block-button__link {
  background: var(--color-action-500);
  color: white;
  padding: 12px 22px;
  border-radius: 12px;
}

/* comment form (basic) */
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(27, 32, 36, 0.1);
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  margin-bottom: 12px;
  color:#1b2024
}
.comment-form textarea { min-height: 120px; resize: vertical; }

/* ==========================================================================
   23) Knowledge Base (دانش‌نامه) — Spotlight + Categories Accordion
   ========================================================================== */
.kb-spotlight {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--duration-base) var(--ease-smooth), transform var(--duration-base) var(--ease-smooth);
}
.kb-spotlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -25px rgba(27, 32, 36, 0.3);
}
@media (min-width: 900px) {
  .kb-spotlight { grid-template-columns: 1.1fr 1fr; }
}
.kb-spotlight__visual {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-action-400), var(--color-ink-700));
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) {
  .kb-spotlight__visual { aspect-ratio: auto; }
}
.kb-spotlight__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kb-spotlight__body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kb-spotlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(23, 163, 152, 0.1);
  color: var(--color-action-600);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
.kb-spotlight__title {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  margin-bottom: 14px;
}
.kb-spotlight__excerpt {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-ink-700);
  margin-bottom: 22px;
}
.kb-spotlight__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-action-600);
}
.kb-spotlight:hover .kb-spotlight__cta { gap: 14px; }

.cat-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .cat-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

.cat-item { border-radius: 24px; }

.cat-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 24px;
  cursor: pointer;
  transition:
    box-shadow var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth);
}
.cat-toggle:hover {
  box-shadow: 0 20px 40px -20px rgba(27, 32, 36, 0.25);
}

.cat-toggle__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-action-400), var(--color-ink-700));
  color: white;
}

.cat-toggle__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.cat-toggle__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-ink-950);
}
.cat-toggle__count {
  font-size: 12px;
  color: var(--color-ink-600);
}

.cat-toggle__chevron {
  flex-shrink: 0;
  transition: transform var(--duration-base) var(--ease-smooth);
  color: var(--color-action-500);
}

.cat-posts-grid { gap: 20px; }
.cat-posts-grid .post-card { animation: pzp-fade-in 0.5s var(--ease-smooth); }

/* ==========================================================================
   21) Newsletter Page (خبرنامه)
   ========================================================================== */
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
@media (min-width: 768px) {
  .newsletter-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .newsletter-grid { grid-template-columns: repeat(3, 1fr); }
}
/* .news-card is designed for the horizontal front-page carousel (fixed width);
   inside a CSS grid it should fill its cell instead. */
.newsletter-grid .news-card {
  width: 100%;
}

.newsletter-cta {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   22) Newsletter Archive (آرشیو اخبار) — Year Accordion
   ========================================================================== */
.year-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin-inline: auto;
}

.year-item { border-radius: 24px; }

.year-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-radius: 24px;
  cursor: pointer;
  transition:
    background var(--duration-base) var(--ease-smooth),
    box-shadow var(--duration-base) var(--ease-smooth);
}
.year-toggle:hover {
  box-shadow: 0 20px 40px -20px rgba(27, 32, 36, 0.25);
}

.year-toggle__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-ink-950);
  letter-spacing: -0.02em;
}

.year-toggle__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-ink-600);
  font-size: 13px;
}

.year-toggle__chevron {
  transition: transform var(--duration-base) var(--ease-smooth);
  color: var(--color-action-500);
}
.year-item.is-open .year-toggle__chevron,
.cat-item.is-open .cat-toggle__chevron {
  transform: rotate(180deg);
}
.year-item.is-open .year-toggle,
.cat-item.is-open .cat-toggle {
  box-shadow: 0 20px 40px -20px rgba(27, 32, 36, 0.25);
}

/* Smooth height accordion via grid-template-rows trick (no JS height calc needed) */
.year-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-slow) var(--ease-smooth);
}
.year-item.is-open .year-panel,
.cat-item.is-open .year-panel {
  grid-template-rows: 1fr;
}
.year-panel__inner {
  overflow: hidden;
}
.year-panel__content {
  padding: 32px 8px 8px;
}

.year-panel__loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 8px;
  color: var(--color-ink-600);
  font-size: 13px;
}
.year-panel__loading .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-action-500);
  animation: pzp-dot-pulse 1.2s ease-in-out infinite;
}
.year-panel__loading .dot:nth-child(2) { animation-delay: 0.15s; }
.year-panel__loading .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes pzp-dot-pulse {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.year-posts-grid { gap: 20px; }
.year-posts-grid .post-card { animation: pzp-fade-in 0.5s var(--ease-smooth); }
@keyframes pzp-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .year-toggle { padding: 20px 22px; }
}

/* ==========================================================================
   18) About Page — Process Steps / Testimonials / FAQ
   ========================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 12.5%;
  left: 12.5%;
  height: 0;
  border-top: 2px dashed var(--color-ice-300);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  padding: 28px 22px;
  border-radius: 24px;
}
.process-step__num {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-action-500);
  font-family: var(--font-display, inherit);
  font-weight: 800;
  font-size: 14px;
}
.process-step__title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-ink-950);
  margin-bottom: 8px;
}
.process-step__desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--color-ink-700);
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}

.testimonial-card {
  padding: 30px 26px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}
.testimonial-card__quote-icon { color: var(--color-ice-300); margin-bottom: 14px; }
.testimonial-card__text {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--color-ink-800);
  flex-grow: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--color-ice-200);
}
.testimonial-card__name { font-size: 13.5px; font-weight: 700; color: var(--color-ink-900); }
.testimonial-card__role { font-size: 12px; color: var(--color-ink-600); margin-top: 2px; }

.faq-list { max-width: 880px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--color-ice-200); }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-ink-900);
  text-align: left;
}
.faq-item__chevron { flex-shrink: 0; color: var(--color-action-500); transition: transform 320ms var(--ease-smooth); }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms var(--ease-smooth);
  color: var(--color-ink-700);
  font-size: 14px;
  line-height: 1.9;
}
.faq-item__a-inner { padding: 0 4px 22px; }

/* ==========================================================================
   19) About Page — Phase Stack (Scroll-Pinned Image Stacking)
   ========================================================================== */
.phase-stack-section { overflow: visible; }

/* ---- Desktop: pinned scroll-stack ---- */
.phase-stack {
  position: relative;
  /* هر فاز به اندازه‌ی یک صفحه‌ی نمایش کامل طول اسکرول می‌گیره */
  height: calc(var(--stack-count, 1) * 100vh);
}
.phase-stack__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  /* فاصله از بالا تا زیر هدر شناور (fixed) تا تیتر/آیتم اول لیست هیچ‌وقت زیر هدر پنهان نشه */
  padding-top: 15px;
  padding-bottom: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
/* تیتر بخش — حالا داخل همون ناحیه‌ی sticky، بالای لیست/تصاویر؛ در کل مدت
   اسکرول فازها سرجای خودش می‌مونه. کامپکت‌تر از تیتر معمولی بخش‌ها تا با
   لیست ۱۰ آیتمی داخل ۱۰۰vh جا بشه. */
.phase-stack__header {
  flex: 0 0 auto;
  margin-bottom: clamp(10px, 2.4vh, 28px);
}
.phase-stack__header .section-label { margin-bottom: 8px; }
.phase-stack__header .section-title {
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  margin-bottom: 0;
}
.phase-stack__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

/* متن — سمت راست (اولین فرزند در RTL) */
.phase-stack__copy {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 480px;
}
.phase-stack__list { list-style: none; margin: 0; padding: 0; }
.phase-stack__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  /* پدینگ بر اساس ارتفاع صفحه تنظیم می‌شه تا ۱۰ فاز همیشه بدون اسکرول جا بشن */
  padding-block: clamp(6px, 1.6vh, 16px);
  border-bottom: 1px solid var(--color-ice-200);
  opacity: 0.3;
  transform: translateY(10px);
  transition:
    opacity var(--duration-slow) var(--ease-smooth),
    transform var(--duration-slow) var(--ease-smooth);
}
.phase-stack__item:first-child { padding-top: 0; }
.phase-stack__item.is-visible { opacity: 1; transform: translateY(0); }
.phase-stack__item-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(12px, 1.4vh, 14px);
  color: var(--color-ink-600);
  min-width: 32px;
  flex-shrink: 0;
  transition: color var(--duration-base) var(--ease-smooth);
}
.phase-stack__item.is-current .phase-stack__item-num,
.phase-stack__item.is-current .phase-stack__item-title {
  color: var(--color-action-500);
}
/* عنوان و توضیح فاز، هر دو در یک ردیف کنار هم (نه زیر هم) */
.phase-stack__item > div {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.phase-stack__item-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-ink-950);
  transition: color var(--duration-base) var(--ease-smooth);
}
.phase-stack__item-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--color-ink-700);
  margin: 6px 0 0;
}

/* حالت دسکتاپ (لیست سنجاق‌شده): عنوان و توضیح کنار هم در یک ردیف؛ فونت با ارتفاع صفحه
   هماهنگ می‌شه (روی مانیتورهای معمولی در بزرگ‌ترین حالت خودشه) تا بدون اسکرول جا بشن. */
.phase-stack__item .phase-stack__item-title {
  font-size: clamp(14px, 1.7vh, 17px);
  flex-shrink: 0;
}
.phase-stack__item .phase-stack__item-text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: clamp(12.5px, 1.45vh, 15px);
  line-height: 1.6;
  color: var(--color-ink-700);
}

/* تصاویر — سمت چپ، به‌صورت استک روی هم */
.phase-stack__visual { flex: 1.3 1 460px; display: flex; justify-content: center; }
.phase-stack__frame {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1 / 1;
}
@media (min-width: 1440px) {
  .phase-stack__frame { width: min(620px, 100%); }
}
.phase-stack__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(36px) scale(0.92);
  transition:
    transform var(--duration-slow) var(--ease-smooth),
    opacity var(--duration-slow) var(--ease-smooth),
    filter var(--duration-slow) var(--ease-smooth);
}
.phase-stack__img .glass-frame {
  filter: brightness(1);
  transition: filter var(--duration-slow) var(--ease-smooth);
}
.phase-stack__img.is-visible { opacity: 1; }
.phase-stack__img.is-current {
  transform: translateY(0) scale(1);
  z-index: 30;
}
.phase-stack__img.is-stacked {
  transform: translateY(calc(var(--depth, 1) * -16px)) scale(calc(1 - var(--depth, 1) * 0.05));
  z-index: calc(20 - var(--depth, 1));
}
.phase-stack__img.is-stacked .glass-frame {
  filter: brightness(calc(1 - var(--depth, 1) * 0.12));
}

.phase-stack__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-teal-100), var(--color-ice-100));
  border: 1px solid var(--color-ice-300);
}
.phase-stack__placeholder-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--color-action-500);
}
.phase-stack__placeholder-label {
  font-size: 13px;
  color: var(--color-ink-600);
}

/* ---- Mobile: normal in-flow list, no scroll-pinning ---- */
.phase-stack-mobile { display: none; }
.phase-stack-mobile__item {
  display: grid;
  gap: 20px;
  padding-block: 32px;
  border-bottom: 1px solid var(--color-ice-200);
}
.phase-stack-mobile__item:first-child { padding-top: 0; }
.phase-stack-mobile__item:last-child { border-bottom: none; padding-bottom: 0; }
.phase-stack-mobile__visual {
  width: 100%;
  aspect-ratio: 4 / 3;
}
.phase-stack-mobile__visual img { width: 100%; height: 100%; object-fit: cover; }
.phase-stack-mobile .phase-stack__item-num { display: inline-block; margin-bottom: 6px; }
.phase-stack-mobile .phase-stack__item-title { font-size: 17px; }

@media (max-width: 900px) {
  .phase-stack { display: none; }
  .phase-stack-mobile { display: block; }
}

/* ==========================================================================
   25) Honors Gallery (افتخارات و جوایز) — Animated Scroll Gallery
   --------------------------------------------------------------------------
   ★ این بلوک کاملاً جایگزین بخش «25) Honors Gallery» فعلی در style.css می‌شود.
   بخش قدیمی (از .page-banner__meta تا انتهای @media (max-width:480px) مربوط
   به .honors-gallery__grid) را حذف کن و این را جای آن بگذار.
   همه‌ی رنگ‌ها از توکن‌های خودِ قالب می‌آید.
   ========================================================================== */

.page-banner__meta {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-action-500);
}

.honors-page {
  position: relative;
  /* ارتفاع هدر شناور؛ JS مقدار واقعی را ست می‌کند. */
  --honors-top: 0px;
  --honors-gap: 20px;
}

/* گرادیانِ پس‌زمینه‌ی مخصوص همین صفحه — تیل‌تر و پررنگ‌تر از .bg-glow پیش‌فرض،
   چون بالای صفحه با آن حالت رنگ‌پریده/سرد هم‌خوانی نداشت. فقط همین صفحه را
   تحت تأثیر قرار می‌دهد، بقیه‌ی سایت با .bg-glow پیش‌فرض کار می‌کند. */
.honors-glow {
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(13, 107, 99, 0.34), transparent 72%),
    radial-gradient(45% 42% at 88% 16%, rgba(52, 196, 182, 0.26), transparent 70%),
    radial-gradient(55% 48% at 10% 55%, rgba(13, 107, 99, 0.18), transparent 70%);
}

.honors-intro {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.honors-empty {
  padding: 60px 32px;
  border-radius: 28px;
  text-align: center;
}
.honors-empty h2 { margin-bottom: 12px; }
.honors-empty p { margin: 0; }

/* --------------------------------------------------------------------------
   مسیر اسکرول. کم/زیاد کردن این عدد = تندتر/کندتر شدن کل انیمیشن.
   -------------------------------------------------------------------------- */
.honors-gallery {
  position: relative;
  height: 420vh;
  margin-top: 24px;
}

.honors-gallery__pin {
  position: sticky;
  position: -webkit-sticky;
  top: var(--honors-top, 0px);
  height: calc(100vh - var(--honors-top, 0px));
  width: 100%;
  overflow: hidden;
}
@supports (height: 100svh) {
  .honors-gallery__pin { height: calc(100svh - var(--honors-top, 0px)); }
}

/* قابی که با اسکرول از حالت کوچک و چرخیده باز می‌شود و تمام‌صفحه می‌گیرد */
.honors-gallery__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: 50% 50%;
  will-change: transform, opacity, border-radius;
  background: rgba(255, 255, 255, 0.35);
  /* مقدار اولیه پیش از اجرای JS */
  transform: perspective(1600px) rotateX(12deg) scale(0.62);
  border-radius: 32px;
  opacity: 0.45;
  box-shadow: 0 40px 80px -30px rgba(27, 32, 36, 0.35);
}
.honors-gallery--static .honors-gallery__stage {
  transform: none !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.honors-gallery__grid {
  height: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding-inline: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--honors-gap);
}
@media (min-width: 640px) { .honors-gallery__grid { padding-inline: 32px; } }
@media (min-width: 1024px) {
  .honors-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    padding-inline: 40px;
  }
}

.honors-gallery__col {
  display: flex;
  flex-direction: column;
  gap: var(--honors-gap);
  will-change: transform;
}
/* ستون سوم فقط در دسکتاپ */
@media (max-width: 1023px) {
  .honors-gallery__col:nth-child(3) { display: none; }
}

/* ---------- کارت ---------- */
.honors-gallery__item {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(160deg, var(--color-ice-100), var(--color-ice-300));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 45px -18px rgba(27, 32, 36, 0.28);
  transition:
    box-shadow var(--duration-base) var(--ease-smooth),
    border-color var(--duration-base) var(--ease-smooth);
  isolation: isolate;
}
.honors-gallery__item:hover {
  border-color: rgba(52, 196, 182, 0.55);
  box-shadow: 0 28px 60px -20px rgba(13, 107, 99, 0.4);
}
.honors-gallery__item[data-clone] { cursor: default; }

.honors-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}
.honors-gallery__item:hover .honors-gallery__img { transform: scale(1.06); }

/* برچسب سال */
.honors-gallery__year {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(27, 32, 36, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* دکمه‌ی ذره‌بین */
.honors-gallery__zoom {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-ink-900);
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity var(--duration-base) var(--ease-smooth),
    transform var(--duration-base) var(--ease-smooth),
    background var(--duration-base) var(--ease-smooth);
}
.honors-gallery__item:hover .honors-gallery__zoom {
  opacity: 1;
  transform: none;
}
.honors-gallery__item:hover .honors-gallery__zoom:hover {
  background: var(--color-action-400);
  color: #fff;
}

.honors-gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(0deg, rgba(5, 11, 24, 0.85), rgba(5, 11, 24, 0) 70%);
}
.honors-gallery__title {
  color: #fff;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
}
.honors-gallery__desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11.5px;
  line-height: 1.65;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height var(--duration-base) var(--ease-smooth),
    opacity var(--duration-base) var(--ease-smooth);
}
.honors-gallery__item:hover .honors-gallery__desc {
  max-height: 60px;
  opacity: 1;
}

/* محوشدگی بالا/پایین قاب، هم‌رنگ پس‌زمینه‌ی سایت */
.honors-gallery__fade {
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
  z-index: 3;
}
.honors-gallery__fade--top {
  top: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--color-ice-50), rgba(238, 245, 244, 0));
}
.honors-gallery__fade--bottom {
  bottom: 0;
  height: 160px;
  background: linear-gradient(to top, var(--color-ice-50), rgba(238, 245, 244, 0));
}

/* ---------- تیتر شناور روی گالری ---------- */
.honors-gallery__hero {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 20px;
  pointer-events: none;
  will-change: transform, opacity;
}
.honors-gallery__hero-card {
  max-width: 620px;
  padding: 36px 40px;
  border-radius: 28px;
  text-align: center;
}
.honors-gallery__kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(23, 163, 152, 0.12);
  color: var(--color-action-500);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
.honors-gallery__heading {
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
  margin-bottom: 14px;
  color: var(--color-ink-950);
}
.honors-gallery__heading .accent {
  background: linear-gradient(270deg, var(--color-action-500), var(--color-action-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.honors-gallery__lead {
  margin: 0;
  font-size: 14.5px;
  line-height: 2;
  color: var(--color-ink-700);
}

/* ---------- راهنمای اسکرول ---------- */
.honors-gallery__hint {
  position: absolute;
  bottom: 26px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  z-index: 11;
  text-align: center;
  pointer-events: none;
}
.honors-gallery__mouse {
  display: flex;
  justify-content: center;
  width: 24px;
  height: 40px;
  margin: 0 auto;
  padding-top: 6px;
  border: 1px solid rgba(27, 32, 36, 0.25);
  border-radius: 999px;
}
.honors-gallery__mouse i {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-action-500);
  animation: honors-wheel 1.6s var(--ease-smooth) infinite;
}
@keyframes honors-wheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: 0.3; }
}
.honors-gallery__hint em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 11px;
  color: var(--color-ink-600);
}

/* ==========================================================================
   لایت‌باکس
   ========================================================================== */
.honors-lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 16, 19, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 320ms var(--ease-smooth);
}
.honors-lb.is-open { opacity: 1; }

.honors-lb__box {
  width: min(980px, 100%);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 40px 90px -30px rgba(27, 32, 36, 0.55);
  transform: translateY(24px) scale(0.96);
  transition: transform 420ms var(--ease-smooth);
}
.honors-lb.is-open .honors-lb__box { transform: none; }
@media (min-width: 768px) {
  .honors-lb__box { grid-template-columns: 1.05fr 1fr; }
}

.honors-lb__media {
  position: relative;
  background: linear-gradient(160deg, var(--color-ice-100), var(--color-ice-300));
  min-height: 240px;
}
.honors-lb__media img {
  width: 100%;
  height: 100%;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}

.honors-lb__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.honors-lb__year {
  width: fit-content;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(23, 163, 152, 0.12);
  color: var(--color-action-500);
  font-size: 12px;
  font-weight: 600;
}
.honors-lb__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--color-ink-950);
}
.honors-lb__desc {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--color-ink-700);
}
.honors-lb__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.honors-lb__nav button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(27, 32, 36, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-ink-900);
  cursor: pointer;
  transition: background var(--duration-base) var(--ease-smooth),
              color var(--duration-base) var(--ease-smooth);
}
.honors-lb__nav button:hover {
  background: var(--color-action-500);
  color: #fff;
  border-color: transparent;
}
.honors-lb__nav .honors-lb__count {
  margin-inline-start: auto;
  font-size: 12px;
  color: var(--color-ink-600);
}
.honors-lb__close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ink-900);
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(27, 32, 36, 0.4);
}
.honors-lb__close:hover { background: var(--color-action-500); color: #fff; }

/* ==========================================================================
   موبایل و تبلت — بدون پین‌شدن، شبکه‌ی ساده (مثل رفتار قبلی قالب)
   ========================================================================== */
@media (max-width: 900px) {
  .honors-gallery {
    height: auto !important;
    margin-top: 8px;
  }
  .honors-gallery__pin {
    position: static;
    height: auto;
    overflow: visible;
  }
  .honors-gallery__stage {
    position: static;
    transform: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    background: none;
    box-shadow: none;
  }
  .honors-gallery__grid {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding-block: 20px 60px;
  }
  /* ستون‌ها محو می‌شوند تا آیتم‌ها مستقیم داخل گرید بنشینند */
  .honors-gallery__col {
    display: contents;
  }
  .honors-gallery__col:nth-child(3) { display: contents; }
  .honors-gallery__item { transform: none !important; }
  .honors-gallery__desc { max-height: none; opacity: 1; }
  .honors-gallery__zoom,
  .honors-gallery__hero,
  .honors-gallery__hint,
  .honors-gallery__fade { display: none; }
}
@media (max-width: 480px) {
  .honors-gallery__grid { gap: 10px; }
  .honors-lb__body { padding: 22px; }
}

/* کاهش حرکت */
@media (prefers-reduced-motion: reduce) {
  .honors-gallery { height: auto !important; }
  .honors-gallery__pin { position: static; height: auto; }
  .honors-gallery__stage { position: static; transform: none; opacity: 1; border-radius: 0; }
  .honors-gallery__grid { height: auto; padding-block: 40px; }
  .honors-gallery__col { transform: none !important; }
  .honors-gallery__hero,
  .honors-gallery__hint,
  .honors-gallery__fade { display: none; }
}

/* ==========================================================================
   ★ اصلاح سازگاری sticky — این دو مورد را هم به style.css اضافه کن
   دلیل: body در قالب شما overflow-x:hidden دارد و .section هم
   overflow:hidden — هر دو position:sticky را از کار می‌اندازند.
   ========================================================================== */
.honors-sticky-fix {
  overflow: visible !important;
  overflow-x: clip !important;
}

/* ==========================================================================
   20) Contact Channels (get-in-touch messenger cards) — صفحه تماس با ما
   ========================================================================== */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .contact-channels { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .contact-channels { grid-template-columns: 1fr; }
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px -14px rgba(27, 32, 36, 0.16);
  text-decoration: none;
  transition: transform 350ms var(--ease-smooth), box-shadow 350ms var(--ease-smooth), background 350ms var(--ease-smooth);
}
.contact-channel:hover {
  transform: translateY(-3px);
  background: white;
  box-shadow: 0 16px 40px -14px rgba(13, 107, 99, 0.28);
}
.contact-channel__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-teal-100);
  color: var(--color-action-500);
  transition: background 350ms var(--ease-smooth), color 350ms var(--ease-smooth);
}
.contact-channel__icon svg { width: 22px; height: 22px; }
.contact-channel:hover .contact-channel__icon { background: var(--color-action-500); color: white; }
.contact-channel__body { min-width: 0; }
.contact-channel__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-ink-900);
}
.contact-channel__sub {
  font-size: 12px;
  color: var(--color-ink-600);
  margin-top: 2px;
}
