/* ============================================================
   سایت بازار — استایل اصلی (RTL، فارسی)
   فونت متن: Vazirmatn | فونت تیترها: Lalezar (جسورانه)
   ============================================================ */

:root {
  --navy:        #0f0f10;   /* مشکیِ خنثی (تمِ سیاه/سفید/زرد) */
  --navy-2:      #161618;
  --navy-3:      #1d1d20;
  --navy-line:   #2c2c31;
  --gold:        #f6b40a;   /* زرد (اکسنت) */
  --gold-2:      #ffc62b;
  --gold-soft:   #fff6df;
  --ink:         #18181b;   /* متنِ تیرهٔ خنثی روی روشن */
  --muted:       #6b6b72;
  --muted-2:     #9b9ba3;
  --light:       #f4f4f5;
  --white:       #ffffff;
  --card-shadow: 0 18px 40px -18px rgba(13, 20, 36, .18);
  --radius:      16px;
  --radius-sm:   12px;
  --container:   1200px;
  --header-h:    78px;
  --display:     "Lalezar", "Vazirmatn", system-ui, sans-serif;

  /* ── اسکیلِ سیّالِ حرفه‌ای (pro-patterns) ───────────────────
     بریک‌پوینت‌های مرجع: sm 480 · md 768 · lg 1024 · xl 1280
     فاصله و تایپ با clamp بین موبایل و دسکتاپ نرم تغییر می‌کنند */
  --space-3xs: clamp(.25rem, .2rem + .2vw, .35rem);
  --space-xs:  clamp(.5rem, .45rem + .3vw, .75rem);
  --space-s:   clamp(.75rem, .6rem + .6vw, 1rem);
  --space-m:   clamp(1.25rem, 1rem + 1.2vw, 2rem);
  --space-l:   clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --space-xl:  clamp(3.5rem, 2.5rem + 5vw, 8rem);

  --text-sm:   clamp(.85rem, .82rem + .15vw, .95rem);
  --text-base: clamp(1rem, .95rem + .25vw, 1.13rem);
  --text-lg:   clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  --text-xl:   clamp(1.8rem, 1.5rem + 1.5vw, 2.7rem);
  --text-2xl:  clamp(2.4rem, 1.9rem + 2.6vw, 4rem);

  --gutter:    var(--space-m);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
  overflow-x: clip;          /* clip اسکرول‌کانتینر نمی‌سازد تا sticky نشکند (hidden به‌عنوان fallback) */
  -webkit-text-size-adjust: 100%;          /* جلوگیری از تغییر اندازهٔ متن در iOS */
}
body {
  font-family: "Vazirmatn", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;          /* sticky هدر را نشکند؛ همچنان از اسکرول افقی جلوگیری می‌کند */
}
img, picture, video, svg, canvas { max-width: 100%; }
img, picture, video, canvas { display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
svg { width: 100%; height: 100%; }

/* رشته‌های طولانی نباید باعث اسکرول افقی شوند */
p, h1, h2, h3, h4, li, a, span, b, strong { overflow-wrap: break-word; }

/* لمس: حذف تأخیر ۳۰۰ms، حذف های‌لایت آبی، بازخورد فشردن */
a, button, [role="button"], .opt, .acc-item__head, label {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button, a, [role="button"] { cursor: pointer; }

/* فرم‌ها: حداقل ۱۶px تا iOS هنگام فوکوس زوم نکند */
input, select, textarea { font: inherit; font-size: 16px; }

.skip-link {
  position: absolute; right: -9999px; top: 8px;
  background: var(--gold); color: #1a1300; padding: 10px 16px;
  border-radius: 8px; z-index: 999; font-weight: 700;
}
.skip-link:focus { right: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.text-gold { color: var(--gold); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   اسکیلِ الگوهای حرفه‌ای — گرید و ریسپانسیو (drop-in utilities)
   روی مارک‌آپِ موجود گذاشته می‌شوند؛ ساختار سایت بازنویسی نمی‌شود.
   ============================================================ */

/* شکستن از container برای عنصر تمام‌عرض (تصویر بزرگِ وسطِ متن) */
.break-out { width: 100vw; margin-inline: calc(50% - 50vw); }

/* الف) گریدِ خودتنظیم — کارت/گالری/لیستِ پروژه؛ بدون media query ریسپانسیو */
.grid-auto {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}
.grid-auto--fit { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

/* ب) گریدِ ۱۲ ستونی — لایوتِ دقیق؛ روی موبایل همه تک‌ستون */
.grid-12 { display: grid; gap: var(--gutter); grid-template-columns: repeat(12, 1fr); }
.col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9 { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .col-3 { grid-column: span 3; }
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .col-9 { grid-column: span 9; }
}

/* ج) چیدمانِ دوستونیِ متن+مدیا — هیرو/درباره/فیچر */
.split { display: grid; gap: var(--space-l); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .split { grid-template-columns: 1.1fr .9fr; }
  .split--reverse > :first-child { order: 2; }
}

/* یک ردیفِ منعطف از آیتم‌های کوچک (تگ‌ها، اکشن‌ها) که می‌پیچند */
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-s); align-items: center; }

/* کارتِ پایه با ارتفاعِ ظریف هنگام hover (فقط روی اشاره‌گرِ واقعی) */
.u-card { transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) {
  .u-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(13,20,36,.12); }
}

/* لینکِ زیرخطِ متحرک (واکنشِ سه‌حالته، نه فقط رنگ) */
.u-link { position: relative; }
.u-link::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: inline-start;
  transition: transform .25s ease;
}
.u-link:hover::after { transform: scaleX(1); }

/* کاربردیِ تایپ و فاصله‌ی سیّال */
.u-flow > * + * { margin-top: var(--space-s); }
.u-text-xl  { font-size: var(--text-xl); line-height: 1.25; }
.u-text-2xl { font-size: var(--text-2xl); line-height: 1.15; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(0) scale(.97); }
.btn--gold   { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1300; box-shadow: 0 10px 24px -10px rgba(246,180,10,.7); }
.btn--gold:hover { background: linear-gradient(135deg, var(--gold), var(--gold-2)); box-shadow: 0 14px 30px -10px rgba(246,180,10,.8); }
.btn--ghost  { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--glass  { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.btn--outline{ background: transparent; color: var(--ink); border-color: #d7dbe4; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg     { padding: 15px 30px; font-size: 16px; }
.btn--block  { width: 100%; }

/* ============================================================ PRELOADER (مینیمال و سریع) */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  opacity: 1; visibility: visible;
  transition: opacity .3s ease, visibility .3s ease;
  animation: preFailSafe 0s linear 3s forwards; /* fallback اگر JS نبود */
}
.preloader--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes preFailSafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader__spinner {
  position: relative; width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.10); border-top-color: var(--gold);
  animation: preSpin .8s linear infinite;
}
.preloader__mark { width: 30px; height: 26px; filter: drop-shadow(0 0 8px rgba(246,180,10,.45)); }
.preloader__brand { font-family: var(--display); color: #fff; font-size: 26px; letter-spacing: .5px; line-height: 1; }

@keyframes preSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .preloader__spinner { animation: none; border-top-color: var(--gold); } }

/* ============================================================ HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #0f0f10;   /* صفحاتِ داخلی: تیرهٔ توپُر تا سفیدیِ پشت از هدر نزند بیرون */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-top: env(safe-area-inset-top);
  transition: background .3s ease, border-color .3s ease;
}
/* با اسکرول: نوارِ صافِ تمام‌عرضِ بلوری با خطِ پایین (سبک shadcn — نه جزیرهٔ گرد) */
.header.is-scrolled { background: rgba(15,15,16,.92); border-bottom-color: rgba(255,255,255,.1); }
/* صفحهٔ اصلی: هدرِ شفاف روی هیروی تیرهٔ مینیمال (هنگام اسکرول → جزیرهٔ تیرهٔ معمول) */
.header--home:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.header--home:not(.is-scrolled)::before { opacity: 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__img { height: 58px; width: auto; display: block; }
.logo__word { height: 38px; width: auto; display: block; }
@media (max-width: 860px) { .logo__img { height: 50px; } .logo__word { height: 32px; } }
.logo__mark-wrap { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(140deg, rgba(246,180,10,.18), rgba(246,180,10,.05)); border: 1px solid rgba(246,180,10,.22); flex-shrink: 0; }
.logo__text { font-family: var(--display); color: #fff; font-size: 27px; letter-spacing: .5px; line-height: 1; }
.logo__mark { width: 26px; height: 23px; }
/* ناوبریِ مینیمال — لینک‌های ghost (بدون قرص، سبک shadcn) */
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
.nav__link { position: relative; white-space: nowrap; color: rgba(255,255,255,.7); font-weight: 500; font-size: 14px; padding: 8px 13px; border-radius: 8px; transition: color .2s, background .2s; }
@media (hover: hover) { .nav__link:hover { color: #fff; background: rgba(255,255,255,.08); } }
.nav__link--active { color: var(--gold); }
.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__phone { display: none; }   /* شمارهٔ تماس از نوارِ بالا حذف شد (در فوتر/منوی موبایل هست) — سبک مینیمال */
.header__contact { padding: 9px 16px; font-size: 14px; }
.header__contact svg { width: 16px; height: 16px; }
.header__contact.is-active { border-color: var(--gold); color: var(--gold); }
.header__cta { padding: 10px 18px; font-size: 14px; }
.header__cta svg { width: 16px; height: 16px; }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 42px; background: none; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; cursor: pointer; transition: background .2s, border-color .2s; }
@media (hover: hover) { .nav-toggle:hover { background: rgba(255,255,255,.08); } }
.nav-toggle span { width: 20px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
body.nav-open { overflow: hidden; }

/* ============================================================ MOBILE MENU (منوی موبایل — اورلی تمام‌قد، سطح body) */
.menu-scrim { position: fixed; inset: 0; z-index: 998; background: rgba(8,12,22,.62); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
.menu-scrim.is-on { opacity: 1; visibility: visible; }

.mobile-menu { position: fixed; inset: 0 0 0 auto; z-index: 999; width: min(88vw, 380px); visibility: hidden; pointer-events: none; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__panel {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow-y: auto;
  background: radial-gradient(120% 55% at 100% 0%, rgba(246,180,10,.12), transparent 58%), linear-gradient(160deg, var(--navy-3) 0%, var(--navy) 62%);
  border-inline-start: 1px solid var(--navy-line);
  box-shadow: -24px 0 70px -24px rgba(0,0,0,.7);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
  padding: calc(14px + env(safe-area-inset-top)) 0 calc(16px + env(safe-area-inset-bottom));
}
.mobile-menu__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 82% 0%, #000, transparent 70%);
          mask-image: radial-gradient(circle at 82% 0%, #000, transparent 70%);
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__panel > * { position: relative; z-index: 1; }

.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px 16px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-menu__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu__close:active { background: rgba(255,255,255,.13); transform: scale(.95); }

.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; padding: 8px 14px; }
.mm-link { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 10px 14px; border-radius: 14px; color: #d7dde8; font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.mm-link__ic { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; background: rgba(255,255,255,.05); color: var(--gold); }
.mm-link__ic svg { width: 21px; height: 21px; }
.mm-link__label { flex: 1; }
.mm-link__go { display: flex; color: #5d6781; }
.mm-link__go svg { width: 18px; height: 18px; }
.mm-link:active { transform: scale(.985); }
.mm-link.is-active { background: rgba(246,180,10,.12); border-color: rgba(246,180,10,.35); color: #fff; }
.mm-link.is-active .mm-link__ic { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1300; }
.mm-link.is-active .mm-link__go { color: var(--gold); }
@media (hover: hover) { .mm-link:hover { background: rgba(255,255,255,.05); color: #fff; } }
.mobile-menu.is-open .mm-link { animation: mmIn .42s cubic-bezier(.22,.61,.36,1) backwards; animation-delay: calc(var(--i) * 45ms + 130ms); }
@keyframes mmIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.mobile-menu__foot { margin-top: auto; padding: 16px 18px 4px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(255,255,255,.07); }
.mm-phone { display: flex; align-items: center; gap: 12px; color: #d7dde8; }
.mm-phone__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(246,180,10,.14); color: var(--gold); flex-shrink: 0; }
.mm-phone__ic svg { width: 20px; height: 20px; }
.mm-phone small { display: block; color: var(--muted-2); font-size: 12px; margin-bottom: 2px; }
.mm-phone b { font-size: 16px; color: #fff; }
.mm-social { display: flex; gap: 10px; }
.mm-social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #c4cbd8; transition: background .2s, color .2s; }
.mm-social a svg { width: 20px; height: 20px; }
.mm-social a:active { background: var(--gold); color: #1a1300; }
@media (min-width: 901px) { .mobile-menu, .menu-scrim { display: none; } }

/* ============================================================ MOBILE BOTTOM NAV (نوار پایین — لمسی، در دسترسِ شست) */
.tabbar { display: none; }
@media (max-width: 900px) {
  .tabbar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
    display: flex; align-items: stretch;
    background: rgba(15, 15, 16, .92);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.08);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 30px -16px rgba(0,0,0,.6);
  }
  .tabbar__item {
    flex: 1 1 0; min-height: 56px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    background: none; border: 0; font: inherit;
    color: rgba(255,255,255,.62); font-size: 11px; font-weight: 600;
    position: relative; transition: color .2s ease;
  }
  .tabbar__item::before {                       /* خط نشانگر بالای آیتم فعال */
    content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%) scaleX(0);
    width: 26px; height: 3px; border-radius: 0 0 3px 3px;
    background: var(--gold); transition: transform .25s ease;
  }
  .tabbar__ic { display: flex; width: 24px; height: 24px; }
  .tabbar__ic svg { width: 24px; height: 24px; }
  .tabbar__label { line-height: 1; }
  .tabbar__item.is-active { color: var(--gold); }
  .tabbar__item.is-active::before { transform: translateX(-50%) scaleX(1); }
  .tabbar__item:active { background: rgba(255,255,255,.05); }
  .tabbar__more[aria-expanded="true"] { color: var(--gold); }

  /* فضای امن تا محتوا/فوتر زیر نوار پایین پنهان نشود */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ============================================================ HERO SLIDER (POSTER) */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; height: 88dvh; min-height: 600px; max-height: 880px; }
.hero__slider { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* اورلیِ لایه‌ایِ پریمیوم: تیرگیِ سمتِ متن + وینیِتِ عمودی (هدر/داتْ‌ها) */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(13,20,36,.06) 0%, rgba(13,20,36,.34) 52%, rgba(13,20,36,.62) 100%),
    linear-gradient(to top, rgba(13,20,36,.5) 0%, transparent 24%, transparent 78%, rgba(13,20,36,.42) 100%);
}
/* بافتِ شبکه‌ایِ ظریف روی سمتِ پوستر */
.hero__overlay::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(72% 80% at 16% 32%, #000, transparent 72%);
          mask-image: radial-gradient(72% 80% at 16% 32%, #000, transparent 72%);
}
/* هاله‌ی طلاییِ نرم پشتِ تیتر (عمق و رنگ) */
.hero__overlay::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(58% 60% at 86% 32%, rgba(246,180,10,.16), transparent 60%);
}

.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__content { position: relative; max-width: 660px; }
/* اسکریمِ موضعیِ پشتِ متن — پوستر روشن می‌ماند ولی متن کاملاً خوانا */
.hero__content::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -40px -56px -40px -170px;
  background: radial-gradient(120% 130% at 88% 42%, rgba(8,12,22,.82), rgba(8,12,22,.4) 50%, transparent 72%);
  filter: blur(4px);
}

.eyebrow { display: inline-block; color: var(--gold); font-weight: 700; font-size: 17px; margin-bottom: 14px; }
/* پیل شیشه‌ایِ بالای تیتر با نقطهٔ تپنده */
.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 8px 16px 8px 13px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); color: #e8edf6; font-weight: 600; font-size: 13.5px; letter-spacing: .2px; }
.hero__eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(246,180,10,.18); animation: heroDot 2s ease-in-out infinite; }
@keyframes heroDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.75); } }

.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.6vw, 66px); line-height: 1.3; letter-spacing: 0; text-shadow: 0 2px 30px rgba(8,12,22,.45); }
.hero__title-hl { color: var(--gold); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title-hl { background: linear-gradient(180deg, #ffdd7a, #f6b40a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.hero__lead { margin: 20px 0 30px; color: #cdd5e3; font-size: 17px; line-height: 2.05; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__btn svg { transition: transform .25s ease; }
@media (hover: hover) { .hero__btn:hover svg { transform: translateX(-4px); } }

/* نوارِ اعتماد (ویژگی‌های واقعیِ خدمت) */
.hero__trust { display: flex; flex-wrap: wrap; gap: 11px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; color: #cdd5e3; font-size: 14px; font-weight: 600; }
.hero__trust svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; }

/* ورودِ پلکانیِ محتوای اسلایدِ فعال */
.hero__slide.is-active .hero__content > * { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) backwards; }
.hero__slide.is-active .hero__eyebrow { animation-delay: .05s; }
.hero__slide.is-active .hero__title   { animation-delay: .14s; }
.hero__slide.is-active .hero__lead    { animation-delay: .24s; }
.hero__slide.is-active .hero__actions { animation-delay: .34s; }
.hero__slide.is-active .hero__trust   { animation-delay: .44s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active .hero__content > * { animation: none; }
  .hero__eyebrow-dot { animation: none; }
}

/* ============================================================ MINIMALIST HERO (مشکی/سفید/زرد — دایرهٔ زرد + PNG پاپ‌اوت) */
.mhero {
  position: relative; min-height: 100dvh; margin-top: calc(-1 * var(--header-h) - 2px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  padding: calc(var(--header-h) + 24px) clamp(20px, 5vw, 64px) clamp(20px, 3vw, 34px);
  background: radial-gradient(130% 90% at 50% 24%, #1a1a1e 0%, #101012 60%, #0b0b0d 100%);
  color: #fff; overflow: hidden;
}
.mhero__main { position: relative; flex: 1; width: 100%; max-width: 1280px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }

/* مدیا: دایرهٔ زرد + عکسِ PNG که از کفِ صفحه بالا می‌آید و از دایره بیرون می‌زند */
.mhero__media { position: relative; order: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; }
.mhero__circle { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); z-index: 0; width: clamp(230px, 62vw, 320px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(150deg, var(--gold-2), var(--gold)); }
.mhero__ring { display: none; }
.mhero__img { position: relative; z-index: 1; height: clamp(300px, 50vh, 440px); width: auto; max-width: 92vw; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 28px 38px rgba(0,0,0,.5)); }

/* تیترِ هیرو با سلسله‌مراتب: بخشِ توضیحیِ سفید کوچک‌تر، «ضربهٔ طلایی» بزرگ‌تر تا پیام واضح و خوانا برسد */
.mhero__headline { order: 2; text-align: center; }
.mhero__headline h1 { font-family: var(--display); font-weight: 400; line-height: .98; color: #fff; }
.mhero__headline span { display: block; }
/* بخشِ سفید (تنظیمِ زمینه) */
.mhero__headline h1 > span:not(.mhero__gold) { font-size: clamp(34px, 9vw, 52px); color: #e7e7ea; }
/* بخشِ طلایی (پیامِ اصلی) */
.mhero__gold { color: var(--gold); font-size: clamp(52px, 15.5vw, 96px); line-height: .92; margin-top: 8px; }

/* متنِ کوچک + لینک */
.mhero__intro { order: 3; text-align: center; max-width: 340px; }
.mhero__intro p { font-size: 14.5px; line-height: 2; color: rgba(255,255,255,.7); margin-inline: auto; }
.mhero__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 14px; color: #fff; border-bottom: 2px solid var(--gold); padding-bottom: 3px; transition: gap .2s, color .2s; }
.mhero__more svg { width: 16px; height: 16px; color: var(--gold); }
@media (hover: hover) { .mhero__more:hover { gap: 11px; color: var(--gold); } }

/* فوتر: شبکه‌های اجتماعی + موقعیت */
.mhero__foot { width: 100%; max-width: 1280px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mhero__social { display: flex; align-items: center; gap: 16px; order: 2; }
.mhero__loc { order: 1; }
.mhero__social a { color: rgba(255,255,255,.55); transition: color .2s, transform .2s; }
.mhero__social a svg { width: 20px; height: 20px; }
@media (hover: hover) { .mhero__social a:hover { color: var(--gold); transform: translateY(-2px); } }
.mhero__loc { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.78); }
.mhero__loc svg { width: 16px; height: 16px; color: var(--gold); }

/* انیمیشن‌ها — فقط بعد از کنار رفتنِ پری‌لودر (html.is-loaded) اجرا می‌شوند تا «یک‌دفعه» ظاهر نشوند.
   بدونِ is-loaded عناصر دیده می‌شوند (fallback برای بدونِ JS). */
.is-loaded .mhero__circle   { animation: mheroPop .8s cubic-bezier(.22,1,.36,1) .05s both; }
.is-loaded .mhero__img      { animation: mheroImg 1.2s cubic-bezier(.16,1,.3,1) .2s both; will-change: transform, opacity; }
.is-loaded .mhero__headline { animation: mheroUp .8s cubic-bezier(.22,.61,.36,1) .5s both; }
.is-loaded .mhero__intro    { animation: mheroUp .8s cubic-bezier(.22,.61,.36,1) .62s both; }
.is-loaded .mhero__foot     { animation: mheroUp .8s cubic-bezier(.22,.61,.36,1) .68s both; }
@keyframes mheroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mheroPop { from { opacity: 0; transform: translate(-50%,-50%) scale(.82); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes mheroImg { from { opacity: 0; transform: translateY(120px); } to { opacity: 1; transform: translateY(0); } }

/* دسکتاپ: چیدمانِ هم‌پوشانِ مرجع — متن چپ/راست، عکسِ کفی وسط */
@media (min-width: 861px) {
  .mhero__main { display: block; max-width: 1560px; }
  .mhero__media { position: absolute; top: 0; inset-inline: 0;
    bottom: calc(-1 * (clamp(20px, 3vw, 34px) + 16px + 28px)); align-items: flex-end; }
  /* عرضِ دیداریِ عکس روی دسکتاپ = 60vw (تا سقفِ ارتفاع). دایره را به همان می‌بندیم تا نسبتِ
     عکس‌به‌دایره همیشه ثابت بماند (۴۹٪) — چه صفحه کوچک شود چه بزرگ، نه دیگر در نمای بزرگ بپرد. */
  .mhero__circle { top: 44%; width: min(29.4vw, 756px); }
  .mhero__img { height: min(124%, 1240px); max-width: 64%; }
  .mhero__foot { position: relative; z-index: 3; }
  /* وسط‌چینیِ عمودی با ویژگیِ translate تا transform برای انیمیشن آزاد بماند */
  .mhero__headline { position: absolute; z-index: 2; top: 50%; inset-inline-start: 0; translate: 0 -50%; text-align: start; max-width: 42%; }
  .mhero__headline h1 > span:not(.mhero__gold) { font-size: clamp(26px, 2.9vw, 46px); }
  .mhero__gold { font-size: clamp(40px, 5.4vw, 88px); margin-top: 6px; }
  .mhero__intro { position: absolute; z-index: 2; top: 50%; inset-inline-end: 0; translate: 0 -50%; text-align: start; max-width: 270px; }
  .mhero__intro p { margin-inline: 0; }
  .mhero__foot { max-width: 1560px; }   /* هم‌ترازِ ستون‌ها تا موقعیت چپ‌تر بیاید */
}
/* موبایل: کلِ محتوای هیرو بالاتر بیاید + تیترِ اصلی روی خودِ عکس بیفتد (خوانا با سایه).
   محتوای هیرو در یک ستونِ با عرضِ گوشی وسط‌چین می‌شود و اندازه‌ها سقف‌دارند تا در پهنای میانی
   (تبلت/موبایلِ بزرگ) به‌هم نریزد و همه‌جا مثلِ موبایلِ استاندارد بماند. */
@media (max-width: 860px) {
  .mhero { padding-top: calc(var(--header-h) - 14px); min-height: auto; }
  .mhero__main { flex: 0 0 auto; justify-content: flex-start; max-width: 480px; margin-inline: auto; }
  .mhero__media { max-width: 480px; margin-inline: auto; }
  .mhero__circle { width: min(74vw, 330px); top: 56%; }
  .mhero__img { height: min(42vh, 344px); max-width: min(104vw, 484px); }
  .mhero__headline { position: relative; z-index: 3; margin-top: clamp(-52px, -9vw, -26px);
    text-shadow: 0 3px 22px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.5); }
  .mhero__headline h1 > span:not(.mhero__gold) { font-size: clamp(30px, 8.5vw, 48px); }
  .mhero__gold { font-size: clamp(48px, 14.5vw, 82px); }
}
@media (prefers-reduced-motion: reduce) {
  .mhero__headline, .mhero__intro, .mhero__foot, .mhero__circle, .mhero__img { animation: none !important; }
}

.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.25);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(6px); transition: background .2s;
}
.hero__nav svg { width: 24px; height: 24px; }
.hero__nav:hover { background: var(--gold); color: #1a1300; border-color: var(--gold); }
.hero__nav--prev { right: 26px; }
.hero__nav--next { left: 26px; }

.hero__dots { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 6; display: flex; justify-content: center; gap: 9px; }
.hero__dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.30); border: none; cursor: pointer; transition: width .25s, background .25s; padding: 0; }
.hero__dot.is-active { width: 30px; border-radius: 6px; background: var(--gold); }

/* ============================================================ SECTION basics */
/* ریتمِ سکشن از توکن‌های سیّالِ اسکیل — همهٔ صفحات یک نفسِ یکدست می‌گیرند */
.section { padding-block: var(--space-xl); }
.section--alt { background: var(--light); }
.section--tight { padding-block: var(--space-l); }
.section__title { font-family: var(--display); text-align: center; font-weight: 400; font-size: var(--text-xl); line-height: 1.4; margin-bottom: var(--space-l); letter-spacing: .3px; }
.section__title::after { content: ""; display: block; width: 54px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.section__title--light { color: #fff; }
.section__cta-center { text-align: center; margin-top: var(--space-m); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================ VALUE CARDS (6) */
.value__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gutter); }
.value-card { background: var(--white); border: 1px solid #eef0f4; border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--card-shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.value-card:hover { transform: translateY(-6px); border-color: rgba(246,180,10,.45); box-shadow: 0 26px 50px -22px rgba(13,20,36,.28); }
.value-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px; background: var(--gold-soft); color: var(--gold); }
.value-card__ic svg { width: 27px; height: 27px; }
.value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 9px; }
.value-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ============================================================ STATS */
.stats { background: var(--navy); color: #fff; padding-block: var(--space-l); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); text-align: center; }
.stat__num { font-family: var(--display); display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 400; color: var(--gold); line-height: 1.2; }
.stat__label { color: #c4cbd8; font-size: 14.5px; }

/* ============================================================ PORTFOLIO */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding: 6px 2px 16px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.port-card { position: relative; flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; background: var(--white); border: 1px solid #eef0f4; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(13,20,36,.4); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.port-card:hover { transform: translateY(-10px); border-color: rgba(246,180,10,.55); box-shadow: 0 42px 72px -30px rgba(13,20,36,.5); }
.port-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--navy-3); }
.port-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.port-card:hover .port-card__img { transform: scale(1.08); }
.port-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,13,24,.6), rgba(8,13,24,.05) 55%); }
.port-card__metric { position: absolute; top: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #1a1300; font-weight: 800; font-size: 12.5px; padding: 7px 13px; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(246,180,10,.85); }
.port-card__metric svg { width: 15px; height: 15px; }
.port-card__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.port-card__meta { display: flex; align-items: center; gap: 10px; }
.port-card__tag { background: var(--gold-soft); color: #9a6a00; font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.port-card__more { margin-inline-start: auto; display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: #f3f5f9; color: var(--muted); align-items: center; justify-content: center; transition: background .25s, color .25s, transform .25s; }
.port-card__more svg { width: 16px; height: 16px; }
.port-card:hover .port-card__more { background: var(--gold); color: #1a1300; transform: translateX(-3px); }
.port-card__body h3 { font-size: 18px; font-weight: 800; line-height: 1.6; color: var(--ink); }
.badge { display: inline-block; background: var(--gold-soft); color: #9c6f00; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.carousel__btn { position: absolute; top: 42%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 1px solid #e6e9f0; box-shadow: 0 8px 22px -10px rgba(13,20,36,.3); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); z-index: 5; transition: background .2s, color .2s; }
.carousel__btn svg { width: 22px; height: 22px; }
.carousel__btn:hover { background: var(--gold); color: #1a1300; }
.carousel__btn--prev { right: -14px; }
.carousel__btn--next { left: -14px; }
.carousel__track { overscroll-behavior-x: contain; }
.carousel__dots { display: none; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: #cfd6e2; cursor: pointer; transition: width .25s, background .25s; }
.carousel__dots button.is-active { width: 22px; border-radius: 5px; background: var(--gold); }

/* ---- نمونه‌کارها: «اسپات‌لایت» — صحنهٔ ماک‌آپِ مرورگر + فهرستِ انتخاب‌گرِ پروژه‌ها ---- */
.showcase { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .92fr); gap: clamp(20px, 3vw, 40px);
  align-items: start; margin-top: clamp(28px, 4vw, 44px); }

/* صحنه */
.showcase__stage { position: relative; }
.showcase__stage::before { content: ""; position: absolute; inset: -8% -5%; z-index: 0; border-radius: 40px;
  background: radial-gradient(60% 55% at 50% 38%, rgba(246,180,10,.16), transparent 70%); filter: blur(8px); pointer-events: none; }
.sc-slide { position: absolute; inset-inline: 0; top: 0; z-index: 1; display: flex; flex-direction: column; gap: 18px;
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.sc-slide.is-active { position: relative; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .45s ease, transform .45s ease; }

/* ماک‌آپِ مرورگر */
.sc-window { display: block; position: relative; border-radius: 18px; overflow: hidden; background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.06); border-block: 5px solid #0a0a0b;
  color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 4px rgba(13,20,36,.18), 0 18px 30px -16px rgba(13,20,36,.4), 0 50px 80px -42px rgba(13,20,36,.6); }
.sc-window:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sc-window__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--navy-3); }
.sc-window__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.sc-window__dot:nth-child(1) { background: #ff5f57; } .sc-window__dot:nth-child(2) { background: #febc2e; } .sc-window__dot:nth-child(3) { background: #28c840; }
.sc-window__url { margin-inline-start: 12px; flex: 1; display: inline-flex; align-items: center; gap: 7px; direction: ltr;
  justify-content: center; font-size: 12.5px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.06);
  border-radius: 8px; padding: 6px 12px; }
.sc-window__url svg { width: 13px; height: 13px; opacity: .7; }
.sc-window__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-3); }
.sc-window__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sc-metric { position: absolute; top: 14px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: #1a1300; font-weight: 800; font-size: 12.5px; padding: 7px 13px; border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(246,180,10,.8); }
.sc-metric svg { width: 15px; height: 15px; }

/* توضیحِ پروژه — زیرِ کلِ بخش، با کراس‌فِیدِ هماهنگ با انتخاب */
.showcase__caption { position: relative; padding-inline: 2px; }
.sc-cap { position: absolute; inset-inline: 0; top: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s; pointer-events: none; }
.sc-cap.is-active { position: relative; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .4s ease, transform .4s ease; }
.sc-info__tag { background: var(--gold-soft); color: #9a6a00; font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.sc-info__title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; color: var(--ink); }
.sc-info__desc { font-size: 14.5px; line-height: 2; color: var(--muted); max-width: 60ch; }
.sc-info__cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 2px; font-weight: 800; font-size: 14.5px;
  color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 3px; transition: gap .2s, color .2s; }
.sc-info__cta svg { width: 16px; height: 16px; color: var(--gold); }
@media (hover: hover) { .sc-info__cta:hover { gap: 12px; color: var(--gold); } }

/* ستونِ کناری: فهرست + توضیحِ پروژه زیرِ آن */
.showcase__side { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 26px); }
/* فهرست */
.showcase__list { display: flex; flex-direction: column; gap: 8px; }
.sc-item { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: start;
  padding: 15px 18px; border: 1px solid #e6e7ea; border-radius: 16px; background: var(--white); cursor: pointer;
  overflow: hidden; transition: border-color .2s, background .2s, transform .2s; }
@media (hover: hover) { .sc-item:hover { border-color: rgba(246,180,10,.55); transform: translateX(-3px); } }
.sc-item.is-active { border-color: var(--gold); background: #fffdf4; }
.sc-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sc-item__num { font-family: var(--display); font-size: 21px; line-height: 1; color: var(--muted-2); min-width: 28px; }
.sc-item.is-active .sc-item__num { color: var(--gold); }
.sc-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sc-item__title { font-weight: 800; font-size: 15.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-item__cat { font-size: 12.5px; color: var(--muted); }
.sc-item__metric { flex-shrink: 0; font-size: 12px; font-weight: 800; color: #9a6a00; background: var(--gold-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.sc-item__bar { position: absolute; inset-block-end: 0; inset-inline: 0; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; }

/* نقطه‌های راهنمای کاروسلِ موبایل (روی دسکتاپ پنهان) */
.sc-dots { display: none; }
.sc-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px; background: #cdd0d6; cursor: pointer;
  transition: width .25s, background .25s; }
.sc-dot.is-active { width: 26px; background: var(--gold); }

/* ============ انیمیشنِ ورود (تریگرشونده با ورود به دید) — فقط وقتی JS بخش را arm می‌کند؛ بدونِ JS محتوا عادی ============ */
/* کادرِ کاور: «بلندشدنِ» سه‌بعدی — از حالتِ کجِ عقب‌رفته و کوچک، نرم می‌ایستد و رو‌به‌رو می‌شود */
.showcase.is-armed .sc-window { opacity: 0; will-change: transform; transform-origin: center 75%; }
.showcase.is-armed.is-in .sc-window { animation: scCardRise 1.15s cubic-bezier(.16,1,.3,1) both; }
@keyframes scCardRise {
  0%   { opacity: 0; transform: perspective(1500px) rotateX(28deg) translateY(48px) scale(.9); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: perspective(1500px) rotateX(0deg) translateY(0) scale(1); }
}
/* برقِ نورِ یک‌بارهٔ روی صفحه هنگامِ ورود (حسِ پریمیوم) */
.sc-window__screen::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.22) 50%, transparent 62%);
  transform: translateX(-130%); opacity: 0; }
.showcase.is-armed.is-in .sc-window__screen::after { animation: scSheen 1.1s cubic-bezier(.4,0,.2,1) .55s 1 both; }
@keyframes scSheen { 0% { transform: translateX(-130%); opacity: 0; } 18% { opacity: 1; } 100% { transform: translateX(130%); opacity: 0; } }
/* بَج + اطلاعات + آیتم‌های فهرست */
.showcase.is-armed .sc-metric { opacity: 0; transform: scale(.8);
  transition: opacity .4s ease .7s, transform .6s cubic-bezier(.22,1.5,.4,1) .7s; }
.showcase.is-armed .sc-item { opacity: 0; transform: translateX(26px);
  transition: opacity .55s ease, transform .6s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--sc-i, 0) * 75ms + .35s); }
.showcase.is-armed .showcase__caption { opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease .55s, transform .6s cubic-bezier(.16,1,.3,1) .55s; }
.showcase.is-armed.is-in .sc-metric,
.showcase.is-armed.is-in .sc-item,
.showcase.is-armed.is-in .showcase__caption { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .showcase.is-armed .sc-window, .showcase.is-armed .sc-metric,
  .showcase.is-armed .sc-item, .showcase.is-armed .showcase__caption { opacity: 1; transform: none; animation: none; }
  .sc-window__screen::after { display: none; }
}

/* ============ موبایل: کاروسلِ سوایپ‌شوندهٔ مرورگرها + نقطه‌های راهنما + توضیحِ وسط‌چین ============ */
@media (max-width: 860px) {
  .showcase { display: block; }
  /* صحنه = کاروسلِ افقیِ snap؛ هر کارت ۸۶٪ تا نوکِ کارتِ بعدی هم پیدا باشد */
  .showcase__stage { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 7vw 8px;
    scroll-padding-inline: 7vw; }
  .showcase__stage::-webkit-scrollbar { display: none; }
  .showcase__stage::before { display: none; }
  .sc-slide { position: relative; flex: 0 0 86%; scroll-snap-align: center;
    display: block; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .sc-window__bar { padding: 9px 12px; }
  .sc-window__url { font-size: 11.5px; padding: 5px 10px; }
  .sc-metric { font-size: 11.5px; padding: 6px 11px; top: 12px; }

  /* نقطه‌های راهنما */
  .sc-dots { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 16px; }

  /* ستونِ کناری: فهرستِ شماره‌دار پنهان (سوایپ جای آن)، فقط توضیحِ وسط‌چین می‌ماند */
  .showcase__side { gap: 0; }
  .showcase__list { display: none; }
  .showcase__caption { margin-top: 18px; padding-inline: 8px; }
  .sc-cap { align-items: center; text-align: center; }
  .sc-info__desc { max-width: 44ch; margin-inline: auto; }
  /* روی موبایل «مشاهدهٔ پروژه» حذف می‌شود؛ خودِ کارت با لمس باز می‌شود */
  .sc-info__cta { display: none; }
  .sc-window { cursor: pointer; transition: transform .18s ease; }
  .sc-window:active { transform: scale(.975); }

  /* ورودِ سبک‌ترِ موبایل: بدونِ تیلتِ سه‌بعدی، فقط محوِ نرم */
  .showcase.is-armed.is-in .sc-window { animation: none; }
  .showcase.is-armed .sc-window { opacity: 1; }
  .showcase.is-armed .sc-metric { opacity: 1; transform: none; transition: none; }
  .showcase.is-armed .showcase__stage { opacity: 0; transform: translateY(16px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1); }
  .showcase.is-armed.is-in .showcase__stage { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-slide { transition: none; }
  .sc-item, .sc-info__cta { transition: none; }
}

/* فقط در موبایل: دارک‌کردنِ بخشِ نمونه‌کارهای صفحهٔ اصلی (هماهنگ با تمِ مشکی) */
@media (max-width: 860px) {
  #portfolio { background: #0f0f10; }
  #portfolio .section__title { color: #f4f4f5; }
  #portfolio .section__lead { color: #a2a2ab; }
  #portfolio .sc-info__title { color: #f4f4f5; }
  #portfolio .sc-info__desc { color: #a2a2ab; }
  #portfolio .sc-dot { background: rgba(255,255,255,.24); }
  #portfolio .btn--outline { color: #f4f4f5; border-color: rgba(255,255,255,.28); }
  #portfolio .btn--outline:hover { background: var(--gold); border-color: var(--gold); color: #1a1300; }
}

/* ============================================================ PROCESS */
.process { position: relative; }
.process__line { position: absolute; top: 38px; right: 8%; left: 8%; height: 2px; background: repeating-linear-gradient(90deg, #d7dbe4 0 8px, transparent 8px 16px); z-index: 0; }
.process__steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); }
.step { text-align: center; }
.step__num { font-family: var(--display); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #1a1300; font-size: 18px; margin-bottom: 14px; box-shadow: 0 0 0 6px var(--white), 0 0 0 7px #eef0f4; }
.step__ic { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 16px; background: var(--gold-soft); color: var(--gold); }
.step__ic svg { width: 28px; height: 28px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ============================================================ TESTIMONIALS */
.testimonials { background: var(--navy); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.testi-card { position: relative; background: var(--navy-3); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 30px 26px 26px; color: #e3e7ef; }
.testi-card__quote { position: absolute; top: 14px; left: 24px; font-size: 60px; line-height: 1; color: rgba(246,180,10,.35); font-weight: 800; }
.testi-card p { font-size: 15px; color: #c4cbd8; margin-bottom: 22px; }
.testi-card__person { display: flex; align-items: center; gap: 12px; }
.testi-card__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-card__person strong { display: block; color: #fff; font-size: 15px; }
.testi-card__person span { color: var(--muted-2); font-size: 13px; }

/* ============================================================ PRICING */
.pricing { display: grid; grid-template-columns: 1fr 320px; gap: var(--space-m); align-items: stretch; }
.pricing__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding-top: 18px; }
/* کارتِ پلن — سبک shadcn pricing (کارتِ محبوب برجسته + هایلایت + نشانِ ستارهٔ گوشه) */
.plan { position: relative; background: var(--white); border: 1px solid #e4e4e7; border-radius: 20px; padding: 28px 24px; text-align: center; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.plan:not(.plan--featured) { transform: scale(.97); }
@media (hover: hover) { .plan:not(.plan--featured):hover { transform: scale(1); box-shadow: 0 22px 46px -26px rgba(0,0,0,.3); } }
.plan--featured { border: 2px solid var(--gold); box-shadow: 0 30px 62px -26px rgba(246,180,10,.45); transform: translateY(-14px); z-index: 2; }
/* نشانِ گوشهٔ «محبوب» — بالا-راست (سبک کامپوننت) */
.plan__tag { position: absolute; top: 0; inset-inline-end: 0; display: inline-flex; align-items: center; gap: 4px; background: var(--gold); color: #1a1300; font-weight: 700; font-size: 12.5px; padding: 5px 12px; border-start-end-radius: 19px; border-end-start-radius: 14px; white-space: nowrap; }
.plan__tag svg { width: 14px; height: 14px; }
.plan__name { font-size: 13.5px; font-weight: 700; color: var(--muted); letter-spacing: .4px; margin-bottom: 4px; }
.plan__for { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.plan__price { font-size: 15px; color: var(--muted); margin-bottom: 4px; display: flex; align-items: baseline; justify-content: center; gap: 6px; flex-wrap: wrap; }
.plan__price b { font-family: var(--display); font-weight: 400; font-size: 42px; color: var(--ink); letter-spacing: .5px; line-height: 1; }
.plan__list { text-align: start; margin: 16px 0; padding-bottom: 16px; border-bottom: 1px solid #ececef; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.plan__list li { position: relative; padding-inline-start: 26px; font-size: 14px; color: #3f3f46; line-height: 1.7; }
.plan__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold-soft); }
.plan__list li::after { content: ""; position: absolute; inset-inline-start: 5px; top: 10px; width: 6px; height: 3px; border-inline-start: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-50deg); }
.pricing__promo { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--navy); min-height: 100%; }
.pricing__promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.pricing__promo-inner { position: relative; z-index: 1; padding: 38px 30px; display: flex; flex-direction: column; justify-content: center; height: 100%; background: linear-gradient(180deg, rgba(12,12,14,.35), rgba(11,11,13,.72)); }
.pricing__promo-ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 18px; background: rgba(246,180,10,.16); color: var(--gold); }
.pricing__promo-ic svg { width: 28px; height: 28px; }
.pricing__promo h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.pricing__promo p { color: #c4cbd8; font-size: 14.5px; margin-bottom: 24px; }
.pricing__promo .btn { align-self: flex-start; }

/* ============================================================ FAQ (نئومورفیسم — سطحِ نرمِ خاکستری با سایهٔ دوگانه) */
.accordion {
  --nm-bg: #e8ebf1; --nm-dark: #c6cad3; --nm-light: #ffffff;
  display: flex; flex-direction: column; gap: 18px;
  background: var(--nm-bg); border-radius: 26px;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: inset 2px 2px 6px rgba(198,202,211,.55), inset -2px -2px 6px rgba(255,255,255,.65);
}
.acc-item {
  background: var(--nm-bg); border: none; border-radius: 16px; overflow: hidden;
  box-shadow: 6px 6px 14px var(--nm-dark), -6px -6px 14px var(--nm-light);
  transition: box-shadow .28s ease;
}
@media (hover: hover) { .acc-item:not(.is-open):hover { box-shadow: 8px 8px 18px var(--nm-dark), -8px -8px 18px var(--nm-light); } }
.acc-item.is-open { box-shadow: inset 5px 5px 11px var(--nm-dark), inset -5px -5px 11px var(--nm-light); }
.acc-item__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 16px; color: var(--ink); text-align: right; padding: 20px 22px; transition: color .2s; }
.acc-item.is-open .acc-item__head { color: var(--gold-2); }
.acc-item__icon {
  position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: var(--nm-bg);
  box-shadow: 3px 3px 7px var(--nm-dark), -3px -3px 7px var(--nm-light);
  transition: box-shadow .28s ease;
}
.acc-item.is-open .acc-item__icon { box-shadow: inset 3px 3px 6px var(--nm-dark), inset -3px -3px 6px var(--nm-light); }
.acc-item__icon::before, .acc-item__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s, opacity .25s; }
.acc-item__icon::before { width: 12px; height: 2.4px; }
.acc-item__icon::after  { width: 2.4px; height: 12px; }
.acc-item.is-open .acc-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc-item__body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-item__body p { padding: 0 22px 22px; color: var(--muted); font-size: 14.5px; }

/* ---- FAQ ایندکس: کارت‌های تیرهٔ تمیز، هماهنگ با تمِ مشکی/طلایی (بدون نئومورفیسم/ته‌رنگِ بنفش) ---- */
#faq { background: #0f0f10; padding-block: clamp(28px, 4vw, 48px); }
#faq .section__title { color: #f4f4f5; }
#faq .accordion {
  background: transparent; border-radius: 0; padding: 0; gap: 14px; box-shadow: none;
}
#faq .acc-item {
  background: #161618;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  box-shadow: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
@media (hover: hover) {
  #faq .acc-item:not(.is-open):hover { box-shadow: none; border-color: rgba(255,255,255,.16); background: #1a1a1c; }
}
#faq .acc-item.is-open {
  background: #17150f;
  border-color: rgba(246,180,10,.45);
  box-shadow: 0 0 0 1px rgba(246,180,10,.12), 0 14px 34px -16px rgba(246,180,10,.28);
}
#faq .acc-item__head { color: #e9e9ee; }
#faq .acc-item.is-open .acc-item__head { color: var(--gold); }
#faq .acc-item__body p { color: #a2a2ab; }
#faq .acc-item__icon {
  background: rgba(246,180,10,.1);
  border: 1px solid rgba(246,180,10,.28);
  box-shadow: none;
}
#faq .acc-item.is-open .acc-item__icon {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: none;
}
#faq .acc-item.is-open .acc-item__icon::before { background: #1a1300; } /* خطِ منفی روی زمینهٔ طلایی */
#faq .btn--outline { color: #f4f4f5; border-color: rgba(255,255,255,.22); }
#faq .btn--outline:hover { background: var(--gold); border-color: var(--gold); color: #1a1300; }

/* ---- صفحهٔ سوالات متداول (گروه‌بندی + CTA) ---- */
.faq-group { margin-bottom: 40px; }
.faq-group:last-of-type { margin-bottom: 0; }
.faq-group__title { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.6vw, 27px); line-height: 1.5; margin-bottom: 18px; padding-inline-start: 14px; border-inline-start: 4px solid var(--gold); }
.faq-cta { text-align: center; margin-top: 48px; padding: clamp(28px, 4vw, 40px); background: #e8ebf1; border: none; border-radius: 24px; box-shadow: 7px 7px 16px #c6cad3, -7px -7px 16px #ffffff; }
.faq-cta h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.faq-cta p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.faq-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================ CTA BANNER */
.cta-banner { position: relative; overflow: hidden; border-radius: 22px; background: var(--navy); color: #fff; padding: var(--space-l) clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); flex-wrap: wrap; }
.cta-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner__content h2 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; letter-spacing: .3px; }
.cta-banner__content p { color: #c4cbd8; font-size: 16px; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ============================================================ FOOTER */
/* ============================================================ FOOTER (مینیمال — جعبهٔ باریکِ بوردردار، سبک shadcn) */
.footer { position: relative; background: #0a0a0b; color: var(--muted-2); }
.footer__inner { position: relative; max-width: 896px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 24px); }
@media (min-width: 768px) { .footer__inner { border-inline: 1px solid rgba(255,255,255,.08); } }
/* هالهٔ رادیالِ نرمِ بالا */
.footer__inner::before { content: ""; position: absolute; inset: 0 0 auto; height: 220px; pointer-events: none; background: radial-gradient(35% 80% at 30% 0%, rgba(255,255,255,.07), transparent); }
/* خط‌های جداکنندهٔ نازکِ افقی */
.footer__rule { display: block; height: 1px; background: rgba(255,255,255,.1); }
.footer__grid { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; padding: 30px 4px; }
.footer__brand { grid-column: span 6; display: flex; flex-direction: column; gap: 18px; }
.footer__logo { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.footer__logo .logo__img { height: 54px; width: auto; display: block; }
.footer__logo .logo__word { height: 36px; width: auto; display: block; }
.footer__desc { max-width: 360px; font-size: 13.5px; line-height: 1.95; color: var(--muted-2); }
.footer__social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__soc { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: var(--muted-2); transition: background .2s, color .2s, border-color .2s; }
.footer__soc svg { width: 17px; height: 17px; }
@media (hover: hover) { .footer__soc:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); } }
/* نماد اعتماد (اینماد) — کاشیِ سفیدِ گِرد تا لوگو روی فوترِ تیره دیده شود */
.footer__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.footer__enamad { display: inline-flex; background: #fff; border-radius: 12px; padding: 8px; line-height: 0; box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); transition: transform .2s; }
.footer__enamad img { width: 84px; height: auto; display: block; }
@media (hover: hover) { .footer__enamad:hover { transform: translateY(-2px); } }
.footer__col { grid-column: span 3; }
.footer__col-title { display: block; margin-bottom: 8px; font-size: 12px; color: var(--muted); }
.footer__links { display: flex; flex-direction: column; gap: 1px; }
.footer__links a { display: inline-flex; align-items: center; gap: 7px; width: max-content; max-width: 100%; padding: 5px 0; font-size: 13.5px; color: var(--muted-2); transition: color .2s; }
.footer__links a svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
@media (hover: hover) { .footer__links a:hover { color: #fff; text-decoration: underline; } }
.footer__copy { position: relative; padding: 16px 0 30px; text-align: center; }
.footer__copy p { font-weight: 300; font-size: 13px; color: var(--muted-2); }
.footer__copy a { color: var(--gold); }
@media (min-width: 768px) {
  .footer__brand { grid-column: span 3; }
  .footer__col { grid-column: span 1; }
}

/* ============================================================ PORTFOLIO PAGE */
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--sm svg { width: 16px; height: 16px; }

.pagehead { background: var(--navy); color: #fff; padding-block: var(--space-l) var(--space-m); text-align: center; }
.pagehead h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5vw, 54px); letter-spacing: .4px; line-height: 1.4; }
.pagehead p { color: #c4cbd8; margin-top: 12px; font-size: 16px; }
.pagehead--sm { padding: 24px 0; text-align: right; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: #c4cbd8; font-weight: 600; }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { color: var(--gold); }

.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m) var(--gutter); }

/* ---- انتخاب دسته‌بندی نمونه‌کارها (مرحلهٔ ۱) ---- */
.pf-cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.pf-cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eef0f4; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(13,20,36,.35); transition: transform .28s, box-shadow .28s, border-color .28s; }
.pf-cat-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-3); display: grid; place-items: center; }
.pf-cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pf-cat-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,13,24,.5), transparent 55%); }
.pf-cat-card__count { position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 1; background: rgba(13,20,36,.82); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.pf-cat-card__allic { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 20px; background: rgba(246,180,10,.16); color: var(--gold); position: relative; z-index: 1; }
.pf-cat-card__allic svg { width: 36px; height: 36px; }
.pf-cat-card--all .pf-cat-card__media { background: radial-gradient(120% 120% at 70% 10%, #1b2745, var(--navy)); }
.pf-cat-card--all .pf-cat-card__media::after { display: none; }
.pf-cat-card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; }
.pf-cat-card__body h3 { font-size: 18px; font-weight: 800; }
.pf-cat-card__go { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font-weight: 800; font-size: 13.5px; white-space: nowrap; transition: gap .2s; }
.pf-cat-card__go svg { width: 16px; height: 16px; }
@media (hover: hover) { .pf-cat-card:hover { transform: translateY(-8px); border-color: rgba(246,180,10,.5); box-shadow: 0 34px 60px -26px rgba(13,20,36,.4); } .pf-cat-card:hover .pf-cat-card__media img { transform: scale(1.07); } .pf-cat-card:hover .pf-cat-card__go { gap: 9px; } }

/* ---- نوار فیلتر دسته‌ها (مرحلهٔ ۲) ---- */
.pf-filterbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.pf-back { flex-shrink: 0; }
.pf-cats.bcats { margin-bottom: 0; justify-content: flex-start; }
.pf-cat-title { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 3vw, 30px); margin-bottom: 28px; letter-spacing: .3px; }

/* ---- لیست نمونه‌کارها سبک دیجی‌کالا: نوار فیلتر + گرید + «نمایش بیشتر» ---- */
.pf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.pf-filter.bcats { margin-bottom: 0; justify-content: flex-start; }
.pf-filter .bchip { cursor: pointer; }
.pf-count { color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.pf-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-m) var(--gutter); }
.pf-products .pc-card { width: 100%; }
.pf-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 36px 0; }
.pf-loadmore { text-align: center; margin-top: 40px; }
.pf-loadmore .btn svg { width: 18px; height: 18px; transition: transform .2s; }
@media (hover: hover) { .pf-loadmore .btn:hover svg { transform: translateY(3px); } }

/* ---- ردیف‌های سبک «پیشنهاد شگفت‌انگیز» دیجی‌کالا: پنلِ رنگیِ نام دسته + اسلایدر افقی ---- */
.pf-allrow { display: flex; justify-content: flex-start; margin-bottom: 22px; }
.pf-deal { display: flex; margin-bottom: 24px; border: 1px solid #eef0f4; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px -34px rgba(13,20,36,.4); }
.pf-deal:last-child { margin-bottom: 0; }
.pf-deal__panel { flex: 0 0 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; text-align: center; padding: 26px 20px; background: linear-gradient(160deg, var(--gold-2), var(--gold)); color: #1a1300; }
.pf-deal__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(26,19,0,.12); }
.pf-deal__ic svg { width: 28px; height: 28px; }
.pf-deal__title { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.4; }
.pf-deal__count { font-size: 12.5px; font-weight: 700; opacity: .82; }
.pf-deal__more { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; background: #1a1300; color: var(--gold); font-weight: 800; font-size: 13px; padding: 9px 16px; border-radius: 999px; transition: gap .2s; }
.pf-deal__more svg { width: 15px; height: 15px; }
@media (hover: hover) { .pf-deal__more:hover { gap: 9px; } }
.pf-deal--alt .pf-deal__panel { background: linear-gradient(160deg, var(--navy-3), var(--navy)); color: #fff; }
.pf-deal--alt .pf-deal__ic { background: rgba(246,180,10,.16); color: var(--gold); }
.pf-deal--alt .pf-deal__more { background: var(--gold); color: #1a1300; }

.pf-deal__rail { position: relative; flex: 1; min-width: 0; padding: 22px 14px; }
.pf-deal__track { display: flex; gap: 14px; height: 100%; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.pf-deal__track::-webkit-scrollbar { display: none; }
.pf-deal__rail .pc-card { flex: 0 0 clamp(196px, 21%, 228px); scroll-snap-align: start; }
.pf-deal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #e6e9f0; box-shadow: 0 8px 20px -8px rgba(13,20,36,.4); display: grid; place-items: center; color: var(--ink); cursor: pointer; z-index: 3; transition: opacity .2s, background .2s, color .2s; }
.pf-deal__nav svg { width: 20px; height: 20px; }
@media (hover: hover) { .pf-deal__nav:hover { background: var(--gold); color: #1a1300; } }
.pf-deal__nav--prev { right: 8px; }
.pf-deal__nav--next { left: 8px; }
.pf-deal__nav.is-off { opacity: 0; pointer-events: none; }

/* ---- کارت نمونه‌کار به‌شکلِ مانیتورِ کامپیوتر (خلاقانه) ---- */
.pc-card { display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; }
.pc-card__monitor { width: 100%; background: linear-gradient(180deg, #1b2643, #0f1830); border: 1px solid #283762; border-radius: 15px; padding: 9px 9px 0; box-shadow: 0 20px 38px -24px rgba(13,20,36,.65); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
@media (hover: hover) { .pc-card:hover .pc-card__monitor { transform: translateY(-4px); box-shadow: 0 30px 52px -26px rgba(13,20,36,.7); } }
.pc-card__bar { display: flex; align-items: center; gap: 8px; padding: 3px 5px 8px; }
.pc-card__dots { display: flex; gap: 4px; flex-shrink: 0; }
.pc-card__dots i { width: 8px; height: 8px; border-radius: 50%; background: #34425f; }
.pc-card__dots i:first-child { background: var(--gold); }
.pc-card__addr { flex: 1; min-width: 0; text-align: center; background: #0b1322; color: #7d8aa5; font-size: 10.5px; padding: 4px 10px; border-radius: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc-card__screen { position: relative; border-radius: 7px; overflow: hidden; aspect-ratio: 16 / 10; background: #0b1322; }
.pc-card__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: object-position 2.6s ease; }
@media (hover: hover) { .pc-card:hover .pc-card__screen img { object-position: bottom center; } }
.pc-card__gloss { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 26%, transparent 42%); }
.pc-card__badge { position: absolute; top: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; gap: 5px; background: var(--gold); color: #1a1300; font-weight: 800; font-size: 11.5px; padding: 5px 10px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(246,180,10,.85); }
.pc-card__badge svg { width: 13px; height: 13px; }
.pc-card__stand { display: flex; flex-direction: column; align-items: center; }
.pc-card__neck { width: 64px; height: 14px; background: linear-gradient(#16203a, #0f1830); clip-path: polygon(16% 0, 84% 0, 100% 100%, 0 100%); }
.pc-card__base { width: 128px; height: 9px; border-radius: 0 0 11px 11px; background: #0f1830; border: 1px solid #1d2a45; border-top: none; }
.pc-card__info { margin-top: 13px; }
.pc-card__cat { display: inline-block; color: var(--gold); font-weight: 700; font-size: 12px; margin-bottom: 5px; }
.pc-card__title { font-size: 15.5px; font-weight: 800; color: var(--ink); line-height: 1.6; transition: color .2s; }
@media (hover: hover) { .pc-card:hover .pc-card__title { color: var(--gold); } }

/* computer / monitor card */
.pc { text-align: center; }
.pc__monitor { background: #0f1830; border: 1px solid #1d2a45; border-radius: 16px; padding: 10px 10px 0; box-shadow: var(--card-shadow); transition: transform .3s ease, box-shadow .3s ease; }
.pc:hover .pc__monitor { transform: translateY(-8px); box-shadow: 0 30px 56px -24px rgba(13,20,36,.5); }
.pc__bar { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; }
.pc__dots { display: flex; gap: 5px; }
.pc__dots i { width: 9px; height: 9px; border-radius: 50%; background: #33415f; }
.pc__dots i:first-child { background: var(--gold); }
.pc__addr { flex: 1; text-align: center; background: #0b1322; color: #7d8aa5; font-size: 11.5px; padding: 5px 12px; border-radius: 6px; max-width: 70%; margin: 0 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc__screen { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: #0b1322; }
.pc__shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: object-position 3s ease; }
.pc:hover .pc__shot { object-position: bottom center; }
.pc__badge { position: absolute; top: 12px; inset-inline-end: 12px; background: var(--gold); color: #1a1300; font-weight: 700; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(246,180,10,.8); }
.pc__stand { display: flex; flex-direction: column; align-items: center; }
.pc__neck { width: 78px; height: 16px; background: linear-gradient(#141d33, #0f1830); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.pc__base { width: 160px; height: 11px; border-radius: 0 0 12px 12px; background: #0f1830; border: 1px solid #1d2a45; border-top: none; }
.pc__info { margin-top: 20px; }
.pc__cat { display: inline-block; color: var(--gold); font-weight: 700; font-size: 12.5px; margin-bottom: 6px; }
.pc__title { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.pc__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pc__soon { background: transparent; border: 1.5px dashed #d7dbe4; color: var(--muted); cursor: default; }
.pc__soon:hover { transform: none; }

/* detail */
.pf-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-l); align-items: center; }
.pc__monitor--lg { padding: 14px 14px 0; }
.pc__monitor--lg .pc__screen { aspect-ratio: 16 / 10; }

/* پیش‌نمایش زندهٔ سایت نمونه (iframe مقیاس‌شده) */
.liveframe { position: absolute; inset: 0; overflow: hidden; background: #fff; opacity: 0; transition: opacity .4s ease; }
.liveframe.is-ready { opacity: 1; }
.liveframe iframe { position: absolute; top: 0; left: 0; border: 0; background: #fff; transform-origin: top left; pointer-events: none; }
.pc__live-tag { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(11,19,34,.72); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px); pointer-events: none; }
.pc__live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: liveDot 1.8s infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6); } 70% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.pc__live-open { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-decoration: none; background: linear-gradient(180deg, rgba(11,19,34,.05), rgba(11,19,34,.42)); opacity: 0; transition: opacity .28s ease; }
.pc__live-open:hover, .pc__live-open:focus-visible { opacity: 1; }
.pc__live-open__btn { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #1a1300; font-weight: 800; font-size: 14px; padding: 11px 20px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(246,180,10,.7); transform: translateY(6px); transition: transform .28s ease; }
.pc__live-open:hover .pc__live-open__btn, .pc__live-open:focus-visible .pc__live-open__btn { transform: translateY(0); }
.pc__live-open__btn svg { width: 17px; height: 17px; }
@media (hover: none) { .pc__live-open { opacity: 1; align-items: flex-end; padding: 12px; background: linear-gradient(180deg, transparent 55%, rgba(11,19,34,.5)); } .pc__live-open__btn { transform: none; font-size: 13px; padding: 9px 16px; } }
@media (prefers-reduced-motion: reduce) { .pc__live-dot { animation: none; } .liveframe { transition: none; } }

.pf-detail__body h1 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.45; margin-bottom: 8px; }
.pf-detail__desc { color: var(--muted); font-size: 15.5px; margin: 14px 0 24px; }
.pf-detail__meta { display: flex; gap: 36px; margin-bottom: 28px; }
.pf-detail__meta span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.pf-detail__meta b { font-size: 16px; }
.pf-detail__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.port-card { color: inherit; }

/* case-study sections */
.pf-case { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: var(--space-l); }
.pf-block { background: var(--white); border: 1px solid #e8eaf0; border-radius: var(--radius); padding: 26px 26px; box-shadow: var(--card-shadow); }
.pf-block--gold { border-color: rgba(246,180,10,.4); background: linear-gradient(180deg, #fffdf6, #fff); }
.pf-block h2 { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: .3px; margin-bottom: 14px; }
.pf-block__ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gold-soft); color: var(--gold); flex-shrink: 0; }
.pf-block__ic svg { width: 20px; height: 20px; }
.pf-block p { color: var(--muted); font-size: 15px; line-height: 2; }
.pf-results { display: flex; flex-direction: column; gap: 12px; }
.pf-results li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.pf-results li svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-tag { background: var(--light); border: 1px solid #e6e9f0; color: #44505f; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }

/* ============================================================ SERVICES PAGE */
.svc-head { position: relative; overflow: hidden; }
.svc-head .eyebrow { margin-bottom: 10px; }
.svc-head__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
}
.svc-head .container { position: relative; z-index: 1; }
.svc-head__chips { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.svc-head__chips span { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 9px 16px; border-radius: 999px; font-size: 14px; color: #e3e7ef; }
.svc-head__chips svg { width: 16px; height: 16px; color: var(--gold); }

/* bento overview */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.bento__tile { position: relative; overflow: hidden; background: var(--navy); color: #fff; border: 1px solid var(--navy-line); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; min-height: 196px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.bento__tile--wide { grid-column: span 2; background: radial-gradient(130% 100% at 100% 0%, rgba(246,180,10,.10), transparent 55%), linear-gradient(120deg, var(--navy-3), var(--navy)); }
.bento__tile:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 60px -28px rgba(246,180,10,.4); }
.bento__tile .bento__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; z-index: 0; }
.bento__tile.has-cover { background: var(--navy); }
.bento__tile.has-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,.55), rgba(11,11,13,.9)); z-index: 0; }
.bento__tile > * { position: relative; z-index: 1; }
.bento__num { position: absolute; top: 12px; inset-inline-end: 22px; font-family: var(--display); font-size: 48px; line-height: 1; color: rgba(255,255,255,.07); z-index: 1; }
.bento__ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 15px; background: rgba(246,180,10,.14); color: var(--gold); margin-bottom: 16px; }
.bento__ic svg { width: 27px; height: 27px; }
.bento__tile h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.bento__tile p { color: #c4cbd8; font-size: 14px; flex: 1; }
.bento__go { margin-top: 16px; color: var(--gold); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.bento__go svg { width: 16px; height: 16px; transition: transform .2s; }
.bento__tile:hover .bento__go svg { transform: translateX(-5px); }

/* detailed rows */
.svc-rows { display: flex; flex-direction: column; gap: var(--space-xl); }
.svc-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-l); align-items: center; scroll-margin-top: 100px; }
.svc-row--rev .svc-row__visual { order: 2; }

.svc-visual { position: relative; min-height: 330px; border-radius: 24px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(70% 60% at 50% 46%, rgba(246,180,10,.09), transparent 62%), linear-gradient(160deg, var(--navy-3), var(--navy)); border: 1px solid var(--navy-line); }
.svc-visual__num { position: absolute; top: -16px; inset-inline-start: 22px; font-family: var(--display); font-size: 150px; line-height: 1; color: rgba(255,255,255,.05); }
.svc-visual__ring { position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: svcSpin 22s linear infinite; }
.svc-visual__ic { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; border-radius: 34px; background: rgba(246,180,10,.14); color: var(--gold); box-shadow: 0 0 60px rgba(246,180,10,.28); }
.svc-visual__ic svg { width: 60px; height: 60px; }
.svc-visual__tag { position: absolute; bottom: 20px; display: inline-flex; align-items: center; gap: 7px; background: rgba(11,11,13,.7); border: 1px solid rgba(246,180,10,.4); color: var(--gold-2); font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(4px); }
.svc-visual__tag svg { width: 16px; height: 16px; }
@keyframes svcSpin { to { transform: rotate(360deg); } }

/* cover/poster داخل پنل خدمت — فقط خودِ پوستر، بدون آیکون و لایهٔ اضافه */
.svc-visual--cover { background: var(--navy); }
.svc-visual__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.svc-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold); font-weight: 700; font-size: 15px; }
.svc-eyebrow b { font-family: var(--display); font-weight: 400; font-size: 16px; background: var(--gold); color: #1a1300; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.svc-row__content h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 34px); letter-spacing: .3px; line-height: 1.45; margin: 12px 0 14px; }
.svc-desc { color: var(--muted); font-size: 15.5px; line-height: 2; margin-bottom: 24px; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-bottom: 28px; }
.svc-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: #3a4456; }
.svc-list__ic { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); flex-shrink: 0; }
.svc-list__ic svg { width: 14px; height: 14px; }
.svc-row__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================ PROCESS / فرآیند طراحی */
.proc-head { position: relative; overflow: hidden; }
.proc-head .eyebrow { margin-bottom: 10px; }
.proc-head__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
}
.proc-head .container { position: relative; z-index: 1; }
.proc-head__chips { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.proc-head__chips span { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 9px 16px; border-radius: 999px; font-size: 14px; color: #e3e7ef; }
.proc-head__chips svg { width: 16px; height: 16px; color: var(--gold); }

.section__lead { text-align: center; color: var(--muted); max-width: 640px; margin: -38px auto 50px; font-size: 16px; line-height: 1.9; }

/* خط زمانی / نقشهٔ راه */
.roadmap { position: relative; max-width: 1000px; margin: 0 auto; padding: 6px 0; list-style: none; }
.roadmap__line { position: absolute; top: 18px; bottom: 26px; left: 50%; width: 3px; transform: translateX(-50%); background: linear-gradient(180deg, var(--gold), var(--gold-2) 30%, #dfe3ec); border-radius: 3px; z-index: 0; }
.roadmap__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; padding-bottom: 50px; z-index: 1; }
.roadmap__item:last-child { padding-bottom: 0; }

.roadmap__node {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px var(--white), 0 16px 30px -12px rgba(13,20,36,.55); z-index: 2;
}
.roadmap__ic { color: var(--gold); display: flex; }
.roadmap__ic svg { width: 30px; height: 30px; }

.roadmap__card {
  grid-column: 1; margin-inline-end: 60px;
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid #e8ebf1; border-radius: 18px;
  padding: 24px 26px 22px; box-shadow: 0 26px 54px -36px rgba(13,20,36,.45);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.roadmap__item--alt .roadmap__card { grid-column: 2; margin-inline-end: 0; margin-inline-start: 60px; }
.roadmap__card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 34px 60px -34px rgba(246,180,10,.45); }

.roadmap__big { position: absolute; top: 8px; inset-inline-end: 20px; font-family: var(--display); font-size: 60px; line-height: 1; color: #eef0f5; pointer-events: none; z-index: 0; }
.roadmap__card > *:not(.roadmap__big) { position: relative; z-index: 1; }
.roadmap__step { display: inline-block; color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .3px; margin-bottom: 6px; }
.roadmap__card h3 { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.roadmap__sub { color: var(--ink); font-weight: 600; font-size: 14.5px; margin: 0 0 12px; }
.roadmap__desc { color: var(--muted); font-size: 14.5px; line-height: 2; margin: 0 0 16px; }
.roadmap__list { list-style: none; display: grid; gap: 9px; margin: 0 0 18px; padding: 0; }
.roadmap__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink); }
.roadmap__check { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.roadmap__check svg { width: 13px; height: 13px; }
.roadmap__dur { display: inline-flex; align-items: center; gap: 7px; background: var(--navy); color: #fff; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.roadmap__dur svg { width: 15px; height: 15px; color: var(--gold); }

/* ============================================================ PRICING / قیمت‌گذاری */
.price-head { position: relative; overflow: hidden; }
.price-head .eyebrow { margin-bottom: 10px; }
.price-head__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
}
.price-head .container { position: relative; z-index: 1; }

.ptabs { display: inline-flex; gap: 6px; margin-top: 30px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 6px; border-radius: 999px; }
.ptab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; color: #cdd4e0; font: inherit; font-weight: 700; font-size: 15px; background: transparent; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.ptab svg { width: 18px; height: 18px; }
.ptab.is-active { background: var(--gold); color: #1a1300; }

/* بدون JS هر دو بخش دیده می‌شوند؛ با JS فقط تب فعال */
.js-tabs .ptab-panel { display: none; }
.js-tabs .ptab-panel.is-active { display: block; }

/* پکیج‌های آماده */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); align-items: stretch; max-width: 1020px; margin: 0 auto; padding-top: 18px; }
.plan__period { color: var(--muted); font-size: 13px; }
.plan__tag svg { width: 14px; height: 14px; vertical-align: -2px; }
.plan > .btn { align-self: stretch; justify-content: center; margin-top: auto; }
.ptab-switch { text-align: center; margin-top: 36px; color: var(--muted); font-size: 14.5px; }
.linkbtn { background: none; border: 0; color: var(--gold); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.linkbtn:hover { text-decoration: underline; }

/* ماشین‌حساب پکیج دلخواه */
.builder { display: grid; grid-template-columns: 1fr 340px; gap: var(--space-m); align-items: start; max-width: 1080px; margin: 0 auto; }
.builder__main { display: grid; gap: var(--space-m); }
.optgroup__title { font-size: 17px; font-weight: 800; margin-bottom: 14px; padding-right: 13px; border-right: 4px solid var(--gold); line-height: 1.4; }
.optgroup__items { display: grid; gap: 12px; }

.opt { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e6e9f0; border-radius: 14px; padding: 13px 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.opt:hover { border-color: var(--gold); }
.opt.is-on { border-color: var(--gold); background: #fffdf6; box-shadow: 0 12px 28px -20px rgba(246,180,10,.7); }
.opt--req { cursor: default; }
.opt__cb { width: 20px; height: 20px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.opt--req .opt__cb { cursor: default; }
.opt__ic { display: flex; width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; background: var(--gold-soft); color: var(--gold); align-items: center; justify-content: center; }
.opt__ic svg { width: 22px; height: 22px; }
.opt__info { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.opt__info b { font-size: 15px; font-weight: 700; }
.opt__info small { color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.opt__badge { display: inline-block; background: var(--navy); color: #fff; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; margin-right: 4px; font-weight: 700; }
.opt__price { flex-shrink: 0; font-weight: 800; font-size: 15px; color: var(--ink); white-space: nowrap; text-align: left; }
.opt__price small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
/* گزینهٔ تعدادی با نوار کشویی (slider) */
.opt--range { flex-direction: column; align-items: stretch; gap: 14px; cursor: default; }
.opt__top { display: flex; align-items: center; gap: 14px; }
.opt__range { display: flex; flex-direction: column; gap: 10px; }
.opt__slider {
  -webkit-appearance: none; appearance: none; direction: ltr;
  width: 100%; height: 8px; border-radius: 999px; cursor: pointer; outline: none;
  background: linear-gradient(90deg, var(--gold) var(--pct, 0%), #e6e9f0 var(--pct, 0%));
}
.opt__slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; box-shadow: 0 3px 10px rgba(246,180,10,.55); cursor: grab; transition: transform .15s; }
.opt__slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.14); }
.opt__slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; box-shadow: 0 3px 10px rgba(246,180,10,.55); cursor: grab; }
.opt__slider:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.opt__rangemeta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); }
.opt__count b { font-size: 17px; color: var(--ink); font-weight: 800; }
.opt__hint { color: var(--muted-2); font-size: 12px; }
.opt__linetotal { font-weight: 800; color: var(--gold); white-space: nowrap; }

/* خلاصه و جمع کل */
.builder__side { position: sticky; top: 90px; }
.summary { background: var(--navy); color: #fff; border-radius: 20px; padding: 26px 24px; box-shadow: 0 30px 60px -30px rgba(13,20,36,.6); }
.summary__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.summary__ic { display: flex; width: 44px; height: 44px; border-radius: 12px; background: rgba(246,180,10,.16); color: var(--gold); align-items: center; justify-content: center; }
.summary__ic svg { width: 24px; height: 24px; }
.summary__head h3 { font-size: 18px; font-weight: 800; }
.summary__count { margin-inline-start: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--gold); color: #1a1300; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.summary__list { list-style: none; margin: 0 0 16px; padding: 0; max-height: 340px; overflow: auto; }
.summary__list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: 13.5px; color: #dde3ee; }
.summary__list li b { color: #fff; font-weight: 700; white-space: nowrap; }
.summary__list li em { font-style: normal; color: var(--gold); font-size: 12px; }
.summary__empty { color: #9aa3b2 !important; justify-content: center !important; }
.summary__total { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 20px; padding-top: 14px; border-top: 2px solid rgba(255,255,255,.16); }
.summary__total > span:first-child { font-weight: 700; }
.summary__amount { font-size: 15px; color: #c4cbd8; display: inline-block; transform-origin: center; }
.summary__amount.is-bump { animation: amountBump .35s ease; }
.summary__amount b { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--gold); letter-spacing: .5px; }
@keyframes amountBump { 0% { transform: scale(1); } 40% { transform: scale(1.13); } 100% { transform: scale(1); } }
.summary__cta { width: 100%; justify-content: center; }
.summary__note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; color: #9aa3b2; font-size: 12px; line-height: 1.9; }
.summary__note svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ============================================================ ABOUT / دربارهٔ ما */
.about-head { position: relative; overflow: hidden; }
.about-head .eyebrow { margin-bottom: 10px; }
.about-head__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
}
.about-head .container { position: relative; z-index: 1; }
.about-head--cover { position: relative; }
.about-head__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: 0; }
.about-head--cover::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(13,20,36,.55), rgba(13,20,36,.85)); }

/* عکس بخش داستان */
.about-photo { position: relative; width: 86%; border-radius: 24px; overflow: hidden; border: 1px solid var(--navy-line); box-shadow: 0 40px 80px -40px rgba(13,20,36,.6); }
.about-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* داستان ما */
.about-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-l); align-items: center; }
.about-story__text .eyebrow { margin-bottom: 10px; }
.about-story__text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.5; margin-bottom: 18px; }
.about-story__text p { color: var(--muted); font-size: 15.5px; line-height: 2.1; margin-bottom: 16px; }
.about-story__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

.about-story__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 340px; }
.about-card { position: relative; width: 80%; aspect-ratio: 4 / 3; border-radius: 24px; background: radial-gradient(120% 100% at 50% 20%, rgba(246,180,10,.10), transparent 55%), linear-gradient(150deg, var(--navy-3), var(--navy)); border: 1px solid var(--navy-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); overflow: hidden; }
.about-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 34px 34px; opacity: .6; }
.about-card__mark { width: auto; height: 66px; position: relative; }
.about-card__brand { font-family: var(--display); font-size: clamp(28px, 3vw, 36px); color: #fff; position: relative; }
.about-card__tag { color: var(--gold); font-weight: 700; font-size: 14px; position: relative; }
.about-chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #eef0f4; box-shadow: 0 18px 40px -18px rgba(13,20,36,.35); border-radius: 999px; padding: 9px 15px; font-size: 13.5px; font-weight: 700; color: var(--ink); animation: floaty 4s ease-in-out infinite; }
.about-chip svg { width: 16px; height: 16px; color: var(--gold); }
.about-chip--1 { top: 10%; inset-inline-start: -5%; }
.about-chip--2 { bottom: 18%; inset-inline-start: 0%; animation-delay: -1.3s; }
.about-chip--3 { bottom: 6%; inset-inline-end: 4%; animation-delay: -2.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* مأموریت و چشم‌انداز */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.mv-card { background: var(--white); border: 1px solid #e8eaf0; border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--card-shadow); }
.mv-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 18px; background: var(--gold-soft); color: var(--gold); margin-bottom: 18px; }
.mv-card__ic svg { width: 30px; height: 30px; }
.mv-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.mv-card p { color: var(--muted); font-size: 15px; line-height: 2; }
.mv-card--alt { background: var(--navy); color: #fff; border-color: var(--navy-line); }
.mv-card--alt .mv-card__ic { background: rgba(246,180,10,.16); }
.mv-card--alt p { color: #c4cbd8; }

/* تایم‌لاین مسیر */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); align-items: stretch; }
.timeline__line { position: absolute; top: 27px; right: 6%; left: 6%; height: 2px; background: repeating-linear-gradient(90deg, #d7dbe4 0 8px, transparent 8px 16px); z-index: 0; }
.tl-item { position: relative; z-index: 1; padding-top: 52px; display: flex; flex-direction: column; }
.tl-item__dot { position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px var(--white), 0 0 0 7px #eef0f4; }
/* خطِ عمودیِ کوتاه از نقطه تا کارت */
.tl-item::before { content: ""; position: absolute; top: 35px; left: 50%; transform: translateX(-50%); width: 2px; height: 17px; background: #d7dbe4; z-index: 0; }
.tl-item__card { flex: 1; display: flex; flex-direction: column; background: var(--white); border: 1px solid #e8eaf0; border-radius: 16px; padding: 24px 20px 22px; box-shadow: var(--card-shadow); text-align: center; transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s, border-color .28s; }
@media (hover: hover) { .tl-item__card:hover { transform: translateY(-5px); border-color: rgba(246,180,10,.5); box-shadow: 0 20px 42px -20px rgba(246,180,10,.4); } }
.tl-item__year { display: inline-block; font-family: var(--display); font-size: 24px; color: var(--gold); margin-bottom: 10px; }
.tl-item__card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.tl-item__card p { color: var(--muted); font-size: 13.5px; line-height: 1.95; }

/* تیم */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.team-card { background: var(--white); border: 1px solid #eef0f4; border-radius: var(--radius); padding: 30px 20px; text-align: center; box-shadow: var(--card-shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.team-card:hover { transform: translateY(-6px); border-color: rgba(246,180,10,.45); box-shadow: 0 26px 50px -22px rgba(13,20,36,.28); }
.team-card__photo { display: inline-block; width: 104px; height: 104px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--gold), #ffd874); margin-bottom: 16px; }
.team-card__photo img { width: 100%; height: 100%; border-radius: 50%; display: block; background: var(--navy); }
.team-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.team-card__role { color: var(--muted); font-size: 13.5px; }

/* ============================================================ BLOG / بلاگ */
.blog-head { position: relative; overflow: hidden; }
.blog-head .eyebrow { margin-bottom: 10px; }
.blog-head__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
}
.blog-head .container { position: relative; z-index: 1; }

/* فیلتر دسته‌ها */
.bcats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.bchip { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: 999px; border: 1px solid #e3e7ef; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700; transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }
.bchip span { background: #eef0f4; color: var(--muted); border-radius: 999px; padding: 0 7px; font-size: 12px; }
.bchip:hover { border-color: var(--gold); color: var(--gold); }
.bchip.is-active { background: var(--gold); border-color: var(--gold); color: #1a1300; box-shadow: 0 10px 22px -10px rgba(246,180,10,.7); }
.bchip.is-active span { background: rgba(0,0,0,.12); color: #1a1300; }

/* نوشتهٔ ویژه — هیروی تمام‌قاب با متن روی تصویر */
.bfeat { position: relative; display: flex; align-items: flex-end; min-height: 460px; border-radius: 26px; overflow: hidden; color: #fff; margin-bottom: 52px; box-shadow: 0 44px 90px -44px rgba(8,13,24,.7); }
.bfeat__media { position: absolute; inset: 0; }
.bfeat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.bfeat:hover .bfeat__media img { transform: scale(1.06); }
.bfeat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,13,24,.94) 4%, rgba(8,13,24,.55) 45%, rgba(8,13,24,.05) 100%); }
.bfeat__body { position: relative; z-index: 1; width: 100%; max-width: 760px; padding: clamp(28px, 4vw, 52px); }
.bfeat__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.bfeat__badge { display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: #1a1300; font-weight: 800; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; }
.bfeat__badge svg { width: 14px; height: 14px; }
.bfeat__cat { display: inline-flex; align-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; }
.bfeat__body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 42px); line-height: 1.45; margin: 6px 0 14px; }
.bfeat__body p { color: #d8deea; font-size: 16px; line-height: 1.95; margin-bottom: 20px; max-width: 600px; }
.bfeat__meta { display: flex; flex-wrap: wrap; gap: 18px; color: #c4cbd8; font-size: 13.5px; margin-bottom: 22px; }
.bfeat__meta span { display: inline-flex; align-items: center; gap: 7px; }
.bfeat__meta svg { width: 16px; height: 16px; color: var(--gold); }
.bfeat__more { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); font-weight: 800; font-size: 14.5px; padding: 12px 22px; border-radius: 999px; transition: gap .2s, background .2s; }
.bfeat__more svg { width: 18px; height: 18px; }
.bfeat:hover .bfeat__more { gap: 13px; background: var(--gold); }

/* شبکهٔ نوشته‌ها */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.bpost { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid #eef0f4; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(13,20,36,.35); transition: transform .28s, box-shadow .28s, border-color .28s; }
.bpost:hover { transform: translateY(-8px); border-color: rgba(246,180,10,.5); box-shadow: 0 34px 60px -26px rgba(13,20,36,.4); }
.bpost__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.bpost__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.bpost:hover .bpost__media img { transform: scale(1.07); }
.bpost__cat { position: absolute; top: 12px; inset-inline-end: 12px; background: rgba(13,20,36,.82); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 999px; backdrop-filter: blur(4px); }
.bpost__read { position: absolute; bottom: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 11.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; }
.bpost__read svg { width: 13px; height: 13px; color: var(--gold); }
.bpost__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.bpost__body h3 { font-size: 18.5px; font-weight: 800; line-height: 1.65; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bpost:hover .bpost__body h3 { color: var(--gold); }
.bpost__body p { color: var(--muted); font-size: 14px; line-height: 1.95; margin-bottom: 18px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bpost__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 15px; border-top: 1px solid #f0f2f6; }
.bpost__by { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 12.5px; min-width: 0; }
.bpost__ava { width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bpost__ava svg { width: 15px; height: 15px; }
.bpost__by b { font-weight: 700; color: #44505f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpost__more { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font-weight: 800; font-size: 13px; white-space: nowrap; transition: gap .2s; }
.bpost__more svg { width: 16px; height: 16px; }
.bpost:hover .bpost__more { gap: 9px; }

/* صفحه‌بندی */
.bpager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.bpager__num, .bpager__btn { display: inline-flex; align-items: center; gap: 5px; min-width: 42px; height: 42px; padding: 0 14px; justify-content: center; border-radius: 11px; border: 1px solid #e3e7ef; background: var(--white); color: var(--ink); font-weight: 700; font-size: 14px; transition: border-color .2s, background .2s, color .2s; }
.bpager__num:hover, .bpager__btn:hover { border-color: var(--gold); color: var(--gold); }
.bpager__num.is-active { background: var(--gold); border-color: var(--gold); color: #1a1300; }
.bpager svg { width: 16px; height: 16px; }

/* صفحهٔ تکی نوشته */
.reading-bar { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 1200; background: transparent; pointer-events: none; }
.reading-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .1s linear; }

.bsingle-hero { position: relative; background: var(--navy); color: #fff; padding: 60px 0 130px; overflow: hidden; text-align: center; }
.bsingle-hero__grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 80%); mask-image: radial-gradient(circle at 50% 0%, #000, transparent 80%); }
.bsingle-hero .container { position: relative; z-index: 1; max-width: 800px; }
.bcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13.5px; color: #9aa3b2; margin-bottom: 18px; }
.bcrumb a { color: #c4cbd8; }
.bcrumb a:hover { color: var(--gold); }
.bsingle-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.45; }
.bsingle-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 20px; color: #c4cbd8; font-size: 14px; }
.bsingle-hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.bsingle-hero__meta svg { width: 16px; height: 16px; color: var(--gold); }

.bsingle-wrap { max-width: 860px; }
.bsingle-cover { margin: -100px 0 0; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(13,20,36,.6); position: relative; z-index: 2; aspect-ratio: 16 / 8; border: 5px solid #fff; }
.bsingle-cover img { width: 100%; height: 100%; object-fit: cover; }
.bsingle-body { padding: 40px 8px 10px; }
.bsingle-lead { font-size: 19px; line-height: 2.05; color: var(--ink); font-weight: 600; border-inline-start: 4px solid var(--gold); padding-inline-start: 20px; margin-bottom: 30px; }
.bsingle-body h2 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 36px 0 14px; position: relative; padding-inline-start: 18px; }
.bsingle-body h2::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; bottom: 6px; width: 5px; border-radius: 3px; background: var(--gold); }
.bsingle-body p { color: #3a4250; font-size: 17px; line-height: 2.25; margin-bottom: 22px; }
.bsingle-body p.dropcap::first-letter { font-family: var(--display); font-size: 58px; line-height: .8; float: inline-start; padding: 6px 12px 0 0; color: var(--gold); }
.bsingle-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 34px 0; padding-top: 24px; border-top: 1px solid #eef0f4; }
.bsingle-tags > svg { width: 18px; height: 18px; color: var(--gold); }
.btag { background: #f3f5f9; color: #44505f; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.btag:hover { background: var(--gold-soft); color: #9a6a00; }
.bsingle-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; padding: 26px; background: var(--bg-soft, #f7f8fa); border-radius: 16px; align-items: center; justify-content: center; }

/* ============================================================ CONTACT / تماس با ما */
.contact-head { position: relative; overflow: hidden; }
.contact-head .eyebrow { margin-bottom: 10px; }
.contact-head__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
}
.contact-head .container { position: relative; z-index: 1; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info__title { font-family: var(--display); font-weight: 400; font-size: clamp(25px, 3.2vw, 36px); line-height: 1.45; margin: 8px 0 14px; }
.contact-info__lead { color: var(--muted); font-size: 15.5px; line-height: 2; margin-bottom: 26px; max-width: 460px; }
.contact-methods { display: grid; gap: 14px; margin-bottom: 26px; }
.contact-methods li { display: flex; align-items: center; gap: 14px; }
.contact-methods__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); flex-shrink: 0; }
.contact-methods__ic svg { width: 23px; height: 23px; }
.contact-methods small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 3px; }
.contact-methods a, .contact-methods b { font-size: 16px; font-weight: 700; color: var(--ink); }
.contact-methods a { transition: color .2s; }
.contact-methods a:hover { color: var(--gold); }
.contact-social { display: flex; gap: 10px; }
.contact-social a { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #fff; border: 1px solid #e6e9f0; color: var(--ink); transition: background .2s, color .2s, transform .2s, border-color .2s; }
.contact-social a svg { width: 21px; height: 21px; }
.contact-social a:hover { background: var(--gold); color: #1a1300; border-color: var(--gold); transform: translateY(-3px); }

.contact-card { position: relative; background: #fff; border: 1px solid #e8eaf0; border-radius: 22px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 70px -40px rgba(13,20,36,.5); }
.contact-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(150deg, rgba(246,180,10,.5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.contact-card__title { font-size: 20px; font-weight: 800; margin-bottom: 18px; }

/* فرم */
.cform { display: grid; gap: 16px; }
.cform__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field label small { color: var(--muted); font-weight: 500; }
.field .req { color: #e0413d; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #f7f8fb; border: 1.5px solid #e3e7ef; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: #aab2c0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(246,180,10,.15); }
.field textarea { resize: vertical; min-height: 112px; line-height: 1.9; }
.field.is-error input, .field.is-error textarea { border-color: #e0413d; background: #fff6f6; }
.field__err { color: #d23935; font-size: 12.5px; font-weight: 600; }
.cform__submit { margin-top: 4px; }
.cform__hint { display: flex; align-items: center; gap: 7px; justify-content: center; color: var(--muted); font-size: 12.5px; }
.cform__hint svg { width: 15px; height: 15px; color: var(--gold); }
.cform__alert { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 14px; }
.cform__alert-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0; }
.cform__alert-ic svg { width: 20px; height: 20px; }
.cform__alert div { display: flex; flex-direction: column; gap: 3px; }
.cform__alert b { font-size: 15px; }
.cform__alert--ok { background: #eafaf0; border: 1px solid #a9e3bf; color: #1c7a45; }
.cform__alert--ok .cform__alert-ic { background: #1c9e54; color: #fff; }
.cform__alert--err { background: #fdecec; border: 1px solid #f2b4b2; color: #b22f2b; }
.cform__alert--err .cform__alert-ic { background: #d23935; color: #fff; }
.cform__alert { animation: cformIn .4s cubic-bezier(.22,.61,.36,1); }
@keyframes cformIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
/* وضعیت در حال ارسال روی دکمه */
.cform__submit.is-loading { color: transparent; pointer-events: none; }
.cform__submit.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2.5px solid rgba(26,19,0,.28); border-top-color: #1a1300; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================ CONTACT — نقشه + ساعات کاری */
.contact-extra__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: stretch; }

.contact-map { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8eaf0; border-radius: 18px; overflow: hidden; box-shadow: var(--card-shadow); }
.contact-map__canvas {
  position: relative; flex: 1; min-height: clamp(220px, 28vw, 300px); overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(13,20,36,.045) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(13,20,36,.045) 46px 47px),
    radial-gradient(circle at 80% 24%, rgba(36,160,90,.18), transparent 23%),
    radial-gradient(circle at 16% 78%, rgba(36,120,200,.12), transparent 20%),
    linear-gradient(160deg, #eef2f7, #e2e8f1);
}
.contact-map__road { position: absolute; background: rgba(13,20,36,.07); }
.contact-map__road--1 { top: -10%; bottom: -10%; inset-inline-start: 34%; width: 16px; transform: skewX(-13deg); }
.contact-map__road--2 { inset-inline: 0; top: 60%; height: 13px; }
.contact-map__canvas::after { content: ""; position: absolute; top: 44%; left: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(246,180,10,.45); animation: mapPulse 2.4s ease-out infinite; }
@keyframes mapPulse { 0% { box-shadow: 0 0 0 0 rgba(246,180,10,.45); } 100% { box-shadow: 0 0 0 26px rgba(246,180,10,0); } }
.contact-map__pin { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -100%); z-index: 2; color: var(--gold); filter: drop-shadow(0 6px 9px rgba(13,20,36,.4)); }
.contact-map__pin svg { width: 46px; height: 46px; }
.contact-map__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-top: 1px solid #eef0f4; }
.contact-map__addr small { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 4px; }
.contact-map__addr b { font-size: 14.5px; color: var(--ink); line-height: 1.7; }
.contact-map__btn { flex-shrink: 0; }

.contact-hours { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8eaf0; border-radius: 18px; padding: 24px; box-shadow: var(--card-shadow); }
.contact-hours__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #eef0f4; }
.contact-hours__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); flex-shrink: 0; }
.contact-hours__ic svg { width: 24px; height: 24px; }
.contact-hours__head h3 { font-size: 18px; font-weight: 800; margin-bottom: 7px; }
.contact-hours__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.contact-hours__badge i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.contact-hours__badge.is-open { background: #eafaf0; color: #1c7a45; }
.contact-hours__badge.is-open i { background: #1c9e54; box-shadow: 0 0 0 3px rgba(28,158,84,.18); }
.contact-hours__badge.is-closed { background: #f3f4f7; color: #6b7280; }
.contact-hours__badge.is-closed i { background: #9aa3b2; }
.contact-hours__list { display: flex; flex-direction: column; }
.contact-hours__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 14.5px; color: #44505f; }
.contact-hours__list li b { font-weight: 700; color: var(--ink); }
.contact-hours__list li.is-off b { color: #b22f2b; }
.contact-hours__list li.is-today { background: var(--gold-soft); }
.contact-hours__list li.is-today b { color: #9a6a00; }
.contact-hours__list li em { font-style: normal; font-size: 11px; font-weight: 800; color: #1a1300; background: var(--gold); padding: 1px 9px; border-radius: 999px; margin-inline-start: 7px; }

/* ============================================================ RESPONSIVE */
/* در عرض‌های میانی شمارهٔ تماس را پنهان می‌کنیم تا دکمه‌های هدر جا شوند */
@media (max-width: 1140px) { .header__phone { display: none; } }
@media (max-width: 1024px) {
  /* تبلت: نوار ناوبری فشرده‌تر و حذف دکمهٔ تماس تا همه‌چیز جا شود (CTA طلایی می‌ماند) */
  .header__contact { display: none; }
  .nav { gap: 2px; }
  .nav__link { padding: 7px 11px; font-size: 14px; }
  .value__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .port-card { flex-basis: calc((100% - 22px) / 2); }
  .pricing { grid-template-columns: 1fr; }
  .pricing__promo { min-height: 220px; }
  .testi__grid { grid-template-columns: 1fr; }
  .process__line { display: none; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-products { grid-template-columns: repeat(3, 1fr); }
  .pf-detail { grid-template-columns: 1fr; gap: 30px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 1fr; gap: 28px; }
  .svc-row--rev .svc-row__visual { order: 0; }
  .svc-visual { min-height: 260px; }
  .roadmap__line { left: auto; inset-inline-start: 26px; transform: none; }
  .roadmap__item { grid-template-columns: 1fr; }
  .roadmap__node { left: auto; inset-inline-start: 0; transform: none; width: 54px; height: 54px; }
  .roadmap__node svg { width: 26px; height: 26px; }
  .roadmap__card,
  .roadmap__item--alt .roadmap__card { grid-column: 1; margin-inline-start: 78px; margin-inline-end: 0; }
  .builder { grid-template-columns: 1fr; }
  .builder__side { position: static; }
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; }
  .plan, .plan--featured { transform: none; }
  .about-story { grid-template-columns: 1fr; gap: 36px; }
  .about-story__visual { min-height: 300px; order: -1; }
  .mv-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .timeline__line { display: none; }
  .tl-item { padding-top: 0; }
  .tl-item__dot { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .bgrid { grid-template-columns: repeat(2, 1fr); }
  .bfeat { grid-template-columns: 1fr; }
  .bfeat__media { min-height: 220px; }
}
@media (max-width: 900px) {
  /* منوی افقیِ دسکتاپ مخفی — موبایل از اورلیِ تمام‌قد استفاده می‌کند */
  .nav { display: none; }
  .header__phone, .header__cta, .header__contact { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; gap: 5px; padding: 0; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* پلن‌های صفحهٔ اصلی — نوار افقیِ سوایپ‌شونده با دیدِ کارت بعدی */
  .pricing__cards {
    display: flex; grid-template-columns: none;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: 8px 2px 14px; margin-inline: -2px;
    scrollbar-width: none;
  }
  .pricing__cards::-webkit-scrollbar { display: none; }
  .pricing__cards .plan { flex: 0 0 84%; scroll-snap-align: center; }
  .plan, .plan--featured { transform: none; }
  .pricing__dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-extra__grid { grid-template-columns: 1fr; gap: 18px; }

  /* هیرو — ارتفاع خودکار، بدون فلش (سوایپ + نقطه‌ها) */
  .hero { height: auto; min-height: 0; max-height: none; padding: 0; }
  .hero__slider { position: relative; }
  .hero__slide { position: absolute; padding: 84px 0 76px; }
  .hero__slide.is-active { position: relative; min-height: 84dvh; }
  .hero__nav { display: none; }
  .hero__dots { bottom: 22px; }
  .hero__dot { width: 12px; height: 12px; }
  .hero__dot.is-active { width: 32px; }

  /* موبایل: اسکریمِ موضعی و بافت/هاله حذف تا پوستر پشتِ کلِ محتوا دیده شود؛
     اورلیِ سبک و یکدست (فقط برای خواناییِ متن، نه پوشاندنِ پوستر) */
  .hero__content::before { display: none; }
  .hero__overlay::before, .hero__overlay::after { display: none; }
  .hero__overlay {
    background: linear-gradient(to top, rgba(13,20,36,.72) 0%, rgba(13,20,36,.5) 55%, rgba(13,20,36,.4) 100%);
  }
}
@media (max-width: 600px) {
  .section__title { margin-bottom: 40px; }

  /* فرم تماس — فیلدها تک‌ستونه */
  .cform__row { grid-template-columns: 1fr; }
  .contact-methods__ic { width: 46px; height: 46px; }

  /* هیرو موبایل */
  .hero__content { max-width: 100%; }
  .hero__eyebrow { font-size: 12.5px; margin-bottom: 16px; padding: 7px 14px 7px 11px; }
  .hero__lead { font-size: 15.5px; margin: 16px 0 24px; line-height: 1.95; }
  .hero__actions { width: 100%; gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; padding: 13px 20px; font-size: 15px; }
  .hero__trust { gap: 8px 18px; margin-top: 22px; padding-top: 18px; }
  .hero__trust li { font-size: 13px; }
  .hero__trust svg { width: 17px; height: 17px; }

  /* ارزش‌ها */
  .value__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* آمار روی موبایل نمایش داده نمی‌شود */
  .stats { display: none; }

  /* نمونه‌کارها — کاروسل مرکز-چسب با دیدِ کارت‌های کناری و نقطه‌های پیمایش */
  .carousel__track { gap: 14px; padding: 6px 9% 8px; }
  .port-card { flex: 0 0 82%; scroll-snap-align: center; }
  .port-card__body { padding: 16px 18px 18px; }
  .port-card__body h3 { font-size: 17px; }
  .carousel__btn { display: none; }
  .carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }

  /* ردیف‌های شگفت‌انگیز روی موبایل — پنل به نوار بالا تبدیل می‌شود، اسلایدر زیرش */
  .pf-deal { flex-direction: column; margin-bottom: 18px; }
  .pf-deal__panel { flex: none; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; text-align: right; gap: 12px; padding: 13px 16px; }
  .pf-deal__ic, .pf-deal__count { display: none; }
  .pf-deal__title { font-size: 18px; }
  .pf-deal__more { margin-top: 0; flex-shrink: 0; }
  .pf-deal__rail { padding: 14px 12px; }
  .pf-deal__nav { display: none; }
  .pf-deal__rail .pc-card { flex: 0 0 66%; }

  /* لیست نمونه‌کارها روی موبایل — گرید دوستونه مثل دیجی‌کالا */
  .pf-products { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .pf-products .pc-card__title { font-size: 13px; line-height: 1.5; }
  .pf-products .pc-card__cat { font-size: 11px; }
  .pf-products .pc-card__addr { font-size: 9px; padding: 3px 7px; }
  .pf-products .pc-card__badge { font-size: 10px; padding: 4px 8px; }
  .pf-toolbar { margin-bottom: 18px; }
  .pf-count { width: 100%; order: 2; }

  /* فرآیند — تایم‌لاین عمودی */
  /* فرآیند — تایم‌لاین مرکزی، یکی راست یکی چپ، با ظاهرشدن هنگام اسکرول */
  .process__steps { position: relative; display: flex; flex-direction: column; gap: 30px; }
  .process__steps::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; transform: translateX(-50%); width: 2px; background: repeating-linear-gradient(180deg, #d7dbe4 0 7px, transparent 7px 14px); }
  .step { display: grid; grid-template-columns: 1fr 58px 1fr; align-items: start; column-gap: 10px; text-align: right; }
  .step__num { display: none; }
  .step__ic { grid-column: 2; grid-row: 1 / span 2; margin: 0; z-index: 1; box-shadow: 0 0 0 6px #fff; }
  .step h3 { grid-column: 1; grid-row: 1; margin-bottom: 4px; }
  .step p { grid-column: 1; grid-row: 2; }
  .step:nth-child(even) h3, .step:nth-child(even) p { grid-column: 3; }
  /* ظاهرشدن از سمت خودش هنگام اسکرول */
  .process .step.reveal { transform: translateX(28px); }
  .process .step:nth-child(even).reveal { transform: translateX(-28px); }
  .process .step.reveal.is-visible { transform: none; }

  /* CTA و سایر صفحات */
  .cta-banner { padding: 32px 24px; flex-direction: column; align-items: stretch; text-align: center; }
  .cta-banner .btn { width: 100%; justify-content: center; }
  .pf-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .pf-cats-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .pf-case { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__tile--wide { grid-column: auto; }
  .svc-list { grid-template-columns: 1fr; }
  .ptabs { width: 100%; justify-content: center; }
  .ptab { padding: 11px 16px; font-size: 14px; }
  .opt { flex-wrap: wrap; }
  .opt__price { margin-inline-start: auto; }
  .opt__qty { margin-inline-start: auto; }
  .timeline { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .team-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .about-chip { font-size: 12px; padding: 7px 12px; }
  .bgrid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }

  /* بلاگ — فیلتر دسته‌ها به‌جای شکستن در چند ردیف، نواریِ افقیِ swipe‌شونده */
  .bcats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; gap: 8px; padding: 2px 2px 10px; margin-bottom: 32px; scrollbar-width: none; }
  .bcats::-webkit-scrollbar { display: none; }
  .bchip { flex-shrink: 0; scroll-snap-align: start; }

  /* خدمات — پنل بصری کوتاه‌تر و عددِ تزئینی کوچک‌تر روی موبایل */
  .svc-visual { min-height: 210px; }
  .svc-visual__num { font-size: 104px; }
  .svc-visual__ic { width: 104px; height: 104px; }
  .svc-visual__ic svg { width: 48px; height: 48px; }
  .svc-visual__ring { width: 188px; height: 188px; }

  /* درباره ما — کارت برند و چیپ‌های شناور جمع‌وجورتر */
  .about-story__visual { min-height: 250px; }
}
@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .logo__text { font-size: 23px; }
  .logo__mark { width: 26px; height: 22px; }
  .hero__title { font-size: 32px; }
}
/* روی دستگاه‌های لمسی، افکت‌های hover نباید پس از لمس «بچسبند» */
@media (hover: none) {
  .value-card:hover, .port-card:hover, .team-card:hover, .bpost:hover,
  .bento__tile:hover, .plan:hover, .roadmap__card:hover, .mv-card:hover,
  .pc:hover .pc__monitor { transform: none; }
  .port-card:hover .port-card__img,
  .bpost:hover .bpost__media img,
  .bfeat:hover .bfeat__media img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
  .mobile-menu .mm-link { animation: none; }
  .mobile-menu__panel { transition: none; }
  .svc-visual__ring { animation: none; }
  .btn:hover, .value-card:hover, .port-card:hover { transform: none; }
  .port-card:hover .port-card__img { transform: none; }
  .port-card__img, .port-card__more { transition: none; }
  .summary__amount.is-bump { animation: none; }
  .opt__slider::-webkit-slider-thumb { transition: none; }
  .about-chip { animation: none; }
  .contact-map__canvas::after { animation: none; }
  .cform__submit.is-loading::after { animation-duration: 1.2s; }
  .cform__alert { animation: none; }
  .pc-card__screen img, .pc-card__monitor { transition: none; }
  .pmodal, .pmodal__card { transition: none !important; }
}

/* ============================================================ PLAN FLOW — modalهای «انتخاب پلن» */
body.pm-open { overflow: hidden; }
.pmodal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .25s ease; }
.pmodal.is-open { opacity: 1; }
.pmodal[hidden] { display: none; }
.pmodal__scrim { position: absolute; inset: 0; background: rgba(6,6,8,.72); backdrop-filter: blur(4px); }
.pmodal__card { position: relative; z-index: 1; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: radial-gradient(120% 60% at 50% 0%, #1a1a1e, #131316 60%); color: #f4f4f5;
  border: 1px solid rgba(255,255,255,.09); border-radius: 22px; padding: 30px 26px 26px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.75); transform: translateY(16px) scale(.98); transition: transform .28s cubic-bezier(.22,1,.36,1); }
.pmodal.is-open .pmodal__card { transform: none; }
.pmodal__card--sm { max-width: 440px; }
.pmodal__card--lg { max-width: 640px; }
.pmodal__x { position: absolute; top: 14px; inset-inline-start: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #cfcfd6; cursor: pointer; transform: rotate(45deg); transition: background .2s, color .2s; }
.pmodal__x:hover { background: rgba(255,255,255,.14); color: #fff; }
.pmodal__x svg { width: 20px; height: 20px; }
.pmodal__head { text-align: center; margin-bottom: 20px; }
.pmodal__eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--gold); background: rgba(246,180,10,.12); border: 1px solid rgba(246,180,10,.25); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.pmodal__title { font-family: var(--display); font-weight: 400; font-size: clamp(21px, 3.4vw, 27px); line-height: 1.5; }
.pmodal__title span { color: var(--gold); }
.pmodal__lead { color: #a2a2ab; font-size: 14.5px; margin-top: 8px; }

/* انتخاب (پرداخت / پشتیبانی) */
.pchoice { display: flex; flex-direction: column; gap: 12px; }
.pchoice__btn { display: flex; align-items: center; gap: 14px; text-align: start; padding: 16px 18px; border-radius: 16px; background: #17171b; border: 1px solid rgba(255,255,255,.09); color: #f4f4f5; cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.pchoice__btn:hover { transform: translateY(-2px); border-color: rgba(246,180,10,.5); background: #1b1b20; }
.pchoice__btn--pay { border-color: rgba(246,180,10,.45); background: linear-gradient(120deg, rgba(246,180,10,.12), transparent 70%), #17171b; }
.pchoice__ic { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: rgba(246,180,10,.14); color: var(--gold); }
.pchoice__ic svg { width: 23px; height: 23px; }
.pchoice__txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pchoice__txt b { font-size: 15.5px; }
.pchoice__txt small { color: #a2a2ab; font-size: 12.5px; line-height: 1.7; }
.pchoice__go { color: var(--gold); opacity: .7; }
.pchoice__go svg { width: 18px; height: 18px; }

/* progress ویزارد */
.wiz-progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 14px; }
.wiz-progress__bar { display: block; height: 100%; width: 16.6%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .35s cubic-bezier(.22,1,.36,1); }
.wiz-steplabel { margin-top: 10px; font-size: 13px; color: #a2a2ab; }
.wiz-steplabel span { color: #f4f4f5; font-weight: 700; }

/* گام‌ها */
.wiz-step { border: 0; padding: 0; margin: 0; display: none; }
.wiz-step.is-active { display: block; animation: wizIn .3s ease; }
@keyframes wizIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wiz-step__q { font-size: 16.5px; font-weight: 800; color: #f4f4f5; margin-bottom: 16px; padding: 0; }
.wiz-step__q small { color: #a2a2ab; font-weight: 500; font-size: 13px; }
.wiz-step .field + .field, .wiz__row + .field, .field + .wiz__row { margin-top: 14px; }
.wiz__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* controlها روی زمینهٔ تیره */
.pmodal .field label { color: #e6e6ea; }
.pmodal .field label small { color: #8f8f99; }
.pmodal .field select { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #f7f8fb; border: 1.5px solid #e3e7ef; border-radius: 12px; padding: 12px 14px; }
.pmodal .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(246,180,10,.15); }

/* گزینه‌های رادیو/چک‌باکس */
.wiz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wiz-grid--chk { grid-template-columns: repeat(2, 1fr); }
.wiz-opt { position: relative; display: block; cursor: pointer; }
.wiz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.wiz-opt__box { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; border-radius: 13px; background: #17171b; border: 1.5px solid rgba(255,255,255,.1); color: #dcdce2; font-size: 14px; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.wiz-opt__box svg { width: 16px; height: 16px; opacity: 0; color: var(--gold); flex-shrink: 0; transition: opacity .2s; }
.wiz-opt:hover .wiz-opt__box { border-color: rgba(246,180,10,.4); }
.wiz-opt input:checked + .wiz-opt__box { border-color: var(--gold); background: rgba(246,180,10,.12); color: #fff; }
.wiz-opt input:checked + .wiz-opt__box svg { opacity: 1; }
.wiz-opt input:focus-visible + .wiz-opt__box { box-shadow: 0 0 0 4px rgba(246,180,10,.18); }

/* بازبینی */
.wiz-review { list-style: none; display: flex; flex-direction: column; gap: 0; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; overflow: hidden; }
.wiz-review li { display: flex; gap: 12px; padding: 11px 14px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.wiz-review li:last-child { border-bottom: 0; }
.wiz-review__k { flex-shrink: 0; width: 96px; color: #8f8f99; font-weight: 600; }
.wiz-review__v { color: #f4f4f5; font-weight: 600; }
.wiz-review__note { margin-top: 14px; display: flex; gap: 8px; color: #a2a2ab; font-size: 12.5px; line-height: 1.8; }
.wiz-review__note svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* نتیجه (موفق/خطا) */
.wiz__result { margin-top: 16px; padding: 16px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 600; line-height: 1.9; text-align: center; }
.wiz__result--ok { background: rgba(246,180,10,.12); border: 1px solid rgba(246,180,10,.4); color: #ffd873; }
.wiz__result--err { background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.4); color: #ff9b9b; }

/* پابرگِ ناوبری */
.wiz__foot { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.wiz__foot #wizNext, .wiz__foot #wizSubmit { margin-inline-start: auto; }
.wiz__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* اسپینرِ عمومیِ دکمه */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2.5px solid rgba(26,19,0,.3); border-top-color: #1a1300; animation: spin .7s linear infinite; }

@media (max-width: 560px) {
  .pmodal { padding: 0; align-items: flex-end; }
  .pmodal__card { max-width: 100%; max-height: 94vh; border-radius: 22px 22px 0 0; padding: 26px 18px 22px; }
  .wiz__row { grid-template-columns: 1fr; }
  .wiz-grid { grid-template-columns: 1fr; }
  .wiz-review__k { width: 82px; }
}
